Thomas Lynch
fb57aa6fd5
Add captcha generators tests (doesnt write them to disk, but runs the generator function for catching issues like !255 ref #469
2 years ago
Thomas Lynch
b1751f1706
allow grid captcha yIconOffset=0
2 years ago
Thomas Lynch
b57a69f8d6
fix text captcha options template and change defaults in template and migration
2 years ago
Thomas Lynch
5c359a8bda
Merge branch 'develop' into '469-captcha-improvements'
...
# Conflicts:
# controllers/forms/globalsettings.js
# gulpfile.js
# migrations/0.8.0.js
# package.json
2 years ago
Thomas Lynch
06828da6c0
Refactor captcha generators and captcha model
...
Generators changes:
- take captchaoptions as argument, so no longer require config.get or captchas db imports
- return the captcha object (gm instance) and solution (whatever).
The model itself inserts the solution to db, gets captchaid for filename and cookie, and writes the image to disk.
Slightly cleaner imo, and makes the captcha generators more testable without requiring any mocking for DB/config.
2 years ago
Thomas Lynch
f0ae0691a4
Remove duplicate call to randomof and setting characters
...
Remove debug
ref #469
2 years ago
Thomas Lynch
c969814f54
First version of grid v2
2 years ago
Thomas Lynch
116a102109
Set default/template config in gulp wipe task
2 years ago
Thomas Lynch
6e80af2eec
Fix another non integer argument to randomrange :^)
2 years ago
Thomas Lynch
f656a97513
Add note about playlsit to changelog and remove old bookmarklet from readme
2 years ago
Thomas Lynch
b1d36b5f62
style
2 years ago
Thomas Lynch
cd1d7ddcda
add eslint rule enforce one true brace style and allow single line
2 years ago
Thomas Lynch
8a51c1148a
Merge branch 'add-ptchina-playlist' into 'develop'
...
added feature to download a thread as a playlist
See merge request fatchan/jschan!257
2 years ago
ussaohelcim
2fcde2d7b9
Updated to use mimetype instead of file extension
...
Also fixed everything that Tom asked, i hope.
2 years ago
Thomas Lynch
3710a57224
Merge branch 'master' into develop
2 years ago
Thomas Lynch
cfa5a04506
version bump and CHANGELOG update for fix
2 years ago
some random guy
f6631068d1
captcha/getdistorts: randomRange requires integers
2 years ago
Thomas Lynch
3261de849d
Merge branch 'fix-captcha-distorts' into 'develop'
...
captcha/getdistorts: randomRange requires integers
See merge request fatchan/jschan!255
2 years ago
ussaohelcim
184ff965c6
added feature to download a thread as a playlist
...
New option 'playlist' added to thread options when a post its the OP.
When the option 'playlist' is clicked, the window dispatch an custom event createPlaylist, the script get this event and requests all webm, mp4 and mp3 files from the jschan server, and a .m3u file is downloaded on the client, with all those files forming a m3u playlist.
2 years ago
some random guy
f0780291b6
captcha/getdistorts: randomRange requires integers
2 years ago
Thomas Lynch
8f74885ba2
Add noise and paint slider options to grid captcha
2 years ago
Thomas Lynch
e7aa79f0e2
Merge branch 'develop' of ssh.gitgud.io:fatchan/jschan into develop
2 years ago
Thomas Lynch
9e1edb2a13
update CHANGELOG and version bump
2 years ago
Thomas Lynch
5870e35ec3
Merge branch '418-inactive-accounts-boards-handling' into develop
2 years ago
Thomas Lynch
a58d486a92
Dont repeat actions for boards that are already locked(or +unlisted) and not being deleted
2 years ago
Thomas Lynch
8eaa484574
Update .gitlab-ci.yml file
2 years ago
Thomas Lynch
2ff3612c1f
Update .gitlab-ci.yml file
2 years ago
Thomas Lynch
1f82d09910
Update .gitlab-ci.yml file
2 years ago
Thomas Lynch
425c15f1ce
linting
2 years ago
Thomas Lynch
05413d72c6
Ref #418 add the abandoned boards handling
...
Fix small bug with incorrect schema for the setting
Set both schedules to immediate: false
2 years ago
Thomas Lynch
4db2c9f6f5
Linting fixes, minus stuff we will need in abandoned board schedule
2 years ago
Thomas Lynch
3ab0a271c4
Inactive accounts handling schedule, globalsettings for it and migration.
...
Plus the same for abandoned boards handling, just still TODO the schedule.
ref #418
2 years ago
Thomas Lynch
6d90f47a78
README correction
2 years ago
Thomas Lynch
7cc5f1eabf
add links to related projects, typescript SDK and typings from ussaohelcim <3
2 years ago
Thomas Lynch
6ec6b32ed5
Change "wave" and "paint" text effect captcha options from toggle to slider
...
Add "noise" text captcha effect slider
Add font lib to get list of system fonts
Add "font" text captcha option
ref #469
2 years ago
Thomas Lynch
3090f2677d
Merge branch 'develop'
2 years ago
Thomas Lynch
4a0ec949aa
Version bump in package.json
2 years ago
Thomas Lynch
6b99f8e6e4
Merge branch 'develop'
2 years ago
Thomas Lynch
53d0c9cc3e
update CHANGELOG
2 years ago
Thomas Lynch
01b249eea5
npm audit fix
2 years ago
Thomas Lynch
70eb647321
Fix rng captcha generation error. Couldnt cherry-pick 0c2e99a96b
because I decided to accidentally include an unrelated change
2 years ago
Thomas Lynch
c1b739ca16
Add ptchina bookmarklet script that somebody made to the readme
2 years ago
Thomas Lynch
0c2e99a96b
Fix issue of randomrange min < max constraint sometimes being violated
2 years ago
Thomas Lynch
c1dc877459
Set now non-default defParamCharset: "utf8" busboy option to correctly handle encoding of filenames that need utf8
2 years ago
Thomas Lynch
c8ebf9a579
Improvement to grid v1 to allow customising, allowing for something like this.
...
-true characters
-false characters
-question text
Make optional (and add additional options for) some filters/effects
-paint
-line
-wave
2 years ago
Thomas Lynch
f0a0fa4aee
Merge branch 'develop' into 'master'
...
v0.7.1
Closes #466 , #464 , #461 , and #458
See merge request fatchan/jschan!254
2 years ago
Thomas Lynch
0461842d14
Make IP pruning schedule also apply to modlogs
...
Update CHANGELOG
2 years ago
Thomas Lynch
18ab7d24ee
When strict mime validation is enabled, actually tell the user what the server thinks the mime is in the mismatch error message.
...
note: only for making posts (for now), pending a refactor of some checks that are shared and duplicated between other file upload models e.g. banners/asset
2 years ago
Thomas Lynch
d2d14f5961
Remove commas in csp directives for hcaptcha in nginx.sh
2 years ago
Thomas Lynch
00c31b1088
Hcaptcha decided it wanted to prevent setting the hash from scrolling to your post
2 years ago