jack1142
83e93916e8
[CI Docs] Allow linkcheck to retry before declaring link broken ( #3276 )
...
* Update conf.py
* Create 3276.misc.rst
2020-01-09 17:13:49 +01:00
Draper
3546dd14d0
change executor to 1 ( #3299 )
...
* Limit Playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* 1
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-09 11:13:32 -05:00
Draper
e75b5b3be5
Limit Playlists ( #3298 )
...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-09 11:10:57 -05:00
Michael H
ed3b4e5b29
Embed pagination fixing (pt2) ( #3248 )
...
* I hate embeds
* changelog
* until splitting the fields, ensure a field
* make this work, from a user perspective
2020-01-09 16:50:04 +01:00
Michael H
9698baf6e7
[3.2.0 Docs] Some clarifications ( #3292 )
...
* docs
* changelog
* Fix python for choco
* k
* little more
2020-01-09 16:16:10 +01:00
Michael H
26677004f1
Handle regression in redbot edit ( #3297 )
...
* fixes #3296
* changelog
* k
* @Kowlin
* *sigh*
2020-01-09 16:14:38 +01:00
Michael H
25f0c37a20
jar-bump ( #3291 )
2020-01-09 09:38:34 -05:00
jack1142
ab3b567cd8
[Core] Use owner set in config ( #3294 )
...
* Update bot.py
* Create 3293.misc.rst
* style: forking whitespace
2020-01-09 08:52:34 -05:00
Michael H
a0f548fc0b
minimize the launcher ( #3289 )
...
* minimize the launcher
* changelog
2020-01-09 08:51:17 -05:00
Kowlin
e3720bb4a6
Updated to GH Scripts ( #3295 )
2020-01-09 14:09:41 +01:00
Michael H
b35b8d98c3
bump red lavalink ( #3290 )
2020-01-08 20:05:25 -05:00
Michael H
2612453597
[3.2.0] dep update ( #3288 )
...
* dep update
* changelog + 1 which was previously missed
2020-01-08 18:35:01 -05:00
Flame442
42d83e80a3
[Trivia] Fix various things changed by game updates ( #3236 )
...
* Fix various things changed by game updates
* oops...
* Create 3236.bugfix.rst
2020-01-08 18:20:59 -05:00
Draper
44e680ee41
[3.2]Audio] some hotfixes to avoid crashing the bot ( #3286 )
...
* Add a command to toggle daily queues, and restrict playlist length to 10k tracks and try to avoid some blocking calls
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Add a command to toggle daily queues, and restrict playlist length to 10k tracks and try to avoid some blocking calls
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* indents
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* forgot single tracks
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* formatting plus some other fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* formatting plus some other fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-08 17:04:52 -05:00
Michael H
965416de73
[Docs] Ensure users have setuptools and wheel ( #3262 )
...
* Ensure users have setuptools and wheel
* changelog
2020-01-08 19:44:33 +01:00
Michael H
1c75c47a9c
Allow migrating away from mongo ( #3253 )
...
* Restore mongo driver
* make it possible to convert
* style
* add in known issues with other backends while at it
2020-01-08 13:41:35 -05:00
Michael H
35c27c5741
Be quieter in expected shutdown cases ( #3261 )
...
* Be quieter in expected cases
* lets put this in the log file
* inline description use because setuptools entrypoint scripts are dumb
* Another setuptools entrypoint related issue
* maybe don't crash the bot on tasks
* improve the handling a bit more + document some of the lower level bits from the perspective of 'why?'
* Adding myself to codeowners on this one
* Let's not clobber our exit code
* And, there we go
* finish that thought
* right, I bumped the python version for (part of) this
* Update redbot/__main__.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* Okay, we should be good now
* correct exit code enum use
* cosmetic
* minor fix for linux and ctrl+c
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2020-01-08 19:39:52 +01:00
jack1142
af859aa755
[Downloader] Move author key handling to RepoJSONMixin, fix NameError ( #3285 )
...
* Update downloader.py
* Update json_mixins.py
* Update installable.py
* changelog pt 1
* changelog pt2
* edit of changelog pt1
* edit of changelog pt 2 (last commit before review)
* Kidding, this is the last one before review.
2020-01-08 13:08:55 -05:00
Kowlin
f5949f2664
Cleaning up the Flake8 workflow ( #3283 )
2020-01-08 12:24:27 -05:00
Kowlin
96e9e55642
Added an auto labeler. ( #3282 )
2020-01-08 12:21:42 -05:00
Michael H
778c701b87
May as well handle that part... ( #3281 )
2020-01-07 17:47:54 -05:00
Michael H
a73b174d9f
update translation catalogs ( #3280 )
2020-01-07 17:16:21 -05:00
Draper
17123c1d88
[3.2][Audio] Add a limiter of 500 to the Visible queue ( #3279 )
...
* Add a limited of 500 to the Visible queue and somce asyncio sleep every n tracks to assist with queue loading so it stops being blocking
* add a text for queue
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* add asyncio sleep on playlist queue command
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Better error handling for large playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* remove files even if it errors
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-07 16:33:10 -05:00
zephyrkul
45860ca2a6
[CustomCom] Use humanize_list for iterable arguments ( #3277 )
...
* [cc] use humanize_list on lists
* [cc] need classmethod
* add changelog
2020-01-06 16:49:08 -05:00
jack1142
d3c97eedfe
[Downloader] Fix AttributeError in [p]findcog for cogs that weren't installed through Downloader ( #3278 )
...
* Update downloader.py
* Create 3278.misc.rst
2020-01-06 16:48:43 -05:00
jack1142
a2b68ea7fc
[Docs] Update Python version for docs ( #3258 )
...
* Update .readthedocs.yml
* Create 3258.misc.rst
2020-01-06 07:13:55 -05:00
Draper
62aad10008
[3.2][Audio] Database migration fix ( #3275 )
...
* Missed this due to the mess of a fork i had
* chore
2020-01-06 05:28:56 -05:00
jack1142
474bb0904e
[Core, Downloader] Clear lib folder on minor Python version change, add [p]cog reinstallreqs command ( #3274 )
...
* feat(downloader): add `[p]cog reinstallreqs` command
* enhance: clear lib folder on minor Python version change
* chore(changelog): add towncrier entries
* enhance: warn user about detected change in OS or arch
* enhance: use actual prefix instead of `[p]`
* Whoops...
Co-Authored-By: Michael H <michael@michaelhall.tech >
* enhance: wrap message sending in try except
Co-authored-by: Michael H <michael@michaelhall.tech >
2020-01-05 19:21:49 -05:00
jack1142
b0f840c273
[Core] Add Red.wait_until_red_ready() function to wait until post connection startup is done ( #3273 )
...
* enhance: add `Red.wait_until_red_ready()` for post connection startup
* enhance: fill `bot.owner_id` in our `on_ready`
* enhance: log missing destinations in `get_owner_notification_destinations`
* chore(changelog): add towncrier entries
* chore(changelog): use past form of verb "add"
2020-01-05 18:38:59 -05:00
Michael H
9ec78d1455
Fix ctx.clean_prefix for *new* discord behavior ( #3249 )
...
* I just love when discord changes important syntax without warning
- sarcasm approaching dangerous levels
* changelog
2020-01-04 14:08:35 -05:00
jack1142
f2d2b9a682
[Setup] Stop logging to disk ( #3269 )
...
* Update setup.py
* Create 3269.enhance.rst
* Update 3269.enhance.rst
2020-01-04 02:10:19 -05:00
Michael H
23fe991c36
Update games.yaml ( #3268 )
2020-01-04 01:34:35 -05:00
Michael H
d9d2e0017e
patchup name error from 3254 ( #3267 )
2020-01-04 00:39:48 -05:00
jack1142
b6ca8f7d2c
[Core] Escape markdown in python executable path in `[p]debuginfo` command. ( #3254 )
...
* Update core_commands.py
* Create 3254.misc.rst
2020-01-03 22:44:33 -05:00
jack1142
cacfa163ce
[Docs] Fix broken docs for commands.Context.react_quietly ( #3257 )
...
* Update context.py
* Create 3257.docs.rst
2020-01-03 22:43:00 -05:00
Michael H
d00609bb8a
pyflakes ( #3266 )
2020-01-03 22:22:10 -05:00
Draper
b59f136ece
[3.2.0][Audio] Daily playlist ( #3199 )
...
* Removes `MAX_BALANCE` from bank, user `bank.get_max_balance()` now
`[p]bankset maxbal` can be used to set the maximum bank balance
Signed-off-by: Guy <guyreis96@gmail.com >
* Initial Commit
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* I need to make sure I keep aika on her toes.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fixes a few missing kwargs and case consistency
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fixes a few missing kwargs and case consistency v2 and typos
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Reset cooldowns + add changelogs
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Add 3 extra file formats.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* IRDUMB - fix capitalization.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fix a silent error, and some incorrect messages.
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove unnecessary emojis from queue when they are not needed
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove duplicated call in `[p]playlist update`
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove duplicated call in `[p]playlist update`
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Resolve conflicts
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Bring all files up to date + Black
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Facepalm
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* *Sigh*
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* *Sigh* 2.0
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Merge branch 'V3/develop' of https://github.com/Cog-Creators/Red-DiscordBot into audio-misc-pt1
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
# Resolve Conflicts:
# redbot/cogs/audio/audio.py
# redbot/cogs/audio/utils.py
* Import missing Typecheck
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix Broken docstrings
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Sort Local Tracks
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* 🤦
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Reorder the sorting of local tracks,
`alphanumerical lower then alphanumerical upper`
`a comes before A, but B comes after A`
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black formatting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Make the local file sorting case insensitive
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Add global blacklist/whitelist + fix some issues with original server based whitelist/blacklist
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the pre-commit yaml
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Nottin to see
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Further improvement to the blacklists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Further improvement to the blacklists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix the __str__ method on LocalTracks Object
* Rename LocalTracks.to_string_hidden() to LocalTracks.to_string_user() To keep it inline with the Query object
* Remove encoding pragmas + a few typo fixes
* Update some typehints + fix some typos
* Remove this duplicate call
* Black
* fix capitalization
* Address preda's review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the API from the audio cog
- Is in direct conflict with goals stated in #2804
- Features this was intended to enable can be enabled in other more
appropriate ways later on
* changelog
* Address Aika's review
* Black
* *sigh* dont use github web ui
* Fuck windows Long live linux... *sigh* no lets ensure windows users can still use local tracks
* Merge branch 'V3/develop' of https://github.com/Cog-Creators/Red-DiscordBot into refactoring
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
# Conflicts:
# redbot/cogs/audio/audio.py
* 👀 + chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* facepalm
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* facepalm... again y u h8 me bruh
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fuk this fuk u tube fuck python fuck all
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* awyehfqwajefhnqeffawefqa eqewarfqaesf qwef qaf qwfr
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fuck everything
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* oh lord saviour resus i love you just make this work
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Change logic to be no errors within last 10 seconds... this should be a valid work around discord ratelimits caused by the spam
* Remove auto deletion
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* See I did a ting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* irdumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Add an is_url attribute to Query objects
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
* Address Aikas review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Hyperlink Playlist names
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Make shit bold
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* why was this here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* why was this here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Initial commit
* Workinnng
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Improve SQL Statements + migrate from SQL Alchemy + Databases to APSW
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* apsw tested and working
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chose
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Migrate Playlist to DB 3 TODO
1 Migrate Config to Schema 3 without playlists
and update get_playlist methods
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Revert "Migrate Playlist to DB 3 TODO 1 Migrate Config to Schema 3 without playlists and update get_playlist methods"
This reverts commit 4af33cff
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Implement schema migration
* Lets not touch the deps since #3192 is already adding them
* chore
* *sigh* Black
* Follow the existing logic and always default Playlist to guild scope
* wghqjegqf black
* Update usage of last_fetched and last_updated to be Ints... However column migration still pending
* Some bug fixes
* Update usage of last_fetched and last_updated to be Ints... However column migration still pending
* working
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* partial match
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* better partial match
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* I thought i done this before
* Delete 3195.misc.1.rst
Wrong PR
* Thanks Sinbad
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Thanks Sinbad
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Log Errors in init ...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Update error logs.
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Create index
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Create index
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* :Drapersweat:
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Revert "Chore"
This reverts commit edcc9a9f
UGHHHH
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* KMS
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Allow removing tracks from queue by URL
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Words matter
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh*
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* arghhh CONFLICTS
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Review sinbads latest comment ..
ToDo.. Nuke existing playlist - check version and set version
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* migrate the DB schema to v3 (to keep in line with the schema visioning of Config
* Add a Todo
* *sigh* conflicts and black
* *sigh* black
* Passively delete playlist deletion mechanism
* Delete Old entries on startup
* Since we are dropping the table mightaware make these into JSON for future proofing
* Don't Dump strings in JSON field ? :think:
* Move some things around to make easier to use 1 connection to the Audio DB
* Move some things around to make easier to use 1 connection to the Audio DB
* *sigh*
* Clean up api
* *sigh* black
* Red + reorder some variables
* 🤦
* how could i forget this .......
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* #automagically
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* FINAFUCKINGLY
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* FINAFUCKINGLY
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove unused config default
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the API from the audio Cog (Properly)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Missed these changes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* ARGHHH
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Crerrypick - Some fixes I've noticed while running through the code line by line
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Translation + UX (show playlist author ID if can't find user)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* missed this one
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* this is no longer needed ....
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Im a fucking idiot
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* merger v3/develop
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
Co-authored-by: Michael H <michael@michaelhall.tech >
2020-01-03 21:58:11 -05:00
Michael H
25999cea10
Docs fix (2) ( #3265 )
...
* Fix docs building
* And 1
2020-01-03 21:48:28 -05:00
Draper
95e8d60729
[3.2][Audio] Part 6 (Last? maybe?) ( #3244 )
...
* Removes `MAX_BALANCE` from bank, user `bank.get_max_balance()` now
`[p]bankset maxbal` can be used to set the maximum bank balance
Signed-off-by: Guy <guyreis96@gmail.com >
* Initial Commit
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* I need to make sure I keep aika on her toes.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fixes a few missing kwargs and case consistency
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fixes a few missing kwargs and case consistency v2 and typos
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Reset cooldowns + add changelogs
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Add 3 extra file formats.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* IRDUMB - fix capitalization.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fix a silent error, and some incorrect messages.
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove unnecessary emojis from queue when they are not needed
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove duplicated call in `[p]playlist update`
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove duplicated call in `[p]playlist update`
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Resolve conflicts
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Bring all files up to date + Black
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Facepalm
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* *Sigh*
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* *Sigh* 2.0
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Merge branch 'V3/develop' of https://github.com/Cog-Creators/Red-DiscordBot into audio-misc-pt1
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
# Resolve Conflicts:
# redbot/cogs/audio/audio.py
# redbot/cogs/audio/utils.py
* Import missing Typecheck
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix Broken docstrings
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Sort Local Tracks
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* 🤦
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Reorder the sorting of local tracks,
`alphanumerical lower then alphanumerical upper`
`a comes before A, but B comes after A`
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black formatting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Make the local file sorting case insensitive
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Add global blacklist/whitelist + fix some issues with original server based whitelist/blacklist
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the pre-commit yaml
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Nottin to see
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Further improvement to the blacklists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Further improvement to the blacklists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix the __str__ method on LocalTracks Object
* Rename LocalTracks.to_string_hidden() to LocalTracks.to_string_user() To keep it inline with the Query object
* Remove encoding pragmas + a few typo fixes
* Update some typehints + fix some typos
* Remove this duplicate call
* Black
* fix capitalization
* Address preda's review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the API from the audio cog
- Is in direct conflict with goals stated in #2804
- Features this was intended to enable can be enabled in other more
appropriate ways later on
* changelog
* Address Aika's review
* Black
* *sigh* dont use github web ui
* Fuck windows Long live linux... *sigh* no lets ensure windows users can still use local tracks
* Merge branch 'V3/develop' of https://github.com/Cog-Creators/Red-DiscordBot into refactoring
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
# Conflicts:
# redbot/cogs/audio/audio.py
* 👀 + chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* facepalm
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* facepalm... again y u h8 me bruh
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fuk this fuk u tube fuck python fuck all
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* awyehfqwajefhnqeffawefqa eqewarfqaesf qwef qaf qwfr
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fuck everything
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* oh lord saviour resus i love you just make this work
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Change logic to be no errors within last 10 seconds... this should be a valid work around discord ratelimits caused by the spam
* Remove auto deletion
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* See I did a ting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* irdumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Add an is_url attribute to Query objects
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
* Address Aikas review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Hyperlink Playlist names
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Make shit bold
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* why was this here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* why was this here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Initial commit
* Workinnng
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Improve SQL Statements + migrate from SQL Alchemy + Databases to APSW
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* apsw tested and working
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chose
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Migrate Playlist to DB 3 TODO
1 Migrate Config to Schema 3 without playlists
and update get_playlist methods
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Revert "Migrate Playlist to DB 3 TODO 1 Migrate Config to Schema 3 without playlists and update get_playlist methods"
This reverts commit 4af33cff
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Implement schema migration
* Lets not touch the deps since #3192 is already adding them
* chore
* *sigh* Black
* Follow the existing logic and always default Playlist to guild scope
* wghqjegqf black
* Update usage of last_fetched and last_updated to be Ints... However column migration still pending
* Some bug fixes
* Update usage of last_fetched and last_updated to be Ints... However column migration still pending
* working
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* partial match
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* better partial match
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* I thought i done this before
* Delete 3195.misc.1.rst
Wrong PR
* Thanks Sinbad
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Thanks Sinbad
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Log Errors in init ...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Update error logs.
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Create index
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* :Drapersweat:
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Revert "Chore"
This reverts commit edcc9a9f
UGHHHH
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Allow removing tracks from queue by URL
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Words matter
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh*
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* arghhh CONFLICTS
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Review sinbads latest comment ..
ToDo.. Nuke existing playlist - check version and set version
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* migrate the DB schema to v3 (to keep in line with the schema visioning of Config
* Add a Todo
* *sigh* conflicts and black
* *sigh* black
* Passively delete playlist deletion mechanism
* Delete Old entries on startup
* Since we are dropping the table mightaware make these into JSON for future proofing
* Don't Dump strings in JSON field ? :think:
* Move some things around to make easier to use 1 connection to the Audio DB
* Move some things around to make easier to use 1 connection to the Audio DB
* *sigh*
* Clean up api
* *sigh* black
* Red + reorder some variables
* 🤦
* how could i forget this .......
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* #automagically
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* FINAFUCKINGLY
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* FINAFUCKINGLY
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove unused config default
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the API from the audio Cog (Properly)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Missed these changes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* ARGHHH
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Some fixes I've noticed while running through the code line by line
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Translation + UX (show playlist author ID if can't find user)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* missed this one
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* this is no longer needed ....
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* 🤦
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fix new lines in error messages
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
* Sinbads Review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Sinbads Review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* copy paste
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* imrpove backups
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Im a fucking idiot
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix #3238
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* humans
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* humans
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* add play alias to playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Im dumb ...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Im dumb ...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fix new line
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fix new line
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* show playlist count on playlist picker
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* DJ/Vote system fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* DJ/Vote system fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* fix currency check
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* show playlist count on playlist picker
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* DJ/Vote system fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* DJ/Vote system fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* fix currency check
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix duplicate messages on timeout
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fix SQL Statement logic
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fix SQL Statement logic
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Markdown escape
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Markdown escape
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Markdown escape fix
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Markdown escape fix
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* clean up local cache more frequently
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* clean up db more frequently
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Await in hell
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* im dumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* im dumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black cuz I hate red
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black cuz I hate red
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* StringIO to ByteIO
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* StringIO to ByteIO
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* im dumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* :Facepalm: the whole purpose of this is so its offline so this can be backed up without being blocking
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Run write queries on ThreadPoolExecutor
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Backup Audio.db
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* im dumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* blaaaack
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh*
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* formatting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* remove duplicated string of code
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* ffs awaits
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
Co-authored-by: Michael H <michael@michaelhall.tech >
2020-01-03 20:36:09 -05:00
Michael H
1d2dd19244
Fix docs building ( #3263 )
2020-01-03 19:13:14 -05:00
PredaaA
743ce71c5c
[Streams] Fix TypeError in TwitchStream class and change stream_alert function for Twitch ( #3042 )
...
* Update streamtypes.py
* Create 3042.bugfix.rst
* Black the things.
* Fix Twitch streams alert and [p]streamalert twitch
* Update 3042.bugfix.rst
2020-01-02 19:28:57 -05:00
jack1142
42e3f73088
[Core] Fix missing `await in code of redbot --edit`. ( #3256 )
...
* Update __main__.py
* Create 3256.misc.rst
2020-01-02 18:53:40 -05:00
Kowlin
ec6877dbc6
Update the licence info to 2020 ( #3259 )
...
* We're somewhat on time for once!
* Helps to update RTD
* Added changelog
2020-01-02 18:37:26 -05:00
Jonas Bohmann
c8f753db0d
Fix typo '.foramt()' -> '.format()' in cogs/admin/admin.py ( #3255 )
...
* Fix typo '.foramt()' -> '.format()'
* Add changelog file
2020-01-02 12:48:13 -05:00
Flame442
e776b5ca1a
[Admin] Code prettification and bugfixing ( #3250 )
...
* Facelift for Admin
* Remove unnecessary converter, reorder existing steps
* Delete admin.py
* Delete __init__.py
* Delete test_admin.py
* Remove one extra unneeded check
* Create 3250.bugfix.1.rst
* Create 3250.bugfix.2.rst
* Create 3250.bugfix.3.rst
* Create 3250.bugfix.4.rst
* Create 3250.misc.1.rst
* Create 3250.misc.2.rst
* Create 3250.misc.3.rst
* Create 3250.breaking.1.rst
* Create 3250.breaking.2.rst
* ...
* I hate black...
2020-01-02 09:11:27 -05:00
jack1142
36e2cde04d
Move [p]backup command to cli command - redbot-setup backup ( #3235 )
...
* refactor: replace backup command with cli command
* chore(changelog): add towncrier entries
2020-01-02 09:03:32 -05:00
jack1142
f3e7c2028c
[Setup] Use instance name in default data path ( #3171 )
...
* enhance(setup): use instance name in default data path
* chore(changelog): add towncrier entries
* enhance(setup): tell user that instance name is case-sensitive
2020-01-02 08:59:22 -05:00
jack1142
f3c57b6730
[Docs] Fix driver docs showing twice ( #3035 )
...
* docs(config): fix doubled docs for drivers
* enhance(drivers): add docstrings to enums that show in docs
* chore(changelog): add towncrier entries
2020-01-02 08:54:25 -05:00
jack1142
bc90f5186a
[Downloader] Actually use disabled key in updates ( #3203 )
...
* fix(downloader): actually use disabled key in updates
* chore(changelog): add towncrier entry
2020-01-02 08:49:31 -05:00
jack1142
62b679b1b9
Replace links to v3-develop docs with links to stable docs ( #3186 )
...
* Update customcom.py
* Update permissions.py
* Create 3186.docs.rst
* Create 3186.docs.rst
* Rename 3186.docs.rst to 3186.misc.rst
* Rename 3186.docs.rst to 3186.misc.rst
2020-01-02 08:48:33 -05:00