Commit Graph

17 Commits

Author SHA1 Message Date
Nils Asmussen
ef9040870a Added basic subalbum support.
That is, albums can now contain other albums, which are shown at
the top of the album view. This required some changes to album.js
and the contextMenu.js, because this view contains now both
photos and albums.

The contextMenu on this view has been kept simple by requiring
the user to select either only albums or only photos, but not
a mixture of both.

This feature required a database change, so that the version
has been updated to 3.1.3.

At the moment, album and photo operations (make public, download,
delete, merge) are still "flat", i.e. don't respect the album
hierarchy.
2016-07-29 22:36:41 +02:00
Tobias Reich
895825ada0 Added #533 to the list of update scripts 2016-05-02 19:51:21 +02:00
Tobias Reich
d94960d996 Made connect_error a private function #530 2016-04-24 16:24:48 +02:00
Felix Eckhofer
aa0209afef Fix error 500 on database connect error
If `$connection===false` it obviously has no properties.
2016-04-24 16:19:09 +02:00
Tobias Reich
502f01ae6c Suppress error messages of failed database connects and config save attempts 2016-03-24 22:09:21 +01:00
Tobias Reich
bff454ffc9 Removed unnecessary empty string 2016-03-24 21:51:34 +01:00
Tobias Reich
6db83d45e2 Fixed incorrect escaping when using backslashes 2016-03-13 21:19:10 +01:00
Tobias Reich
976635254e Album id now based on the current microtime #27 2016-03-12 23:51:33 +01:00
Tobias Reich
3c45bbf4d1 Added phpDoc comments 2016-02-13 23:35:13 +01:00
Tobias Reich
36f43c3e27 Strict if condition 2016-02-13 23:33:39 +01:00
Tobias Reich
f4e909895f Added Response class to handle exit() responses 2016-02-07 00:16:48 +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
f650de8967 Removed newline at end of file 2016-01-31 15:53:44 +01:00
Tobias Reich
64e0d66d83 Improved if conditions 2016-01-31 15:44:54 +01:00
Tobias Reich
e89203bcb1 // for comments and spaces for alignment 2016-01-30 23:03:43 +01:00
Tobias Reich
b13283e4d4 Added Validator, removed Module, changed Access classes 2016-01-30 21:33:31 +01:00
Tobias Reich
6e7dccc037 Renamed folder to Modules 2016-01-26 15:34:51 +01:00