Gus Caplan
5ecd5f7d69
REST API speed improvement ( #1577 )
2017-07-01 10:14:17 +01:00
Gavin Wainwright
7b44262346
Destructure certain imports ( #1634 )
2017-06-29 00:43:26 +01:00
Drahcirius
45cc175851
setTimeout should use args ( #1623 )
2017-06-27 20:22:17 +01:00
Will Nelson
0a337a4646
make token not enumerable ( #1620 )
2017-06-25 20:48:30 +01:00
Gus Caplan
63e54982f4
Errors Standardization ( #1246 )
...
* errors and stuff
* more errors
* all the errors
* fix build
2017-06-25 18:48:05 +01:00
SpaceEEC
201ecd25a2
renamed OAuth2Application#reset to resetSecret and added resetToken ( #1541 )
2017-06-24 23:26:09 +01:00
Amish Shah
b694ab1b80
Add internal sharding options
2017-06-11 11:36:58 +01:00
SpaceEEC
d6041f9fb3
Added Client#status and Message#type typedefs ( #1571 )
...
* typedef for MessageTypes and linked Client#status to Status
* should be singular
* typedef for Voiceconnection#status
2017-06-09 16:27:49 +02:00
SpaceEEC
fce15ba33c
Fix for bulkDelete, acknowledge, createInvite and remove some redundant stuff ( #1515 )
2017-05-21 22:04:57 +02:00
bdistin
ec5da9e6ad
Fix trying to use this.client, when this IS client, and this.client i… ( #1514 )
2017-05-21 21:12:49 +02:00
Gus Caplan
0baa59b679
Internal API Request Rewrite ( #1490 )
...
* start rewrite
* converted guilds
* more changes
* convert GuildMember
* convert User and remove friend methods which kill people
* convert more stuff
* even more stuff
* make things nicer
* speed and fixes and stuff
* almost finished
* fix
* Update Client.js
* uwu
* Update RESTMethods.js
* message editing
* fix router
* fix issue with references
* message delete reason
* move message sending
* fix dm
* message splitting
* NO MORE REST METHODS
* Update Client.js
* Update WebhookClient.js
* remove all those endpoints from the constants
* Update ClientUser.js
* Update ClientUser.js
* fixes
* Update ClientUser.js
* complaiancy
* all sort of fixes
* merge master (#1 )
* Fix Permissions now that member is deprecated (#1491 )
* removing more deprecation leftovers (#1492 )
* Fix MessageCollectors
* Fix awaitMessages (#1493 )
* Fix MessageCollector#cleanup
* Fix MessageCollector#postCheck
* Add max option back for safety
* Update Invite.js (#1496 )
* guild setPosition missing docs (#1498 )
* missing docs
* update return docs
* indent
* switched .invites for the apirouter and invite.js
* make multiple options an object
* Update ClientUser.js
* fix nicks
* Update WebhookClient.js
2017-05-21 07:04:19 +02:00
Amish Shah
8e5c600227
Make OAuth2Application backwards compatible again
2017-04-30 11:21:48 +01:00
Crawl
ac92d2cecc
Improve docs a bit
2017-04-30 04:30:44 +02:00
SpaceEEC
956372731f
Using ws.connection.status rather than undefined ws.status ( #1429 )
2017-04-28 21:27:30 +02:00
Amish Shah
195fcfa15c
Rewrite WebSocket internals ( #1410 )
...
* Start rewriting Manager and Connection
* more stuff
* stuff
* Fix ready bug
* some stuff i forgot
* fix some stuff
* add stupid heartbeat ack like seriously who cares
* woo!
* fix a bug
* rate limit the dumb websocket
* stuff
* hdocs
* Docs
* Remove ClientManager#setupKeepAlive as it is now redundant
* Change Client._pingTimestamp to a getter that fetches the timestamp from the WebSocketConnection
* are you happy now eslint smh
* make gus happy
* Add CloseEvent external doc
* Make sure to emit 'reconnecting' when actually reconnecting
* ffs
* Fix RESUME logic
* Add heartbeat ack debug messages, including latency data
* Dumb stuff for Gus
* thx eslint
* more dumb stuff
* more dumb crap smh gus i h8 u
* moar messages
* fix for using wrong status, causing certain events not to be fired (#1422 )
2017-04-28 16:13:06 +01:00
Schuyler Cebulskie
16fe48d405
Overhaul Permissions utilities (EvaluatedPermissions no more)
2017-03-06 02:22:42 -05:00
Programmix
a029999b09
Doc fixes, mostly pertaining to Snowflakes ( #1218 )
...
GUS!!!! @GusCaplan
2017-02-24 15:33:51 -05:00
Amish Shah
8a2ec437e5
Merge branch 'master' into indev-prism
2017-02-22 20:37:59 +00:00
Gus Caplan
61e12c637b
Add support for more OAuth features ( #1203 )
2017-02-22 20:09:40 +00:00
Schuyler Cebulskie
f2a6c1d98c
Improve Client docs a bit more
2017-02-21 14:02:29 -05:00
Schuyler Cebulskie
7232531eb1
Move all util methods into class
...
Remove TransformMessageOptions altogether
2017-02-15 22:25:18 -05:00
Schuyler Cebulskie
d6f17a9319
Merge branch 'master' into indev-prism
2017-02-06 01:54:31 -05:00
Schuyler Cebulskie
b859ba7639
Increase some documentation detail
2017-02-05 23:00:36 -05:00
Gus Caplan
59ff1d99ba
fix types for snowflakes ( #1156 )
...
* fix types for snowflakes
* Update TextBasedChannel.js
2017-02-03 21:37:58 -05:00
Schuyler Cebulskie
e8ac18489e
Merge branch 'master' into indev-prism
2017-02-01 15:29:45 -05:00
Gus Caplan
87b600f78f
switch to os shim for safety ( #1136 )
...
* switch to os shim for safety
* Update Client.js
2017-01-26 21:21:43 +00:00
Schuyler Cebulskie
b13fdcc8d3
Merged master into indev-prism
2017-01-18 19:23:18 -05:00
Gus Caplan
3f4cbd07dd
add voice region getting ( #1108 )
...
* add voice region getting
* clean up this mess
* add docstrings
* Update VoiceRegion.js
* Update RESTMethods.js
2017-01-18 19:14:44 -05:00
Amish Shah
ba465bc680
Merge branch 'master' into indev-prism
2017-01-15 14:20:32 +00:00
Gus Caplan
78bf402e8e
allow users and members to not be cached ( #1097 )
2017-01-14 21:20:09 +00:00
Amish Shah
d13c48bafa
more tiny voice docs
2016-12-30 18:10:48 +00:00
Amish Shah
72a99f9582
start work with broadcast streams
2016-12-29 21:22:13 +00:00
Schuyler Cebulskie
289447e4c9
Update Client.js
2016-12-28 16:28:36 -05:00
Gus Caplan
2410fdf8d2
fix heartbeats once and for all ( #1016 )
2016-12-25 16:28:36 +00:00
Gus Caplan
3eca3ba95e
add handler in case heartbeat is not acked ( #1013 )
...
* add handler in case heartbeat is not acked
* ffs
2016-12-24 11:04:27 +00:00
Gus Caplan
fa7d63a10a
add an invite generator ( #993 )
...
* add an invite generator
* `number |= null` is safe, so we can simplify this
* Update Client.js
* aaaaaa
2016-12-20 23:37:36 +00:00
Gus Caplan
b74c1b70b6
fix 992 ( #994 )
2016-12-18 16:06:42 -05:00
Gus Caplan
a20bac7258
update per issue 69 on the h&c github ( #963 )
...
* update per issue 69 on the h&c github
* clean up things that don't exist anymore
2016-12-15 16:32:19 +00:00
Schuyler Cebulskie
58c7c2e7b8
Add client ping stuff
2016-12-02 20:58:19 -05:00
Schuyler Cebulskie
dc6c1140bc
Improve some JSDocs
2016-11-27 01:08:08 -05:00
Schuyler Cebulskie
ac64f8bd23
Improve rest args docs
2016-11-24 11:22:13 -05:00
Schuyler Cebulskie
ee4a8bb3b6
Made Client.browser a getter
2016-11-20 22:45:59 -05:00
Schuyler Cebulskie
f6a60581c4
Remove even more stuff from web dists
2016-11-20 22:40:06 -05:00
Gus Caplan
2440a4a2c8
Add webpack building ( #907 )
...
* friggin webpack tho
* probably important
* add all the stuff to the package.json
* add minify builds and a nice package.json script to run it all
* clean up
* use uglify harmony branch so we can actually run minify builds that work
* update build system
* make test better
* clean up
* fix issues with compression
*
* c++ requirements in a node lib? whaaaaat?
* fix travis yml?
* put railings on voice connections
* 🖕🏻
* aaaaaa
* handle arraybuffers in the unlikely event one is sent
* support arraybuffers in resolvebuffer
* this needs to be fixed at some point
* this was fixed
* disable filename versioning if env VERSIONED is set to false
* Update ClientDataResolver.js
* Update ClientVoiceManager.js
* Update WebSocketManager.js
* Update ConvertArrayBuffer.js
* Update webpack.html
* enable compression for browser and fix ws error handler
* Update WebSocketManager.js
* everything will be okay gawdl3y
* compression is slower in browser, so rip the last three hours of my life
* Update Constants.js
* Update .gitignore
2016-11-20 19:38:16 -05:00
Schuyler Cebulskie
b07a31d44e
Change case of "function"
2016-11-12 21:07:22 -05:00
Schuyler Cebulskie
90304aa7d6
Fix loads of JSDoc type issues
2016-11-12 20:52:37 -05:00
Schuyler Cebulskie
ce132d5f54
Make bot/user account warnings MOAR CONSISTENT!!one!
2016-11-12 17:15:17 -05:00
Programmix
fe3914658a
Grammar cleanup ( #875 )
...
This commit:
* fixes inconsistencies (primarily regarding capitalization)
* fixes non-proper nouns that were improperly capitalized
* fixes reminents from not-so-meticulous copy+paste jobs
2016-11-05 23:57:34 +00:00
Schuyler Cebulskie
d7e1e1c0c9
Add warnings for Collection.find/exists
2016-10-30 22:22:16 -04:00
Schuyler Cebulskie
f2496070d3
Document client timeout/interval stuff
2016-10-30 17:02:06 -04:00