1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-19 20:56:23 -07:00
Commit graph

246 commits

Author SHA1 Message Date
Eggbertx
0ceaecdb8c Add more logging info for wordfilter editing 2022-11-10 12:44:28 -08:00
Eggbertx
07a4b22396 Write to standard output if debug mode is enabled 2022-11-10 12:27:57 -08:00
Eggbertx
5154aa93cc Pass Error and info events to manage action callback functions 2022-11-10 12:18:13 -08:00
Eggbertx
e89ff62c65 update ip ban checking template functions 2022-11-09 10:56:38 -08:00
Eggbertx
879da1eaa2 Fix staff logins 2022-11-09 10:56:10 -08:00
Eggbertx
b16fdc81b8 Fix building errors for de-deprecation 2022-11-09 10:15:37 -08:00
Eggbertx
f5337896b2 Finish migrating posting/post.go 2022-11-07 16:56:50 -08:00
Eggbertx
585c54c772 Add file checksum verification/ban 2022-11-07 16:37:53 -08:00
Eggbertx
379e846daf Add filename and username banning, add more de-deprecation stuff to posting/post.go 2022-11-07 12:56:51 -08:00
Eggbertx
b69536b772 Add IP ban checking function 2022-11-02 16:26:15 -07:00
Eggbertx
912bde25af Make post formatting functions comaptible with de-deprecated code 2022-11-01 08:13:09 -07:00
Eggbertx
45e2a76473 Add top post code, post insertion code, and captcha de code
TODO: revisit captcha to make it less clunky
2022-10-31 12:50:08 -07:00
Eggbertx
3abf174ba2 Add some de-deprecated thread code, and a function for new post insertion 2022-10-31 12:45:50 -07:00
Eggbertx
fb708bb6f3 add some board info functions 2022-10-31 12:43:39 -07:00
Eggbertx
ca6f5fc793 Add de-deprecated wordfilter code 2022-10-31 12:42:32 -07:00
Eggbertx
e789b08492 de-deprecate pkg/building 2022-10-31 12:41:17 -07:00
Eggbertx
be14983186 add announcements and reports 2022-10-31 12:28:59 -07:00
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
2c3429256f Separate access info into separate log file 2022-09-18 15:32:07 -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
deepsource-autofix[bot]
f639fdde6d
Fix unused method receiver 2022-09-04 21:57:01 +00:00
Eggbertx
ee61fcb30f Replace gclog/gzlog with structured logging via zerolog 2022-09-04 14:27:14 -07:00
Eggbertx
2ff9b0df83 Improve staff page logging, fix username getting 2022-09-03 16:19:31 -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
8e3a7c493a Add board sections template and action 2022-08-07 22:02:06 -07:00
Eggbertx
fc47afafb5 Add link back to staff dashboard 2022-08-01 16:08:57 -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
326c95a39e Add reports manage page 2022-07-26 12:13:27 -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
28a53add0a Show correct role on staff dashboard 2022-07-25 14:13:33 -07:00