Commit Graph

82 Commits

Author SHA1 Message Date
Tobias Reich
17e5dba979 Singleton pattern for Settings::get(), Database::get() and Plugins::get()
What could properly go wrong? ¯\_(ツ)_/¯
2016-01-24 22:14:20 +01:00
Tobias Reich
9cb6dc19b7 Added abstract/final to classes to be more strict 2016-01-19 11:45:41 +01:00
Tobias Reich
9e76acd9a8 PHP code style adjustments 2016-01-19 11:03:28 +01:00
Matthias Gutjahr
dca8b5555d Set undefined vars, remove unused vars nad code that cannot be reached. 2015-12-07 22:44:42 +01:00
Tobias Reich
2e96f089a7 Fixed tons of XSS issues and escaping problems 2015-09-05 23:02:58 +02:00
Tobias Reich
eef971e3eb Catch upload errors #393 2015-08-29 21:55:32 +02:00
Tobias Reich
035ca23c97 Added returnOnError functionality to Photo::add 2015-06-28 23:09:41 +02:00
Tobias Reich
feefa9c5a0 Updated version, updated deps and added skip duplicates #367 2015-06-27 21:03:27 +02:00
Tobias Reich
7e885425dc Allow an album and photo title length of 50 chars #332 2015-05-10 23:01:07 +02:00
Tobias Reich
88ef1e49b7 Merge branch 'master' into release/v3.0.0
# Conflicts:
#	dist/main.css
#	dist/main.js
#	dist/view.js
#	src/package.json
#	src/scripts/lychee.js
2015-04-17 22:55:46 +02:00
Tobias Reich
2167b04d34 Block import of invalid photo types and extensions 2015-04-13 21:09:28 +02:00
Tobias Reich
4177219f67 Added code documentation 2015-04-06 19:08:58 +02:00
Tobias Reich
e89676d6ee Prevent download of deleted albums/photos, added code documentation, fixed error when logged out and opening a private photo 2015-04-06 18:48:52 +02:00
Tobias Reich
ea149b68af Added Album::prepareData and improved thumbs response from API 2015-03-12 12:57:48 +01:00
Tobias Reich
e8cc2e9192 Streamlined prepare process of photo data 2015-03-12 00:11:16 +01:00
Tobias Reich
cfe99df0da Adjusted indention 2015-02-28 23:42:28 +01:00
Tobias Reich
0630554789 Updated copyright 2015-02-01 22:08:37 +01:00
Tobias Reich
b8caf48d7d $medium should be a tinyint like defined in the database structure 2015-01-22 21:19:55 +01:00
Tobias Reich
9d12f2ce54 Better focal length calculation #278 2014-12-21 22:50:56 +01:00
Tobias Reich
c349b9fe09 Fixed incorrect focal length #277 2014-12-19 21:39:43 +01:00
Tobias Reich
39084c5a5a Improved handling of permission errors with the medium-folder 2014-12-06 14:29:17 +01:00
Tobias Reich
9bdb9174fd Better permission errors #258 2014-11-06 22:25:27 +01:00
Tobias Reich
1acb3c2cc6 Comment cleanup 2014-10-21 13:45:11 +02:00
Tobias Reich
9698629c31 Improved thumb creation and fixed wrong sizes after EXIF rotation 2014-10-18 16:57:09 +02:00
Tobias Reich
9e42e74b3a ntermediate sized images for small screen devices #67
- Updated version
- Update database
- Write medium to database
- Delete medium on photo delete
- Show medium depending on screen
2014-10-11 16:09:10 +02:00
Tobias Reich
7387187c5c WIP Intermediate sized images for small screen devices #67 2014-10-11 00:52:15 +02:00
Tobias Reich
47c60a4943 Fixed wrong modified date of the photo files 2014-10-08 22:55:36 +02:00
Tobias Reich
b0a4089dc0 Fixed photo download 2014-08-30 20:03:38 +02:00
Tobias Reich
5d9e41d2ae Escape photo download title 2014-08-30 19:18:09 +02:00
cternes
13dea68c88 Replaced new array syntax with old one to support older php versions 2014-08-30 07:05:26 +02:00
Tobias Reich
0296b313ee Added option to disable imagick (#211) 2014-08-30 00:11:26 +02:00
Tobias Reich
606334fb62 Converted Photo.php to prepared statements (#38 #214 #196) 2014-08-29 21:16:10 +02:00
Tobias Reich
8b4ef96146 Added update for database for version 2.6.2 2014-08-27 21:17:05 +02:00
Tobias Reich
864e5b97d0 Changed some function to public 2014-08-26 20:26:14 +02:00
Tobias Reich
f302f65cd7 Use IPTC Title when Headline not available (#216) 2014-08-26 16:07:59 +02:00
Tobias Reich
0387581005 Fixed a problem with htmlentities and older PHP versions (#212) 2014-08-26 10:15:17 +02:00
Tobias Reich
e6d9261d18 Return prefix thumbUrl 2014-08-23 17:07:46 +02:00
Tobias Reich
d686a2b083 Duplicate photos by right-clicking them (#186) 2014-08-22 23:31:09 +02:00
Tobias Reich
45cbf0c238 Escape 2014-08-22 23:04:59 +02:00
Tobias Reich
988a9075f3 Don't delete photo when used elsewhere 2014-08-22 22:54:33 +02:00
Tobias Reich
47e3219966 Use fetch_object 2014-08-22 22:34:59 +02:00
Tobias Reich
11e8b8b2e6 Moved check for duplicates into its own function 2014-08-22 22:14:50 +02:00
Tobias Reich
e942c9c525 Don't reupload duplicates (#48) 2014-08-22 22:02:58 +02:00
Tobias Reich
936c2d0344 Calculate checksum before adding it to the database 2014-07-20 16:45:30 +02:00
Tobias Reich
05637e42d8 sha1 instead of md5 #179 2014-07-20 15:32:54 +02:00
Tobias Reich
a7e01447d9 Fixed wrong indention 2014-07-19 00:00:00 +02:00
Tobias Reich
911e168b6f Less parsing of photos/albums on client-side 2014-07-12 20:12:38 +02:00
Tobias Reich
4f272c4ba4 Merge branch 'recent'
Conflicts:
	assets/min/main.js
2014-07-05 00:41:36 +02:00
pyro2927
ba852f8a03 Adding in photo checksum to detect dupes 2014-07-02 14:29:34 -05:00
Tobias Reich
ce373c26d5 Added new SmartAlbum which shows all recent uploads 2014-06-29 15:40:06 +02:00