Shish
a9e4c4bdb3
use POST when building search results, see #1026
2024-02-09 11:00:18 +00:00
Shish
c44822ec47
use POST when building search results, see #1026
2024-02-09 10:50:07 +00:00
Shish
4974359846
Merge branch 'branch-2.10'
2024-02-08 00:41:56 +00:00
Shish
c6e65a21f9
[setup] more specific niceurl test
2024-02-07 22:27:47 +00:00
Shish
9f9ee49e02
[setup] make niceurl testing more accurate, see #1024
2024-02-07 20:44:39 +00:00
Shish
db902d6d26
[r34] remove custom parts
2024-02-06 20:53:55 +00:00
Shish
5059520935
a little clarity
2024-02-05 23:16:31 +00:00
Shish
88530f5f67
[ext manager] interpret 'off' as 'turn off extension'
2024-02-05 23:01:22 +00:00
Shish
5d9090cd52
[comment] handle people posting junk
2024-02-05 13:27:40 +00:00
Shish
c71fce0628
home page lacks base-href
2024-02-04 00:33:40 +00:00
Shish
51afc014a2
home page lacks base-href
2024-02-04 00:33:22 +00:00
Shish
74889c4c94
[autocomplete] allow enter to do the default thing
2024-02-04 00:24:34 +00:00
Shish
e5828b0810
base_href as a data attr
2024-01-28 21:24:21 +00:00
Shish
b542b87f91
[image] we might be generating a link to an image which has not yet been posted
2024-01-22 22:37:47 +00:00
Shish
cd79e4879d
[autocomplete] check for completions with and without colons, fixes #1018
2024-01-21 10:51:43 +00:00
Shish
37ceebdabd
[autocomplete] more tests
2024-01-21 10:41:25 +00:00
Shish
82a3ce25c2
level 7 typing
2024-01-20 23:27:34 +00:00
Shish
8bd00f60c1
[core] kill another secret global
2024-01-20 19:57:26 +00:00
Shish
05199c13cc
[core] kill a secret global
2024-01-20 19:52:18 +00:00
Shish
8b797a9a31
[tests] more strictness
2024-01-20 19:47:27 +00:00
Shish
b60c3fe362
[core] a load more type hints, and fix bugs revealed by type hints
2024-01-20 14:11:00 +00:00
Shish
373be4e05c
avoid stringy class names
2024-01-20 01:03:02 +00:00
Shish
12ca708be8
submit form when enter is pressed in an autocomplete text area
2024-01-19 19:11:18 +00:00
Shish
46d11a0be5
smaller gap between image controls
2024-01-19 19:07:03 +00:00
Shish
dbb8bb8280
have image admin controls block use microhtml consistently
2024-01-19 18:57:02 +00:00
Shish
2d6a318a3b
type fix
2024-01-19 18:38:18 +00:00
Shish
448e270da8
more typing
2024-01-19 18:33:32 +00:00
Shish
6bde7457e7
wtf php, array_filter() will return an array with gaps in it...
2024-01-19 18:01:50 +00:00
Shish
2a561392d0
[sitemap] add tests, and big rewrite to pass tests, fixes #1016
2024-01-18 19:47:48 +00:00
Shish
cc9cd396ad
[r34] remove dead code
2024-01-18 15:56:14 +00:00
Shish
deb7c2adec
[bulk actions] remove timeout before doing bulk actions
2024-01-18 15:31:11 +00:00
Shish
376b2c6ac6
[tag_list] make logarithms consistent across databases
2024-01-18 15:31:10 +00:00
Shish
b60646e98d
[tag_list] ln(x) is 10x faster than log(2.7, x)
2024-01-18 15:31:10 +00:00
Shish
9ddd43d720
[bulk_add_csv] add each image in a transaction, fixes #1015
2024-01-17 22:54:43 +00:00
Shish
2667d635ad
[bulk_add_csv] better docs, see #1015
2024-01-17 22:42:52 +00:00
Shish
d8a7ccd894
[tag_edit] only add https:// if there is no protocol, see #1015
2024-01-17 22:42:32 +00:00
Shish
50e0d74ee8
[link scan] there is no theme
2024-01-17 22:41:55 +00:00
Shish
d999198fb6
remove dead bit
2024-01-16 17:03:39 +00:00
Shish
6a0c5c4e2d
more docs
2024-01-16 13:29:29 +00:00
Shish
04471a2875
[link scan] handle missing posts
2024-01-16 12:47:42 +00:00
Shish
a59dddd98f
fmt
2024-01-16 12:16:18 +00:00
Shish
b1940ca919
[link scan] intercept search box inputs
2024-01-16 12:08:03 +00:00
Shish
5a9e6f2638
fmt
2024-01-16 11:05:10 +00:00
Shish
8e5c64e834
[link scan] new ext
2024-01-16 10:56:53 +00:00
Shish
ea1867f92d
die louder if CSRF is missing for admin actions
2024-01-16 10:55:03 +00:00
Shish
83f3ae99eb
[s3] allow CLI sync to limit number of itesm
2024-01-16 01:25:48 +00:00
Shish
30c564d317
[s3] allow sync'ing more posts in one go
2024-01-16 00:44:17 +00:00
Shish
5cc1a6febe
[s3] button for manual sync, fixes #998
2024-01-16 00:35:17 +00:00
Shish
22cf7914a6
[pools] add lastupdated column if needed, fixes #1013
2024-01-15 23:23:33 +00:00
Shish
641821f6f1
databases??
2024-01-15 22:56:06 +00:00
Shish
5d120cd0c8
[tests] put tests inside transactions
2024-01-15 22:50:43 +00:00
Shish
2a494504f3
[core] all image columns should be statically or dynamically defined - nothing undefined
2024-01-15 18:52:07 +00:00
Shish
fb034af699
[core] int_props + bool_props -> prop_types
2024-01-15 18:52:07 +00:00
Shish
bbea373c19
[core] use ArrayAccess rather than dynamic props for extra columns on the images table
2024-01-15 18:52:07 +00:00
Shish
434455b836
[tests] more voiding of tests
2024-01-15 14:31:51 +00:00
Shish
a1f22ef67c
[themes] void return type for display_* functions
2024-01-15 14:23:12 +00:00
Shish
4e789040a0
[core] don't pass strings to functions that want ints
2024-01-15 14:21:33 +00:00
Shish
7b7ec9c83f
[tests] phpstan version bump
2024-01-15 14:08:12 +00:00
Shish
8439e696dc
[wiki] remove old and broken wiki page diffing
2024-01-15 14:08:12 +00:00
Shish
802ff336a2
[core,tests] even more types
2024-01-15 14:08:11 +00:00
Shish
2688843d80
more types
2024-01-15 13:08:59 +00:00
Shish
955d787fa3
[reverse search links] remove dead code
2024-01-15 12:24:49 +00:00
Shish
646f95f91a
[core] bump microcrud version, add types
2024-01-15 12:14:41 +00:00
Shish
bb9ab613ce
[everything] bulk set event handler return types to void
2024-01-15 11:52:35 +00:00
Shish
985d34aedd
[resize] specifically be int, not float
2024-01-15 11:51:58 +00:00
Shish
013ae41f89
[tag_categories] fix return type for page_update(), fixes #918
2024-01-15 10:21:30 +00:00
Shish
1b6d8540a5
[autocomplete] don't show tags with 0 uses, see #1012
2024-01-14 16:45:09 +00:00
Shish
2af4a83fd1
[view] give input box a little extra buffer height to account for padding, fixes #1009
2024-01-13 13:28:19 +00:00
Shish
11a0ba27e9
[js] have shm_log specifically use a section, like the server-side functions
2024-01-13 13:25:58 +00:00
Shish
8308a21cb1
[nav_timing] client-side timing as an extension
2024-01-12 12:37:33 +00:00
Shish
4b8bc82ee4
[tag_edit] abort on error rather than only applying some tags
2024-01-11 10:28:41 +00:00
Shish
36388aa7a1
schema-dump doesn't need any args
2024-01-11 01:03:19 +00:00
Shish
ec35cace6a
[core] replace quarter-arsed CLI interface with Symfony Console
2024-01-11 01:01:39 +00:00
Shish
69e9201cc6
[s3] no need for static
2024-01-10 18:41:06 +00:00
Shish
2c77a4e6a1
[tag_edit] mass edit CLI
2024-01-10 18:01:16 +00:00
Shish
219096d10b
show queue length
2024-01-10 17:25:02 +00:00
Shish
e754ec89a7
[tests] cleaner teardown
2024-01-10 08:51:56 +00:00
Shish
7e7e9ec049
[rating] teardown tests properly
2024-01-09 22:47:10 +00:00
Shish
28a9724ffa
fmt
2024-01-09 22:13:56 +00:00
Shish
7b9201cb42
[core] Database::with_savepoint()
2024-01-09 21:59:24 +00:00
Shish
b2f67363a1
[core] roll back database transaction when upload fails - fixes #1007
2024-01-09 21:01:10 +00:00
Shish
4d011fa5e5
[core] remove add_image, send_event(DataUpload) is much clearer as to what it's actually doing
2024-01-09 19:24:56 +00:00
Shish
c16aeca4d8
[handle_pixel] don't fail silently when imagemagick fails - see #1006
2024-01-09 17:59:41 +00:00
Shish
d986d0d378
[view] tag entry should grow as-needed, but not shrink - fixes #1005
2024-01-09 17:38:55 +00:00
Shish
e95c47c547
[s3] when there are many actions in a single page request, queue them instead of timing out
2024-01-09 17:23:34 +00:00
Shish
edb8ec33fa
more consistency for 'old' and 'new' terminology
2024-01-09 15:27:02 +00:00
Shish
81ec577b32
[core] only move file to warehouse if all the rest of the upload is ok, fixes #1004
2024-01-09 04:49:19 +00:00
Shish
3c90597ca8
[core] inline some single-use functions
2024-01-09 04:22:59 +00:00
Shish
03d4045117
[core] also simplify uploading by having merge handled as a special case
2024-01-09 04:07:32 +00:00
Shish
4c2d6d9ca4
[replace] split upload and replace completely, fixes #1001
2024-01-09 03:38:51 +00:00
Shish
a28fb66b91
[core] have ImageReplace replace image->file with a new file, not replace a whole Image object
2024-01-09 02:33:14 +00:00
Shish
267e176658
[core] have extensions react to ImageAdditionEvent, instead of sending ImageAddition and other events in parallel
2024-01-09 01:32:34 +00:00
Shish
0762da54eb
[core] have ThumbnailGenerationEvent work on an Image
2024-01-09 01:03:46 +00:00
Shish
01261b0fa6
[regen_thumb] use common image search function
2024-01-09 00:40:37 +00:00
Shish
14646e2bb9
[regen_thumb] use common deltree function
2024-01-09 00:37:02 +00:00
Shish
6c2c04c602
[r34] remove dead code
2024-01-09 00:34:32 +00:00
Shish
8b18b73f94
fmt
2024-01-08 22:08:10 +00:00
Shish
70882b46fd
don't put white-on-yellow
2024-01-08 22:08:06 +00:00
Shish
93ce51e189
[styles] have input font-size be equal to text font-size, see #999
2024-01-08 21:33:16 +00:00
Shish
5a05f58792
[style] sortable is no longer a thing
2024-01-08 21:16:45 +00:00
Shish
a50b103a4a
[themes] zebra tables are also forms
2024-01-08 21:03:04 +00:00
Shish
e564646dd8
[upload] upload form is a form
2024-01-08 20:41:03 +00:00
Shish
8237a22029
-:
2024-01-08 20:12:45 +00:00
Shish
9d80b1470c
[upload] cleaner upload size counters
2024-01-08 19:38:23 +00:00
Shish
29fde1388a
[core] only show decimal for KB/MB/etc less than 10
2024-01-08 19:35:25 +00:00
Shish
7135eca9c2
[themes] remove dead styles
2024-01-08 19:15:31 +00:00
Shish
5fccbc5ad5
[autocomplete] disable spellcheck from also trying to autocomplete
2024-01-08 19:14:42 +00:00
Shish
ae327f5a2a
[autocomplete] use the same font size as the surrounding text, see #999
2024-01-08 18:56:46 +00:00
Shish
73eb3c96d4
[tag_edit] don't spellcheck tags
2024-01-08 18:56:03 +00:00
Shish
4852bb0704
[autocomplete] be consistently aligned, see #999
2024-01-07 23:48:42 +00:00
Shish
8a82a3348f
[autocomplete+home] don't limit the size of the completion list while on the home page, see #999
2024-01-07 22:28:37 +00:00
Shish
e0f5ce21a2
[autocomplete] don't allow completions to overflow the box, or for the box to overflow the screen, see #999
2024-01-07 22:14:13 +00:00
Shish
ad4d9c74d4
[autocomplete] no text-wrapping in the middle of completions, see #999
2024-01-07 22:06:46 +00:00
Shish
94ee6e4bc3
[user] admins are exempt from the email requirement, fixes #996
2024-01-07 17:33:39 +00:00
Shish
77e88f6f54
[ratings/search] remove implicit 'rating:*' from image counting process, hopefully fixes #991
2024-01-07 04:17:22 +00:00
Shish
c79751007c
[rating] fix description of user config
2024-01-07 03:48:28 +00:00
Shish
e401dd9e52
[s3] allow sync to skip files that exist
2024-01-06 22:57:00 +00:00
Shish
b4f61efbfc
[s3] manual re-sync button
2024-01-06 22:26:22 +00:00
Shish
3dbdfac48c
fix
2024-01-06 21:44:30 +00:00
Shish
6a2d3f49e2
typed return arrays too
2024-01-06 21:34:30 +00:00
Shish
02da92403a
fmt
2024-01-06 21:28:06 +00:00
Shish
b5ad2a6bab
[blotter] fix doc
2024-01-06 21:27:34 +00:00
Shish
9d205ad2d0
[pm_triggers] remove ext that never went anywhere
2024-01-06 21:22:01 +00:00
Shish
cff163591c
[hellban] merge with user ext
2024-01-06 21:20:38 +00:00
Shish
4c1ceb5b02
[shimmie_api] remove unstable and abandoned extension
2024-01-06 21:13:44 +00:00
Shish
d16f58ec7f
[ext_manager] don't disable hidden extensions
2024-01-06 21:04:12 +00:00
Shish
886a645a2c
[ext_manager] no need to clear cached extensions - the cache key changes when the enabled list changes
2024-01-06 20:55:21 +00:00
Shish
ebbcc9fab5
[et] short date
2024-01-06 20:45:32 +00:00
Shish
e57264fd95
[ci] more specific version in /system_info, less specific version in footer
2024-01-06 19:32:33 +00:00
Shish
4df1e935b4
autosize tag entry
2024-01-06 14:09:55 +00:00
Shish
948f3f1bd8
min-size for tag entry
2024-01-06 14:03:46 +00:00
Shish
26630a4e3b
fmt
2024-01-05 15:32:07 +00:00
Shish
4b954b2e68
[cron_uploader] don't try to upload .listing files, see #972
2024-01-05 15:31:21 +00:00
Shish
af309601f5
[upload] separate out DataUpload, ImageAddition, and TagSet/SourceSet/LockSet/etc
2024-01-05 15:00:07 +00:00
Shish
aa494efe45
[image_hash_ban] stop putting HTML into exception text, fixes #990
2024-01-05 13:12:44 +00:00
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