955 Commits

Author SHA1 Message Date
022b9ba048 Updated README. 2025-06-16 18:02:24 -04:00
e04da00bc4 Moved mumblebot.py to bragi.py so the entry point will be more intuitive. 2025-06-16 18:01:09 -04:00
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
bfbfe30be4 Removed docker support. 2025-06-13 18:55:22 -04:00
de270bc842 Second wave of initial code changes. 2025-06-13 18:53:38 -04:00
b1e21af243 Initial commit of Bragi fork. 2025-06-13 18:52:37 -04:00
2760a14f01 Update README.md 2024-05-14 16:33:58 +02:00
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
97d47d7073 Same python3 version 2023-10-26 17:39:35 +02:00
c7c87a02de fix path 2023-10-26 13:31:27 +02:00
010907f1b5 Rollback docker build change 2023-10-26 11:36:46 +02:00
c590ab8eb1 Remove arm 32bits build
Removed since there are no node build for armv6 anymore
2023-10-24 17:27:44 +02:00
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
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
6e5e21ba52 Fix thumbnail and add flac metadata capabilities (#380)
* fix thumbnail

* add flac cover capabilities
2023-10-17 14:36:33 +02:00
a3204ff7de Bot: TRADUORA Update (#376)
* Bot: Update translation
2023-08-03 18:36:00 +02:00
f046a3c177 using os.path.split() instead of regex (#375) 2023-07-31 23:43:44 +02:00
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
970d9366b2 Merge pull request #367 from azlux/bot-traduora
Bot: TRADUORA Update
2023-07-18 11:16:09 +02:00
52b1b18aaf use cover.jpg in folder if present
Merge pull request #369 from duarm/master
2023-07-18 11:14:42 +02:00
07ac4015ca use cover.jpg in folder if present 2023-07-17 20:18:48 -03:00
3ea66bae8f Bot: Update translation 2023-07-04 00:13:31 +00:00
9f032c3a57 Merge pull request #366 from Eswcvlad/master
Fix YouTube package update logic
2023-07-03 11:06:55 +02:00
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
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
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
5582d14101 fix: util: clear_tmp_folder: exclude invalid symlinks 2023-05-30 11:49:37 +02:00
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
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
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
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
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
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
e313d4ef0d Fix an option, cleanup typos & wording.
Merge pull request #361 from Irets/typo_cleanup
2023-05-10 14:47:44 +02:00
fa7ca16aa6 Edit to keep form with rest of the file 2023-05-09 19:59:25 +03:00
34b1df4150 Update README.md 2023-05-09 14:15:12 +00:00
f437bd25bf Fix option name in README & improve wording. 2023-05-09 16:54:01 +03:00
0533a68b48 Update configuration.example.ini 2023-05-09 13:15:57 +00:00
b21b54ac9f Fix an option, cleanup typos & wording. 2023-05-09 13:23:36 +03:00
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
bf321cfda4 chore: update Dockerfile to reduce the image size (#353) 2023-02-20 20:42:42 +01:00
eb4c63db89 fix for git version 2023-01-10 02:24:20 +01:00
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
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
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
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
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
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
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
6f837cd50d Fix crash when you have repository with no tags (like a forked repo) (#343) 2022-09-09 18:48:10 +02:00