summary refs log tree commit diff
path: root/api/src/routes (follow)
Commit message (Expand)AuthorAgeFilesLines
* Bunch of fixes and improvements, everything appears to work nowTheArcaneBrony2022-08-0917-33/+31
* Switch to migrations fullyTheArcaneBrony2022-08-092-2/+4
* Resolve changes undone by rebasing from masterTheArcaneBrony2022-08-0942-99/+104
* State update, havent testedTheArcaneBrony2022-08-0937-39/+39
* Update packagesTheArcaneBrony2022-08-095-6/+6
* fix ts errorsFlam3rboy2022-08-093-72/+62
* replace all var with let (reduces warnings)TheArcaneBrony2022-08-0922-43/+43
* Merge branch 'master' into 2faTheArcaneBrony2022-08-062-11/+33
|\
| * Merge pull request #804 from MaddyUnderStars/feat/notesTableTheArcaneBrony2022-08-061-11/+32
| |\
| | * Delete Note if no contentMadeline2022-07-231-10/+14
| | * Moved user notes into separate tableMadeline2022-07-231-11/+28
| * | add discriminator to user modify schemaPuyodead12022-07-301-0/+1
* | | Merge branch 'master' into 2faMadeline2022-08-011-1/+2
|\| |
| * | fix: not being able to enable communityPuyodead12022-07-261-1/+2
| |/
* | Add config `security_twoFactor_generateBackupCodes` to control backup code ge...Madeline2022-07-202-6/+9
* | 2faMadeline2022-07-205-1/+209
|/
* Removed unused importMadeline2022-07-091-1/+1
* Allow multiple attachments in messagesMadeline2022-07-091-10/+15
* Format changed filesLachlanCourt2022-07-041-13/+6
* Ensure query fails if role with specified id does not existLachlanCourt2022-07-041-1/+1
* Add semicolonLachlanCourt2022-07-041-1/+1
* Simplify role query as per code reviewLachlanCourt2022-07-041-2/+1
* Move role_id specific api routes to correct fileLachlanCourt2022-07-042-137/+53
* Fix compile error in get requestLachlanCourt2022-07-041-42/+4
* Create role subdirectory and add GET api routeLachlanCourt2022-07-042-0/+145
* Fix compile errors in latestMadeline2022-06-261-10/+14
* fix the wrong nameErkin Alp Güney2022-06-261-1/+1
* self-leave logicErkin Alp Güney2022-06-261-3/+19
* JOIN_GUILDS is not the right flag thereErkin Alp Güney2022-06-261-1/+1
* Expose general instance information via api /ping routeMadeline2022-06-081-1/+17
* Respect register_dateOfBirth_required = falseMadeline2022-05-301-1/+1
* Update index.tsErkin Alp Güney2022-05-151-14/+18
* Merge branch 'master' of https://github.com/fosscord/fosscord-serverErkin Alp Güney2022-05-152-10/+16
|\
| * Update bulk-delete.tsErkin Alp Güney2022-05-151-7/+13
| * Update purge.tsErkin Alp Güney2022-05-151-3/+3
* | messages before/after soundness checkErkin Alp Güney2022-04-301-3/+12
|/
* patch for missing router schema, and also add purge route self-deletion checksErkin Alp Güney2022-04-301-2/+11
* introduce the purge endpointErkin Alp Güney2022-04-282-1/+78
* Update prune.tsErkin Alp Güney2022-04-281-2/+6
* needs to be asyncErkin Alp Güney2022-04-281-1/+1
* use return codes to allow for automationErkin Alp Güney2022-04-241-3/+5
* Backfilling privilege does not imply right to post messagesErkin Alp Güney2022-04-241-2/+5
* While backfilling, message ids must now be valid snowflakes, cannot be in the...Madeline2022-04-241-5/+19
* Merge branch 'master' of https://github.com/fosscord/fosscord-serverErkin Alp Güney2022-04-232-2/+6
|\
| * Fix not assigning new changes to input fields in users/@meMadeline2022-04-231-1/+1
| * Can no longer send messages to channel types that do not support it ( categor...Madeline2022-04-231-0/+5
| * Fixed ability for user to edit any property of themselves, including `rights`...Madeline2022-04-231-2/+1
* | backfilling — first stepsErkin Alp Güney2022-04-231-1/+85
|/
* Merge branch 'master' of https://github.com/fosscord/fosscord-serverErkin Alp Güney2022-04-181-1/+1
|\
| * Unified ghost instead of separate ghostsErkin Alp Güney2022-04-181-1/+1
* | get single message && message rights enforcementErkin Alp Güney2022-04-182-2/+15
|/
* reactions rights enforcementErkin Alp Güney2022-04-172-2/+3
* remove misleading todo noteErkin Alp Güney2022-04-161-1/+0
* fix MANAGE_GUILDS; rename getRight to getRightsbinsky2022-04-091-2/+2
* fix invite right enforcementbinsky2022-04-091-1/+1
* correct right nameErkin Alp Güney2022-04-081-1/+1
* invite right enforcedErkin Alp Güney2022-04-081-1/+2
* JOIN_GUILDSErkin Alp Güney2022-04-081-1/+1
* rights enforcement in guild createErkin Alp Güney2022-04-081-3/+4
* MANAGE_GUILDSErkin Alp Güney2022-04-081-2/+10
* fix the build mistakes from yesternightErkin Alp Güney2022-04-081-7/+12
* Update index.tsErkin Alp Güney2022-04-081-7/+10
* scheduled maintenancesErkin Alp Güney2022-04-071-0/+12
* User Notes (#707)Madeline2022-04-051-5/+30
* Fix typo in table 'client_relase' -> 'client_release' ( and other of the same...Madeline2022-03-304-11/+11
* fix(api): add vanity urls creation/update (#665)Nobody2022-03-091-5/+28
* Merge branch 'master' into fix/ban-listNobody2022-03-082-3/+9
|\
| * Temporary notes fixRealMANI2022-03-081-3/+3
| * fix(api): don't send @everyone in route responseNobody2022-03-081-1/+4
| * fix(api): prevent @everyone role duplicationNobody2022-03-081-1/+1
| * fix(api): always add @everyone in user's rolesNobody2022-03-081-0/+3
| * Fix bans list (#674)RealMANI2022-03-081-8/+12
* | fix(api): working ban listNobody2022-03-081-8/+23
|/
* Check usernameRealMANI2022-03-061-6/+8
* [Fix] Changing bio and accent colorRealMANI2022-03-061-1/+1
* Merge pull request #621 from fosscord/origin/dev/erkinalp/self-bansErkin Alp Güney2022-02-251-6/+61
|\
| * Merge branch 'master' into origin/dev/erkinalp/self-bansErkin Alp Güney2022-02-041-0/+7
| |\
| * | pretend self-bans don't exist in the views tooErkin Alp Güney2022-02-041-1/+4
| * | ban moderator schema actually changeErkin Alp Güney2022-02-041-2/+12
| * | ban moderator schema changeErkin Alp Güney2022-02-041-0/+1
| * | some important changesErkin Alp Güney2022-02-041-4/+4
| * | Try to commit this one again, this time over the webErkin Alp Güney2022-02-041-4/+8
| * | remove pretense of nonexistence from main view route for now to make it compi...Erkin Alp Güney2022-02-041-2/+0
| * | Extend the pretense of non-existence of self-bans to API view route tooErkin Alp Güney2022-02-021-0/+2
| * | Better protection against self-bansErkin Alp Güney2022-02-021-2/+3
| * | Make self-bans irreversibleErkin Alp Güney2022-02-021-1/+4
| * | Allow self-ban of non-ownersErkin Alp Güney2022-02-021-1/+34
* | | [Fix] Profile & banner uploadingRealMANI2022-02-201-1/+1
* | | changed user.premium_since to also load from the database.Iratu2022-02-181-1/+1
* | | Fix for Premium Since to show the 'Guild Boost' and store it correctly in the...Iratu2022-02-181-3/+11
* | | Merge pull request #608 from Featyre/masterErkin Alp Güney2022-02-1612-22/+165
|\ \ \
| * | | Return none for dev portal + todo for categoriesFeatyre2022-02-021-1/+7
| * | | Dev portal + categories load dbFeatyre2022-01-267-23/+35
| * | | change lineFeatyre2022-01-251-1/+1
| * | | Merge branch 'fosscord:master' into masterFeatyre2022-01-244-0/+48
| |\| |
| * | | Partnet + Discover fix and joinFeatyre2022-01-247-8/+104
| * | | Prep for Category db workFeatyre2022-01-241-1/+1
| * | | category + discovery + custom status fix, new configFeatyre2022-01-243-16/+19
| * | | Merge branch 'fosscord:master' into masterFeatyre2022-01-241-2/+6
| |\ \ \
| * \ \ \ Merge branch 'fosscord:master' into masterFeatyre2022-01-231-1/+2
| |\ \ \ \
| * | | | | Partial integration of categories and discoveryFeatyre2022-01-234-20/+46
* | | | | | TypoRealMANI2022-02-161-1/+1
* | | | | | Mutual FriendsRealMANI2022-02-161-0/+41
* | | | | | Mutual Guilds (#637)RealMANI2022-02-161-2/+15
* | | | | | [Fix] Invisible space username (#639)RealMANI2022-02-161-0/+7
* | | | | | [Fix] Client bug (#623)ImAaronFR2022-02-091-1/+4
| |_|_|_|/ |/| | | |
* | | | | Remove nulled properties from GET `/channels/#id/messages` for improved compa...Madeline2022-02-041-0/+7
| |_|_|/ |/| | |
* | | | Add dummy endpoints to prevent client loading some settings panels indefinitelyTheArcaneBrony2022-01-244-0/+48
| |_|/ |/| |
* | | Add unhandled channel types to IsTextChannel methodMadeline2022-01-231-2/+6
| |/ |/|
* | Closed-join guildsErkin Alp Güney2022-01-231-1/+2
|/
* Revert previous commitChris Chrome2022-01-161-16/+16
* Further debranding of premium tiersErkin Alp Güney2022-01-141-16/+16
* Message fixes | Character limits and embed fixes (#581)Madeline2022-01-111-1/+1
* Correct the invite responseThesourtimes2022-01-061-1/+1
* Add Role Icons (#574)Chris Chrome2022-01-051-2/+9
* Updated stop.tsunknownPerson1152021-12-291-1/+1
* Updated stop.tsunknownPerson1152021-12-291-6/+7
* Merge pull request #553 from TheArcaneBrony/masterChris Chrome2021-12-261-4/+4
|\
| * Add Sentry, fix compile errorsThe Arcane Brony2021-12-221-4/+4
* | Update api/src/routes/stop.tsunknownPerson1152021-12-251-7/+2
* | Create stop.ts (for /stop API route)unknownPerson1152021-12-251-0/+30
* | Comment about the hotfixKuna2021-12-241-0/+2
* | (Finally) make a temporary fix for IP leakThesourtimes2021-12-241-3/+13
* | Fix typoKuna2021-12-241-1/+1
* | Fix IP leaks from bans routeThesourtimes2021-12-241-2/+14
|/
* Update downloads.tsKuna2021-12-181-0/+1
* General work on APIThesourtimes2021-12-182-0/+39
* Add the new discovery routeThesourtimes2021-12-151-0/+20
* Update index.tsKuna2021-12-071-1/+1
* Update index.tsKuna2021-12-071-1/+2
* Fix previous commitThesourtimes2021-12-071-1/+1
* Make INTERNAL_EMPLOYEE_ONLY functionalThesourtimes2021-12-051-1/+6
* Add a new test-client related endpointThesourtimes2021-11-301-0/+13
* Update index.tsSamuel2021-11-211-2/+3
* Fix the minor issues on routeThesourtimes2021-11-183-11/+13
* Minor API stuffuurgothat2021-11-172-3/+13
* Add instance routeuurgothat2021-11-173-0/+39
* make templates configurable + authorizationuurgothat2021-10-241-35/+13
* Merge branch 'master' of https://github.com/fosscord/fosscord-serveruurgothat2021-10-2421-164/+307
|\
| * Proxy support for external network accessKagurazakaNyaa2021-10-243-0/+13
| * prettier formatted /apidevelopomp2021-10-2016-156/+286
| * :bug: fix bulk deleteFlam3rboy2021-10-181-1/+1
| * :zap: message performanceFlam3rboy2021-10-181-6/+6
| * fix default cdn endpoint for message attachmentsSamuel2021-10-181-1/+1
* | Format the fileuurgothat2021-10-181-19/+27
* | external templates + fosscord draft and more configsuurgothat2021-10-181-2/+28
* | remove unneeded importuurgothat2021-10-171-1/+0
* | Add discord template supportuurgothat2021-10-171-1/+14
|/
* remove template commentKuna2021-10-171-2/+0
* oauth2 route draft to return an empty arrayuurgothat2021-10-171-0/+12
* :bug: fix typingFlam3rboy2021-10-171-3/+2
* :bug: user settingsFlam3rboy2021-10-171-2/+3
* Fix /gateway/botChris Chrome2021-10-161-1/+1
* :bug: fix message sendingFlam3rboy2021-10-151-1/+1
* Merge pull request #455 from fosscord/stickerSamuel2021-10-158-27/+166
|\
| * :sparkles: sticker eventsFlam3rboy2021-10-151-1/+27
| * Merge branch 'master' into stickerFlam3rboy2021-10-154-20/+138
| |\
| * | :art: reformatFlam3rboy2021-10-151-4/+1
| * | :bug: fix sticker packsFlam3rboy2021-10-151-2/+4
| * | :bug: fix message sticker sendingFlam3rboy2021-10-152-0/+11
| * | :sparkles: sticker uploadFlam3rboy2021-10-151-7/+42
| * | :art: restructureFlam3rboy2021-10-141-2/+3
| * | :sparkles: sticker packsFlam3rboy2021-10-142-21/+2
| * | :sparkles: stickersFlam3rboy2021-10-142-0/+86
* | | feat: add tests to gateway routes, split into own routersHayden Young2021-10-152-6/+44
| |/ |/|
* | Merge pull request #460 from fosscord/devSamuel2021-10-152-0/+34
|\ \
| * | Merge branch 'master' into pr/hbjydev/454Flam3rboy2021-10-1513-30/+255
| |\|
| * | feat: implement a database check on the healthz and readyz probes, remove /-/...Hayden Young2021-10-143-12/+16
| * | feat: initial addition of a healthz, readyz and metrics routeHayden Young2021-10-143-0/+30
* | | :bug: fix pruneFlam3rboy2021-10-151-24/+32
* | | :zap: speed up message queryFlam3rboy2021-10-151-27/+21
* | | added route /guilds/:id/prune GET count and POST prune.Maddy2021-10-132-1/+83
| |/ |/|
* | Merge pull request #430 from Thesourtimes/masterFlam3rboy2021-10-113-0/+105
|\ \
| * | :art: gifsFlam3rboy2021-10-113-72/+55
| * | Merge branch 'master' into pr/Thesourtimes/430Flam3rboy2021-10-119-28/+148
| |\ \
| * | | Implement GIFsuurgothat2021-10-093-0/+122
| | |/ | |/|
* | | :bug: fix #371Flam3rboy2021-10-111-2/+2
| |/ |/|
* | Merge branch 'master' into pr/TheArcaneBrony/434Flam3rboy2021-10-101-3/+3
|\ \
| * | :bug: fix modify role.permissionsFlam3rboy2021-10-101-3/+3
* | | :bug: fix vanity urlFlam3rboy2021-10-101-10/+2
* | | Fix duplicate keyThe Arcane Brony2021-10-102-7/+3
|/ /
* | :bug: fix emojis routeFlam3rboy2021-10-102-137/+121
* | Merge branch 'master' into pr/LoboMetalurgico/424Flam3rboy2021-10-105-8/+12
|\ \
| * | :bug: convert bigint literal to objectFlam3rboy2021-10-103-5/+10
| * | :art: clean up imports + classesFlam3rboy2021-10-102-3/+2
* | | Merge branch 'fosscord:master' into milestoneV1/routes/implement/emojisLobo Metalúrgico2021-10-092-3/+10
|\| |
| * | :sparkles: added read stateFlam3rboy2021-10-091-2/+6
| * | :art: cdn now also works without setting a public endpointFlam3rboy2021-10-091-1/+4
| |/
* | (api): fix some issuesLobo Metalúrgico2021-10-091-3/+2
* | (api): implement post on emoji routeLobo Metalúrgico2021-10-091-4/+38
* | (api): add patch to emoji routeLobo Metalúrgico2021-10-091-0/+26
* | Merge remote-tracking branch 'upstream/master' into milestoneV1/routes/implem...Lobo Metalúrgico2021-10-093-11/+40
|\|
| * :bug: fix typingFlam3rboy2021-10-092-2/+3
| * :bug: fix claim accountFlam3rboy2021-10-091-4/+12
| * :sparkles: added guestsRequireInvite to configFlam3rboy2021-10-091-5/+7
| * :bug: fix password changingFlam3rboy2021-10-091-4/+22
* | (api): fix route nameLobo Metalúrgico2021-10-081-0/+0
* | (api): inital emojis route implementationLobo Metalúrgico2021-10-081-0/+78
|/
* :art: fix imports with new build scriptFlam3rboy2021-10-091-1/+2
* :bug: fix user projectionFlam3rboy2021-10-054-5/+9
* :art: reformattedFlam3rboy2021-10-051-2/+2
* :bug: fix client localeFlam3rboy2021-10-051-1/+2
* :sparkles: added autoJoin guild to configFlam3rboy2021-10-052-73/+14
* :sparkles: add User.register() methodFlam3rboy2021-10-051-127/+60
* :bug: fix guild create with client templateFlam3rboy2021-10-051-21/+17
* Merge pull request #412 from TheArcaneBrony/masterFlam3rboy2021-10-032-24/+25
|\
| * :truck: rename id -> sku_idFlam3rboy2021-10-031-22/+6
| * Add subscription plans so the client doesn't crashThe Arcane Brony2021-10-031-14/+31
* | :bug: fix message reactionsFlam3rboy2021-10-031-2/+2
|/
* :bug: fix registrationFlam3rboy2021-10-031-0/+1
* Add default value to guild discovery"The Arcane Brony2021-10-011-2/+1
* Add setting to show all guilds in discovery, fix query for guild discoveryThe Arcane Brony2021-10-011-2/+5
* :sparkles: registration disabled noticeFlam3rboy2021-10-011-0/+9
* hotfix for misc routesuurgothat2021-09-306-7/+10
* Add misc routesuurgothat2021-09-3014-2/+183
* store improvementsuurgothat2021-09-294-24/+156
* :bug: fix channel permission overwritesFlam3rboy2021-09-262-9/+16
* :sparkles: add private and public endpointFlam3rboy2021-09-251-4/+4
* :bug: message attachment urlFlam3rboy2021-09-251-0/+5
* :bug: fix guild template createFlam3rboy2021-09-251-13/+15
* :sparkles: generate openapi documentationFlam3rboy2021-09-216-52/+14
* Merge branch 'master' into unittestsFlam3rboy2021-09-2017-101/+233
|\
| * :bug: fix relationshipsFlam3rboy2021-09-201-7/+7
| * Merge pull request #382 from fosscord/auto-delete-relationsFlam3rboy2021-09-203-20/+15
| |\
| | * :bug: fix .delete -> add onDelete: "CASCADE"Flam3rboy2021-09-201-11/+1
| | * :construction: auto delete relationsFlam3rboy2021-09-201-6/+14
| | * Merge branch 'master' into auto-delete-relationsFlam3rboy2021-09-1910-56/+194
| | |\
| | * | :art: remove deleteMessageAttachments and move to entityFlam3rboy2021-09-191-3/+0
| * | | Update index.tsFlam3rboy2021-09-201-5/+1
| * | | oRdEr Of OpErAtIoNsChris Chrome2021-09-201-2/+2
| * | | Merge remote-tracking branch 'origin/master'Chris Chrome2021-09-202-21/+24
| |\ \ \
| | * | | :sparkles: accept invite pageFlam3rboy2021-09-202-21/+24
| | | |/ | | |/|
| * | | Fix one thing, another problem pops upChris Chrome2021-09-202-2/+5
| * | | Delete messages before deleting channelChris Chrome2021-09-201-2/+2
| |/ /
| * | Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-09-1910-56/+194
| |\ \ | | |/ | |/|
| | * Merge branch 'fosscord:master' into fix-dmAlTech982021-09-181-0/+11
| | |\
| | | * Update connections.tsFlam3rboy2021-09-181-2/+3
| | | * Add /users/@me/connectionsThe Arcane Brony2021-09-181-0/+10
| | * | Removed ChannelService, more fixesAlTech982021-09-184-10/+10
| | * | Merge branch 'fosscord:master' into fix-dmAlTech982021-09-186-24/+26
| | |\|
| | * | Fix icon, owner_id change and channel deletion for group DMsAlTech982021-09-171-3/+5
| | * | Merge branch 'fosscord:master' into fix-dmAlTech982021-09-171-3/+4
| | |\ \
| | * | | Fix GET /users/@me/channelsAlTech982021-09-171-12/+3
| | * | | Implemented DMs and group DMsAlTech982021-09-167-52/+143
| | * | | Dummy sticker-packs routesAlTech982021-09-162-0/+28
| * | | | :truck: move handleFile to cdnFlam3rboy2021-09-194-9/+5
| * | | | :art: user is verified by defaultFlam3rboy2021-09-191-1/+1
| * | | | :bug: fix guild create iconFlam3rboy2021-09-181-1/+2
| | |_|/ | |/| |
* | | | :sparkles: route middleware test optionFlam3rboy2021-09-181-1/+1
* | | | :pencil: add default route description to all routesFlam3rboy2021-09-1810-21/+28
|/ / /