| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix voice states being overwritten after a GUILD_SYNC. | Rapptz | 2016-06-28 | 1 | -3/+4 |
| | | | | | | | | | | This was a two-fold problem. The first of which involved the overwriting of members during a GUILD_SYNC. Since we are requesting a chunk anyway, we have all the member references we need without actually chunking. The second problem came from the order. We were doing a GUILD_SYNC and then doing the chunking requests. We should do the GUILD_SYNC after the chunking in order to just update presences. | ||||
| * | Handle MESSAGE_DELETE_BULK. | Rapptz | 2016-06-22 | 1 | -0/+7 |
| | | |||||
| * | Support for v5 Gateway. | Rapptz | 2016-06-22 | 1 | -3/+13 |
| | | |||||
| * | Update positions when a role is added or removed. | Rapptz | 2016-06-01 | 1 | -2/+2 |
| | | |||||
| * | Add Role.server attribute. | Rapptz | 2016-06-01 | 1 | -4/+3 |
| | | | | | This breaks events that expected a server parameter for the role events. | ||||
| * | Update voice client main ws references when reconnecting. | Rapptz | 2016-06-01 | 1 | -0/+4 |
| | | |||||
| * | Add RESUME support. | Rapptz | 2016-06-01 | 1 | -0/+3 |
| | | |||||
| * | Only trigger on_voice_state_update if the member actually exists. | Rapptz | 2016-05-20 | 1 | -2/+3 |
| | | |||||
| * | Fix bug where members leaving will stay in Channel.voice_members. | Rapptz | 2016-05-20 | 1 | -0/+9 |
| | | |||||
| * | Fix issue with Member.joined_at being None. | Rapptz | 2016-05-10 | 1 | -1/+2 |
| | | |||||
| * | Working multi-server voice support. | Rapptz | 2016-05-01 | 1 | -0/+21 |
| | | |||||
| * | Attempt to consistently sort of all Member.roles | Rapptz | 2016-04-29 | 1 | -4/+3 |
| | | |||||
| * | Sort member.roles by ID but keep the default role in index 0. | Rapptz | 2016-04-29 | 1 | -1/+4 |
| | | | | | | This should make the events checking if `before` and `after` roles are equivalent more sane for users. | ||||
| * | Add support for server specific nicknames. | Rapptz | 2016-04-29 | 1 | -1/+6 |
| | | |||||
| * | Begin working on gateway v4 support. | Rapptz | 2016-04-27 | 1 | -3/+5 |
| | | | | | | | Bump websockets requirement to v3.1 Should be squashed... | ||||
| * | Fix deadlock issue when joining large guilds. | Rapptz | 2016-04-15 | 1 | -5/+13 |
| | | |||||
| * | Handle bot tag updates in GUILD_MEMBER_UPDATE. | Rapptz | 2016-04-12 | 1 | -0/+2 |
| | | |||||
| * | User JSON object has 'username' keys not 'name'. | Rapptz | 2016-04-11 | 1 | -1/+1 |
| | | |||||
| * | Better chunking behaviour and add members on PRESENCE_UPDATE. | Rapptz | 2016-04-11 | 1 | -23/+28 |
| | | | | | | | | This should hopefully cover all cases where members are added. There was a bug where an array of chunks received would get entirely processed if only a single chunk was received. This was fixed by explicitly bailing early if we're requesting for chunks. | ||||
| * | Fix chunk requests not actually being batched. | Khazhismel | 2016-04-11 | 1 | -3/+5 |
| | | |||||
| * | Proper chunking for unavailable guilds. | Rapptz | 2016-04-10 | 1 | -24/+66 |
| | | | | | This will also delay on_ready until all chunking is complete. | ||||
| * | Fix handling of message update in MESSAGE_UPDATE | Zeta | 2016-04-05 | 1 | -6/+5 |
| | | |||||
| * | Skip member_update event when a member is not in a guild. | Rapptz | 2016-04-02 | 1 | -1/+1 |
| | | |||||
| * | Change parsing of READY to be eager again. | Rapptz | 2016-03-06 | 1 | -12/+14 |
| | | |||||
| * | Fix bug where large servers in GUILD_CREATE did not get chunked. | Rapptz | 2016-03-06 | 1 | -3/+14 |
| | | |||||
| * | Move chunking logic back into ConnectionState. | Rapptz | 2016-03-06 | 1 | -3/+21 |
| | | | | | | This allows for a nicer design when dealing with parsers that could end up being coroutines. | ||||
| * | Server.me is now a dynamic property to avoid outdated references. | Rapptz | 2016-03-01 | 1 | -1/+1 |
| | | |||||
| * | Do not overwrite members that are already in cache during chunking. | Rapptz | 2016-02-17 | 1 | -1/+2 |
| | | |||||
| * | Remove request_offline option. | Rapptz | 2016-02-14 | 1 | -10/+7 |
| | | |||||
| * | Update owner references when we get a chunk. | Rapptz | 2016-02-14 | 1 | -0/+4 |
| | | |||||
| * | Offline members are now added by default automatically. | Rapptz | 2016-02-14 | 1 | -6/+54 |
| | | | | | | This commit adds support for GUILD_MEMBERS_CHUNK which had to be done due to forced large_threshold requirements in the library. | ||||
| * | Handle case where PRESENCE_UPDATE adds members to cache. | Rapptz | 2016-02-13 | 1 | -21/+31 |
| | | | | | | | | | When we don't request offline members, members that are going from offline to online in the server will become available via the PRESENCE_UPDATE event. This should be transparent to the user since technically the member exists in the server and thus on_member_update is used instead of on_member_join. | ||||
| * | Add Server.member_count property for actual member count. | Rapptz | 2016-02-13 | 1 | -0/+2 |
| | | | | | This will always work regardless of chunking or not. | ||||
| * | Fix cases where Member.roles would have a string instead of Role. | Rapptz | 2016-02-01 | 1 | -1/+8 |
| | | | | | Fixes #81. | ||||
| * | Update the unavailable guild's data when it becomes available. | Rapptz | 2016-01-21 | 1 | -3/+4 |
| | | |||||
| * | Guild member add will include deaf and mute now, do not provide default values | Khazhismel | 2016-01-12 | 1 | -1/+1 |
| | | |||||
| * | Handle cases where people put False-like values for game presences. | Rapptz | 2016-01-11 | 1 | -2/+2 |
| | | |||||
| * | Change internal update functions to have a leading underscore. | Rapptz | 2016-01-11 | 1 | -2/+2 |
| | | |||||
| * | document public get_ methods and make others private | Steven Berler | 2016-01-08 | 1 | -35/+35 |
| | | |||||
| * | performance improvements | Steven Berler | 2016-01-08 | 1 | -57/+76 |
| | | | | | | | | | | | | | | | | | | | | | | Replaced server member lists, channel lists, and private channel lists with dicts. This allows O(1) lookups and removes (previously it would be an O(N) operation to lookup or remove). I did pretty extensive testing and benchmarking to compare the performance of using lists vs using dicts. Iterating through lists to find an item is only faster in the average case for extremely small lists (less than 3 items). For 100 items, using a dict is about 10 times faster on average (and about 100 times faster for 1000 items). The overhead in dicts is in memory usage and initial creation time. Creating and populating a dict is about 2 to 3 times slower than creating and appending items to a list. However this cost is still tiny. For 1000 items this equates to about a 70 microsecond difference (on an i7 CPU) for populating the entire dict. The memory overhead for a dict (compared to a list) is about 25-60 KB per 1000 items (can vary depending on dict resizing). Originally I wanted to use OrderedDicts to presereve order, but in my testing OrderedDicts have about 6x the memory overhead compared to normal dicts. | ||||
| * | Fix handling of embed-only MESSAGE_UPDATE. | Rapptz | 2016-01-07 | 1 | -1/+6 |
| | | |||||
| * | Change the way MESSAGE_UPDATE events are handled. | Rapptz | 2016-01-07 | 1 | -11/+1 |
| | | | | | | | | | Previously we created a copy of the object and did some strange iteration over the data and set the attributes that we thought were valid. This worked back then in v0.1.0 of the library when it was written, but it no longer works nowadays when we want to be as future proof as possible. | ||||
| * | Unavailable guilds get added to cache. | Rapptz | 2016-01-06 | 1 | -2/+0 |
| | | |||||
| * | Update license of files to 2016. | Rapptz | 2016-01-04 | 1 | -1/+1 |
| | | |||||
| * | ConnectionState is now constructed in Client.__init__. | Rapptz | 2015-12-29 | 1 | -3/+5 |
| | | | | | | | This should reduce the amount of checks for None if someone doesn't want a websocket connection. The connection state is instead cleared rather than reconstructed. | ||||
| * | Add game data class, replace game_id. | Khazhismel | 2015-12-23 | 1 | -1/+3 |
| | | |||||
| * | Delete messages from message cache when you leave the server. | Rapptz | 2015-12-19 | 1 | -1/+9 |
| | | |||||
| * | Add __slots__ where appropriate to data classes. | Rapptz | 2015-12-19 | 1 | -1/+0 |
| | | |||||
| * | Add on_member_ban and on_member_unban events. | Rapptz | 2015-12-17 | 1 | -0/+20 |
| | | | | | Fixes #58. | ||||
| * | Remove on_status event. Superseded by on_member_update. | Rapptz | 2015-12-17 | 1 | -2/+1 |
| | | |||||