1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-06 21:46:24 -07:00
Commit graph

190 commits

Author SHA1 Message Date
Eggbertx
f7da3ad9f5 Add request for random banner to server, add code for frontend to use it 2023-04-10 15:13:26 -07:00
Eggbertx
e14e1f176b Clean up connect.go a little and update version for release 2023-03-27 20:11:58 -07:00
Eggbertx
46db3e0abc Fix edit post not letting non-privileged users edit their posts 2023-02-11 15:33:15 -08:00
Eggbertx
69320d5df4 Add lock/unlock option to post dropdown 2023-02-08 12:40:36 -08:00
Eggbertx
76f583e56f Move eslint globals to eslint file 2023-02-03 11:36:48 -08:00
Eggbertx
016bf2a447 Fix qr using the wrong boardid 2023-02-03 11:36:31 -08:00
Eggbertx
43d941c837 Replace all usage of webroot template variable with webPath function 2023-01-04 23:13:59 -08:00
Eggbertx
aba84ceed2 Use router package instead of GET parameter for manage pages 2023-01-04 15:33:50 -08:00
Eggbertx
c5f126ff45 Use proper error message for post deletion and reporting 2023-01-01 15:04:16 -08:00
Eggbertx
c66bf29954 Bump version for hotfix release 2022-12-25 11:08:25 -08:00
Eggbertx
f4e5f5da99 Shrink original filenames client-side on page load and when a new post is added 2022-12-25 00:52:19 -08:00
Eggbertx
23d3cea759 Improve postbox for mobile displays, remove no longer used threadlinks-top from css 2022-12-24 23:58:43 -08:00
Eggbertx
d538014c3b Show error message if post submitted via QR returned an error, fix thread updating 2022-12-24 23:33:31 -08:00
Eggbertx
820f5b993b Fix thread upload deletion 2022-12-24 20:53:56 -08:00
Eggbertx
8b29c4b0e0 fix cookie encoding/decoding 2022-12-24 16:15:09 -08:00
Eggbertx
f333f7ae61 Add captcha copying to QR 2022-12-20 15:45:44 -08:00
Eggbertx
ae179a3762 Add move thread to post dropdown on thread OP (related to issue #36) 2022-09-23 16:15:16 -07:00
Eggbertx
6c4b5a0155 Fix deleted box not centering in recent posts 2022-09-23 15:47:15 -07:00
Eggbertx
c005f01b0a Add post dropdown options to ban the post file's filename and checksum 2022-09-16 00:12:09 -07:00
Eggbertx
943c0f6221 Add filebans staff action, related to issue #28
though currently it can only view, not add new bans
2022-09-15 21:37:56 -07:00
Eggbertx
8e5449f636 Add settings for custom CSS and custom JS 2022-09-14 16:13:55 -07:00
Eggbertx
42cd82f5f5 Add element showing number of watched threads w/ new posts if > 0 2022-09-14 15:27:32 -07:00
Eggbertx
7d70fac114 Move CSS stuff from javascript to global CSS 2022-09-14 14:45:59 -07:00
Eggbertx
623ad0ce13 Update watcher cookie with updated thread info if on the thread's page 2022-09-14 00:32:16 -07:00
Eggbertx
1147519915 Separate watcher menu code into separate file, make it auto update 2022-09-13 23:35:24 -07:00
Eggbertx
fb5ce71720 Add reply counter to watcher menu and watchThread, unwatchThread events 2022-09-09 15:30:29 -07:00
Eggbertx
7d6873c0f7 Start actually using and updating the watcher menu 2022-09-08 16:41:50 -07:00
Eggbertx
ee61fcb30f Replace gclog/gzlog with structured logging via zerolog 2022-09-04 14:27:14 -07:00
Eggbertx
1e012e2757 Add dropdown action for getting posts from that IP 2022-08-28 14:28:43 -07:00
Eggbertx
3b779afb45 Add watcher button (not usable yet), make ordering board sections easier 2022-08-23 12:03:21 -07:00
Eggbertx
db4d3b0977 Apply thumbnail expansion and inline post preview events to AJAX-loaded posts 2022-08-22 21:23:32 -07:00
Eggbertx
62c81a3245 Properly send the upload on ctrl+enter 2022-08-22 20:55:28 -07:00
Eggbertx
32c3846c91 Fix some issues pointed out by eslint 2022-08-22 15:33:03 -07:00
Eggbertx
7f9e040039 Use $.ajax instead of fetch, to avoid compatibility issues 2022-08-21 14:36:05 -07:00
Eggbertx
245ba730eb Properly catch errors in thread API AJAX requests 2022-08-17 14:30:57 -07:00
Eggbertx
692befd8c3 Add filter to postbox file upload 2022-08-17 13:46:28 -07:00
Eggbertx
a4f2a3fe57 Add upload preview to QR 2022-08-17 11:07:11 -07:00
Eggbertx
1c65fb7049 Use proper cooldown in QR, and set submit text accordingly 2022-08-16 12:06:56 -07:00
Eggbertx
68337d6896 Add cooldowns to QR when post is submitted 2022-08-15 16:51:56 -07:00
Eggbertx
0e93ac8e1d add is_cleared to reports audit 2022-08-14 16:20:02 -07:00
Eggbertx
a15c5b8b81 Don't throw an error if /manage?action=actions doesn't return JSON 2022-08-14 15:31:27 -07:00
deepsource-autofix[bot]
d1a755013d
Replace with Promise#resolve or Promise#reject 2022-08-14 06:39:52 +00:00
Eggbertx
d01b686367 Add eslint stuff for JS tests 2022-08-13 23:35:54 -07:00
Eggbertx
81d0bc0946 Start reorganizing frontend source files 2022-08-13 23:18:08 -07:00
Eggbertx
74c443ae42 use localStorage setting for automatically hiding posts on page load 2022-08-13 21:18:25 -07:00
Eggbertx
8803379ced Make post/thread hiding properly hide stuff 2022-08-13 20:29:39 -07:00
Eggbertx
a80f3f05c3 Re-add post/thread hiding 2022-08-13 19:29:33 -07:00
Eggbertx
f0cbfc2858 Make some changes suggested by eslint and deepsource
Mainly semicolon, using more ===, and use "change" instead of "click" event for dropdown menu event
2022-08-13 18:07:04 -07:00
deepsource-autofix[bot]
958786de37
Replace ==/!= with ===/!== 2022-08-13 23:08:08 +00:00
Eggbertx
b774433065 Close the QR box on saving settings if it isn't enabled 2022-08-12 16:23:20 -07:00