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

1453 commits

Author SHA1 Message Date
Eggbertx
4264b8eeec Set Content-Type header to application/json when a post is submitted 2023-06-22 10:46:04 -07:00
Eggbertx
1facbdcd48 Fix setting value not showing correctly for checkboxes 2023-06-22 08:14:37 -07:00
Eggbertx
fba38c859b Add no-trailing-spaces eslint rule 2023-06-22 07:46:04 -07:00
Eggbertx
d1c539a2c1 Don't escape post HTML in recent posts page 2023-06-17 11:51:52 -07:00
Eggbertx
7c116dafc6 Backend: Return JSON when post is submitted via QR
Frontend: request thread and trigger update from returned JSON
2023-06-16 12:06:26 -07:00
Eggbertx
36ce238dff Remove extraneous prints 2023-06-16 09:54:52 -07:00
Eggbertx
ad66026020 Appropriately show staff dropdown options according to rank 2023-06-16 09:48:59 -07:00
Eggbertx
a073aa49f3 Add dropdown item to ban post IP 2023-06-16 09:29:38 -07:00
Eggbertx
af4572ea5c Prevent error when scanning filename if filename is NULL 2023-06-16 08:52:10 -07:00
Eggbertx
9ae29a93cf Clean up front page recnet posts query 2023-06-16 08:42:17 -07:00
Eggbertx
856d7e7572 Add information to readme about plugins/events 2023-06-16 08:41:23 -07:00
Eggbertx
6ff58f8da4 Enforce strong equality checking by eslint 2023-06-15 14:38:57 -07:00
Eggbertx
609c8cbc7f
Merge pull request #83 from gochan-org/deepsource-autofix-8b21a663
replace template strings with regular string literals
2023-06-15 14:01:40 -07:00
deepsource-autofix[bot]
f210e82a8c
refactor: replace template strings with regular string literals
Template literals are useful when you need:  1. [Interpolated strings](https://en.wikipedia.org/wiki/String_interpolation).
2023-06-15 21:01:00 +00:00
Eggbertx
8014aaf4fb Prevent post from still being inserted if an error was encountered during upload 2023-06-15 13:45:32 -07:00
Eggbertx
20ba75cd5d Use ServeError instead of ServeErrorPage when handling captcha request errors 2023-06-15 13:28:05 -07:00
Eggbertx
d62520591a Use ServeError instead of ServeErrorPage when handling upload errors 2023-06-15 12:15:12 -07:00
Eggbertx
49d9b0ae20 Replace distinct filenames Go plugin with Lua plugin 2023-06-15 11:53:36 -07:00
Eggbertx
6644f90e6a Replace link TLD checking Go plugin with Lua plugin 2023-06-15 11:43:05 -07:00
Eggbertx
b1d182b4eb Treat recover data as string in MakePost log 2023-06-15 11:41:19 -07:00
Eggbertx
d1316ab576 Add SQL test with single row, fix lua method calls 2023-06-15 10:52:51 -07:00
Eggbertx
de6218b3c6 Add option to sort log lines ascending or descending 2023-06-15 08:54:16 -07:00
Eggbertx
c6ab62eebf Add client-side filtering to log view 2023-06-14 17:12:40 -07:00
Eggbertx
7f07139430 Add manage page for viewing the main log (non-access) 2023-06-14 14:37:45 -07:00
Eggbertx
1276b3524a Add TLD checking plugin 2023-06-14 13:31:29 -07:00
Eggbertx
8b42d4102e Don't double-log if an event recovered from a panic 2023-06-12 08:50:45 -07:00
Eggbertx
6d22c86df1 Add message-pre-format event trigger 2023-06-09 15:16:34 -07:00
Eggbertx
381dd42a28 Prevent applying link to the argument of a url bbcode tag 2023-06-09 13:44:33 -07:00
Eggbertx
37ba7ccd6a Render URLs as links 2023-06-09 10:50:11 -07:00
Eggbertx
51832082a9 Use testify assertions in test functions 2023-06-09 10:15:41 -07:00
Eggbertx
9ad584b035 Remove unused BoardListConfig 2023-06-09 09:35:42 -07:00
Eggbertx
0acfca8452 make watcherInterval not a constant 2023-06-07 14:35:25 -07:00
Eggbertx
5e5c417c17 forgot to add rendered error pages 2023-06-07 14:34:54 -07:00
Eggbertx
7b42cd7c78 Fix image paths in error pages 2023-06-07 14:21:08 -07:00
Eggbertx
76d6c02045 Add password updating 2023-06-07 14:18:02 -07:00
Eggbertx
d92ec3a647 Add password confirmation box 2023-06-06 14:29:16 -07:00
Eggbertx
9b61dde7c8 Make actino registration functions for individual staff roles private 2023-06-06 13:44:42 -07:00
Eggbertx
b845f52f64 Properly handle accessing all-access staff page when logged out 2023-06-06 13:37:49 -07:00
Eggbertx
deecf483ac Show error page if user enters invalid password 2023-06-06 13:02:17 -07:00
Eggbertx
1aeaf328a7 Remove no longer used critical structure tag 2023-06-05 13:29:04 -07:00
Eggbertx
599e92bdf4 Add a native sample plugin for showing Gochan info to the admin 2023-06-05 13:25:54 -07:00
Eggbertx
0174cbf1ec Delete the post if an issue occured attaching the upload 2023-06-05 12:35:11 -07:00
Eggbertx
51b01cb1a4 check if plugin_path is None type 2023-06-05 12:34:07 -07:00
Eggbertx
9d91df4735 add command line option to build gochan-compatible Go plugin 2023-06-05 12:21:59 -07:00
Eggbertx
6a7f938d04 Add support for native Go plugins 2023-06-02 15:16:47 -07:00
Eggbertx
6edca0edee Add error return value to event function 2023-06-02 15:16:17 -07:00
Eggbertx
60750cfc6e Fix typo in mkdir sometimes causing errors 2023-06-02 14:46:49 -07:00
Eggbertx
ee8af4a2bd Use boards instead of staff table for sql plugin example 2023-06-02 13:45:17 -07:00
Eggbertx
aca2a9abea Update dependencies 2023-06-02 13:04:12 -07:00
Eggbertx
de078c3065 Simplify adding custom thumbnails 2023-06-02 12:52:18 -07:00