summary refs log tree commit diff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #186 from BanTheNons/profile-routeFlam3rboy2021-08-074-1/+56
|\ | | | | Added the profile routes
| * added accent_color to UserModifySchemaBuildTools2021-08-071-1/+3
| |
| * 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
|/
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-08-051-10/+12
|\
| * [Channel] Implement type 4 channel and clean the codePaul Munteanu2021-08-011-10/+12
| |
* | :arrow_up: update demo test clientFlam3rboy2021-08-051-4/+6
|/
* :construction: message acknowledgeFlam3rboy2021-07-302-20/+26
|
* Use config default region for new GuildsPaul Munteanu2021-07-261-1/+1
|
* Implement guilds/#guild_id/regions routePaul Munteanu2021-07-261-0/+10
|
* Merge pull request #174 from DankDumpster/72-charFlam3rboy2021-07-222-3/+3
|\ | | | | Make password limit 72 to match discord's limit
| * Update register.tsMatthew2021-07-221-2/+2
| |
| * Make password limit 72 to match discord's limitMatthew2021-07-221-1/+1
| |
* | :bug: fix 404 error return json instead of clientFlam3rboy2021-07-221-0/+8
|/
* [Remove] Remove the console.logDiego Magdaleno2021-07-211-1/+0
|
* 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-213-3/+3
| |
* | [Gateway Endpoint] Encode response as JSONDiego Magdaleno2021-07-191-1/+2
|/
* :loud_sound: fix logFlam3rboy2021-07-181-2/+2
|
* :heavy_minus_sign: delete rethinkFlam3rboy2021-07-112-89/+0
|
* :sparkles: bundle exectuableFlam3rboy2021-07-101-1/+1
|
* :wheelchair: use fs sync for backwards compatibilityFlam3rboy2021-07-101-3/+3
|
* findOne auto throws error if it doesn't exist'Flam3rboy2021-07-1026-157/+116
|
* :sparkles: route specific rate limitsFlam3rboy2021-07-014-19/+30
|
* :sparkles: finished Rate LimitFlam3rboy2021-07-012-35/+77
|
* :construction: rate limitFlam3rboy2021-07-015-22/+84
|
* :construction: rate limitFlam3rboy2021-06-281-4/+27
|
* :bug: fix ip address lookupFlam3rboy2021-06-271-0/+1
|
* :sparkles: v9Flam3rboy2021-06-271-0/+1
|
* :bug: fix importFlam3rboy2021-06-271-1/+1
|
* :arrow_up: update dev client versionFlam3rboy2021-06-271-1/+0
|
* :lock: register proxy ip checkFlam3rboy2021-06-276-98/+109
|
* :bug: fix empty message bug for attachmentsFlam3rboy2021-06-261-1/+1
|
* :bug: fix CORSFlam3rboy2021-06-263-3/+5
|
* CORS FIXJoaquim Peixoto2021-06-252-1/+2
|
* :sparkles: empty messages check + allowed mentionsFlam3rboy2021-06-235-10/+32
|
* :art: move widget templates to assetsFlam3rboy2021-06-222-1/+2
|
* :art: clean up codeFlam3rboy2021-06-224-41/+41
| | | | | | | 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 routing for unversioned api requestsUmimaso2021-06-192-5/+6
| | | | | | 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-195-6/+306
| | | | | | | | | | | | | | | | | | | | | | | | 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-3124-60/+60
|
* :construction: dm channelsFlam3rboy2021-05-314-24/+29
|
* :bug: fix getPublicUserFlam3rboy2021-05-302-9/+5
|
* :sparkles: Friends RelationshipsFlam3rboy2021-05-301-0/+156
|
* :sparkles: Channel permission overwritesFlam3rboy2021-05-301-7/+38
|
* :zap: increase upload limitFlam3rboy2021-05-301-1/+1
|
* :sparkles: user avatarFlam3rboy2021-05-305-20/+27
|
* :sparkles: message attachmentsFlam3rboy2021-05-305-19/+59
|
* :zap: improve asset cachingFlam3rboy2021-05-291-8/+25
|
* :art: reformatFlam3rboy2021-05-293-69/+14
|
* automatically embed links in messageFlam3rboy2021-05-282-3/+75
|
* :construction: permissionsFlam3rboy2021-05-281-1/+39
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-05-2718-174/+393
|\
| * :arrow_up: npm i @fosscord/server-util@1.3.5Flam3rboy2021-05-261-1/+1
| |
| * :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
| |
| * :bug: fix route loadingFlam3rboy2021-05-241-1/+1
| |
| * :sparkles: use new configFlam3rboy2021-05-2415-104/+101
| |
| * Fix: No more type casting required, rather take the gernicsDiego Magdaleno2021-05-2312-13/+13
| |
| * 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-2222-260/+601
| | |\
| | * | 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-2212-160/+21
| | | |
| * | | Fix merge issues, update to reflect config changes and package.jsonDiego Magdaleno2021-05-2230-388/+889
| | | |
| * | | Config: Refactor config to be be in separate classesDiego Magdaleno2021-05-221-67/+83
| | | |
| * | | Config: Dont suffix with nodejsDiego Magdaleno2021-05-211-1/+1
| | | |
| * | | Config: Refactor config method, so we have a new get all option, fix issues ↵Diego Magdaleno2021-05-2111-24/+26
| | | | | | | | | | | | | | | | in configurations
| * | | Meta: Clean up the format fileDiego Magdaleno2021-05-191-37/+37
| | | |
| * | | Config: First rewrite of config and working implementation of getting valuesDiego Magdaleno2021-05-1912-100/+363
| | | |
| * | | Config: Start working on the config refactorDiego Magdaleno2021-05-171-92/+131
| | | |
| * | | Config: Those bracks dont go thereDiego Magdaleno2021-05-151-1/+1
| | | |
| * | | Config: Redo config to be more straight to the pointDiego Magdaleno2021-05-152-9/+2
| | | |
| * | | Config: Be able to configure the target_urlDiego Magdaleno2021-05-152-1/+10
| | | |
* | | | :bug: fix bansFlam3rboy2021-05-271-12/+12
| |_|/ |/| |
* | | :sparkles: Message editFlam3rboy2021-05-224-16/+56
| | |
* | | :sparkles: reactions bulk removeFlam3rboy2021-05-221-0/+62
| | |
* | | throw GUILD_ROLE_DELETE eventafeuerstein2021-05-221-1/+11
| | |
* | | :sparkles: ReactionsFlam3rboy2021-05-223-15/+168
| | |
* | | :sparkles: invites TTLFlam3rboy2021-05-221-1/+4
| | |
* | | :sparkles: createChannel()Flam3rboy2021-05-228-87/+78
| | |
* | | :art: Move member routes in separate filesFlam3rboy2021-05-227-143/+225
| |/ |/|
* | :art: refactor/formatFlam3rboy2021-05-219-69/+133
| |
* | :sparkles: Message PinsFlam3rboy2021-05-211-2/+55
| |
* | :construction: read stateFlam3rboy2021-05-212-24/+54
| |
* | :sparkles: sendMessage() functionFlam3rboy2021-05-212-45/+58
| |
* | :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
* Update Member.tshoneytequila2021-05-101-1/+1
|
* 🐛 Fix channels and joined_at not getting populatednotsapinho2021-05-103-14/+24
|
* :bug: fix channel modify schemaFlam3rboy2021-05-101-1/+1
|
* :bug: fix addMember guild not populatingFlam3rboy2021-05-101-1/+2
|
* :bug: fix Guild vanity_urlFlam3rboy2021-05-092-2/+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
|
* Update Guild.tsIntevel ツ2021-05-081-0/+14
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiIntevel ツ2021-05-082-31/+46
|\
| * :sparkles: add isMember check for get member routesFlam3rboy2021-05-082-31/+46
| |
* | Update members.tsIntevel ツ2021-05-081-0/+5
|/
* Update members.tsIntevel ツ2021-05-081-11/+0
|
* Update members.tsIntevel ツ2021-05-081-11/+16
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiIntevel ツ2021-05-081-4/+7
|\
| * Merge branch 'master' of https://github.com/discord-open-source/discord-apiFlam3rboy2021-05-082-25/+130
| |\
| * | :bug: fix add/remove Member functionFlam3rboy2021-05-081-4/+7
| | |
* | | Update Member.tsIntevel ツ2021-05-081-0/+8
| |/ |/|
* | 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 Member.tsIntevel ツ2021-05-081-0/+23
| |
* | 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
| |
* | Update Member.tsIntevel ツ2021-05-081-3/+3
| |
* | Update Member.tsIntevel ツ2021-05-081-8/+2
| |
* | Update Member.tsIntevel ツ2021-05-081-2/+2
| |
* | Update Member.tsIntevel ツ2021-05-081-0/+8
| |
* | Update Member.tsIntevel ツ2021-05-081-0/+29
| |
* | Member FunctionIntevel ツ2021-05-081-8/+34
|/ | | | addRole
* :art: [Route] templates refactorFlam3rboy2021-05-075-108/+110
|
* [Route] PATCH /guilds/:id/rolesIntevel ツ2021-05-062-3/+50
|
* [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
|
* Create Roles.tsIntevel ツ2021-05-061-0/+15
|
* 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-062-2/+26
|
* Update templates.tsIntevel ツ2021-05-061-2/+2
|
* [Route] PATCH /guilds/:id/templatesIntevel ツ2021-05-062-1/+39
|
* [Route] POST /guilds/template/:codeIntevel ツ2021-05-061-1/+52
|
* Update Guild.tsIntevel ツ2021-05-051-0/+11
|
* Update Template.tsIntevel ツ2021-05-051-1/+1
|
* 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-052-0/+32
|
* Revert "Updated fosscord-server-util"Intevel ツ2021-05-052-81/+0
| | | | This reverts commit 86aa67a258e892dbb1faf68f850a3aaa3177019e.
* Updated fosscord-server-utilIntevel ツ2021-05-052-0/+81
| | | | New version of fosscord server util added
* Merge branch 'master' of https://github.com/discord-open-source/discord-apiFlam3rboy2021-05-054-6/+71
|\
| * [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-042-3/+28
| | | | | | | | Not tested
* | :bug: fix test clientFlam3rboy2021-05-051-1/+2
|/
* Change default port:Flam3rboy2021-05-023-3/+3
| | | | | | Client = 3000 API = 3001 Gateway = 3002
* :art: added optional captcha to login routeFlam3rboy2021-05-016-9/+36
|
* :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-264-16/+56
|
* :sparkles: added dev serverFlam3rboy2021-04-252-2/+2
|
* :art: formatting filesFlam3rboy2021-04-254-61/+27
|
* :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-2442-73/+342
|\
| * Update channels.tsIntevel ツ2021-04-241-11/+1
| |
| * POST /users/@me/channelsIntevel ツ2021-04-242-7/+85
| |
| * get /users/@me/channelsIntevel ツ2021-04-241-0/+20
| |
| * lolIntevel ツ2021-04-242-2/+46
| |
| * :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-2311-2/+44
| |
| * :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-2222-23/+23
| |
| * prepare npm publishFlam3rboy2021-04-227-45/+67
| |
| * :zap: :sparkles: prod multi threadingFlam3rboy2021-04-221-7/+23
| |
* | :bug: fix type in Channel MessagesFlam3rboy2021-04-241-1/+1
|/
* :art: change default port to 1000 + CORSFlam3rboy2021-04-193-2/+9
|
* fixed missing db delete callxnacly2021-04-171-0/+3
|
* :bug: fix port not picking up env fileFlam3rboy2021-04-161-1/+4
|
* Merge branch 'master' of https://github.com/discord-open-source/discord-apiFlam3rboy2021-04-1445-282/+474
|\
| * dummy routes (prevent errors in client)xnacly2021-04-083-0/+30
| |
| * update invite schemaxnacly2021-04-081-0/+6
| |
| * finished /invite route #21xnacly2021-04-081-1/+25
| |
| * exclude path from authenticationxnacly2021-04-081-0/+1
| |
| * :zap: use mongoose autopopulateFlam3rboy2021-04-078-59/+63
| |
| * fix error handlerFlam3rboy2021-04-071-1/+1
| |
| * :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-077-43/+52
| |
| * :bug: fix messageFlam3rboy2021-04-061-2/+4
| |
| * :bug: revert loginFlam3rboy2021-04-061-10/+1
| |
| * :bug: fix testFlam3rboy2021-04-061-1/+1
| |
| * :bug: fix bigint id in message routeFlam3rboy2021-04-061-1/+5
| |
| * :art: Convert id bigint to stringFlam3rboy2021-04-0618-63/+83
| |
| * :bug: fix body parser empty error objectFlam3rboy2021-04-061-4/+15
| |
| * 🐛 fix structurenotsapinho2021-04-061-1/+1
| |
| * :bug: fix user guildsFlam3rboy2021-04-062-1/+6
| |
| * :bug: fix loginFlam3rboy2021-04-061-1/+1
| |
| * :sparkles: test clientFlam3rboy2021-04-062-3/+1
| |
| * :art: proper error message body parserFlam3rboy2021-04-061-2/+5
| |
| * :bug: fix guild schemaFlam3rboy2021-04-061-4/+13
| |
| * .lean() all mongodb requestsFlam3rboy2021-04-067-8/+12
| |
| * :bug: fix routes user.user_dataFlam3rboy2021-04-061-2/+7
| |
| * :construction: experiments + gateway routeFlam3rboy2021-04-063-1/+26
| |
| * :sparkles: init test clientFlam3rboy2021-04-052-5/+45
| |
| * :bug: fix body parserFlam3rboy2021-04-052-3/+4
| |
| * :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
| |\
| * | :bug: remove relative @pathsFlam3rboy2021-03-274-17/+25
| | |
* | | :bug: fix message schemaFlam3rboy2021-04-141-1/+1
| |/ |/|
* | Merge branch 'master' of https://github.com/discord-open-source/discord-apiFlam3rboy2021-03-235-18/+24
|\|
| * :construction: shorten relative paths with @shortcutFlam3rboy2021-03-225-19/+25
| |
* | :bug: fix message postFlam3rboy2021-03-231-1/+6
|/
* :construction: [Route] /messagesFlam3rboy2021-03-082-6/+49
|
* rename req.userid -> req.user_idFlam3rboy2021-03-0813-65/+96
|
* :sparkles: SchemaFlam3rboy2021-03-045-27/+102
|
* [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-042-3/+27
|
* :zap: benchmarkFlam3rboy2021-03-033-31/+41
|