Commit Graph

130 Commits

Author SHA1 Message Date
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
bd1ca8d18c Use $_SESSION['current_export'] to prevent simultaneous exports. 2020-03-11 18:57:31 +01:00
c7d3b9c3d1 Disable output buffering so we can enjoy more than ~62MB of photos. 2020-03-11 12:32:44 +01:00
5a51778a6a Clean up tar process handling; make stdout non-blocking. 2020-03-11 12:32:44 +01:00
2bb29d7224 Minor optimisation to Download::getChildAlbumIds. 2020-03-11 12:32:44 +01:00
1b7e83e11e Let tar change working directory to assets directory.
This prevents edge cases where files are not found, while ensuring
the archive does not contain the system directory hierarchy.
2020-03-11 12:32:34 +01:00
354e54a0af Limit album/tag downloading on a user basis.
This removes the limit of downloading albums only; tags are fine, too.

Now using UserFacingException for certain exceptions, as these are
displayed to the user.

Removing the inheritance of HTMLController, as we intend to output binary
data only.
2020-03-11 11:55:17 +01:00
6a7defcdc9 Allow going back to photo directly from Edit Asset screen. 2020-02-25 13:31:12 +01:00
f193b614b7 Port basic asset management page from Kabuki. 2020-02-25 13:31:12 +01:00
62900e7f81 Correct JSON media type. 2019-09-29 15:00:28 +02:00
c48ba786c1 Refactor leftover old-style arrays into new-style arrays. 2019-09-29 14:47:56 +02:00
3694819d13 Refactor out DummyBox objects from EditUser controller. 2019-09-29 14:38:42 +02:00
ed6054e6b6 Fix buttons appearing when they shouldn't.
This bug went unnoticed because people who aren't logged in can't actually see this page.
2019-09-29 14:05:45 +02:00
42e5c7fe37 Allow regular users to unlink tags from photos. 2019-03-09 13:48:18 +01:00
05c48be785 Link tags after adding them through autosuggest. 2019-03-09 13:22:32 +01:00
20db3561cf Adds the ability to export an album using streaming tar. 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
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
1def1484cb Backport asynchronous thumbnail generation from Kabuki. 2017-12-20 14:51:23 +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
1623a430e5 Sort People tags descending; Albums ascending. 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
01bfc66842 Process login_url properly. 2017-11-09 17:00:35 +01:00
5b7099e0e5 Show tag kind in tag management screen. 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
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
2d77fbdbb7 Add very basic context buttons to album pages. 2017-11-09 17:00:35 +01:00
790d5fc5d0 Uploading of new photos now fully working. 2017-11-09 17:00:35 +01:00
3220d361c3 Introducing the AlbumHeaderBox. Removes a hack. 2017-11-09 17:00:35 +01:00
6f94df04f0 Order albums chronologically ascending. 2017-11-09 17:00:35 +01:00
f86a3ce358 Add single photo pages, navigateable by arrow keys and touch gestures. 2017-11-09 17:00:34 +01:00
df7655e00b Allow jumping to random pages through pagination fillers. 2017-11-09 17:00:34 +01:00
02752798a9 Add session verification to error log flushing. 2017-11-09 17:00:34 +01:00
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
3587447cc0 Make logging in mandatory. 2017-11-09 17:00:34 +01:00
bfcbe5aa2e Implement pagination for people page. 2017-11-09 17:00:34 +01:00
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