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

54 commits

Author SHA1 Message Date
Eggbertx
ae179a3762 Add move thread to post dropdown on thread OP (related to issue #36) 2022-09-23 16:15:16 -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
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
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
Eggbertx
e6267a4ae3 Make the quote() function properly use the QR box if enabled 2022-08-12 15:59:58 -07:00
Eggbertx
cb4d3f4e82 Add persistent QR box setting 2022-08-07 18:05:26 -07:00
deepsource-autofix[bot]
bfe50d9f20
Replace ==/!= with ===/!== 2022-08-05 23:38:42 +00:00
Eggbertx
e7777dca74 Update page if post is submitted via QR in thread 2022-08-05 16:29:55 -07:00
Eggbertx
4c867d2180 use Header().Set instead of Header().Add for replacing HTTP headers 2022-08-05 15:26:22 -07:00
Eggbertx
1265576967 Add anchor link to createPostElement
This prevents it from being added to the thread multiple times
2022-08-04 16:44:25 -07:00
Eggbertx
697e9f9e0e Add post dropdowns to loaded posts 2022-08-04 16:35:45 -07:00
Eggbertx
d0a889b369 Format filesize of incoming posts in current thread 2022-08-04 16:19:18 -07:00
Eggbertx
29912238af Format date/time for new post elements 2022-08-04 16:02:26 -07:00
Eggbertx
2544a8f9c2 Add functionality to automatically update current thread 2022-08-04 15:39:11 -07:00
Eggbertx
6b45bb14cd Only do reports request if user is at least a moderator 2022-08-02 16:25:34 -07:00
Eggbertx
5e92cf764f Add indicator to Reports link showing number of reports 2022-08-01 14:15:18 -07:00
Eggbertx
90ba350777 Add setting for watched thread timer 2022-07-25 15:57:15 -07:00
Eggbertx
24cf95f400 Don't add the staff categories for actions the current staff member can't access 2022-07-25 13:35:56 -07:00
Eggbertx
36718ee7fb Make post editing function on dropdown work 2022-07-19 14:24:10 -07:00
Eggbertx
6628669c81 Add Edit post dropdown option 2022-07-19 13:28:01 -07:00
Eggbertx
16e5e84ab9 Prevent invalid cookie characters from causing potentially unexpected behavior with passwords 2022-07-06 13:59:58 -07:00
Eggbertx
0950a5320f Delete post element if dropdown delete action is used 2022-07-03 17:55:27 -07:00
Eggbertx
38d1337198 Add style rules to eslint config 2022-07-01 15:52:51 -07:00