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
Eggbertx
a514dc9b84
Add gochan-migration to release
2023-05-02 14:42:00 -07:00
Eggbertx
33371d3e86
Recover and log stack trace if panic is called in post or manage handler
2023-05-02 14:39:31 -07:00
Eggbertx
eb2cf5e712
Update config file with new config options, update to-do list in README
2023-04-28 15:07:53 -07:00
Eggbertx
75c112279f
fix version string for consistency
2023-04-28 14:49:18 -07:00
Eggbertx
c6c425011f
Make automatic filename/checksum filtering via dropdown work
2023-04-28 14:44:00 -07:00
Eggbertx
97e09b2c17
Only show upload resolution on post if upload has valid resolution (width and height > 0)
2023-04-28 13:48:54 -07:00
Eggbertx
00c93dccd7
Don't try to expand a clicked thumbnail if the upload isn't an image or a video
2023-04-28 13:02:51 -07:00
Eggbertx
adff364ee3
Make the db_scan_rows plugin function work
2023-04-27 08:57:13 -07:00
Eggbertx
530011be61
Enable processing of files with extensions explicitly allowed by the admin
2023-04-26 13:23:12 -07:00
Eggbertx
ef5a9f49c3
Add webp, zip, pdf uploading support
2023-04-26 13:10:38 -07:00
Eggbertx
23b3ffee59
Merge pull request #75 from gochan-org/dependabot/npm_and_yarn/frontend/yaml-and-htmlnano--removed
...
Bump yaml and htmlnano in /frontend
2023-04-25 16:52:11 -07:00
dependabot[bot]
3d613732d6
Bump yaml and htmlnano in /frontend
...
Removes [yaml](https://github.com/eemeli/yaml ). It's no longer used after updating ancestor dependency [htmlnano](https://github.com/posthtml/htmlnano ). These dependencies need to be updated together.
Removes `yaml`
Updates `htmlnano` from 2.0.2 to 2.0.4
- [Release notes](https://github.com/posthtml/htmlnano/releases )
- [Changelog](https://github.com/posthtml/htmlnano/blob/master/CHANGELOG.md )
- [Commits](https://github.com/posthtml/htmlnano/compare/2.0.2...2.0.4 )
---
updated-dependencies:
- dependency-name: yaml
dependency-type: indirect
- dependency-name: htmlnano
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 06:18:22 +00:00
Eggbertx
8a64297e4d
Don't build legacy db files by default
2023-04-24 11:57:09 -07:00
Eggbertx
20ab2397f1
Build gochan on first run in startup script
2023-04-23 21:56:49 -07:00
Eggbertx
608ff24d9a
Move chain command in Dockerfile CMD to startup script, update Go version in Docker
2023-04-23 20:52:41 -07:00