summary refs log tree commit diff
path: root/api/src (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix rebase conflictsTheArcaneBrony2022-08-153-124/+0
* restructure to single projectFlam3rboy2022-08-13138-130591/+0
* Add test pluginTheArcaneBrony2022-08-132-8/+0
* Add template plugin baseTheArcaneBrony2022-08-132-0/+8
* Replace deprecated propertyTheArcaneBrony2022-08-131-1/+1
* Forgot some schemas, removed no longer used paths from generate schema scriptTheArcaneBrony2022-08-132-9/+3
* Split schemas into files in utilTheArcaneBrony2022-08-1340-391/+34
* Move some invite defaults into classTheArcaneBrony2022-08-131-5/+1
* Fix updated client stuff...TheArcaneBrony2022-08-134-2/+10
* Push local state...TheArcaneBrony2022-08-133-2/+4
* That... Was a bad ideaChrisChrome2022-08-131-1/+1
* HmmmmmmChrisChrome2022-08-131-5/+6
* That don't workChrisChrome2022-08-131-2/+3
* Merge pull request #830 from fosscord/dev/applicationsChris Chrome2022-08-134-2/+149
|\
| * Handle avatar uploadsChrisChrome2022-08-121-2/+2
| * Made nitro stuff make some senseChrisChrome2022-08-121-4/+4
| * Make teams nullableTheArcaneBrony2022-08-101-2/+1
| * WhoopsChrisChrome2022-08-101-1/+1
| * Whoops, missed oneChrisChrome2022-08-101-1/+0
| * I'm probably forgetting a lot of things, but hey, it worksChrisChrome2022-08-101-1/+6
| * It works now... I guessChrisChrome2022-08-102-2/+1
| * Add basic developer panel functionality - doesn't work yetChrisChrome2022-08-104-2/+147
* | Update index.tsRealMANI2022-08-121-2/+10
* | Invalidate tokens on password changeChrisChrome2022-08-101-3/+9
|/
* Remove some old test logs that expose info to consoleTheArcaneBrony2022-08-092-3/+0
* rename initDatabase to clarify functionTheArcaneBrony2022-08-091-2/+2
* Remove todo line that has been implemented.TheArcaneBrony2022-08-091-1/+0
* Use deep merge everywhereTheArcaneBrony2022-08-0919-31/+51
* Bunch of fixes and improvements, everything appears to work nowTheArcaneBrony2022-08-0919-43/+48
* Switch to migrations fullyTheArcaneBrony2022-08-095-9/+13
* Resolve changes undone by rebasing from masterTheArcaneBrony2022-08-0943-103/+108
* State update, havent testedTheArcaneBrony2022-08-0945-52/+47
* Update packagesTheArcaneBrony2022-08-096-7/+7
* fix ts errorsFlam3rboy2022-08-093-72/+62
* replace all var with let (reduces warnings)TheArcaneBrony2022-08-0928-59/+59
* Remove: console.log(`CACHE MISS! Asset file: x`);ChrisEric1 CECL2022-08-061-2/+1
* Merge branch 'master' into 2faTheArcaneBrony2022-08-065-73/+139
|\
| * 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
| * | Merge pull request #809 from Puyodead1/patch/user-modifyTheArcaneBrony2022-08-061-0/+1
| |\ \
| | * | add discriminator to user modify schemaPuyodead12022-07-301-0/+1
| * | | Merge pull request #792 from fosscord/dev/local-cacheTheArcaneBrony2022-08-063-62/+106
| |\ \ \ | | |/ / | |/| |
| | * | Make requested changes (pr792)TheArcaneBrony2022-07-312-15/+1
| | * | Add local disk caching for fetched assetsTheArcaneBrony2022-07-173-62/+120
| | |/
* | | 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-206-1/+210
|/
* * Make max website preview download size for embeds configurableMadeline2022-07-091-3/+6
* 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
* Skip check for rate limit bypass if no user id is providedMadeline2022-07-021-5/+7
* 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-282-2/+3
* exempt users logicErkin Alp Güney2022-04-281-2/+6
* Merge pull request #736 from MaddyUnderStars/backfillingErkin Alp Güney2022-04-271-5/+24
|\
| * 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
* | eventually fix those errorsErkin Alp Güney2022-04-241-1/+1
* | Update RateLimit.tsErkin Alp Güney2022-04-241-2/+3
* | Update RateLimit.tsErkin Alp Güney2022-04-241-1/+1
* | fix the seconds rounding logicErkin Alp Güney2022-04-241-2/+2
* | Punitive rate limitingErkin Alp Güney2022-04-241-4/+8
|/
* 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-232-2/+87
|/
* Use 1 thread on platform where fetching thread/core count failsTheArcaneBrony2022-04-191-1/+6
* general rights enforcement stuffErkin Alp Güney2022-04-181-0/+3
* 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
* Update passwordStrength.tsErkin Alp Güney2022-04-121-1/+1
* Fix compile errors in checkPassword's entropy checkMadeline2022-04-101-4/+4
* Update passwordStrength.tsErkin Alp Güney2022-04-091-1/+1
* add an elegant entropy checkErkin Alp Güney2022-04-091-5/+16
* 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
* remove todos that are implementedErkin Alp Güney2022-04-081-3/+3
* enforce the rightsErkin Alp Güney2022-04-081-3/+5
* fix the build mistakes from yesternightErkin Alp Güney2022-04-081-7/+12
* Update index.tsErkin Alp Güney2022-04-081-7/+10
* added the maintenance listing endpointErkin Alp Güney2022-04-071-0/+1
* 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
* fix(api): working replies in dm channelsNobody2022-03-091-4/+6
* 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-1614-23/+175
|\ \ \
| * | | Return none for dev portal + todo for categoriesFeatyre2022-02-021-1/+7
| * | | Dev portal + categories load dbFeatyre2022-01-268-23/+44
| * | | change lineFeatyre2022-01-251-1/+1
| * | | Merge branch 'fosscord:master' into masterFeatyre2022-01-244-0/+48
| |\| |
| * | | Partnet + Discover fix and joinFeatyre2022-01-248-9/+105
| * | | 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
* Fix typo in commit 277b28cMadeline2022-01-131-1/+1
* Fix the feature checkErkin Alp Güney2022-01-121-0/+2
* Add cross channel repliesErkin Alp Güney2022-01-121-2/+4
* fix the message endpoint always returning Empty message errorced777ric2022-01-111-1/+1
* Message fixes | Character limits and embed fixes (#581)Madeline2022-01-112-8/+14
* Correct the invite responseThesourtimes2022-01-061-1/+1
* Add Role Icons (#574)Chris Chrome2022-01-051-2/+9
* Fix schemas handlerThesourtimes2022-01-011-1/+1
* Organize @fosscord/api utils in directoriesThesourtimes2022-01-0113-11/+13
* Updated stop.tsunknownPerson1152021-12-291-1/+1
* Updated stop.tsunknownPerson1152021-12-291-6/+7
* Merge pull request #553 from TheArcaneBrony/masterChris Chrome2021-12-262-5/+5
|\
| * Replace nanocolors with picocolorsThe Arcane Brony2021-12-251-1/+1
| * 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-185-26/+59
* Add the new discovery routeThesourtimes2021-12-151-0/+20
* Make the test client togglableThesourtimes2021-12-151-2/+4
* Update index.tsKuna2021-12-071-1/+1
* Update index.tsKuna2021-12-071-1/+2
* Fix previous commitThesourtimes2021-12-071-1/+1
* Minor API workThesourtimes2021-12-052-1/+10
* Make INTERNAL_EMPLOYEE_ONLY functionalThesourtimes2021-12-051-1/+6
* Merge pull request #530 from erkinalp/patch-3Samuel2021-11-301-1/+1
|\
| * Eventually fixed all the errors in the RandomInviteIDErkin Alp Güney2021-11-301-1/+1
| * fix the bigint asintnErkin Alp Güney2021-11-301-1/+1
* | Merge pull request #527 from erkinalp/patch-3Samuel2021-11-301-1/+1
|\|
| * Fix assignment incompatibilityErkin Alp Güney2021-11-301-1/+1
* | Add a new test-client related endpointThesourtimes2021-11-301-0/+13
|/
* Fix the type errorsErkin Alp Güney2021-11-301-5/+6
* snowflake-based invite generationErkin Alp Güney2021-11-281-0/+19
* Merge pull request #491 from TheArcaneBrony/masterSamuel2021-11-211-1/+18
|\
| * Inline plugin supportThe Arcane Brony2021-11-111-3/+8
| * Add plugin & css support, add styling to differentiate from discord.comThe Arcane Brony2021-11-111-1/+13
* | Update index.tsSamuel2021-11-211-2/+3
* | Fix the minor issues on routeThesourtimes2021-11-184-12/+16
* | Minor API stuffuurgothat2021-11-172-3/+13
* | Add instance routeuurgothat2021-11-174-0/+40
|/
* API versions 6 & 7 with minor logging additionsThesourtimes2021-11-101-0/+2
* Update Authentication.tsKuna2021-10-241-1/+0
* make templates configurable + authorizationuurgothat2021-10-242-35/+14
* Merge branch 'master' of https://github.com/fosscord/fosscord-serveruurgothat2021-10-2426-180/+323
|\
| * Proxy support for external network accessKagurazakaNyaa2021-10-244-0/+16
| * Change user agentRiversideRocks2021-10-211-1/+1
| * prettier formatted /apidevelopomp2021-10-2018-169/+296
| * :bug: fix bulk deleteFlam3rboy2021-10-181-1/+1
| * :zap: message performanceFlam3rboy2021-10-182-7/+7
| * :zap: vertically scale bundleFlam3rboy2021-10-181-1/+1
| * 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
* :art: clean up instances on startFlam3rboy2021-10-171-1/+4
* :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-1510-30/+170
|\
| * :sparkles: sticker eventsFlam3rboy2021-10-151-1/+27
| * Merge branch 'master' into stickerFlam3rboy2021-10-156-24/+144
| |\
| * | :art: reformatFlam3rboy2021-10-152-5/+2
| * | :bug: fix sticker packsFlam3rboy2021-10-151-2/+4
| * | :bug: fix message sticker sendingFlam3rboy2021-10-153-2/+14
| * | :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-153-0/+36
|\ \
| * | :art: exclude healthz/readyz from authFlam3rboy2021-10-151-0/+2
| * | Merge branch 'master' into pr/hbjydev/454Flam3rboy2021-10-1519-101/+263
| |\ \
| * | | 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
* | | | Merge pull request #448 from Mr2u/masterSamuel2021-10-152-20/+104
|\ \ \ \ | |_|/ / |/| | |
| * | | :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