Commit Graph

1275 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
0dffa5c765 Dropped update support for versions < 2.7 2016-01-24 18:38:26 +01:00
Tobias Reich
c8a3a92c3f Rebuild 2016-01-24 17:11:05 +01:00
Tobias Reich
36b1b40325 Added 'final' to access classes 2016-01-24 17:10:54 +01:00
Tobias Reich
24c883a661 Use default value to define defineTablePrefix 2016-01-24 17:10:23 +01:00
Tobias Reich
f7e624ca8b Fixed 'Full Photo' in view.php 2016-01-24 17:09:49 +01:00
Tobias Reich
9e52f93a59 Removed database updates for versions <= 2.5.0 2016-01-24 16:51:09 +01:00
Tobias Reich
61c13e36a0 Rebuild 2016-01-24 15:39:22 +01:00
Tobias Reich
b4084102e8 Fixed the loading bar 2016-01-24 15:39:12 +01:00
Tobias Reich
454a503196 Rebuild 2016-01-24 15:21:40 +01:00
Tobias Reich
606968f349 Updated code style 2016-01-24 15:20:33 +01:00
Tobias Reich
eb887c7ca8 Added scripts to package.json and removed gulp from the global dependencies 2016-01-24 14:57:22 +01:00
Tobias Reich
1a856eeb4f Updated jquery 2016-01-24 14:21:06 +01:00
Tobias Reich
d5a03a31f8 Fix for session_start() after sending headers #433 2016-01-24 13:07:25 +01:00
Tobias Reich
70d7e1e6f2 API cleanup and code style changes 2016-01-19 16:09:57 +01:00
Tobias Reich
a5cab35e34 Added type hints 2016-01-19 16:08:50 +01:00
Tobias Reich
3d88300df1 Code style adjustment 2016-01-19 16:08:43 +01:00
Tobias Reich
7bce954c8d Register autoloader functions as anonymous functions
Requires PHP 5.3
2016-01-19 15:03:50 +01:00
Tobias Reich
0a9b0d0078 Simplified autoloader 2016-01-19 14:58:08 +01:00
Tobias Reich
33e16041af Removed $dbTablePrefix definition as defineTablePrefix() will do the same 2016-01-19 11:57:16 +01:00
Tobias Reich
1019b0fef1 Added 'public' to database connect function 2016-01-19 11:45:59 +01:00
Tobias Reich
9cb6dc19b7 Added abstract/final to classes to be more strict 2016-01-19 11:45:41 +01:00
Tobias Reich
634c3621db Update database connect function and update mechanism
Database::connect now takes care of the update-mechanism and uses the current database version instead of the version from the client.
2016-01-19 11:06:54 +01:00
Tobias Reich
9e76acd9a8 PHP code style adjustments 2016-01-19 11:03:28 +01:00
Tobias Reich
978caa90b3 Code style adjustment 2016-01-19 11:02:47 +01:00
Tobias Reich
a0f7b72589 Moved GD check in front of the configuration check 2016-01-10 17:17:06 +01:00
Tobias Reich
7a7ae24512 Added date to the changelog 2016-01-10 13:31:37 +01:00
Tobias Reich
0b73229616 Rebuild 2016-01-10 13:31:10 +01:00
Tobias Reich
92d3fe920f Added #421 to the log 2016-01-10 13:24:34 +01:00
Tobias Reich
c46ca81a97 Merge branch 'Bramas-master' into develop 2016-01-10 13:07:27 +01:00
Tobias Reich
2a0212e33a Updated #421 syntax 2016-01-10 13:07:21 +01:00
Tobias Reich
68e992bb18 Merge branch 'master' of https://github.com/Bramas/Lychee into Bramas-master 2016-01-10 12:33:13 +01:00
Tobias Reich
478271886e Added lychee-webroot to the plugin/extension list #391 2016-01-08 10:11:45 +01:00
Tobias Reich
b6f295ea80 Treat dist files like binaries 2016-01-07 16:22:09 +01:00
Tobias Reich
b8dde7fbae Added v3.0.9 to the changelog 2016-01-07 15:54:33 +01:00
Tobias Reich
1bfdae6759 Rebuild 2016-01-07 15:52:31 +01:00
Tobias Reich
9b702cfcc7 Updated version 2016-01-07 15:46:49 +01:00
Tobias Reich
f337ea19ba Updated basicContext 2016-01-07 15:30:55 +01:00
Tobias Reich
c8ab2b6e90 Rebuild 2016-01-06 17:29:56 +01:00
Tobias Reich
83fe4a2596 Disabled dragging for images 2016-01-06 17:29:49 +01:00
Tobias Reich
dce837171b Fixed the swipe animation 2016-01-06 17:19:23 +01:00
Tobias Reich
d1bd819db9 Updated deps 2016-01-06 16:24:09 +01:00
Tobias Reich
fc0570be34 Rebuild 2016-01-06 11:12:24 +01:00
Tobias Reich
e5734dec13 Improved <img> centering on mobile devices 2016-01-06 11:08:43 +01:00
Tobias Reich
31cef31672 Rebuild 2016-01-05 11:58:33 +01:00
Tobias Reich
a2eff94ca7 Treat all dist/* files like binaries 2016-01-05 11:58:25 +01:00
Tobias Reich
51d237dcd2 Use <img> for the main photo #361 #185
- Let the browser decide which photo to load
- Removed photo.getSize
- Automacialy center photos, without adding extra css from small images
2016-01-05 11:58:03 +01:00
Tobias Reich
e6059dbd32 Simplified view.photo.photo and only call and save photo.getID() once 2016-01-05 11:33:01 +01:00
Tobias Reich
14e808020a Rebuild 2016-01-04 21:56:52 +01:00
Tobias Reich
23e78edc39 Replaced window.devicePixelRatio with srcset 2016-01-04 21:56:37 +01:00