Commit Graph

40 Commits

Author SHA1 Message Date
Aaron van Geffen f193b614b7 Port basic asset management page from Kabuki. 2020-02-25 13:31:12 +01:00
Aaron van Geffen c48ba786c1 Refactor leftover old-style arrays into new-style arrays. 2019-09-29 14:47:56 +02:00
Aaron van Geffen d7b68995e8 Fix recounting not working on non-album tags. 2019-09-29 14:20:59 +02:00
Aaron van Geffen 5df7ea8371 Remove unused 'best color' algorithm.
This code is used to efficiently determine the most saturated colour in an image,
Kabuki uses this as the highlight colour on a page, but this styling has always
been disabled in HashRU Pics. Hence, we can safely remove the code, freeing up
some CPU cycles in the process. ;-)
2019-09-29 14:18:59 +02:00
Aaron van Geffen 05c48be785 Link tags after adding them through autosuggest. 2019-03-09 13:22:32 +01:00
Dennis Brentjes 20db3561cf Adds the ability to export an album using streaming tar. 2019-03-08 19:52:01 +00:00
Dennis Brentjes 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
Dennis Brentjes 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
Dennis Brentjes e40c05c1f8 Adds a Confirm Delete page and actually delete the assets. 2018-07-07 19:53:46 +00:00
Aaron van Geffen bcbb74a680 Allow setting URL slug through admin panel. 2018-02-22 20:07:06 +01:00
Dennis Brentjes 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
Aaron van Geffen ee304dd7b9 When generating thumbnails, infer width properly when null is passed. 2018-02-03 20:14:40 +01:00
Aaron van Geffen 1def1484cb Backport asynchronous thumbnail generation from Kabuki. 2017-12-20 14:51:23 +01:00
Aaron van Geffen 096cea078c Support 'quick create subalbums' style, too. 2017-11-09 17:00:36 +01:00
Aaron van Geffen 2a25434862 Implement basic tag management. 2017-11-09 17:00:36 +01:00
Aaron van Geffen 943297900c Implement basic album management. 2017-11-09 17:00:36 +01:00
Aaron van Geffen 95e289d82d Introduce an overview of all albums for admins. 2017-11-09 17:00:36 +01:00
Aaron van Geffen 1a15e347f2 Merges from upstream Kabuki. 2017-11-09 17:00:36 +01:00
Aaron van Geffen 9dfb2649e5 Revert "Properly fix prev/next in set."
This reverts commit 94427a4c5c03b1368356279781bddf6c82527831.
2017-11-09 17:00:35 +01:00
Aaron van Geffen 9b2cc5caae Properly fix prev/next in set. 2017-11-09 17:00:35 +01:00
Aaron van Geffen f4bcb1e584 Typo: empty string, not 0. 2017-11-09 17:00:35 +01:00
Aaron van Geffen 0a55730696 Allow all users to create and link people tags. 2017-11-09 17:00:35 +01:00
Aaron van Geffen 6c0f6b06e6 Fix IPv4-only remnant. 2017-11-09 17:00:35 +01:00
Aaron van Geffen b66088319b Reply from @aaronweb.net, not @pics.hashru.nl, for now. 2017-11-09 17:00:35 +01:00
Aaron van Geffen 09a662b4eb Add uploader to photo view. 2017-11-09 17:00:35 +01:00
Aaron van Geffen aa04c5ee04 Reduce JPEG quality for thumbnails. 2017-11-09 17:00:35 +01:00
Aaron van Geffen c11c5c2677 Implement navigation for photo pages. 2017-11-09 17:00:35 +01:00
Aaron van Geffen e7e3a4368a Set tag cover photo automatically on upload. 2017-11-09 17:00:35 +01:00
Aaron van Geffen 790d5fc5d0 Uploading of new photos now fully working. 2017-11-09 17:00:35 +01:00
Aaron van Geffen f86a3ce358 Add single photo pages, navigateable by arrow keys and touch gestures. 2017-11-09 17:00:34 +01:00
Aaron van Geffen 0d1fce41c8 Glob portraits for small 4x4 tiles as well. 2017-11-09 17:00:34 +01:00
Aaron van Geffen 2c4277790b Import photo ownership. 2017-11-09 17:00:34 +01:00
Aaron van Geffen 7240201a3e PhotoMosaic: allow sets of three portraits. 2017-11-09 17:00:34 +01:00
Aaron van Geffen df7655e00b Allow jumping to random pages through pagination fillers. 2017-11-09 17:00:34 +01:00
Aaron van Geffen 29030eade6 Tackle session errors through UserFacingException. 2017-11-09 17:00:34 +01:00
Aaron van Geffen e1df4678ac More helpful error messages for database errors. 2017-11-09 17:00:34 +01:00
Aaron van Geffen c4f65aaa0a Dispatcher: check actions before tags. 2017-11-09 17:00:34 +01:00
Aaron van Geffen 7487068171 Allow resetting password through email.
This also adopts the use of an Alert template for error and success messages.
2017-11-09 17:00:34 +01:00
Aaron van Geffen bfcbe5aa2e Implement pagination for people page. 2017-11-09 17:00:34 +01:00
Aaron van Geffen ab0e4efbcb Initial commit.
This is to be the new HashRU website based on the Aaronweb.net/Kabuki CMS.
2017-11-09 17:00:22 +01:00