diff --git a/.gitignore b/.gitignore index eadc9efc..fc334aa7 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,5 @@ node_modules /frontend/tests/coverage .parcel-cache __pycache__ -.venv/ \ No newline at end of file +.venv/ +.vscode/settings.json \ No newline at end of file diff --git a/README.md b/README.md index 199f9a2e..90f00c94 100644 --- a/README.md +++ b/README.md @@ -60,12 +60,11 @@ See [`frontend/README.md`](frontend/README.md) for information on working with S ## Roadmap ### Near future +* Fully implement cyclical threads +* Implement +50 * Add more banners * Add more plugin support (more event triggers) -* Improve moderation tools -* Improve API support for existing chan browing phone apps ### Lower priority -* Better image fingerpringing and banning system (as opposed to a hash) * RSS feeds from boards/specific threads/specific usernames+tripcodes (such as newsanon) * Pinning a post within a thread even if its not the OP, to prevent its deletion in a cyclical thread. diff --git a/templates/consts.js b/templates/consts.js index d61f3d5c..990bba2b 100644 --- a/templates/consts.js +++ b/templates/consts.js @@ -1,13 +1,13 @@ -var styles = [ +const styles = [ {{- range $ii, $style := .styles -}} {{if gt $ii 0}},{{end -}} {Name: "{{js $style.Name}}", Filename: "{{js $style.Filename}}"} {{- end -}} ]; -var defaultStyle = "{{js .defaultStyle}}"; -var webroot = "{{js .webroot}}"; -var serverTZ = {{js .timezone}}; -var fileTypes = [ +const defaultStyle = "{{js .defaultStyle}}"; +const webroot = "{{js .webroot}}"; +const serverTZ = {{js .timezone}}; +const fileTypes = [ {{- range $ext, $_ := .fileTypes -}} "{{js $ext}}", {{- end -}}