Commit graph

559 commits

Author SHA1 Message Date
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
c899935012 [r34] reduce jquery 2023-12-30 13:47:33 +00:00
Shish
9ed58a69a0 [setup] drop hideable setup sections
this is mostly-broken; and when it works, it is confusing; and the code
is bad
2023-12-30 04:07:40 +00:00
Shish
840b0849df [user] make email-requiredness a setup option 2023-12-27 10:07:09 +00:00
Shish
f902fba814 theme notes 2023-12-27 10:07:09 +00:00
Shish
fbd6869d85 [themes/r34] be less custom 2023-12-26 13:08:50 +00:00
Shish
574087ffdb align 2023-12-26 03:21:45 +00:00
Shish
e5c8bf7b18 one cookie set function, for consistent samesite/path/expires 2023-12-26 02:36:51 +00:00
Shish
532dbdc751 [themes] inline background image 2023-12-26 02:23:09 +00:00
Github Actions
1af62eca83 Auto-merge master to main 2023-12-25 15:36:43 +00:00
Shish
6d370b0aa3 [all themes] use rems for more consistent font sizing 2023-12-25 15:33:57 +00:00
Shish
75a7b79380 [themes] set font-size on :root rather than BODY so that REMs work consistently 2023-12-25 13:08:14 +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
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