Aaron
b64f87a49d
PhotoPage: only call printNewTagScript if $allowLinkingNewTags
2024-06-29 10:03:51 +02:00
Aaron
ead4240173
AlbumButtonBox: un-float album_button_box
2024-06-28 20:25:00 +02:00
Aaron
89cc00ffd9
EditAlbum: choose the first non-root album as the default parent
2024-05-08 13:21:13 +02:00
Aaron
45b59636f6
EditAlbum: fix error handling
2024-05-08 13:17:31 +02:00
Aaron
2bfbe67d91
Merge pull request 'Introduce edit menu for admins' ( #49 ) from edit-menu into master
...
Reviewed-on: Public/pics#49
2024-02-24 13:10:58 +01:00
Aaron
9d4f35a0fd
ViewPhotoAlbum: add ?in param for root tags, too
...
This was probably intended as an optimisation, but people tags are
at root level, and so id_parent == 0.
2024-02-24 13:08:37 +01:00
Aaron
f0d286179a
Fix edge case in color-modes.js
...
For details, see https://github.com/twbs/bootstrap/pull/39224
2024-02-21 15:45:27 +01:00
Aaron
25feb31c1a
EditAsset: some hardening; deduplicate redirect code
2024-01-18 13:40:17 +01:00
Aaron
6ec5994de0
ViewPhotoAlbum: build edit menu in controller
2024-01-18 13:18:22 +01:00
Aaron
24c2e9cdcf
PhotosIndex: allow setting image as the album cover as well
2024-01-17 18:28:24 +01:00
Aaron
0487ad16b9
Asset: remove old setKeyData method
2024-01-17 17:54:18 +01:00
Aaron
c2aae4fb6e
EditAsset: replace Asset::setKeyData with Asset::save equivalent
2024-01-17 17:54:14 +01:00
Aaron
069d56383e
PhotosIndex: replace edit button with edit menu
2024-01-17 17:51:45 +01:00
Aaron
8613054d69
Asset: introduce save method
2024-01-17 17:51:25 +01:00
Aaron
30bc0bb884
ViewPhotoAlbum: don't include empty $by in page links
2024-01-15 13:44:51 +01:00
Aaron
c0dd2cbd49
ViewPhotoAlbum: drop 'Show' from empty filter caption
2024-01-15 13:41:51 +01:00
Aaron
bb81f7e086
Download: remove limits on maximum execution time
2024-01-15 11:46:01 +01:00
Aaron
4b289a5e83
Download: allow limiting by user uploaded as well
2024-01-15 11:40:33 +01:00
Aaron
ec2d702a0d
ViewPhoto: simplify filter verification
2024-01-15 11:33:43 +01:00
Aaron
52472d8b58
ViewPhotoAlbum: add 'label' key to empty filter as well
2024-01-15 11:26:17 +01:00
Aaron
5d990501f6
ViewPhotoAlbum: move $is_person declaration to where it's used
2024-01-15 11:25:04 +01:00
Aaron
1f53689e4b
AlbumButtonBox: add visual cue to indicate a filter is active
2024-01-15 00:55:33 +01:00
Aaron
accf093935
PageIndex: rewrite getLink to be way less messy
2024-01-15 00:51:06 +01:00
Aaron
d8c3e76df6
ViewPhoto: take filter into account for prev/next links
2024-01-15 00:43:02 +01:00
Aaron
f33a7e397c
Asset: combine getUrlFor{Next,Previous}InSet into one private method
2024-01-15 00:19:39 +01:00
Aaron
9c00248a7f
ViewPhotoAlbum: don't populate filter box if there are no album contributors
2024-01-14 22:17:09 +01:00
Aaron
99b867b241
AlbumButtonBox: add way for users to select an album filter
2024-01-14 21:28:45 +01:00
Aaron
6a25ecec23
ViewPhotoAlbum: add method to filter by id_user_uploaded
2024-01-14 21:06:54 +01:00
Aaron
16683d2f1f
Tag: add getContributorList method
2024-01-14 21:06:34 +01:00
Aaron
7cdcf8197c
ViewPhotoAlbum: use Tag::getUrl instead of fumbling with $_GET['tag']
2024-01-14 20:40:58 +01:00
Aaron
25b9528628
ViewPhotoAlbum: simplify tag handling in getAlbumButtons
2024-01-14 20:40:58 +01:00
Aaron
08cdbfe7b6
ViewPhotoAlbum: move some logic into new prepareHeaderBox method
2024-01-14 20:40:58 +01:00
Aaron
44ca9ed1a5
Fix dereferencing $tag when null
2024-01-14 16:15:23 +01:00
Aaron
374fa5cccd
PhotoPage: re-instate meta header styling lost in rebase
2024-01-13 17:35:34 +01:00
Aaron
b48f7dbb9e
ViewPhoto: re-add accidentally omitted units
2024-01-12 10:42:51 +01:00
Aaron
8eb6be02b1
PhotoPage: fade the tag delete buttons a little
2024-01-11 21:58:01 +01:00
Aaron
e671b7da30
PhotoPage: simplify tag html nodes
2024-01-11 21:53:44 +01:00
Aaron
e3d481caa1
PhotoPage: update and refactor tagging script slightly
2024-01-11 20:47:41 +01:00
Aaron
b13701f7c0
PhotoPage: change how tags are displayed
2024-01-11 20:00:29 +01:00
Aaron
d17d98a838
PhotoPage: move user actions inside photo description box
2024-01-11 19:20:46 +01:00
Aaron
e374f7ed59
ViewPhoto: prepare meta data in controller; change layout
2024-01-11 19:13:21 +01:00
Aaron
55c33c024e
ViewPhoto: use class state to store Image object
2024-01-11 18:59:50 +01:00
Aaron
bc08e867f0
PhotoPage: make prev/next photo logic more direct
2024-01-11 18:54:54 +01:00
Aaron
f9ab90e925
EXIF: add special handling for Pentax Model/Make pollution
2024-01-11 18:45:22 +01:00
Aaron
507357ba59
PhotosIndex: adjust thumbnail dimensions to better reflect usage
2023-12-23 16:22:48 +01:00
Aaron
52fad8d1b9
PhotosIndex: fix dualMixed layout showing the same image twice
2023-12-23 13:47:16 +01:00
Aaron
321e2587b5
PhotoMosaic: break out early in case of perfect score
2023-12-20 16:25:58 +01:00
Aaron
37cc627e20
PhotosIndex: add dualMixed layout
...
This combines one landscape with one portrait.
2023-12-20 16:23:19 +01:00
Aaron
553744aeb5
PhotoMosaic: fit batch of photos to best layout instead
2023-12-19 21:57:29 +01:00
Aaron
d2fa547257
PhotoMosaic: keep queue ordered by date captured
2023-12-19 17:16:57 +01:00
Aaron
6150922a1f
ErrorHandler: fix longstanding typo, occur*r*ed
2023-12-14 21:14:09 +01:00
Aaron
4d9219586f
PageIndexWidget: display current page on smartphones, too
2023-12-02 01:38:07 +01:00
Aaron
efb35cfd6a
PhotoMosaic: add sixLandscapes layout, combining side and row
2023-12-02 01:29:11 +01:00
Aaron
d42c3c142c
PhotosIndex: differentiate dual/single layouts by landscape/portrait
2023-12-02 00:50:04 +01:00
Aaron
f66a400100
PhotosIndex: removing unnecessary limit/constant
2023-12-02 00:24:47 +01:00
Aaron
d45b467bb1
PhotoMosaic: rewrite getRow to use availableLayouts
2023-12-02 00:24:43 +01:00
Aaron
8700fc1417
PhotoMosaic: introduce availableLayouts method
2023-12-01 23:41:05 +01:00
Aaron
b98785d7b2
PhotoMosaic: remove unused getRecentPhotos method
2023-12-01 23:39:55 +01:00
Aaron
8e0e642d34
PhotoMosaic: reorder methods to be alphabetically ordered
2023-12-01 22:47:51 +01:00
Aaron
baa928531b
Asset: let slugs consist only of an explicit set of allowed characters
2023-11-20 22:45:48 +01:00
Aaron
f143b2ddcf
PageIndexWidget: show first applicable wildcard link in responsive mode
2023-11-20 22:27:57 +01:00
Aaron
56f21a6721
PageIndexWidget: disable text wrapping
2023-11-20 22:22:55 +01:00
Aaron
230c65478f
PageIndexWidget: restore wildcard functionality
2023-11-20 22:22:21 +01:00
Aaron
65ee07d95b
Session: centralise how session tokens are handled
2023-11-20 20:59:35 +01:00
Aaron
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
Aaron
2ec565242e
ViewPhoto: hotfix for getSessionTokenKey error
2023-11-15 14:40:45 +01:00
Aaron
62d138192d
MainNavBar: make nyan cat move on hover as well
2023-11-12 17:33:49 +01:00
Aaron
b002c097e3
EditAssetForm: leave out asset filename from the form title
2023-11-12 17:30:13 +01:00
Aaron
0b24ef8b07
EditAssetForm: add "View asset" button
2023-11-12 17:29:21 +01:00
Aaron
8f4ed7e3b0
EditAssetForm: hide album tags in tag box
2023-11-12 17:27:59 +01:00
Aaron
0c861bf976
EditAsset: allow changing an asset's parent album
2023-11-12 17:26:03 +01:00
Aaron
44c6bf5914
EditAssetForm: use datetime-local input type for date captured field
2023-11-12 17:14:30 +01:00
Aaron
b48dd324cd
Remove unused WarningDialog template
2023-11-11 15:46:15 +01:00
Aaron
995ab8c640
PageIndexWidget: add shadow to floating page indices
2023-11-11 15:44:49 +01:00
Aaron
41d14b5aee
ViewPeople: add space between tags and page index widget
2023-11-11 15:40:47 +01:00
Aaron
a7ce206953
PhotosIndex: make edit button visible again
2023-11-11 15:38:28 +01:00
Aaron
e63307d474
PhotoPage: remove obsolete is_asset_owner property
2023-11-11 15:36:10 +01:00
Aaron
0c13a39d04
Image: don't re-queue thumbnails when deleting them
2023-11-11 15:34:45 +01:00
Aaron
3a533b7644
Remove obsolete ConfirmDeletePage and Button templates
2023-11-11 15:31:06 +01:00
Aaron
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
Aaron
83da4a26ac
EditAsset: allow users to edit their own photos
2023-11-11 15:14:57 +01:00
Aaron
baf53ed42b
AutoSuggest: improve contrast for highlighted item
2023-11-11 15:09:25 +01:00
Aaron
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
Aaron
861be10010
PageIndexWidget: tweak dark and disabled colours
2023-11-11 12:24:25 +01:00
Aaron
ad2f6a964e
Merge pull request 'Add nyan-cat easter egg' ( #36 ) from nyan-cat into master
...
Reviewed-on: Public/pics#36
2023-11-11 12:05:11 +01:00
Aaron
5aec2f25b1
Merge pull request 'Add gaussian blurs behind photos' ( #34 ) from image-blur into master
...
Reviewed-on: Public/pics#34
2023-11-11 12:05:00 +01:00
Aaron
8a6631cec2
Add nyan-cat easter egg
2023-11-11 11:50:09 +01:00
Aaron
68b5783a28
Add dark theme variant
2023-11-11 11:37:26 +01:00
Aaron
0cf8d0fc11
PhotoPage: expand margins slightly
2023-11-11 00:10:25 +01:00
Aaron
0133308113
PhotoPage: simplify styling a little
2023-11-10 23:36:49 +01:00
Aaron
c8bf43b7f9
PhotoPage: fixed alignment for panoramas (now to simplify...)
2023-11-10 23:34:30 +01:00
Aaron
9b192aa7a6
PhotoPage: fix position and size of blurred photo
2023-11-10 23:22:09 +01:00
Aaron
aa82efe03e
PhotoPage: trying out blur on the photo page
2023-11-10 22:50:51 +01:00
Aaron
66478c5922
AlbumIndex: use blurred images for albums as well
2023-11-10 21:57:53 +01:00
Aaron
a69c987510
PhotosIndex: add blurred versions of thumbnails for added coolness
2023-11-10 21:57:23 +01:00
Aaron
1fa4cb19a2
Replace the last vestiges of htmlentities with htmlspecialchars
2023-09-03 19:47:22 +02:00
Aaron
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
Aaron
bd03659b39
Bump bootstrap version to 5.3 (now stable)
...
This reverts commit d7837741cc .
2023-06-02 17:35:34 +02:00
Aaron
2bbe1881b6
Merge pull request 'Switch crop editor to bootstrap layout' ( #32 ) from cron-editor into master
...
Reviewed-on: Public/pics#32
2023-06-02 17:24:46 +02:00
Aaron
d5cddba5e9
CropEditor: adjust input group background colour
2023-05-19 12:35:04 +02:00