Commit graph

3341 commits

Author SHA1 Message Date
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
Shish
cff1bbad7d [various] split Index::onSearchTermParse into relevant extensions 2024-02-21 22:35:06 +00:00
discomrade
fa5f6b8179 [home] style counter images to adjust to screen width 2024-02-21 14:54:34 +00:00
discomrade
aff227ac31 [core] fix permissions in forum and notes
This includes preventing silent failures when permission is denied, preventing unauthorized users from being shown the note edit form, patching typos, and extracting NOTES_REQUEST to its own permission
2024-02-21 11:27:19 +00:00
discomrade
ac86cb1302 [core] rename FORUM_CREATE permission
This permission is for more than creating threads, making the previous name misleading
2024-02-21 11:27:19 +00:00
Noz
3f064c3336 [handle_pixel] better zoom logic 2024-02-21 10:15:18 +00:00
Noz
3b5976c334 [handle_pixel] change post view defaults 2024-02-21 10:15:18 +00:00
Noz
93944fc883 [user] change email required default 2024-02-21 10:15:18 +00:00
Shish
db0e788a67 [core] Deduplicate ImageAdditionEvent & ImageInfoSetEvent
Rather than ImageAddition triggering TagsSet/SourceSet/LockSet etc in one way, and ImageInfoSet triggering TagsSet/SourceSet/LockSet in a different way, why not have ImageAddition *just* deal with image addition, and then send a separate ImageInfoSet to deal with all of the metadata setting?
2024-02-20 22:15:24 +00:00
discomrade
50fe355046 add wildcard search examples 2024-02-20 15:05:13 +00:00
Shish
2136be80ab [core] test truncate() properly, and then fix it, and then use it 2024-02-20 15:04:38 +00:00
discomrade
a21f6ebf6b [notes] allow clicking through notes container
If the notes extension is enabled, the container would block clicking the image, including right-clicking to save it
2024-02-20 10:41:31 +00:00
discomrade
d451f164a3 [comment] fix unnecessary truncate when trimming
Also makes trimming consistent across themes
2024-02-20 10:40:32 +00:00
Shish
e80d235fe9 [core] use Safe library, reduce StdLibEx 2024-02-20 10:38:20 +00:00
Shish
c0bc11ee0c Revert "[upload] add rating fields to upload form"
This reverts commit 32d5274880.
2024-02-19 23:00:37 +00:00
Shish
ffb0d405b4 [comment] fix comment deletion in other themes too 2024-02-19 22:29:45 +00:00
discomrade
32d5274880 [upload] add rating fields to upload form
If the Post Ratings extension is enabled, encourage a rating to be selected when uploading.

