Commit graph

205 commits

Author SHA1 Message Date
a7927a4209 Generate summary_large_image preview for images 2024-09-02 01:01:52 +01:00
Shish
8f8c0d151a Update dependency versions 2024-08-31 17:06:39 +01:00
Shish
f84bcaec01 microhtml for everything in <head>
I wanted to ensure that all pages (even the downtime page, terms page, home page, etc) had the appropriate `data-` attributes on `<body>` (because those are required for certain javascript, eg autocomplete, to work). One thing led to another and now everything in `head` is microhtml'ed
2024-06-21 18:52:05 +01:00
Shish
b59fe4c694 Have a common PartListBuildingEvent, fixes #1124 2024-03-28 16:17:18 +00:00
Shish
db0e788a67 [core] Deduplicate ImageAdditionEvent & ImageInfoSetEvent
Rather than ImageAddition triggering TagsSet/SourceSet/LockSet etc in one way, and ImageInfoSet triggering TagsSet/SourceSet/LockSet in a different way, why not have ImageAddition *just* deal with image addition, and then send a separate ImageInfoSet to deal with all of the metadata setting?
2024-02-20 22:15:24 +00:00
Shish
e80d235fe9 [core] use Safe library, reduce StdLibEx 2024-02-20 10:38:20 +00:00
Shish
9c4e306b58 [tag_edit] separate responsibility for tags, source, owner, and lock 2024-02-12 22:08:47 +00:00
Shish
b06cf0b1da [core] don't make_link(make_link(path)), fixes #1029 2024-02-12 11:19:24 +00:00
Shish
263c455457 more consistent use of q parameter 2024-02-12 11:12:50 +00:00
Shish
8c22cb1fb6 [core] exact and named page args 2024-02-11 11:34:17 +00:00
Shish
cc9de6b4b2 [core] merge method-check and permission-check into page_matches() 2024-02-10 23:03:14 +00:00
Shish
81a8587543 ImageAction->add_button + display_crud 2024-02-10 18:35:55 +00:00
Shish
cbc574db90 [core] reduce use of POST global 2024-02-10 00:23:53 +00:00
Shish
f95e59cbae [image info] have ImageInfoSetEvent carry its own params 2024-02-10 00:00:49 +00:00
Shish
77b755e68b [core] reduce use of GET global 2024-02-09 16:36:57 +00:00
Shish
a9e4c4bdb3 use POST when building search results, see #1026 2024-02-09 11:00:18 +00:00
Shish
b60c3fe362 [core] a load more type hints, and fix bugs revealed by type hints 2024-01-20 14:11:00 +00:00
Shish
46d11a0be5 smaller gap between image controls 2024-01-19 19:07:03 +00:00
Shish
dbb8bb8280 have image admin controls block use microhtml consistently 2024-01-19 18:57:02 +00:00
Shish
434455b836 [tests] more voiding of tests 2024-01-15 14:31:51 +00:00
Shish
a1f22ef67c [themes] void return type for display_* functions 2024-01-15 14:23:12 +00:00
Shish
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
Shish
2af4a83fd1 [view] give input box a little extra buffer height to account for padding, fixes #1009 2024-01-13 13:28:19 +00:00
Shish
d986d0d378 [view] tag entry should grow as-needed, but not shrink - fixes #1005 2024-01-09 17:38:55 +00:00
Shish
29fde1388a [core] only show decimal for KB/MB/etc less than 10 2024-01-08 19:35:25 +00:00
Shish
4df1e935b4 autosize tag entry 2024-01-06 14:09:55 +00:00
Shish
948f3f1bd8 min-size for tag entry 2024-01-06 14:03:46 +00:00
Shish
4edf985a73 fmt 2024-01-05 04:06:19 +00:00
Shish
05a981d935 [notes] replace all the javascript 2024-01-05 04:02:08 +00:00
Shish
b060accc44 [view] don't show prev/next when the user has searched for order:... - fixes #790 2024-01-04 19:21:55 +00:00
Shish
164e6df9f8 derp 2024-01-01 22:38:01 +00:00
Shish
fab4b489ac infobox css to css file, and a little wider 2024-01-01 22:27:42 +00:00
Shish
47dfc2c36e fix view js a bit 2024-01-01 17:17:27 +00:00
Shish
b67fca51f5 [view] ViewImage -> ViewPost 2023-12-31 01:20:36 +00:00
Shish
a00b522f34 [view] more microhtml 2023-12-31 01:10:03 +00:00
Shish
9c4138399d Merge branch 'no-modernizr' 2023-12-30 18:07:59 +00:00
Shish
ab4c58e17e [view] reduce jquery 2023-12-30 13:47:23 +00:00
Shish
8f143a6bac [view] use vanilla JS to change info box edit/view modes 2023-12-30 03:45:21 +00:00
Shish
7617daa15c [autocomplete] rely on autocomplete-script to disable browser built-in where appropriate 2023-12-26 12:53:46 +00:00
Shish
2ac243d20d [core] use rawurlencode/decode consistently, deprecate caret system 2023-12-24 22:42:14 +00:00
Shish
9e7f3cb397 Make SHM_POST_INFO more logical
Rather than having a boolean for view or edit + optional editor, use the
existence of the editor to know if a field is editable
2023-12-19 11:41:02 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
Shish
5879184895 SHM_POST_INFO element for doing info box elements in a standard way 2023-08-17 18:21:28 +01:00
Shish
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
Shish
46f75f7b34 [static] allow extensions to customise robots.txt 2023-03-30 20:36:58 +01:00
Shish
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +00:00
Shish
120a5273e5 Post ID in navigation slot 2023-01-30 21:35:38 +00:00
Shish
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
Shish
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00