1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-13 11:26:22 -07:00
Commit graph

43 commits

Author SHA1 Message Date
Eggbertx
17cbf85790 Group topbar boards by section by default 2023-05-24 08:55:11 -07:00
Eggbertx
5be67fe29d Move topbar into its own template file so that it can be overridden
resolves #39
2023-05-23 08:47:27 -07:00
Eggbertx
d2ace418fa Move default configuration values to a struct 2023-05-10 14:06:40 -07:00
Eggbertx
0f0c9362eb Add thread attributes manage page 2023-01-28 15:23:44 -08:00
Eggbertx
90065cf8fa Add lua functions for getting configuration, registering manage page, and loading/parsing templates 2023-01-06 20:13:58 -08:00
Eggbertx
e87915ecb9 Use more transactions, and replace getNextFreeID with getLatestID 2022-12-24 12:25:23 -08:00
Eggbertx
598c5a04ff Add name ban manage page 2022-12-06 16:52:16 -08:00
Eggbertx
538050068f Add appeals management page 2022-11-30 10:20:31 -08:00
Eggbertx
adb032d2ed readd filename banning page
Related to issue #28
2022-11-18 16:47:25 -08:00
Eggbertx
bfac3ef93c Make ban adding (sorta) work again 2022-11-17 16:32:28 -08:00
Eggbertx
34688190e2 Update IP ban interface for new gcsql API 2022-11-16 15:11:55 -08:00
Eggbertx
5154aa93cc Pass Error and info events to manage action callback functions 2022-11-10 12:18:13 -08:00
Eggbertx
e89ff62c65 update ip ban checking template functions 2022-11-09 10:56:38 -08:00
Eggbertx
b16fdc81b8 Fix building errors for de-deprecation 2022-11-09 10:15:37 -08:00
Eggbertx
379e846daf Add filename and username banning, add more de-deprecation stuff to posting/post.go 2022-11-07 12:56:51 -08:00
Eggbertx
6567da3300 Add de-deprecation stuff (will not build yet) 2022-10-11 14:26:31 -07:00
Eggbertx
2b12801c60 Add move thread page
Separate post move, edit, and deletion from server for better organization
2022-09-23 15:50:18 -07:00
Eggbertx
943c0f6221 Add filebans staff action, related to issue #28
though currently it can only view, not add new bans
2022-09-15 21:37:56 -07:00
Eggbertx
ee61fcb30f Replace gclog/gzlog with structured logging via zerolog 2022-09-04 14:27:14 -07:00
Eggbertx
36fbf6d45d Add IP search tool 2022-08-27 23:37:59 -07:00
Eggbertx
8e3a7c493a Add board sections template and action 2022-08-07 22:02:06 -07:00
Eggbertx
326c95a39e Add reports manage page 2022-07-26 12:13:27 -07:00
Eggbertx
bc8e30828a Add function for getting the path relative to the site's WebRoot 2022-07-18 12:34:43 -07:00
Eggbertx
f85959c8e3 Add wordfilters manage page 2022-01-31 09:47:19 -08:00
Eggbertx
8e706a313c Make template for recent posts page
Also make manage page h1 headers automatic
2022-01-29 23:47:13 -08:00
Eggbertx
1be572dc40 Add filename truncating template function 2022-01-27 21:35:28 -08:00
Eggbertx
a4149d4c5d Separate post into separate template 2022-01-27 21:02:37 -08:00
Eggbertx
f820de079a Make the staff dashboard page useful 2022-01-07 14:44:42 -08:00
Eggbertx
b2318af7a3 Use generic page header for manage pages, add login template 2022-01-04 17:48:46 -08:00
Eggbertx
a6a37bb29f Use template for staff manage page 2021-11-29 21:53:47 -08:00
Eggbertx
77380750ae Finish separating config into separate structs 2021-07-11 16:30:39 -07:00
Eggbertx
dfdb926d71 Add partially refactored configuration changes 2021-07-11 11:51:29 -07:00
Eggbertx
c385a39bec Add config option to set max age for staff cookies
resolves  #41
2021-03-26 11:10:05 -07:00
Eggbertx
8ccd217ff0 Add mp4 support 2021-03-24 11:44:50 -07:00
Eggbertx
cb7913398c Make config loading more flexible and powerful
Improve value validation, allow for defaults and set critical fields
2021-03-02 17:42:07 -08:00
Eggbertx
55317504a1 Fix anti-patterns pointed out by DeepSource
But not the switch fallthroughs/expression lists, there's no benefit
2020-07-09 15:54:31 -07:00
Eggbertx
e6838817fd Replace GcError struct usage with builtin error
Creating it was probably a bad idea and not worth the trouble.
2020-06-06 09:28:45 -07:00
Eggbertx
feec3d87e8 replace (most) uses of builtin error with *gcutil.GcError 2020-05-28 12:49:41 -07:00
comraderat
049207881a Add html truncating 2020-05-27 20:23:00 +02:00
comraderat
193913bcb4 Changes formatted message to template.HTML 2020-05-24 18:56:24 +02:00
comraderat
9bb7b3f86c Fix missing template messages 2020-05-22 17:35:59 +02:00
comraderat
8395e64cbf Fix template loading 2020-05-22 17:26:06 +02:00
Eggbertx
d1292bd9fe refactor/reorganize gochan's source code into subpackages
Also use Go version 1.11 in vagrant for module support
2020-04-29 17:44:29 -07:00