Commit Graph

357 Commits

Author SHA1 Message Date
b48f7dbb9e ViewPhoto: re-add accidentally omitted units 2024-01-12 10:42:51 +01:00
d17d98a838 PhotoPage: move user actions inside photo description box 2024-01-11 19:20:46 +01:00
e374f7ed59 ViewPhoto: prepare meta data in controller; change layout 2024-01-11 19:13:21 +01:00
55c33c024e ViewPhoto: use class state to store Image object 2024-01-11 18:59:50 +01:00
bc08e867f0 PhotoPage: make prev/next photo logic more direct 2024-01-11 18:54:54 +01:00
507357ba59 PhotosIndex: adjust thumbnail dimensions to better reflect usage 2023-12-23 16:22:48 +01:00
52fad8d1b9 PhotosIndex: fix dualMixed layout showing the same image twice 2023-12-23 13:47:16 +01:00
b1c2001c06 Merge pull request 'Improve the mosaic algorithm further' (#43) from improve-mosaic into master
Reviewed-on: Public/pics#43
Reviewed-by: Roflin <d.brentjes@gmail.com>
2023-12-21 16:34:24 +01:00
321e2587b5 PhotoMosaic: break out early in case of perfect score 2023-12-20 16:25:58 +01:00
37cc627e20 PhotosIndex: add dualMixed layout
This combines one landscape with one portrait.
2023-12-20 16:23:19 +01:00
553744aeb5 PhotoMosaic: fit batch of photos to best layout instead 2023-12-19 21:57:29 +01:00
d2fa547257 PhotoMosaic: keep queue ordered by date captured 2023-12-19 17:16:57 +01:00
6150922a1f ErrorHandler: fix longstanding typo, occur*r*ed 2023-12-14 21:14:09 +01:00
f5721c3af7 Merge pull request 'Rewrite mosaic algorithm using declarative paradigm' (#42) from new-mosaic into master
Reviewed-on: Public/pics#42
Reviewed-by: Roflin <d.brentjes@gmail.com>
2023-12-03 12:37:35 +01:00
4d9219586f PageIndexWidget: display current page on smartphones, too 2023-12-02 01:38:07 +01:00
efb35cfd6a PhotoMosaic: add sixLandscapes layout, combining side and row 2023-12-02 01:29:11 +01:00
d42c3c142c PhotosIndex: differentiate dual/single layouts by landscape/portrait 2023-12-02 00:50:04 +01:00
f66a400100 PhotosIndex: removing unnecessary limit/constant 2023-12-02 00:24:47 +01:00
d45b467bb1 PhotoMosaic: rewrite getRow to use availableLayouts 2023-12-02 00:24:43 +01:00
8700fc1417 PhotoMosaic: introduce availableLayouts method 2023-12-01 23:41:05 +01:00
b98785d7b2 PhotoMosaic: remove unused getRecentPhotos method 2023-12-01 23:39:55 +01:00
8e0e642d34 PhotoMosaic: reorder methods to be alphabetically ordered 2023-12-01 22:47:51 +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: Public/pics#41
2023-11-22 16:03:54 +01:00
0eece8ea3c Merge pull request 'Make pagination padding clickable again' (#40) from page-wildcards into master
Reviewed-on: Public/pics#40
2023-11-22 16:03:47 +01:00
903fdba471 Merge pull request 'Simplify session handling' (#39) from simplify-sessions into master
Reviewed-on: Public/pics#39
2023-11-22 16:03:35 +01:00
baa928531b Asset: let slugs consist only of an explicit set of allowed characters 2023-11-20 22:45:48 +01:00
f143b2ddcf PageIndexWidget: show first applicable wildcard link in responsive mode 2023-11-20 22:27:57 +01:00
56f21a6721 PageIndexWidget: disable text wrapping 2023-11-20 22:22:55 +01:00
230c65478f PageIndexWidget: restore wildcard functionality 2023-11-20 22:22:21 +01:00
65ee07d95b Session: centralise how session tokens are handled 2023-11-20 20:59:35 +01:00
5f778d73b4 Session: remove checks for matching IP address and user agent
This was considered good practice in the days before always-on https,
but is considered superfluous today. It even gets in the way of IPv6
privacy extensions, which is the main argument for removing them today.
2023-11-20 20:58:20 +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: Public/pics#35
2023-11-11 12:17:30 +01:00