Thomas Lynch
2a48b10054
Fix duplicate key in projectedsettings for board settings, and make custompages jsons get removed on deleting custom page.
...
Close #479 add endpoints for board and global settings.json to api with options that would be useful for a 3rd party app. Add the associated tasks, calls to them in settings.
Small change and add comments in lib/build/render.
2 years ago
Thomas Lynch
c8ebf9a579
Improvement to grid v1 to allow customising, allowing for something like this.
...
-true characters
-false characters
-question text
Make optional (and add additional options for) some filters/effects
-paint
-line
-wave
2 years ago
Thomas Lynch
bb582c2de8
"helpers" -> "lib
...
god help anybody who gets serious merge conflicts from this
close #434
2 years ago
Thomas Lynch
4f525b6613
move, rename, reorganise "helpers" => "lib"
2 years ago
Thomas Lynch
e511c67efa
Make roles update on edits and fix map imports, so the role names show correctly after edt
3 years ago
Thomas Lynch
993924a5f2
Start making roles editable ref #377
...
permtemplates are now roles.
They are in the db and can be edited.
Still have to do a few things like the migration, gulpfile and some small details.
3 years ago
Thomas Lynch
8bd41eabd0
ref #377 "template names", else "Custom" in accounts/staff table
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
fb6c0fa52f
custom links for archive/reverse, close #373
3 years ago
Thomas Lynch
f606cd186a
change permission setting from number to dropdown with names, thanks some_random_guy
...
and some related css tweak and faq page update
3 years ago
Thomas Lynch
75faad7914
hcaptcha site key fix
3 years ago
Thomas Lynch
ee40042957
add package.json version to renderlocals
4 years ago
Thomas Lynch
06bac65200
add global announcements, now that there is global settings, DUH close #301
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
1c5f14e419
This did not go as planned
4 years ago
dolphin
d51aa143a8
Add in hcaptcha support.
4 years ago
Thomas Lynch
f4910dcf7e
bugfix re: thing i'm trying in 1399dda5fd
4 years ago
Thomas Lynch
1399dda5fd
Json routes will hit backend & get 404'd there,
...
allows for pages with missing json that arent prebuilt to build when json route is hit,
without requiring html pageload first better for api
4 years ago
Thomas Lynch
646cc551b7
More configuration and bit less ugly config layout for captcha
4 years ago
Thomas Lynch
60d36bbb6a
Make a bit more maintainable, support different captcha types with some config options
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
fatchan
84b9bdb578
Dont show webring link in navbar if disabled reference #145
4 years ago
fatchan
dfc453ef81
fixes #137 , not even a regression. i dont think that ever worked
4 years ago
fatchan
a6e6f1d244
prep for disable login/create board link depending on settings and perms
4 years ago
fatchan
ab7ac2558a
add short commit hash as v?= query of important scripts and css for updates, to cache bust on updates for public site
4 years ago
fatchan
6bf88f9a84
show max filesize in postform for files
5 years ago
fatchan
b63e684422
fix some awaits in build tasks and make lock ttl configurable
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
ac0cb93b06
remove themes from footer, prep for settings UI, add code theme to board settings
5 years ago
fatchan
045716de78
add deleteold as a separate tool to delete files in dir older than a tiemstamp, and then prune older than 30 days logfiles with generating the modlog list
5 years ago
fatchan
6d3f2c9895
minor typographical changes
5 years ago
fatchan
47280caced
theme switcher with js in footer, overrides for all pages
5 years ago
fatchan
d5bd6a600e
implementing global limits for board settings and configurable defaults for board creation
5 years ago
fatchan
143ea5a0a0
start of json api read only for boards, threads, catalog, banners
5 years ago
fatchan
d8f98a67cb
configurable theme per board, and default in config
5 years ago
fatchan
d899a31bbe
no more lmx. since we have redis, use it for redlock and connect-redis for sessions instead of mongo
5 years ago
fatchan
1e467fdc45
locks for writing html files, also might need to add during dedupe to prevent file incs changing while pruning
5 years ago
fatchan
d233e17733
render return directly for build on load page instead of , and show count for days on modlog list
5 years ago
fatchan
73edb8d51c
non-greedy markdown, and add faq+custom pags to gulpfile
5 years ago
fatchan
7c57fca366
organise the helpers some
5 years ago
fatchan
5da9e123c0
add some homepage info, and remove inaccurate renderstart from foot
5 years ago
fatchan
5172ffc251
who decided that was a good way to do tripcodes
5 years ago
fatchan
bca87c06ed
render opengraph correctly for video, spoilers and no-thumb images, and show render time in ms at bottom of page.
5 years ago
fatchan
0c2f4ae7ec
blur spoilers instead of black box
5 years ago
fatchan
b3431baadf
improved configuration options -- settings for opengraph url/sitename and render template cache
5 years ago
fatchan
9aff8a6031
cache compiled function for templates
5 years ago
fatchan
5158893bbc
move to an immediate build strategy to prevent issues with active pages rebuilding excessively on quick successive request
5 years ago
fatchan
a818a25e91
generate and save html to disk. actions that would cause a page to change delete the html. on the next visit, nginx will try_files, else pass to the backend which will generate the page again. CURRENTLY DOES NOT SUPPORT POST ACTIONS e.g. deletes, spoiler, sticky, etc will not cause pages to be deleted for future rebuilding. thats coming in next commits. consider this the start of actual smart building strategy to prevent templating and db hits unnecessarily. where its possible to serve a plain html page, we will do so.
5 years ago
fatchan
d956a7fd53
changes to pages for boards again
5 years ago
fatchan
17b6a0a47f
add helper to render pug template to html file
5 years ago