1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-05 04:36:24 -07:00
Commit graph

31 commits

Author SHA1 Message Date
Eggbertx
90065cf8fa Add lua functions for getting configuration, registering manage page, and loading/parsing templates 2023-01-06 20:13:58 -08:00
Eggbertx
aba84ceed2 Use router package instead of GET parameter for manage pages 2023-01-04 15:33:50 -08:00
Eggbertx
89457e47f7 Replace internal self-generated captcha tests with hcaptcha 2022-12-20 13:13:08 -08:00
Eggbertx
ee61fcb30f Replace gclog/gzlog with structured logging via zerolog 2022-09-04 14:27:14 -07:00
Eggbertx
5b5d5ab3ec Replace sqlmock with sqlite3 for unit testing gcsql package 2022-09-01 22:42:06 -07:00
Eggbertx
9107269a39 Upgrade Go version in vagrant and Docker, readd sqlite3 for real this time
requires intervention for vagrant to add the updated Go repo
2022-08-30 11:30:59 -07:00
Eggbertx
3fa042167e Add sqlmock driver and schema initialization 2022-08-28 19:26:03 -07:00
Eggbertx
272cd54872 Rebuild frontend after pull + dependency updates 2022-07-18 11:12:45 -07:00
Eggbertx
7e87a9ec10 Test value modification with gcplugin.TestStructPassing 2022-06-01 15:05:26 -07:00
Eggbertx
495399eae7 Add simple plugin loader
(though it doesn't do anything useful yet)
2022-06-01 14:17:27 -07:00
Eggbertx
dd77ca9eff Use gzlog to rotate logs after they reach 1 MB
TODO: make the max log size configurable
2022-05-12 22:39:00 -07:00
Eggbertx
a83dd4b49c Update go module files 2022-03-20 17:32:44 -07:00
Eggbertx
e853ef205e Add basic pre2021 sql file for migration testing 2021-06-24 11:27:51 -07:00
Eggbertx
6b7ef77185 Move javascript files to html/js/ for smaller html files
Also add credit to other Gochan developers in LICENSE
2021-04-24 16:56:34 -07:00
Eggbertx
d94d79a7d1 Replace gcutil shims with calls to gcutil functions 2021-04-21 17:03:00 -07:00
Eggbertx
2382b30af1 Move minifier functions to serverutil package
gcutil should only be used for stuff that doesn't require configuration
2021-03-25 14:42:46 -07:00
Eggbertx
59b7a10883 Increase opacity on Photon topbar, add pkg updates
Seems kinda overkill for a slight css change but it makes it clearer
2021-03-22 10:00:26 -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
f9756bf55e Change default gochan installation prefix path to /usr instead of /usr/local 2021-02-22 15:05:16 -08:00
Eggbertx
83d098aa68 Fix build script not actually exiting if build fails 2021-02-04 11:44:19 -08:00
Eggbertx
2e99788426 Finish build.py
Also remove powershell script, modify bootstrap script to use build.py
2020-11-04 20:11:51 -08:00
Eggbertx
485ed84bac Add build.py to eventually replace build.ps1 and Makefile
TODO: add installation code and update README.md
2020-10-23 19:13:06 -07:00
Eggbertx
cd0ffb4f1f Add HTTP support to the vagrant VM 2020-10-11 14:59:06 -07:00
Eggbertx
cba60dc06b Clean up /manage handler, refer to manage functions as actions 2020-10-10 16:17:36 -07:00
Eggbertx
556a0e92f7 Update backend and frontend dependencies 2020-10-08 18:08:14 -07:00
Eggbertx
e375750e97 Replace strings.ReplaceAll with strings.Replace for compatibility 2020-07-27 18:19:56 -07:00
Eggbertx
ba1f49a47c Fix broken thumbnail expansion in frontend refactor
Also remove unnecessary error logging in manage.GetStaffRank
2020-07-08 22:46:05 -07:00
Eggbertx
d51506b2f3 Make gcsql.GetCompleteDatabaseVersion return an int flag instead of a bunch of booleans
Also isolate SQL host address if it is encased in tcp()
2020-06-16 13:31:47 -07:00
Eggbertx
a69b6748c7 Remove SQLite support due to instability 2020-06-15 11:27:14 -07:00
Eggbertx
19466dd8eb Properly log config issues if value isn't set and msg != "" 2020-05-09 09:26:54 -07: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