Eggbertx
6567da3300
Add de-deprecation stuff (will not build yet)
2022-10-11 14:26:31 -07:00
Eggbertx
d23d8ccd8a
Add selenium test for moving threads
2022-09-28 12:49:53 -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
d2c5015714
Replace deprecated ioutil imports
2022-09-08 15:45:29 -07:00
Eggbertx
ce4893db39
Delete thread json file along with html file
2022-09-08 13:58:36 -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
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
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
35a4dfc7b1
Don't use gclog for gochan-migrate
2022-08-14 14:27:58 -07:00
Eggbertx
4c867d2180
use Header().Set instead of Header().Add for replacing HTTP headers
2022-08-05 15:26:22 -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
f483a2f958
Fix post editing
2022-07-18 16:54:29 -07:00
Eggbertx
f307fd2a5f
Remove unused links from page footer
2022-07-18 16:20:31 -07:00
Eggbertx
0950a5320f
Delete post element if dropdown delete action is used
2022-07-03 17:55:27 -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
5bfbeabf13
Fix a bunch of large value copies as suggested by deepsource
2022-05-12 11:28:15 -07:00
Eggbertx
cf5e1b95d7
Don't show Delete file on posts without uploads
2022-04-25 20:34:53 -07:00
Eggbertx
8e417c0640
Have returned JSON error show the given boardid
2022-04-24 17:26:56 -07:00
Eggbertx
fc2e181735
Add JSON serving for post deletion errors
2022-04-10 19:05:56 -07:00
Eggbertx
9cf9edebf7
move serveJSON to public function in serverutil
2022-04-10 16:01:42 -07:00
Eggbertx
307a626063
Make post reporting from JS actually work
2022-04-06 00:23:04 -07:00
Eggbertx
1a104391ec
Redirect to referer on report submission
2022-04-05 21:51:08 -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
a2d6d88d08
Get rid of outdated/no longer used migration stuff
2022-03-01 17:34:40 -08:00
Eggbertx
d0a6341bf6
Add support for sql.Tx transactions to gcsql
2022-02-24 17:26:29 -08:00
Eggbertx
8840693a8b
Add function to check if Pre2021 migration is already complete
...
(still need to do kusaba x and tinyboard)
2022-02-19 14:55:45 -08:00
Eggbertx
69fb7c9d31
Move post migration methods a separate file
2022-02-17 22:45:47 -08:00
Eggbertx
74b5c38fe6
Don't automatically move the files
...
This may eventually change so files can be moved or copied in the future
2022-02-10 17:11:10 -08:00
Eggbertx
64123e8e6b
Add stuff for migrating boards to gochan-migration
2022-02-09 10:32:36 -08:00
Eggbertx
3491a7b7b8
Add methods for handling board, thread, staff, etc migration
2022-02-09 09:10:24 -08:00
Eggbertx
c388ef3984
Reopen gochan-migration development
2022-02-07 18:28:27 -08:00
Eggbertx
636fe77e01
Put gochan's migration tool on indefinite hiatus.
...
RIP gochan-migrate :(
2021-12-18 18:49:22 -08: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
9a9e775283
Add some more tables to gochan-migrate pre2021 pkg
2021-08-20 15:55:51 -07:00
Eggbertx
c0c84209ef
Add some tables for migrating pre-2021 databases
2021-08-15 22:19:51 -07:00
Eggbertx
9c75b85eb3
Add configuration documentation, finish cfg refactoring
2021-08-01 22:44:53 -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
2382b30af1
Move minifier functions to serverutil package
...
gcutil should only be used for stuff that doesn't require configuration
2021-03-25 14:42:46 -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
comraderat
773112d1c6
Remove wordfilter migration
...
Wordfilter is unused in current gochan codebase,
Remove migrating sql to make it simpler
Make staff reference in wordfilter non-null again
(Making it nullable was a compromise for migrating)
2020-07-08 19:44:17 +02:00
comraderat
988324b82a
Fix number linking
2020-07-08 19:44:16 +02:00
comraderat
5152b3edf5
Fix bugs
2020-06-30 17:11:36 +02:00
comraderat
a1df373935
Remove temporary code. Wrap up.
2020-06-29 23:37:17 +02:00