Commit graph

118 commits

Author SHA1 Message Date
Shish
4076051456 factor out commonly duplicated flash_html 2024-09-05 12:19:48 +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
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
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
93ce51e189 [styles] have input font-size be equal to text font-size, see #999 2024-01-08 21:33:16 +00:00
Shish
1df53715bd [themes/danbooru2] make font sizes a bit more consistent, see #999 2024-01-07 23:49:26 +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
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
89a61d3499 [themes] remove references to no-js, there is no more modernizr 2023-12-31 14:18:54 +00:00
Shish
b67fca51f5 [view] ViewImage -> ViewPost 2023-12-31 01:20:36 +00:00
Shish
f8ec844745 [themes] move disable_left to base class 2023-12-15 21:25:18 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
myname
3c63d1d107 Remove redundant button
Fix parent-id type issue
2023-11-07 20:52:28 +00:00
Shish
945c358ab6 [themes/danbooru2] adjust rules for when to show '...', hopefully fixes #940 2023-09-06 12:04:54 +01:00
Shish
1cef09f39e fix themes with navlinks 2023-08-18 21:58:58 +01:00
Shish
43c7be0e89 dedicated search_link() function for generating links to search results, see #936 2023-08-18 13:52:03 +01:00
Shish
0c014fde01 use joinHTML for paginator 2023-08-17 18:34:39 +01:00
Shish
8fb6fd5f54 stricter nulls 2023-06-27 17:45:35 +01:00
Shish
dc7e8ee231 microhtml for themelet functions, see #828 2023-06-27 14:10:53 +01:00
Shish
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +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
c9ce396c9d remove ancient irrelevant comments 2022-05-20 13:06:29 +01:00
Shish
217a36a8c5 upload microhtml 2021-12-14 19:10:21 +00:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Matthew Barbour
f869eaefcd Image to Post - danbooru2 theme 2020-10-26 10:53:05 -05:00
Matthew Barbour
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
Matthew Barbour
bd9808081e Added false is_content flags to several blocks so that the 404 extension can work properly 2020-06-24 17:01:09 +01:00
Daniel Oaks
0029aa5320 Add shortwiki entries when viewing a single tag 2020-03-23 22:48:38 +10:00
Daniel Oaks
388a2545d1 Fix danbooru themes with new strict types 2020-03-09 01:49:36 +10:00