Commit graph

544 commits

Author SHA1 Message Date
Shish
dba8acea02 enable static analysis for all themes 2023-12-16 01:25:56 +00:00
Shish
62e4354598 simplify 2023-12-16 01:15:34 +00:00
Shish
f8ec844745 [themes] move disable_left to base class 2023-12-15 21:25:18 +00:00
Shish
e4bbdc2ac6 [themes/lite] remove rr 2023-12-15 21:25:18 +00:00
Shish
f6919cf9c9 theme updates 2023-12-15 17:20:46 +00:00
Shish
c5e96a7202 functions 2023-12-14 22:31:53 +00:00
Shish
98a199645a sync 2023-12-14 22:09:32 +00:00
Shish
19c3953519 ai-generated border color 2023-12-14 22:09:32 +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
e2dba09353 color tweaks 2023-08-16 16:36:03 +01:00
Shish
8065d5ea6b [themes/default] dark mode, see #937 2023-08-16 16:36:03 +01:00
Shish
463aec6df7 remove a random unused svg 2023-08-16 13:36:05 +01:00
Shish
3f27882f1e [r34] no autocomplete for mass tag edit 2023-07-03 10:55:16 +01:00
Shish
d30b4c97ef temp 2023-06-28 13:09:02 +00: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
928c9d95d1 Blocks can accept HTMLElements directly 2023-06-27 11:59:39 +01:00
Shish
8ebd8bf287 format 2023-06-27 11:45:27 +01:00
NottyNoz
909e54b1e2 fixes 2023-06-27 11:41:47 +01:00
NottyNoz
39c939583b lite theme fix 2023-06-27 11:40:05 +01:00
Shish
639341bbeb Remove broken Material theme (will re-add as a WIP pull request) 2023-06-27 11:25:41 +01:00
Shish
1d4c43f33b no autocomplete for r34 2023-06-25 10:17:56 +00:00
Shish
e2dddc9c8f link 2023-06-25 10:00:57 +00:00
Shish
4ba3af7926 version bumps 2023-05-25 12:58:41 +01:00
Shish
6b1084eed7 tweak 2023-03-30 19:40:17 +00:00
NottyNoz
48c3eae6b9 fixes 2023-03-16 22:29:45 -04:00
Shish
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +00:00
Shish
54e2ca21ec phpstan 2023-02-03 16:44:16 +00:00
Shish
9721dc8050 format 2023-02-02 16:50:09 +00:00
Shish
708e102338 Have shimmie's global cache object implement PSR-16 2023-02-02 16:04:35 +00:00
Shish
d268380e95 tweak 2023-01-30 23:31:47 +00:00
Shish
e37d87260b [r34] hide some headings 2023-01-30 21:23:50 +00:00
Shish
59c84893ed [r34] disable date inputs 2023-01-29 16:51:58 +00:00
Shish
6ba6c29d1f [r34] disable autocomplete for tagging 2023-01-11 19:41:40 +00:00
Shish
9b6f40e06e updates 2023-01-11 18:39:46 +00:00
Shish
f0c6dec798 nits 2023-01-11 11:59:56 +00:00
Shish
0d77a1dc81 nits 2023-01-11 11:46:42 +00:00
Shish
5a64e8729b nits 2023-01-11 11:15: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
165eea11b1 all the strict_types 2023-01-10 21:21:26 +00:00
Shish
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01:00
Shish
4ff93c63c3 new php-cs-fixer, new opinions about what is today's preferred format... 2022-10-27 17:21:46 +01:00
Shish
c1344958d4 [themes/warm] fix type annotations, fixes #865 2022-05-20 13:10:35 +01:00
Shish
818ea626ca [themes/lite] use block->id rather than trying to generate our own id 2022-05-20 13:08:42 +01: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
679360dd9c turn off timing for now 2021-10-06 17:02:29 +00:00
Shish
f5b3276e62 add a missing # in the danbooru original theme, fixes #834 2021-08-30 19:39:08 +01:00
Shish
7149af7df9 rmbtc 2021-04-25 10:23:24 +00:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Shish
8a9a2dd96d theme update 2021-03-14 15:32:05 +00:00
Matthew Barbour
72268d529d Moved user options to separate page, modularized the settings page code so that it can be re-used to simplify and standardize user settings in the same manner as global settings 2021-01-16 14:26:17 -06:00
Shish
d65bf2a322 don't set logo width 2021-01-11 01:25:15 +00:00
Shish
070d04503d note 2020-11-01 10:39:06 +00:00
Matthew Barbour
c18c7347bf Image to Post - danbooru theme 2020-10-26 10:53:05 -05:00
Matthew Barbour
f869eaefcd Image to Post - danbooru2 theme 2020-10-26 10:53:05 -05:00
Matthew Barbour
992d97d278 Image to Post - lite theme 2020-10-26 10:53:04 -05:00
Matthew Barbour
de084d2c55 Image to Post - material theme 2020-10-26 10:53:04 -05:00
Matthew Barbour
15c9cf453b Image to Post - rule34 theme 2020-10-26 10:53:04 -05:00
Shish
91d04bad5d z-index 2020-10-25 18:03:47 +00:00
Shish
f88445e639 measure client-side page-speed stats 2020-10-25 10:48:46 +00:00
Shish
1159ba2fa1 format 2020-09-19 00:18:51 +01:00
Matthew Barbour
65aca09203 Added understanding of video codecs, primarily to allow us to determine whether a file is a webm or not, but also to support my forthcoming video transcoding extension 2020-08-28 09:51:55 -05:00
Shish
e0519bb125 r34 theme-specific stuff to theme/script.js 2020-07-23 11:13:33 +01:00
Shish
065f9da2d6 theme update 2020-07-07 09:41:31 +00: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
Matthew Barbour
2f313b704a Making document ready events consistent 2020-06-22 18:06:35 +01:00
Matthew Barbour
63b2601e67 Mime type handling overhaul
Changed mime type map to deal with the reality that certain file types have multiple extensions and/or multiple mime types, as well as constants supporting all of the data. Created new functions using the updated mime type map to resolve mime types and extensions. Updated various items around the project that determine mime/extension to take advantage of the new functions.
2020-06-03 19:47:40 +01:00
Matthew Barbour
830915adf2 Fixed lite theme not showing image titles 2020-05-29 22:59:30 +01:00
Shish
69cb67fe24 stagger thumbnail cache 2020-03-28 16:11:05 +00:00
Shish
25248c089d inherit signup page from default on lite theme 2020-03-25 15:19:28 +00:00
Daniel Oaks
0029aa5320 Add shortwiki entries when viewing a single tag 2020-03-23 22:48:38 +10:00
Daniel Oaks
fc59fe6a3d Fix Futaba theme with new strict types 2020-03-23 22:29:34 +10:00
Shish
d599ef4f22 hide redundant part 2020-03-23 00:15:20 +00:00
Shish
1fc75c0b18 Whenever we display an image for any reason, show the admin block, fixes #621 2020-03-23 00:06:43 +00:00
Shish
6308dfefac font size 2020-03-21 22:17:24 +00:00
Shish
df3660fbcf bbcode signup message 2020-03-18 17:29:08 +00:00
Shish
1597eff082 lint fixing 2020-03-13 09:23:54 +00:00
Shish
7b59eebb0a
Merge pull request #698 from DanielOaks/um-whitespace-why
Weird... whitespace issue
2020-03-08 18:49:28 +00:00
Daniel Oaks
388a2545d1 Fix danbooru themes with new strict types 2020-03-09 01:49:36 +10:00
Daniel Oaks
373c6aca08 Fix... weird whitespace I guess? 2020-03-09 01:10:06 +10:00
Shish
ec7f63ee1f cache thumbs for 24h instead of forever 2020-02-26 10:42:08 +00:00
Shish
d1374c021e theme-color 2020-02-24 22:47:23 +00:00
Matthew Barbour
6d58fe9b32 Fix invalid type arg 2020-02-23 23:07:02 -06:00
Shish
9b822e4132 bump 2020-02-23 11:22:15 +00:00
Shish
05b4cd96dc format 2020-02-01 23:40:05 +00: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
a5c7faeff7 move stream_file to its own function 2020-02-01 21:20:32 +00:00
Shish
89ca23a4fd cleanup 2020-02-01 18:44:54 +00:00
Shish
720470c948 updates 2020-02-01 18:36:30 +00:00
Shish
7f2f5c342e r34 theme 2020-02-01 18:22:08 +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