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
7dc777531e Fix self-signed ssl cert subj for Docker and rebuild on image creation 2022-08-14 14:48:07 -07:00
Eggbertx
35a4dfc7b1 Don't use gclog for gochan-migrate 2022-08-14 14:27:58 -07:00
Eggbertx
1b4c7ee389
Merge pull request #64 from gochan-org/deepsource-fix-9f8047af
Replace with Promise#resolve or Promise#reject
2022-08-13 23:40:12 -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
Eggbertx
9bd4aee381
Merge pull request #63 from gochan-org/deepsource-fix-00ac5259
Remove unnecessary whitespace
2022-08-13 17:07:41 -07:00
deepsource-autofix[bot]
eec9f85aa4
Remove unnecessary whitespace 2022-08-14 00:07:27 +00:00
Eggbertx
2e3cfcc30d Don't fail installation if we find a symlink 2022-08-13 16:58:53 -07:00
Eggbertx
eda67081fa
Merge pull request #62 from gochan-org/deepsource-fix-ab5c995a
Replace  `==`/`!=` with `===`/`!==`
2022-08-13 16:08:33 -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
1d04817f65 Update frontend README 2022-08-11 15:12:09 -07:00
Eggbertx
15bc585424 Use FALSE instead of 0 in gcsql.GetReports because Postgresql doesn't like it 2022-08-09 11:58:12 -07:00
Eggbertx
af93aff9fe Add the ability to edit and delete sections 2022-08-08 15:43:05 -07:00
Eggbertx
43eaa8c980 Fix some stuff in build.py as recommended by deepsource 2022-08-07 22:54:11 -07:00
Eggbertx
dc6cac7213 Add stuff to be able to create a board section from the web interface 2022-08-07 22:32:37 -07:00
Eggbertx
8e3a7c493a Add board sections template and action 2022-08-07 22:02:06 -07:00
Eggbertx
9cc115f0d8 Add eslint to build.py 2022-08-07 18:39:56 -07:00
Eggbertx
cb4d3f4e82 Add persistent QR box setting 2022-08-07 18:05:26 -07:00
Eggbertx
35ae18f8db update gochan.js with changes from deepsource pr 2022-08-05 16:46:43 -07:00
Eggbertx
6e4483debf
Merge pull request #61 from gochan-org/deepsource-fix-e4b56f12
Replace  `==`/`!=` with `===`/`!==`
2022-08-05 16:39:36 -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
fc47afafb5 Add link back to staff dashboard 2022-08-01 16:08:57 -07:00
Eggbertx
5e92cf764f Add indicator to Reports link showing number of reports 2022-08-01 14:15:18 -07:00
Eggbertx
c64103c6b5 Add report dismissal and ability to block reports for a post
Currently, only the admin is allowed to block reports
2022-07-27 11:19:03 -07:00
Eggbertx
326c95a39e Add reports manage page 2022-07-26 12:13:27 -07:00
Eggbertx
c64d7b16e8 Move internal report creation code to gcsql
Also insert the report's timestamp into the report audit table
2022-07-26 11:31:13 -07:00
Eggbertx
90ba350777 Add setting for watched thread timer 2022-07-25 15:57:15 -07:00
Eggbertx
28a53add0a Show correct role on staff dashboard 2022-07-25 14:13:33 -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
7fbdc12b2c Don't show the wordfilter table if there are none 2022-07-25 10:59:48 -07:00
Eggbertx
fc882639d2 Make wordfilters work, resolves issue #44 2022-07-25 10:12:01 -07:00
Eggbertx
84ad96e465 Add Board property to MessagePostContainer 2022-07-25 09:29:00 -07:00
Eggbertx
454ce0ab05 Add cancel button for wordfilter editing 2022-07-22 15:36:24 -07:00
Eggbertx
ee0910da78 Add action to delete wordfilter 2022-07-22 14:56:14 -07:00
Eggbertx
20fce2ab88 Leave a "File deleted" box on posts if only the file is deleted 2022-07-21 19:49:18 -07:00