Commit graph

231 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
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
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
55d5dc0a35 [themes] have themes implement head_html/body_html rather than render 2024-01-04 14:11:20 +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
2ac243d20d [core] use rawurlencode/decode consistently, deprecate caret system 2023-12-24 22:42:14 +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
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
f5b3276e62 add a missing # in the danbooru original theme, fixes #834 2021-08-30 19:39:08 +01:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Matthew Barbour
c18c7347bf Image to Post - danbooru 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
Shish
0bcbcb679e have navlinks as a utility methods that themes can call, if they want to 2020-02-01 23:23:23 +00:00
Shish
f0f3cc7aa0 merge layout stuff into Page class 2020-02-01 18:11:11 +00:00
Shish
af733b53ca more encoding 2020-01-30 22:10:51 +00:00
Shish
dba89e9d13 make all themes have a Page class, to simplify loading 2020-01-27 18:35:36 +00:00
Shish
e0778f94f7 more types 2020-01-26 18:47:30 +00:00
Shish
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
Shish
5d559dc654 fix typo 2019-12-16 00:02:34 +00:00
Shish
70db0ce5bd flash_message -> page->flash, with no cookies 2019-12-15 19:47:18 +00:00