Eggbertx
|
c64103c6b5
|
Add report dismissal and ability to block reports for a post
Currently, only the admin is allowed to block reports
|
2022-07-27 11:19:03 -07:00 |
|
Eggbertx
|
c64d7b16e8
|
Move internal report creation code to gcsql
Also insert the report's timestamp into the report audit table
|
2022-07-26 11:31:13 -07:00 |
|
Eggbertx
|
fc882639d2
|
Make wordfilters work, resolves issue #44
|
2022-07-25 10:12:01 -07:00 |
|
Eggbertx
|
84ad96e465
|
Add Board property to MessagePostContainer
|
2022-07-25 09:29:00 -07:00 |
|
Eggbertx
|
20fce2ab88
|
Leave a "File deleted" box on posts if only the file is deleted
|
2022-07-21 19:49:18 -07:00 |
|
Eggbertx
|
97eaabeee3
|
Replace gcsql.NewWordFilter (stub function) with CreateWordFilter
|
2022-07-21 14:56:40 -07:00 |
|
Eggbertx
|
bd32c9ddfd
|
Add function to get board-specific wordfilters and a function to apply wordfilters
|
2022-07-20 15:53:51 -07:00 |
|
Eggbertx
|
f483a2f958
|
Fix post editing
|
2022-07-18 16:54:29 -07:00 |
|
Eggbertx
|
0415b3066a
|
If upload is gif and not bigger than a thumbnail, still create a thumbnail if it's animated
|
2022-06-18 12:49:12 -07:00 |
|
Eggbertx
|
1848e2f073
|
Add function for handling reports
(still needs a lot of work)
|
2022-03-20 23:01:18 -07:00 |
|
Eggbertx
|
42a80fec64
|
Start using transactions in gochan-migrate
|
2022-03-06 10:28:31 -08:00 |
|
Eggbertx
|
8ec05c7efe
|
Move SQL keyword replacement stuff to its own function
|
2022-02-24 17:37:41 -08:00 |
|
Eggbertx
|
d0a6341bf6
|
Add support for sql.Tx transactions to gcsql
|
2022-02-24 17:26:29 -08:00 |
|
Eggbertx
|
3df8dbe88d
|
Alter DBPREFIXwordfilters table if needed on startup
|
2022-02-05 14:18:38 -08:00 |
|
Eggbertx
|
b85c943cf5
|
Add manage page to clear all login sessions for the current user at /manage?action=clearmysessions
Resolves issue #40
|
2022-01-31 22:35:47 -08:00 |
|
Eggbertx
|
f85959c8e3
|
Add wordfilters manage page
|
2022-01-31 09:47:19 -08:00 |
|
Eggbertx
|
b180db94dc
|
Make gcsql package more organized
|
2022-01-30 18:15:15 -08:00 |
|
Eggbertx
|
3addaf57d7
|
Update WordFilter struct to work with modified table
|
2022-01-30 17:19:54 -08:00 |
|
Eggbertx
|
52c3ece854
|
Modify wordfilter table and add hacky db update function
When I get around to actually making gochan-migrate useful, that function will be moved there
|
2022-01-30 15:56:16 -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
|
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
|
16b9b4a92f
|
Make manage action output partlyJSON compatible as part of issue #50
|
2021-12-22 21:13:04 -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
|
5f8e53fb76
|
Add functions for getting thread and board info
|
2021-09-03 15:49:53 -07:00 |
|
Eggbertx
|
c15c173d9d
|
Use built-in driver list to check if config has a valid DBtype
|
2021-08-24 10:57:29 -07: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 |
|
Eggbertx
|
497a3925e0
|
Delete post upload(s) if we get an error
|
2020-07-09 13:08:24 -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
|
b4a827779a
|
Merge branch 'Database_refactor' of github.com:gochan-org/gochan into Database_refactor
|
2020-06-26 18:03:17 -07:00 |
|
Eggbertx
|
4e60807b13
|
Fix issue with gcsql.PrepareSQL not properly handling variables
|
2020-06-26 18:01:25 -07: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
|
225bb518c0
|
Move migration logic to cmd/gochan-migration
|
2020-06-13 21:47:43 +02:00 |
|
comraderat
|
ee8ac770e4
|
Safe branch commit
|
2020-06-13 19:28:20 +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
|
d7fdd1ca19
|
Add normalisation step for bans
|
2020-06-12 15:54:14 +02:00 |
|
comraderat
|
72eb7e5467
|
Fix mariadb connection error
|
2020-06-11 15:24:52 +02:00 |
|
comraderat
|
2b5fe5e415
|
merge commit
|
2020-06-07 16:08:24 +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 |
|