Commit Graph

25 Commits

Author SHA1 Message Date
Aaron van Geffen a208c0482f Invoke Dispatcher::kickGuest from Session for invalid sessions.
Previously, a NotAllowedException would be thrown if an invalid session
was encountered. However, these exceptions were not caught, and hence
would yield a fatal uncaught exception error.

At this point in Kabuki, the ErrorHandler class has not been registered yet
for error handling purposes. This error is therefore not visible if the PHP
ini directive 'display_errors' is set to 'Off'. As this is the default
production value, the script would fail with a blank page in such cases.
2020-03-11 22:38:15 +01:00
Aaron van Geffen 42e5c7fe37 Allow regular users to unlink tags from photos. 2019-03-09 13:48:18 +01: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
Dennis Brentjes 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
Aaron van Geffen 981b652e25 Fix album title box on mobile. 2017-11-22 11:22:38 +01:00
Aaron van Geffen 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
Aaron van Geffen 9fe8acc747 Change colour palette into something more befitting #RU. 2017-11-09 17:00:36 +01:00
Aaron van Geffen fa5ef75205 Basic styling for (long) tag lists. 2017-11-09 17:00:35 +01:00
Aaron van Geffen 2d77fbdbb7 Add very basic context buttons to album pages. 2017-11-09 17:00:35 +01:00
Aaron van Geffen ddcc28aff6 Implement upload throttling: one file at a time. 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 77a9cd5d53 Add mockup progress bars to uploads. 2017-11-09 17:00:35 +01:00
Aaron van Geffen c13442cac6 Add label next to spinner to indicate what's happening. 2017-11-09 17:00:35 +01:00
Aaron van Geffen c912c3327e Add spinner; retain preview image order. 2017-11-09 17:00:35 +01:00
Aaron van Geffen 3220d361c3 Introducing the AlbumHeaderBox. Removes a hack. 2017-11-09 17:00:35 +01:00
Aaron van Geffen fdc437b29c Responsive design for photo pages. 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 df7655e00b Allow jumping to random pages through pagination fillers. 2017-11-09 17:00:34 +01:00
Aaron van Geffen 196fe6780c Improve navigation in responsive design. 2017-11-09 17:00:34 +01:00
Aaron van Geffen 4bdde6bc3a Clean up references to Helvetica and Helvetica Neue. 2017-11-09 17:00:34 +01:00
Aaron van Geffen 8755995304 Add a space invader to the logo. 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 3587447cc0 Make logging in mandatory. 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