Thomas Lynch
451af268e5
add tests global ban, remove/deny appeal/edit ban duration
2 years ago
Thomas Lynch
8f34e9e362
add tests
...
delete file
unlink file
add/delete banner
add/delete flags
add/delete assets
2 years ago
Thomas Lynch
7bc5e8485d
move some delete actions and delete board to after the pages test, so stuff likeoverboard has some content
2 years ago
Thomas Lynch
571fc567dd
update CHANGELOG
2 years ago
Thomas Lynch
496e8cc5c6
bugfix null subject and/or nomarkup cause catalog to fail test
2 years ago
Thomas Lynch
2d37b00dae
test posting file, spoiler the file, and spoiler_all when posting
2 years ago
Thomas Lynch
1551c87744
start on global tests, add one to post/edit/delete news
2 years ago
Thomas Lynch
f2d199482b
add reports + edit test
2 years ago
Thomas Lynch
cf3cecbcf9
bugfix cyclic limit being only correct every n%2 post
2 years ago
Thomas Lynch
bafecbd847
add some more posting, cyclic test, moving, deleting, bans, range bans w/modlog records
2 years ago
Thomas Lynch
40b514933c
Merge branch 'develop' into 443-docker-experimental
2 years ago
Thomas Lynch
ed3f32d4a3
bugfix JIT built catalogs not having json
2 years ago
Thomas Lynch
04f697225e
improve pages test, and make it test basic globalmanage pages
2 years ago
Thomas Lynch
9a8633d171
Merge branch 'develop' into 443-docker-experimental
2 years ago
Thomas Lynch
eb8a97b954
Merge branch 'testing' into develop
2 years ago
Thomas Lynch
7038064f61
Merge branch 'develop' into 443-docker-experimental
2 years ago
Thomas Lynch
cae2b329d2
Merge branch 'testing' into develop
2 years ago
Thomas Lynch
08c78da62f
add some testing for actions. makes a few new threads, random delete and random toggle of sticky/lock/bumplock
2 years ago
Thomas Lynch
9fd11f45a4
Merge branch 'develop' into 443-docker-experimental
2 years ago
Thomas Lynch
4829bc6546
emptyDir() instead of remove() because remove runs into ENOTEMPTY under synthetic load of high post rates, probably because new threads get written to the folder at the same time. no ide a why emptyDir doesnt hav ethis problem..
2 years ago
Thomas Lynch
2863389ecf
improve posting tests
...
creates board, disables antispam automatically, makes full board of 100 threads with some replies
2 years ago
Thomas Lynch
19dcab2016
integration/docker test changes
...
use env var for the docker password, run the tests, remove docker jschan-test (was broken)
some changes to test folder, to run the suites in order
2 years ago
Thomas Lynch
f41a84c944
bugfix when null tags
2 years ago
Thomas Lynch
c54d4c487c
obey note in randomrange.js for tests
2 years ago
Thomas Lynch
a366e9b9ec
add permission tests
2 years ago
Thomas Lynch
0bb0f9bbc5
add randomrange test
2 years ago
Thomas Lynch
ee9319f629
minor change to useless fortune test
2 years ago
Thomas Lynch
3d07f228b3
add schema.js tests
2 years ago
Thomas Lynch
300dc481a6
minor bugfix to numberbodyvariable schema checker
2 years ago
Thomas Lynch
ddd49bc36b
change package.json scripts, add different types of test modes
...
add section to contributing.md about running tests
2 years ago
Thomas Lynch
8184b212b1
add timeutils tests
2 years ago
Thomas Lynch
23356f9d9d
add settingsdiff tests
...
improve settingdiff
fix setting.test.js
2 years ago
Thomas Lynch
5a41cf1bfa
add setting.js tests, and make settings.js more strict
2 years ago
Thomas Lynch
6a71d908d4
add tests for decodequeryip, escaperegexp and (some) paramconverter
2 years ago
Thomas Lynch
9ab024882e
remove dead code
2 years ago
Thomas Lynch
b226c2e65d
add something to run tests in docker, WIP
2 years ago
Thomas Lynch
15049a8a3d
add pagequeryconverter tests, and check/query in pagequeryconverter
2 years ago
Thomas Lynch
dd6e081785
add tripcode tests
2 years ago
Thomas Lynch
d181a26411
add --verbose flag to jest tests for better output
2 years ago
Thomas Lynch
11ae87cba1
minor bugfix, trim capcode in certain situations
2 years ago
Thomas Lynch
c6f8c0939e
add more unit tests to helpers/posting
2 years ago
Thomas Lynch
a28afef5a9
add jest for testing
...
patch formatSize to cap to max units of TB
add unit test for formatSize as an example
add test for posting a simple thread to the docker
2 years ago
Thomas Lynch
273ffd60f4
minor readme tweaks
2 years ago
Thomas Lynch
babd6f7da3
more small docker fixes/improvements
2 years ago
Thomas Lynch
8662411a25
better docker
2 years ago
Thomas Lynch
99ae6f3592
update gitignore, add dockerignore
2 years ago
Thomas Lynch
65e6f139d3
small tools tweaks
...
/etc/nginx/ "includes" -> "snippets"
remove nginx reload, since there are multiple tools that require that. better to have a separate cron task that does it after just once
and add execute bit... lol
2 years ago
Thomas Lynch
fa519dc630
test
2 years ago
Thomas Lynch
cce0bc661d
experimental, and the goal is for running tests, not deployment (for now)
...
some TODO's still:
- make the jschan dockerfile not just COPY everything, make it have better stages and caching
- maybe run gulp in the CMD instead of in the build only?
- bring all the jschan files into another volume
- custom nginx container (self-signed ssl, geoip database)
- passwords for db/redis. should be easy with the official dockers, just a few env vars
not an exhaustive list
2 years ago
Thomas Lynch
0db3516849
Merge branch 'develop' into testing
2 years ago