Commit Graph

102 Commits

Author SHA1 Message Date
4d9219586f PageIndexWidget: display current page on smartphones, too 2023-12-02 01:38:07 +01:00
aeaff887ca Merge pull request 'Asset: let slugs consist only of an explicit set of allowed characters' (#41) from clean-slugs into master
Reviewed-on: #41
2023-11-22 16:03:54 +01:00
baa928531b Asset: let slugs consist only of an explicit set of allowed characters 2023-11-20 22:45:48 +01:00
65ee07d95b Session: centralise how session tokens are handled 2023-11-20 20:59:35 +01:00
2ec565242e ViewPhoto: hotfix for getSessionTokenKey error 2023-11-15 14:40:45 +01:00
8f4ed7e3b0 EditAssetForm: hide album tags in tag box 2023-11-12 17:27:59 +01:00
0c861bf976 EditAsset: allow changing an asset's parent album 2023-11-12 17:26:03 +01:00
44c6bf5914 EditAssetForm: use datetime-local input type for date captured field 2023-11-12 17:14:30 +01:00
41d14b5aee ViewPeople: add space between tags and page index widget 2023-11-11 15:40:47 +01:00
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
83da4a26ac EditAsset: allow users to edit their own photos 2023-11-11 15:14:57 +01:00
1fa4cb19a2 Replace the last vestiges of htmlentities with htmlspecialchars 2023-09-03 19:47:22 +02:00
6930c0a06a Misc: use the correct copyright headers 2023-04-08 21:32:38 +02:00
65cea8ed8a UploadMedia: only set thumb asset id for tags that don't have one yet 2023-03-13 16:30:24 +01:00
244af88a9a Asset: cleaner handling of conflicting filenames 2023-03-12 12:02:21 +01:00
544944a7f5 Edit{Album,Tag}: fix new tag creation 2023-03-12 11:32:13 +01:00
01822cdccf Fix Button, ConfirmDeletePage, WarningDialog templates 2023-03-12 01:00:50 +01:00
70fcd097cc EditAsset: remove reference to old admin bar 2023-03-12 00:39:15 +01:00
0b8c614191 Manage{Assets,Tags}: link user names to edituser 2023-03-11 22:07:00 +01:00
b8c53d7d4d ViewPhotoAlbum: prevent undefined index due to missing thumb 2023-03-11 21:45:03 +01:00
a4cc528951 ManageAssets: allow batch deletion of assets 2023-03-11 21:24:55 +01:00
5b8551a726 EditAlbum: allow specifying a thumbnail ID manually if none are present 2023-03-11 20:46:31 +01:00
5cff62836e ManageTags: display owning user in table 2023-03-11 20:39:55 +01:00
310fe7c3d6 Hide thumbnail selection when none available 2023-03-11 20:37:39 +01:00
167a50cb92 ViewPhotoAlbum: tweak album buttons to be more useful 2023-03-11 20:34:58 +01:00
a76dde927b AccountSettings: list tags owned by current user 2023-03-11 20:27:09 +01:00
daa8b051c5 EditTag: on saving, redirect users to a page they can see 2023-03-11 20:03:09 +01:00
27f69b0a74 EditTag: disallow users to disown their own tags 2023-03-11 20:01:25 +01:00
ad816f10a3 EditTag: allow designating a tag owner 2023-03-11 19:57:19 +01:00
59b1fa7a72 EditAlbum: allow updating the thumbnail visually 2023-03-11 19:52:30 +01:00
6d0aef4df6 EditTag: allow updating the thumbnail visually 2023-03-11 19:49:17 +01:00
a06902335b Manage{Tags,Users}: add call to resetSessionToken 2023-03-11 19:34:52 +01:00
edc857f6fd EditTag: introduce featured thumbnail manager 2023-03-11 18:22:27 +01:00
fa01bf8961 ManageAssets: trade filename for user uploaded field 2023-03-11 17:53:53 +01:00
54df35073d EditAlbum: make parent selection more intuitive 2023-03-11 17:35:47 +01:00
4684482d67 ManageAlbums: move hierarchy logic to PhotoAlbum model 2023-03-11 17:28:21 +01:00
4033a8813c EditTag: hide option for assigning parent 2023-03-11 17:23:44 +01:00
02b43035f3 AccountSettings: allow users to change their personal details 2023-03-11 15:32:07 +01:00
c6902150f0 PhotoPage: move edit button from old admin bar to widget 2023-03-11 15:17:36 +01:00
277611e0ac Introduce new menu classes and navigation templates 2023-03-11 15:14:05 +01:00
a6fd8d2764 Admin controllers: apply new column classes 2023-03-11 14:24:17 +01:00
021df2df93 Pagination: use larger page indices on photo and album index pages 2023-03-11 14:12:56 +01:00
0366df9b5f Alerts: replace 'error' class with 'danger' 2023-03-11 13:30:02 +01:00
f9eefe7b41 Replace generic alert, form and table templates with new Bootstrap equivalents 2023-03-11 13:20:59 +01:00
0ec0de4414 Replace deprecated strftime calls 2022-05-07 13:25:19 +02:00
3bf69fd21f Prevent XSS in error log viewer. 2021-03-10 17:40:06 +01:00
c72e24c0c7 EditAsset: refactor common expression into its own variable. 2020-12-30 15:36:30 +01:00
b8191bf554 EditAsset: handle case where suffix is null. 2020-12-30 15:36:27 +01:00
e7490e40dd Clean up and force a rebuild of thumbnails when customising a crop region. 2020-12-30 13:05:23 +01:00
6fcc2eb59f EditAsset: generate any pending thumbnails here as well. 2020-12-30 13:05:23 +01:00