Caleb Johnson
348277bcbd
[Audio] Lavalink 3.0/3.1 compatibility updates ( #2272 )
...
- Update to red-lavalink v0.2.0 (blocked by Cog-Creators/Red-Lavalink#41)
- Force lavalink to use TLSv1.2 on java 11+ (blocked by #2270 )
I would add equalizer support, but there's no way to know the full
Lavalink version and thus whether it's supported ahead of time.
2019-01-28 12:43:21 +11:00
El Laggron
3b62572c89
Graceful shutdown when SIGTERM is received ( #2286 )
...
Only works on Unix.
2019-01-23 10:28:30 +11:00
Iangit1
158c4f741b
Grammar in ask_sentry and interactive_config ( #2383 )
2019-01-21 09:07:55 +11:00
bobloy
abcf179042
[CogManager] Fix return type-hint ( #2319 )
2019-01-19 11:47:58 +11:00
Michael H
3dba09d19d
[Docs] Chocolately/PowerShell install instructions for Windows ( #2364 )
2019-01-19 11:45:22 +11:00
Michael H
1c4193cce2
[Permissions] Quick extra comment of importance ( #2379 )
2019-01-18 14:48:00 +11:00
Michael H
849ade6e58
Reconcile permission hooks with ctx.permission_state ( #2375 )
...
Resolves #2374 .
See mod.py's voice mute for an example of why this may be necessary.
2019-01-18 14:45:34 +11:00
Toby Harradine
0d4e6a0865
Fix MongoDB to JSON migration and warn about Mongo driver ( #2373 )
...
Resolves #2372 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-18 11:26:33 +11:00
Toby Harradine
e07408161a
Merge branch 'V3/release/3.0.0' into V3/develop
...
# Conflicts:
# redbot/cogs/mod/mod.py
2019-01-11 16:42:42 +11:00
Toby Harradine
32bd47e105
Bump version to 3.0.0rc3.post1
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
3.0.0rc3.post1
2019-01-11 13:09:40 +11:00
Toby Harradine
1bb5d698cc
Make Travis only do py36 tox when deploying
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-11 13:04:00 +11:00
Toby Harradine
9752a9c719
Bump version to 3.0.0rc3 ( #2367 )
...
Also updated some dependencies, including discord.py.
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
3.0.0rc3
2019-01-11 11:10:01 +11:00
Toby Harradine
7973babe4b
Catch exceptions in [p]backup ( #2363 )
...
Resolves #2354 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-11 09:07:37 +11:00
Michael H
78e4b578e2
[Utils] Tunnel minor fixes ( #2366 )
...
- Tunnel uses a safe max size (Max size is related to maximum payload, not maximum file size)
- Checks attachment sizes prior to download
2019-01-10 19:46:49 +11:00
Toby Harradine
8eb8848898
[Mod] Context-based voice checks ( #2351 )
...
- Removed `redbot.cogs.mod.checks` module
- Moved logic for formatting a user-friendly list of permissions to `redbot.core.utils.chat_formatting`
- `[p]voice(un)ban` and `[p](un)mute voice` now check permissions in the user's voice channel
Resolves #2296 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-10 11:35:37 +11:00
Toby Harradine
aac1460240
[Utils] Exit menu silently when message is deleted ( #2344 )
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-10 11:33:38 +11:00
Toby Harradine
dde5582669
[CogManager] Removal of implicit paths and general cleanup ( #2345 )
...
- Removed memory-sided `CogManager._paths` attribute, as it has no practical use.
- `[p]removepath` now removes the actual path displayed with the index specified in `[p]paths`.
- New method for retreiving a deduplicated list of user-defined paths as `Path` objects
- General cleanup so we don't have to do so much head-scratching next time an issue arises here
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-06 11:02:58 +11:00
Twentysix
937d2fe0f6
[Mod] Enhanced [p]hackban ( #2164 )
2019-01-05 03:29:05 +01:00
Toby Harradine
aa854cf1f9
[CustomCom] Insert space before newline separating CC previews ( #2350 )
...
Resolves #2295 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-12-29 16:54:32 +01:00
Toby Harradine
2bd05a5a04
Fix JSON to Mongo migration ( #2346 )
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-12-29 10:51:31 +11:00
palmtree5
bcc50557a9
[V3 Readme] Update cog list links ( #2347 )
2018-12-23 00:17:20 -09:00
Toby Harradine
3a8da1f82b
[Cleanup] Fix cleanup after
...
Resolves #2343 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-12-22 09:19:25 +11:00
Toby Harradine
bdcb69ad37
Merge branch 'V3/release/3.0.0' into V3/develop
...
# Conflicts:
# redbot/cogs/audio/audio.py
2018-12-21 13:37:32 +11:00
Toby Harradine
811634a2b0
[Permissions] Help menu respects rules ( #2339 )
...
Resolves #2249 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-12-21 13:30:13 +11:00
Toby Harradine
2512320b30
[DataManager] Don't copy bundled data to cog data folder ( #2342 )
...
- `load_bundled_data` is now deprecated and obselete
- Bundled data is now no longer copied to the cog's data folder, greatly simplifying its operations under the hood. Instead, `bundled_data_path` will now return the path to the folder from which the files would have previously been copied.
Resolves #2329 .
Resolves #2280 .
2018-12-21 13:26:00 +11:00
Michael H
db03faf042
Make webhooks automod immune ( #2337 )
...
Resolves #2336 .
2018-12-21 11:43:46 +11:00
Toby Harradine
701259158f
[Permissions] Always respect default rules ( #2341 )
...
Resolves #2340 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-12-21 10:35:17 +11:00
Kowlin
a5efdc6492
[Mod] Handle invalid nicknames in [p]rename ( #2311 )
2018-12-16 11:21:36 +11:00
Kowlin
38b15ded87
[Mod] Fixed loud RuntimeError on modlog cases ( #2331 )
2018-12-16 10:26:48 +11:00
Michael H
351749dff6
[Permissions] Find things uniquely for models ( #2258 )
...
This is a safety measure to prevent accidentally passing a model which has the same name as another model, potentially modifying rules for the unwanted one.
2018-12-16 10:09:18 +11:00
Michael H
2d9912cea7
prevent locking out owner ( #2317 )
2018-12-13 18:38:03 +01:00
aikaterna
3b50ed8192
[V3 Audio] Restrict toggle for commercial sites ( #2245 )
...
* [V3 Audio] Restrict toggle for commercial sites
* Different url parsing
* Allow local tracks
* No self needed
* Change Twitch url
2018-12-13 18:31:24 +01:00
NNTin
c4ab34a049
V3: regex extension on java -version ( #2316 )
...
* regex extension on java -version
* make it a non capturing group
* alphanumeric matching
* Match specification: Style, line length
* Update manager.py
2018-12-13 18:28:00 +01:00
Michael H
985e7b3c6d
swap unsafe yaml.load usage for yaml.safe_load ( #2324 )
...
Related to #2323
Recommend additionally adding a step in CI
ensuring use of `yaml.load` is prevented from existing in the code base.
2018-12-13 18:19:27 +01:00
palmtree5
7546c50226
[Streams] Toggle mentions on for roles being alerted ( #2252 )
...
Resolves #1831 .
2018-11-24 10:46:38 +11:00
aikaterna
6435f6b882
[Audio] Match openJDK 11 on Ubuntu ( #2270 )
...
Using the OpenJDK 11 from java.net on Ubuntu 18 reports "11" as the version, which failed the Java version check on loading audio on a new instance. This change will return "11 0" as the version, passing the check, instead of just "11".
2018-11-24 10:45:37 +11:00
aikaterna
bbccb671b8
[Audio] Disallow seek during active vote ( #2290 )
...
Users were able to use seek to skip songs while voteskip was active. This change prevents users from doing so.
2018-11-24 10:43:23 +11:00
Twentysix
8abb24bc01
[Core] [p]leave: Fix incorrect response handling ( #2302 )
2018-11-24 10:42:05 +11:00
aikaterna
419008f644
[Downloader] Findcog fix with no repo installed ( #2304 )
...
The findcog command errored out if a repo was removed. This change informs the user that the repo is not installed instead of erroring out.
2018-11-24 10:39:54 +11:00
odinair
d17c2430d7
[Streams] Fix alerts with no configured mentions ( #2305 )
2018-11-24 10:14:43 +11:00
Michael H
ca533f8937
[JsonIO] race condition fix ( #2308 )
...
* race condition fix
* style fix
2018-11-24 10:11:59 +11:00
Michael H
30c3a4c7c1
[Docs] CentOS correct git version ( #2309 )
...
Resolves #2260 .
2018-11-24 10:06:59 +11:00
Michael H
9d22d5b7b5
[Cleanup] Correct handling of command message ( #2310 )
...
Resolves #2307
2018-11-24 10:04:08 +11:00
Kowlin
2846dce6ea
[Mod] [p]modset: Fix KeyError ( #2279 )
...
Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2018-11-14 23:35:56 +01:00
aikaterna
9973b2e3b8
[General] [p]urban: Handle no embeds ( #2285 )
2018-11-14 23:21:11 +01:00
aikaterna
d008a2559a
[General] Clearer error message for [p]rps ( #2284 )
2018-11-14 22:56:08 +01:00
FixedThink
6470bc1cda
[Mod] [p]userinfo: Get avatar format with proper method ( #2291 )
2018-11-14 22:46:01 +01:00
Michael H
221b636f3f
Prevent locking out owner from commands ( #2257 )
2018-11-06 11:32:40 +11:00
aikaterna
7f3a0b8a88
[Streams] Add help for streamset ( #2287 )
2018-11-06 10:26:55 +11:00
FixedThink
f7e41063bf
[Trivia] Change Swaziland to its new name, eSwatini ( #2275 )
2018-11-06 09:52:25 +11:00