Commit graph

6385 commits

Author SHA1 Message Date
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
Shish
a77c31b2cb [docker] accept MAX_FILE_UPLOADS as a docker environment variable 2024-02-21 12:58:24 +00:00
Shish
b407bad7c5 [core] give admin all permissions 2024-02-21 12:55:39 +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
Noz
100d86dfbd fix installer
form POSTs to the wrong location if the booru is in a sub directory
2024-02-21 10:15:18 +00:00
Noz
343a858898 fix static file paths 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