summary refs log tree commit diff
path: root/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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 ↵Erkin Alp Güney2022-02-041-2/+0
| | | | compile while thinking of a fix
* 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
|
* Update index.htmlImAaronFR2022-01-311-5/+5
| | | Compatible client version with Role Icons
* Add dummy endpoints to prevent client loading some settings panels indefinitelyTheArcaneBrony2022-01-244-0/+48
|
* revert dependabot PRs that update node-fetch to v3Madeline2022-01-241-2/+2
|
* Add unhandled channel types to IsTextChannel methodMadeline2022-01-231-2/+6
|
* Closed-join guildsErkin Alp Güney2022-01-231-1/+2
| | | | Resolves #537 Signed-off-by: Erkin Alp Güney <erkinalp9035@gmail.com>
* Bump node-fetch from 2.6.6 to 2.6.7 in /api/scripts/stresstestdependabot[bot]2022-01-231-6/+14
| | | | | | | | | | | | | | Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7) --- updated-dependencies: - dependency-name: node-fetch dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump node-fetch from 2.6.2 to 3.1.1 in /apidependabot[bot]2022-01-232-81/+747
| | | | | | | | | | | | | | Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.2 to 3.1.1. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.2...v3.1.1) --- updated-dependencies: - dependency-name: node-fetch dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* Branding updatesFeatyre2022-01-222-4/+8
|
* 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
| | | Resolves #533
* fix the message endpoint always returning Empty message errorced777ric2022-01-111-1/+1
| | | | (cherry picked from commit 8b8344e860920f3c3b911dfde1a7a078fef43c9b)
* Message fixes | Character limits and embed fixes (#581)Madeline2022-01-112-8/+14
| | | | | | | * Adds message character limits (#503) * Fixed message `embeds` being ignored for `embed` * Update Message.ts Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
* Correct the invite responseThesourtimes2022-01-061-1/+1
|
* Add Role Icons (#574)Chris Chrome2022-01-051-2/+9
| | | | | | | | | * Role Icons Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com> * Cache coherency rules Co-authored-by: MANIKILLER <manikillrorg@gmail.com> Co-authored-by: ImAaronFR <96433859+ImAaronFR@users.noreply.github.com>
* Update documentsThesourtimes2022-01-041-1/+1
|
* Fix schemas handlerThesourtimes2022-01-011-1/+1
|
* Organize @fosscord/api utils in directoriesThesourtimes2022-01-0113-11/+13
|
* Updated stop.tsunknownPerson1152021-12-291-1/+1
| | | | | | | now using bitwise operators and dividing the `rights` value so you can have other rights whilst having the `OPERATOR` right for example: `3` is `1` and `2` combined NOTE: a potential issue has been uncovered while testing; if you have more than 1 thread the server will only stop 1 thread and the rest of the server will continue to run
* Updated stop.tsunknownPerson1152021-12-291-6/+7
| | | | | | updated stop.ts so it checks for user rights instead of the SYSTEM flag which can possibly cause some unnecessary complications when it comes to instance management *also has been tested with multiple tokens to be sure that this does NOT permit normal users to POST to the /stop API route **NOTE**: instance owners will have to re-run `npm run setup` for these changes to take effect
* Merge pull request #553 from TheArcaneBrony/masterChris Chrome2021-12-265-6/+119
|\ | | | | Remove fs-extras, add Sentry support, fix compile errors, fix some typos
| * Add env name in sentry, set default sentry endpointThe Arcane Brony2021-12-261-7000/+15200
| |
| * Restore package locksThe Arcane Brony2021-12-262-0/+19133
| |
| * Replace nanocolors with picocolorsThe Arcane Brony2021-12-252-2/+2
| |
| * Add Sentry, fix compile errorsThe Arcane Brony2021-12-222-4/+6
| |
| * Repo cleanup, remove fs-extrasThe Arcane Brony2021-12-214-27333/+111
| |
* | Update api/src/routes/stop.tsunknownPerson1152021-12-251-7/+2
| | | | | | Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
* | Create stop.ts (for /stop API route)unknownPerson1152021-12-251-0/+30
| | | | | | | | | | patched up the route and polished it note: THIS API IS ONLY FOR DEVELOPMENT PURPOSES
* | 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-188-390/+1880
|
* Add the new discovery routeThesourtimes2021-12-151-0/+20
|
* Stresstest ScriptTimSchweiz2021-12-099-0/+989
|
* 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-051-0/+8
|
* 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
| | | Forgot that you cannot mix and match bigint and float
* Merge pull request #519 from erkinalp/masterSamuel2021-11-291-0/+19
|\ | | | | Snowflake-based invite generation
| * snowflake-based invite generationErkin Alp Güney2021-11-281-0/+19
| |
* | Merge pull request #518 from Xenorio/masterSamuel2021-11-291-0/+0
|\ \ | | | | | | Fix plugins folder not being found
| * | Fix plugins folder not being foundXenorio2021-11-281-0/+0
| |/ | | | | | | | | This adds a .gitkeep file so the plugins folder is being delivered when cloning
* | Merge pull request #523 from fosscord/translationSamuel2021-11-292-16/+16
|\ \ | |/ |/|
| * New translations common.json (Russian)Samuel2021-11-291-6/+6
| |
| * New translations auth.json (Russian)Samuel2021-11-291-10/+10
| |
* | Merge pull request #491 from TheArcaneBrony/masterSamuel2021-11-216-58/+92
|\ \ | | | | | | Add plugin & css support, add styling to differentiate from discord.com
| * | Add user.cssThe Arcane Brony2021-11-141-0/+1
| | |
| * | Inline plugin supportThe Arcane Brony2021-11-112-3/+5
| | |
| * | Fix autoregister, add inline pluginsThe Arcane Brony2021-11-111-0/+0
| | |
| * | Attempt to fix auto registerThe Arcane Brony2021-11-111-5/+6
| | |
| * | Add plugin & css support, add styling to differentiate from discord.comThe Arcane Brony2021-11-113-58/+88
| |/
* | 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
|/
* Merge pull request #496 from fosscord/translationSamuel2021-11-1157-616/+650
|\ | | | | New Crowdin updates
| * New translations auth.json (Serbo-Croatian)Samuel2021-10-241-9/+9
| |
| * New translations common.json (Serbo-Croatian)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Vietnamese)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Ukrainian)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Turkish)Samuel2021-10-241-5/+5
| |
| * New translations common.json (Swedish)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Croatian)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Slovak)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Norwegian)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Dutch)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Lithuanian)Samuel2021-10-241-2/+2
| |
| * New translations common.json (Korean)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Japanese)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Italian)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Hungarian)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Russian)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Finnish)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Hindi)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Esperanto)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Greek)Samuel2021-10-241-14/+14
| |
| * New translations common.json (German)Samuel2021-10-241-14/+14
| |
| * New translations auth.json (Russian)Samuel2021-10-241-10/+10
| |
| * New translations auth.json (Norwegian)Samuel2021-10-241-8/+8
| |
| * New translations auth.json (Dutch)Samuel2021-10-241-10/+10
| |
| * New translations auth.json (Lithuanian)Samuel2021-10-241-10/+10
| |
| * New translations auth.json (Korean)Samuel2021-10-241-10/+10
| |
| * New translations auth.json (Japanese)Samuel2021-10-241-8/+8
| |
| * New translations auth.json (Italian)Samuel2021-10-241-9/+9
| |
| * New translations auth.json (Hungarian)Samuel2021-10-241-10/+10
| |
| * New translations auth.json (Slovak)Samuel2021-10-241-10/+10
| |
| * New translations auth.json (Greek)Samuel2021-10-241-8/+8
| |
| * New translations auth.json (Danish)Samuel2021-10-241-8/+8
| |
| * New translations auth.json (Czech)Samuel2021-10-241-10/+10
| |
| * New translations auth.json (Bulgarian)Samuel2021-10-241-9/+9
| |
| * New translations auth.json (Belarusian)Samuel2021-10-241-9/+9
| |
| * New translations auth.json (Arabic)Samuel2021-10-241-9/+9
| |
| * New translations auth.json (Spanish)Samuel2021-10-241-10/+10
| |
| * New translations auth.json (Finnish)Samuel2021-10-241-8/+8
| |
| * New translations auth.json (French)Samuel2021-10-241-9/+9
| |
| * New translations common.json (Danish)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Czech)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Bulgarian)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Belarusian)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Arabic)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Spanish)Samuel2021-10-241-14/+14
| |
| * New translations common.json (French)Samuel2021-10-241-14/+14
| |
| * New translations common.json (Romanian)Samuel2021-10-241-14/+14
| |
| * New translations auth.json (Swedish)Samuel2021-10-241-9/+9
| |
| * New translations auth.json (Hindi)Samuel2021-10-241-9/+9
| |
| * New translations auth.json (Croatian)Samuel2021-10-241-9/+9
| |
| * New translations auth.json (Vietnamese)Samuel2021-10-241-10/+10
| |
| * New translations auth.json (Chinese Simplified)Samuel2021-10-241-9/+9
| |
| * New translations auth.json (Ukrainian)Samuel2021-10-241-8/+8
| |
| * New translations auth.json (Esperanto)Samuel2021-10-241-9/+9
| |
| * New translations auth.json (Romanian)Samuel2021-10-241-8/+8
| |
| * New translations common.json (Telugu)Samuel2021-10-241-0/+18
| |
| * New translations auth.json (Telugu)Samuel2021-10-241-0/+16
| |
* | move checLocale and other js tp checkLocaleThesourtimes2021-11-112-47/+48
| |
* | Put autoregister scripts on a seperate asset fileThesourtimes2021-11-112-58/+58
| |
* | 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-24157-17400/+13549
|\|
| * Merge branch 'master' into translationSamuel2021-10-2430-16244/+12057
| |\
| | * :bug: fix localesFlam3rboy2021-10-241-1/+33
| | |
| | * :arrow_up: update packagesFlam3rboy2021-10-241-6529/+3103
| | |
| | * Proxy support for external network accessKagurazakaNyaa2021-10-245-82/+714
| | |
| | * Change user agentRiversideRocks2021-10-211-1/+1
| | |
| | * prettier formatted /apidevelopomp2021-10-2060-10537/+9112
| | |
| * | New translations auth.json (Spanish, Latin America)Samuel2021-10-231-5/+5
| | |
| * | New translations auth.json (Spanish)Samuel2021-10-231-3/+3
| | |
| * | New translations common.json (Spanish, Latin America)Samuel2021-10-221-14/+14
| | |
| * | New translations auth.json (Spanish, Latin America)Samuel2021-10-221-9/+9
| | |
| * | New translations common.json (Spanish, Latin America)Samuel2021-10-221-14/+14
| | |
| * | New translations auth.json (Spanish, Latin America)Samuel2021-10-221-9/+9
| | |
| * | New translations common.json (Guarani)Samuel2021-10-221-0/+18
| | |
| * | New translations auth.json (Guarani)Samuel2021-10-221-0/+16
| | |
| * | New translations common.json (Hausa)Samuel2021-10-221-0/+18
| | |
| * | New translations auth.json (Hausa)Samuel2021-10-221-0/+16
| | |
| * | New translations common.json (Swahili)Samuel2021-10-221-0/+18
| | |
| * | New translations auth.json (Swahili)Samuel2021-10-221-0/+16
| | |
| * | New translations common.json (Latin)Samuel2021-10-221-0/+18
| | |
| * | New translations auth.json (Latin)Samuel2021-10-221-0/+16
| | |
| * | New translations common.json (Tagalog)Samuel2021-10-221-0/+18
| | |
| * | New translations auth.json (Tagalog)Samuel2021-10-221-0/+16
| | |
| * | New translations common.json (Maori)Samuel2021-10-221-0/+18
| | |
| * | New translations auth.json (Maori)Samuel2021-10-221-0/+16
| | |
| * | New translations auth.json (Hungarian)Samuel2021-10-211-1/+1
| | |
| * | New translations auth.json (Czech)Samuel2021-10-211-2/+2
| | |
| * | New translations common.json (Venetian)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Punjabi)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Punjabi)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Tamil)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Tamil)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Marathi)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Marathi)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Uyghur)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Uyghur)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Tibetan)Samuel2021-10-211-0/+16
| | |
| * | New translations auth.json (Berber)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Berber)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Serbo-Croatian)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Serbo-Croatian)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Javanese)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Javanese)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Venetian)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Tibetan)Samuel2021-10-211-0/+18
| | |
| * | New translations common.json (Mapudungun)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Mapudungun)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Quechua)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Quechua)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Kazakh)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Kazakh)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Norwegian Nynorsk)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Norwegian Nynorsk)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Mongolian)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Mongolian)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Basque)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Basque)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Kurmanji (Kurdish))Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Kurmanji (Kurdish))Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (German, Switzerland)Samuel2021-10-211-14/+14
| | |
| * | New translations auth.json (German, Switzerland)Samuel2021-10-211-10/+10
| | |
| * | New translations common.json (Azerbaijani)Samuel2021-10-211-0/+18
| | |
| * | New translations auth.json (Azerbaijani)Samuel2021-10-211-0/+16
| | |
| * | New translations common.json (Turkish)Samuel2021-10-211-6/+6
| | |
| * | New translations auth.json (Turkish)Samuel2021-10-211-4/+4
| | |
| * | New translations common.json (Polish)Samuel2021-10-211-1/+1
| | |
| * | New translations auth.json (Polish)Samuel2021-10-211-2/+2
| | |
| * | New translations common.json (Urdu (India))Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Lithuanian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Korean)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Japanese)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Italian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Hungarian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Hebrew)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Finnish)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Greek)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Dutch)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (German)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Czech)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Catalan)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Bulgarian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Belarusian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Arabic)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Afrikaans)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Spanish)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Danish)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (French)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Norwegian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Portuguese)Samuel2021-10-201-14/+14
| | |
| * | New translations common.json (Sinhala)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Esperanto)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Hindi)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Croatian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Persian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Indonesian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Portuguese, Brazilian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Polish)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Vietnamese)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Chinese Simplified)Samuel2021-10-201-14/+14
| | |
| * | New translations common.json (Ukrainian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Turkish)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Swedish)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Serbian (Cyrillic))Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Slovak)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Russian)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Chinese Traditional)Samuel2021-10-201-17/+17
| | |
| * | New translations common.json (Romanian)Samuel2021-10-201-17/+17
| | |
| * | Update source file common.jsonSamuel2021-10-201-17/+17
| |/
| * New translations auth.json (Lithuanian)Samuel2021-10-191-1/+1
| |
| * Merge pull request #485 from fosscord/translationSamuel2021-10-193-21/+21
| |\