Commit graph

3307 commits

Author SHA1 Message Date
Shish
63c6f9d2ac [core] config->save() is implicit in set_XXX(), no need to call it from outside of there 2024-06-19 15:23:42 +01:00
Shish
e3e25c1228 [various] use set_default_int in InitExt rather than set_int in DatabaseUpgrade 2024-06-19 15:22:27 +01:00
Shish
68d87e3a84 [setup] have ConfigSaveEvent save the config 2024-06-18 17:37:39 +01:00
discomrade
f69d5a297f [blocks] add documentation 2024-06-11 15:37:15 +01:00
discomrade
60f96fa128 [blur] blur thumbs with explicit rating 2024-06-10 14:16:30 +01:00
Shish
51a4e753e4 [terms] allow users to view wiki pages before accepting the terms that are written in the wiki 2024-06-07 15:23:08 +01:00
Shish
978d0d629b [terms] add tests 2024-06-07 15:08:56 +01:00
discomrade
1bb0be60c6 [handle_pixel] show zoom cursor on images 2024-06-07 10:59:24 +01:00
discomrade
68be2c7123 [terms] implement terms and conditions blur modal, fixes #1166 2024-06-07 10:58:29 +01:00
Shish
db148da479 [core] add shm_make_link JS function, to generate links from JS which work both with and without niceurls, fixes #1160, fixes #1151 2024-06-05 14:01:40 +01:00
Shish
b6088f95c3 [notes] avoid jiggling on _commit() by accounting for border widths 2024-06-05 14:01:27 +01:00
discomrade
baf55a26fa [terms] add terms and conditions gate 2024-06-04 20:04:38 +01:00
Shish
5cbbe5e1b3 [core] remove is_logged_in
This was only used in a couple of places, and user classes are more useful
2024-05-04 16:06:08 +01:00
discomrade
9453fda166 [statistics] omit banned users 2024-05-04 15:18:57 +01:00
discomrade
7b682bf246 [statistics] remove unused variable 2024-05-04 15:18:57 +01:00
discomrade
e23e822dd6 [statistics] improve accuracy of tagger statistic 2024-05-04 15:18:57 +01:00
discomrade
ba2bad48a6 [user] fix typo in password check 2024-05-04 15:01:33 +01:00
discomrade
8b674d598e [filter] fix thumb display css
unsetting the display option can disable display: block, which allows the thumbnails to be centred in their container
2024-05-04 14:58:32 +01:00
Shish
262fc43026 [statsd] group by starts_with, not matches 2024-04-25 14:58:10 +01:00
Shish
fc6f95de8f [blocks] 'delete' param isn't required 2024-04-18 15:42:07 +01:00
Shish
426f30e8d5 [wiki] fixes 2024-04-12 02:57:50 +01:00
Shish
ed0eb1401c [rss_images] fix page matching... for real? 2024-04-08 21:34:56 +01:00
Shish
4544960a4b [rss_images] fix page matching 2024-04-08 21:20:42 +01:00
Shish
4807064a65 [featured] fix feature button 2024-04-07 10:27:38 +01:00
discomrade
4a5d30e0bf [filter] add filter extension
This extension is derived from Danbooru's blacklist code
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
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
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
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
c5fc001dbd [home] wrap nav links to prevent overflow 2024-02-22 12:24:44 +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