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: #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: #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: #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: #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
Aaron
33bc262f0a
CropEditor: adopt a more Bootstrap-savvy form layout
2023-05-19 12:35:00 +02:00
Aaron
8b0459fae4
CropEditor: refactor numeric control initialisation
2023-05-19 12:34:56 +02:00
Aaron
6930c0a06a
Misc: use the correct copyright headers
2023-04-08 21:32:38 +02:00
Aaron
ed07668b2e
Database: connect using utf8mb4
2023-04-08 14:54:55 +02:00
Aaron
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
Aaron
87777a6ace
Fixup: cleanup responsive styles too
2023-04-01 15:01:14 +02:00
Aaron
9fcde24c39
PhotosIndex: reintroduce alternating odd/even layouts
2023-04-01 14:53:56 +02:00
Aaron
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
Aaron
be909bf54d
PhotosIndex: rename 'row' layout to 'landscapes'
2023-04-01 14:41:24 +02:00
Aaron
68ef80fb9f
PhotoMosaic: improve heuristic for landscape/portrait row
2023-04-01 14:40:19 +02:00
Aaron
31ea4196cf
Remove old grid from stylesheet
2023-04-01 14:36:03 +02:00
Aaron
cfb5ab9d82
PhotosIndex: rewrite to use Bootstrap grid for tiles
2023-04-01 14:29:14 +02:00
Aaron
b05015e76e
AlbumIndex: rewrite to use Bootstrap grid for tiles
2023-04-01 14:02:58 +02:00
Aaron
a260f4ff88
ErrorHandler: use var_export for dumping superglobals as well
2023-03-28 19:21:19 +02:00
Aaron
2a528f2830
ErrorHandling: improve argument handling for debug info
...
`var_dump` was the wrong function to call for objects, as it would just output all object
data to the output buffer... Let's generalise and use `var_export` instead :-)
2023-03-28 19:21:07 +02:00
Aaron
6c5d814a99
PageIndexWidget: hide page numbers on smaller screens
2023-03-21 23:12:47 +01:00
Aaron
9a8a91343b
Remove old import and upgrade scripts
2023-03-21 22:48:18 +01:00
Aaron
af0c8990a6
PhotosIndex: fix arrow-key based navigation
2023-03-20 18:30:30 +01:00
Aaron
b2bcb6a124
Fix error handling for functions without arguments
2023-03-15 09:49:55 +01:00
Aaron
d1741f2478
User: less strict typing for $reset_key property
2023-03-14 21:22:35 +01:00
Aaron
65cea8ed8a
UploadMedia: only set thumb asset id for tags that don't have one yet
2023-03-13 16:30:24 +01:00
Aaron
c6dc6bbac4
AlbumIndex: don't over-fit placeholder images
2023-03-13 01:37:31 +01:00
Aaron
e48f065c25
PhotoIndex: fix inadvertent thumb stretching in rare cases
2023-03-13 01:33:29 +01:00
Aaron
c991f05dd3
ViewPhoto: rework solution to work for panoramas, too
2023-03-12 12:58:58 +01:00
Aaron
5c2eff09b8
PhotoPage: apply #photo_frame anchor to clicks as well
2023-03-12 12:55:32 +01:00
Aaron
85be093a36
ViewPhoto: improve vertical alignment of prev/next buttons
2023-03-12 12:42:43 +01:00
Aaron
c735648468
ViewPhoto: improve image alignment in page
2023-03-12 12:37:57 +01:00
Aaron
41881594e9
PhotoMosaic: make photo order more intuitive
2023-03-12 12:34:47 +01:00
Aaron
29bf6af1f8
Asset: delete thumbnails when deleting an assets
2023-03-12 12:21:43 +01:00
Aaron
3f66fce262
MediaUploader: explicitly support image/jpeg only
2023-03-12 12:07:17 +01:00
Aaron
244af88a9a
Asset: cleaner handling of conflicting filenames
2023-03-12 12:02:21 +01:00
Aaron
3ed84eb4d5
UploadQueue: more correct HEIC extension check
2023-03-12 11:47:36 +01:00
Aaron
229fb9e5bf
UploadQueue: refactor into proper ECMAScript class
2023-03-12 11:45:37 +01:00
Aaron
54b69ecd11
MediaUploader: simplify form control design
2023-03-12 11:33:16 +01:00
Aaron
544944a7f5
Edit{Album,Tag}: fix new tag creation
2023-03-12 11:32:13 +01:00
Aaron
6087ebe249
AutoSuggest: fix click/append event
...
Keyboard was fine, it was just mouse events that were broken ^^'
2023-03-12 01:19:43 +01:00
Aaron
3cf281b24d
AdminMenu: add error count to badge iff count > 0
2023-03-12 01:04:28 +01:00
Aaron
01822cdccf
Fix Button, ConfirmDeletePage, WarningDialog templates
2023-03-12 01:00:50 +01:00
Aaron
0325a2ec90
EditAssetForm: make form look presentable
2023-03-12 00:53:47 +01:00
Aaron
70fcd097cc
EditAsset: remove reference to old admin bar
2023-03-12 00:39:15 +01:00
Aaron
2c24a0a7e7
MainTemplate: open vanity link in new tab
2023-03-11 22:15:17 +01:00
Aaron
c7e4351375
Change album/tile label font to Coda, too
2023-03-11 22:13:55 +01:00
Aaron
0b8c614191
Manage{Assets,Tags}: link user names to edituser
2023-03-11 22:07:00 +01:00
Aaron
e916489d00
PhotoPage: only use columns on large displays
2023-03-11 22:04:02 +01:00
Aaron
1859a9ea2a
LogInForm: fix smartphone view
2023-03-11 21:57:55 +01:00
Aaron
d83dd6ea6e
Remove more obsolete styling
2023-03-11 21:55:44 +01:00
Aaron
eb04e87085
Change autosuggest padding
2023-03-11 21:52:44 +01:00
Aaron
16eda4cfe7
Move autosuggest styles to default.css
2023-03-11 21:50:08 +01:00
Aaron
4c928af9ad
AlbumIndex: set thumbnail dimensions for 'no thumb' images too
2023-03-11 21:46:23 +01:00
Aaron
b8c53d7d4d
ViewPhotoAlbum: prevent undefined index due to missing thumb
2023-03-11 21:45:03 +01:00
Aaron
1b7e745f11
Clean up Tag::resetIdAsset
2023-03-11 21:41:23 +01:00
Aaron
aa3a54f237
Asset: guard using property_exists in constructor
2023-03-11 21:39:20 +01:00
Aaron
0b0d47acb8
UploadQueue: error out of HEIC files are presented
2023-03-11 21:36:32 +01:00
Aaron
a4cc528951
ManageAssets: allow batch deletion of assets
2023-03-11 21:24:55 +01:00
Aaron
5b8551a726
EditAlbum: allow specifying a thumbnail ID manually if none are present
2023-03-11 20:46:31 +01:00
Aaron
5cff62836e
ManageTags: display owning user in table
2023-03-11 20:39:55 +01:00
Aaron
310fe7c3d6
Hide thumbnail selection when none available
2023-03-11 20:37:39 +01:00
Aaron
167a50cb92
ViewPhotoAlbum: tweak album buttons to be more useful
2023-03-11 20:34:58 +01:00
Aaron
d9fd2ae20d
Add upgrade script for new tag ownership
2023-03-11 20:27:45 +01:00
Aaron
a76dde927b
AccountSettings: list tags owned by current user
2023-03-11 20:27:09 +01:00
Aaron
daa8b051c5
EditTag: on saving, redirect users to a page they can see
2023-03-11 20:03:09 +01:00
Aaron
27f69b0a74
EditTag: disallow users to disown their own tags
2023-03-11 20:01:25 +01:00
Aaron
ad816f10a3
EditTag: allow designating a tag owner
2023-03-11 19:57:19 +01:00
Aaron
59b1fa7a72
EditAlbum: allow updating the thumbnail visually
2023-03-11 19:52:30 +01:00
Aaron
6d0aef4df6
EditTag: allow updating the thumbnail visually
2023-03-11 19:49:17 +01:00
Aaron
a06902335b
Manage{Tags,Users}: add call to resetSessionToken
2023-03-11 19:34:52 +01:00
Aaron
cf0b9ebaf9
LogInForm: change title to something #RU-like
2023-03-11 19:34:01 +01:00
Aaron
edc857f6fd
EditTag: introduce featured thumbnail manager
2023-03-11 18:22:27 +01:00
Aaron
a9a347c638
Adjust dropdown focus colours
2023-03-11 17:59:57 +01:00
Aaron
fa01bf8961
ManageAssets: trade filename for user uploaded field
2023-03-11 17:53:53 +01:00
Aaron
54df35073d
EditAlbum: make parent selection more intuitive
2023-03-11 17:35:47 +01:00
Aaron
4684482d67
ManageAlbums: move hierarchy logic to PhotoAlbum model
2023-03-11 17:28:21 +01:00
Aaron
4033a8813c
EditTag: hide option for assigning parent
2023-03-11 17:23:44 +01:00
Aaron
4d47696dcd
Use Coda font for page links, too
2023-03-11 17:20:22 +01:00
Aaron
54c4294d08
Add 'no thumb' vector image for use while loading
2023-03-11 17:16:53 +01:00
Aaron
e6f7476037
MainNavBar: let space invader rotate on hover
2023-03-11 17:15:59 +01:00
Aaron
7d19cf823d
Pass aspect ratio into photo thumbnails
2023-03-11 17:04:30 +01:00
Aaron
326c8f11ee
Change colours for buttons and page indices
2023-03-11 16:55:22 +01:00
Aaron
556bbb2753
Use Coda font for buttons and headers
2023-03-11 16:43:53 +01:00