956 Commits

Author SHA1 Message Date
Storm Dragon
c86921ea65 Hopefully fixed lockup bug. 2025-08-16 19:57:19 -04:00
Storm Dragon
022b9ba048 Updated README. 2025-06-16 18:02:24 -04:00
Storm Dragon
e04da00bc4 Moved mumblebot.py to bragi.py so the entry point will be more intuitive. 2025-06-16 18:01:09 -04:00
Storm Dragon
947ec68754 More cleanup, merged pymumble into the project so I don't have to maintain 2 separate things, tested working version. 2025-06-14 00:23:09 -04:00
Storm Dragon
bfbfe30be4 Removed docker support. 2025-06-13 18:55:22 -04:00
Storm Dragon
de270bc842 Second wave of initial code changes. 2025-06-13 18:53:38 -04:00
Storm Dragon
b1e21af243 Initial commit of Bragi fork. 2025-06-13 18:52:37 -04:00
azlux
2760a14f01 Update README.md 2024-05-14 16:33:58 +02:00
Jeremy Baxter
0977b56385 improve documentation in example configuration file (#386)
Improve sentence structure, general grammar, consistency and
correct some incorrect setting names. Also wrap lines at roughly
82 columns for easier viewing.
2024-05-13 18:14:58 +02:00
azlux
97d47d7073 Same python3 version 2023-10-26 17:39:35 +02:00
Azlux
c7c87a02de fix path 2023-10-26 13:31:27 +02:00
Azlux
010907f1b5 Rollback docker build change 2023-10-26 11:36:46 +02:00
azlux
c590ab8eb1 Remove arm 32bits build
Removed since there are no node build for armv6 anymore
2023-10-24 17:27:44 +02:00
p00rt
2d145a0585 Fix the web interface & update the Dockerfile (#378)
* fix: update paths

* fix: change path

* fix: build the full image in one step

---------

Co-authored-by: knoflook <knoflook@disroot.org>
2023-10-24 17:07:58 +02:00
azlux
cc8fd9c30f Update Dockerfile
https://docs.python.org/3.12/library/ssl.html#ssl.wrap_socket
Fonction removed into python 3.12, todo
2023-10-24 17:02:49 +02:00
veltlion
6e5e21ba52 Fix thumbnail and add flac metadata capabilities (#380)
* fix thumbnail

* add flac cover capabilities
2023-10-17 14:36:33 +02:00
azlux
a3204ff7de Bot: TRADUORA Update (#376)
* Bot: Update translation
2023-08-03 18:36:00 +02:00
duarm
f046a3c177 using os.path.split() instead of regex (#375) 2023-07-31 23:43:44 +02:00
luca0N!
f67e837cd9 Fix `ytsearch -n' next page issue (#373) (#374)
* Fix `ytsearch -n' next page issue (#373)

Fix an issue which caused the `ytsearch' to improperly fill the shortlist when used with `-p' to query the next search page.

* Fix code syntax

Add empty line removed in the previous commit.
2023-07-31 12:08:43 +02:00
azlux
970d9366b2 Merge pull request #367 from azlux/bot-traduora
Bot: TRADUORA Update
2023-07-18 11:16:09 +02:00
azlux
52b1b18aaf use cover.jpg in folder if present
Merge pull request #369 from duarm/master
2023-07-18 11:14:42 +02:00
duarm
07ac4015ca use cover.jpg in folder if present 2023-07-17 20:18:48 -03:00
Traduora Bot
3ea66bae8f Bot: Update translation 2023-07-04 00:13:31 +00:00
azlux
9f032c3a57 Merge pull request #366 from Eswcvlad/master
Fix YouTube package update logic
2023-07-03 11:06:55 +02:00
XenonPK
bb179ebc23 Add bots option to exclude other bot users from autoplay logic (#301)
* Add bots option to exclude other bot users from autoplay logic
* Refactor get_user_count_in_channel to make it more readable
* Remove commandline option and rename config key for "bots"
* Remove --bots from argparse
* Correct when_nobody_in_channel_ignore config read typo
* Fix when_nobody_in_channel_ignore configuration read order
2023-07-03 10:42:40 +02:00
Vlad Lipskiy
8c9bfd03f4 Fix YouTube package update logic
As of now, the update command fails with an IndexError using current
versions of pip. If a package is already of the latest version, there is
no "Requirement already up-to-date" line present anymore. And since
nothing is installed, there is no "Successfully installed" string
either, so it fails later. So now it checks, that "Collecting yt-dlp"
line is missing instead. This works in older versions of pip as well.

Another issue is that since botamusique uses yt-dlp now instead of
youtube-dl, it was trying to update the wrong package. So the package
name was extracted as a constant and was changed to yt-dlp.

Additional minor fix in the output message. Before there was no spacing
between the botamusique version message and the YouTube package one. Now
it starts on a separate line.
2023-06-25 03:00:05 +03:00
azlux
6115a0d3ee Merge pull request #363 from kac-/fix-yt-0
fix: util: clear_tmp_folder: exclude invalid symlinks
2023-05-30 22:55:33 +02:00
kac-
5582d14101 fix: util: clear_tmp_folder: exclude invalid symlinks 2023-05-30 11:49:37 +02:00
Terry Geng
bd9f9bc432 Merge pull request #362 from mweinelt/version-parser-fix
Properly fix version handling with packaging>=22.0
2023-05-29 10:14:45 -04:00
Terry Geng
9f83cec7bf Merge pull request #359 from azlux/dependabot/npm_and_yarn/web/yaml-and-postcss-loader--removed
build(deps): bump yaml and postcss-loader in /web
2023-05-29 10:12:37 -04:00
Terry Geng
898082714a Merge pull request #347 from azlux/dependabot/npm_and_yarn/web/ansi-regex-and-ansi-regex-5.0.1
build(deps): bump ansi-regex in /web
2023-05-29 10:11:23 -04:00
Terry Geng
524df97578 Merge pull request #352 from azlux/dependabot/npm_and_yarn/web/minimatch-3.1.2
build(deps): bump minimatch from 3.0.4 to 3.1.2 in /web
2023-05-29 10:11:14 -04:00
Terry Geng
dd99f21d7b Merge pull request #346 from azlux/dependabot/npm_and_yarn/web/nth-check-and-renderkid-2.1.1
build(deps): bump nth-check and renderkid in /web
2023-05-29 10:11:05 -04:00
Martin Weinelt
2a204988c3 Properly fix version handling with packaging>=22.0
Both the current version and the last startup version can be unparsable.

Hence we now just catch the resulting exception and reset the version
to the new version, which may or may not be parsable, which we'll find
out on the next start up. But either way this prevents crashes from
unparsable versions in the database.
2023-05-29 16:03:47 +02:00
azlux
e313d4ef0d Fix an option, cleanup typos & wording.
Merge pull request #361 from Irets/typo_cleanup
2023-05-10 14:47:44 +02:00
irets
fa7ca16aa6 Edit to keep form with rest of the file 2023-05-09 19:59:25 +03:00
Irets
34b1df4150 Update README.md 2023-05-09 14:15:12 +00:00
irets
f437bd25bf Fix option name in README & improve wording. 2023-05-09 16:54:01 +03:00
Irets
0533a68b48 Update configuration.example.ini 2023-05-09 13:15:57 +00:00
irets@navi
b21b54ac9f Fix an option, cleanup typos & wording. 2023-05-09 13:23:36 +03:00
dependabot[bot]
88f04e5f6f build(deps): bump yaml and postcss-loader in /web
Removes [yaml](https://github.com/eemeli/yaml). It's no longer used after updating ancestor dependency [postcss-loader](https://github.com/webpack-contrib/postcss-loader). These dependencies need to be updated together.


Removes `yaml`

Updates `postcss-loader` from 4.1.0 to 7.2.4
- [Release notes](https://github.com/webpack-contrib/postcss-loader/releases)
- [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/postcss-loader/compare/v4.1.0...v7.2.4)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
- dependency-name: postcss-loader
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 19:10:45 +00:00
Thomas Durieux
bf321cfda4 chore: update Dockerfile to reduce the image size (#353) 2023-02-20 20:42:42 +01:00
Azlux
eb4c63db89 fix for git version 2023-01-10 02:24:20 +01:00
dependabot[bot]
8c63d08ffc build(deps): bump loader-utils from 1.4.1 to 1.4.2 in /web (#348)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 01:26:08 +01:00
dependabot[bot]
85f9a80b1b build(deps): bump minimatch from 3.0.4 to 3.1.2 in /web
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 13:37:18 +00:00
dependabot[bot]
88740822b8 build(deps): bump json5 from 1.0.1 to 1.0.2 in /web (#350)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 14:36:52 +01:00
dependabot[bot]
08951e8d93 build(deps): bump ansi-regex in /web
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) and [ansi-regex](https://github.com/chalk/ansi-regex). These dependencies needed to be updated together.

Updates `ansi-regex` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

Updates `ansi-regex` from 4.1.0 to 5.0.1
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 20:15:14 +00:00
dependabot[bot]
9aaa8ccf93 build(deps): bump nth-check and renderkid in /web
Bumps [nth-check](https://github.com/fb55/nth-check) and [renderkid](https://github.com/AriaMinaei/RenderKid). These dependencies needed to be updated together.

Updates `nth-check` from 1.0.2 to 2.1.1
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v1.0.2...v2.1.1)

Updates `renderkid` from 2.0.4 to 2.0.7
- [Release notes](https://github.com/AriaMinaei/RenderKid/releases)
- [Commits](https://github.com/AriaMinaei/RenderKid/compare/2.0.4...2.0.7)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
- dependency-name: renderkid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 20:15:14 +00:00
dependabot[bot]
495114a62c build(deps): bump loader-utils from 1.4.0 to 1.4.1 in /web (#345)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 21:14:43 +01:00
Dexter Gaon-Shatford
8a1202bad3 fix(web): fix response to periodic POST requests (#344)
The reason POST requests were being responded to with 400 is that in the
assignment of payload, the request.json member is used if request.form
evaluates as false, but accessing request.json results in an error for
some requests, even though flask docs claim that the value will simply
be `None`.

resolves #339
2022-11-02 20:38:49 +01:00