summary refs log tree commit diff
path: root/src/routes/guilds (follow)
Commit message (Collapse)AuthorAgeFilesLines
* :bug: fix guild channel position updateFlam3rboy2021-08-111-9/+32
|
* :bug: fix bansFlam3rboy2021-08-101-1/+1
|
* :bug: fix Member not deleted on guild deleteFlam3rboy2021-08-101-7/+11
|
* :bug: fix vanity urlFlam3rboy2021-08-071-2/+31
|
* :bug: fix post/patch channelFlam3rboy2021-08-071-2/+5
|
* :bug: fix vanity urlFlam3rboy2021-08-071-1/+1
|
* oopsBuildTools2021-08-071-1/+1
|
* Implemented invite splashesBuildTools2021-08-071-1/+2
|
* added profile bannersBuildTools2021-08-071-2/+2
|
* :bug: fix handleFile()Flam3rboy2021-08-071-2/+2
|
* :art: add handleFile()Flam3rboy2021-08-071-26/+3
|
* Implemented guild icons and bannersBuildTools2021-08-071-1/+28
|
* fixed a typoBuildTools2021-08-071-1/+1
|
* Use config default region for new GuildsPaul Munteanu2021-07-261-1/+1
|
* Implement guilds/#guild_id/regions routePaul Munteanu2021-07-261-0/+10
|
* findOne auto throws error if it doesn't exist'Flam3rboy2021-07-1014-95/+57
|
* :construction: rate limitFlam3rboy2021-07-011-6/+6
|
* :lock: register proxy ip checkFlam3rboy2021-06-271-1/+1
|
* :art: move widget templates to assetsFlam3rboy2021-06-221-1/+1
|
* :art: clean up codeFlam3rboy2021-06-223-39/+39
| | | | | | | widget.json.ts: just return instead of long if statement + add ?. operators for error handling widget.png.ts make path universal widget.ts: remove unnecessary guild db query as getPermission already checks it Widget.ts make parameters required
* feat: add widget endpointsUmimaso2021-06-193-0/+289
| | | | | | | | | | | | | | | | | | | | | | | | 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: Guild invitesFlam3rboy2021-06-021-0/+17
|
* :zap: add explicit types to req and resFlam3rboy2021-05-312-5/+5
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-05-272-7/+5
|\
| * :sparkles: use new configFlam3rboy2021-05-242-9/+7
| |
| * 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/+2
| |
| * Fix merge issues, update to reflect config changes and package.jsonDiego Magdaleno2021-05-2211-232/+314
| |
| * Config: Refactor config method, so we have a new get all option, fix issues ↵Diego Magdaleno2021-05-212-4/+2
| | | | | | | | in configurations
| * Config: First rewrite of config and working implementation of getting valuesDiego Magdaleno2021-05-192-4/+6
| |
* | :bug: fix bansFlam3rboy2021-05-271-12/+12
| |
* | throw GUILD_ROLE_DELETE eventafeuerstein2021-05-221-1/+11
| |
* | :sparkles: createChannel()Flam3rboy2021-05-223-47/+5
| |
* | :art: Move member routes in separate filesFlam3rboy2021-05-226-134/+208
| |
* | :art: refactor/formatFlam3rboy2021-05-215-58/+98
|/
* Some refactor, fix channel_delete event and @everyone role appearing on ↵notsapinho2021-05-112-10/+13
| | | | member roles
* 🐛 Fix channels and joined_at not getting populatednotsapinho2021-05-102-6/+8
|
* :bug: fix Guild vanity_urlFlam3rboy2021-05-091-1/+1
|
* Update index.tsIntevel ツ2021-05-081-1/+1
|
* Update index.tsIntevel ツ2021-05-081-2/+2
|
* [Route] GET /guilds/:id/vanity-urlIntevel ツ2021-05-081-0/+11
|
* Update welcome_screen.tsIntevel ツ2021-05-081-2/+1
|
* Update welcome_screen.tsIntevel ツ2021-05-081-2/+10
|
* Update roles.tsIntevel ツ2021-05-081-1/+1
|
* Update welcome_screen.tsIntevel ツ2021-05-081-2/+2
|
* Update welcome_screen.tsIntevel ツ2021-05-081-0/+24
|
* Create welcome_screen.tsIntevel ツ2021-05-081-0/+21
|
* Update index.tsIntevel ツ2021-05-081-1/+5
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiIntevel ツ2021-05-081-7/+15
|\
| * :sparkles: add isMember check for get member routesFlam3rboy2021-05-081-7/+15
| |
* | Update members.tsIntevel ツ2021-05-081-0/+5
|/
* Update members.tsIntevel ツ2021-05-081-11/+0
|
* Update members.tsIntevel ツ2021-05-081-11/+16
|
* Update members.tsIntevel ツ2021-05-081-3/+0
|
* Update members.tsIntevel ツ2021-05-081-1/+1
|
* Update members.tsIntevel ツ2021-05-081-0/+14
|
* Update members.tsIntevel ツ2021-05-081-3/+4
|
* Update members.tsIntevel ツ2021-05-081-56/+31
|
* Update members.tsIntevel ツ2021-05-081-0/+20
|
* Update members.tsIntevel ツ2021-05-081-1/+19
|
* :art: [Route] templates refactorFlam3rboy2021-05-072-102/+54
|
* [Route] PATCH /guilds/:id/rolesIntevel ツ2021-05-061-1/+29
|
* [Route] DELETE /guilds/:id/rolesIntevel ツ2021-05-061-0/+25
|
* [Route] POST /guilds/:id/rolesIntevel ツ2021-05-061-1/+0
|
* Update roles.tsIntevel ツ2021-05-061-0/+5
|
* Create roles.tsIntevel ツ2021-05-061-0/+49
|
* Update templates.tsIntevel ツ2021-05-061-2/+2
|
* UpdatedIntevel ツ2021-05-062-10/+13
| | | | new ids
* Update index.tsIntevel ツ2021-05-061-1/+1
|
* Update templates.tsIntevel ツ2021-05-061-2/+2
|
* [Route] PATCH /guilds/:id/templatesIntevel ツ2021-05-061-1/+28
|
* [Route] POST /guilds/template/:codeIntevel ツ2021-05-061-1/+52
|
* Update index.tsIntevel ツ2021-05-051-5/+1
|
* [Route] GET /guilds/template/:codeIntevel ツ2021-05-052-16/+22
| | | | fixed
* [Route] GET /guilds/template/:codeIntevel ツ2021-05-051-2/+17
|
* [Route] PUT /guilds/:id/templatesIntevel ツ2021-05-051-2/+29
|
* [Route] DELETE /guilds/:id/templatesIntevel ツ2021-05-051-0/+25
|
* [Route] POST /guilds/:id/templatesIntevel ツ2021-05-051-1/+33
|
* [Route] GET /guilds/:id/templatesIntevel ツ2021-05-051-0/+22
|
* Revert "Updated fosscord-server-util"Intevel ツ2021-05-051-63/+0
| | | | This reverts commit 86aa67a258e892dbb1faf68f850a3aaa3177019e.
* Updated fosscord-server-utilIntevel ツ2021-05-051-0/+63
| | | | New version of fosscord server util added
* [Route] PATCH /guilds/:id/channelsIntevel ツ2021-05-041-2/+22
| | | | modify
* Update members.tsIntevel ツ2021-05-041-0/+1
|
* [ROUTE] DELETE /guilds/:id/membersIntevel ツ2021-05-041-1/+17
| | | | Not tested
* [Route] PUT /guilds/:id/membersIntevel ツ2021-05-041-3/+15
| | | | Not tested
* :lock: Fix parent id checkingstefan0801062021-04-261-1/+2
|
* :construction: add guild channel delete routestefan0801062021-04-241-0/+2
|
* :art: clean up permission checks to use .hasThrow()Flam3rboy2021-04-232-5/+3
|
* npm i @fosscord/server-utilFlam3rboy2021-04-225-5/+5
|
* :zap: use mongoose autopopulateFlam3rboy2021-04-074-25/+36
|
* :bug: fix lean not working with virtualsFlam3rboy2021-04-073-11/+13
|
* :art: Convert id bigint to stringFlam3rboy2021-04-064-17/+17
|
* .lean() all mongodb requestsFlam3rboy2021-04-064-6/+7
|
* :bug: rewrite importsFlam3rboy2021-03-305-19/+19
|
* move routes to top level no more /api/v8 -> use reverse proxy insteadFlam3rboy2021-03-306-0/+356