Eggbertx
67df39ffd9
Fix board editing, resolves #51
2022-01-16 14:38:57 -08:00
Eggbertx
656c2a3046
Fix board deletion and partially fix modification
2022-01-16 14:11:55 -08:00
Eggbertx
9e82333c47
(re)add board creation related to issue #51
2022-01-16 13:30:33 -08:00
Eggbertx
a0966925cb
Rewrite board edit template, related to issues #51 and #52
2022-01-15 21:20:43 -08:00
Eggbertx
f820de079a
Make the staff dashboard page useful
2022-01-07 14:44:42 -08:00
Eggbertx
62a31e651e
Add utility function for getting file parts
2021-12-15 23:42:07 -08:00
Eggbertx
a4cb06e753
Actually delete the when its post is deleted
2021-12-15 22:49:46 -08:00
Eggbertx
a6a37bb29f
Use template for staff manage page
2021-11-29 21:53:47 -08:00
Eggbertx
dfdb926d71
Add partially refactored configuration changes
2021-07-11 11:51:29 -07:00
Eggbertx
e9cbd89e18
Add dedicated chan migration packages
2021-06-24 16:41:26 -07:00
Eggbertx
8ccd217ff0
Add mp4 support
2021-03-24 11:44:50 -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
83d9bbafdf
Fix bug not reparsing html
2020-07-08 21:00:46 +02:00
comraderat
46735c64d6
Changed versioning table
...
This allows us to more easily make a plugin system
with their own versions without breaking changes
2020-07-04 23:56:46 +02:00
Eggbertx
a69b6748c7
Remove SQLite support due to instability
2020-06-15 11:27:14 -07:00
comraderat
225bb518c0
Move migration logic to cmd/gochan-migration
2020-06-13 21:47:43 +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
comraderat
c84b27d7ce
Started work on migration script for old database
2020-05-30 22:43:01 +02:00
comraderat
f0c1fbba94
Remove unique constraint from section position
2020-05-30 22:40:12 +02:00
Eggbertx
feec3d87e8
replace (most) uses of builtin error with *gcutil.GcError
2020-05-28 12:49:41 -07:00
comraderat
8196bde692
Add versioning code
2020-05-27 23:02:29 +02:00
comraderat
2039958d1e
Remove unique on navbar position for usability.
...
Actually order by navbar position. Then order by name.
2020-05-27 21:18:19 +02:00
comraderat
193913bcb4
Changes formatted message to template.HTML
2020-05-24 18:56:24 +02:00
comraderat
2e00b11434
Fix some errors
2020-05-23 19:40:29 +02:00
comraderat
fb19450fa5
Fixed id problem and split multiqueries
2020-05-19 23:15:42 +02:00
comraderat
26782d05cf
Fix returning and stop export interfaceslice
2020-05-18 20:03:08 +02:00
comraderat
4deb256b67
Add functions to stop double initialisation
2020-05-17 18:23:24 +02:00
comraderat
5841c42033
Refactor to make sections work properly
2020-05-17 17:33:36 +02:00
comraderat
4ace56a661
Changed ip back to varchar for old db compatibility
...
Might change later, or not.
2020-05-17 16:32:22 +02:00
comraderat
9400833242
Implement almost every query
2020-05-14 17:22:36 +02:00
comraderat
d1b888c8ea
Implement more queries, change database slightly
2020-05-14 15:39:49 +02:00
comraderat
68059c28eb
Implement some more queries
2020-05-11 15:20:49 +02:00
comraderat
7e4ea59dbe
Implement queries, remove unused fields in BanInfo
2020-05-08 13:06:34 +02:00
comraderat
cc45cf3858
Implement get all announcements and createboard
2020-05-06 19:25:49 +02:00
comraderat
1020e3ed24
Impl. GetAllSectionsOrCreateDefault & GetBoardUris
2020-05-04 14:21:53 +02:00
comraderat
ebde565479
Implement bans
2020-05-04 14:16:51 +02:00
comraderat
89e09738e5
Implement fileban and some utility functions
2020-05-04 13:57:00 +02:00
comraderat
af146ffeed
Implement sql
2020-05-04 13:46:32 +02:00
comraderat
2bf2d4aa35
Implement Staff sql funcs
2020-05-04 13:46:13 +02:00
comraderat
704d9055b0
Changed SetFormattedInDatabase to send one by one
...
Manually manages stmt object to stop re-formatting
constantly.
2020-05-03 13:37:33 +02:00
comraderat
6eff4c2b97
Implement GetStaffByName
2020-05-03 13:37:33 +02:00
comraderat
5b2e6800a1
Implemented GetStaffName & GetStaffBySession
2020-05-03 13:37:33 +02:00
comraderat
631648222c
Implemented GetReplyFileCount
2020-05-03 13:37:33 +02:00
comraderat
36c073e037
Add InterfaceSlice method, fix error
...
Implemented GetReplyCount, added InterfaceSlice method for easy use of
QuerySQL, fixed and updates GetSpecificTopPost
2020-05-03 13:37:33 +02:00
comraderat
0d8cbff20d
Get and set methods for messages implemented
2020-05-03 13:37:33 +02:00
comraderat
969dca3e98
Replace notimplementen static value with new call
...
To ensure correct handling of stack trace
2020-05-03 11:18:12 +02:00
comraderat
4f925c3622
Extract & implement post retrieval queries
...
Removed unused field in Post table
2020-05-02 20:08:17 +02:00
comraderat
58fd83bad1
Add deprecation tags and remove unused funcs
...
Add deprecation annotation for functions that are not idiomatic to the
new database logic. These functions (and mostly the code that uses them)
will have to be replaced over time to use the new features of the design.
2020-05-01 21:10:59 +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