Thomas Lynch
2d48f4110b
pluralisation and %s for numebr substitute, with simple conversion code for frontend
2 years ago
Thomas Lynch
568dd5f174
Allow providing file option overrides in addFile, use them to disable strip filename option for drawn tegaki
...
Bugfix checking if non existing box is checked
2 years ago
Thomas Lynch
8e5c8b5ab0
Tegaki replaying overhaul
2 years ago
ussaohelcim
d078d58b94
updated tegaki replay
...
updated to show [View Replay] on file info
updated to add replays on addPost event
updated to remove the replay attachment only on frontend
2 years ago
Thomas Lynch
3017029f61
close #486
...
Changes to frontend locals for templates to match backend change. Regression caused ban modal to be broken because captchaType is no longer used in the captcha include.
close #487
Make the "pre-checking" of bans there not check all checkboxes inform because that included captcha options. Now it is explicitly "checkedbans" inputs. Otherwise all the boxes in grid captchas were filled in by default.
2 years ago
ussaohelcim
18604614bc
added tegaki replay feature
2 years ago
Thomas Lynch
00c31b1088
Hcaptcha decided it wanted to prevent setting the hash from scrolling to your post
2 years ago
Thomas Lynch
3b87bebd7e
-Improve form handling js to not show "something broke" for ex/ when logging in but getting
...
redirected to a page that gives 403 because of no permission. instead redirect them anyway
-Add a ton of comments and do some small cleanup to improve maintaining forms.js
2 years ago
Thomas Lynch
5c43ecab98
eslint gulp/res/js/
...
update .eslintrc.json
update gitignore
rm --cached some newly .gitignore'd files, which were just pug compiledclient output files
2 years ago
Thomas Lynch
9ae1b79052
Fix/improve showing new modal bans, now handled by time.js to show "relative time" or other time settings.
...
Uses a new 'showModal' customEvent that can probably be used for other things down the line.
ref #445
2 years ago
Thomas Lynch
7805054635
modal shows bans, and are appealable from the modal
...
bugfix already appealed bans showing as "appealable"
minor ban form/ban mixin tweaks
no more sketchy way of "clearing" the form and resubmitting to show bans page. nice!
2 years ago
Thomas Lynch
5d6b903182
minor bugfix, add missing updateFilesText cal, so tegaki correctly shows num of files
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
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
b9900bf466
minor bugfix, no selectedindex causes error with customflag
2 years ago
Thomas Lynch
06ba5608dd
ref #429 , fix and improvement, less junk in forms.js when adding stuff like that in future
3 years ago
Thomas Lynch
d1f9c78258
ref #377 , the fun begins
...
still a few things to do, see TODO (heh)
mostly working how i imagined, with a few quirks.
pretty happy with it.
3 years ago
Thomas Lynch
d7772f2b66
simple overboard link changing/localstorage saving, to help the bookmarkedly challenged
...
update CHANGELOG
3 years ago
Thomas Lynch
4e2b0daf07
remove debug and cleanup a bit ref #220
3 years ago
Thomas Lynch
a64c17a037
add video thumbnails in frontend script, for supported types. otherwise fallback to "videothumbnail" image.
...
update csp for blob: canvas/video
close #220
3 years ago
Thomas Lynch
921d2b14c2
change method of hiding flag input
4 years ago
Thomas Lynch
b122676a69
make flag script part of form script and reeston submit properly
4 years ago
Thomas Lynch
c4c2a1543d
start on adding custom banners
...
models and controllers arent done, things wont work yet.
added a migration and updated the template.js with some new needed values,
changed "banners" in manage to "assets" since it will hold both now
refactor the banners file form into a mixin since its basically repeated for flags,
and make it a tad more customisable
4 years ago
Thomas Lynch
4984e6d045
10% hack, 20% jank, 15% javascript and css, 5% clearing cache, 50% gulp scripts and 100% an unorthodox solution that was fun anyway
4 years ago
Thomas Lynch
a022ac110e
chrome being chrome
4 years ago
Thomas Lynch
f414d536e7
close #323
4 years ago
Thomas Lynch
b8a12aa54e
fallback to older FileReader.readAsArrayBuffer(blob) for browsers without support for Blob.arrayBuffer()
4 years ago
Thomas Lynch
496af56669
fallback to older FileReader.readAsArrayBuffer(blob) for browsers without support for Blob.arrayBuffer()
4 years ago
Thomas Lynch
55778c8570
change filename stripping, make browser hash files and send hash of file to strip name instead of sending names to prevent duplicate both getting stripped or filename filters on backend breaking them.
...
also need the hashes for another feature later on too.
4 years ago
Thomas Lynch
6740d4d529
Auto remove captcha field if its no longer needed close #284
4 years ago
Thomas Lynch
7ff7c90700
Argh, I have been dolphin'd
4 years ago
dolphin
d51aa143a8
Add in hcaptcha support.
4 years ago
Thomas Lynch
0fc7535a8c
Allow minutes and seconds in ban time inputs, allow 0 times (0s), and make the form reset not apply to settings form to be a bit less jarring
4 years ago
Thomas Lynch
3ce4ea7a10
Change slightly how 413s are handled in the frontend script just for testing, references #224
4 years ago
Thomas Lynch
82b6133725
Dont add broken yous
4 years ago
Thomas Lynch
ce069077f8
locals for recaptcha to compiledclients, captcha preload and adding missing captcha changes
4 years ago
Thomas Lynch
09e0bcb518
references #209 , add optional google recaptcha. implementation could use some polish, but it will work for now.
4 years ago
Thomas Lynch
d938acd567
show processing for button on all forms, better for slower connections
4 years ago
Thomas Lynch
652888587b
show processing for button on all forms, better for slower connections
4 years ago
Thomas Lynch
21191a3811
captcha added to page when missing (enabled after page load) and cleaned captcha handling closes #189
4 years ago
Thomas Lynch
4497e59eeb
Whatever, fix it for ops like this
4 years ago
Thomas Lynch
828f317b42
Option to only notify on (you)s references #191
4 years ago
Thomas Lynch
f1abc3c224
Start on selective spoilering references #170 filename stripping references #204
4 years ago
Thomas Lynch
11c5aa8abb
Mostly working
4 years ago
fatchan
83efa15a21
fix upLevel in modview added live posts
4 years ago
fatchan
d17670c857
potential fix for dumb palememe
4 years ago
fatchan
88d27a848f
fix tht forms script being broken and forcing nonjs blockbypass when no files form
4 years ago