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
Thomas Lynch
76eb87bf43
minor tweak to getting thread page, and make it null because its not necessarily always 1 for new threads (wont be used when !data.thread anyway)
2 years ago
Thomas Lynch
6a4fd84a90
bugfix page rebuild in editpost model
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
440298a44d
testing maybe slower/dumber but also maybe more *correct* rebuilding of pages after actions
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
l29utp0
c6c312ff0e
fix internal server error on editing post
2 years ago
Thomas Lynch
c5ae6aa77f
remove unnecessary link now blockbypass shows normal popup/page
2 years ago
Thomas Lynch
d19d645494
update CHANGELOG
2 years ago
Thomas Lynch
5232bbf63f
Merge branch 'develop' of ssh.gitgud.io:fatchan/jschan into develop
2 years ago
Thomas Lynch
7b784283f8
tldr dnsbl and bypass sucks cock
2 years ago
Thomas Lynch
4685fd2212
fix migration not clearing users cache, causing bug with old cached users having wrong property names
2 years ago
Thomas Lynch
b9900bf466
minor bugfix, no selectedindex causes error with customflag
2 years ago
Thomas Lynch
d72bf85d25
Merge branch 'develop' into 'develop'
...
typo
See merge request fatchan/jschan!245
3 years ago
l29utp0
81de73b0aa
typo
3 years ago
Thomas Lynch
6798cb843e
bugfixes and improvements to captcha options
...
improve gulp task for proper captchafield grid size
make globalsettings run tasks check for any captchaOptions change, not just type
bugfix grid image size wrong body name
3 years ago
Thomas Lynch
e4d2626a66
update README.md, 1 command to update node, npm, and reinstall global packages (gulp, pm2, whatever)
3 years ago