Commit Graph

130 Commits

Author SHA1 Message Date
Aaron van Geffen 01822cdccf Fix Button, ConfirmDeletePage, WarningDialog templates 2023-03-12 01:00:50 +01:00
Aaron van Geffen 0325a2ec90 EditAssetForm: make form look presentable 2023-03-12 00:53:47 +01:00
Aaron van Geffen 70fcd097cc EditAsset: remove reference to old admin bar 2023-03-12 00:39:15 +01:00
Aaron van Geffen 2c24a0a7e7 MainTemplate: open vanity link in new tab 2023-03-11 22:15:17 +01:00
Aaron van Geffen e916489d00 PhotoPage: only use columns on large displays 2023-03-11 22:04:02 +01:00
Aaron van Geffen 1859a9ea2a LogInForm: fix smartphone view 2023-03-11 21:57:55 +01:00
Aaron van Geffen 4c928af9ad AlbumIndex: set thumbnail dimensions for 'no thumb' images too 2023-03-11 21:46:23 +01:00
Aaron van Geffen a4cc528951 ManageAssets: allow batch deletion of assets 2023-03-11 21:24:55 +01:00
Aaron van Geffen a76dde927b AccountSettings: list tags owned by current user 2023-03-11 20:27:09 +01:00
Aaron van Geffen 6d0aef4df6 EditTag: allow updating the thumbnail visually 2023-03-11 19:49:17 +01:00
Aaron van Geffen cf0b9ebaf9 LogInForm: change title to something #RU-like 2023-03-11 19:34:01 +01:00
Aaron van Geffen edc857f6fd EditTag: introduce featured thumbnail manager 2023-03-11 18:22:27 +01:00
Aaron van Geffen 54c4294d08 Add 'no thumb' vector image for use while loading 2023-03-11 17:16:53 +01:00
Aaron van Geffen 7d19cf823d Pass aspect ratio into photo thumbnails 2023-03-11 17:04:30 +01:00
Aaron van Geffen febe7bb405 MainNavBar: hide navigation when not logged in 2023-03-11 16:39:30 +01:00
Aaron van Geffen 0a8da104cc MainNavBar: randomize space invader; add Coda font 2023-03-11 16:38:03 +01:00
Aaron van Geffen 87df775c51 MainNavBar: re-introduce the space invader 2023-03-11 15:27:15 +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 277611e0ac Introduce new menu classes and navigation templates 2023-03-11 15:14:05 +01:00
Aaron van Geffen b1378a3b59 DummyBox: fix SubTemplate inheritance 2023-03-11 14:38:49 +01:00
Aaron van Geffen 5bb8c020bd EditAssetForm: replace widget class with generic content box 2023-03-11 14:31:44 +01:00
Aaron van Geffen b9bd2bf499 AlbumHeaderBox: apply some border radius to tag headers 2023-03-11 14:17:38 +01:00
Aaron van Geffen 812c7a4f20 PhotoPage: change previous/next icons 2023-03-11 14:13:29 +01:00
Aaron van Geffen a9a2c64d81 PhotoPage: replace custom sub-photo boxes with generic equivalents 2023-03-11 13:57:57 +01:00
Aaron van Geffen cf31f0af07 Replace more custom button classes with Bootstrap counterparts 2023-03-11 13:51:12 +01:00
Aaron van Geffen 2d1a299fe0 Replace login and password reset templates 2023-03-11 13:44:36 +01:00
Aaron van Geffen 307d34430a SubTemplate: use SubTemplates for boxed content only 2023-03-11 13:37:59 +01:00
Aaron van Geffen f9eefe7b41 Replace generic alert, form and table templates with new Bootstrap equivalents 2023-03-11 13:20:59 +01:00
Aaron van Geffen daf6b6b264 MainTemplate: clean up HTML head; remove unused inline CSS function 2023-03-11 13:12:12 +01:00
Aaron van Geffen 6b028aac41 AlbumIndex: enable rendering of more double-density thumbnails 2023-01-01 19:37:22 +01:00
Aaron van Geffen 2ef1289628 PhotosIndex: enable rendering of more double-density thumbnails 2023-01-01 19:37:07 +01:00
Aaron van Geffen 7897172256 Address dynamic class property deprecation warnings 2022-12-25 13:56:42 +01:00
Aaron van Geffen 49390c372d Use triple-equals in a few more places 2022-12-25 13:50:03 +01:00
Aaron van Geffen 2174e1d08b PhotoPage: show software used to edit photo 2022-12-25 13:44:19 +01:00
Aaron van Geffen 6369187eb7 Add double-density thumbnails to albums and photo pages 2022-07-08 23:53:28 +02:00
Aaron van Geffen cba42a9129 Refactor GenericTable to use PageIndex rather than inherit from it
This has on my todo list for years... I'm glad to finally get around to it.
2021-02-17 20:43:30 +01:00
Aaron van Geffen 96937b6952 Use null-coalescing operator where appropriate 2021-02-17 20:43:29 +01:00
Aaron van Geffen e7490e40dd Clean up and force a rebuild of thumbnails when customising a crop region. 2020-12-30 13:05:23 +01:00
Aaron van Geffen 340ed84272 Show first available thumbnail instead of a potentially hidden one. 2020-12-30 13:05:22 +01:00
Aaron van Geffen 9d95df81fe WIP: finally implement drag events. 2020-12-30 13:05:22 +01:00
Aaron van Geffen 17859b70e9 Fix tag suggestions. 2020-02-25 13:31:30 +01:00
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 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 7d3ab166c7 Simplify template logic for photo index. 2019-09-29 14:12:30 +02:00
Roflin 3fc8ccf550 Merge branch 'tag-improvements' of Public/pics into master 2019-03-16 12:12:25 +01:00
Aaron van Geffen 8ec6c227d5 Remove leftover debug statements. 2019-03-09 13:58:37 +01:00
Aaron van Geffen 42e5c7fe37 Allow regular users to unlink tags from photos. 2019-03-09 13:48:18 +01:00
Aaron van Geffen 05c48be785 Link tags after adding them through autosuggest. 2019-03-09 13:22:32 +01:00
Aaron van Geffen d3cb750874 Default to centre cropping for portrait layout. 2019-03-09 12:50:16 +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 bcbb74a680 Allow setting URL slug through admin panel. 2018-02-22 20:07:06 +01:00
Aaron van Geffen 1def1484cb Backport asynchronous thumbnail generation from Kabuki. 2017-12-20 14:51:23 +01:00
Aaron van Geffen cda7f3115c Fix crop editor. 2017-11-09 17:00:36 +01:00
Aaron van Geffen e439a074a6 Increase tile height for album thumbnails, making them 4:3. 2017-11-09 17:00:36 +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 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 0a55730696 Allow all users to create and link people tags. 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 90ed084783 Compute border colours on album indices, too. 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 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 c912c3327e Add spinner; retain preview image order. 2017-11-09 17:00:35 +01:00
Aaron van Geffen 6aaa21b176 WIP: new photo uploader. 2017-11-09 17:00:35 +01:00
Aaron van Geffen f96ab144ef WIP: adding tags to photos. 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 0341f73d09 Allow changing album pages by arrow keys. 2017-11-09 17:00:34 +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 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 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