Commit graph

559 commits

Author SHA1 Message Date
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
Shish
6d3ca01424 format 2020-01-29 00:49:26 +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
Shish
c7d90c2df7 nits 2019-11-04 01:04:12 +00:00
Shish
55c6854003 formatting 2019-11-02 19:57:34 +00:00
Matthew Barbour
016fb6be65 Small fixes and corrections 2019-11-01 23:47:53 -05:00
Shish
30698fefdc remove a bunch of dead variables and things 2019-10-02 11:23:57 +01:00
Shish
1314c3990a
Merge pull request #684 from DanielOaks/develop+danbooru2-fixes
Minor danbooru2 theme fixes
2019-09-29 15:47:09 +01:00
Shish
ebe4075469 formatting 2019-09-29 14:43:47 +01:00
Shish
e6a402cd4e Merge branch 'custom_ratings' into develop 2019-09-29 14:41:14 +01:00
Shish
f5119b20a3 formatting 2019-09-29 14:32:51 +01:00
Shish
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
Daniel Oaks
0a8aa40a81 Fix header bar colours a bit 2019-09-16 11:08:33 +10:00
Daniel Oaks
dfd833d42d Update email addy 2019-09-16 11:08:33 +10:00
Daniel Oaks
d377fb1705 Fix minor link error, use more standard+simple method from the default theme 2019-09-16 11:08:21 +10:00
Matthew Barbour
68ee4d0e77 Custom rating support, user rating filter settings 2019-08-07 15:49:26 -05:00
Matthew Barbour
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
Matthew Barbour
3d1b964812 Proposed extension info change to allow getting info for unloaded extensions 2019-08-07 15:34:11 -05:00
Matthew Barbour
00464d2579 Implemented a nav link generating system so that extension power what shows up in the menus rather than being hard-coded in the themes. 2019-08-05 09:01:20 -05:00
Matthew Barbour
972b68bdd3 Setup constants 2019-08-05 09:00:23 -05:00
Matthew Barbour
dd6c3b2321 Added window title option to post title extension 2019-08-01 08:10:30 -05:00
Matthew Barbour
cb1e9c0075 Permissions to constants 2019-08-01 08:07:05 -05:00
Matthew Barbour
b1db833d51 Added additional media properties to the images table, video, audio, length, and lossless.
Added new event to handle fetching media properties like height, width, and the newly added fields, and admin controls to manually scan files for their properties.
Added a search terms content:video and content:audio to search for images that do (or do not) have those flags.
2019-07-08 08:07:09 -05:00
Matthew Barbour
a41e99d1af Renamed graphics extension to media extension 2019-07-08 08:07:08 -05:00
matthew
f12e2891e5 Added button element to input[button]-related css statements 2019-07-05 16:25:03 +01:00
Matthew Barbour
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
Matthew Barbour
f9f4c3bd37 Updated copyright notice 2019-06-12 17:36:36 -05:00
root
76bd6d4238 Fixed an issue when null wueries were passed to some themes 2019-06-01 09:47:03 -05:00
Shish
bf473f6d51 more lint fixes 2019-05-29 18:23:29 +01:00
Shish
2396ae2ef9 fix a bunch of lints 2019-05-28 20:27:23 +01:00
Shish
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
Shish
5ec3e89884 php7.1 all the things 2019-05-28 17:31:20 +01:00
Shish
b01edb2aec copyright date update 2018-11-07 12:11:17 +00:00
Shish
b93026ac1d dedupe 'og:' meta tags 2018-11-05 19:17:42 +00:00
Shish
6ae14e4921 https for theme links 2018-09-26 22:49:37 +01:00
Shish
977c3db1e3 PHP7 type annotations 2017-09-21 05:21:42 +01:00
jgen
7bd581b530 Scrutinizer commets. 2017-03-12 14:29:35 -07:00
jgen
ede2fcf4eb More linting and fixing 2017-03-08 23:52:31 -08:00
jgen
17307820e8 Add some PHPdoc comments as suggested by Scrutinizier 2017-03-08 23:02:26 -08:00
Shish
e43b1b3aed Merge branch 'tag-tables' of git://github.com/im-mi/shimmie2 into im-mi-tag-tables 2016-10-10 14:19:57 +01:00
im-mi
c1083bbea1 Fixed comment-delete code-injection vulnerability 2016-09-14 17:42:32 -04:00
im-mi
ab33652d70 Made tag list spacing more like it was before
It's still a few pixels off in some cases, but the difference is negligible now.
2016-09-06 22:05:34 -04:00
im-mi
5919112477 Use tables for tag lists 2016-09-06 06:08:33 -04:00
Shish
6febdec7b5 more explicit variable types 2016-06-19 23:05:57 +01:00
Shish
dc10a18086 lots of minor doc tweaks, type hints, etc 2016-06-19 17:41:40 +01:00
Shish
0ff6da6d3c Merge #555 2016-06-18 15:16:47 +01:00
Shish
cfc1268354 update non-layout.class.php uses of html_headers too 2016-06-18 12:49:46 +01:00
Shish
b76ee95c76 fix and use get_all_html_headers() 2016-06-18 12:25:54 +01:00
Daku
caed53de6a jQuery.cookie is deprecated so use js-cookie instead (+ composer), some js tweaking too
Conflicts:
	ext/blotter/script.js
	ext/handle_pixel/script.js
	ext/index/script.js
	ext/pools/script.js
	lib/shimmie.js
