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

1108 commits

Author SHA1 Message Date
Eggbertx
6c4b5a0155 Fix deleted box not centering in recent posts 2022-09-23 15:47:15 -07:00
Eggbertx
2c3429256f Separate access info into separate log file 2022-09-18 15:32:07 -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
bcad625368 Add filename and checksum ban creation and deletion from web interface
Related to issue #28
2022-09-15 22:50:45 -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
6bd8482ad0 Fix broken file link 2022-09-14 13:53:01 -07:00
Eggbertx
3518d95011
Create stale.yml 2022-09-14 13:45:02 -07:00
Eggbertx
7718ee408b Add js output to gitignore 2022-09-14 12:35:02 -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
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
Eggbertx
0d83595cc2
Merge pull request #65 from gochan-org/deepsource-fix-5c13b820
Fix unused method receiver
2022-09-04 14:58:35 -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
2ff9b0df83 Improve staff page logging, fix username getting 2022-09-03 16:19:31 -07:00
Eggbertx
17833e78ad remove more gclog calls from gcsql 2022-09-03 15:25:50 -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
5b5d5ab3ec Replace sqlmock with sqlite3 for unit testing gcsql package 2022-09-01 22:42:06 -07:00
Eggbertx
ec7b3901ed Remove extra debug printing string 2022-09-01 09:43:31 -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
3fa042167e Add sqlmock driver and schema initialization 2022-08-28 19:26:03 -07:00
Eggbertx
e52916199c disable cgo in build.py if it isn't explicitly set 2022-08-28 16:50:53 -07:00
Eggbertx
ede67a260a Add build.py test args for verbosity and coverage 2022-08-28 15:11:50 -07:00
Eggbertx
1e012e2757 Add dropdown action for getting posts from that IP 2022-08-28 14:28:43 -07:00
Eggbertx
d5c9d4e657 Fix manage postinfo action 2022-08-28 11:55:08 -07:00
Eggbertx
36fbf6d45d Add IP search tool 2022-08-27 23:37:59 -07:00
Eggbertx
ed7b4ed3f8 Make manage titles centered and add scroll links 2022-08-23 13:22:16 -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
fbfc2a1435 Properly check the post cooldown 2022-08-18 16:48:21 -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
5ba270cb3f Give the edit post submit button a more appropriate name 2022-08-17 11:21:04 -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
4c4bbda60e Add missing argument to ExecSQL for post editing 2022-08-15 12:55:59 -07:00
Eggbertx
0e93ac8e1d add is_cleared to reports audit 2022-08-14 16:20:02 -07:00
Eggbertx
8284ecf9b9 Set is_cleared on report inserting to avoid "no default value" errors 2022-08-14 15:35:58 -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