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

213 commits

Author SHA1 Message Date
Eggbertx
2314005ba1 Add more manage code 2022-10-31 12:27:41 -07:00
Eggbertx
6567da3300 Add de-deprecation stuff (will not build yet) 2022-10-11 14:26:31 -07:00
Eggbertx
fb71d95b5f Make thread moving work 2022-09-28 10:25:10 -07:00
Eggbertx
2b12801c60 Add move thread page
Separate post move, edit, and deletion from server for better organization
2022-09-23 15:50:18 -07:00
Eggbertx
bcad625368 Add filename and checksum ban creation and deletion from web interface
Related to issue #28
2022-09-15 22:50:45 -07:00
Eggbertx
943c0f6221 Add filebans staff action, related to issue #28
though currently it can only view, not add new bans
2022-09-15 21:37:56 -07:00
Eggbertx
d2c5015714 Replace deprecated ioutil imports 2022-09-08 15:45:29 -07:00
Eggbertx
17833e78ad remove more gclog calls from gcsql 2022-09-03 15:25:50 -07:00
Eggbertx
ffcf4a1e61 remove logging from gcsql except where necessary (it should be done elsewhere) 2022-09-03 14:51:37 -07:00
Eggbertx
9542949413 Remove file i/o from gcsql package for better organization 2022-09-03 14:13:49 -07:00
Eggbertx
5b5d5ab3ec Replace sqlmock with sqlite3 for unit testing gcsql package 2022-09-01 22:42:06 -07:00
Eggbertx
ec7b3901ed Remove extra debug printing string 2022-09-01 09:43:31 -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
d5c9d4e657 Fix manage postinfo action 2022-08-28 11:55:08 -07:00
Eggbertx
36fbf6d45d Add IP search tool 2022-08-27 23:37:59 -07:00
Eggbertx
fbfc2a1435 Properly check the post cooldown 2022-08-18 16:48:21 -07:00
Eggbertx
4c4bbda60e Add missing argument to ExecSQL for post editing 2022-08-15 12:55:59 -07:00
Eggbertx
0e93ac8e1d add is_cleared to reports audit 2022-08-14 16:20:02 -07:00
Eggbertx
8284ecf9b9 Set is_cleared on report inserting to avoid "no default value" errors 2022-08-14 15:35:58 -07:00
Eggbertx
15bc585424 Use FALSE instead of 0 in gcsql.GetReports because Postgresql doesn't like it 2022-08-09 11:58:12 -07:00
Eggbertx
af93aff9fe Add the ability to edit and delete sections 2022-08-08 15:43:05 -07:00
Eggbertx
dc6cac7213 Add stuff to be able to create a board section from the web interface 2022-08-07 22:32:37 -07:00
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