summary refs log tree commit diff
path: root/src/middlewares/Authentication.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* :sparkles: ping routeFlam3rboy2021-08-081-0/+1
|
* :construction: rate limitFlam3rboy2021-07-011-2/+8
|
* CORS FIXJoaquim Peixoto2021-06-251-0/+1
|
* 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-241-6/+3
|
* Fix: No more type casting required, rather take the gernicsDiego Magdaleno2021-05-231-1/+1
|
* Config: Final config additons, now everything should work as desiredDiego Magdaleno2021-05-221-1/+5
|
* npm i @fosscord/server-utilFlam3rboy2021-04-221-1/+1
|
* exclude path from authenticationxnacly2021-04-081-0/+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
|
* rename req.userid -> req.user_idFlam3rboy2021-03-081-2/+2
|
* :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
|
* update imports for fosscord-server-utilFlam3rboy2021-02-101-1/+1
|
* :bug: update importsFlam3rboy2021-02-061-11/+6
|
* :art: Body Parser errorFlam3rboy2021-02-021-1/+1
|
* :sparkles: AuthenticationFlam3rboy2021-01-301-0/+30