* 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
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.
* 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
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.
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.