Commit Graph

132 Commits

Author SHA1 Message Date
768f5ee529 Fixes an error related to using continue within a loop.
https://wiki.php.net/rfc/continue_on_switch_deprecation
2019-03-08 19:52:01 +00:00
16ec547064 Changes the ConfirmDelete page and updates database code.
The ConfirmDelete page now uses parts of the photopage. The
Confirmation dialog is its own template which is based on Alert.

The database now updates the album thumb to the most recent
addition to the album, when the album thumb asset is being deleted.
When there are no pictures left in the album 0 will be set.
2018-07-13 23:00:36 +02:00
e40c05c1f8 Adds a Confirm Delete page and actually delete the assets. 2018-07-07 19:53:46 +00:00
344db6e4c5 Adds a Delete button to the ViewPhotoPage.
The Delete button is non functional yet and is only available for
admins and the photo owner.
2018-07-07 12:19:31 +00:00
fcbbc7106d Fixes the template config for new websites 2018-06-30 17:02:03 +00:00
331193019c Fixes sorting on Tag Id in the ManageTags View. 2018-03-15 21:42:30 +01:00
bcbb74a680 Allow setting URL slug through admin panel. 2018-02-22 20:07:06 +01:00
c6c249787f Pass DIY slug when uploading photos. 2018-02-22 20:02:02 +01:00
068d1dad3e Allow capitals in tag slugs. 2018-02-19 11:55:39 +01:00
f1408ad2ee Allow capitals and slashes in album slugs. 2018-02-19 11:55:39 +01:00
8b73420936 Makes the Reply-To header e-mail address configurable.
also uses the SITE_NAME constant as the sender name.
2018-02-03 20:58:00 +01:00
ee304dd7b9 When generating thumbnails, infer width properly when null is passed. 2018-02-03 20:14:40 +01:00
1def1484cb Backport asynchronous thumbnail generation from Kabuki. 2017-12-20 14:51:23 +01:00
981b652e25 Fix album title box on mobile. 2017-11-22 11:22:38 +01:00
cda7f3115c Fix crop editor. 2017-11-09 17:00:36 +01:00
e439a074a6 Increase tile height for album thumbnails, making them 4:3. 2017-11-09 17:00:36 +01:00
ee9bdd45c0 Leave out labels on photo index pages.
They were pretty much only displaying filenames, so not adding much.
2017-11-09 17:00:36 +01:00
9fe8acc747 Change colour palette into something more befitting #RU. 2017-11-09 17:00:36 +01:00
096cea078c Support 'quick create subalbums' style, too. 2017-11-09 17:00:36 +01:00
2a25434862 Implement basic tag management. 2017-11-09 17:00:36 +01:00
943297900c Implement basic album management. 2017-11-09 17:00:36 +01:00
95e289d82d Introduce an overview of all albums for admins. 2017-11-09 17:00:36 +01:00
1a15e347f2 Merges from upstream Kabuki. 2017-11-09 17:00:36 +01:00
31e1357b47 Show only Person tags in tag management screen. 2017-11-09 17:00:36 +01:00
08cc6b1c77 Updated TODO 2017-11-09 17:00:36 +01:00
1623a430e5 Sort People tags descending; Albums ascending. 2017-11-09 17:00:35 +01:00
9f92ed6d7a JS photo nav: scroll to #photo_frame automatically. 2017-11-09 17:00:35 +01:00
fc02c9b93a Updated todo. 2017-11-09 17:00:35 +01:00
9dfb2649e5 Revert "Properly fix prev/next in set."
This reverts commit 94427a4c5c03b1368356279781bddf6c82527831.
2017-11-09 17:00:35 +01:00
9b2cc5caae Properly fix prev/next in set. 2017-11-09 17:00:35 +01:00
fa5ef75205 Basic styling for (long) tag lists. 2017-11-09 17:00:35 +01:00
f4bcb1e584 Typo: empty string, not 0. 2017-11-09 17:00:35 +01:00
1f7fe35cec Accept tags consisting of only two letters, too. 2017-11-09 17:00:35 +01:00
0a55730696 Allow all users to create and link people tags. 2017-11-09 17:00:35 +01:00
7f5ce1820d Split preview box creation from preview generation. 2017-11-09 17:00:35 +01:00
6c0f6b06e6 Fix IPv4-only remnant. 2017-11-09 17:00:35 +01:00
b66088319b Reply from @aaronweb.net, not @pics.hashru.nl, for now. 2017-11-09 17:00:35 +01:00
2a7b44dfb2 Added favicon. 2017-11-09 17:00:35 +01:00
a85afff188 Re-enable custom error handler. 2017-11-09 17:00:35 +01:00
01bfc66842 Process login_url properly. 2017-11-09 17:00:35 +01:00
09a662b4eb Add uploader to photo view. 2017-11-09 17:00:35 +01:00
5b7099e0e5 Show tag kind in tag management screen. 2017-11-09 17:00:35 +01:00
90ed084783 Compute border colours on album indices, too. 2017-11-09 17:00:35 +01:00
1fe2e5057f Don't show album creation button for non-admins. 2017-11-09 17:00:35 +01:00
7c19265767 Allow regular users to upload, too. 2017-11-09 17:00:35 +01:00
6d07a47132 Only allow authenticated users to view photos. 2017-11-09 17:00:35 +01:00
aa04c5ee04 Reduce JPEG quality for thumbnails. 2017-11-09 17:00:35 +01:00
c11c5c2677 Implement navigation for photo pages. 2017-11-09 17:00:35 +01:00
67a182671f Upload photos to tag slug subdirectory. 2017-11-09 17:00:35 +01:00
e7e3a4368a Set tag cover photo automatically on upload. 2017-11-09 17:00:35 +01:00