Commit Graph

100 Commits

Author SHA1 Message Date
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 68b5783a28 Add dark theme variant 2023-11-11 11:37:26 +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 8a6631cec2 Add nyan-cat easter egg 2023-11-11 11:50:09 +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 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 6930c0a06a Misc: use the correct copyright headers 2023-04-08 21:32:38 +02:00
Aaron 9fcde24c39 PhotosIndex: reintroduce alternating odd/even layouts 2023-04-01 14:53:56 +02:00
Aaron be909bf54d PhotosIndex: rename 'row' layout to 'landscapes' 2023-04-01 14:41:24 +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 6c5d814a99 PageIndexWidget: hide page numbers on smaller screens 2023-03-21 23:12:47 +01:00
Aaron c6dc6bbac4 AlbumIndex: don't over-fit placeholder images 2023-03-13 01:37:31 +01:00
Aaron 5c2eff09b8 PhotoPage: apply #photo_frame anchor to clicks as well 2023-03-12 12:55:32 +01:00
Aaron 3f66fce262 MediaUploader: explicitly support image/jpeg only 2023-03-12 12:07:17 +01:00
Aaron 54b69ecd11 MediaUploader: simplify form control design 2023-03-12 11:33:16 +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 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 4c928af9ad AlbumIndex: set thumbnail dimensions for 'no thumb' images too 2023-03-11 21:46:23 +01:00
Aaron a4cc528951 ManageAssets: allow batch deletion of assets 2023-03-11 21:24:55 +01:00
Aaron a76dde927b AccountSettings: list tags owned by current user 2023-03-11 20:27:09 +01:00
Aaron 6d0aef4df6 EditTag: allow updating the thumbnail visually 2023-03-11 19:49:17 +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 54c4294d08 Add 'no thumb' vector image for use while loading 2023-03-11 17:16:53 +01:00
Aaron 7d19cf823d Pass aspect ratio into photo thumbnails 2023-03-11 17:04:30 +01:00
Aaron febe7bb405 MainNavBar: hide navigation when not logged in 2023-03-11 16:39:30 +01:00
Aaron 0a8da104cc MainNavBar: randomize space invader; add Coda font 2023-03-11 16:38:03 +01:00
Aaron 87df775c51 MainNavBar: re-introduce the space invader 2023-03-11 15:27:15 +01:00
Aaron c6902150f0 PhotoPage: move edit button from old admin bar to widget 2023-03-11 15:17:36 +01:00
Aaron 277611e0ac Introduce new menu classes and navigation templates 2023-03-11 15:14:05 +01:00
Aaron b1378a3b59 DummyBox: fix SubTemplate inheritance 2023-03-11 14:38:49 +01:00
Aaron 5bb8c020bd EditAssetForm: replace widget class with generic content box 2023-03-11 14:31:44 +01:00
Aaron b9bd2bf499 AlbumHeaderBox: apply some border radius to tag headers 2023-03-11 14:17:38 +01:00
Aaron 812c7a4f20 PhotoPage: change previous/next icons 2023-03-11 14:13:29 +01:00
Aaron a9a2c64d81 PhotoPage: replace custom sub-photo boxes with generic equivalents 2023-03-11 13:57:57 +01:00
Aaron cf31f0af07 Replace more custom button classes with Bootstrap counterparts 2023-03-11 13:51:12 +01:00
Aaron 2d1a299fe0 Replace login and password reset templates 2023-03-11 13:44:36 +01:00
Aaron 307d34430a SubTemplate: use SubTemplates for boxed content only 2023-03-11 13:37:59 +01:00
Aaron f9eefe7b41 Replace generic alert, form and table templates with new Bootstrap equivalents 2023-03-11 13:20:59 +01:00
Aaron daf6b6b264 MainTemplate: clean up HTML head; remove unused inline CSS function 2023-03-11 13:12:12 +01:00
Aaron 6b028aac41 AlbumIndex: enable rendering of more double-density thumbnails 2023-01-01 19:37:22 +01:00