summary refs log tree commit diff
path: root/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into feat/captchaVerifyMadeline2022-08-0680-166/+1907
|\
| * Merge pull request #815 from fosscord/translationSamuel2022-08-0661-61/+183
| |\ | | | | | | New Crowdin updates
| | * New translations auth.json (Venetian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Javanese)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Guarani)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Quechua)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Serbo-Croatian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Berber)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Hausa)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Kurmanji (Kurdish))Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Swahili)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Sinhala)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Latin)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Tibetan)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Uyghur)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Esperanto)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Punjabi)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Norwegian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Dutch)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Mongolian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Lithuanian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Korean)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Japanese)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Italian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Hungarian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Hebrew)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Polish)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Finnish)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Greek)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (German)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Danish)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Czech)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Catalan)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Bulgarian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Belarusian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Arabic)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Afrikaans)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Spanish)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Basque)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (French)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Slovak)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Tagalog)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Telugu)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Maori)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Hindi)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Azerbaijani)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Kazakh)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Norwegian Nynorsk)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Croatian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Marathi)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Tamil)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Russian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Persian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Portuguese, Brazilian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Vietnamese)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Urdu (Pakistan))Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Chinese Simplified)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Ukrainian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Turkish)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Swedish)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Serbian (Cyrillic))Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Indonesian)Samuel2022-08-061-1/+3
| | |
| | * New translations auth.json (Romanian)Samuel2022-08-061-1/+3
| | |
| * | Merge branch 'master' into 2faTheArcaneBrony2022-08-0612-95/+189
| |\|
| | * Merge pull request #804 from MaddyUnderStars/feat/notesTableTheArcaneBrony2022-08-061-11/+32
| | |\ | | | | | | | | Move user notes into separate table
| | | * Delete Note if no contentMadeline2022-07-231-10/+14
| | | |
| | | * Moved user notes into separate tableMadeline2022-07-231-11/+28
| | | |
| | * | Merge pull request #814 from fosscord/translationTheArcaneBrony2022-08-062-21/+21
| | |\ \ | | | | | | | | | | New Crowdin updates
| | | * | New translations common.json (Hebrew)Samuel2022-08-061-11/+11
| | | | |
| | | * | New translations auth.json (Hebrew)Samuel2022-08-061-10/+10
| | | | |
| | * | | Merge pull request #809 from Puyodead1/patch/user-modifyTheArcaneBrony2022-08-062-0/+4
| | |\ \ \ | | | | | | | | | | | | add discriminator to user modify schema
| | | * | | Update schemas.jsonPuyodead12022-07-301-2/+0
| | | | | |
| | | * | | add discriminator to user modify schemaPuyodead12022-07-302-0/+6
| | | | | |
| | * | | | Merge pull request #792 from fosscord/dev/local-cacheTheArcaneBrony2022-08-067-63/+108
| | |\ \ \ \ | | | |/ / / | | |/| | | Add local disk caching for fetched assets
| | | * | | Make requested changes (pr792)TheArcaneBrony2022-07-312-15/+1
| | | | | |
| | | * | | Add local disk caching for fetched assetsTheArcaneBrony2022-07-177-63/+122
| | | | | |
| * | | | | Merge branch 'master' into 2faMadeline2022-08-012-8/+5
| |\| | | |
| | * | | | fix: not being able to enable communityPuyodead12022-07-262-8/+5
| | | |_|/ | | |/| |
| * | | | Add config `security_twoFactor_generateBackupCodes` to control backup code ↵Madeline2022-07-202-6/+9
| | | | | | | | | | | | | | | | | | | | generation
| * | | | Add node-2fa to package.jsonMadeline2022-07-201-0/+1
| | | | |
| * | | | 2faMadeline2022-07-208-2/+1526
| |/ / /
* / / / Captcha checkingMadeline2022-07-204-7/+69
|/ / /
* / / chore: fix package.json scriptsNobody2022-07-191-5/+5
|/ / | | | | | | npx should be used to execute local package binaries
* | * Make max website preview download size for embeds configurableMadeline2022-07-091-3/+6
| | | | | | | | * Fix Message.update call throwing 'Cannot query across one-to-many for property attachments'
* | Removed unused importMadeline2022-07-091-1/+1
| | | | | | tab autocomplete really loves doing this to me
* | Merge branch 'master' into feat/multiUploadsMadeline2022-07-092-483/+652
|\ \
| * | Filter out schemas that block generation instead, and also include util in filesMadeline2022-07-073-430/+1936
| | |
| * | Typescript-json-schema does not crawl extendsMadeline2022-07-071-1/+8
| | |
* | | Allow multiple attachments in messagesMadeline2022-07-092-10/+1365
|/ /
* | 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
|/
* Merge pull request #737 from fosscord/translationConner2022-06-262-4/+4
|\ | | | | New Crowdin updates
| * New translations common.json (Polish)Samuel2022-04-251-2/+2
| |
| * New translations auth.json (Polish)Samuel2022-04-251-2/+2
| |
* | 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
| |
* | Merge pull request #763 from KaKi87/spdxErkin Alp Güney2022-06-191-1/+1
|\ \ | | | | | | Use SPDX license syntax in 'package.json' files
| * | Use SPDX license syntax in 'package.json' filesKaKi872022-06-021-1/+1
| | |
* | | Expose general instance information via api /ping routeMadeline2022-06-081-1/+17
|/ /
* | Respect register_dateOfBirth_required = falseMadeline2022-05-301-1/+1
| |
* | Finished file translation FlumeZ2022-05-261-10/+10
| | | | | | Auth.json :D
* | Fixed Broken Translates and finished the fileFlumeZ2022-05-261-11/+11
| | | | | | Enjoy :)
* | Update index.tsErkin Alp Güney2022-05-151-14/+18
| |
* | Merge branch 'master' of https://github.com/fosscord/fosscord-serverErkin Alp Güney2022-05-153-16/+22
|\ \
| * | Update bulk-delete.tsErkin Alp Güney2022-05-151-7/+13
| | |
| * | Update purge.tsErkin Alp Güney2022-05-151-3/+3
| | |
| * | Remove more WAAO referencesErkin Alp Güney2022-05-061-6/+6
| | |
* | | 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
| | | | | | | | closes #281
* | 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
| | | | | | resolves #396
* | Merge pull request #736 from MaddyUnderStars/backfillingErkin Alp Güney2022-04-271-5/+24
|\ \ | | | | | | Backfilling sanitation etc
| * | 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 ↵Madeline2022-04-241-5/+19
| | | | | | | | | | | | the future, and cannot overwrite existing messages
* | | Do stuff for npm workspaceThesourtimes2022-04-263-18/+1
| | |
* | | 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-234-8151/+12484
|\ \
| * | 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 ( ↵Madeline2022-04-231-0/+5
| | | | | | | | | | | | categories, voice etc )
| * | Fixed ability for user to edit any property of themselves, including ↵Madeline2022-04-233-8151/+12479
| | | | | | | | | | | | `rights`, `flags`. Note to self: schemas.json is a GENERATED file. `npm run generate:schema` in api/
* | | 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
|/
* New translations common.json (Swedish)Samuel2022-04-121-14/+14
|
* New translations auth.json (Swedish)Samuel2022-04-121-10/+10
|
* 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
|
* New translations common.json (Hebrew)Samuel2022-04-051-7/+7
|
* User Notes (#707)Madeline2022-04-051-5/+30
| | | | | | | | * Notes implementation. Bug: Client does not save note locally after uploading to server. Client does save after reloading page. Is this due to the response being sent by PUT? * I don't know why the client doesn't do optimistic UI updates with this, or any updates at all without reloading the page * Added USER_NOTE_UPDATE event, thanks @TheRealGeoDash2019 !
* Fix typo in table 'client_relase' -> 'client_release' ( and other of the ↵Madeline2022-03-305-12/+12
| | | | | | | same typo ) (#703) * Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo. * Fixed migration ( but dirty lol )
* Bump minimist from 1.2.5 to 1.2.6 in /apidependabot[bot]2022-03-301-6/+12
| | | | | | | | | | | | | Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* Make comments more accurate to use-caseLuna Alfien2022-03-271-0/+4
|
* Create fosscord-login.jsLuna Alfien2022-03-271-0/+8
|
* Fix `servers[0].url` in `openapi.json`.SpacingBat32022-03-201-1/+1
| | | A tiny fix within `openapi.json`, that changes the URL in servers property to the correct ones.
* close issue #684Erkin Alp Güney2022-03-142-4/+4
|
* fix(api): add vanity urls creation/update (#665)Nobody2022-03-091-5/+28
| | | | | | | | | * fix(api): add vanity urls creation/update * refactor(api): multiple vanity urls Old vanty urls will not be updated, instead a new one will be created. * feat(api): add ALIASABLE_NAMES feature Reference: https://github.com/fosscord/fosscord-server/issues/407
* fix(api): working replies in dm channelsNobody2022-03-091-4/+6
|
* Merge branch 'master' into fix/ban-listNobody2022-03-084-6/+12
|\
| * Temporary notes fixRealMANI2022-03-081-3/+3
| | | | | | | | Temporary fix for getting stuck on loading user note. //TODO
| * fix(api): working invisible status typeNobody2022-03-082-3/+3
| |
| * fix(api): don't send @everyone in route responseNobody2022-03-081-1/+4
| | | | | | | | The response of `PATCH /guilds/{guild.id}/members/{user.id}` should not include "@everyone" role
| * fix(api): prevent @everyone role duplicationNobody2022-03-081-1/+1
| | | | | | | | If user already has @everyone role, then don't push it to the array
| * fix(api): always add @everyone in user's rolesNobody2022-03-081-0/+3
| | | | | | | | When you add or delete an user's role, you MUST always add "@everyone" role to the roles map
| * Fix bans list (#674)RealMANI2022-03-081-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix bans list - Bans list should load properly now * Updated Removed await Removed unnecessary foreach * Update ban.ts await
* | fix(api): working ban listNobody2022-03-081-8/+23
|/ | | | We should never use await inside loops
* Check usernameRealMANI2022-03-061-6/+8
|
* [Fix] Changing bio and accent colorRealMANI2022-03-061-1/+1
|
* Fixed npm run tsnode throwing error about ES modules for node-fetch. ↵Madeline2022-03-062-3814/+2577
| | | | Probably was api package.json still included node-fetch 3, but bundle still had v2
* Bump url-parse from 1.5.7 to 1.5.10 in /apidependabot[bot]2022-02-281-12/+12
| | | | | | | | | | | | | Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #621 from fosscord/origin/dev/erkinalp/self-bansErkin Alp Güney2022-02-251-6/+61
|\ | | | | Allow self-banning
| * 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 ↵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
| | |
* | | [Fix] Profile & banner uploadingRealMANI2022-02-201-1/+1
| | | | | | | | | Related to this issue https://github.com/fosscord/fosscord-server/pull/639#issuecomment-1046140968
* | | Bump url-parse from 1.5.3 to 1.5.7 in /apidependabot[bot]2022-02-191-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* | | changed user.premium_since to also load from the database.Iratu2022-02-182-1/+5
| | |
* | | Forgot the openapi.json change.Iratu2022-02-181-1/+2
| | |
* | | Fix for Premium Since to show the 'Guild Boost' and store it correctly in ↵Iratu2022-02-181-3/+11
| | | | | | | | | | | | the database
* | | Merge pull request #608 from Featyre/masterErkin Alp Güney2022-02-1616-24/+217
|\ \ \ | | | | | | | | Branding updates + Fixed Discovery and custom status + Dev portal
| * | | Return none for dev portal + todo for categoriesFeatyre2022-02-021-1/+7
| | | |
| * | | Merge branch 'fosscord:master' into masterFeatyre2022-02-011-5/+5
| |\| |
| * | | Dev portal + categories load dbFeatyre2022-01-269-23/+86
| | | |
| * | | 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
| | | | |
| * | | | Merge branch 'fosscord:master' into masterFeatyre2022-01-241-2/+2
| |\ \ \ \
| * | | | | category + discovery + custom status fix, new configFeatyre2022-01-244-17/+19
| | | | | |
| * | | | | Merge branch 'fosscord:master' into masterFeatyre2022-01-241-2/+6
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'fosscord:master' into masterFeatyre2022-01-234-88/+763
| |\ \ \ \ \ \
| * | | | | | | Partial integration of categories and discoveryFeatyre2022-01-234-20/+46
| | | | | | | |
| * | | | | | | Branding updatesFeatyre2022-01-232-4/+8
| | | | | | | |
* | | | | | | | TypoRealMANI2022-02-161-1/+1
| | | | | | | |
* | | | | | | | Mutual FriendsRealMANI2022-02-161-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | Added mutual friends
* | | | | | | | Mutual Guilds (#637)RealMANI2022-02-161-2/+15
| | | | | | | |
* | | | | | | | [Fix] Invisible space username (#639)RealMANI2022-02-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | You can send only spaces to the server and have a invisible username, this way you can remove the spaces and check and if it wasn't null after you know it's not just spaces
* | | | | | | | Bump vm2 from 3.9.5 to 3.9.7 in /api (#633)dependabot[bot]2022-02-151-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.5 to 3.9.7. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.7) --- updated-dependencies: - dependency-name: vm2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Manually lock node to >15Erkin Alp Güney2022-02-101-0/+1
| | | | | | | |
* | | | | | | | [Fix] Trying to remove a null element (#625)ImAaronFR2022-02-101-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Fix for: Uncaught TypeError: document.querySelector(...) is null
* | | | | | | | [Fix] Client bug (#623)ImAaronFR2022-02-091-1/+4
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | If you don't delete this property for some reasons after you send a message in a guild, your roles will be removed (client sided) for everyone, this fixes it.
* | | | | | | Remove nulled properties from GET `/channels/#id/messages` for improved ↵Madeline2022-02-041-0/+7
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | compatibility with some client ( discord.js )
* | | | | | 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
| |