Eggbertx
e9cbd89e18
Add dedicated chan migration packages
2021-06-24 16:41:26 -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
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
comraderat
773112d1c6
Remove wordfilter migration
...
Wordfilter is unused in current gochan codebase,
Remove migrating sql to make it simpler
Make staff reference in wordfilter non-null again
(Making it nullable was a compromise for migrating)
2020-07-08 19:44:17 +02:00
comraderat
988324b82a
Fix number linking
2020-07-08 19:44:16 +02:00
comraderat
5152b3edf5
Fix bugs
2020-06-30 17:11:36 +02:00
comraderat
a1df373935
Remove temporary code. Wrap up.
2020-06-29 23:37:17 +02:00
comraderat
9dd3876331
Finish database migratory script
2020-06-29 23:15:34 +02:00
comraderat
46b7c6e5e7
Add testing code
2020-06-19 16:26:03 +02:00
comraderat
1539d6b571
Add testing code
2020-06-19 16:23:08 +02:00
comraderat
91661fc4b4
Fix version check
...
Remove temp code
2020-06-19 16:16:47 +02: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
comraderat
31f9c57a35
Add pre-migrate check for missing migrations.
2020-06-14 15:53:06 +02:00
comraderat
225bb518c0
Move migration logic to cmd/gochan-migration
2020-06-13 21:47:43 +02:00
Eggbertx
40c1f48186
Fix json tag, Printf usage, add initial gochan-migration stuff
...
TODO: make gochan-migration actually useful
2020-06-12 11:01:28 -07:00
comraderat
e3036d302f
Stopped deleting sessions table on server close
2020-06-11 13:21:50 +02: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
75dbaa4676
Add command line option to rebuild templates on startup
2020-06-03 12:54:12 -07:00
comraderat
8395e64cbf
Fix template loading
2020-05-22 17:26:06 +02:00
comraderat
9400833242
Implement almost every query
2020-05-14 17:22:36 +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