Terry Geng and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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
Terry Geng
b0ace7b67a
refactor(ysearch): Use youtube-dl cookie file instead of redundant cookie config item.
2022-02-01 21:08:15 -05:00
Terry Geng
a0eb5b39c3
fix(config): Define all fallback in configuration.default.ini.
2022-02-01 21:08:15 -05:00
Terry Geng
e9bb9d3489
fix(cmd): Sanitize empty url input for !playlist
2022-01-25 09:21:29 -05:00
Terry Geng
37666c7daf
feat(config): Detect unexpected config items from config files.
2022-01-21 23:58:49 -05:00
Terry Geng
9ba27207ea
fix(config): Reorganize
2022-01-21 23:23:25 -05:00
Terry Geng
763cc960a6
fix(web): Button display problem after set delete_allowed to False.
2022-01-21 23:22:43 -05:00
Terry Geng
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
Terry Geng and GitHub
a034d2a85d
docs: Update the Matrix channel of Mumble.
2022-01-21 11:12:31 -05:00
Terry Geng and GitHub
508811cd2a
Merge pull request #309 from knector01/master
...
Allow changing bot avatar
2022-01-21 09:40:16 -05:00
Terry Geng and GitHub
89c3131bb7
Merge pull request #308 from KrakatauiHD/master
...
Fix logfile rotation (small fix)
2022-01-21 09:37:21 -05:00
Terry Geng
6e3b1cb673
fix(web): Random mode was broken.
...
Fixes #307 .
2022-01-17 21:39:49 -05:00
Terry Geng
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
Terry Geng
6afdc78360
fix(web): Directory selection being wrongly ignored while jumping through pages.
...
Fix #305 .
2022-01-15 22:39:47 -05:00
Terry Geng
82fa35d4b0
build: Fix python-magic install.
2022-01-15 22:38:34 -05:00
Terry Geng
c624c327c3
fix(audio): Fadein not working properly for mono.
2021-12-13 13:40:36 -05:00
Terry Geng and GitHub
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
Terry Geng
6005897276
fix(CI): OpenSSL problem in Node v17. Switch back to v16.
2021-12-02 09:13:37 -05:00
Terry Geng and GitHub
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
Terry Geng
3e1f810b0e
fix: Music wrongly started if two people left in channel.
...
Fix #298
2021-12-02 08:31:56 -05:00
Terry Geng and GitHub
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
Terry Geng
6faadd6669
feat: Add config option redirect_stderr.
...
Proposed in #282 .
2021-05-26 11:29:22 +08:00
Terry Geng
efab8928f5
fix: Failure caused by welcome message sent by the server.
...
Fixes #281 .
2021-05-26 09:25:04 +08:00
Terry Geng and GitHub
3200c83fd0
Merge pull request #280 from TerryGeng/racing
...
fix: Racing condition happens when editing playlist.
2021-05-24 09:35:56 +08:00
Terry Geng
b65e7b2bcc
fix: Racing condition happens when editing playlist. Fixes #279 .
2021-05-24 09:26:23 +08:00
Terry Geng and GitHub
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
Terry Geng and GitHub
32191bfd9a
Merge pull request #277 from TerryGeng/uncached
...
fix: Removing items during validation breaks validation
2021-05-18 17:51:47 +08:00
Terry Geng
55daddb774
fix: Removing items during validation breaks validation
...
Fix #266 .
2021-05-16 23:48:07 +08:00
Terry Geng and GitHub
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
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
Terry Geng and GitHub
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
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 and Traduora Bot
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
Terry Geng and Traduora Bot
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
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
Terry Geng
014086305d
fix: Bot failed when executing 'mode random'
2020-11-11 16:46:05 +08:00
Terry Geng
c48bba869f
CI: Fix if statement.
2020-11-01 10:08:38 +08:00
Terry Geng and Traduora Bot
f94782c9d7
Bot: Reformat translation
2020-11-01 02:00:08 +00:00
Terry Geng
9feae440cc
CI: Get reformated translation after pushing to the translation server.
2020-11-01 09:58:24 +08:00
Terry Geng
ec786375ed
CI: Fixed typo.
2020-11-01 09:45:18 +08:00
Terry Geng
4bef53c948
CI: Push translation: Fixed wrong branch to push.
2020-10-31 23:47:17 +08:00
Terry Geng and GitHub
fad31bb858
Merge pull request #218 from SnejPro/patch-1
...
Update de_DE.json
2020-10-31 23:41:58 +08:00
Terry Geng
d07f676ff6
CI: Fix wrong path for python.
2020-10-31 22:42:37 +08:00
Terry Geng
5c5120e3d7
CI: Setup pushing-translation procedure in CI.
2020-10-31 22:37:07 +08:00
Terry Geng
716b106f6c
refactor: Move check for update into utils.
2020-10-30 20:47:50 +08:00
Terry Geng and GitHub
cb8a0cff78
chore: More updates in the README.
2020-10-25 15:55:04 +08:00
Terry Geng and GitHub
f40450e3e0
chore: Update README to include the minimal python version required.
2020-10-25 15:28:39 +08:00
Terry Geng
312599e8b3
feat: Allow deletion of music files to be disabled in the config file. Implement #202 .
2020-10-24 22:17:55 +08:00
Terry Geng
fceb50e894
fix: crash triggering by stop and play when playlist is empty, fixed #206 .
2020-09-20 09:53:16 +08:00
Terry Geng
e25fe1fb0b
chore: Add descriptions about translations in the README file
2020-08-17 21:17:45 +08:00
Terry Geng
14668bb2b8
fix: Avoid truncating last ~100ms of music when playing.
...
Somehow subprocess.poll() will return before all music stream has been retrieved from stdout of the ffmpeg thread, causing the last bit of the stream being truncated.
Fixed #199 .
2020-07-25 21:39:00 +08:00
Terry Geng
b3fe43cb18
feat: Enhance debug log.
2020-07-25 18:00:50 +08:00
Terry Geng
87763ce9e4
chore: Update readme.
2020-07-21 10:32:01 +08:00
Terry Geng
2304b9e67a
fix(web): Tags filter broken.
2020-07-21 10:29:46 +08:00
Terry Geng
8472604fdc
feat: Return a valid json if playlist/library query result is empty, implement #175 .
2020-07-14 19:44:24 +08:00
Terry Geng
56399c499f
feat: Prompt the position of the song added by cli. Implement #186 .
2020-07-14 19:20:12 +08:00
Terry Geng
80c6fbda8d
fix(CI): Fixed typo.
2020-07-13 21:02:03 +08:00
Terry Geng and GitHub
fbd551c701
Merge pull request #191 from azlux/translate_bot
...
Fix translate bot
2020-07-13 20:56:18 +08:00
Terry Geng
8844d08857
refactor(CI): Move scripts into scripts/
2020-07-13 20:52:08 +08:00
Terry Geng
936f841841
fix(CI): Check if PR exists before push.
2020-07-13 12:22:03 +08:00
Terry Geng
46cb0387fc
fix(CI): Fetch before commit.
2020-07-13 07:55:01 +08:00
Terry Geng
c598487d31
fix(CI): Wrong person to push the translation.
2020-07-12 23:00:52 +08:00
Terry Geng
c030ff0088
fix(CI): Wrong branch to push.
2020-07-12 21:16:16 +08:00
Terry Geng
7fc9211e19
chore(CI): Add Github Token.
2020-07-12 20:13:56 +08:00
Terry Geng
505122725a
chore(CI): Avoid failing if no update in the translation when doing the cron job.
2020-07-12 19:21:52 +08:00
Terry Geng
dd1d81c232
chore(CI): Pushing translation in a separate step.
2020-07-12 18:50:59 +08:00
Terry Geng and GitHub
0da652da10
Merge pull request #187 from azlux/translate
...
i18n support, with traduora
2020-07-12 18:22:50 +08:00
Terry Geng
da8337a4e9
chore(CI): run build procedure for PR.
2020-07-12 16:05:11 +08:00
Terry Geng
97309599f1
feat: Add translation populating procedure for the web interface.
2020-07-12 16:05:11 +08:00
Terry Geng
9f2c4a2afd
refactor: Add suffixes to translation file.
2020-07-12 14:26:08 +08:00
Terry Geng
f4e6589a0e
refactor: Update sync translation logic.
2020-07-12 11:45:51 +08:00
Terry Geng
36b0e7c399
chore: Add default en_US translation file.
2020-07-12 11:45:51 +08:00
Terry Geng
ff2688fae1
feat: Unknown language strings fall back to en_US.
2020-07-12 11:45:51 +08:00
Terry Geng
f76bb2ab2a
feat: Push local strings into traduora if writable secrets are set.
2020-07-12 11:45:51 +08:00
Terry Geng
9e2e09e5fd
feat: Load language file in lang/ instead of the ini file.
2020-07-12 11:45:51 +08:00
Terry Geng
e84607b8e8
refactor: Rename constants.string into tr.
2020-07-12 11:45:51 +08:00
Terry Geng
4e541a7622
refactor: Separate backend and frontend, avoid template-filling on the fly. Resolve #158 .
2020-07-12 11:41:27 +08:00
Terry Geng
6133c6f0b5
chore: Parse changelog in markdown into html
...
when publishing release.
2020-07-08 10:13:42 +08:00
Terry Geng
c9b170d865
fix: Regex bug when parsing time.
2020-07-07 21:44:10 +08:00
Terry Geng
892fa502e6
feat: Apply the fade-in trick to the beginning of the stream.
2020-07-07 21:42:24 +08:00
Terry Geng
dbe25cec8e
fix: add "video" into supported MIME types when uploading files
2020-06-30 17:15:00 +08:00
Terry Geng and GitHub
5768f20053
Merge pull request #176 from TylerVigario/node-flow-cleanup
...
Cleanup artifacts from node build flow
2020-06-22 15:37:25 +08:00
Terry Geng and GitHub
fa246553a9
Merge pull request #159 from TylerVigario/node-build-flow
...
Implement Node build flow
2020-06-21 22:22:15 +08:00