32 Commits

Author SHA1 Message Date
Sanpaku
983e7c2acb image expansion
still need video+audio expansion
2021-10-12 18:55:14 +02:00
GarfieldsPipe
cc08fef404
Update post.php 2021-10-12 17:36:34 +02:00
GarfieldsPipe
7e4dfe61a5
Fix hiding referrer attribute in external links
"nofollow" doesn't actually hide the referrer.
2021-10-12 17:23:55 +02:00
Sanpaku
6785d60c45 mod_only board 2021-10-12 17:20:53 +02:00
Sanpaku
d3110ea2d9 captcha+ password+ quote+
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
2021-10-12 07:30:29 +02:00
Sanpaku
ac583901d4 temporary reply links
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
2021-10-11 18:57:26 +02:00
Sanpaku
ad5d92173a mod post in locked + toggleable download button
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).
2021-10-09 18:13:14 +02:00
Sanpaku
fc923d9e1f display mod level
showlevel in email field for moderators and above to display ## userlevel in their name (## Admin, ## Moderator, ## Janitor, ## User).
2021-10-08 22:46:11 +02:00
Sanpaku
a03ed0cdd3 cleanup
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
2021-10-08 20:39:33 +02:00
Sanpaku
6bbd058466 manual ban+delete ban
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
2021-10-08 14:57:49 +02:00
Sanpaku
8edb3b0c2c minor ban fix
fix ban has expired message
add border to banned image
2021-10-07 17:40:27 +02:00
Sanpaku
87a8f7b74b bans+warnings & some style changes
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.
2021-10-07 00:23:13 +02:00
Sanpaku
9f9a7a0edf mod tools
delete post/file without password if modlevel high enough (configurable)
sticky/lock/autosage buttons for threads
2021-09-20 02:24:19 +02:00
Sanpaku
733924d864 mod login
moderator sessions
additional post protections
minor deleted image url fix
2021-09-17 22:54:49 +02:00
Sanpaku
07ed52625d sticky threads, lock, autosage, new icons
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.
2021-09-08 15:19:51 +02:00
Sanpaku
d73157f05f threads.php, recent.php
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
2021-09-07 15:40:49 +02:00
Sanpaku
03e1ec3f67 Finished post/file deletion!
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
2021-09-07 12:22:43 +02:00
Sanpaku
efab752f7e ID fix, report exploit fix, post passwords set
fixed report exploit, fixed thread/post ID's across boards+threads, fixed post password, working on post deletion.
2021-09-07 08:34:38 +02:00
Sanpaku
b84ee1ffc9 poster ID option, extra text theme 2021-09-05 11:36:39 +02:00
Sanpaku
15c8e6b6cd [code] [aa] [spoiler], fixed error theme for IB+BBS
correct theme should now display on errors
still need to fix a cookie init notice/warning on invalid GET board.
2021-09-05 07:54:44 +02:00
Sanpaku
85517ed9fe wordfilters, newlines(+max), quotes,rquotes,
ltrim+rtrim on post_body too, not trimming any spaces in body field. people can format their own posts for now.

add [aa] + [code] tags?
2021-09-05 06:11:16 +02:00
Sanpaku
f6d05875c4 more sanitization
\ $ was still able break free in _post (not _get)

oops
2021-09-05 05:09:04 +02:00
Sanpaku
ac68c6f127 thumbnail transparency fix + audio
can now upload audio
transparency fixed
thread/board locking
thumbnail bug fix
2021-09-02 09:52:04 +02:00
Sanpaku
8c5a7bd855 thumbnails
minor time changes
thread display bugfix
thumbnails 99% functional (transparency seems to bug out still)
2021-09-02 06:11:31 +02:00
Sanpaku
23f4ff570d filenames, anchors 2021-09-01 23:55:28 +02:00
Sanpaku
30e55ac4cb image uploading
mostly works
2021-08-31 22:50:56 +02:00
Sanpaku
e19bbeba46 thread stats + frontpage unique posters
all saved to info.php and frontpage.php for performance increase
2021-08-31 14:14:54 +02:00
Sanpaku
85718847bd file uploading
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
2021-08-31 08:11:58 +02:00
Sanpaku
5e273f6230 report + storing user in posts
fixed report + global report
also added hashed user ip's to replies and threads for future banlist
2021-08-30 09:06:39 +02:00
Sanpaku
b4e95a3446 secure captcha + post buttons + post password saving 2021-08-30 06:57:43 +02:00
Sanpaku
6ce29e3d39 More
stylings, functions, etc
2021-08-30 05:16:23 +02:00
Sanpaku
238205b676 Initial Commit 2021-08-29 19:39:07 +02:00