Thomas Lynch
289dd11716
remove that restriction on same board cross style quote, it confused some people
3 years ago
Thomas Lynch
75faad7914
hcaptcha site key fix
3 years ago
Thomas Lynch
0c0102ec0c
make referer check work again
4 years ago
Thomas Lynch
b21c84c9c7
make updates to files options actually work
4 years ago
Thomas Lynch
8892f64bad
merge webring db,
...
improve board list sorting and filters
improvelayout of public and global manage board list forms
and add extra homepage stat
4 years ago
Thomas Lynch
0b03b05d7c
add a few missing things for this to globalsettings
4 years ago
Thomas Lynch
163522f02c
playing golf with file middleware helper. came out nice
4 years ago
Thomas Lynch
3d1f2bd016
export country name set
4 years ago
Thomas Lynch
da266a5d0c
add a file middleware, and fix the file paths for images show in fileform
4 years ago
Thomas Lynch
b0c25e2554
make some parseints explicitly base 10
...
could even do with making these more strict tbh
4 years ago
Thomas Lynch
addafd6b04
clse#339
4 years ago
Thomas Lynch
35ededad1e
catch possible bad object id body.params for more friendly error
4 years ago
Thomas Lynch
b474134ed1
ability to change permissions for any markdown, this can be extended nicely in future close #303
4 years ago
Thomas Lynch
2a903e8df5
fix various issues with new settings
...
some incorrect field names, bad parsing, date problems and inability to remove some inputs
4 years ago
Thomas Lynch
18df9e726d
The link matching is still kinda retarded, but this actually works as intended
4 years ago
Thomas Lynch
9c7d061086
fix permlevel and unterminated regex group
4 years ago
Thomas Lynch
51f729b367
dont allow []() url regex by default, only for people with permission like staff or in newsposts, announcements, etc.
4 years ago
Thomas Lynch
ee40042957
add package.json version to renderlocals
4 years ago
Thomas Lynch
eb86c12fe0
close #331
4 years ago
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