summary refs log tree commit diff
path: root/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |\
| | * New translations common.json (Vietnamese)Samuel2021-10-181-11/+11
| | |
| | * New translations auth.json (Vietnamese)Samuel2021-10-181-3/+3
| | |
| | * New translations common.json (Vietnamese)Samuel2021-10-181-3/+3
| | |
| | * New translations auth.json (Polish)Samuel2021-10-181-4/+4
| | |
| * | :zap: use better-sqlite3 as default dbFlam3rboy2021-10-181-4/+6
| | |
| * | :bug: fix bulk deleteFlam3rboy2021-10-181-1/+1
| |/
| * Merge pull request #483 from fosscord/translationSamuel2021-10-183-4/+4
| |\ | | | | | | New Crowdin updates
| | * New translations common.json (Portuguese)Samuel2021-10-181-14/+14
| | |
| | * New translations common.json (Chinese Simplified)Samuel2021-10-181-14/+14
| | |
| | * New translations common.json (Chinese Traditional)Samuel2021-10-181-14/+14
| | |
| | * New translations common.json (Portuguese, Brazilian)Samuel2021-10-181-14/+14
| | |
| | * New translations auth.json (Russian)Samuel2021-10-181-1/+1
| | |
| | * New translations auth.json (Portuguese)Samuel2021-10-181-10/+10
| | |
| | * New translations auth.json (Slovak)Samuel2021-10-181-2/+2
| | |
| | * New translations auth.json (Turkish)Samuel2021-10-181-1/+1
| | |
| | * New translations auth.json (Portuguese, Brazilian)Samuel2021-10-181-10/+10
| | |
| | * New translations auth.json (Chinese Traditional)Samuel2021-10-181-9/+9
| | |
| | * New translations auth.json (Chinese Simplified)Samuel2021-10-181-9/+9
| | |
| * | :zap: message performanceFlam3rboy2021-10-182-7/+7
| | |
| * | :globe_with_meridians: remove unused localesFlam3rboy2021-10-1829-516/+0
| |/
| * New translations common.json (Portuguese)Samuel2021-10-181-14/+14
| |
| * New translations common.json (Chinese Simplified)Samuel2021-10-181-14/+14
| |
| * New translations common.json (Persian)Samuel2021-10-181-0/+18
| |
| * New translations common.json (Sinhala)Samuel2021-10-181-0/+18
| |
| * New translations auth.json (Portuguese)Samuel2021-10-181-10/+10
| |
| * New translations auth.json (Sinhala)Samuel2021-10-181-0/+16
| |
| * New translations auth.json (Persian)Samuel2021-10-181-0/+16
| |
| * New translations auth.json (Chinese Traditional)Samuel2021-10-181-9/+9
| |
| * New translations auth.json (Chinese Simplified)Samuel2021-10-181-9/+9
| |
| * :zap: vertically scale bundleFlam3rboy2021-10-181-1/+1
| |