Thomas Lynch
3e2b361607
remove useless hasPerms(4) (4=not logged in or non-staff context) from form middlewares that already isLoggedIn e.g. create board and resign from board
4 years ago
Thomas Lynch
a89c25af24
Let people actually resign from boards
4 years ago
Thomas Lynch
18240670cf
Let users self-delete their account, provided they dont hold any staff positions closes #240
4 years ago
Thomas Lynch
25ce30dde8
fix issue posting bypass for non tor
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
14dc090e08
Migration, and a change that will make it not get completely destroyed by ddos over TOR
4 years ago
Thomas Lynch
48565133d2
actually, remove that completely for now
4 years ago
Thomas Lynch
f1db4f7317
Fix post history for tor user and remove manual addban form from non-global manage pages (for now)
4 years ago
Thomas Lynch
786f5a2ffa
Bugfix for repeated getting new bypass when tor user didnt need one. not necessarily a big problem but it means they would keep getting new ids. this could actually be leveraged for a scuffed auto-refresh system in future
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
cfc97b8101
do not read session when not needed
4 years ago
Thomas Lynch
97ed9a91f0
seemsgood, closes #194
4 years ago
fatchan
5c606bf455
add process ip so modlog can be filled, closes #141
4 years ago
fatchan
b4d9411ab4
close #129
4 years ago
fatchan
5c7fc003ad
register.html/create.html hiding based on settings and fix broken captcha quota resetting for some forms references #124
4 years ago
fatchan
3bda3aa596
only use processip middleware where necessary references #121
4 years ago
fatchan
9ded8817d9
logout change
4 years ago
fatchan
89aad64624
add different way to get board for perms check, and fix a dumb oversight and security in edit post. need to rename the bodyexists method maybe
4 years ago
fatchan
27ee48e6fb
more on controller and structure for post editing
4 years ago
fatchan
0d152ce230
make user accoutn creation available for globals and above for provisioning accounts when its disabled
5 years ago
fatchan
569398a2e4
option to replace spaces in filename:
5 years ago
fatchan
84971cd274
start work on blockbypass
5 years ago
fatchan
eb5f576034
be clear that filtered isnt about safety
5 years ago
fatchan
529e6bfacc
early modview, somewhat scuffed
5 years ago
fatchan
f540d07e67
option to disable filename filter
5 years ago
fatchan
504fbd4496
dnsbl
5 years ago
fatchan
1840265955
logs optional, add a config for it
5 years ago
fatchan
8522fb85be
disable file upload debug, fix some more script bugs
5 years ago
fatchan
590ca46b87
limit, page, ip select global reports or reportee
5 years ago
fatchan
b1614881b5
fix max files upload showing error, show max files on postform, etc #57 #2
5 years ago
fatchan
5784b4925f
bugfixes
5 years ago
Tom
d7f3825596
File limit error references #58 ( #59 )
...
* minor style change
* start fixing file form upload to show error instead of showing ugly nginx
* modify express-fileupload, udpate deps and now use dynamicresponse when upload too large files
5 years ago
fatchan
86851f3ffa
modify express-fileupload, udpate deps and now use dynamicresponse when upload too large files
5 years ago
fatchan
c1998ed31d
start fixing file form upload to show error instead of showing ugly nginx
5 years ago
fatchan
2f69be1119
typographicalerror
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
fatchan
d96cfce696
make getting numfiles a middleware for forms that accept files uploads, later controllers or models can use the locals
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
51eaa31b41
sort bans and appeals in a better order, with option to deny appeal OR unban
5 years ago
fatchan
08e93bdd2a
fix user counting for new ip object and convert auth level and accounts list to array and number correctly in edit accounts model
5 years ago
fatchan
21d309309c
banner and file size maxes to configs, and allow whitespace in filenames
5 years ago
fatchan
391bf96837
move some more small model/controlers to separate files, and reorganise the routers
5 years ago
fatchan
d5bd6a600e
implementing global limits for board settings and configurable defaults for board creation
5 years ago
fatchan
2bd231a031
for routes that dont need session at all, dont use the refresh middleware e.g. public pages, banners, captcha, etc
5 years ago
fatchan
4e181ae712
refactor some middlewares to move them out of main server file
5 years ago
fatchan
de61e95c64
early account management on global manage page. maybe list isnt necessary, could be changed to a simple input box to avoid getting too big, or having to make separate page/paginated
5 years ago
fatchan
9657321e72
bugfixes
5 years ago
Tom
96597d558d
Appeals ( #52 )
...
* add ban appeals
* unnecessary ocmment from c/p
5 years ago
Tom
f0795a959f
Tags ( #51 )
...
* board tags, and limits to tags, moderators and filters
* increase max filters
* change page to match
* add board ownership transfers (#50 )
5 years ago
fatchan
5863428990
create board fixed
5 years ago