Thomas Lynch
325fe0caac
fix some issues with edit for checking
3 years ago
Thomas Lynch
21d3ca0960
missing images
3 years ago
Thomas Lynch
89a60f1424
move images used for themes to folder, same as code themes from highlight.js
...
update theme list to filter, like code theme list
add some themes linked from "reinchan", with some minor tweaks
update gulpfile
3 years ago
Thomas Lynch
c6978788f3
fix some incorrect behaviour and messages in makepost
3 years ago
Thomas Lynch
6f8db11684
Merge branch 'master' into new-dev
3 years ago
Thomas Lynch
552034da5b
npm audit fix
3 years ago
Thomas Lynch
c411e193db
Section README, link to other docs (contributing, license, installation, etc) and clean and improve them a little
3 years ago
Thomas Lynch
50fa768ee9
form and paramconverter fixes
...
change a bunch of length and number body because of trimming and using existsBody is the 0 checko
3 years ago
Thomas Lynch
96c3bb0eee
re-use field length again, may need to revisit issue from controllers/forms/appeal.js comment
3 years ago
Thomas Lynch
1785b70d68
check deletedCount when removing custompage and show error when deleting invalid named pages, rather than doing an extra db call to check if they exist
3 years ago
Thomas Lynch
5e4c1b197f
fixes to paramconverter, null 0 length trimmed fields, tweak custompage error
3 years ago
Thomas Lynch
63d74631ae
error word wrap useful fix
3 years ago
Thomas Lynch
4ecab8994f
Better message and "link" added to dynamicResponse for dnsbl if blockbypass is allowed to bypass dnsbl
3 years ago
Thomas Lynch
278ff0e465
typo
3 years ago
Thomas Lynch
2247bd88b9
in some case use "between x-y characters", instead of "or less". will probably change other forms as i go
3 years ago
Thomas Lynch
744b2530c5
fix u live link for peo
3 years ago
Thomas Lynch
f7cf58fdac
fix incorrect colspan on homepage "more boards" button thanks to addition of PPD
3 years ago
Thomas Lynch
949b76da94
README update & improvements, and add note to 0.1.3 migration about generate-favicon gulp task
3 years ago
Thomas Lynch
ac2bf6d157
ref #356 boardsettings, makepost
3 years ago
Thomas Lynch
9f7b4a6d9d
force higher iq nginx configs, and improve readme about it
3 years ago
Thomas Lynch
cc1f0ed2e1
ref #356 actions, globalactions, perms change to create and register, tweak editaccounts
3 years ago
Thomas Lynch
41f2569d85
permission check fix
3 years ago
Thomas Lynch
50aaf3806a
always allowedarrays captcha (until this needs more defaults)
3 years ago
Thomas Lynch
15bb7116b2
bugfix ban reporter multiple with same ip
3 years ago
Thomas Lynch
bb7d9a99a3
properly await checkSchema call
3 years ago
Thomas Lynch
999b75f276
rebuild after flag change
3 years ago
Thomas Lynch
6ceacdf3ff
ref #356 resign, transfer
3 years ago
Thomas Lynch
28761f1934
ref #356 deleteaccount, editaccounts, editbans, editnews, editpost
3 years ago
Thomas Lynch
1f7da3f2b8
update flags.png with rebranded lokinet logo ( https://oxen.io/blog/rebranding-lokinet )
3 years ago
Thomas Lynch
920a58bf63
ref #356 create, deleteboard, deletenews, register
3 years ago
Thomas Lynch
b10d305952
add 'blocking' prop to schema checks, allow a check in schema to skip the rest when it doesnt match expected value
3 years ago
Thomas Lynch
943a1ba174
#356 , addnews, appeal, changepassword
3 years ago
Thomas Lynch
b4415ab940
ref #356 , delete banners and flags
3 years ago
Thomas Lynch
db01644f14
ref #356 deletebanners, and update the others, just call the check on array directly
3 years ago
Thomas Lynch
e8c3cfab8f
remove log
3 years ago
Thomas Lynch
7d2799390d
fix for some video files not able to get first frame thumbnail due to weird format
...
example file https://files.catbox.moe/b7vzs5.mp4
previously if in videothumbnail() if timestamp was 0 the command was like:
ffmpeg -t 0 -i in.mp4 -y -vf scale=-2:250 out.jpg
which would error out with "Could not get frame filename number 2 from pattern 'out.jpg'. Use '-frames:v 1' for a single image, or '-update' option, or use a pattern such as %03d within the filename."
seems strange given -t 0, but whatever. so as the error suggests, first frame videothumbnails() call just adds -frames:v 1 to the output args
3 years ago
Thomas Lynch
02bc65c8a9
reference #356
3 years ago
Thomas Lynch
fa13cd7ce6
rest of #355 , needs testing for every form
3 years ago
Thomas Lynch
7143979803
make the floatactions moderate "x" button in the correct spot on chrome (damn browser differences again...)
3 years ago
Thomas Lynch
42422d3d35
reference #355 changes to paramconverter
...
got the changes to itself done to return the middleware function,
and for most routes i updated them
still TODO the more complex routes, and change them to the refactored schema checking
3 years ago
Thomas Lynch
3eb3ba3a38
remove old comment
3 years ago
Thomas Lynch
9a6c0d22ab
add little message reminder inside the latest migration for updating nginx config, until #352 can ever get done
3 years ago
Thomas Lynch
20f38a77a5
board search now matches a bit better using prefix
...
already had escapeRegExp() helper in the codebase which i needed, lol thanks past me
3 years ago
Thomas Lynch
fc15fb2195
add paramconverter middleware to some more post routes
...
prevents would-be 400s causing internal server error or other potential issues due to e.g. array inputs
reminded me i should add an options arg to this middleware to list the allowed inputs, arrays, numbers, mongoId converts, date format converts, etc
3 years ago
Thomas Lynch
a4b446b51a
update btc and xmr begging
3 years ago
Thomas Lynch
4fd69af2e6
add nullcheck for this or sites without ppd will be NaN
3 years ago
Thomas Lynch
7033b13e5d
Make webring use ppd stat
3 years ago
Thomas Lynch
f47a8ffe97
change autocomplete attribute on post password in postform and settings to not suggest normal site password or username for name field.
3 years ago
Thomas Lynch
5e4386d050
set passive:true on touchstart eventlistener, removes chrome warning
3 years ago
Thomas Lynch
efcd16a185
bugfix times error on new post because HTMLColleciton does not have .push() method like Array does, so usse Array.from()
3 years ago