fa01bf8961
ManageAssets: trade filename for user uploaded field
2023-03-11 17:53:53 +01:00
54df35073d
EditAlbum: make parent selection more intuitive
2023-03-11 17:35:47 +01:00
4684482d67
ManageAlbums: move hierarchy logic to PhotoAlbum model
2023-03-11 17:28:21 +01:00
4033a8813c
EditTag: hide option for assigning parent
2023-03-11 17:23:44 +01:00
4d47696dcd
Use Coda font for page links, too
2023-03-11 17:20:22 +01:00
54c4294d08
Add 'no thumb' vector image for use while loading
2023-03-11 17:16:53 +01:00
e6f7476037
MainNavBar: let space invader rotate on hover
2023-03-11 17:15:59 +01:00
7d19cf823d
Pass aspect ratio into photo thumbnails
2023-03-11 17:04:30 +01:00
326c8f11ee
Change colours for buttons and page indices
2023-03-11 16:55:22 +01:00
556bbb2753
Use Coda font for buttons and headers
2023-03-11 16:43:53 +01:00
febe7bb405
MainNavBar: hide navigation when not logged in
2023-03-11 16:39:30 +01:00
0a8da104cc
MainNavBar: randomize space invader; add Coda font
2023-03-11 16:38:03 +01:00
02b43035f3
AccountSettings: allow users to change their personal details
2023-03-11 15:32:07 +01:00
87df775c51
MainNavBar: re-introduce the space invader
2023-03-11 15:27:15 +01:00
c6902150f0
PhotoPage: move edit button from old admin bar to widget
2023-03-11 15:17:36 +01:00
277611e0ac
Introduce new menu classes and navigation templates
2023-03-11 15:14:05 +01:00
b1378a3b59
DummyBox: fix SubTemplate inheritance
2023-03-11 14:38:49 +01:00
5bb8c020bd
EditAssetForm: replace widget class with generic content box
2023-03-11 14:31:44 +01:00
a6fd8d2764
Admin controllers: apply new column classes
2023-03-11 14:24:17 +01:00
b9bd2bf499
AlbumHeaderBox: apply some border radius to tag headers
2023-03-11 14:17:38 +01:00
812c7a4f20
PhotoPage: change previous/next icons
2023-03-11 14:13:29 +01:00
021df2df93
Pagination: use larger page indices on photo and album index pages
2023-03-11 14:12:56 +01:00
a9a2c64d81
PhotoPage: replace custom sub-photo boxes with generic equivalents
2023-03-11 13:57:57 +01:00
cf31f0af07
Replace more custom button classes with Bootstrap counterparts
2023-03-11 13:51:12 +01:00
2d1a299fe0
Replace login and password reset templates
2023-03-11 13:44:36 +01:00
307d34430a
SubTemplate: use SubTemplates for boxed content only
2023-03-11 13:37:59 +01:00
0366df9b5f
Alerts: replace 'error' class with 'danger'
2023-03-11 13:30:02 +01:00
f9eefe7b41
Replace generic alert, form and table templates with new Bootstrap equivalents
2023-03-11 13:20:59 +01:00
daf6b6b264
MainTemplate: clean up HTML head; remove unused inline CSS function
2023-03-11 13:12:12 +01:00
07bc784859
Add bootstrap as a dependency
2023-03-11 12:58:30 +01:00
09f498695d
Router: split off from Dispatcher
2023-01-01 19:48:19 +01:00
6b028aac41
AlbumIndex: enable rendering of more double-density thumbnails
2023-01-01 19:37:22 +01:00
2ef1289628
PhotosIndex: enable rendering of more double-density thumbnails
2023-01-01 19:37:07 +01:00
4d05cebc40
PhotoMosaic: address deprecation notice in usort call
2022-12-25 14:06:54 +01:00
ce909ccfe5
default.css: fix overflow declarations
2022-12-25 13:56:42 +01:00
1314cfdd30
composer.json: include dependent PHP extensions
2022-12-25 13:56:42 +01:00
7897172256
Address dynamic class property deprecation warnings
2022-12-25 13:56:42 +01:00
49390c372d
Use triple-equals in a few more places
2022-12-25 13:50:03 +01:00
2174e1d08b
PhotoPage: show software used to edit photo
2022-12-25 13:44:19 +01:00
d66f071aab
Merge pull request 'Add double-density support to photo thumbnails' ( #28 ) from improve_thumbs into master
...
Reviewed-on: #28
2022-11-27 14:38:21 +01:00
7d82a4a924
Merge pull request 'Complete date-ordered orderings' ( #29 ) from electricdusk/pics:assets-complete-ordering into master
...
Reviewed-on: #29
2022-11-22 21:09:10 +01:00
b7a37c85f6
Complete date-ordered orderings
...
Bug as reported by Yorick: When two Assets have the same capture
date, a bug occurs in the interface where the user gets stuck in
a loop when moving to the next image.
This patch uses the primary key as a fallback when ordering the
images by capture date. This way, the asset ordering is complete
and it should resolve the bug.
2022-11-22 12:00:53 +01:00
3de87809bb
GenericTable: prevent passing NULL to strtotime
2022-07-14 16:45:32 +02:00
c763967463
Prevent current page from being 0 if no items are present
2022-07-14 16:45:17 +02:00
6369187eb7
Add double-density thumbnails to albums and photo pages
2022-07-08 23:53:28 +02:00
b3808144ca
Address deprecation notices for certain function signatures
2022-07-08 23:52:03 +02:00
d8858c78bb
Thumbnails: crop from original size if 2x is unavailable
2022-07-07 14:54:00 +02:00
c0d69f7205
Do not delete thumbnail queue when replacing an asset
...
Thumbnails are normally created on demand, e.g. when processing the format codes in a post's body text.
Normally, the temporary URL is only used once to generate thumbnails ad-hoc. However, when cache is
enabled, a reference to the asset may be used in a cached version of a formatted body text, skipping
the normal thumbnail generation routine.
When an asset is replaced, currently, all thumbnails are removed and references to them are removed
from the database. In case the asset is still referenced in a cached formatted body text, this could lead
to an error when requesting the thumbnail, as the thumbnail request is no longer present in the system.
As we do not know what posts use particular assets at this point in the code, it is best to work around this
issue by unsetting the thumbnail filenames rather than deleting the entries outright. This effectively
generates them again on the next request.
In the future, we should aim to keep track of what posts make use of assets, so cache may be invalidated
in a more targeted way.
2022-07-07 14:22:22 +02:00
b5edf09a69
Don't try to generate double-density thumbs for small images
2022-07-07 14:05:33 +02:00
54fb7ab410
Write new thumbnail filenames to parent Image object as well
2022-07-07 13:55:55 +02:00