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

1244 commits

Author SHA1 Message Date
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
Eggbertx
4216751847 Add db_query() and db_scan_rows() to plugin system (still in progress) 2023-04-22 16:32:32 -07:00
Eggbertx
761074d6b2 Add a few more event triggers, to be triggered only once 2023-04-20 08:25:21 -07:00
Eggbertx
ae7350e1c5
Merge pull request #74 from grosa1/fix/dockerfile-smell-DL3025
Fix for Dockerfile smell DL3025
2023-04-16 16:51:14 -07:00
grosa1
ccac77ca73 Fix for Dockerfile smell DL3025
Signed-off-by: grosa1 <g.rosa1@studenti.unimol.it>
2023-04-16 13:12:09 +02:00
Eggbertx
f0c13f21ba Make image metadata stripping (via exiftool) work 2023-04-15 10:43:00 -07:00
Eggbertx
d33b64cf95 remove tick printing in temp cleaner 2023-04-14 13:32:17 -07:00
Eggbertx
522783e103 Clean up temp post cleaner 2023-04-14 12:41:06 -07:00
Eggbertx
4420011125 Fix thumbnailing for very very short videos 2023-04-14 12:17:09 -07:00
Eggbertx
423dd25713 Correct extensions for video uploads (missing period at beginning) 2023-04-14 08:46:24 -07:00