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

1768 commits

Author SHA1 Message Date
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
Eggbertx
094a265c52 add .topbar-section rule to global css 2023-05-24 08:58:42 -07:00
Eggbertx
17cbf85790 Group topbar boards by section by default 2023-05-24 08:55:11 -07:00
Eggbertx
04d0948dc2 Fix errors pointed out by eslint 2023-05-23 12:32:46 -07:00
Eggbertx
8dd98d2abf Properly initialize boolean setting elements 2023-05-23 11:30:57 -07:00
Eggbertx
5be67fe29d Move topbar into its own template file so that it can be overridden
resolves #39
2023-05-23 08:47:27 -07:00
Eggbertx
f186c3fc29
Merge pull request #82 from gochan-org/deepsource-autofix-f6d5a411
fix unused method receiver
2023-05-22 15:09:18 -07:00
deepsource-autofix[bot]
79bae10fa1
refactor: fix unused method receiver
Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep 
the same method signature, omit the receiver name or '_' as it is unused.
2023-05-22 22:09:00 +00:00
Eggbertx
248704ef7e
Merge pull request #81 from gochan-org/deepsource-autofix-6f6a7b61
replace range(len(...)) with enumerate(...)
2023-05-22 15:07:46 -07:00
deepsource-autofix[bot]
a9e9acd211
refactor: replace range(len(...)) with enumerate(...)
Using `range(len(...))` is not pythonic. Python does not have not index-based loops. Instead, it uses collection iterators.  Python has a built-in method `enumerate` which adds a counter to an iterable.
2023-05-22 22:04:59 +00:00
Eggbertx
cdc9b51165
Merge pull request #80 from gochan-org/deepsource-autofix-5ffafad6
remove unnecessary whitespace
2023-05-22 14:56:28 -07:00
deepsource-autofix[bot]
f0bd56c8c0
refactor: remove unnecessary whitespace
Blank lines should not contain any tabs or spaces.
2023-05-22 21:55:26 +00:00
Eggbertx
0b12231f28 Delete recent test post after its creation was confirmed 2023-05-22 13:59:21 -07:00
Eggbertx
c6b80d74df
Merge pull request #79 from gochan-org/deepsource-autofix-bac5a78b
unused parameter should be replaced by underscore
2023-05-22 08:58:15 -07:00
deepsource-autofix[bot]
1d92be6f63
refactor: unused parameter should be replaced by underscore
Unused parameters in functions or methods should be replaced with `_`
(underscore) or removed.
2023-05-22 15:57:55 +00:00
Eggbertx
1de30e01b9
Merge pull request #78 from gochan-org/deepsource-autofix-f96e70c0
use identity check for comparison to a singleton
2023-05-22 08:55:20 -07:00
deepsource-autofix[bot]
65461034c1
refactor: use identity check for comparison to a singleton
Comparisons to the singleton objects, like `True`, `False`, and `None`, should be done with identity, not equality. Use `is` or `is not`.
2023-05-22 15:54:57 +00:00
Eggbertx
e2a1ee4bc3
Merge pull request #77 from gochan-org/deepsource-autofix-4e6f9d96
remove unnecessary whitespace
2023-05-22 08:53:09 -07:00
deepsource-autofix[bot]
4babee6f42
refactor: remove unnecessary whitespace
Blank lines should not contain any tabs or spaces.
2023-05-22 15:52:37 +00:00
Eggbertx
c75a5fed0f Fix issues brought up by deepsource 2023-05-22 08:49:32 -07:00
Eggbertx
15465a7afe Close the QR box if it's visible to get it out of the way 2023-05-19 14:20:14 -07:00
Eggbertx
401ff26369 Add "Log me out everywhere" and "Recent posts" selenium tests 2023-05-19 13:46:55 -07:00
Eggbertx
be483a395e Clear name field before submitting test posts 2023-05-19 13:06:35 -07:00
Eggbertx
95acd98acc Add driver property as shortcut to self.options.driver 2023-05-19 12:55:51 -07:00
Eggbertx
8fad3b87a8 Make single test argument work 2023-05-19 12:52:01 -07:00
Eggbertx
99af2ad64f Separate the tests for better organization 2023-05-18 14:25:30 -07:00
Eggbertx
22e8e83e91 Add missing destination arguments in recent posts 2023-05-16 12:10:28 -07:00
Eggbertx
f2df83464e Catch same file error in build.py installation 2023-05-15 12:25:57 -07:00
Eggbertx
4279cbf089
Merge pull request #76 from gochan-org/deepsource-autofix-b3177e4d
replace template strings with regular string literals
2023-05-14 00:11:26 -07:00
deepsource-autofix[bot]
8860f3dbec
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-05-14 07:10:46 +00:00
Eggbertx
1603a2eb7e Add TypeScript to Deepsource toml file 2023-05-14 00:02:43 -07:00
Eggbertx
4949ccd1d4 Catch KeyboardInterrupt exception in run_cmd and return normally 2023-05-13 23:56:19 -07:00
Eggbertx
caaae0c547 Update build.py frontend building command 2023-05-13 23:49:19 -07:00
Eggbertx
3d423e9623 Switch to TypeScript for frontend 2023-05-13 23:46:41 -07:00
Eggbertx
5e8804b9d2 Log error in rebuild boards action if it fails 2023-05-13 09:07:48 -07:00
Eggbertx
d2ace418fa Move default configuration values to a struct 2023-05-10 14:06:40 -07:00