Commit Graph

13 Commits

Author SHA1 Message Date
Tobias Reich
4c130211b1 Replaced return false in database updates with error messages 2016-02-14 14:26:05 +01:00
Tobias Reich
7b86a737af Added Database::execute to run a query
Database::execute automatically logs errors
2016-01-31 18:49:31 +01:00
Tobias Reich
64e0d66d83 Improved if conditions 2016-01-31 15:44:54 +01:00
Tobias Reich
4c3df96e9e Removed unnecessary namespace 2016-01-30 23:16:59 +01:00
Tobias Reich
fe2c56422d Fixed database updates 2016-01-30 23:07:59 +01:00
Tobias Reich
e89203bcb1 // for comments and spaces for alignment 2016-01-30 23:03:43 +01:00
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
f925e118c2 Generate identifier when creating the database, not on update
This fixes the broken 'setLogin' when using Lychee for the first time.
2015-06-28 17:47:19 +02:00
Tobias Reich
275e653b1a Generate identifier even when db entry exists #344 2015-05-14 21:34:25 +02:00
Tobias Reich
aedd378f98 Added identifier #344 2015-05-14 20:43:51 +02:00
Tobias Reich
6b4f3546f9 Updated default tables and changed sorting var/entry to sortingPhotos #98 2015-05-14 17:47:17 +02:00
Tobias Reich
90ac81acf1 Added album sorting #98 2015-05-14 17:20:33 +02:00
Tobias Reich
7e885425dc Allow an album and photo title length of 50 chars #332 2015-05-10 23:01:07 +02:00