Commit Graph

17 Commits

Author SHA1 Message Date
Aaron van Geffen ec2d702a0d ViewPhoto: simplify filter verification 2024-01-15 11:33:43 +01:00
Aaron van Geffen d8c3e76df6 ViewPhoto: take filter into account for prev/next links 2024-01-15 00:43:02 +01:00
Aaron van Geffen b48f7dbb9e ViewPhoto: re-add accidentally omitted units 2024-01-12 10:42:51 +01:00
Aaron van Geffen e374f7ed59 ViewPhoto: prepare meta data in controller; change layout 2024-01-11 19:13:21 +01:00
Aaron van Geffen 55c33c024e ViewPhoto: use class state to store Image object 2024-01-11 18:59:50 +01:00
Aaron van Geffen bc08e867f0 PhotoPage: make prev/next photo logic more direct 2024-01-11 18:54:54 +01:00
Aaron van Geffen 2ec565242e ViewPhoto: hotfix for getSessionTokenKey error 2023-11-15 14:40:45 +01:00
Aaron van Geffen e28fcd8b03 Move photo deletion from ViewPhoto to EditAsset
Removes the intermediate confirmation page, instead using JavaScript for confirmation.

Fixes an XSS issue, in that the previous method was not passing or checking the session (!)
2023-11-11 15:29:32 +01:00
Aaron van Geffen 01822cdccf Fix Button, ConfirmDeletePage, WarningDialog templates 2023-03-12 01:00:50 +01:00
Aaron van Geffen c6902150f0 PhotoPage: move edit button from old admin bar to widget 2023-03-11 15:17:36 +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 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 0a55730696 Allow all users to create and link people tags. 2017-11-09 17:00:35 +01:00
Aaron van Geffen 6d07a47132 Only allow authenticated users to view photos. 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 f86a3ce358 Add single photo pages, navigateable by arrow keys and touch gestures. 2017-11-09 17:00:34 +01:00