Martin Weinelt
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
azlux
b0e3e65caf
Fix playlist items over multiple attemps
...
Merge pull request #276 from mweinelt/fix-playback-attempts
2021-05-16 15:04:25 +02:00
Martin Weinelt
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
Terry Geng
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
Martin Weinelt
e6592f5c22
Don't assume text messages have a first character in command parsing
...
Fixes : #271
2021-05-16 02:53:12 +02:00
Azlux
efcd19eab7
update nodejs lib
...
#SECURITY
2021-05-15 23:28:21 +02:00
Azlux
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
dadidji
72595f20fc
fix: Cookies for Youtube query ( #264 )
2021-04-24 12:53:52 +08:00
Terry Geng
61748c199a
feat: Allow users to specify a cookie when querying youtube.
...
See #263 .
2021-04-23 23:02:04 +08:00
Terry Geng
b7232b8bae
fix: Adjust default volume
2021-04-07 15:20:35 +08:00
Terry Geng
384bacf1ef
fix: Join music file path safely.
2021-04-07 15:17:55 +08:00
Azlux
e5f623f6c3
remove html from incoming messages
...
#246
2021-04-03 14:17:41 +02:00
Azlux
ee5a54b33b
add youtube-dl options
...
#258
2021-04-03 13:39:47 +02:00
Azlux
582b0b58da
Add youtube-dl verbose log option
2021-04-03 13:11:54 +02:00
Azlux
7a6cdef65d
Add verbose mode for docker
...
link to #261
2021-04-03 12:55:01 +02:00
Terry Geng
df38c7dbd6
Merge pull request #259 from SeerLite/empty-playlist-message
...
Don't show how to resume if playlist is empty when "when_nobody_in_channel = pause"
2021-03-13 15:44:40 +08:00
SeerLite
736fac28b0
Don't send auto_pause hint message if not paused
2021-03-13 02:44:06 -03:00
SeerLite
17a35c43e3
Avoid auto pausing when playlist is empty
2021-03-13 02:43:40 -03:00
Azlux
e079f948bc
fix import
2021-03-01 12:26:28 +01:00
Azlux
a3b9948b6d
cleaning deleted file "system"
2021-03-01 11:55:44 +01:00
Terry Geng
1637501601
fix: Error when calculating tmp folder size.
...
Instructed the bot to directly ignore errors.
Fixed #224 .
2021-02-28 08:59:48 +08:00
Terry Geng
999252c98b
Bot: Reformat translation
2021-02-22 15:45:19 +00:00
Terry Geng
1f9573b1d5
feat: Whitelist URL feature.
...
In the configuration, `max_duration` can be set to prevent
long song(URL item) being downloaded and added to the
playlist.
This whitelist feature provided a way to override this
duration check: songs being whitelisted will be added to
the playlist no matter how long they are.
Three admin commands are introduced:
- !urlwhitelist (!urlw)
- !urlunwhitelist, (!urlunw)
- !urlwhitelistlist, (!urlwls).
Also, if one song fails due to its length, the bot will
show the length of this song and the max length limit in
the reply message.
Implement #173 , #196 .
2021-02-22 23:44:14 +08:00
Terry Geng
f59062ec1f
refactor: Reformat commands in alphabet order.
2021-02-22 23:44:14 +08:00
Terry Geng
c1671d5eb0
fix: Updated youtube search mechanism.
...
Youtube updated the format of its search result page.
Now it wraps everything into a huge json and made our
life much easier.
Fix #252
2021-02-17 14:22:41 +08:00
Kyle Robbertze
6bc9a9a8e0
Allow music_folder to not have trailing /
2021-02-17 13:00:47 +08:00
Traduora Bot
49779c20ae
Bot: Update translation
2021-01-02 09:43:07 +08:00
Terry Geng
a611df3132
Bot: Reformat translation
2021-01-01 06:42:32 +00:00
Terry Geng
4597824fdb
feat: Added bot command version
to display current version.
...
Requested in #194 .
2021-01-01 14:41:17 +08:00
Terry Geng
101391fe57
fix: template path resolve
2020-12-31 18:06:26 +08:00
Terry Geng
9e07fac5ec
fix: snapshot version not based on newest tag
2020-12-31 17:52:28 +08:00
Terry Geng
23dc9d2460
fix: wrong dir when getting snapshot version
2020-12-31 17:46:26 +08:00
Terry Geng
8870667064
fix: absolute path bug
2020-12-31 11:06:44 +08:00
Terry Geng
f96c9f7f89
fix: lang/ path not found
2020-12-31 11:01:22 +08:00
kusky
1af21a66f8
Update configuration.default.ini ( #237 )
2020-12-14 22:01:24 +08:00
kusky
16345fed1c
Update configuration.example.ini ( #238 )
2020-12-14 22:01:12 +08:00
Azlux
9174ce67ff
Fix #231
...
Check if the lib still online while sending the audio buffer
2020-12-01 12:13:01 +01:00
azlux
19858595d6
Full Docker build ( #234 )
...
* Added multi-stage docker build
* switch dockerfile files
Co-authored-by: ReAnzu <github@reanzu.com>
2020-12-01 01:30:04 +01:00
Terry Geng
2d1430e397
feat: Web Interface: Support HTTP 1.1 Payload for POST requests.
2020-11-30 12:47:36 +08:00
Terry Geng
2546e3b373
fix: Check update not checking update when testing version was selected.
2020-11-30 01:15:09 +08:00
Terry Geng
892a1863e7
fix: Erroneous logic for determining if ffmpeg dies prematurely. Fixed #223 .
2020-11-26 13:09:43 +08:00
Tyler Vigario
ff5b1cb1ee
Upgrade web assets ( #219 )
...
* Update assets
* Upgrade linting and other improvments
* Correct linting
* Correction and type check improvements
* Correct type check lib
* Fix lint pathing for VSCode
* Remove duplicate babel config
* Remove editorconfig root attribute from web subdir
* Use double quotes around message
* Simplify ESLint config
* Update web assets
* Allow AMD loader in WebPack
* Bump web dependencies
* Only include FA icons in-use
2020-11-25 22:08:12 +08:00
azlux
c79d4cf977
Merge pull request #230 from azlux/bot-traduora
...
Bot: TRADUORA Update
2020-11-25 12:08:09 +01:00
Traduora Bot
a2bece851d
Bot: Update translation
2020-11-23 00:11:50 +00:00
azlux
2459969349
Use dockerignore instead of rm -rf .git
...
Merge pull request #226 from andsild/dockerignore
2020-11-17 13:29:41 +01:00
Terry Geng
014086305d
fix: Bot failed when executing 'mode random'
2020-11-11 16:46:05 +08:00
Anders Sildnes
73e52ba945
Use dockerignore instead of "rm -rf .git"
...
This reduces the number of layers in the dockerfile by one
2020-11-09 20:58:23 +01:00
azlux
ff7baabe94
Merge pull request #220 from azlux/bot-traduora
...
Bot: TRADUORA Update
2020-11-05 15:37:53 +01:00
Traduora Bot
e2b8bb50ca
Bot: Update translation
2020-11-02 00:11:50 +00:00