Commit graph

439 commits

Author SHA1 Message Date
Amish Shah
c49c5576d0
Point discord.js-docgen dependency to its new location 2018-01-18 17:56:46 +00:00
Amish Shah
c522b65adb
Point discord.js-docgen dependency to its new location 2018-01-18 17:54:45 +00:00
Amish Shah
c4b1be8506
i didnt even want to update deps but no here we are updating deps for a version nobody will use because they all use v12 2018-01-13 20:39:47 +00:00
Amish Shah
c27ecf678e
Update dependencies 2018-01-13 18:52:20 +00:00
Isabella
b6c89ef638 fix(verson): update package.json (#2196) 2017-12-31 20:19:42 +01:00
Schuyler Cebulskie
96971c432d Merge master into voice-rewrite 2017-12-02 19:48:43 -05:00
Gus Caplan
4f4f0764e6
Merge branch 'master' into refactor/webpacks 2017-12-02 15:11:44 -06:00
bdistin
6a222ec6e9 Backport: erlpack dep fix (#2142) 2017-12-01 18:50:33 +01:00
Schuyler Cebulskie
a2074e8f25 Bump deps 2017-11-18 21:08:06 -05:00
Drahcirius
8237bc054c So long, long (#1994)
* refactor: remove long dep

* fix linter issue

* remove file extensions

* optimize methods
2017-11-17 14:37:07 +01:00
Gus Caplan
f63861a334
fix prepublish script 2017-10-29 18:40:56 -05:00
Amish Shah
ac0cc9a009
Remove useless SecretKey class 2017-10-26 14:02:44 +01:00
Amish Shah
65673197d4
Start rewrite with new prism 2017-10-25 23:14:41 +01:00
Gus Caplan
f8f804da36
wew 2017-10-25 16:09:36 -05:00
Gus Caplan
0589b7d7f1 zlib stream compression (#2028) 2017-10-25 17:30:03 +01:00
Amish Shah
3e460162ca
Update prism-media dependency to 0.0.2 2017-10-22 22:00:14 +01:00
Amish Shah
07bacf2a7d
Update opusscript dependency to 0.0.4 2017-10-22 22:00:04 +01:00
Amish Shah
96ce1b0945
Update libsodium-wrappers peer dep and fix support for the newest version 2017-10-22 21:59:30 +01:00
Gus Caplan
339bcfd325 clean up webpack/deploy stuff (#2044)
* fix stuff i think

* Update deploy.sh

* Update deploy.sh
2017-10-22 14:45:32 +02:00
Gus Caplan
296046dbc6 remove ua manager (#2015) 2017-10-19 07:11:07 +02:00
Gus Caplan
27ccad1f1c tinify webpacks (#1975)
* tinify webpack

* meme

* fix long version

* more changes

* even smoler

* fix up logic

* fix build

* undo changes to user agent manager because its not webpack'd anymore

* the heck

* fix stupid

* clean up browser rules

* typo
2017-09-26 07:18:12 +02:00
Gus Caplan
4d4d2f2db7 add agent support (#1973) 2017-09-25 20:46:19 +02:00
Gus Caplan
6ce9a8743f update browser stuff and browser eslint (#1938)
* Update browser.js

* Update .eslintrc.json

* Update package.json

* Update package.json

* stop doing manually what webpack can do for us

* Update .eslintrc.json

* Update package.json
2017-09-24 21:01:47 +01:00
Gus Caplan
f2502e29b9 update dep for org name change (#1953) 2017-09-20 21:03:00 +02:00
iCrawl
9e66e806ce
fix: minified webpack builds 2017-09-05 19:03:06 +02:00
Amish Shah
d9f772cdc1 11.2.1 2017-09-03 19:54:59 +01:00
iCrawl
18de265fcc
lock version numbers, prepare release 2017-09-03 18:03:13 +02:00
Amish Shah
b8315b79c7 Store and Model Refactor (#1618)
* UserStore refactor

* Create ChannelStore, remove redundant methods in ClientDataManager

* Create GuildStore

* Emoji stuff

* Use a Base class where possible to reduce code duplication

* Remove unnecessary comments from ChannelStore

* Add Base._clone();

* Remove unused ClientDataManager methods

* Refactor some more stuff

* ESLint

* Move Client#fetchUser to client.users.fetch

* Remove .has checks and just see if .get is truthy

* Fix guild member chunk error

* ESLint

* Fix typo

* Fix channel storing for user bots

* Remove ClientDataManager

* GuildChannelStore

* Reduce use of Util.cloneObject

* and this one too

* update typings

* Fix MessageUpdate handling (#1507)

* Fix role updates (probably fixes #1525)

* fix for eslint

* Address some of appell's comments

* Use debug constant

* start message store crap if it's ugly tell me later k

* fix that

* message store but works™️

* clean up guild stuff

* clean up channel store stuff

* clean up channel event handling

* does this message stuff work? find out soon in the next episode of dIsCoRd.Js

* eslint

* emojis

* emojis and reactions

* hi my name is eslint and im A LIL SHIT

* so i forgot this huh

* user stuff

* Fix @class

* Fix message stuff

* Fix user store docs

* Document all the bases

* fix the super things

* tidy up remove

* fix textbasedchannel

* fix that too

* fix emoji store

* make voice state stuff less ugly

* make voice states even less ugly

* make members less bad

* fix bug

* fix that too

* fix reactions

* how was this broken for so long

* role store

* remove super._patch from UserConnection

* Rename UserProfile#setup to _patch

* remove unnecessary super calls

* update docgen dep (pls fix travis thx)

* doc messagestore

* fix docs

* message store docs

* things

* DOCS PLS

* more things

* Document TextBasedChannel#messages as a MessageStore

* Rebase

* All the stores!
2017-08-25 21:08:58 +01:00
iCrawl
b3216f26d6 Update deps 2017-08-20 21:39:27 +02:00
iCrawl
fff8b764af Update package.json 2017-08-17 20:20:20 +02:00
Crawl
26e5ef3205 Update deps and fix webpack 2017-07-16 14:34:23 +02:00
Crawl
116fcbd54e Oops, might use the right version number 2017-07-08 06:34:50 +02:00
Crawl
516c2025ba Use the uglifyjs-webpack-plugin beta on npm 2017-07-08 06:32:29 +02:00
Crawl
0c34f3a313 Update dependencies & make webpack great again 2017-07-05 11:53:53 +02:00
Schuyler Cebulskie
2a96296e95 Identify version as development 2017-06-02 00:19:02 -04:00
Crawl
375b89a94a Force node 8 2017-06-01 10:42:35 +02:00
Amish Shah
535a640534 Update ws and tweetnacl dependencies to new major versions 2017-05-30 12:51:31 +01:00
Crawl
8a7a805d92 Fix webpack uglify 2017-05-13 18:18:15 +02:00
Crawl
b0d4b53d6b Fix webpack uglify 2017-05-13 18:17:25 +02:00
Crawl
2a23941020 Update version 2017-05-05 17:08:41 +02:00
Crawl
328d75be7d Update version 2017-05-05 17:08:22 +02:00
Amish Shah
9841615775 Merge branch 'master' of https://github.com/hydrabolt/discord.js 2017-04-30 12:10:27 +01:00
Amish Shah
c880f10714 Update bufferutil peerdep requirement from ^2.0.0 to ^3.0.0 2017-04-30 12:10:22 +01:00
Crawl
bd6317cf99 Add uws back to package.json 2017-04-30 12:59:11 +02:00
Crawl
fb5b8f8548 Remove uws from package.json 2017-04-24 08:22:28 +02:00
Crawl
7d5bfccd67 Update package.json 2017-04-22 18:15:26 +02:00
Crawl
6c4f63ed72 Make @types/node a devDependency 2017-04-22 15:00:37 +02:00
Crawl
c3bc6d5234 Update to latest eslint 2017-04-22 14:56:10 +02:00
Skiptir Engu
8475a4abee Use libsodium.js if available (#1390)
* Use libsodium.js if available

* Style consistency

* Added peer dep and update README

* Link should point to npmjs 🤔
2017-04-19 18:35:45 +02:00
Gus Caplan
47442eeba3 snekfetch v3 hype (#1391) 2017-04-19 16:40:07 +01:00
Crawl
6bae7a135f Update package.json to v11.1
This is to reflect version of the master branch
2017-04-16 02:22:18 +02:00
Amish Shah
bdf6f30990 Update package.json to depend on npm distribution of prism-media rather than the git repo 2017-04-15 19:46:36 +01:00
Gus Caplan
d7cf4a0919 switch snekfetch to npm dep because not everyone has git (#1349)
* Update package.json

* Update package.json
2017-04-09 15:55:35 +02:00
Crawl
4ebf4307e8 Update package.json 2017-04-05 21:40:38 +02:00
Crawl
dde6eb003c Force newest node-opus and opusscript 2017-04-02 19:45:10 +02:00
Gus Caplan
cb3f6d9646 http rewrite (actually works this time!!1!) (#1257)
* rewrite http

* browser fun

* all the mimes dammit

* i need a newline

* whoops

* forgot about this

* use promises and HTTPRequest.method

* fluent

* move httpclient to external module

* branding

* middleware

* revert middleware
2017-04-01 09:04:01 +02:00
Alexandre B
c86ebefecb Updated uws package version. (#1315) 2017-03-29 21:51:30 +02:00
Schuyler Cebulskie
41c67766d8 Update ESLint dependency (forgot to include this) 2017-03-17 01:25:30 -04:00
Gus Caplan
fa609caee2 remove pako (#1258) 2017-03-16 09:15:48 -04:00
Schuyler Cebulskie
0f6fceebb4 Update voice webpack exclusions 2017-02-06 01:57:08 -05:00
Schuyler Cebulskie
d6f17a9319 Merge branch 'master' into indev-prism 2017-02-06 01:54:31 -05:00
Schuyler Cebulskie
4dc70d8cef Update dependencies and fix tweetnacl webpack exclusion 2017-02-06 01:27:04 -05:00
Jacob
49944747ae Sodium (#1172)
* Use Native libsodium when available

* add newline

* fix typo of exports

* add to webpack ignore

* Update Secretbox.js
2017-02-06 01:24:54 -05:00
Schuyler Cebulskie
e8ac18489e Merge branch 'master' into indev-prism 2017-02-01 15:29:45 -05:00
Schuyler Cebulskie
d51e45f3b9 Add bufferutil info, and uws warning 2017-02-01 02:01:36 -05:00
Schuyler Cebulskie
a5b901f4ef Update ws and opusscript 2017-02-01 01:52:22 -05:00
Schuyler Cebulskie
e9ab9c9f92 Improve scripts 2017-01-30 20:21:53 -05:00
Schuyler Cebulskie
3545e731c0 Renamed webpack build script 2017-01-19 22:07:02 -05:00
Schuyler Cebulskie
f51ba3fb06 Update to Webpack 2.2 stable 2017-01-19 22:04:18 -05:00
Amish Shah
098ad195bd Merge branch 'master' into indev-prism 2017-01-14 21:00:13 +00:00
Schuyler Cebulskie
ee1c343d78 Update dependencies 2017-01-13 21:26:25 -05:00
Schuyler Cebulskie
bac599b52e Merge branch 'master' into indev-prism 2017-01-07 03:42:39 -05:00
Schuyler Cebulskie
2156ce1e15 Remove unnecessary branch specification 2016-12-30 18:06:08 -05:00
Amish Shah
56e01291e2 Merge branch 'master' into indev-prism 2016-12-30 18:05:29 +00:00
Gus Caplan
beffb390e6 Add search (#1043)
* add search

* Update ClientDataResolver.js
2016-12-30 02:44:19 -05:00
Schuyler Cebulskie
bcbd187223 Fix test-docs script 2016-12-30 00:07:24 -05:00
Schuyler Cebulskie
89cea574be Add prism-media dependency 2016-12-29 20:06:48 -05:00
Amish Shah
ebd2f0e73f Update ws dependency to 1.1.1 for security 2016-12-29 17:31:49 +00:00
Amish Shah
f613cc3c50 Version bump package.json 2016-12-29 16:37:39 +00:00
Schuyler Cebulskie
a014b59790 Update webpack 2016-12-28 21:35:19 -05:00
Schuyler Cebulskie
fb6a8d1637 Update webpack and clean up deps 2016-12-24 20:25:29 -05:00
Gus Caplan
6c38b83923 fix runkit/tonicdev example (#998) 2016-12-17 17:44:25 +00:00
Gus Caplan
1e5afc1608 Add etf encoding support with erlpack (#943)
* the performance from this is astounding

* help uws

* save 15 bytes in webpacks

* update readme

* why is markdown like this

* optimizations

* Update WebSocketManager.js
2016-12-02 21:35:59 -05:00
Hackzzila
6afd80cf53 Make uws a peer dep, and readd ws (#928)
* Make uws a peer dep, and readd ws

* if -> else if
2016-11-27 19:59:50 +00:00
acdenisSK
b85a589a01 Add typings (#925) 2016-11-27 15:28:46 +00:00
Schuyler Cebulskie
c683790de7 Remove old uws-specific code (0.11.1 has the good stuff) 2016-11-25 19:40:53 -05:00
Schuyler Cebulskie
91a69fb761 Update docgen dependency 2016-11-23 20:07:37 -05:00
Gus Caplan
c91ee7a3e7 Replace ws with uws (#918)
* change to uws (waiting for the next release tho)

* clean up, fix reconnections (maybe)

* change voice to use uws

* so messy
2016-11-23 19:30:00 -05:00
Schuyler Cebulskie
338aa58386 Set up new-new custom docs mechanism 2016-11-22 19:50:05 -05:00
Schuyler Cebulskie
7c97244854 Move to new docgen 2016-11-22 18:24:29 -05:00
Schuyler Cebulskie
c8858de71e Change to zlibjs release 2016-11-22 01:05:53 -05:00
Schuyler Cebulskie
0d754d1fbb Change the way modules are excluded from webpack 2016-11-20 23:19:53 -05:00
Schuyler Cebulskie
f6a60581c4 Remove even more stuff from web dists 2016-11-20 22:40:06 -05:00
Schuyler Cebulskie
049ab42eb4 Do stuff slightly better 2016-11-20 20:54:40 -05:00
Schuyler Cebulskie
411c9bd32c Update to Webpack 2.1 beta 27 2016-11-20 20:19:43 -05:00
Schuyler Cebulskie
6383d42eb5 Update to superagent 3 2016-11-20 20:08:59 -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
686cf297d2 Clean up various script things 2016-11-20 18:19:58 -05:00
Schuyler Cebulskie
acdf2d14c2 Undo that dummy commit 2016-11-12 21:50:17 -05:00
Schuyler Cebulskie
2b7c7bfd8f Dummy commit to force a travis build 2016-11-12 21:50:05 -05:00
Schuyler Cebulskie
3230d90a58 Remove fs-extra dependency 2016-11-12 17:23:54 -05:00
Schuyler Cebulskie
73261646fc Fix ESLint warnings 2016-10-30 17:23:39 -04:00
Schuyler Cebulskie
c1926b6221 Prepare 10.0.1 release 2016-10-27 19:52:54 -04:00
Schuyler Cebulskie
b8946d5904 Give the docgen a facelift 2016-10-26 23:30:37 -04:00
Schuyler Cebulskie
c5c9d0265c Evie 😒 2016-10-24 01:10:52 -04:00
Evelyne Lachance
a7d16e66b7 Version bump for indev+troubleshooting 2016-10-24 00:50:15 -04:00
Schuyler Cebulskie
1ef00d0fe7 Change node-opus and opusscript to peer deps 2016-10-14 00:52:25 -04:00
Amish Shah
124965425a Version bump to 9.3.0 \o/ 2016-09-24 19:54:29 +01:00
Amish Shah
92775abb49 Version bump to 9.2.0 2016-09-12 18:35:47 +01:00
Amish Shah
b476473a2c Make npm test harder to pass (includes jsdoc now) 2016-09-11 17:50:28 +01:00
Amish Shah
9d1d7c5162 Version bump to 9.1.1 2016-09-10 14:27:29 +01:00
Amish Shah
e57fe71387 version bump to 9.1.0 2016-09-09 17:34:27 +01:00
Amish Shah
cb22f8efea Update dependencies 2016-09-04 14:59:52 +01:00
Amish Shah
ab6c99f155 9.0.2 2016-09-04 13:48:39 +01:00
Amish Shah
9ce3b93827 9.0.1 2016-09-04 13:41:08 +01:00
Amish Shah
4598f90183 bump to 8.0.0 2016-09-04 12:46:02 +01:00
Schuyler Cebulskie
68acf37fd4 Add stricter/better ESLint config (#589)
* Add stricter/better ESLint config

* Remove more unnecessary @returns
2016-09-03 20:45:23 +01:00
Schuyler Cebulskie
2682c07bd8 Add dev dependencies and cleanup ESLint file (#588) 2016-09-03 19:32:04 +01:00
Schuyler Cebulskie
44efcf3f52 Lower Node version requirement to 6.0.0 (#583) 2016-09-03 09:56:33 +01:00
Manuel Kraus
d9ae732bfd Add sendFile function (#562)
* sendFile

* Add default value to filename

* eslint

* (╯°□°)╯︵ ┻━┻
2016-08-29 19:01:05 +01:00
Amish Shah
6ea2a523d6 Update node engine requirements 2016-08-28 18:56:12 +01:00
Amish Shah
3462bbc8d4 Remove opusscript from optionals whoops 2016-08-28 18:55:46 +01:00
Amish Shah
93771ce6d0 Make opusscript a dependency 2016-08-28 18:55:26 +01:00
abal
ac7e1a052c Add opusscript as a possible opus encoder (#558)
* Add opusscript as a possible opus encoder

* Make weird eslint rule happy
2016-08-28 17:35:59 +01:00
Amish Shah
ee6ccc5e17 Fix fs-extra dependencies 2016-08-26 18:05:36 +01:00
Hackzzila
d215e283e6 Fixed fs-extra again, hydrapls (#547) 2016-08-26 16:16:39 +01:00
Amish Shah
7ba37a3511 fix eslint for opus 2016-08-25 22:02:41 +01:00
Amish Shah
fe3fdb7d6a document voice 2016-08-25 19:12:23 +01:00
Amish Shah
8683f45816 errory voice 2016-08-24 21:38:52 +01:00
Amish Shah
0916cd71a5 Change test script to ESLint 2016-08-23 14:06:10 +01:00
Amish Shah
6ad970e311 Removed unused dependencies 2016-08-22 19:25:19 +01:00
Amish Shah
985681f1f6 change doc gen 2016-08-21 17:26:38 +01:00
Amish Shah
dcba580d89 Implement Sequential Rate Limiting 2016-08-19 18:01:28 +01:00
Amish Shah
18299970bd Updated to docs format v3, adds support for interfaces 2016-08-18 13:07:45 +01:00
Amish Shah
62856ff57a start work on documentation generator 2016-08-14 18:12:59 +01:00
Amish Shah
b8db4c4f4b ESLint stuff... 2016-08-13 14:44:49 +01:00
Amish Shah
849b8df2da Added guild.createRole() 2016-07-02 21:28:49 +01:00
hydrabolt
ccffe09bca remove unused shim object.entries 2016-04-16 23:01:58 +01:00
hydrabolt
9956e43c8e initial 2016-04-16 22:58:49 +01:00