Commit graph

559 commits

Author SHA1 Message Date
Shish
4076051456 factor out commonly duplicated flash_html 2024-09-05 12:19:48 +01:00
Shish
399a56ac79 [dev] bump phpstan strictness
no more null surprises
2024-08-31 21:25:20 +01:00
Shish
8b20fa3bc2 Add preg_replace_ex
having preg_replace return string|array|null is a pain, string|exception is much cleaner
2024-08-31 19:56:27 +01:00
discomrade
94cdfd6952 [futaba] add missing class to username links 2024-06-22 13:16:49 +01:00
discomrade
1ad6acf37c [themes] add search link to rating 2024-06-21 18:27:51 +01:00
discomrade
38a7bb542b use <code> where appropriate 2024-06-21 18:24:38 +01:00
discomrade
de05ca448f [danbooru2] add autocomplete to view search field 2024-06-09 17:00:32 +01:00
Shish
15aaedb951 [danbooru2] minor fixes for signup form 2024-06-05 13:09:27 +01:00
discomrade
ddf500199e [danbooru] standardise thumbs layout
There's no purpose for the redundant style, class 'thumb' already exists on the child element
2024-04-05 17:42:03 +01:00
Shish
aeeccf31d5 [themes/default] nicer table headings 2024-02-24 16:56:24 +00:00
discomrade
751a8f61d2 [futaba] add greentext formatting 2024-02-23 23:31:04 +00:00
discomrade
3ba8834c20 [futaba] fix comment reply button 2024-02-23 23:31:04 +00:00
Shish
2136be80ab [core] test truncate() properly, and then fix it, and then use it 2024-02-20 15:04:38 +00:00
discomrade
d451f164a3 [comment] fix unnecessary truncate when trimming
Also makes trimming consistent across themes
2024-02-20 10:40:32 +00:00
Shish
ffb0d405b4 [comment] fix comment deletion in other themes too 2024-02-19 22:29:45 +00:00
Shish
53f0c130a3 [danbooru2] GET for search query 2024-02-12 11:26:13 +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
a9e4c4bdb3 use POST when building search results, see #1026 2024-02-09 11:00:18 +00:00
Shish
db902d6d26 [r34] remove custom parts 2024-02-06 20:53:55 +00:00
Shish
66d4c2901d derp 2024-01-21 10:57:30 +00:00
Shish
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
Shish
8b797a9a31 [tests] more strictness 2024-01-20 19:47:27 +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
71474142ac [themes] don't force http:// upon file:// sources in themes, fixes #1015 2024-01-19 11:10:54 +00:00
Shish
bbea373c19 [core] use ArrayAccess rather than dynamic props for extra columns on the images table 2024-01-15 18:52:07 +00:00
Shish
a1f22ef67c [themes] void return type for display_* functions 2024-01-15 14:23:12 +00:00
Shish
7b7ec9c83f [tests] phpstan version bump 2024-01-15 14:08:12 +00:00
Shish
9e64ffeb66 [themes] let the browser know when we have dark mode support, so that it can do its own dark things 2024-01-13 12:39:35 +00:00
Shish
a89090cfa9 [r34] log webp support 2024-01-12 14:56:12 +00:00
Shish
f210716bf5 [r34] remove dead timing code 2024-01-12 10:24:21 +00:00
Shish
93ce51e189 [styles] have input font-size be equal to text font-size, see #999 2024-01-08 21:33:16 +00:00
Shish
7146d07f4e [style] use CSS for text-wrapping 2024-01-08 21:24:41 +00:00
Shish
7135eca9c2 [themes] remove dead styles 2024-01-08 19:15:31 +00:00
Shish
1df53715bd [themes/danbooru2] make font sizes a bit more consistent, see #999 2024-01-07 23:49:26 +00:00
Shish
132778c9e1 [themes] fix header 2024-01-05 17:40:56 +00:00
Shish
30bcfed964 css comment 2024-01-04 14:17:55 +00:00
Shish
74fd48a0f2 [theme] add data-userclass to body tag 2024-01-04 14:11:20 +00:00
Shish
55d5dc0a35 [themes] have themes implement head_html/body_html rather than render 2024-01-04 14:11:20 +00:00
Shish
0c31a11f9b [themes/danbooru2] dark mode, see #937 2024-01-04 13:12:41 +00:00
Shish
c5c972fe94 [themes] use CSS variables + CSS grid to control image grid layouts, fixes #938 2024-01-03 15:30:20 +00:00
Shish
e4ce96fe6c font tweak 2024-01-01 21:16:54 +00:00
Shish
3acc3fa607 [css] remove more dead css, make more extension CSS be specific 2024-01-01 16:21:43 +00:00
Shish
9f002b6bf7 typed arrays 2024-01-01 03:30:21 +00:00
Shish
3462a81c28 [upload] give filesize-tracker script some polish 2024-01-01 03:30:21 +00:00
Shish
4905bf6cc6 [r34] remove theme override which duplicates a config setting 2023-12-31 23:08:15 +00:00
Shish
d3cf2b9531 [r34] use CSS to show and hide things rather than custom theme overrides 2023-12-31 22:28:10 +00:00
Shish
448ce2fad4 remove dead css 2023-12-31 21:58:38 +00:00
Shish
ab376f4dff [r34] remove redundant overrides 2023-12-31 19:54:14 +00:00
Shish
89a61d3499 [themes] remove references to no-js, there is no more modernizr 2023-12-31 14:18:54 +00:00