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
aikaterna
d0fca373ba
[Audio] Local track verify on playlist start ( #2271 )
2018-11-06 09:44:26 +11:00
FixedThink
451c4c9d54
[Trivia] Fix text formatting issue ( #2269 )
...
The "Question number {}" message was being emboldened twice from the left side, making the bot send messages with two redundant asterisks.
2018-11-06 08:58:10 +11:00
zephyrkul
a59002275d
[Economy] Fix TypeError in [p]payouts ( #2263 )
2018-11-06 08:55:29 +11:00
bobloy
d6cd959a2b
[Docs] Update example cog to include base cog class ( #2256 )
2018-11-06 08:41:34 +11:00
Toby Harradine
99bbde7be9
Reject bad perm kwargs in check decorators ( #2289 )
...
Also fixed a misspelled kwarg in reports.
Also now raising TypeError for an empty `@checks.has_permissions()` decorator.
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-11-05 15:07:56 +11:00
Kowlin
92dbd14006
Fixes typos in permissions ( #2288 )
...
causing the checks to be thrown out of the window.
2018-11-05 04:19:54 +01:00
aikaterna
57f078925e
[V3] Update CODEOWNERS for audio ( #2277 )
2018-10-30 18:19:16 +01:00
palmtree5
6e9243f6e9
Drop unneeded .format in [p]triviaset override ( #2268 )
2018-10-23 17:40:51 -08:00
Toby Harradine
8b4e12da81
Merge branch 'V3/release/3.0.0' into V3/develop
...
# Conflicts:
# redbot/cogs/customcom/customcom.py
# redbot/core/errors.py
2018-10-16 09:42:38 +11:00
Toby Harradine
8bba860f85
Bump version to 3.0.0rc2
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
3.0.0rc2
2018-10-16 09:37:23 +11:00
Toby Harradine
d2d26835c3
[Economy] Detect max balance and prevent OverflowError ( #2211 )
...
Resolves #2091 .
This doesn't fix every OverflowError with MongoDB; but at least the seemingly easiest one to achieve with core cogs.
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-10-16 09:30:53 +11:00
Toby Harradine
aff62a8006
[Downloader] Unload extensions on uninstall ( #2243 )
...
Resolves #2216 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-10-16 09:19:32 +11:00
Toby Harradine
b5fd28ef7c
[CustomCom] Better display for [p]cc list ( #2215 )
...
Uses a menu, optionally embedded with respect to the embed settings, for scrolling through the custom command list, each cc with a ~50 character preview. Format is purposefully similar to the help menu.
Resolves #2104 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-10-16 08:39:44 +11:00
Michael H
c510ebe5e5
[Downloader] Only prompt reload of loaded cogs ( #2233 )
2018-10-15 23:29:56 +11:00
Toby Harradine
5ba95090d9
[Streams] Suppress HTTPExceptions on load ( #2228 )
...
Resolves #2227 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-10-15 22:31:14 +11:00