Commit graph

3306 commits

Author SHA1 Message Date
Shish
668e99b140 [autocomplete] When tag categories are enabled, show foo:bar as a completion result for bar, fixes #630 2024-01-05 12:24:50 +00:00
Shish
87368ac56a [upload] fix empty-vs-null confusion, fixes #989 2024-01-05 04:19:42 +00:00
Shish
f7025069ad [notes] remove debug border 2024-01-05 04:09:01 +00:00
Shish
4edf985a73 fmt 2024-01-05 04:06:19 +00:00
Shish
05a981d935 [notes] replace all the javascript 2024-01-05 04:02:08 +00:00
Shish
48b3de3c6e [core] fix error in error handling 2024-01-04 23:10:31 +00:00
Shish
b060accc44 [view] don't show prev/next when the user has searched for order:... - fixes #790 2024-01-04 19:21:55 +00:00
Shish
e3febc5488 [cron_uploader] minor fixes 2024-01-04 19:21:29 +00:00
Shish
d8986159fe avoid passing an array as a database parameter, fixes #820 2024-01-04 18:40:51 +00:00
Shish
53152bf9f0 [forum] use microhtml, avoid double-escaping text, fixes #835 2024-01-04 17:48:13 +00:00
Shish
889f595076 [numeric_score] use Search::get_images() to find images only when they match the visibility settings, fixes #563 2024-01-04 16:58:14 +00:00
Shish
9e1f0e792d [image_view_counter] use Search::get_images() to take ratings etc into account and only showe popular images that the user can see - fixes #864 2024-01-04 16:58:04 +00:00
Shish
f877ad0c92 [index] allow searching for multiple IDs 2024-01-04 16:52:30 +00:00
Shish
fd403c2b84 [handle_archive] add tests 2024-01-04 16:46:48 +00:00
Shish
ff04083ad5 [handle_archive] merge tags from inside the archive and the form, fixes #483 2024-01-04 15:55:48 +00:00
Shish
502d50c57d [upload] keep original post date when replacing image, fixes #903 2024-01-04 14:29:09 +00:00
Shish
f4da2e92f0 don't try blocking empty tag 2024-01-03 23:57:17 +00:00
Shish
4066e6db81 Slightly better client-side tag blocking, fixes #802 2024-01-03 23:54:03 +00:00
Shish
febaa815f7 [setup] wider forms on setup page 2024-01-03 15:51:22 +00:00
Shish
c5c972fe94 [themes] use CSS variables + CSS grid to control image grid layouts, fixes #938 2024-01-03 15:30:20 +00:00
Shish
61b28c5031 [image] set thumb width / height as CSS varibles, see #938 2024-01-03 15:08:41 +00:00
Shish
886b884bd6 [image_view_counter] give post a view so it isn't null 2024-01-03 12:02:39 +00:00
Shish
1f9de8dd5a more tests 2024-01-03 03:46:04 +00:00
Shish
2f2f8e2eda [system] add a basic test, see #986 2024-01-02 23:58:48 +00:00
Shish
145deaeea5 [system] fix sorting for system nav links, fixes #986 2024-01-02 20:44:37 +00:00
Shish
47c92894f1 test 2024-01-01 23:58:47 +00:00
Shish
20b72f5cfb [tag edit] textarea for more tagging 2024-01-01 23:32:42 +00:00
Shish
164e6df9f8 derp 2024-01-01 22:38:01 +00:00
Shish
fab4b489ac infobox css to css file, and a little wider 2024-01-01 22:27:42 +00:00
Shish
a267e502f3 fmt 2024-01-01 21:17:36 +00:00
Shish
ec567d399a log image loading errors 2024-01-01 21:16:47 +00:00
Shish
aea533b345 [file handlers] separate out display_image and display_metadata 2024-01-01 20:21:51 +00:00
Shish
8755298ee9 [static] add shm_log js function available early in page load 2024-01-01 20:15:34 +00:00
Shish
509f8eee3e [core] separate init.js for code which needs to run before page load 2024-01-01 20:03:50 +00:00
Shish
47dfc2c36e fix view js a bit 2024-01-01 17:17:27 +00:00
Shish
3acc3fa607 [css] remove more dead css, make more extension CSS be specific 2024-01-01 16:21:43 +00:00
Shish
7264683a04 [home] make sure home css only applies to home page 2024-01-01 16:10:26 +00:00
Shish
585ba7f42d [autocomplete] remove dead css 2024-01-01 16:07:59 +00:00
Shish
f611f9b1e4 [bbcode] make sure bbcode css only applies to bbcode 2024-01-01 16:05:48 +00:00
Shish
c0d9946e71 [upload] go full OOP for upload results 2024-01-01 04:30:43 +00:00
Shish
9f002b6bf7 typed arrays 2024-01-01 03:30:21 +00:00
Shish
26bf4277e0 Separate out GET and POST more explicitly
- No longer allow uploading directly via GET, that is terrible for
  security. Instead, use the GET parameters to pre-fill the upload form.
