Thomas Lynch
44f69b8ba5
start per-board custom pages, mostly working could just use a lil more testing references #232
4 years ago
Thomas Lynch
0cc762ad5d
reference #258 bugfix, global report count would only show if they owned or modded a board, which obviously isnt correct
4 years ago
Thomas Lynch
3ed44ffa2d
reference #258 show open reports on account page after a very subtle hint from https://fatchan.org/t/manage/thread/1.html#346
4 years ago
Thomas Lynch
77b8ae5540
Overboard catalog reference #286
4 years ago
Thomas Lynch
a47c4e3991
Fixing dolphin'd code
4 years ago
Thomas Lynch
d12bed3dc2
add noscript warning to hcaptcha
...
add some missing checks for google to also check captcha type
adjust frontend scripts and gulpfile styling to support hcaptcha
4 years ago
dolphin
d51aa143a8
Add in hcaptcha support.
4 years ago
Thomas Lynch
2385f4fa16
Bugfix on demand build thread page. issue destructuring when the buildthread task returns null
4 years ago
Thomas Lynch
668c9ce712
Fix typo in globalmanage accounts page
...
also cleanup indentation
4 years ago
Thomas Lynch
6657f50e4d
add more options on the global manage boards list close #245
4 years ago
Thomas Lynch
f2df1aea4b
Global manage page for boards. Shows all boards including unlisted, and marks abandoned boards
4 years ago
Thomas Lynch
c19db93b83
little indent cleanup
4 years ago
Thomas Lynch
a8ede39f80
secureCookies only try to set secure:true when x-forwarded-proto is https closes #223
4 years ago
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