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
0f0c9362eb Add thread attributes manage page 2023-01-28 15:23:44 -08:00
Eggbertx
7e80580018 replace ! operator with = FALSE since some SQL providers don't support ! 2023-01-24 09:38:26 -08:00
Eggbertx
4f843d5431 (Re)add next and previous page links
Add not-yet-used function to remove old threads that are past the board's limit
Also add functions to simplify querying with transactions
2023-01-18 12:35:40 -08:00
Eggbertx
64a0f947a7 Add event trigger for incoming uploads, and a sample usage in Lua 2023-01-06 00:02:15 -08:00
Eggbertx
aba84ceed2 Use router package instead of GET parameter for manage pages 2023-01-04 15:33:50 -08:00
Eggbertx
a0a3ed46c8 Add ./sql/ to search for db initialization files 2022-12-29 16:19:15 -08:00
Eggbertx
8b29c4b0e0 fix cookie encoding/decoding 2022-12-24 16:15:09 -08:00
Eggbertx
e87915ecb9 Use more transactions, and replace getNextFreeID with getLatestID 2022-12-24 12:25:23 -08:00
Eggbertx
cad707baf6 Move board JSON data to separate struct 2022-12-20 16:04:47 -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
ab1cbf8831 Properly use sections' hidden attribute 2022-12-17 13:01:29 -08:00
Eggbertx
2c54276b51 replace some more SQL ints with proper bools 2022-12-16 18:08:59 -08:00
Eggbertx
34c03da674 Fix created boards not getting the correct ID if a board was deleted 2022-12-16 16:17:13 -08:00
Eggbertx
61ea25f12d better handling for timestamps between SQL DBtypes 2022-12-15 16:41:05 -08:00
Eggbertx
976d9ad53a Update board in database, fix recent posts error in Postgres 2022-12-14 15:40:56 -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
ff32f13bf5 Fix cooldown checking for databases without any posts 2022-12-08 13:19:03 -08:00
Eggbertx
f38a648f52 Replace references to filename and username wildcard with regex 2022-12-08 08:29:49 -08:00
Eggbertx
598c5a04ff Add name ban manage page 2022-12-06 16:52:16 -08:00
Eggbertx
f2c3a6b1ac Update boardsections staff action for new API 2022-12-05 16:40:56 -08:00
Eggbertx
dec2609591 Make board creation work with new API 2022-12-05 16:18:19 -08:00
Eggbertx
538050068f Add appeals management page 2022-11-30 10:20:31 -08:00
Eggbertx
17a326bc17 Make appeals work 2022-11-29 13:10:40 -08:00
Eggbertx
221d8ed188 Properly sort threads on board page 2022-11-29 09:57:21 -08:00
Eggbertx
c943cdef6a Get the internal thread and treat threadid as op, properly attach upload to post 2022-11-28 17:04:41 -08:00
Eggbertx
8bc5e2148b Make board pages, thread pages, and catalogs render properly 2022-11-28 16:15:20 -08:00
Eggbertx
29c7493715 Make catalog use new post type 2022-11-28 14:00:54 -08:00
Eggbertx
2e732de771 Remove erroneous deprecated import 2022-11-28 12:39:50 -08:00
Eggbertx
6c2931db65 More de-deprecation stuff, also improve error logging 2022-11-28 12:29:15 -08:00
Eggbertx
e6fca7e4c6 Add ability to create new filename and file checksum bans with new api 2022-11-20 16:05:48 -08:00
Eggbertx
5b8c0110af Make file ban deletion work 2022-11-18 16:57:23 -08:00
Eggbertx
adb032d2ed readd filename banning page
Related to issue #28
2022-11-18 16:47:25 -08:00
Eggbertx
9d9a978e68 Add ban deactivateion, with auditing, related to issue #28 and issue #31 2022-11-18 15:42:58 -08:00
Eggbertx
bfac3ef93c Make ban adding (sorta) work again 2022-11-17 16:32:28 -08:00
Eggbertx
34688190e2 Update IP ban interface for new gcsql API 2022-11-16 15:11:55 -08:00
Eggbertx
282ebe2280 Make staff mgmt template compatible with update 2022-11-10 14:47:40 -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
be14983186 add announcements and reports 2022-10-31 12:28:59 -07:00