2016-06-18 06:27:32 +01:00
Shish
43eed32958 Merge pull request #551 from shish/contact-link
Have contact_link support http: and mailto:
2016-06-06 12:37:27 +01:00
Shish
aeeaabb22e allow both http: and mailto: contact links 2016-06-06 12:12:25 +01:00
Shish
536cba980a update footer date 2016-05-22 16:13:38 +01:00
Daniel Løvbrøtte Olsen
ba66f653d6 Removes data-clink-sel="" in the sidebar links
It's unused as far as I can see
2016-01-08 10:22:58 +01:00
Daniel Løvbrøtte Olsen
2cd649b719 That's what I get for copiying and pasting 2016-01-07 13:13:50 +01:00
Daniel Løvbrøtte Olsen
ac264c4040 Stylesheet and js not from other hosts anymore 2016-01-06 23:21:55 +01:00
Daniel Løvbrøtte Olsen
a9a3af9a88 It works!!!!1!!!111!one111!!! 2016-01-06 22:58:27 +01:00
Daniel Løvbrøtte Olsen
8da4d73d82 Online tool says this should work 2016-01-06 15:27:53 +01:00
Daniel Løvbrøtte Olsen
f2af07e3d1 O.o why didn't that work? 2016-01-06 15:22:38 +01:00
Daniel Løvbrøtte Olsen
0b74b5630f How to regex 2016-01-06 15:14:33 +01:00
Daniel Løvbrøtte Olsen
7a0cb4bddc Oooops, that's kiiiinda important 2016-01-06 15:10:26 +01:00
Daniel Løvbrøtte Olsen
c36cc25cd5 This should add the correct class 2016-01-06 15:00:54 +01:00
Daniel Løvbrøtte Olsen
f8a7156371 derp 2015-12-30 13:29:14 +01:00
Daniel Løvbrøtte Olsen
05656618db Updated mdl and added license 2015-12-29 19:27:32 +01:00
Daniel Løvbrøtte Olsen
a267516b77 Made navgation links reside inside nav - "I identify as navbarkin" 2015-12-28 18:42:55 +01:00
Daniel Løvbrøtte Olsen
90b306184f weird –es 2015-12-28 18:12:37 +01:00
Daniel Løvbrøtte Olsen
ddc3b844d1 Olds CSS rules begone! 2015-12-28 18:09:06 +01:00
Daniel Løvbrøtte Olsen
eceef2a56f Added links 2015-12-28 03:22:42 +01:00
Daniel Løvbrøtte Olsen
5761148d0a fixed search - wow i was stoopid 2015-12-28 03:01:12 +01:00
Daniel Løvbrøtte Olsen
2afdbfc2d1 fixed search 2015-12-28 02:51:10 +01:00
Daniel Løvbrøtte Olsen
d8f18df3ec more testing 2015-12-28 02:45:24 +01:00
Daniel Løvbrøtte Olsen
d21e86aeb0 Cheated a bit to test it out ;) 2015-12-28 02:37:05 +01:00
Daniel Løvbrøtte Olsen
a8ca54db0b ported search, counter, foot and title to php 2015-12-27 16:10:45 +01:00
William Crandell
b7114a142e Hotfix for better block id character filtering 2015-10-26 09:20:09 -04:00
William Crandell
4af1199ff3 Hotfix flash message
maybe other issues not sure
2015-10-26 09:10:32 -04:00
William Crandell
6fb43eab19 On Develop branch
Sorry about that
2015-10-26 08:51:02 -04:00
Shish
1ac88e8923 more comments 2015-09-27 12:38:48 +01:00
Shish
90cd823ece fix liveness testing, and comments tests 2015-09-20 20:05:06 +01:00
JarJak
446397b5ad fix 2015-09-20 12:14:56 +02:00
Shish
35a4f385b3 phpstorm tidying 2015-09-12 11:43:28 +01:00
Shish
fa2f17817e scrutinizing 2015-08-04 13:53:58 +01:00
Shish
83435e3266 set cookies on Page object 2015-08-03 15:49:36 +01:00
Shish
ab4c558126 php cli server uses its own request thing 2015-08-01 15:24:58 +01:00