Thomas Lynch
67e50bdb8e
dont duplicate codethemes, improve gulpfile and theme helper
...
now only css files are listed as themes, othe extensions are copied to /file
and gulp-replace is used to prepend /file/ to all the url( paths in the codethemes
4 years ago
Thomas Lynch
06bac65200
add global announcements, now that there is global settings, DUH close #301
4 years ago
Thomas Lynch
9b0b734bce
missing import
4 years ago
Thomas Lynch
a0fa0bde70
proper validation for thumb extension and mime types
...
fix lengthbody checks for 0 minlength/empty fields
remove old todos
4 years ago
Thomas Lynch
313d4a9fe4
gulp export some tasks and task helper for build-worker can call it
4 years ago
Thomas Lynch
849882a066
more model and form improvement
...
add a few missing field to paramconverter
make dnsbl cache time divided since it takes the time format
make redis print when it gets a message if debuglogs are on
4 years ago
Thomas Lynch
de8dcbb8be
progress on model, controller and the template
...
improve some helpers to load config properly on global config change including renderlocals, themes, etc
4 years ago
Thomas Lynch
ab8eddbcff
buggfixes
4 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
60cddef23a
slowly switch configs to db and only a small amount of things like secrets remain in a config file
4 years ago
Thomas Lynch
d14dcdcc76
improve and start work on the controller for global settings page with the new checker
4 years ago
Thomas Lynch
f434899c61
use dynamicresponse in paramconverter for malformed input of arrays
4 years ago
Thomas Lynch
f6a1c02128
update TODO and start on some kind of body checker/schema handler which should work for the new global settings, to avoid it being a million lines long. eventually all the other controllers will get refactored and the system expanded upon to handle all routes. will make code cleaner, more concise and easier to expand with new or updated checks.
4 years ago
Thomas Lynch
c6441c33f8
start on the model, update paramconverter, refactor the setting thing from boardsettings and fix a bug (how did that not cause problems?? o.o)
4 years ago
Thomas Lynch
de75523ddc
start making the config able to reload, for now just clearing require.cache
...
also made some of the app.locals load from getconfig, not added to callbacks in redis yet
4 years ago
Thomas Lynch
7fa5708010
use fs-extra
4 years ago
Thomas Lynch
7eb3f4589d
markdown style links i.e. [label]( http://link )
4 years ago
Thomas Lynch
d31a60e69a
put thumbs in a folder, tests would have been nice to have cos this will probably cause regressions, heh... reference #307
4 years ago
Thomas Lynch
621a83a589
make the ip prune thingy a schedule
4 years ago
Thomas Lynch
32ec1152b4
more 'tor' -> 'anonymizer' rewording changes including some conditionals, comments and FAQ page text close #316
4 years ago
Thomas Lynch
bf0f5673ac
bugfix, import function from wrong file
4 years ago
Thomas Lynch
d75fb8cb0f
rename some tor-specific stuff to "anonymizer" to be more general since i added lokinet to my site, will make easier to add others e.g. i2p in futuure
4 years ago
Thomas Lynch
d88c9505f0
note about anonymizer
4 years ago
Thomas Lynch
ab1e45114c
consider LOKI x-country-code also anonymizer (still pending code changes to refactor locals.tor into locals.anonymizer)
4 years ago
Thomas Lynch
bb0ff6216e
special case for 0 timestampt video tthumbnails, solve issue for some audio files reference #308
4 years ago
Thomas Lynch
71d91f8212
add empty locals object before session check
4 years ago
Thomas Lynch
6f64448b33
works for board recent and global recent, fixed lastPostId issue and IP display issue
...
just neds a second pair of eyes to check its not leaking IPs anywhere
4 years ago
Thomas Lynch
abf724ee82
Add 'EU' country code and 'Europe' name in countries list/map. Not an official ISO 3166-1 country but geoIP returns it so have to include name and code for it.
4 years ago
Thomas Lynch
cf43f650d6
Ability to edit newsposts reference #298
4 years ago
Thomas Lynch
9215dcbf17
test only, blockhash option
4 years ago
Thomas Lynch
44f69b8ba5
start per-board custom pages, mostly working could just use a lil more testing references #232
4 years ago
Thomas Lynch
1630efab99
Add missing string/encoding convert to insecure trip
4 years ago
Thomas Lynch
6fa18c10ed
change bypasses not persisting on .onion, needs testing
4 years ago
Thomas Lynch
c99fbcba12
make catalog search quote links work >>>#/something/
4 years ago
Thomas Lynch
22055b6088
Make forceOnion for blockbypass, to enable it for .onion users even if disabled for clearnet. Effectively allows blockbypass for all, none, or .onion users only.
4 years ago
Thomas Lynch
a482000c1a
reference #279 , needs testing but this might be all it takes
4 years ago
Thomas Lynch
b5580edd9e
Allow sticky to be input as a number, 0 is disabled, higher numbers are a priority and threads will be sorted in descending order reference #289
4 years ago
Thomas Lynch
db60e5bbc8
Handle 'mo' unit for duration date format inputs
4 years ago
Thomas Lynch
ec3af32d0b
remve debug log reference #282
4 years ago
Thomas Lynch
22f582f3a7
Insecure tripcodes reference #282
4 years ago
Thomas Lynch
d12bed3dc2
add noscript warning to hcaptcha
...
add some missing checks for google to also check captcha type
adjust frontend scripts and gulpfile styling to support hcaptcha
4 years ago
dolphin
d51aa143a8
Add in hcaptcha support.
4 years ago
Thomas Lynch
c2e7699b15
change code blocks to [code][/code], try not to interfere with sjis as much reference #278
4 years ago
Thomas Lynch
bc44b0529c
Shift JIS art support with aa code language, closes #278
4 years ago
Thomas Lynch
98d9074f1f
Dont make reset increase lock/captcha mode if mode adjusted but it was already triggered
4 years ago
some random guy
b110dac7ba
support flac audio
4 years ago
some random guy
da8522faec
audio thumbnails
4 years ago
Thomas Lynch
fed92d6621
separate trigger action for when tph vs pph is exceeded
...
option for lock reset and captcha reset, to pick what you want the lock mode and captcha mod to go back to at the end of the hour
also fix avuln in boardsettings where pph trigger/mode settings were not range checked
4 years ago
ne0n
c98b337cd3
Minor textual improvements
4 years ago
Thomas Lynch
40d17e360d
globalmanage live posts
...
todo:
- handle iphashpermlevel to not send IP for users without perms (separate room? seems easiest)
- make sure lastpostId, reply adding, etc doesnt get all fucked up because of multi threads on one page
4 years ago