d69b30d83f
Replace deprecated Twig 'filter' with 'apply'
...
Deprecated in Twig 2.9
2024-01-30 10:05:43 -01:00
419829f8aa
Check files exist before deleting when rebuilding
...
This is most likely an effect of the @ operator changes in PHP 8.0.0
2024-01-30 10:05:43 -01:00
c228c5a7bb
Unset $matches['token'] after use
...
Causes a parameter error in later versions of PHP
2024-01-30 10:05:43 -01:00
98ee082ea3
Handle empty page key index properly
...
Necessary for later versions of PHP
2024-01-30 10:05:43 -01:00
e307afd09f
Prevent filling debug parameter when debug is turned off in config
...
The debug parameter can lead to memory exhaustion errors for some errors, this prevents it happening when debug output is disabled
2024-01-30 10:05:43 -01:00
7ba421ff24
Defer youtube.js
2024-01-30 10:05:43 -01:00
37b3a9a9ab
Add labels to form input elements
2024-01-30 10:05:43 -01:00
71d9463e47
Add filename as alt text to images
2024-01-30 10:05:43 -01:00
745f1cbb23
Fix obsoleted getJSON(...).error function
2024-01-30 10:05:43 -01:00
c7c54a3d3e
Add frame around forced anon options
2024-01-30 10:05:43 -01:00
47123a0f89
Remove some desktop CSS
...
literally 'i think it's ugly'
2024-01-30 10:05:43 -01:00
1cbe304f13
Fix titles on Rand and Semirand themes
2024-01-30 10:05:43 -01:00
03660bfa24
Reduce padding after forms
2024-01-30 10:05:43 -01:00
15d85a4254
Reset auto-reload.js countdown after post
2024-01-30 10:05:43 -01:00
0e332ca2fa
Remove redundant Posting Mode banner
...
Also replace JS code that uses them to determine the page type.
2024-01-30 10:05:42 -01:00
4b5da78aca
Change layout of view IP page
...
This includes reducing the field size for notes and telegrams. and moving logs and actions above the post list (as it can become very long), excluding warnings and bans in order to discourage banning IPs instead of the infringing post.
2024-01-30 10:05:42 -01:00
5c76af1603
Don't sort Random order in catalog
2024-01-30 10:05:42 -01:00
17b915ad7f
Add class to overboard show/hide board buttons
...
This prevents false-positive h2 tags being given the show/hide button, such as the h2 tags in the Options menu
2024-01-30 10:05:42 -01:00
d61e98524c
Update Tor blocklist
2024-01-30 10:05:42 -01:00
fc3564bc10
Change order of static page markup methods
...
Markdown doesn't appear to be enabled without extensions, so it's not good to have it first.
2024-01-30 10:05:42 -01:00
396f184ea8
Extract footer into a template
2024-01-30 10:05:42 -01:00
c1a2c9cf2f
Enable configurations by default: moving, subject in title, hourly stats, anti-bump-flood
2024-01-30 10:05:42 -01:00
e8251ade6a
Change dates to ISO 8601-like, fix deprecation of strfdate() in PHP 8.1, fix non-GMT dates
...
Unfortunately this means there are two format strings needed when using JS for local time.
2024-01-30 10:05:42 -01:00
32aa1802c7
Disable jumping down to the bottom after a new post
2023-01-14 05:50:41 -01:00
9b29b30330
Set auto-reload.js to minimum countdown delay after making a post
2023-01-14 05:50:41 -01:00
7324135025
Add PPH and IPs stats table (doesn't require JS)
2023-01-14 05:50:41 -01:00
5b74355046
Collapse post form by default on index page.
...
This reduces wasted space as making threads is a relatively rare operation, and dissuades people from mistakenly making a thread instead of a reply.
2023-01-14 05:50:41 -01:00
6645a8f989
Add meaningful error codes for captchas
2023-01-14 05:50:41 -01:00
175022f519
Move PHP session into captcha code to prevent unnecessary cookies.
2023-01-14 05:50:41 -01:00
0afbeac7bd
Remove captcha JavaScript call for local captchas, add automatic and manual reloading of captchas
2023-01-14 05:50:41 -01:00
58d719c7f9
Allow local securimage captcha to be run without cURL library
2023-01-14 05:50:40 -01:00
070ae35161
Remove redundant subject check in catalog-search.js
...
The comment selection included it.
2023-01-14 05:50:40 -01:00
88c25af7cf
Fix bumplock not appearing on threads and catalog
...
Ideally they would all say bumplock instead of sage, but that's how it is in the database so we can fix that later if we ever care.
2023-01-14 05:50:40 -01:00
288f09c1f9
Remove unused functions from inc/function.php
...
strategy_first was left in as I suspect it's a userful example.
2023-01-14 05:50:40 -01:00
e1eb910ef4
Add required include for mod_board_log in log.php
2023-01-14 05:50:40 -01:00
8cd2ad7b10
Drop remaining MySQL <5.5.3 support (utf8 without multibyte)
...
It's over 10 years out-of-date and EOL and the version code isn't failsafe which causes issues with some MariaDB versions, resulting in broken multibyte character behaviors.
2023-01-14 05:50:40 -01:00
a8115d2e53
Remove wizchan remnants
...
Put me in the screencap
2023-01-14 05:50:40 -01:00
6fb529e745
Add option to force a subject when posting threads
2023-01-14 05:50:40 -01:00
17ed5819f6
Add maximum text length to ban appeals.
2023-01-14 05:50:40 -01:00
d5284f3a34
Limit maximum email length to 30 to prevent database error
2023-01-14 05:50:40 -01:00
321c742124
Prevent raw HTML editing a post with tinyboard modifiers (e.g. user flags) from inserting them into the visible post body
2023-01-14 05:50:40 -01:00
6bcf20804b
Solve dynamically loaded threads not being filtered. Possibly a hack-fix.
...
This seems like the most appropriate simple fix, hopefully not too wasteful.
2023-01-14 05:50:40 -01:00
8d3b5c86ab
Update jQuery libraries
...
Mainly for security purposes. Removed on('ready') function has been replace, most of deprecated ':' selectors have been removed (some :first selectors remain insted find() functions since I was unsure of the correct way to deal with them)
2023-01-14 05:50:40 -01:00
f6b4eb9040
Fix multiple issues with anti_bump_flood
...
- bumplocked thread with one reply, delete the reply and no post matches the query
- saged posts aren't ignored when finding last bump
- bumplocked threads should be ignored
2023-01-14 05:50:40 -01:00
354f70fa97
Improve telegrams + refactor rebuilding after posts, finish reply requests before rebuilding index
...
This provides massive improvements to perceived post times on large boards as it doesn't wait for the entire board to rebuild index before confirming to the user that the post was made
Telegrams now send a response ajax.js can understand, redirecting them.
2023-01-14 05:50:40 -01:00
8dcdf00d18
Allow users to disable and clear (You)s
...
Credit to based anon https://leftypol.org/tech/res/6724.html#12776
2023-01-14 05:50:40 -01:00
341729abff
Add IP address link to ban appeals
2023-01-14 05:50:40 -01:00
e0be553970
Quick hack to prevent oversized PDF thumbnails.
2023-01-14 05:50:40 -01:00
20a86fd50e
Only add drag-drop handlers to dropzone, not the entire document
...
This enables dragging text into the textbox.
2023-01-14 05:50:40 -01:00
e3ee4b0ce9
Add default ban length of 1 hour instead of permanent ban
2023-01-14 05:50:40 -01:00