summary refs log tree commit diff
path: root/src/middlewares (follow)
Commit message (Collapse)AuthorAgeFilesLines
* :bug: fix gateway endpointFlam3rboy2021-08-071-3/+3
|
* :sparkles: route specific rate limitsFlam3rboy2021-07-011-15/+21
|
* :sparkles: finished Rate LimitFlam3rboy2021-07-011-33/+75
|
* :construction: rate limitFlam3rboy2021-07-012-4/+67
|
* :construction: rate limitFlam3rboy2021-06-281-4/+27
|
* :arrow_up: update dev client versionFlam3rboy2021-06-271-1/+0
|
* :lock: register proxy ip checkFlam3rboy2021-06-272-91/+5
|
* :bug: fix CORSFlam3rboy2021-06-261-1/+2
|
* CORS FIXJoaquim Peixoto2021-06-251-0/+1
|
* :sparkles: empty messages check + allowed mentionsFlam3rboy2021-06-231-0/+2
|
* feat: add routing for unversioned api requestsUmimaso2021-06-191-5/+5
| | | | | | Create new route for /api which can handle routing of unversioned requests. Update regex for NO_AUTHORIZATION_ROUTES to support unversioned requests.
* feat: add widget endpointsUmimaso2021-06-191-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | Implemented the four widget related endpoints of the api. Partial user object being returned as part of the widget.json endpoint [1] is an intentional choice related to privacy [2]. The widget.json endpoint will require additional changes upon completion of other work. Member details will need to return extra key/values for connected users to voice channels. An additional avatar_url value will hold an unique avatar url for the user + guild, fetched via a CDN endpoint widget-avatars. New dependencies `canvas` and `image-size`. Canvas is used to create the widget.png endpoint image [3]. Image-size is used to set the canvas' size to match the widget template images. Use regex in determining if a NO_AUTHORIZATION_ROUTES is hit or not. [1] https://discord.com/developers/docs/resources/guild#get-guild-widget [2] https://github.com/discord/discord-api-docs/issues/1287 [3] https://discord.com/developers/docs/resources/guild#get-guild-widget-image Closes: #9, #110
* :sparkles: use new configFlam3rboy2021-05-243-10/+6
|
* Fix: No more type casting required, rather take the gernicsDiego Magdaleno2021-05-232-2/+2
|
* Config: Final config additons, now everything should work as desiredDiego Magdaleno2021-05-222-2/+6
|
* Config: Refactor config method, so we have a new get all option, fix issues ↵Diego Magdaleno2021-05-211-2/+1
| | | | in configurations
* Config: First rewrite of config and working implementation of getting valuesDiego Magdaleno2021-05-191-2/+4
|
* :bug: fix test clientFlam3rboy2021-05-051-1/+2
|
* :art: added optional captcha to login routeFlam3rboy2021-05-011-0/+7
|
* npm i @fosscord/server-utilFlam3rboy2021-04-221-1/+1
|
* prepare npm publishFlam3rboy2021-04-221-4/+6
|
* :art: change default port to 1000 + CORSFlam3rboy2021-04-191-0/+7
|
* exclude path from authenticationxnacly2021-04-081-0/+1
|
* fix error handlerFlam3rboy2021-04-071-1/+1
|
* :art: Convert id bigint to stringFlam3rboy2021-04-061-1/+1
|
* :construction: experiments + gateway routeFlam3rboy2021-04-061-1/+7
|
* :sparkles: init test clientFlam3rboy2021-04-051-0/+1
|
* :bug: fix body parserFlam3rboy2021-04-051-1/+2
|
* rename req.userid -> req.user_idFlam3rboy2021-03-082-3/+3
|
* :bug: add webhooks to whitelist authFlam3rboy2021-02-221-2/+2
|
* :art: restructure + add/remove Member() functionFlam3rboy2021-02-221-1/+1
|
* :pencil: #CHANNELID -> #channelidFlam3rboy2021-02-221-1/+1
|
* fix req.userid -> convert to bigintFlam3rboy2021-02-171-1/+1
|
* :art: show proper auth errorFlam3rboy2021-02-171-1/+1
|
* :bug: fix token checkingFlam3rboy2021-02-171-3/+8
|
* :bug: fix db connectFlam3rboy2021-02-162-2/+0
|
* :fire: disable rate limit for now -> wait till mongoose model existsFlam3rboy2021-02-162-0/+4
|
* switch to mongooseFlam3rboy2021-02-142-0/+5
|
* Merge branch 'master' of https://github.com/discord-open-source/discord-apiFlam3rboy2021-02-103-3/+3
|\
| * update imports for fosscord-server-utilFlam3rboy2021-02-103-3/+3
| |
* | :bug: fix error handlerFlam3rboy2021-02-102-17/+25
|/
* :bug: update importsFlam3rboy2021-02-061-11/+6
|
* use discord-server-utilFlam3rboy2021-02-052-2/+3
|
* :art: Body Parser errorFlam3rboy2021-02-023-5/+22
|
* :sparkles: added defaults to configFlam3rboy2021-02-011-0/+26
|
* :zap: Convert BitField to BigIntFlam3rboy2021-01-301-1/+1
|
* :sparkles: UtilFlam3rboy2021-01-301-0/+4
|
* :sparkles: RateLimitFlam3rboy2021-01-302-0/+83
|
* :sparkles: AuthenticationFlam3rboy2021-01-301-0/+30