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
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
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
4c1a38c960
update CHANGELOG
...
update package/lock
2 years ago
Thomas Lynch
ef3c38bf55
make "Manage" navbar link go to the current page in modview, instead of defaulting to reports
...
dont manage when already in modview
2 years ago
Thomas Lynch
954b23ef0c
minor bugfix to flag saving/syncedfield
2 years ago
Thomas Lynch
7adaacc945
"moderate" form x -> × and adjust font-size and padding
2 years ago
Thomas Lynch
7cee1f14da
fix regression with moveposts and deleteposts when running markdown again for quotes
...
small change to diceroll, just use bind, no need to return the function like that
2 years ago
Thomas Lynch
b82585f428
update CHANGELOG
...
update package(-lock)
2 years ago
Thomas Lynch
b4b60c44a5
dont set minwidths based on thumbnail when expanding spoilered images because spoiler can be bigger than the expanded image
2 years ago
Thomas Lynch
2c3831fec1
update ban mixin to not use old permlevel check
2 years ago
Thomas Lynch
5d6b903182
minor bugfix, add missing updateFilesText cal, so tegaki correctly shows num of files
2 years ago
Thomas Lynch
98e7c15789
tegeki.css -> tegaki.css
...
add tegaki size to setting import/export
2 years ago
Thomas Lynch
8069fea8ab
update CHANGELOG
...
update package-lock
2 years ago
Thomas Lynch
0a82b10776
Merge branch '280-oekaki' into develop
2 years ago
Thomas Lynch
74c47c7f8a
dnsbl/bypass fix
2 years ago
Thomas Lynch
e74745c6f8
no point showing regaki button if images disabled
2 years ago
Thomas Lynch
19b2413f53
add some missing emoji/icon for palette switcher
...
set default palette to less shit one
add spacing before paintbrush button
change tegeki size settings boxes width
2 years ago
Thomas Lynch
f4a381847e
bugfix, typo mixed up height/width
2 years ago
Thomas Lynch
4c1f987efc
add jsonly class to tegaki-button
2 years ago
Thomas Lynch
942bcaa466
update CHANGELOG
2 years ago
Thomas Lynch
e34cb02686
set req.cookie.expires to DAY manually during sessionrefresh, to be approx the same as the rolling 1 day expiry.
...
since sessionrefresh is called infrequently, it shouldnt have a performance problem and will keep the expires of the session up-to-date for the sessions page to be more accurate.
close #437
2 years ago
Thomas Lynch
54007d9dbd
Merge branch 'master' into develop
2 years ago
Thomas Lynch
c8eb35ae78
update deps, update patch number
2 years ago
Thomas Lynch
9712e2cd19
make localstorage defaults actually use setting
2 years ago
Thomas Lynch
5282734650
fix layer size bug being incorrect opening after "finish"
2 years ago
Thomas Lynch
74f8e1d0f0
add board toggle
...
add globla setting of board defaults and frontend script defaults
add default tegaki size in settings
make tegaki follow theme
add migration
fixup some junk and change icons as best i can in tegaki.css, avoiding fontawesome
2 years ago
Thomas Lynch
626aea734e
basic oekaki ref #280
2 years ago
Thomas Lynch
8910e7b38c
Merge branch 'l29utp0-develop-patch-08681' into 'master'
...
fix internal server error on editing post
See merge request fatchan/jschan!246
2 years ago