Thomas Lynch
24574862a2
Add file-type moodule to check file mime types strictly, with 2 optiosn in config about it
...
Update express-fileupload dependency to clean tempfiles on numFilesLimitHandler
Add a proper error message for max num files instead of allowing unlimited and limiting in board post method
4 years ago
Thomas Lynch
1399dda5fd
Json routes will hit backend & get 404'd there,
...
allows for pages with missing json that arent prebuilt to build when json route is hit,
without requiring html pageload first better for api
4 years ago
Thomas Lynch
b597ac8159
ability to resign from a board you mod/own. previously you could not leave a mod position, and you could not leave owner position (unless you transfer) closes #196
4 years ago
Thomas Lynch
f192a0e09c
Captcha appearance and layout changes
4 years ago
Thomas Lynch
536aecffcc
Bug in RNG causing blocking, and make captcha show properly in modal for mobile
4 years ago
Thomas Lynch
14dc090e08
Migration, and a change that will make it not get completely destroyed by ddos over TOR
4 years ago
Thomas Lynch
60d36bbb6a
Make a bit more maintainable, support different captcha types with some config options
4 years ago
Thomas Lynch
b0797f0418
Beta testing .onion support
...
***DO NOT USE***
This still has some issues and needs testing.
- needs updated nginx configs added, expects "TOR" in the x-country-code header under a separate vhost
- need to make sure bans work properly still
- need to implement system to prevent captcha ddos, since i cant just to IP ratelimit now
- im 99% sure post history of tor users is broken if viewed by non-global staff
- manual input ban form will also be broken for non-global staff
- could still use some improvement on the middleware having a little more complicated flor for tor users
But for the most part it works. Basically it will use the bypass id of a tor user as their "ip".
4 years ago
some_random_guy
0f20646833
use `redirect: false` in express.static
...
This prevents prolems like `/` giving 404 in devel mode (when
`static/html/index.html` is missing) or `/captcha` redirecting to
`/captcha/` (then breaking).
4 years ago
some random guy
0190ae5a0b
less garbage is session store
...
authenticated: same as `user != null`
user.authLevel, user.ownedBoards, user.modBoards: refreshed by sessionrefresh on
each request anyways, so it doesn't make much sense to store them in the session
store too.
4 years ago
Thomas Lynch
8935ca5c28
Customisable header for IP and country code, and improve how country names are handled
4 years ago
Thomas Lynch
1b22fbb1de
no sticky posts on overboard #166
4 years ago
Thomas Lynch
36da8cc649
add a prefix just in case
4 years ago
Thomas Lynch
248b41081c
same shit for overboard
4 years ago
Thomas Lynch
a15b36c5b0
testing cache for board list #166
4 years ago
Thomas Lynch
ed5f8b7539
no sticky posts on overboard
4 years ago
Thomas Lynch
bf652855d0
no need to log that
4 years ago
Thomas Lynch
f92b9f9ec9
Track listed boards and use to now show unlisted baords on overboard, could also use for optimisations in future such as queries for board list references #166
4 years ago
Thomas Lynch
0021ed02cc
Early version of overboard, /all.html. Still needs a small cache and moderation changes to support moderating references #166
4 years ago
fatchan
9d15ddf251
global reports and logs ip fixes
4 years ago
fatchan
9cbf198772
let postid ip history work properly again, too
4 years ago
fatchan
cc16ceadb6
Fix post history, allow people with perms to use hash substring and show subnet in bans
4 years ago
fatchan
0307f69693
Start fixing my really dumb retard mistake of how ips and post histories work
4 years ago
fatchan
7b3b416cd6
add new migration
4 years ago
fatchan
9ded8817d9
logout change
4 years ago
fatchan
3962e7d4dc
fix captcha ratelimit
4 years ago
fatchan
4b18607250
moderation from catalog and add mod catalog
4 years ago
fatchan
a0e0d9f12b
more logic and projections ips for manage pages and style fixes
5 years ago
fatchan
4037d3b458
bugfix and validation improvements in manage page for recent per-board post histroy
5 years ago
fatchan
ce1fcf1386
security improvements and closer to per baord mod tool improvements
5 years ago
fatchan
e6d7785793
migration move files from /img to /file since it can contain more than just images
5 years ago
fatchan
5c7924f6b7
beta ver of per board logs with uncensored usernames for board staff
5 years ago
fatchan
a9d08b1c28
early ver of per-board recents and changed iphash code
5 years ago
fatchan
1d1f42f94d
quick way to make bypasses in a frame
5 years ago
fatchan
e632203aad
bugfixes
5 years ago
fatchan
7a00c6f689
make some ratelimits configurable
5 years ago
fatchan
29e78c2e2b
UTC dates for date param so modlog doesnt get broken by timezones
5 years ago
fatchan
73203db312
start option for unhashed ips
5 years ago
fatchan
b4cfbe572d
ip to log, filter ip on global logs
5 years ago
fatchan
84971cd274
start work on blockbypass
5 years ago
fatchan
529e6bfacc
early modview, somewhat scuffed
5 years ago
fatchan
5fb7178aa9
dont have a long private cache for that
5 years ago
fatchan
126f2c7e2c
pages should also apply filter to webring from boardlist
5 years ago
fatchan
ac6a6f8c05
show proper page numbers when filtered
5 years ago
fatchan
9e9453e484
allow to filter or goto account or board page from global log entry list
5 years ago
fatchan
c0ef4e5dad
globallogs with simple board and user filter to globalmanage page
5 years ago
fatchan
709e695ae7
captchas a bit wider and clean the generating a bit
5 years ago
fatchan
bf5359e9e4
some small private cache and max age for more dynamic pages
5 years ago
fatchan
590ca46b87
limit, page, ip select global reports or reportee
5 years ago
fatchan
a5aaaa29a5
reference #55 working on global settings page/config editor, start with global filters and options to force change sitewide captcha
5 years ago