Commit graph

6495 commits

Author SHA1 Message Date
discomrade
4a5d30e0bf [filter] add filter extension
This extension is derived from Danbooru's blacklist code
2024-04-05 17:42:03 +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
discomrade
8af5b2f3db [ratings] add ratings field to upload 2024-03-29 09:27:50 +00:00
discomrade
571839ec4a [upload] build post fields using events 2024-03-29 09:27:50 +00:00
discomrade
8af33ded18 [statistics] add statistics page 2024-03-29 09:26:21 +00:00
Shish
b59fe4c694 Have a common PartListBuildingEvent, fixes #1124 2024-03-28 16:17:18 +00:00
discomrade
8d489b4f90 [notes] Round note dimensions to int 2024-03-22 13:47:37 +00:00
Shish
8f86ddaa75 [regen-thumb] have regen-thumb ext handle the regen-thumb command 2024-03-17 22:38:03 +00:00
Shish
74ad1bf86d [s3] sync by query (which might be an ID range) rather than by ID range 2024-03-17 22:37:44 +00:00
Joe
fc34513b7d set height for color input so the color preview is actually visible 2024-03-17 21:25:33 +00:00
Joe
e2a60404dc use color input when editing tag categories 2024-03-17 21:25:33 +00:00
Joe
39ecf9b3eb add color swatches to tag category editor 2024-03-17 21:25:33 +00:00
Shish
cc8e4ffd47 [tags] fully separate tag_list and tag_categories, see #1103 2024-03-13 23:53:48 +00:00
Shish
cefd48e94f [tags] redirect to view page after updating tags, fixes #1103 2024-03-13 23:39:09 +00:00
Shish
d2689ae225 [tag_categories] send a CSRF token along with tag category edits, fixes #1103 2024-03-12 13:13:29 +00:00
Shish
ba10a5b7d8 [tag_categories] remove redundant permission check, see #1103 2024-03-12 13:13:16 +00:00
Shish
aec230beb0 [tag_list] only match 'GET /tags/{sub}', to avoid conflicting with 'POST /tags/categories' 2024-03-12 13:13:09 +00:00
Shish
517f8c0019 [core] differentiate permission denied due to missing permission vs error, see #1103 2024-03-12 13:13:02 +00:00
Shish
b8ff02f6ba [docker] use ini_parse_quantity for post_max_size, see #1096 2024-03-12 13:12:45 +00:00
Shish
e5471df505 [docker] fix max filesize / max uploads being counted wrong 2024-02-27 15:08:11 +00:00
Shish
b6cca42f73 [core/polyfills] remove mb_ functions - there are standard polyfills for that 2024-02-27 13:05:22 +00:00
Shish
52278baf75 [docker] set php.ini variables in a flexible way, see #1096 2024-02-27 11:25:01 +00:00
Shish
551c7f628a [ci] test shortcuts 2024-02-27 00:52:41 +00:00
Shish
91e1cf3abe [graphql] take post metadata as arbitrary key-value pairs
I don't want "tags" and "source" to be special things where we explicitly handle those and fail to handle anything else. Making all metadata fields {string:string} pairs seems nicer, and matches with HTTP POST syntax
2024-02-25 20:06:18 +00:00
Shish
b9c7d632fd [graphql] custom field resolver, fixes #1089 2024-02-25 19:32:05 +00:00
Shish
d2df6fc50f [deps] bump gqla 2024-02-25 17:05:20 +00:00
Shish
2be141327a [graphql] fix graphql field access, fixes #1089 2024-02-25 16:54:13 +00:00
Shish
2f4d8572b7 [core] don't limit searchable tag length, only writable length, fixes #1087 2024-02-24 17:47:22 +00:00
Shish
aeeccf31d5 [themes/default] nicer table headings 2024-02-24 16:56:24 +00:00
Shish
73ec7be491 [image_hash_ban] fix link 2024-02-24 16:56:06 +00:00
Shish
255e797ea0 [not_a_tag] fix link 2024-02-24 16:55:58 +00:00
Shish
ac14d1e4c6 [core] search code docs and test function 2024-02-24 14:44:17 +00:00
discomrade
751a8f61d2 [futaba] add greentext formatting 2024-02-23 23:31:04 +00:00
discomrade
3ba8834c20 [futaba] fix comment reply button 2024-02-23 23:31:04 +00:00
Shish
82b8991fa4 [ci] sqlite3 is installed by default, and show versions first 2024-02-23 14:10:29 +00:00
Shish
4cc9b2f5d3 [core] don't crash when REMOTE_ADDR is 'unix:', fixes #1076 2024-02-22 23:18:38 +00:00
discomrade
c5fc001dbd [home] wrap nav links to prevent overflow 2024-02-22 12:24:44 +00:00
Shish
ae92e42300 [core] Utils tests 2024-02-21 23:51:10 +00:00
Shish
dd6c47484d [core] UserClass tests 2024-02-21 23:38:52 +00:00
Shish
00b96c313f [setup] don't crash if multichoice isn't set 2024-02-21 23:38:44 +00:00
Shish
8100ab31a9 [handle_archive] standard tmpdir 2024-02-21 22:35:27 +00:00
Shish
cff1bbad7d [various] split Index::onSearchTermParse into relevant extensions 2024-02-21 22:35:06 +00:00
Shish
d3352f1563 [devcontainer] seed shell history 2024-02-21 22:34:57 +00:00
Shish
555d82b590 [ci] run tests in dev mode, with assertions 2024-02-21 22:34:47 +00:00
Shish
535a6f30c1 [devcontainer] fix user creation 2024-02-21 19:42:44 +00:00
Shish
7bc8459cda [docker] generate web server config with our own script (envsubst is terrible) 2024-02-21 19:27:20 +00:00
Shish
0a617f6292 [docker] only replace specific variables, fixes #1064 2024-02-21 18:13:47 +00:00
Shish
0890de35c1 [core] don't crash if TRUSTED_PROXIES isn't defined, fixes #1061 2024-02-21 14:59:19 +00:00
discomrade
fa5f6b8179 [home] style counter images to adjust to screen width 2024-02-21 14:54:34 +00:00
Shish
2e8d5dbc49 [ci] remove scrutinizer - too many false positives compared to phpstan... 2024-02-21 14:54:03 +00:00