- PageRequestEvent has a `method` property that can be checked in
  extensions
2024-01-01 03:30:21 +00:00
Shish
5356008985 remove unused images 2024-01-01 03:30:21 +00:00
Shish
e3fb67661e nits 2024-01-01 03:30:21 +00:00
Shish
3462a81c28 [upload] give filesize-tracker script some polish 2024-01-01 03:30:21 +00:00
Shish
42a2d6e12f [home] show text counter even without graphical counter 2023-12-31 23:07:54 +00:00
Shish
9e9225acf3 [core] allow SHM_POST_INFO html element to accept a link parameter 2023-12-31 22:27:32 +00:00
Shish
209e9b4ab5 [tag edit] have image info link to history if they're active 2023-12-31 22:00:31 +00:00
Shish
625406e591 extra comments 2023-12-31 18:48:56 +00:00
Shish
fb49b785ef [core] don't take shortcuts when going next/prev, as some extensions (eg ratings) might want to alter search results (fixes #984) 2023-12-31 18:48:49 +00:00
Shish
b67fca51f5 [view] ViewImage -> ViewPost 2023-12-31 01:20:36 +00:00
Shish
a00b522f34 [view] more microhtml 2023-12-31 01:10:03 +00:00
Shish
9c4138399d Merge branch 'no-modernizr' 2023-12-30 18:07:59 +00:00
Shish
48557354fc [upload] less jquery 2023-12-30 14:25:03 +00:00
Shish
159efdcce6 [r34] less jquery 2023-12-30 14:20:31 +00:00
Shish
61c52c2237 [index] less jquery 2023-12-30 14:20:03 +00:00
Shish
b456b86ca0 [index] remove hack for ancient opera 2023-12-30 13:59:56 +00:00
Shish
de96ce8129 [bbcode] remove jquery 2023-12-30 13:59:27 +00:00
Shish
8121f4d6db [cbz] remove jquery 2023-12-30 13:59:16 +00:00
Shish
ab4c58e17e [view] reduce jquery 2023-12-30 13:47:23 +00:00
Shish
ccd14e38c5 [comment] reduce jquery 2023-12-30 13:47:02 +00:00
Shish
410bddd24e [handle_pixel] remove redundant cookie flags 2023-12-30 13:34:00 +00:00
Shish
2775ec073d [media] simpler video stats 2023-12-30 13:26:49 +00:00
Shish
00a49f6541 [media] set $size to "unknown" if we don't know the size 2023-12-30 13:02:31 +00:00
Shish
2a23c235ec [video] microhtml and no-jquery 2023-12-30 13:01:36 +00:00
Shish
9ed58a69a0 [setup] drop hideable setup sections
this is mostly-broken; and when it works, it is confusing; and the code
is bad
2023-12-30 04:07:40 +00:00
Shish
c2befbdf9f remove modernizr 2023-12-30 03:45:29 +00:00
Shish
8f143a6bac [view] use vanilla JS to change info box edit/view modes 2023-12-30 03:45:21 +00:00
Shish
cc69ecb74a hide site-specific extension 2023-12-30 03:21:52 +00:00
Shish
cc36f32ffc [flash] remove flash extension, browsers don't support it any more 2023-12-30 01:54:24 +00:00
Shish
65d858c1ca [autocomplete] when tags have the same number of uses, sort by name 2023-12-29 12:17:00 +00:00
Shish
d82df9d7d8 [autocomplete] optimistic client-side filtering 2023-12-29 12:04:05 +00:00
Shish
0e887175e0 [autocomplete] allow keyboard to override an idle mouse 2023-12-29 11:39:00 +00:00
Shish
ef5f1f8599 [autocomplete] min-width rather than wrapping 2023-12-29 11:37:44 +00:00
Shish
4c5af15a88 [autocomplete] default to returning 1000 results from the server instead of all of them 2023-12-29 11:10:58 +00:00
Shish
8007ed8532 [autocomplete] only render the top 100 results 2023-12-29 11:00:56 +00:00
Shish
05d137cd6d [autocomplete] set innerText rather than HTML to avoid need for HTML parsing 2023-12-29 10:47:51 +00:00
Shish
81f68f1e90 [autocomplete] remove the whole completions div instead of removing each child individually 2023-12-29 10:45:13 +00:00
Shish
6608e3c33e [autocomplete] avoid a rerender 2023-12-29 10:38:24 +00:00
Shish
15a07205fd [autocomplete] refactor getCurrentWord 2023-12-29 10:36:32 +00:00
Shish
8eb13f59e6 [autocomplete] allow right-arrow for completion 2023-12-29 10:36:32 +00:00
Shish
09051249a7 [autocomplete] force wrapping for completions 2023-12-29 10:36:32 +00:00
Shish
840b0849df [user] make email-requiredness a setup option 2023-12-27 10:07:09 +00:00
Shish
fbd6869d85 [themes/r34] be less custom 2023-12-26 13:08:50 +00:00
Shish
7617daa15c [autocomplete] rely on autocomplete-script to disable browser built-in where appropriate 2023-12-26 12:53:46 +00:00
Shish
d04ec4296b [upload] saner error reporting 2023-12-26 12:50:37 +00:00
Shish
ec85a0bd76 [autocomplete] touch too 2023-12-26 04:18:40 +00:00
Shish
a92d1ac7c5 [autocomplete] argh 2023-12-26 04:11:35 +00:00
Shish
33adf9aeff [autocomplete] don't lose focus after selecting a completion 2023-12-26 03:40:30 +00:00
Shish
0eef0cc42b [autocomplete] specify exact position 2023-12-26 03:18:31 +00:00
Shish
5f69545b65 style tweak 2023-12-26 02:57:10 +00:00
Shish
b55b5a0a0f [autocomplete] new from-scratch autocomplete implementation 2023-12-26 02:52:19 +00:00
myname
85b1e54904 Refactoring auto-complete functionality for alias editor and auto tagger 2023-12-26 02:37:47 +00:00
Shish
e5c8bf7b18 one cookie set function, for consistent samesite/path/expires 2023-12-26 02:36:51 +00:00
Github Actions
1af62eca83 Auto-merge master to main 2023-12-25 15:36:43 +00:00
Shish
6d370b0aa3 [all themes] use rems for more consistent font sizing 2023-12-25 15:33:57 +00:00
Shish
1f4d2a5b3e [user_config] remove duplicate style file 2023-12-25 10:39:37 +00:00
Github Actions
7a3e90d524 Auto-merge master to main 2023-12-24 23:19:44 +00:00
Shish
ce962cb358 [style] keep form elements wide even if in a span 2023-12-24 23:17:54 +00:00
Github Actions
61000a7742 Auto-merge master to main 2023-12-24 23:08:18 +00:00
Shish
89dfd33290 allow tags to wrap 2023-12-24 23:06:26 +00:00
Shish
2ac243d20d [core] use rawurlencode/decode consistently, deprecate caret system 2023-12-24 22:42:14 +00:00
Shish
8b31fea14e fix downvote link typo 2023-12-24 13:46:59 +00:00
Shish
0dd09b444b Merge branch 's3' 2023-12-21 21:57:07 +00:00
Shish
8015d69acf [s3] extension for adding/deleting images on an S3 compatible host 2023-12-21 21:56:48 +00:00
Shish
ad181377c8 [userclass] ghosts should still be able to read PMs 2023-12-21 21:15:46 +00:00
Shish
a491d70b0e [ratings] don't crash if rating isn't set yet 2023-12-21 15:26:53 +00:00
Shish
d489a4fa18 [user_config] remove redundant overrides 2023-12-19 12:08:39 +00:00
Shish
9e7f3cb397 Make SHM_POST_INFO more logical
Rather than having a boolean for view or edit + optional editor, use the
existence of the editor to know if a field is editable
2023-12-19 11:41:02 +00:00
Shish
095a51a4d2 [setup] column-width is standard now 2023-12-18 01:26:31 +00:00
Shish
9a56b50d84 [bulk_add_csv] align help 2023-12-16 10:42:32 +00:00
Shish
3581945e09 [comment] check null once 2023-12-15 21:25:18 +00:00
Shish
7f98412d8b cache_get_or_set function 2023-12-14 22:02:10 +00:00
Shish
a5c6f1321b refactor search a little and add much better testing 2023-12-14 17:04:16 +00:00
Shish
4c8274161f fix more search edge-cases 2023-12-14 02:13:01 +00:00
Shish
e114057dfe PHPUnit 10 (and other bumps) 2023-12-14 00:25:32 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
Shish
848797030e nits 2023-11-07 21:01:03 +00:00
myname
e498eb87c7 Fix pool Post/List view 2023-11-06 06:47:59 -06:00
myname
5b2666164f Create function to search pool by name 2023-11-05 23:50:33 -06:00
myname
40244138f3 Remove redundant button
Fix parent-id type issue
2023-11-05 09:40:12 -06:00
Shish
f0e8bd9ee1 [ext/reverse_search_links] apply style directly to the link, no matter where it is positioned 2023-09-06 12:37:13 +01:00
Shish
38af9eb0c4 [ext/reverse_search_links] remove custom position options, for now 2023-09-06 12:37:13 +01:00
Joe
03e24a4c92 fully remove IQDB support 2023-09-06 12:37:13 +01:00
Joe
7fcb4078dd add reverse image search links extension 2023-09-06 12:37:13 +01:00
Shish
867fdec284 [pools] remove mysql-specific bits 2023-08-18 22:27:42 +01:00
Shish
7a4f033cce split installer CSS into its own file, since we only use it in one place 2023-08-18 21:51:01 +01:00
Shish
43c7be0e89 dedicated search_link() function for generating links to search results, see #936 2023-08-18 13:52:03 +01:00
Shish
23e36b4349 only link to post/list when you actually want post/list, if you want just a default page, leave it empty 2023-08-18 12:45:56 +01:00
Shish
7f048ff6f2 [ratings] link the rating to the appropriate search, fixes #936 2023-08-18 12:45:27 +01:00
Shish
5879184895 SHM_POST_INFO element for doing info box elements in a standard way 2023-08-17 18:21:28 +01:00
Shish
aa8de9d420 the php string type is lowercase 2023-08-17 18:20:46 +01:00
Github Actions
9c0a6ebec3 Auto-merge master to main 2023-08-16 14:54:27 +00:00
Shish
f040709a76 proper support for html in usernav 2023-08-16 15:52:14 +01:00
Luana
3179cc1969 format 2023-08-16 15:40:08 +01:00
Luana
498d71ab45 index help html 2023-08-16 15:40:08 +01:00
Luana
b29d536e19 more microhtml 2023-08-16 15:40:08 +01:00
Luana
a5e585d991 SHM_A 2023-08-16 15:40:08 +01:00
Luana
ff237fc00c pools theme fully MicroHTML 2023-08-16 15:40:08 +01:00
Luana
0978ef99e3 MicroHTML on pools ext 2023-08-16 15:40:08 +01:00
Luana
8202367eaa build_selector and make_form_microhtml as SHM_ functions 2023-08-16 15:40:08 +01:00
Luana
d47df46a7f pool adder MicroHTML 2023-07-03 16:35:43 +01:00
Luana
98aca16e73 format 2023-07-03 16:35:43 +01:00
Luana
34b608c4b7 ratings ext fully MicroHTML 2023-07-03 16:35:43 +01:00
Luana
91710f4c59 More MicroHTML 2023-07-03 16:35:43 +01:00
Luana
84d232ca0d build_selector returns HTMLElement 2023-07-03 16:35:43 +01:00
Luana
ca88b28b1e use MicroHTML 2023-07-03 16:35:43 +01:00
Luana
9cbddd629e oops 2023-07-03 16:35:43 +01:00
Luana
9038afc47a another build_selector use case 2023-07-03 16:35:43 +01:00
Luana
8db0086d7a standard HTML select code 2023-07-03 16:35:43 +01:00
Shish
2b26908624 force searches to always search /post/list, fixes #930 2023-07-03 15:34:28 +01:00
Shish
f7f0c11ee8 [danbooru api] ignore star searches 2023-07-03 11:40:15 +01:00
Shish
3c18ebd40c use Tag/SourceSetEvent for mass editing, to ensure the standard rules are followed 2023-07-03 10:58:15 +01:00
Shish
0f162fe32a format 2023-06-28 13:09:02 +00:00
Shish
c813700d98 case-insensitive message search for postgres 2023-06-28 13:09:02 +00:00
Shish
8fb6fd5f54 stricter nulls 2023-06-27 17:45:35 +01:00
Shish
eca49bfc94 don't cache data that mostly won't be used 2023-06-27 17:30:40 +01:00
Shish
aae902e44d an array is an array 2023-06-27 17:30:09 +01:00
Shish
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
Shish
e62cdb0979 offset can't be null, and named args 2023-06-27 15:32:39 +01:00
Shish
928c9d95d1 Blocks can accept HTMLElements directly 2023-06-27 11:59:39 +01:00
Shish
8ebd8bf287 format 2023-06-27 11:45:27 +01:00
Shish
38edf739fc avoid treating html as strings 2023-06-27 11:44:46 +01:00
NottyNoz
56a60a9ec1 upload form update 2023-06-27 11:41:53 +01:00
NottyNoz
909e54b1e2 fixes 2023-06-27 11:41:47 +01:00
NottyNoz
cf6d994de4 . 2023-06-27 11:37:57 +01:00
NottyNoz
cf9837a776 bulk tagit fix 2023-06-27 11:33:42 +01:00
Shish
f18fb336a6 FFS, MySQL - can't set a default on a text column, can't add a not-null column... 2023-06-26 15:11:28 +01:00
Shish
ef52d572f1 default empty userclass for blocks 2023-06-26 14:46:11 +01:00
Luana
d1da3504f1 show blocks based on user class 2023-06-26 08:59:25 +01:00
Luana
4e6ca4d184 option to hide post counters (home) 2023-06-26 08:55:19 +01:00
Shish
8f70075c45 don't autocomplete for tag case fixing 2023-06-25 22:00:04 +00:00
Shish
5c4a9ea2ef create new transaction 2023-06-25 21:46:51 +00:00
Shish
dd48681524 commit work-in-progress tag replacements 2023-06-25 21:22:00 +00:00
Shish
33f32f7b22 Revert "INSERT ... RETURNING is well-supported now" - mysql doesn't...
This reverts commit 633d5c5348.
2023-06-25 20:31:11 +00:00
Shish
1f908bdd05 use array_merge / array_diff rather than for loops 2023-06-25 20:26:51 +00:00
Shish
633d5c5348 INSERT ... RETURNING is well-supported now 2023-06-25 20:25:09 +00:00
Shish
a94ead8c04
Merge pull request #922 from luanalatte/author-change
update authors
2023-06-25 21:23:52 +01:00
Luana
7d78bbaad4 update authors 2023-06-25 16:14:52 -03:00
Shish
a03840c60e
Merge pull request #921 from luanalatte/approval-bypass
Approval bypass
2023-06-25 19:54:07 +01:00
Luana
65e6bae1f4 Remove bypass aproval config 2023-06-25 15:33:28 -03:00
Shish
e66acefa53 extra tracing for bulk tag edit 2023-06-25 14:42:24 +00:00
Shish
c5e2353447 manual timeouts 2023-06-25 14:19:52 +01:00
Shish
b85e7ec209 manually control timeout, to dump trace data after hitting the limit 2023-06-25 13:40:57 +01:00
Shish
1d4c43f33b no autocomplete for r34 2023-06-25 10:17:56 +00:00
Shish
4117678d72 "People seem to be madder about robots than ponies nowadays" 2023-06-25 10:02:02 +00:00
Shish
9adee430ca fade out permissions which are inherited from the parent userclass 2023-06-25 00:26:34 +01:00
Shish
162aaccb62 Display documentation for permissions 2023-06-24 21:24:25 +01:00
Shish
ec854036e0 format 2023-06-24 19:35:03 +01:00
Shish
e51c6bed20 show a table of user classes, see #921 2023-06-24 12:10:28 +00:00
Luana
76e28b9a14 format 2023-06-14 05:15:14 -03:00
Luana
6cbc12e427 Approval bypass 2023-06-14 04:48:38 -03:00
Shish
133616e508 Autocomplete tags for anything with class=autocomplete_tags
Not all search boxes are tag-search boxes