This can be extended to also have a Common Ratings field, if wanted.
2024-02-19 17:23:06 +00:00
Shish
2f2985f3eb [et] add commit info to versions.shimmie where people are more likely to copy-paste it 2024-02-19 13:10:10 +00:00
Marcos Del Sol Vives
08b01502a5 Do not cast hard drive size to integer - fixes #1037 2024-02-17 12:32:47 +00:00
Marcos Del Sol Vives
b3eb5e7b03 Fix order:random not working on SQlite 2024-02-16 20:14:34 +00:00
Shish
5c4b7c1284 [post_tags] avoid DB call if not needed 2024-02-16 16:41:00 +00:00
Joe
2cc53a958e apply review suggestions 2024-02-16 00:04:07 +00:00
Joe
0f620da854 make block IDs unique 2024-02-16 00:04:07 +00:00
Joe
5e0c6dd427 add togglable thumbnails for post relationships 2024-02-16 00:04:07 +00:00
Shish
f033efd456 [replace] if replace gets a POST with no replacement, show the ask-for-a-replacement page, see #1034 2024-02-14 12:45:25 +00:00
Shish
4e362d816f [core] named constant for nice urls 2024-02-14 12:35:58 +00:00
Shish
9c4e306b58 [tag_edit] separate responsibility for tags, source, owner, and lock 2024-02-12 22:08:47 +00:00
Shish
bd2ca06659 [autocomplete] support aliases 2024-02-12 13:48:06 +00:00
Shish
331a724b6e [autocomplete] don't try to complete a minus by itself, see #1028 2024-02-12 13:25:06 +00:00
Shish
f3772236f9 [pools] remove dead code 2024-02-12 11:32:28 +00:00
Shish
b06cf0b1da [core] don't make_link(make_link(path)), fixes #1029 2024-02-12 11:19:24 +00:00
Shish
263c455457 more consistent use of q parameter 2024-02-12 11:12:50 +00:00
Shish
f9d06d5e7e [core] fix nicedebug 2024-02-11 23:30:39 +00:00
Shish
60a6e92231 [log_console] silence error if we can't open the tty 2024-02-11 21:27:38 +00:00
Shish
b28c3bb638 [pools] derp 2024-02-11 19:01:42 +00:00
Shish
71b98a8e8c [pools] make urls more useful 2024-02-11 18:53:31 +00:00
Shish
a62994ed3c [pools] fix order page rendering 2024-02-11 18:37:12 +00:00
Shish
ed923fd80a [pools] make sure image lists have the css class shm-image-list, fixes #1027 2024-02-11 18:37:12 +00:00
Shish
4b8a6c6c43 [autocomplete] complete negative searches, fixes #1028 2024-02-11 16:40:44 +00:00
Shish
7ee4152942 [core] organise exceptions a bit 2024-02-11 16:03:23 +00:00
Shish
278286da9f more tests 2024-02-11 14:51:55 +00:00
Shish
72474b18dc [tips] remove old link 2024-02-11 11:42:49 +00:00
Shish
8c22cb1fb6 [core] exact and named page args 2024-02-11 11:34:17 +00:00
Shish
78aaff5c8f [misc] permission updates 2024-02-10 23:32:50 +00:00
Shish
79087c51a5 [update] remove extension - unzipping new code over the top of old code is fundamentally unsafe 2024-02-10 23:15:08 +00:00
Shish
cc9de6b4b2 [core] merge method-check and permission-check into page_matches() 2024-02-10 23:03:14 +00:00
Shish
5735320a95 [extensions] have extension categories, remove versions 2024-02-10 19:42:28 +00:00
Shish
81a8587543 ImageAction->add_button + display_crud 2024-02-10 18:35:55 +00:00
Shish
7da79fe2a9 [home] search is get again 2024-02-10 16:45:41 +00:00
Shish
20a87576b9 [wiki] cleanups and security 2024-02-10 16:40:38 +00:00
Shish
7895978d93 fewer globals 2024-02-10 01:55:05 +00:00
Shish
f911d9aae7 fixes 2024-02-10 00:46:35 +00:00
Shish
cbc574db90 [core] reduce use of POST global 2024-02-10 00:23:53 +00:00
Shish
c084016b5b [setup] have ConfigSaveEvent carry its own params 2024-02-10 00:23:52 +00:00
Shish
31dc7f1ee0 [bulk] have BulkActionEvent carry its own params 2024-02-10 00:05:33 +00:00
Shish
6d1bf8eede [admin] have AdminActionEvent carry its own params 2024-02-10 00:00:49 +00:00
Shish
f95e59cbae [image info] have ImageInfoSetEvent carry its own params 2024-02-10 00:00:49 +00:00
Shish
09774416c3 fix tests 2024-02-10 00:00:02 +00:00
Shish
77b755e68b [core] reduce use of GET global 2024-02-09 16:36:57 +00:00
Shish
e9e2a01aa3 Merge branch 'branch-2.10' 2024-02-09 16:35:00 +00:00
Shish
9ba9bf0fdf fix tests 2024-02-09 14:54:37 +00:00
Shish
eebb4c53e6 [link_scan] be get/post agnostic 2024-02-09 14:46:50 +00:00
Shish
062b6d3f4a Back out "use POST when building search results, see #1026"
Original commit changeset: c44822ec47
2024-02-09 14:41:23 +00:00
Shish
43e8ff3e3e more tests 2024-02-09 14:41:20 +00:00
Shish
2e536e980c [link_scan] apply to POST 2024-02-09 11:13:40 +00:00
Shish
5f335a54c9 [link_scan] apply to POST 2024-02-09 11:13:24 +00:00
Shish
e3eeb848b7 Merge branch 'master' into branch-2.10 2024-02-09 11:01:44 +00:00