Add support for voice channel parties #33

Closed
wasi-master wants to merge 277 commits from master into 2.0

277 Commits

Author SHA1 Message Date
Wasi Master
3f8683de31 Add support for voice channel parties
Basically the same thing as https://www.npmjs.com/package/discord-together and https://pypi.org/project/discord-together/
2021-08-29 23:04:12 +06:00
Tom
9356e385d8
Merge pull request #2 from WhoTheOOF/patch-2
fix my dumb <>
2021-08-27 19:14:51 -07:00
Jadon
6feab9abba
fix my dumb <> 2021-08-27 21:11:40 -05:00
Tom
3bbb1187c9
Merge pull request #1 from WhoTheOOF/patch-1
update links to new links
2021-08-27 19:09:24 -07:00
Jadon
cb3869f39c
update links to new links 2021-08-27 21:07:45 -05:00
iDutchy
2b66f2288c well, that was another failed idea... 2021-07-13 20:06:54 -05:00
iDutchy
00619fc6cd Making progress, almost there... 2021-07-13 19:58:09 -05:00
iDutchy
3056c6f0f4 new attempr 2021-07-13 19:53:19 -05:00
iDutchy
d7a0b0af04 oops 2021-07-13 19:37:14 -05:00
iDutchy
f8bf64c9b7 that failed... 2021-07-13 19:32:30 -05:00
iDutchy
8e6601c2c5 first attempt to shortcuts 2021-07-13 19:28:52 -05:00
iDutchy
2df88ccc27 Apparently a conflict sneaked through 2021-06-25 21:07:02 -05:00
iDutchy
0f3b15f10d Merge branch 'Rapptz-v1.x' 2021-06-25 20:34:02 -05:00
iDutchy
2a32e56873 fix conflict 2021-06-25 20:33:22 -05:00
iDutchy
34f6c5db10 looks like I changed stuff? 2021-06-25 20:29:27 -05:00
Rapptz
462ba84809 Version bump to v1.7.3 2021-06-12 12:09:54 -04:00
Rapptz
9ff979572a Add changelog for v1.7.3 2021-06-12 12:09:38 -04:00
Rapptz
9376fcd69d Fix crash involving stickers 2021-06-12 12:04:25 -04:00
Rapptz
e79321c032 Fix DM channel permissions not having read_messages 2021-06-12 12:01:53 -04:00
Nadir Chowdhury
81457330ed [docs] typo fix 2021-06-12 12:01:14 -04:00
Alex Nørgaard
72dd2381b0 Update docs for (Partial)Message.publish to reflect the actual permissions needed 2021-06-12 12:01:01 -04:00
ChasL
f0c3568ea9 Fix for doc reference to python "raise" statement
:ref:`py:raise` -> :ref:`raise statement <py:raise>`

Before fix the text reads: "...define an on_error handler consisting
of a single empty The raise statement." After fix it should read: 
"...define an on_error handler consisting of a single empty raise
statement."
2021-06-12 12:00:33 -04:00
Rapptz
6a52eea6ff Fix AuditLogEntry.target being incorrect for bulk message delete
Fixes #6851
2021-05-05 00:18:44 -04:00
Rapptz
9d2576e464 Version bump to v1.7.2 2021-05-02 23:35:53 -04:00
Rapptz
69fdf8c67d Add changelog for v1.7.2 2021-05-02 23:35:25 -04:00
iDutchy
917649b1b2 fix conflicts 2021-05-02 21:05:05 -05:00
David
f6c8bfdf0d Clarify ClientUser.verified docs 2021-05-01 10:33:01 -04:00
MrKomodoDragon
5e7357efa5 Fix grammar in the Guild.edit docstring 2021-05-01 10:31:44 -04:00
pikaninja
318166d875 [docs] Update notes for get_user and get_member 2021-05-01 10:31:27 -04:00
HyperGH
648b786bc1 Adjust quickstart to not show commands example 2021-05-01 10:31:00 -04:00
jack1142
ccf7e65c50 Fix documentation for RoleConverter 2021-05-01 10:30:27 -04:00
Kino
eb1d03f8f7 Fix typo within HelpCommand.verify_checks documentation 2021-05-01 10:30:02 -04:00
Nadir Chowdhury
5b98ce1235 [docs] fix docstring of AppInfo 2021-05-01 10:29:31 -04:00
Cryptex
06184dc25f Update lavalink's repo url 2021-05-01 10:28:28 -04:00
Steve C
a9dba2753f [tasks] Move the Loop's sleep to be before exit conditions
This change makes it more so that `Loop.stop()` gracefully makes the
current iteration the final one, by waiting AND THEN returning.
The current implementation is closer to `cancel`, while also not.

