Commit Graph

885 Commits

Author SHA1 Message Date
e9bb9d3489 fix(cmd): Sanitize empty url input for !playlist 2022-01-25 09:21:29 -05:00
37666c7daf feat(config): Detect unexpected config items from config files. 2022-01-21 23:58:49 -05:00
9ba27207ea fix(config): Reorganize 2022-01-21 23:23:25 -05:00
763cc960a6 fix(web): Button display problem after set delete_allowed to False. 2022-01-21 23:22:43 -05:00
81b78fa8e3 feat(config): Moved delete_allowed to [bot] section,
Now it works for both command and web interface.

Implemented #293.
2022-01-21 23:22:43 -05:00
a034d2a85d docs: Update the Matrix channel of Mumble. 2022-01-21 11:12:31 -05:00
508811cd2a Merge pull request #309 from knector01/master
Allow changing bot avatar
2022-01-21 09:40:16 -05:00
89c3131bb7 Merge pull request #308 from KrakatauiHD/master
Fix logfile rotation (small fix)
2022-01-21 09:37:21 -05:00
fd2c41eb9c feat: Add avatar config option 2022-01-20 21:18:02 -07:00
f8a71058f0 make the rotating logsfiles rotating again 2022-01-20 16:08:25 +01:00
6e3b1cb673 fix(web): Random mode was broken.
Fixes #307.
2022-01-17 21:39:49 -05:00
b0542b955e build: Reverted python-magic-bin back to python-magic.
Added special note for macOS users in README.
2022-01-16 09:23:52 -05:00
6afdc78360 fix(web): Directory selection being wrongly ignored while jumping through pages.
Fix #305.
2022-01-15 22:39:47 -05:00
82fa35d4b0 build: Fix python-magic install. 2022-01-15 22:38:34 -05:00
c624c327c3 fix(audio): Fadein not working properly for mono. 2021-12-13 13:40:36 -05:00
02abdd6389 Merge pull request #300 from azlux/ci
fix(CI): OpenSSL problem in Node v17. Switch back to v16.
2021-12-02 09:16:26 -05:00
6005897276 fix(CI): OpenSSL problem in Node v17. Switch back to v16. 2021-12-02 09:13:37 -05:00
7a5e4938a7 Merge pull request #299 from azlux/pause
fix: Music wrongly started if two people left in channel.
2021-12-02 09:10:05 -05:00
3e1f810b0e fix: Music wrongly started if two people left in channel.
Fix #298
2021-12-02 08:31:56 -05:00
9b9b4e40ce upgrade debian base 2021-10-27 02:29:59 +02:00
81ff7c3039 temporary change to yt-dlp
#296 and #297
2021-10-27 02:13:00 +02:00
100a5d66d9 Merge pull request #295 from parnikkapore/fix_extend_print
Remove tracing from media/playlist.py/extend()
2021-09-24 08:46:03 -04:00
d60b53838e Remove tracing from media/playlist.py/extend() 2021-09-24 20:00:37 +08:00
3733353170 Merge pull request #291 from SeanFxyz/patch-1
Update pipe_no_wait function to work on FreeBSD
2021-09-01 12:19:37 +02:00
5224610654 Update pipe_no_wait function to work on FreeBSD
This very small change made the bot work on my FreeBSD server. Haven't had any issues so far.
2021-08-31 20:07:48 -07:00
75c54f2258 Merge pull request #290 from kusky3/master
update config
2021-08-18 10:32:33 +02:00
5436aee3c8 Update configuration.default.ini 2021-08-18 06:23:28 +02:00
743ca552a6 Update configuration.example.ini 2021-08-18 06:22:21 +02:00
ba02cdebf2 radio: don't get stuck on mpd http streams
Merge pull request #285 from mweinelt/mpd-radio-stream
2021-06-01 23:39:44 +02:00
48d54beffd radio: don't get stuck on mpd http streams
MPD HTTP streaming provide the media content at every URL thrown at the
HTTP backend. So requests for shoutcast and icecast metadata get stuck
receiving the actual media content, instead of the expected metadata.

The conclusion is to only request these metadata files, when they're not
actually advertised as audio or video content types in a HEAD request.
2021-06-01 23:16:22 +02:00
6faadd6669 feat: Add config option redirect_stderr.
Proposed in #282.
2021-05-26 11:29:22 +08:00
efab8928f5 fix: Failure caused by welcome message sent by the server.
Fixes #281.
2021-05-26 09:25:04 +08:00
3200c83fd0 Merge pull request #280 from TerryGeng/racing
fix: Racing condition happens when editing playlist.
2021-05-24 09:35:56 +08:00
b65e7b2bcc fix: Racing condition happens when editing playlist. Fixes #279. 2021-05-24 09:26:23 +08:00
33a9e75ba9 Merge pull request #269 from mweinelt/auto_fetch_changelog
Allow opt-out to fetching changelogs on updates
2021-05-19 22:37:39 +08:00
32191bfd9a Merge pull request #277 from TerryGeng/uncached
fix: Removing items during validation breaks validation
2021-05-18 17:51:47 +08:00
cb95e25178 Improve robustness of command parsing
Merge pull request #273 from mweinelt/robust-commandparser
2021-05-18 01:15:29 +02:00
55daddb774 fix: Removing items during validation breaks validation
Fix #266.
2021-05-16 23:48:07 +08:00
1c283654fd Unescape HTML in URLs parsed from user input
Merge pull request #275 from mweinelt/url-unescape-html
2021-05-16 16:30:50 +02:00
849a0a0843 Only fetch changelog, when auto-updates are enabled
Fixes: #268
2021-05-16 16:15:39 +02:00
faddf4c6c2 Unescape HTML in URLs parsed from user input
Escapes tokens like & to &, so GET parameters are correctly preserved.

Fixes: #274
2021-05-16 15:04:50 +02:00
b0e3e65caf Fix playlist items over multiple attemps
Merge pull request #276 from mweinelt/fix-playback-attempts
2021-05-16 15:04:25 +02:00
e6d12e36c7 Don't accumulate playlist items over multiple attemps
Playlist items would previously have been added once for each attempt,
due to items being scoped differently than the playlist parsing
attempts. Each attempt would add to the playlist every time, since we
only returned outside the attempts loop.
2021-05-16 05:51:42 +02:00
f9cc9c7872 Merge pull request #272 from mweinelt/catch-indexerror-on-empty-message
Don't assume text messages have a first character in command parsing
2021-05-16 09:06:48 +08:00
e6592f5c22 Don't assume text messages have a first character in command parsing
Fixes: #271
2021-05-16 02:53:12 +02:00
efcd19eab7 update nodejs lib
#SECURITY
2021-05-15 23:28:21 +02:00
abc8c72c7f adding type debug 2021-05-15 22:45:11 +02:00
f36611f07b add support for setting bot bandwidth
feat: Add support for setting bandwidth
Changes the default bandwidth value to 96000
2021-05-05 01:04:46 +02:00
72595f20fc fix: Cookies for Youtube query (#264) 2021-04-24 12:53:52 +08:00
61748c199a feat: Allow users to specify a cookie when querying youtube.
See #263.
2021-04-23 23:02:04 +08:00