If somebody doesn't want autocompleted tags, then don't use
class=autocomplete_tags?
2023-05-25 14:04:13 +01:00
Shish
85a5ed2dd6
Merge pull request #907 from tegaki-tegaki/feature/check_mime_on_upload
implement MIME checks on upload
2023-05-25 13:31:51 +01:00
Shish
12f0bc3a81 Allow SearchTermParseEvent to have a bit more control over results
Rather than "add querylet or do nothing", moving more code into the
event means that event handlers are able to add a positive or negative
querylet, add a positive or negative tag, or do nothing

This means that events can respond to the `null` search term by adding a
tag, which would be useful for #917
2023-05-25 12:59:25 +01:00
Shish
4ba3af7926 version bumps 2023-05-25 12:58:41 +01:00
Shish
b5b7fe7d9e allow admin to bypass user creation block 2023-04-03 22:14:51 +00:00
Shish
9b463ce674 text 2023-03-30 21:27:12 +00:00
Shish
33e1e20beb [static] also avoid robots getting stuck on history pages 2023-03-30 19:43:14 +00:00
Shish
7d6615c298 trim 2023-03-30 19:40:17 +00:00
Shish
fddc1fd453 [img] allow CLI image deletion 2023-03-30 19:40:17 +00:00
Shish
7e017ded3b format 2023-03-30 20:37:06 +01:00
Shish
46f75f7b34 [static] allow extensions to customise robots.txt 2023-03-30 20:36:58 +01:00
Shish
eea4866e27
Merge pull request #909 from yls4/master
Bulk Actions for setting a chain of parent child relationships in the…
2023-03-29 00:04:15 +01:00
myname
f43ed0ee71 Removing unnecessary lines, fixing namespace 2023-03-27 14:32:41 -05:00
myname
0b5f6c310d Adding namespace 2023-03-27 14:26:39 -05:00
NottyNoz
a98560b061 tagit fix and ui 2023-03-27 16:45:59 +01:00
NottyNoz
4253d357af board config cleanup 2023-03-27 16:45:59 +01:00
NottyNoz
c4317cab0d documentation cleanup 2023-03-27 16:45:59 +01:00
NottyNoz
e7bc6c733a . 2023-03-27 16:45:59 +01:00
yls4
d6a0d0cb8d
Merge pull request #1 from shish/master
Updating to current version
2023-03-26 17:09:08 -05:00
myname
a352a02b2e Bulk Actions for setting a chain of parent child relationships in the order of images selected.
Does not support setting multiple children to one parent in bulk.
2023-03-26 17:01:46 -05:00
Tegaki
2882bffe35 implement MIME checks on upload 2023-03-22 21:46:15 +01:00
NottyNoz
0c1fc9b85e . 2023-03-16 22:34:52 -04:00
NottyNoz
48c3eae6b9 fixes 2023-03-16 22:29:45 -04:00
Shish
6bf7d63a29 [grahpql] update_post_metadata 2023-03-08 22:31:13 +00:00
Shish
7ced11fba8 add a separate upload API for graphql clients 2023-02-24 22:50:42 +00:00
Shish
6d41012f50 use permissions for voting 2023-02-24 22:49:10 +00:00
Shish
36951db563 use DataUploadEvent fields rather than required metadata 2023-02-24 22:42:03 +00:00
Shish
cfa7434d8d user creation 2023-02-24 21:12:58 +00:00
Shish
95b081e9a3 put constructor data in constructor 2023-02-24 21:12:00 +00:00
Shish
077a5e7727 fix php8.2 warnings 2023-02-19 11:24:33 +00:00
Shish
7d7d555671 fmt 2023-02-19 11:13:51 +00:00
Shish
fa95ccea23 Don't crash if /dev/tty is missing 2023-02-17 11:31:34 +00:00
Shish
e551e74741 logic 2023-02-16 20:29:24 +00:00
Shish
0f69c9de45 if we're already using stdout for something else, don't log to stdout 2023-02-16 20:28:27 +00:00
Shish
743f4d8b5a add log_console 2023-02-16 20:25:47 +00:00
Shish
b5bbff531c set defaults for log_net / log_logstash 2023-02-16 19:30:24 +00:00
Shish
4030d8bee7 default article date 2023-02-15 21:59:32 +00:00
Shish
ae8d8033b9 safer cache keys 2023-02-14 01:19:28 +00:00
Shish
3040c1d5b5 argh 2023-02-14 01:05:22 +00:00
Shish
1da0f427e6 my_vote field 2023-02-13 22:44:08 +00:00
Shish
301a5d3027 updates 2023-02-13 22:28:50 +00:00
Shish
03cf09937b fixes 2023-02-12 12:27:37 +00:00
Shish
817a2ff2f4 can't set timeout when the db isn't connected 2023-02-08 01:33:47 +00:00
Shish
3b89acc458 workaround 2023-02-08 01:05:31 +00:00
Shish
7d47b452df var_export is nicer than print_r 2023-02-08 00:54:13 +00:00
Shish
648424d5c5 static function for mutation 2023-02-08 00:18:10 +00:00
Shish
ef8e25d6f2 Add options for CORS 2023-02-07 14:18:21 +00:00
Shish
fadadc0efd Use HTTP/1.1 2023-02-07 13:56:44 +00:00
Shish
ea29e7c954 more fields 2023-02-07 13:27:20 +00:00
Shish
6d301b5ec4 gqla updates 2023-02-05 15:56:06 +00:00
Shish
78dbcb8626 comments are non-null 2023-02-04 21:08:14 +00:00
Shish
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +00:00
Shish
8492ae9ea4 graphqlitism 2023-02-04 18:55:19 +00:00
Shish
886319d88b numeric score API 2023-02-04 18:00:23 +00:00
Shish
300586d179 pm graphql 2023-02-04 14:47:26 +00:00
Shish
f8e3a6e9e7 smaller PM tests 2023-02-04 14:16:32 +00:00
Shish
180f21e29e Use graphqlite-like API 2023-02-04 13:29:21 +00:00
Shish
fcfeed8413 fix l2 errors 2023-02-03 20:03:04 +00:00
Shish
ff71a89948 fixes 2023-02-03 16:58:16 +00:00
Shish
54e2ca21ec phpstan 2023-02-03 16:44:16 +00:00
Shish
8219cd7686 assert something 2023-02-02 16:52:55 +00:00
Shish
9721dc8050 format 2023-02-02 16:50:09 +00:00
Shish
ab874cffd3 Let's not implement our own cache abstraction layer 2023-02-02 16:49:41 +00:00
Shish
06cba13b8c set featured_id to 0 if the featured image is deleted 2023-02-02 16:40:03 +00:00
Shish
708e102338 Have shimmie's global cache object implement PSR-16 2023-02-02 16:04:35 +00:00
Shish
e79470d974 experimental graphql api 2023-02-01 21:57:18 +00:00
Shish
39e29a883a iso8601 2023-02-01 19:55:41 +00:00
Shish
22fb8b3b3c only set source if needed 2023-01-30 23:41:41 +00:00
Shish
fe72ba25d0 set source during upload using SourceSetEvent 2023-01-30 23:31:20 +00:00
Shish
120a5273e5 Post ID in navigation slot 2023-01-30 21:35:38 +00:00
Shish
e629d3d5ca click to copy class 2023-01-30 21:35:12 +00:00
Shish
1037c30dfe Allow setting source to blank 2023-01-30 20:53:58 +00:00
Shish
9b6f40e06e updates 2023-01-11 18:39:46 +00:00
Shish
38609133b1 [report_image] force wrapping 2023-01-11 18:38:18 +00:00
Shish
ee1a3f933b argh 2023-01-11 18:35:15 +00:00
Shish
1f48c5ba19 remove some unused bits 2023-01-11 18:28:43 +00:00
Shish
1d563cf87f argh some more 2023-01-11 13:43:43 +00:00
Shish
2a18322dd5 god damn it php 2023-01-11 13:27:57 +00:00
Shish
8e1b371e83 argh 2023-01-11 12:13:04 +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
f91daba264 count less 2023-01-11 11:41:13 +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
47ab0eda0a Jesus heckin' christ PHP is awful
PHP-CS-Fixer 3.12.0 on my laptop gives different results to PHP-CS-Fixer
3.12.0 in github...
2022-10-27 17:29:24 +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
0be8e835ef avoid crashing in cron_upload if API key isn't set, fixes #881 2022-10-27 17:15:48 +01:00
myname
ccb78e272c Allows appending new tags to existing ones in auto_tagger 2022-10-07 18:41:53 -05:00
myname
3154a833f7 Add Post/List view button to pools, for easier access to functions in the post/list extension 2022-10-07 15:33:24 -05:00
myname
d52d4a6899 Add search by pool id 2022-10-07 15:19:50 -05:00
myname
531b903830 Pool - Reverse function 2022-10-06 17:34:04 -05:00
Shish
f57dc61cb7 only hide images if image approbals are enabled 2022-07-10 01:40:04 +01:00
Shish
e97198aa10 format 2022-07-09 23:37:43 +01:00
Shish
476808db4b
Merge pull request #863 from jellykells/jellykells/owner_view_unapproved
Allow image owner to view their unapproved images
2022-07-08 22:20:52 +01:00
Shish
606c1fdedc
Merge pull request #878 from friends-of-the-core/autocomplete-in-more-places
Autocomplete in more places
2022-07-08 22:10:54 +01:00
Shish
25e5fc9c17
Merge pull request #860 from yls4/master
Fixing home page pool link and fixing Notes not displaying due to css
2022-07-08 22:10:38 +01:00
Shish
b859e1fc60
Merge pull request #869 from thoughever/reverse_proxy
X-Real-IP support and Varnish PURGE config options
2022-05-01 10:42:54 +01:00
Shish
3f553501f9
Merge pull request #876 from friends-of-the-core/preserve-posted-date-on-rotate
Preserve posted date on rotate
2022-05-01 10:24:48 +01:00
Shish
895207bf6b
Merge pull request #877 from friends-of-the-core/reduced-video-thumbnail-memory-usage
Scale thumbnails in ffmpeg to avoid excessive memory use on high-resolution videos
2022-05-01 10:19:26 +01:00
Jessica Stokes
d4c45112ee Autocomplete in bulk tag editor, too 2022-04-29 11:44:42 -07:00
Jessica Stokes
335b8a94c4 Allow autocomplete for tagging in addition to tag searching 2022-04-29 11:44:42 -07:00
Jessica Stokes
891c69d94d Scale thumbnails in ffmpeg to avoid excessive memory use on UHD videos 2022-04-29 11:33:22 -07:00
Jessica Stokes
5c79e05f08 Inherit post date when rotating images 2022-04-29 11:29:04 -07:00
Jessica Stokes
dfaf9b5a2f Add order:favorites to autocomplete 2022-04-29 11:14:12 -07:00
Jessica Stokes
4b086a8c70 Allow ordering by favorites in searches 2022-04-29 11:12:00 -07:00
thoughever
f15407bc75 X-Real-IP support and Varnish PURGE config options
X-Real-IP for core functionality

Global config define REVERSE_PROXY_X_HEADERS

Config host and port for varnish PURGE

config option to specify PURGE protocol

exception in curl purge now shows error code

ipv6 x-real-ip addresses are now validated properly

X-Forwarded-Proto enabled by define
2022-01-20 22:25:22 +00:00