comraderat
|
ee1a6e1b8d
|
Named all constraints that need explicit names
This way they can be dropped in later versions.
|
2020-06-11 14:51:37 +02:00 |
|
comraderat
|
e3036d302f
|
Stopped deleting sessions table on server close
|
2020-06-11 13:21:50 +02:00 |
|
comraderat
|
2b5fe5e415
|
merge commit
|
2020-06-07 16:08:24 +02:00 |
|
comraderat
|
da1e9c9eca
|
Merge branch 'Database_refactor' of https://github.com/gochan-org/gochan into Database_refactor
|
2020-06-07 15:56:53 +02:00 |
|
Eggbertx
|
418468ff97
|
remove unnecessary GcLogger struct, use exported functions instead
|
2020-06-06 12:52:12 -07:00 |
|
Eggbertx
|
9ab597be64
|
Prevent gclog.Println from adding an extra newline
Also add more thorough gclog testing
|
2020-06-06 09:56:13 -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
|
40ce904a10
|
Add ES6 frontend so far
Not fully stable yet
|
2020-06-03 15:43:35 -07:00 |
|
Eggbertx
|
d1bcaa52b4
|
Fix crash when checking/printing error in posting.MakePost
|
2020-06-03 14:00:55 -07:00 |
|
Eggbertx
|
75dbaa4676
|
Add command line option to rebuild templates on startup
|
2020-06-03 12:54:12 -07:00 |
|
comraderat
|
0277d88301
|
Drop sqlite support in sql
Move migration sql
|
2020-06-01 22:44:26 +02:00 |
|
comraderat
|
c69072f00f
|
Fix erd
|
2020-05-30 22:44:09 +02: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 |
|
comraderat
|
e064af8488
|
Fix erd
|
2020-05-30 21:28:42 +02:00 |
|
comraderat
|
d4e50121b5
|
Moved migration function inside version handler
Prevents accidental calling with invalid value.
|
2020-05-30 11:38:08 +02:00 |
|
Eggbertx
|
feec3d87e8
|
replace (most) uses of builtin error with *gcutil.GcError
|
2020-05-28 12:49:41 -07:00 |
|
Eggbertx
|
6d61137f9e
|
Show correct file/line number in logs
|
2020-05-28 12:49:02 -07:00 |
|
comraderat
|
8196bde692
|
Add versioning code
|
2020-05-27 23:02:29 +02:00 |
|
comraderat
|
42e4f4717b
|
Move adding version to last sql new database statement
|
2020-05-27 21:42:09 +02:00 |
|
comraderat
|
f08fbb324c
|
Fix catalog
|
2020-05-27 21:32:15 +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
|
092aa8aede
|
Removed any reference to board.html
Board.html used to be a symbolic link to 1.html.
Now uses 1.html directly verywhere, fixing a bug where the board
couldnt rebuild
|
2020-05-27 20:50:49 +02: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 |
|
Eggbertx
|
604c776dbf
|
Add error type
|
2020-05-23 12:00:15 -07:00 |
|
comraderat
|
e28671ecc2
|
Fix errors
|
2020-05-23 20:40:48 +02:00 |
|
comraderat
|
00af5bf928
|
Removed symlink call to link frontpage and 1.html
Symlink isnt supported on windows.
Add 1.html to firstpage field
|
2020-05-23 19:53:12 +02:00 |
|
comraderat
|
2e00b11434
|
Fix some errors
|
2020-05-23 19:40:29 +02:00 |
|
comraderat
|
fa07816eed
|
Add more complete error logging to preparesql
|
2020-05-23 12:29:52 +02:00 |
|
comraderat
|
17db31613c
|
Move build to building package
|
2020-05-23 12:29:12 +02:00 |
|
comraderat
|
1cbb3307e6
|
Chance connect so mariadb ip format same as postgres
Like postgres, mariadb now works without tcp( ) around the ip
|
2020-05-23 11:23:43 +02:00 |
|
comraderat
|
ce1da78361
|
Add option lister to manage endpoint
|
2020-05-22 18:06:15 +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
|
ef26a7a4b0
|
use GOPATH in Makefile clean target
|
2020-05-19 17:50:33 -07:00 |
|
comraderat
|
fb19450fa5
|
Fixed id problem and split multiqueries
|
2020-05-19 23:15:42 +02:00 |
|
comraderat
|
bb54b82630
|
Fixed empty query catch code
|
2020-05-19 23:14:50 +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
|
1b3314499d
|
Change uri to varchar
|
2020-05-17 18:22:36 +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 |
|
Eggbertx
|
19466dd8eb
|
Properly log config issues if value isn't set and msg != ""
|
2020-05-09 09:26:54 -07: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
|
2d45645fba
|
Fix spelling error in database
|
2020-05-06 19:17:58 +02:00 |
|