toggle to require op file on imageboard
toggle to require op subject on imageboard (textboard already has by default )
if no subject is given, check if neither image or comment is given. if true, error. if subject is not required, check if both image and subjectcomment is empty. you need at least one of the three to post a thread.
also changes error message for some length settings to be dynamic and not hardcoded
fixed a bug with links that aren't ended with a newline.
fixed a bug when all threads are deleted causing threads.php updater to freak out.
fixed a bug where op file and thumbnail isn't deleted from server on thread deletion.
- $output_html templating, will make more changes later with api toggle for JS stuff like cross-thread post-hovering and autoupdate and similar.
- video compatibility fix for blink browsers
- description (frontpage) and board slogan (below title on page) are now separate.
- minor style changes
some extra finishing touches to quote selection newlines
added a post.php generation time function
upgraded JS captcha functionality (keeping no-js captcha as before)
js/cookie post password
minor image margin change
removed a couple stylesheets that were never intended to be included long term
better Tomorrow code look
quotelinks in css and a very temporary replyquoting function, need to rewrite some stuff before i allow for crossthread/crossboard/deletedpost checking without huge performance loss long term)
also fixed some postformatting regex
toggleable download button next to files with option for unix or original filename
posting in locked threads for mods+
borrowing a theme to experiment with different text board layouts later when i make more changes to textboards (some things are a bit off still).
a lot of __dir__'s and __dir__ . '/../' replaced with $path
separate version file
all mod actions moved to mod-actions.php
all mod pages moved to templates/mod/
fixed manual ban typo causing all bans to show as manual ban on ban page
clear captcha field on image reload
manual ban support
delete bans
set first board in boardlist if no board is set to apply to ban theme if user visits post.php manually
fixed broken themes affected in edge (broken </select> that went ignored by other browsers)
moved post buttons to the left
removed post checkmark
timeuntil function
added warnings/temp bans/perm bans.
to do: get+cookie to set catalog settings like image size, show this hide that etc etc. otherwise functional enough.
+ minor pagination bugfix (exactly 10-20-30-40 would result in a blank final page as it removed 10 instead of 0).
+ width+height for thread status icons
+Extra theme (Cyanide)
new thread status icons
sticky threads now show up before the other threads, threads can now be set to sticky/locked/autosage and function as such, just missing mod panel to enable disable them.
get form buttons instead of links for prev/next
styles
minor frontpage stuff in preparation for static pages
also stripping tags from thread body subject if no subject input
now index page pulls replies from a list of recent replies in that thread, and threads from a list of all threads. no need to check every thread and every reply on index page anymore, will help performance in the long run. already had much longer loading times at 30 threads, now its almost same as the other ones pretty much.
good performance boost, 5x faster, cannot imagine how bad it would get at 10-100 threads each with 1-100 replies lmao, or even more fuck
major: added file deletion, post deletion, thread deletion with all its files
re-fixed post passwords
cleaned up reply scanning (isnumeric instead of excluding certain files, easier to expand)
added file deleted file
minor stylesheet change for files
add if modlevel checks later to skip password on deletes
separate theme js+cookie for IB+BBS
Original filename display no longer vulnerable to html code (was a bit too quick there, good thing i double checked)
by default all IBs use Futaba, by default all txt boards use Kareha.
create /database/boards/$boards['url']/config.php to use custom configuration on different boards
boardlist configuration to choose between url or board title
mobile viewport
added a kareha style for text boards, can also be used on imageboards while hiding thumbnails, can be used to create pseudo text boards with built in filesharing without breaking the textboard immersion (no images in your face, many bbs users upload 3p images and link to it anyways when relevant enough.
file uploading in work, can now check file extensions, mime type, and upload and rename the image.
up next obviously add some file info to the posts and display the image.
minor style changes
minor form changes