Terry Geng
c8f0ccf706
feat: ban a user after too many failed attempts
2020-05-19 09:53:01 +08:00
Terry Geng
fae93d99e0
feat: add config item for maximum upload file size
2020-05-19 09:12:52 +08:00
Terry Geng
62a115b56e
feat: record IP. refresh cookie if new token is provided
2020-05-18 13:52:04 +08:00
Terry Geng
edf5495fe5
feat: several improvements to azlux's token auth scheme #154
...
1. 'auth_method' in config, where users can select between
'password' and 'token'.
2. create index for token, avoid iterating the entire user
section when validating tokens.
3. only generate token for a user when there's no token for
him in the db, avoid tokens fill the db.
2020-05-18 10:17:08 +08:00
Azlux
4017e7bff0
add webinterface token
...
#154
2020-05-17 20:28:27 +02:00
Terry Geng
71e0ede51e
feat: optimized play/resume logic, add fast-forward support within song.
...
fix #153 .
2020-05-15 10:22:44 +08:00
Terry Geng
40ea744e7f
refactor: move music db into a separated file.
...
IMPORTANT NOTE:
The default database path has changed. It was database.db, but
now they ARE settings.db and music.db.
Database migration will detect music table in settings.db, and
move it out of settings.db.
To update from old version, you need to
1. if you use your own db path settings in the command
line or in configuration.ini, you don't have to change
anything;
1. or,if you use default database path, rename database.db
into settings.db.
2020-05-13 10:43:40 +08:00
Azlux
1d6310afaf
Using new pymumble pypi module
2020-04-21 18:47:24 +02:00
Terry Geng
622f86c8f2
fix: listfile problem
2020-04-10 10:09:43 +08:00
Terry Geng
409489376f
fix: message for 'repeat'
2020-04-08 08:57:39 +08:00
Terry Geng
e86b5ca659
refactor: rewrite confusing part
2020-04-08 08:55:58 +08:00
Dexter Gaon-Shatford
2a148dd8a3
Fix repeat command crashing when queue is empty
...
If the repeat command is invoked without this change, the bot will crash due to the call to format_song_string() on music which is null. All I did is add a check and make the bot say that the playlist is empty if this scenario occurs.
2020-04-07 19:06:45 -04:00
Terry Geng
d32d30b795
fix: fixed #118 , weird threading issue
2020-04-02 18:27:15 +08:00
Terry Geng
75b1c6f7c7
fix : #117 continue
2020-03-31 17:53:22 +08:00
Azlux
0b92d4ccb0
same fix as #117
2020-03-31 11:26:29 +02:00
Terry Geng
112564ba45
refactor: reviewed all message send to channel
2020-03-28 13:13:20 +08:00
Terry Geng
b18c70c146
fixed: playlist update problem in web interface
2020-03-28 10:45:32 +08:00
Terry Geng
1732314304
fix: current_index unchanged immediately after stop
2020-03-25 21:35:59 +08:00
Terry Geng
b2e5efec93
refactor: optimized playlist logic
2020-03-25 21:35:59 +08:00
Terry Geng
e256d50c5c
refactor: removed useless files path cache
2020-03-22 21:59:05 +08:00
HerHde
d0d1f538a4
Extract channel join logic into seperate method
2020-03-22 02:57:12 +01:00
Terry Geng
1d1ff50a59
feat: add 'clear_when_stop_in_oneshot' option in config for azlux
2020-03-20 10:49:44 +08:00
Terry Geng
fb7101a581
FEAT: MUSIC LIBRARY BROSWER
2020-03-19 22:51:32 +08:00
Terry Geng
4423f499e6
fix: multi-line message, fixed #103
2020-03-16 09:27:37 +08:00
Terry Geng
457f1c691f
fix: 'jump' doesn't play the music if paused.
2020-03-14 16:34:04 +08:00
Terry Geng
a2cb955ed8
fix: refresh video metatdata after validation
2020-03-12 18:35:24 +08:00
Terry Geng
a750eeeab6
feat: oust will clear the playlist in one-shot mode
2020-03-12 09:06:16 +08:00
Terry Geng
dc5a112fa9
fix: fix KeyError when removing item
2020-03-12 09:04:14 +08:00
Lartza
213a6c084b
Cleanup
2020-03-10 23:07:29 +02:00
Lartza
b2ced96ba4
PEP8
2020-03-10 22:22:20 +02:00
Terry Geng
0ac9603072
feat: Lartza's urlban idea #91 , fixed private message
2020-03-10 10:14:43 +08:00
Terry Geng
d653eceb2a
fix: you are not in my channel when joinme #92
2020-03-10 08:58:59 +08:00
Terry Geng
c13d264e3e
feat: tag current song
2020-03-09 10:14:12 +08:00
Terry Geng
048da4046b
feat: 'delete' command to remove files from library
2020-03-09 00:02:22 +08:00
Terry Geng
e2f6de5066
fix: radio issue
2020-03-08 23:08:47 +08:00
Terry Geng
22ba308b14
feat: optimized autoplay with Lartz
2020-03-08 21:25:30 +08:00
Terry Geng
b24766cddb
fix: you can't just feed play_url wrong things
2020-03-08 19:58:31 +08:00
Terry Geng
f7042db657
feat: 'search' command to search the db, and 'shortlist' to add songs from search result
2020-03-08 16:56:31 +08:00
Terry Geng
369af16aed
fix: no admin check for dropdatabase
2020-03-08 13:55:41 +08:00
Terry Geng
2faa9dc8d3
feat: web interface tag support
2020-03-08 12:53:17 +08:00
Terry Geng
f8cfb163ed
feat: add tags, remove tags, play tags, find tags #91
2020-03-08 11:31:34 +08:00
Terry Geng
e10059a76e
fix: delete item keyerror #91
2020-03-08 09:26:36 +08:00
Terry Geng
749647aad2
feat: some tags function
2020-03-07 16:07:58 +08:00
Terry Geng
4fce3b956e
feat: directory cache
2020-03-07 15:12:22 +08:00
Terry Geng
1f22d3b1a9
fix: minor fixes
2020-03-06 17:03:00 +08:00
Terry Geng
e70727cfd1
FEAT: AUTOPLAY MODE #91
2020-03-06 16:15:19 +08:00
Terry Geng
665edec684
REFACTOR: MUSIC LIBRARYgit status #91
2020-03-06 15:45:13 +08:00
Terry Geng
b6bb449874
REFACTOR: DIFFERENT PLAYLIST #91
2020-03-06 01:39:24 +08:00
Terry Geng
ce25fcabee
fix: some small issue
2020-03-05 19:57:31 +08:00
Terry Geng
6ab8a7958a
REFACTOR: ITEM REVOLUTION #91
2020-03-05 16:28:08 +08:00