summary refs log tree commit diff
path: root/src/routes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #186 from BanTheNons/profile-routeFlam3rboy2021-08-073-0/+53
|\ | | | | Added the profile routes
| * bug fixBuildTools2021-08-061-0/+1
| |
| * Added accent_colorBuildTools2021-08-062-0/+2
| |
| * Added the bot paramBuildTools2021-08-052-0/+2
| |
| * Added the profile routeBuildTools2021-08-052-0/+48
| |
* | fixed a typoBuildTools2021-08-071-1/+1
|/
* :construction: message acknowledgeFlam3rboy2021-07-301-19/+25
|
* Use config default region for new GuildsPaul Munteanu2021-07-261-1/+1
|
* Implement guilds/#guild_id/regions routePaul Munteanu2021-07-261-0/+10
|
* Update register.tsMatthew2021-07-221-2/+2
|
* Make password limit 72 to match discord's limitMatthew2021-07-221-1/+1
|
* Merge branch 'fosscord:master' into masterDiego Magdaleno2021-07-211-10/+8
|\
| * :bug: fix login routeFlam3rboy2021-07-191-10/+8
| |
| * :bug: fix gateway routeFlam3rboy2021-07-191-1/+1
| |
* | [Fix] All messages should have edited_timestamp even if nullDiego Magdaleno2021-07-212-3/+2
| |
* | [Gateway Endpoint] Encode response as JSONDiego Magdaleno2021-07-191-1/+2
|/
* findOne auto throws error if it doesn't exist'Flam3rboy2021-07-1026-157/+116
|
* :sparkles: route specific rate limitsFlam3rboy2021-07-012-0/+4
|
* :construction: rate limitFlam3rboy2021-07-011-6/+6
|
* :lock: register proxy ip checkFlam3rboy2021-06-272-5/+16
|
* :bug: fix CORSFlam3rboy2021-06-262-2/+3
|
* :sparkles: empty messages check + allowed mentionsFlam3rboy2021-06-232-4/+8
|
* :art: move widget templates to assetsFlam3rboy2021-06-222-1/+2
|
* :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-3123-53/+53
|
* :construction: dm channelsFlam3rboy2021-05-312-17/+22
|
* :bug: fix getPublicUserFlam3rboy2021-05-301-0/+2
|
* :sparkles: Friends RelationshipsFlam3rboy2021-05-301-0/+156
|
* :sparkles: Channel permission overwritesFlam3rboy2021-05-301-7/+38
|
* :sparkles: user avatarFlam3rboy2021-05-303-16/+19
|
* :sparkles: message attachmentsFlam3rboy2021-05-302-18/+33
|
* :art: reformatFlam3rboy2021-05-292-22/+7
|
* automatically embed links in messageFlam3rboy2021-05-281-1/+3
|
* :construction: permissionsFlam3rboy2021-05-281-1/+39
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-05-2710-50/+97
|\
| * :bug: fix EMAIL_ALREADY_REGISTERED error messageFlam3rboy2021-05-261-1/+1
| |
| * optional GATEWAY .env variableFlam3rboy2021-05-261-1/+1
| |
| * fix message loadingFlam3rboy2021-05-261-1/+3
| |
| * :sparkles: use new configFlam3rboy2021-05-247-52/+56
| |
| * Fix: No more type casting required, rather take the gernicsDiego Magdaleno2021-05-237-8/+8
| |
| * Meta: fix merge issuesDiego Magdaleno2021-05-232-0/+40
| |\
| | * added basic error statusBloom Sirenix2021-05-231-2/+3
| | | | | | | | | | | | 401 unauthorized
| | * Update delete.tsBloom Sirenix2021-05-221-1/+1
| | |
| | * Added password checkBloom Sirenix2021-05-221-5/+14
| | | | | | | | | | | | | | | :heavy_check_mark: Only works if user types right password :no_entry_sign: No more kids getting there account deleted by there brother
| | * Made Delete request easier for usersBloom Sirenix2021-05-221-8/+2
| | | | | | | | | | | | less of an pain
| | * Merge branch 'master' of https://github.com/bloomsirenix/fosscord-apiBloom Sirenix2021-05-2213-186/+478
| | |\
| | * | Added Delete function and dummy disable functionBloom Sirenix2021-05-222-0/+36
| | | |
| * | | Update: Update fosscord-server-util to latest and fix issues with NULL and ↵Diego Magdaleno2021-05-231-3/+3
| | | | | | | | | | | | | | | | undefined
| * | | Config: Final config additons, now everything should work as desiredDiego Magdaleno2021-05-227-8/+8
| | | |
| * | | Fix merge issues, update to reflect config changes and package.jsonDiego Magdaleno2021-05-2220-295/+694
| | | |
| * | | Config: Refactor config method, so we have a new get all option, fix issues ↵Diego Magdaleno2021-05-217-15/+8
| | | | | | | | | | | | | | | | in configurations
| * | | Config: First rewrite of config and working implementation of getting valuesDiego Magdaleno2021-05-197-18/+27
| | | |
| * | | Config: Those bracks dont go thereDiego Magdaleno2021-05-151-1/+1
| | | |
| * | | Config: Redo config to be more straight to the pointDiego Magdaleno2021-05-151-3/+2
| | | |
| * | | Config: Be able to configure the target_urlDiego Magdaleno2021-05-151-1/+4
| | | |
* | | | :bug: fix bansFlam3rboy2021-05-271-12/+12
| |_|/ |/| |
* | | :sparkles: Message editFlam3rboy2021-05-222-3/+39
| | |
* | | :sparkles: reactions bulk removeFlam3rboy2021-05-221-0/+62
| | |
* | | throw GUILD_ROLE_DELETE eventafeuerstein2021-05-221-1/+11
| | |
* | | :sparkles: ReactionsFlam3rboy2021-05-222-3/+152
| | |
* | | :sparkles: invites TTLFlam3rboy2021-05-221-1/+4
| | |
* | | :sparkles: createChannel()Flam3rboy2021-05-223-47/+5
| | |
* | | :art: Move member routes in separate filesFlam3rboy2021-05-226-134/+208
| |/ |/|
* | :art: refactor/formatFlam3rboy2021-05-219-69/+133
| |
* | :sparkles: Message PinsFlam3rboy2021-05-211-2/+55
| |
* | :construction: read stateFlam3rboy2021-05-211-0/+29
| |
* | :sparkles: sendMessage() functionFlam3rboy2021-05-211-45/+6
| |
* | :sparkles: load gateway url from configFlam3rboy2021-05-181-1/+4
|/
* Some refactor, fix channel_delete event and @everyone role appearing on ↵notsapinho2021-05-113-15/+22
| | | | 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
|
* [Route] PATCH /users/:idIntevel ツ2021-05-061-2/+16
|
* 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
* [Route] GET /users/:idIntevel ツ2021-05-041-1/+4
| | | | get current user
* 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
* Change default port:Flam3rboy2021-05-022-2/+2
| | | | | | Client = 3000 API = 3001 Gateway = 3002
* :art: added optional captcha to login routeFlam3rboy2021-05-011-1/+16
|
* :sparkles: Channel get RouteFlam3rboy2021-04-271-29/+28
|
* :art: refactor to use easier permission apiFlam3rboy2021-04-272-43/+35
|
* Merge pull request #87 from aryan0078/masterFlam3rboy2021-04-262-4/+65
|\ | | | | Typing + create pin + get pin
| * Typing + create pin + get pinYour Name2021-04-272-4/+65
| |
* | :construction: WIPstefan0801062021-04-261-5/+9
| |
* | :lock: Fix parent id checkingstefan0801062021-04-261-1/+2
|/
* Channel Delete + Update RouteYour Name2021-04-261-14/+41
|
* :sparkles: added dev serverFlam3rboy2021-04-252-2/+2
|
* :art: formatting filesFlam3rboy2021-04-253-48/+22
|
* :bug: add event for Message Delete routeFlam3rboy2021-04-251-1/+13
|
* :sparkles: Message delete routeFlam3rboy2021-04-251-0/+17
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-04-2425-35/+201
|\
| * Update channels.tsIntevel ツ2021-04-241-11/+1
| |
| * POST /users/@me/channelsIntevel ツ2021-04-241-7/+66
| |
| * get /users/@me/channelsIntevel ツ2021-04-241-0/+20
| |
| * lolIntevel ツ2021-04-241-2/+3
| |
| * :construction: add guild channel delete routestefan0801062021-04-242-1/+28
| |
| * Update index.tsIntevel ツ2021-04-241-2/+5
| |
| * Create index.tsIntevel ツ2021-04-241-0/+15
| |
| * :bug: fix directory nameFlam3rboy2021-04-234-1/+1
| |
| * :construction: WebhookFlam3rboy2021-04-2310-2/+41
| |
| * :art: clean up permission checks to use .hasThrow()Flam3rboy2021-04-2310-19/+30
| |
| * :bug: fix wrong permission in delete inviteFlam3rboy2021-04-231-1/+2
| |
| * npm i @fosscord/server-utilFlam3rboy2021-04-2213-14/+14
| |
* | :bug: fix type in Channel MessagesFlam3rboy2021-04-241-1/+1
|/
* :art: change default port to 1000 + CORSFlam3rboy2021-04-191-1/+1
|
* fixed missing db delete callxnacly2021-04-171-0/+3
|
* dummy routes (prevent errors in client)xnacly2021-04-083-0/+30
|
* finished /invite route #21xnacly2021-04-081-1/+25
|
* :zap: use mongoose autopopulateFlam3rboy2021-04-076-59/+61
|
* :bug: fix register route captcha requiredFlam3rboy2021-04-071-3/+3
|
* 🖥️ /science routeRafael Oliveira2021-04-071-0/+10
|
* :bug: fix message routeFlam3rboy2021-04-071-2/+16
|
* :bug: fix lean not working with virtualsFlam3rboy2021-04-076-38/+49
|
* :bug: fix messageFlam3rboy2021-04-061-2/+4
|
* :bug: revert loginFlam3rboy2021-04-061-10/+1
|
* :bug: fix bigint id in message routeFlam3rboy2021-04-061-1/+5
|
* :art: Convert id bigint to stringFlam3rboy2021-04-0610-37/+58
|
* 🐛 fix structurenotsapinho2021-04-061-1/+1
|
* :bug: fix user guildsFlam3rboy2021-04-061-0/+3
|
* :bug: fix loginFlam3rboy2021-04-061-1/+1
|
* .lean() all mongodb requestsFlam3rboy2021-04-067-8/+12
|
* :bug: fix routes user.user_dataFlam3rboy2021-04-061-2/+7
|
* :construction: experiments + gateway routeFlam3rboy2021-04-062-0/+19
|
* :bug: rewrite importsFlam3rboy2021-03-3011-36/+36
|
* move routes to top level no more /api/v8 -> use reverse proxy insteadFlam3rboy2021-03-3023-48/+0
|
* added GET [#12]xnacly2021-03-281-0/+19
|
* Merge branch 'master' of https://github.com/discord-open-source/discord-apiFlam3rboy2021-03-271-1/+3
|\
| * Merge branch 'master' of https://github.com/discord-open-source/discord-apiFlam3rboy2021-03-234-17/+17
| |\
| * | :bug: fix message postFlam3rboy2021-03-231-1/+6
| | |
* | | :bug: remove relative @pathsFlam3rboy2021-03-274-17/+25
| |/ |/|
* | :construction: shorten relative paths with @shortcutFlam3rboy2021-03-224-18/+18
|/
* :construction: [Route] /messagesFlam3rboy2021-03-082-6/+49
|
* rename req.userid -> req.user_idFlam3rboy2021-03-087-25/+25
|
* [Users] @me self + guildsFlam3rboy2021-03-042-5/+16
|
* :art: improve guildsFlam3rboy2021-03-044-13/+28
|
* :sparkles: [Guild] channelsFlam3rboy2021-03-041-0/+51
|
* [Channels] get messagesFlam3rboy2021-03-042-48/+85
|
* :sparkles: [Channels] messages bulk deleteFlam3rboy2021-03-041-0/+35
|
* :bug: fix login + registerFlam3rboy2021-03-042-5/+11
|
* :construction: /channels/messagesFlam3rboy2021-03-041-2/+23
|
* Merge branch 'master' of https://github.com/discord-open-source/discord-apiFlam3rboy2021-03-033-1/+14
|\
| * get specific banFlam3rboy2021-02-232-0/+13
| |
| * :pencil: typoFlam3rboy2021-02-231-1/+1
| |
* | :construction: messages routeFlam3rboy2021-03-0310-5/+28
|/
* :bug: [Member] list fix to also return userFlam3rboy2021-02-231-3/+5
|
* :bug: fix addMember to respect max guild sizeFlam3rboy2021-02-221-0/+2
|
* :construction: [Member] listFlam3rboy2021-02-221-3/+17
|
* :sparkles: [Member] paginationFlam3rboy2021-02-223-16/+40
|
* :art: restructed guildsFlam3rboy2021-02-223-66/+74
|
* :art: restructure + add/remove Member() functionFlam3rboy2021-02-223-14/+15
|
* :art: [Ban] use removeMember() + move ban in seperate fileFlam3rboy2021-02-222-235/+113
|
* :pencil: #CHANNELID -> #channelidFlam3rboy2021-02-225-19/+19
|
* :bug: fix Event EmitterFlam3rboy2021-02-221-0/+14
|
* :bug: fix @everyone Role on guild createFlam3rboy2021-02-221-1/+1
|
* channel/:id/invites create #79xnacly2021-02-211-1/+45
|
* Update index.tsIntevel ツ2021-02-211-0/+11
|
* Update index.tsIntevel ツ2021-02-211-0/+40
|
* Update index.tsIntevel ツ2021-02-211-2/+2
|
* Created Ban RoutesIntevel ツ2021-02-211-6/+100
| | | | Ban members works now
* Merge branch 'master' of https://github.com/discord-open-source/discord-apiFlam3rboy2021-02-191-0/+53
|\
| * Update guilds.tsIntevel ツ2021-02-191-0/+1
| |
| * Create guilds.tsIntevel ツ2021-02-191-0/+52
| |
* | :art: [Guild] check if user is allowed to created a guildFlam3rboy2021-02-191-10/+5
|/
* :bug: update user model on guild creationFlam3rboy2021-02-171-1/+7
|
* :bug: fix token checkingFlam3rboy2021-02-171-1/+2
|
* :bug: fix /guilds/ route typeFlam3rboy2021-02-141-21/+22
|
* added requested changes from #3xnacly2021-02-141-11/+100
|
* switch to mongooseFlam3rboy2021-02-143-61/+53
|
* move Schema from util to apiFlam3rboy2021-02-101-83/+57
|
* update imports for fosscord-server-utilFlam3rboy2021-02-101-0/+1
|
* :bug: update package import to fosscord-server-utilFlam3rboy2021-02-092-2/+2
|
* [guild] finished POSTxnacly2021-02-091-61/+62
|
* made requested changesxnacly2021-02-091-2/+2
|
* added guild routesxnacly2021-02-091-1/+148
|
* :bug: prevent @googlemail.com trickFlam3rboy2021-02-071-1/+2
|
* :bug: update importsFlam3rboy2021-02-062-8/+8
|
* :art: use discord-server-utilFlam3rboy2021-02-052-2/+2
|
* :art: typoFlam3rboy2021-02-041-3/+3
|
* :lock: prevent passwort denial of serverFlam3rboy2021-02-0311-12/+14
|
* :bug: fix register date of birthFlam3rboy2021-02-021-2/+2
|
* :sparkles: [Route] RegisterFlam3rboy2021-02-021-3/+7
|
* :sparkles: [Router] RegisterFlam3rboy2021-02-021-22/+47
|
* :sparkles: added defaults to configFlam3rboy2021-02-011-1/+2
|
* :sparkles: [Route] LoginFlam3rboy2021-02-011-4/+80
|
* :sparkles: [Route] RegisterFlam3rboy2021-02-011-1/+221
|
* :sparkles: UtilFlam3rboy2021-01-3014-3/+60
|
* :sparkles: update to use new lambert-serverFlam3rboy2021-01-042-0/+0
|
* Merge branch 'master' of https://github.com/Trenite/discord-server-opensourceFlam3rboy2021-01-0310-0/+4
|\
| * routes + util + snowflakexnacly2021-01-0310-0/+4
| |
* | :bug: fixFlam3rboy2021-01-012-0/+0
|/
* :tada: standard client finishedFlam3rboy2020-11-281-0/+30