44 Commits

Author SHA1 Message Date
Sanpaku
4c93efa4ff post-highlighting 2021-10-12 02:29:29 +02:00
Sanpaku
a6cf3f18f5 quote to post-form
post-link+text selection quoting
minor textboard catalog style changes
2021-10-12 00:34:14 +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
ad852ab14c various fixes
tomorrow mod fix
download button compatibility fix
thumbnail res rounding fix
various html valid fixes
2021-10-09 23:17:39 +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
90115c8791 Update banned.html 2021-10-08 22:00:12 +02:00
Sanpaku
d26a9b6123 permission stuff
moved captcha.php out of includes.
added a file (install.php) that will set permissions on includes & database & templates to be unviewable and non-executable from browser. this also means that bots cant scrape parts of the database for information such as hidden boards or information about how many reports exist.
2021-10-08 21:32:20 +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
dd1d1fe067 minor edits
extra moderation theme styling
post-button style fix for tomorrow theme
add version display
2021-10-07 16:56:02 +02:00
Sanpaku
df5428e660 Update banned.html
minor return bugfix
2021-10-07 16:06:37 +02:00
Sanpaku
7b81a37ced public ban messages ++
public ban messages
add ban image
general ban display improvement like detect img/txt board, better text breaking
added a minlength to captcha form
2021-10-07 13:35:24 +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
c7a00cb8c2 minor
increase global report counter
minor display change to report pages
php7.3 in readme, default username:password for admin
changed default frontpage text
2021-10-02 09:50:14 +02:00
Sanpaku
2e08ea8c08 mod dashboard navigation, show/dismissing user reports
global reports display/dismiss tomorrow probably
after that i'll handle the banlist and banning.
can link to a demo after that.
2021-10-01 12:31:34 +02:00
Sanpaku
c0685d035f footer links, custom pages
just slap a page using the existing templates in the templates/pages/
2021-09-24 05:29:57 +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
2189efe036 page bug fix, style changes
+started working on modpanel
2021-09-15 21:26:14 +02:00
Sanpaku
cb85c52ee6 Catalog
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)
2021-09-10 20:35:46 +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
406443ba79 more pagination stuff
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
2021-09-08 11:28:49 +02:00
Sanpaku
8f4993fcde pagination
pagination complete
now need autosage function and sort with sticky threads...
2021-09-07 21:21:18 +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
f6d05875c4 more sanitization
\ $ was still able break free in _post (not _get)

oops
2021-09-05 05:09:04 +02:00
Sanpaku
42016adca0 sanitized filename, IB and BBS seperate themes
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.
2021-09-05 04:12:29 +02:00
Sanpaku
ec17ff6792 per board configs, textboard stylesheet, textboard configs, boardlist config
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.
2021-09-04 13:00:47 +02:00
Sanpaku
3e90149b66 prevent initial img load 2021-09-04 02:51:47 +02:00
Sanpaku
5f7db55d11 video + downloads 2021-09-03 22:58:51 +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
40ac8bcc63 main.php cleanup, cookie fix
main.php cleaned up to be easier to work on and less silly
fixed no-js default theme
minor stylesheet change
2021-08-31 19:16:33 +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