I encountered this because I was trying to run a
`@tasks.loop(count=1)`, and inside it I print some text and change the
interval, and in an `after_loop`, I restart the loop.

Without this change, it immediately floods my console, due to
not waiting before executing `after_loop`.
2021-05-01 10:28:00 -04:00
NoName
87dd046c32 Add periods to sticker docs 2021-05-01 10:27:12 -04:00
Nadir Chowdhury
7d37c3a506 [docs] Fix various unresolved references 2021-05-01 10:26:11 -04:00
Steve C
4d47436b02 Fix guild.chunk() not working on evicted guilds
If you're trying to chunk a guild that the bot is not in, 
it'll just hang on the chunk coro forever. It's weird, I know.
2021-05-01 10:24:40 -04:00
numbermaniac
f50877c9b8 Add note to member docs about Spotify limitation 2021-05-01 10:24:07 -04:00
Maya
afca943f16 Fix exception for invalid channel types 2021-05-01 10:22:49 -04:00
Dan Hess
81e3f58f43
Fix async adapter detection in message deletion 2021-04-29 19:21:33 -04:00
iDutchy
523e35e4f3
Merge pull request #17 from TheMoksej/patch-2
add silent feature back to delete() function
2021-04-17 16:57:46 +02:00
Moksej
93da1d920e
didn't mean to remove this 2021-04-17 16:47:15 +02:00
Moksej
cdfd918604
add silent feature back to delete() function
latest commit removed the silent kwarg from the delete function so I'm adding it back
2021-04-17 16:46:06 +02:00
Rapptz
f1130e4985 Fix fail_if_not_exists not being set when constructed with state 2021-04-15 09:00:51 -04:00
pikaninja
187b811836 Add StageChannel to abc.GuildChannel docs 2021-04-15 09:00:09 -04:00
Kino
ff04cab119 [docs] Fix reference to Guild.id 2021-04-15 09:00:09 -04:00
Rapptz
65205a8e39 Fix Intents resolution in the docs 2021-04-15 09:00:09 -04:00
Rapptz
28934001b2 Bring back discord module in discord.ext.commands documentation 2021-04-15 09:00:09 -04:00
Rapptz
af7d93725d Remove current module reference in commands API docs 2021-04-15 09:00:09 -04:00
jack1142
efa6482ac4 Add missing attribute tables 2021-04-15 08:58:32 -04:00
Rapptz
4756485ea4 [commands] Add StageChannelConverter to documentation 2021-04-15 08:58:00 -04:00
Shun Tannai
8b4d7f122c [commands] Update Converter list in ext.commands introduction 2021-04-15 08:57:45 -04:00
Sebastian Law
0d1cf57f62 [docs] add note for possible Embed.type strings 2021-04-15 08:57:25 -04:00
Sebastian Law
3ad795ab6a [docs] add label to basic converters section 2021-04-15 08:57:08 -04:00
iDutchy
a453266cd4 conflict fixes 2021-04-07 18:27:34 -05:00
Rapptz
8517f1e085 Version bump to v1.7.1 2021-04-05 21:21:41 -04:00
Rapptz
0a4be8f83c Update changelog for v1.7.1 2021-04-05 21:21:41 -04:00
Logan
56faa98e4b Fix versionadded not showing in docs for Attachment.content_type 2021-04-05 21:10:55 -04:00
Rapptz
1b2c527fc7 [commands] Fix logic in Cog.has_error_handler() 2021-04-05 21:08:54 -04:00
iDutchy
f1309aa4a1 added Client.get_message 2021-02-11 18:38:33 -06:00
iDutchy
86fd3fb738 conflict fixes 2021-01-14 18:03:09 -06:00
iDutchy
694e5e2861 guess I missed this one 2021-01-12 22:33:47 -06:00
iDutchy
54b5e253c9 another small fix 2021-01-12 22:30:55 -06:00
iDutchy
493fc88d6d fix some docs issues 2021-01-12 22:16:09 -06:00
iDutchy
732cab7c5c Works, so added to dos. + little cleanup 2021-01-12 21:57:23 -06:00
iDutchy
2c650feb98 cant support aiohttp 3.8 yet 2021-01-12 21:41:51 -06:00
iDutchy
316e74a9ec test for silent message deleting 2021-01-12 21:39:41 -06:00
iDutchy
89d2f00911 so eh, lets comment this out for now since using it crashes the machine... 2021-01-05 19:46:05 -06:00
iDutchy
a0d491c71f fix machine crashes? 2021-01-05 19:15:24 -06:00
iDutchy
be0933c928 broke case insensitive prefixes... Oops 2021-01-05 18:57:12 -06:00
iDutchy
db9dd93ad4 docs update + add case_insensitive_prefix 2021-01-05 18:20:23 -06:00
iDutchy
b50b8e903f update docs 2020-12-30 22:19:26 -06:00
iDutchy
57e6c946c9 Merge branch 'master' of https://github.com/iDutchy/discord.py 2020-12-30 18:52:30 -06:00
iDutchy
f4bec507c1 attempt at cog aliases 2020-12-30 18:52:15 -06:00
iDutchy
e090eb66d1
Merge pull request #12 from averwhy/master
fix typo in custom_features
2020-12-05 02:07:45 +01:00
iDutchy
0354036451 fix conflicts 2020-12-04 19:05:58 -06:00
iDutchy
9f54345f5c idk, first attempt at adding docs ig. Probably gonna break so yea... 2020-12-01 02:25:51 -06:00
averwhy
4f3d489135 fix typo in custom_features 2020-11-27 20:22:19 -05:00
iDutchy
6e024871ec fix merge conflict 2020-11-24 17:19:31 -06:00
iDutchy
777c95aab2 update 2020-11-24 17:17:25 -06:00
iDutchy
b058b4730c update changelog 2020-11-19 18:48:07 -06:00
iDutchy
725f08e45d add Color.random 2020-11-19 18:46:42 -06:00
iDutchy
b61b5b7414 type fix 2020-11-18 18:09:18 -06:00
iDutchy
e47ff96c30 docs fix 2020-11-18 18:04:33 -06:00
iDutchy
a2b513bd72 docs fix 2020-11-18 18:02:05 -06:00
iDutchy
9e6461a419 docs fix 2020-11-18 17:57:32 -06:00
iDutchy
690dcdaf2e update docs and add message replies 2020-11-18 17:49:58 -06:00
iDutchy
195bace135 admin alias 2020-11-18 16:41:38 -06:00
iDutchy
ae0f11ce53 add a color 2020-11-04 19:51:07 -06:00
iDutchy
188b69c097 docs update 2020-10-28 21:04:30 -05:00
iDutchy
dea09cb5b3 conflict fix 2020-10-28 21:00:48 -05:00
iDutchy
c223d2e723 better prefix 2020-10-28 20:49:49 -05:00
iDutchy
12de975b69 better prefix 2020-10-28 19:49:13 -05:00
iDutchy
14d8310192 properly checking TextChannel.can_send 2020-10-21 20:06:47 -05:00
iDutchy
c6b417bc7b version bump 2020-10-21 17:54:07 -05:00
iDutchy
3521ae985a added versionadded 2020-10-21 17:44:46 -05:00
iDutchy
2b5490d4cb fixes 2020-10-17 20:22:16 -05:00
iDutchy
18f80a737f hmm 2020-10-17 20:09:06 -05:00
iDutchy
faa566040c final step 2020-10-17 20:04:37 -05:00
iDutchy
2d7b6e239b preparing 2020-10-17 20:03:53 -05:00
iDutchy
09168d880f int() support 2020-10-17 19:14:51 -05:00
iDutchy
24839be99d test 2020-10-17 19:07:04 -05:00
iDutchy
4010f09052 Remove int() support 2020-10-17 18:45:59 -05:00
iDutchy
b9642f785e Remove int() support 2020-10-17 18:45:51 -05:00
iDutchy
d75cd66b90 oh ffs 2020-10-17 18:42:19 -05:00
iDutchy
a09e096d42 add menus 2020-10-08 16:06:18 -05:00
iDutchy
0b8671e3d6 doc update 2020-10-04 02:05:24 +00:00
iDutchy
9e0303cc53 Extra security for not overriding bot.embed_color 2020-10-04 02:03:55 +00:00
iDutchy
e3bce1ba58 add doc 2020-10-04 01:58:06 +00:00
iDutchy
ecd898e62c oop 2020-10-04 01:53:57 +00:00
iDutchy
f96a537b8f oop 2020-10-04 01:11:49 +00:00
iDutchy
36bcbb19ee oop 2020-10-04 01:01:17 +00:00
iDutchy
9fc2fd38dc Another request from shivaco 2020-10-04 00:39:03 +00:00
iDutchy
ea73008ff2 update docs 2020-10-02 00:34:53 +00:00
iDutchy
525ee4be0a update docs 2020-10-02 00:34:01 +00:00
iDutchy
7a56f0b28a requested by shivaco ;) 2020-10-02 00:23:25 +00:00
iDutchy
60d383cb51 oop 2020-10-01 22:45:57 +00:00
iDutchy
4297eed591 hmm 2020-10-01 22:41:02 +00:00
iDutchy
0ed9d8ca6b oop 2020-10-01 22:27:07 +00:00
iDutchy
b5ef2bdec4 oop 2020-10-01 22:24:15 +00:00
iDutchy
768f409a84 hmm 2020-10-01 22:22:53 +00:00
iDutchy
7afaa6dfce hmm 2020-10-01 22:16:20 +00:00
iDutchy
21ea6fe9ac hmm 2020-10-01 22:16:05 +00:00
iDutchy
291237bac9 hmm 2020-10-01 22:11:25 +00:00
iDutchy
397535f1e5 hmm 2020-10-01 22:05:34 +00:00
iDutchy
b13eca9def hmm 2020-10-01 22:01:20 +00:00
iDutchy
e6cf6c4b8c hmm 2020-10-01 21:58:29 +00:00
iDutchy
e91a0d62f7 hmm 2020-10-01 21:55:05 +00:00
iDutchy
0860df8fa5 hmm 2020-10-01 21:53:49 +00:00
iDutchy
1c228f9548 oop 2020-10-01 21:43:22 +00:00
iDutchy
0088ab589b oop 2020-10-01 21:42:00 +00:00
iDutchy
d79bc7c3c9 support for default embed color 2020-10-01 21:37:37 +00:00
iDutchy
5b2c7db90b forgot 2020-10-01 02:27:11 +00:00
iDutchy
cd6f48b39c forgot this 2020-10-01 01:28:20 +00:00
iDutchy
74713b05ee add try_user 2020-10-01 01:24:30 +00:00
iDutchy
7cb96f7ba4 oop again 2020-10-01 01:02:28 +00:00
iDutchy
fe826b7134 changes 2020-10-01 01:01:18 +00:00
iDutchy
db6a7d46a1 oop 2020-10-01 00:34:59 +00:00
iDutchy
fd9ceb30f2 I suck 2020-09-30 23:59:06 +00:00
iDutchy
f514d45f99 oops 2020-09-30 23:56:50 +00:00
iDutchy
57efed682b update docs 2020-09-30 23:54:25 +00:00
iDutchy
f33cfbce0d docs update 2020-09-30 23:49:33 +00:00
iDutchy
e21fb1217e
Merge pull request #8 from iDutchy/owner
add Bot.owners
2020-10-01 01:28:26 +02:00
iDutchy
73ed64c527
add Bot.owners 2020-10-01 01:24:25 +02:00
iDutchy
7356a641b5
Merge pull request #7 from iDutchy/owner
add Bot.owner
2020-10-01 01:22:12 +02:00
iDutchy
447a6a694e
add Bot.owner 2020-10-01 01:20:34 +02:00
iDutchy
7af9f2af94 Merge branch 'Rapptz-neo-docs' 2020-09-30 22:42:38 +00:00
iDutchy
f80b4c166c conflict fix 2020-09-30 22:42:28 +00:00
iDutchy
b98fc6f2f6
Merge pull request #5 from Rapptz/master
1.5 release
2020-10-01 00:18:26 +02:00
iDutchy
c8bd6884dc Merge branch 'Rapptz-master' 2020-09-28 00:42:59 +00:00
iDutchy
64be57b192 fixes 2020-09-28 00:42:27 +00:00
Josh
3cc5e23392
Set maximimum sidebar width 2020-09-23 02:28:17 -04:00
Muhammad Hamza
ba7482921b
[matrix] Style "View Documentation For" dropdown 2020-09-22 20:29:04 -04:00
iDutchy
2774cfd3e9 welp, wasnt aware __hex__ got removed in py3 2020-09-18 01:04:04 +00:00
iDutchy
bbaf3375a8 a fix I think? 2020-09-18 00:54:26 +00:00
iDutchy
d28f0ff35b add hex() support to Color 2020-09-18 00:44:40 +00:00
iDutchy
b2540ee312 Lets add some color! 2020-09-18 00:34:29 +00:00
iDutchy
a67bb723b4 competing type added 2020-09-15 20:34:43 +00:00
iDutchy
5756548a6a Merge branch 'Rapptz-feature/intents' 2020-09-15 00:37:04 +00:00
iDutchy
571ddb5a3e merge conflict fix 2020-09-15 00:36:19 +00:00
Rapptz
6546f63ad7 Add a special exception for required privileged intents 2020-09-14 03:49:21 -04:00
Rapptz
4c56e6da9c Pass default intents if not explicitly given 2020-09-14 03:20:41 -04:00
Rapptz
27b224778b Intern status and overwrite strings 2020-09-14 03:20:41 -04:00
Rapptz
ab049e3eb0 Allow finer grained control over the member cache. 2020-09-14 03:20:36 -04:00
Rapptz
6f22ba8ad0 Raise if member intent is not enabled 2020-09-14 03:20:17 -04:00
Rapptz
f3514a4d53 Don't cache members during guild start up if cache is disabled.
This is mainly a half-implemented commit. There are a few more places
where cache consistency is necessary. In the future there will
probably be a member cache policy enum that will be used and cache
consistency will be tackled in part of that larger refactoring.
2020-09-14 03:20:17 -04:00
Rapptz
141511471e Add Guild.chunk and deprecated Client.request_offline_members 2020-09-14 03:20:16 -04:00
Rapptz
27558ec71a Fix Client.request_offline_members no longer working 2020-09-14 03:20:16 -04:00
Rapptz
a6edb66742 Add versionadded for intents enum 2020-09-14 03:20:16 -04:00
Rapptz
b1de57f299 Explicitly disable the members presence by default 2020-09-14 03:20:16 -04:00
Rapptz
0fc8ac6f80 Fix timeouts due to hitting the gateway rate limit 2020-09-14 03:20:16 -04:00
Rapptz
18141c0cf9 Maximize the amount of concurrency while chunking.
In order to reduce our amount of backpressure we need to limit the
amount of concurrent chunk requests we can have so the gateway buffer
has some time to breathe.
2020-09-14 03:20:16 -04:00
Rapptz
022ec9af1d Check for zombie connections through last received payload
The previous code would check zombie connections depending on whether
HEARTBEAT_ACK was received. Unfortunately when there's exceeding
backpressure the connection can terminate since the HEARTBEAT_ACK is
buffered very far away despite it being there, just not received yet.
2020-09-14 03:20:16 -04:00
Rapptz
9492cb1242 Speed up chunking for guilds with presence intent enabled 2020-09-14 03:20:16 -04:00
Rapptz
a76f9ce8ef Maximize concurrency when chunking on AutoSharded clients 2020-09-14 03:20:16 -04:00
Rapptz
faf1db1583 Use a lock for the gateway rate limiter.
This will allow for higher concurrency in AutoSharded situations where
I can mostly "fire and forget" the chunk requests.
2020-09-14 03:20:15 -04:00
Rapptz
d6defbc6b2 Heartbeats bypass the rate limits for gateway 2020-09-14 03:20:15 -04:00
Rapptz
5db9a3551f All guilds require chunking if opting into it 2020-09-14 03:20:15 -04:00
Rapptz
e8e4886fd8 Handle user updates within GUILD_MEMBER_UPDATE 2020-09-14 03:20:15 -04:00
Rapptz
95bec0dcee Rewrite chunking to work with intents.
This slows down chunking significantly for bots in a large number of
guilds since it goes down from 75 guilds/request to 1 guild/request.
However the logic was rewritten to fire the chunking request
immediately after receiving the GUILD_CREATE rather than waiting for
all the guilds in the ready stream before doing it.
2020-09-14 03:20:15 -04:00
Rapptz
f46257faa6 Add more close codes that can't be handled for reconnecting. 2020-09-14 03:20:15 -04:00
Rapptz
c0a3aaa98c Change unknown cache log warnings from WARNING -> DEBUG 2020-09-14 03:20:15 -04:00
Rapptz
75c24bde16 Handle gateway rate limits by using a rate limiter.
With the new chunking changes this will become necessary and we don't
want to disconnect from having too many outwards requests.
2020-09-14 03:20:15 -04:00
Rapptz
a9cb851a3c Add support for guild intents 2020-09-14 03:20:15 -04:00
iDutchy
43c4d33a4a avatar urls in stead of assets 2020-09-13 23:57:18 +00:00
iDutchy
4b612aeece
Merge pull request #1 from Rapptz/feature/intents
Feature/intents
2020-09-13 05:44:24 +02:00
iDutchy
1791b72f45 Add support for Guild.bots and Guild.humans 2020-09-13 01:17:35 +00:00
Rapptz
77b0ddca7c Raise if member intent is not enabled 2020-09-10 06:46:16 -04:00
Rapptz
61ec62da11 Don't cache members during guild start up if cache is disabled.
This is mainly a half-implemented commit. There are a few more places
where cache consistency is necessary. In the future there will
probably be a member cache policy enum that will be used and cache
consistency will be tackled in part of that larger refactoring.
2020-09-10 05:58:24 -04:00
Rapptz
009a961006 Add Guild.chunk and deprecated Client.request_offline_members 2020-09-10 05:56:48 -04:00
Rapptz
cb211c36bd Fix Client.request_offline_members no longer working 2020-09-10 05:26:35 -04:00
Rapptz
a293d87c77 Add versionadded for intents enum 2020-09-10 05:17:52 -04:00
Rapptz
41fd2740cb Explicitly disable the members presence by default 2020-09-10 05:17:52 -04:00
Rapptz
65f591705d Fix timeouts due to hitting the gateway rate limit 2020-09-10 05:17:52 -04:00
Rapptz
81bfdea9df Maximize the amount of concurrency while chunking.
In order to reduce our amount of backpressure we need to limit the
amount of concurrent chunk requests we can have so the gateway buffer
has some time to breathe.
2020-09-10 05:17:52 -04:00
Rapptz
2129ae29be Check for zombie connections through last received payload
The previous code would check zombie connections depending on whether
HEARTBEAT_ACK was received. Unfortunately when there's exceeding
backpressure the connection can terminate since the HEARTBEAT_ACK is
buffered very far away despite it being there, just not received yet.
2020-09-10 05:17:52 -04:00
Rapptz
82fa967f3c Speed up chunking for guilds with presence intent enabled 2020-09-10 05:17:51 -04:00
Rapptz
fdbe0c4f57 Maximize concurrency when chunking on AutoSharded clients 2020-09-10 05:17:51 -04:00
Rapptz
5837ad0804 Use a lock for the gateway rate limiter.
This will allow for higher concurrency in AutoSharded situations where
I can mostly "fire and forget" the chunk requests.
2020-09-10 05:17:51 -04:00
Rapptz
e6fddbdbe7 Heartbeats bypass the rate limits for gateway 2020-09-10 05:17:51 -04:00
Rapptz
37760e16dd All guilds require chunking if opting into it 2020-09-10 05:17:51 -04:00
Rapptz
fd5faac42b Handle user updates within GUILD_MEMBER_UPDATE 2020-09-10 05:17:50 -04:00
Rapptz
eb641569f7 Rewrite chunking to work with intents.
This slows down chunking significantly for bots in a large number of
guilds since it goes down from 75 guilds/request to 1 guild/request.
However the logic was rewritten to fire the chunking request
immediately after receiving the GUILD_CREATE rather than waiting for
all the guilds in the ready stream before doing it.
2020-09-10 05:17:50 -04:00
Rapptz
51704b10cb Add more close codes that can't be handled for reconnecting. 2020-09-10 05:17:50 -04:00
Rapptz
50a951e3ec Change unknown cache log warnings from WARNING -> DEBUG 2020-09-10 05:17:50 -04:00
Rapptz
63c454eaa0 Handle gateway rate limits by using a rate limiter.
With the new chunking changes this will become necessary and we don't
want to disconnect from having too many outwards requests.
2020-09-10 05:17:50 -04:00
Rapptz
f588834b0c Add support for guild intents 2020-09-10 05:17:50 -04:00
Myst(MysterialPy)
a668623d9f
Make admonition-title un-selectable.
All admonition-title's should now be un-selectable.
2020-09-06 00:24:14 -04:00
Nihaal Sangha
0b020fc339
Add sidebar animation when collapsing 2020-09-01 15:24:03 -04:00
Rapptz
0124abb030 Thicken admonition borders a little 2020-08-31 02:35:38 -04:00
Josh
26cce4fb78
[matrix] Hide hamburger menu on pages without sidebar 2020-08-31 02:27:32 -04:00
Josh
3b90e2e74e
[matrix] Fix JS errors on search results page 2020-08-30 02:55:53 -04:00
jack1142
512d9aaccb
Another take at fixing methods showing up under "Attributes" 2020-08-29 22:22:45 -04:00
Rapptz
39f1f9098e Fix collapsible sidebar not working 2020-08-29 20:39:25 -04:00
Rapptz
994de512cb Use the constructed value in the settings 2020-08-29 20:34:50 -04:00
Muhammad Hamza
597f7e30b8
[matrix] Update model styles 2020-08-29 20:19:49 -04:00
Rapptz
575435b4c9 Fix tooltips in settings and make strings translatable 2020-08-29 20:10:54 -04:00
Rapptz
7d8dae735d Move setting load to DOMContentLoaded 2020-08-29 19:56:28 -04:00
Josh
3ce7ab2fc4
[matrix] Refactor JS & add searchbar to mobile. 2020-08-29 19:17:44 -04:00
Rapptz
2d441cc533 Reduce CSS variable usage 2020-08-29 04:30:35 -04:00
Rapptz
7fec153cd7 Fix versionmodified not being italics 2020-08-29 04:14:08 -04:00
Rapptz
1aa93e70ac Change colour scheme and admonition colours
This should make both themes finally look decent
2020-08-29 04:11:05 -04:00
Josh
42498d26f7
[matrix] Set theme to system preferred by default 2020-08-29 03:57:17 -04:00
Nadir Chowdhury
a9d6d90a8f
[matrix] collapsible sidebar headings 2020-08-28 23:13:20 -04:00
jack1142
d9a2c0c65d
Fix methods from superclass showing under "Attributes" table 2020-08-22 16:26:50 -04:00
Josh
9cbb801fb0
Fix sidebar jank on desktop. 2020-07-22 23:35:51 -04:00
Josh
41153d6d90
Fix issues with horizontal overflow on mobile 2020-07-08 23:23:52 -04:00
Josh
b2b2d5ac96 Default to sans-serif font 2020-07-08 22:54:23 -04:00
Rapptz
c2a46f3b8b Redesign admonitions to look a little better.
Colours still need to be reworked though.
2020-07-01 03:42:58 -04:00
Josh
a53bf2660b
[matrix] Display navbar links on mobile 2020-06-29 19:47:15 -04:00
James
c928fd13f1
Resize favicon to 256x256px for Chrome 2020-06-28 19:15:13 -04:00
Rapptz
597af3a582 Switch icon set over to Material Icons intead of FontAwesome 2020-06-28 18:21:37 -04:00
Rapptz
4ebbeb0f2a Rework attributetable to look prettier 2020-06-28 07:34:04 -04:00
Josh
2a8453828b Fix sidebar scrolling on mobile 2020-06-28 17:42:14 +10:00
Rapptz
7482a5de8d Refactor CSS to use a colour palette and make light theme greyer. 2020-06-28 03:36:59 -04:00
Rapptz
c69f7c7bd8 Make tables scroll if they overflow. 2020-06-27 07:55:47 -04:00
Rapptz
8feb74a018 Revert "Fix table wrapping"
This reverts commit c911cd0dbd06f6c0e774396174fb383fc63d172f.
2020-06-27 07:55:47 -04:00
James
69e2cd0180
Add border radius and padding to inline code 2020-06-27 12:33:51 +01:00
Rapptz
c911cd0dbd Fix table wrapping 2020-06-27 07:08:46 -04:00
Rapptz
f4d53d79df Fix margins in 600px view of settings and label 2020-06-27 06:30:38 -04:00
Josh
f1e9017df1 Fix jank on iPads 2020-06-27 19:42:25 +10:00
Rapptz
0a00aeb335 Show classmethods separately in attribute table 2020-06-27 02:25:50 -04:00
Rapptz
6eba27d98e Alphabetically sort attributetable output 2020-06-27 02:05:23 -04:00
Rapptz
7dd45a422c Show the search bar on mobile 2020-06-27 01:53:41 -04:00
Josh
2ef0695e81
[matrix] General Sidebar cleanup (#5061) 2020-06-27 01:16:37 -04:00
Rapptz
8abd4e1357 Various RTD related fixes. 2020-06-25 03:57:58 -04:00
Josh B
5cb1b109bb Set colours for active sidebar elements 2020-06-08 19:21:44 +10:00
Josh B
3c56240e5f Fix sidebar active link selection 2020-06-01 00:38:37 +10:00
Rapptz
90596485a2 First pass at double header display 2020-05-31 09:12:26 -04:00
Josh B
b78f6a310b Create settings icon for mobile 2020-05-31 00:11:03 +10:00
Rapptz
74bdd8485e Use new HTML5 <section> instead of <div class="section"> 2020-05-30 04:59:31 -04:00
Jens Reidel
f03ecdbc69
[matrix] Search to top, icon
* Search bar to top, magnifying glass

* Remove old file

* Remove empty style directive
2020-05-29 23:42:50 -04:00
Rapptz
d14bf7f412 First pass at centering content for large displays 2020-05-29 09:34:21 -04:00
Rapptz
742b14a705 Add dark theme for codeblocks 2020-05-29 07:23:00 -04:00
Rapptz
71f6b950d1 Actually make overflowing have a scrollbar on mobile 2020-05-29 06:45:44 -04:00
Rapptz
8a94adcbcd Fix codeblock related things with mobile responsiveness. 2020-05-29 06:21:05 -04:00
Josh
a31cf94699
Use default scrollbar for body on webkit browsers 2020-05-29 03:52:56 -04:00
Josh
dc545f570e
[matrix] Modal cleanup
* General modal cleanup

* Remove second scrollbar caused by modal
2020-05-29 03:25:13 -04:00
Josh
24c9e7b5fc
[matrix] Dark Theme
* Apply width restructions to modals and images

* Dark theme 2.0

* Add webkit scrollbar

* Use Object.keys instead of Object.entries where applicable
2020-05-29 02:57:00 -04:00
Rapptz
38529e6e21 Proper padding for the copy button 2020-05-28 02:21:01 -04:00
Rapptz
439081081c Reverse the related links 2020-05-28 01:33:16 -04:00
Rapptz
aedd40e585 Use html_js_files instead of the old approach to add JS files. 2020-05-28 01:07:17 -04:00
Rapptz
da4e345f3d Cleanup copy button CSS and add a hover-over explanation. 2020-05-28 01:06:06 -04:00
Rapptz
4e9fdc6e4f Rewrite the DOM to use CSS grids
This also rewrites the CSS to use CSS variables. Currently this isn't
done to codeblocks however.
2020-05-27 23:43:58 -04:00
NCPlayz
0a8b87cae7 add copy codeblock button
Apply suggestions from code review

Co-authored-by: Danny <Rapptz@users.noreply.github.com>

Change to icon, change according to slice's review
2020-05-27 23:39:11 -04:00
Josh
38a7cbb6a5
[matrix] Add sans-serif font toggle to settings modal
* Add sans serif font toggle

* remove unnecessary boolean comparison from setFont

Co-authored-by: slice <ryaneft@gmail.com>

* Update checkbox title

Co-authored-by: slice <ryaneft@gmail.com>

* General cleanup of settings system

* Apply overflow hidden to modal

Co-authored-by: slice <ryaneft@gmail.com>
2020-05-27 10:05:40 -04:00
Josh
e6712d76d1
[matrix] Create settings modal
* Create settings modal

* Fix issue with spacing after settings button

* Fix issue with modal background on mobile devices

* Add close button to modal

* Add tooltip to close button

* Support closing modal with escape key

* Add missing semicolon to keydown event listener
2020-05-27 02:22:21 -04:00
Josh
1e471b64e6
[matrix] Refactor docs JS
* Refactor custom.js

* Refactor scorer.js

* tables variable shoudn't be in global scope
2020-05-27 00:56:38 -04:00
Nadir Chowdhury
509cc135d4
Add favicon 2020-05-26 23:18:42 -04:00
Rapptz
04cec0ec10 Use actual viewport tag with initial-scale set to 1 2020-05-26 07:04:58 -04:00
Jens Reidel
f2482d4fb3 Add fixed header links, fix some parts of mobile UI
Dynamic content width equal to old one if on 1080p

Fix mobile view

Disable fixed header on mobile
2020-05-25 22:37:01 -04:00
Rapptz
ccb4e0b6e7 Bump Sphinx to 3.0.3 2020-05-25 22:15:46 -04:00
Riley Shaw
3c558af0cb
make documentation sphinx 3.x compatible 2020-05-25 21:39:59 -04:00
Rapptz
2eb9e3bc56 Move table JS outside of scrolling 2020-05-25 12:17:13 -04:00
Rapptz
de9a3b5f60 Bump Sphinx to 2.4.4 2020-05-25 11:55:13 -04:00
Rapptz
771c1c85d8 Add attributetable and add some class-level sections.
The extensions have yet to receive this treatment and CSS needs work,
but for now this is fine.
2020-05-25 11:48:16 -04:00