1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 03:36:22 -07:00
Commit graph

78 commits

Author SHA1 Message Date
Eggbertx
c38816b5df Properly create plugins table on startup, close Lua state on end 2022-12-29 16:58:49 -08:00
Eggbertx
820f5b993b Fix thread upload deletion 2022-12-24 20:53:56 -08:00
Eggbertx
ec34ff9f4a Make naming conventions in templates more consistent with Go conventions 2022-12-22 12:58:18 -08:00
Eggbertx
8a73e1aa13 Use raw message text in recent post query 2022-12-17 17:38:56 -08:00
Eggbertx
92924db1eb Fix deleted uploads not being unlinked when the post is edited 2022-12-17 17:28:31 -08:00
Eggbertx
f7ca807144 Add ability to replace file uploads 2022-12-17 16:30:52 -08:00
Eggbertx
51f00a7983 Fix post editing 2022-12-17 13:34:00 -08:00
Eggbertx
d1f7769cc7 More postgres fixes (building, deletion) 2022-12-13 16:23:16 -08:00
Eggbertx
813b194f27 Start readding postgresql and sqlite support broken by deprecation fixing 2022-12-13 12:44:16 -08:00
Eggbertx
17a326bc17 Make appeals work 2022-11-29 13:10:40 -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
fb708bb6f3 add some board info functions 2022-10-31 12:43:39 -07:00
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