1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-01 22:26:24 -07:00

Update readme, make stuff in consts.js actually constant

This commit is contained in:
Eggbertx 2024-12-08 12:43:14 -08:00
parent 45e587e49e
commit 9b6ec1e33e
3 changed files with 9 additions and 9 deletions

3
.gitignore vendored
View file

@ -19,4 +19,5 @@ node_modules
/frontend/tests/coverage
.parcel-cache
__pycache__
.venv/
.venv/
.vscode/settings.json

View file

@ -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.

View file

@ -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 -}}