Commit Graph

327 Commits

Author SHA1 Message Date
cc5c10e185 Revert "Glob portraits for small 4x4 tiles as well."
This reverts commit 0d1fce41c8.

This prevents portrait photos from being assigned a cropped landscape
slot in the mosaic, at the cost of the ordering being less
chronological.
2023-11-16 17:38:19 +01:00
202e263ea7 MainTemplate: Hotfix for cache invalidation of css stylesheet. 2023-11-15 15:42:05 +01:00
2ec565242e ViewPhoto: hotfix for getSessionTokenKey error 2023-11-15 14:40:45 +01:00
62d138192d MainNavBar: make nyan cat move on hover as well 2023-11-12 17:33:49 +01:00
b002c097e3 EditAssetForm: leave out asset filename from the form title 2023-11-12 17:30:13 +01:00
0b24ef8b07 EditAssetForm: add "View asset" button 2023-11-12 17:29:21 +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
b48dd324cd Remove unused WarningDialog template 2023-11-11 15:46:15 +01:00
995ab8c640 PageIndexWidget: add shadow to floating page indices 2023-11-11 15:44:49 +01:00
41d14b5aee ViewPeople: add space between tags and page index widget 2023-11-11 15:40:47 +01:00
a7ce206953 PhotosIndex: make edit button visible again 2023-11-11 15:38:28 +01:00
e63307d474 PhotoPage: remove obsolete is_asset_owner property 2023-11-11 15:36:10 +01:00
0c13a39d04 Image: don't re-queue thumbnails when deleting them 2023-11-11 15:34:45 +01:00
3a533b7644 Remove obsolete ConfirmDeletePage and Button templates 2023-11-11 15:31:06 +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
baf53ed42b AutoSuggest: improve contrast for highlighted item 2023-11-11 15:09:25 +01:00
5c5e4fbdd7 Merge pull request 'Add dark theme toggle' (#35) from dark-mode into master
Reviewed-on: #35
2023-11-11 12:17:30 +01:00
861be10010 PageIndexWidget: tweak dark and disabled colours 2023-11-11 12:24:25 +01:00
ad2f6a964e Merge pull request 'Add nyan-cat easter egg' (#36) from nyan-cat into master
Reviewed-on: #36
2023-11-11 12:05:11 +01:00
5aec2f25b1 Merge pull request 'Add gaussian blurs behind photos' (#34) from image-blur into master
Reviewed-on: #34
2023-11-11 12:05:00 +01:00
8a6631cec2 Add nyan-cat easter egg 2023-11-11 11:50:09 +01:00
68b5783a28 Add dark theme variant 2023-11-11 11:37:26 +01:00
0cf8d0fc11 PhotoPage: expand margins slightly 2023-11-11 00:10:25 +01:00
0133308113 PhotoPage: simplify styling a little 2023-11-10 23:36:49 +01:00
c8bf43b7f9 PhotoPage: fixed alignment for panoramas (now to simplify...) 2023-11-10 23:34:30 +01:00
9b192aa7a6 PhotoPage: fix position and size of blurred photo 2023-11-10 23:22:09 +01:00
aa82efe03e PhotoPage: trying out blur on the photo page 2023-11-10 22:50:51 +01:00
66478c5922 AlbumIndex: use blurred images for albums as well 2023-11-10 21:57:53 +01:00
a69c987510 PhotosIndex: add blurred versions of thumbnails for added coolness 2023-11-10 21:57:23 +01:00
238dc1d6e7 Merge pull request 'Replace the last vestiges of htmlentities with htmlspecialchars' (#33) from htmlentities into master
Reviewed-on: #33
2023-09-03 19:49:51 +02:00
1fa4cb19a2 Replace the last vestiges of htmlentities with htmlspecialchars 2023-09-03 19:47:22 +02:00
03ad26655c Remove unused Cache class
Kabuki CMS uses a Cache class to cache objects using APCU, but Pics has never used it.
2023-06-06 12:25:36 +02:00
bd03659b39 Bump bootstrap version to 5.3 (now stable)
This reverts commit d7837741cc.
2023-06-02 17:35:34 +02:00
2bbe1881b6 Merge pull request 'Switch crop editor to bootstrap layout' (#32) from cron-editor into master
Reviewed-on: #32
2023-06-02 17:24:46 +02:00
d5cddba5e9 CropEditor: adjust input group background colour 2023-05-19 12:35:04 +02:00
33bc262f0a CropEditor: adopt a more Bootstrap-savvy form layout 2023-05-19 12:35:00 +02:00
8b0459fae4 CropEditor: refactor numeric control initialisation 2023-05-19 12:34:56 +02:00
6930c0a06a Misc: use the correct copyright headers 2023-04-08 21:32:38 +02:00
ed07668b2e Database: connect using utf8mb4 2023-04-08 14:54:55 +02:00
ef7fe60fca Merge pull request 'Use Bootstrap for album/photo grid' (#31) from bootstrap-tiles into master
Reviewed-on: #31
2023-04-05 17:08:13 +02:00
87777a6ace Fixup: cleanup responsive styles too 2023-04-01 15:01:14 +02:00
9fcde24c39 PhotosIndex: reintroduce alternating odd/even layouts 2023-04-01 14:53:56 +02:00
d315f4d0c2 AlbumHeaderBox: fix slight misalignment
The 'back' arrow was one pixel taller than the header itself.
Couldn't let that slide :-)
2023-04-01 14:45:06 +02:00
be909bf54d PhotosIndex: rename 'row' layout to 'landscapes' 2023-04-01 14:41:24 +02:00
68ef80fb9f PhotoMosaic: improve heuristic for landscape/portrait row 2023-04-01 14:40:19 +02:00
31ea4196cf Remove old grid from stylesheet 2023-04-01 14:36:03 +02:00
cfb5ab9d82 PhotosIndex: rewrite to use Bootstrap grid for tiles 2023-04-01 14:29:14 +02:00