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 |
|
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
|
ee0910da78
|
Add action to delete wordfilter
|
2022-07-22 14:56:14 -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
|
9f5f5c697c
|
Make wordfilter creation work
|
2022-07-21 16:11:23 -07:00 |
|
Eggbertx
|
462f1b3c6a
|
Make wordfilter editing work
|
2022-07-21 15:50:38 -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
|
c97aa9fdc7
|
Remove .log from end of log paths
|
2022-07-18 16:40:24 -07:00 |
|
Eggbertx
|
bc8e30828a
|
Add function for getting the path relative to the site's WebRoot
|
2022-07-18 12:34:43 -07:00 |
|
Eggbertx
|
9d0c8d4149
|
Fix bug with thumbnails not being created even if image is bigger than a thumbnail
(bug introduced in commit 0415b3066a )
|
2022-06-25 18:20:25 -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
|
703cd41c9c
|
add config.SetVersion call to gcplugin.TestStructPassing
|
2022-06-01 15:33:46 -07:00 |
|
Eggbertx
|
7e87a9ec10
|
Test value modification with gcplugin.TestStructPassing
|
2022-06-01 15:05:26 -07:00 |
|
Eggbertx
|
a8ed56983f
|
Remove unnecessary userdata object from gcplugin.TestStructPassing()
|
2022-06-01 14:39:52 -07:00 |
|
Eggbertx
|
495399eae7
|
Add simple plugin loader
(though it doesn't do anything useful yet)
|
2022-06-01 14:17:27 -07:00 |
|
Eggbertx
|
dd77ca9eff
|
Use gzlog to rotate logs after they reach 1 MB
TODO: make the max log size configurable
|
2022-05-12 22:39:00 -07:00 |
|
Eggbertx
|
5bfbeabf13
|
Fix a bunch of large value copies as suggested by deepsource
|
2022-05-12 11:28:15 -07:00 |
|
Eggbertx
|
6d1e95b307
|
Set Content-Type in serverutil.ServeJSON and serverutil.ServeErrorPage
|
2022-04-24 17:13:00 -07:00 |
|
Eggbertx
|
9cf9edebf7
|
move serveJSON to public function in serverutil
|
2022-04-10 16:01:42 -07:00 |
|
Eggbertx
|
1a104391ec
|
Redirect to referer on report submission
|
2022-04-05 21:51:08 -07:00 |
|
Eggbertx
|
6dea1fab31
|
Update build.py and gochan to better follow the FHS
NOTE NOTE NOTE NOTE NOTE: You may need to update your configuration
See https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html
|
2022-04-03 16:02:07 -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
|
60fd5451bf
|
Execute board creation SQL before creating dir, resolves issue #27
|
2022-02-24 17:21:33 -08:00 |
|