summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* needs to be asyncErkin Alp Güney2022-04-283-5/+6
|
* 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
| |
| * refine error codes for backfill constraint violationsErkin Alp Güney2022-04-241-9/+9
| |
| * API response codes for backfill errorsErkin Alp Güney2022-04-241-0/+2
| |
| * 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
* | Hotfix for workspace (#739)Kuna2022-04-271-1/+1
| |
* | Forum and guild directory typesErkin Alp Güney2022-04-271-0/+2
| |
* | Do stuff for npm workspaceThesourtimes2022-04-2616-165/+26
| |
* | eventually fix those errorsErkin Alp Güney2022-04-242-8/+11
| |
* | Update RateLimit.tsErkin Alp Güney2022-04-241-2/+3
| |
* | Update Token.tsErkin Alp Güney2022-04-241-1/+6
| |
* | 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
| |
* | Update Message.tsErkin Alp Güney2022-04-231-1/+1
| |
* | self commands and /me messagesErkin Alp Güney2022-04-231-1/+3
|/
* Merge branch 'master' of https://github.com/fosscord/fosscord-serverErkin Alp Güney2022-04-236-8158/+12494
|\
| * text+voice code is already thereErkin Alp Güney2022-04-221-1/+0
| |
| * Merge pull request #734 from MaddyUnderStars/fix/sanitisationTheArcaneBrony2022-04-225-8151/+12495
| |\ | | | | | | Fix users arbitrarily editing their own User object, and disallow sending messages to certain channels ( eg categories )
| | * 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-232-0/+16
| | | | | | | | | | | | 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/
| * Update UserGroup.tsErkin Alp Güney2022-04-211-7/+0
| |
* | backfilling — first stepsErkin Alp Güney2022-04-232-2/+87
|/
* user groups - first stepsErkin Alp Güney2022-04-211-0/+44
|
* Try catch cpu logTheArcaneBrony2022-04-191-1/+7
|
* Use 1 thread on platform where fetching thread/core count failsTheArcaneBrony2022-04-193-3/+18
|
* 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-182-2/+7
|\
| * Unified ghost instead of separate ghostsErkin Alp Güney2022-04-181-1/+1
| |
| * Google staff emailErkin Alp Güney2022-04-181-1/+6
| |
* | get single message && message rights enforcementErkin Alp Güney2022-04-182-2/+15
|/
* reactions rights enforcementErkin Alp Güney2022-04-172-2/+3
|
* Update Intents.tsErkin Alp Güney2022-04-161-1/+1
|
* jumbo and lobbies are indeed differentErkin Alp Güney2022-04-161-1/+1
|
* Update Identify.tsErkin Alp Güney2022-04-161-5/+5
|
* add more intentsErkin Alp Güney2022-04-161-15/+26
|
* remove misleading todo noteErkin Alp Güney2022-04-161-1/+0
|
* Align buttons to centerKuna2022-04-141-1/+1
|
* 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 Guild.tsErkin Alp Güney2022-04-101-4/+8
|
* Update passwordStrength.tsErkin Alp Güney2022-04-091-1/+1
|
* add an elegant entropy checkErkin Alp Güney2022-04-091-5/+16
|
* bug fix1itt1eB0y2022-04-091-1/+1
| | | Fix `QueryFailedError: constraint "FK_05535bc695e9f7ee104616459d3" for relation "messages" already exists`
* Resolves #715Madeline2022-04-091-1/+1
|
* Update User.tsErkin Alp Güney2022-04-091-7/+7
|
* 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
|
* optionalErkin Alp Güney2022-04-081-2/+2
|
* add joined_by to allow for separate treatment of force-joinersErkin Alp Güney2022-04-081-2/+11
|
* fix the build mistakes from yesternightErkin Alp Güney2022-04-082-16/+20
|
* Update index.tsErkin Alp Güney2022-04-081-7/+10
|
* More rights stuffErkin Alp Güney2022-04-071-0/+11
|
* added the maintenance listing endpointErkin Alp Güney2022-04-071-0/+1
|
* scheduled maintenancesErkin Alp Güney2022-04-071-0/+12
|
* with public read receipts explicitly stored, no need to store manual flag of ↵Erkin Alp Güney2022-04-071-1/+2
| | | | the read mark
* Fix 404 URLLuna Alfien2022-04-071-1/+1
|
* New translations common.json (Hebrew)Samuel2022-04-051-7/+7
|
* User Notes (#707)Madeline2022-04-053-5/+35
| | | | | | | | * 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 !
* Revert "Make member.premium_since ISO8601 timestamp" (#710)Erkin Alp Güney2022-04-041-3/+3
| | | This reverts commit 093ae5558007031253b5dadb5a5be96dd265683d.
* Add our custom channel typesErkin Alp Güney2022-04-031-1/+5
|
* More message typesErkin Alp Güney2022-04-021-0/+7
|
* first steps for E2EE support — channel security settings eventErkin Alp Güney2022-04-021-0/+35
|
* Fix typo in table 'client_relase' -> 'client_release' ( and other of the ↵Madeline2022-03-3010-21/+37
| | | | | | | same typo ) (#703) * Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo. * Fixed migration ( but dirty lol )
* Merge pull request #705 from ↵Erkin Alp Güney2022-03-301-4/+6
|\ | | | | | | | | fosscord/dependabot/npm_and_yarn/bundle/minimist-1.2.6 Bump minimist from 1.2.5 to 1.2.6 in /bundle
| * Bump minimist from 1.2.5 to 1.2.6 in /bundledependabot[bot]2022-03-301-4/+6
|/ | | | | | | | | | | | | 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>
* Bump minimist from 1.2.5 to 1.2.6 in /utildependabot[bot]2022-03-301-6/+6
| | | | | | | | | | | | | 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>
* Bump minimist from 1.2.5 to 1.2.6 in /cdndependabot[bot]2022-03-301-6/+6
| | | | | | | | | | | | | 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>
* Bump minimist from 1.2.5 to 1.2.6 in /gatewaydependabot[bot]2022-03-301-8/+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>
* 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 member.premium_since ISO8601 timestampminhducsun20022022-03-281-3/+3
|
* Make comments more accurate to use-caseLuna Alfien2022-03-271-0/+4
|
* Create fosscord-login.jsLuna Alfien2022-03-271-0/+8
|
* fix the conditionalErkin Alp Güney2022-03-231-1/+1
|
* A few channels on channelsErkin Alp Güney2022-03-231-12/+19
| | | | | - Added a field for retention policies (progress towards #164) - Allowed note to self channels - Added the UNHANDLED type
* 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.
* add the necessary types for server assisted selfbottingErkin Alp Güney2022-03-191-0/+2
|
* close issue #684Erkin Alp Güney2022-03-143-6/+6
|
* Update Rights.tsErkin Alp Güney2022-03-091-0/+2
|
* 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 pull request #675 from nobodylabs/fix/ban-listErkin Alp Güney2022-03-081-14/+25
|\ | | | | Fix(api): working ban list
| * Merge branch 'master' into fix/ban-listNobody2022-03-0810-21/+98
| |\
| * | fix(api): working ban listNobody2022-03-081-8/+23
| | | | | | | | | | | | We should never use await inside loops
* | | Change premium_since to bigintXenorio2022-03-081-2/+2
| |/ |/|
* | Temporary notes fixRealMANI2022-03-081-3/+3
| | | | | | | | Temporary fix for getting stuck on loading user note. //TODO
* | Changing Member.premium_since back from Date to number fixes an error in the ↵Madeline2022-03-081-1/+1
| | | | | | | | | | Discord electron client related to rendering premium status. (#669) Client throws "Invalid time value", so I'm guessing it's something to do with premium_since not being the date format they want ( allegedly ISO8601, but works with a plain number, so wtf )
* | refactor(Docker): add working docker scripts (#671)Nobody2022-03-082-10/+83
| |
* | fix(util): working invisible status typeNobody2022-03-082-2/+2
| |
* | 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
* | refactor(gateway): delete hardcoded guild boostsNobody2022-03-081-2/+0
| | | | | | | | Since you can set `premium_subscription_count` and `premium_tier` by editing the database (and it works fine), this should not be hardcoded.
* | 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
* Revert "Type change"RealMANI2022-03-081-1/+1
| | | | This reverts commit ec8d8e43c5de13c560c1c4038a24e2726601fe47.
* Type changeRealMANI2022-03-071-1/+1
| | | | | Changed type for column "content" to "longtext" (you might want to get a back up from your database before updating)
* 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-066-3824/+2598
| | | | Probably was api package.json still included node-fetch 3, but bundle still had v2
* Tsnode support (#580)Madeline2022-03-066-109/+317
| | | | | | | | | | | | | | | | | | | * ts-node support. debugging is slightly wonky as vscode will not allow breakpoints in modules that aren't bundle, yet. * apparently ts-node compilerOptions.path wasn't needed? on windows I could've sworn it was. * Cleaned up tsconfig.json a bit ( moved tsnode config to own file ). Fixed breakpoints for all modules under tsnode * Removed Microsoft Corp advert * Remove one more Microsoft Corp. ad Signed-off-by: Erkin Alp Güney <erkinalp9035@gmail.com> * Added `tsnode` npm script * Added `typescript-cached-transpile` package to help improve performance Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
* document which field is whichErkin Alp Güney2022-03-041-1/+4
|
* Initial work on public read receiptsErkin Alp Güney2022-03-041-0/+6
| | | Progress on #416
* Add nan to dependenciesXenorio2022-03-041-1/+2
| | | sqlite requires it, setup not going through without it, and manual install isn't working. does work when adding to dependencies tho.
* Merge pull request #656 from ↵Erkin Alp Güney2022-02-281-28/+6
|\ | | | | | | | | fosscord/dependabot/npm_and_yarn/bundle/url-parse-1.5.10 Bump url-parse from 1.5.7 to 1.5.10 in /bundle
| * Bump url-parse from 1.5.7 to 1.5.10 in /bundledependabot[bot]2022-02-281-28/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 #655 from ↵Erkin Alp Güney2022-02-281-6/+6
|\ \ | | | | | | | | | | | | fosscord/dependabot/npm_and_yarn/util/url-parse-1.5.10 Bump url-parse from 1.5.7 to 1.5.10 in /util
| * | Bump url-parse from 1.5.7 to 1.5.10 in /utildependabot[bot]2022-02-281-6/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | | | 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 #654 from ↵Erkin Alp Güney2022-02-281-12/+12
|\ \ | |/ |/| | | | | fosscord/dependabot/npm_and_yarn/gateway/url-parse-1.5.10 Bump url-parse from 1.5.7 to 1.5.10 in /gateway
| * Bump url-parse from 1.5.7 to 1.5.10 in /gatewaydependabot[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 #653 from ↵Erkin Alp Güney2022-02-281-12/+12
|\ | | | | | | | | fosscord/dependabot/npm_and_yarn/api/url-parse-1.5.10 Bump url-parse from 1.5.7 to 1.5.10 in /api
| * 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-252-7/+72
|\ | | | | Allow self-banning
| * Merge branch 'master' into origin/dev/erkinalp/self-bansErkin Alp Güney2022-02-044-775/+46
| |\
| * | 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
| | |
| * | attempt to fix self-bansErkin Alp Güney2022-02-040-0/+0
| | |
| * | attempt to fix self-bansErkin Alp Güney2022-02-042-939/+208
| | |
| * | 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 /bundledependabot[bot]2022-02-191-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Bump url-parse from 1.5.3 to 1.5.7 in /gatewaydependabot[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>
* | | Bump url-parse from 1.5.3 to 1.5.7 in /utildependabot[bot]2022-02-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | 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-184-1/+12
| | |
* | | 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-182-5/+13
| | | | | | | | | | | | the database
* | | Merge pull request #608 from Featyre/masterErkin Alp Güney2022-02-1623-65/+283
|\ \ \ | | | | | | | | Branding updates + Fixed Discovery and custom status + Dev portal
| * | | Return none for dev portal + todo for categoriesFeatyre2022-02-023-1/+11
| | | |
| * | | Fix primarycolum being assigned to nullable = trueFeatyre2022-02-021-1/+1
| | | |
| * | | make everything in categories nullableFeatyre2022-02-021-3/+3
| | | |
| * | | Merge branch 'fosscord:master' into masterFeatyre2022-02-012-7/+9
| |\| |
| * | | A few minor changesErkin Alp Güney2022-01-271-10/+9
| | | |
| * | | Dev portal + categories load dbFeatyre2022-01-2610-26/+89
| | | |
| * | | change lineFeatyre2022-01-251-1/+1
| | | |
| * | | Merge branch 'fosscord:master' into masterFeatyre2022-01-244-0/+48
| |\ \ \
| * \ \ \ Merge branch 'master' of https://github.com/Featyre/fosscord-serverFeatyre2022-01-241-1/+1
| |\ \ \ \
| | * \ \ \ Merge branch 'fosscord:master' into masterFeatyre2022-01-241-1/+1
| | |\ \ \ \
| * | | | | | Partnet + Discover fix and joinFeatyre2022-01-248-9/+105
| |/ / / / /
| * | | | | Prep for Category db workFeatyre2022-01-244-6/+4
| | | | | |
| * | | | | Merge branch 'fosscord:master' into masterFeatyre2022-01-245-165/+29
| |\ \ \ \ \
| * | | | | | category + discovery + custom status fix, new configFeatyre2022-01-2410-34/+39
| | | | | | |
| * | | | | | Merge branch 'fosscord:master' into masterFeatyre2022-01-244-334/+420
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'fosscord:master' into masterFeatyre2022-01-2312-490/+2861
| |\ \ \ \ \ \ \
| * | | | | | | | Partial integration of categories and discoveryFeatyre2022-01-2310-46/+96
| | | | | | | | |
| * | | | | | | | 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 follow-redirects from 1.14.6 to 1.14.8 in /cdn (#635)dependabot[bot]2022-02-151-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.6 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.8) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | | Bump vm2 from 3.9.5 to 3.9.7 in /bundle (#634)dependabot[bot]2022-02-151-220/+991
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | | | 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>
* | | | | | | | | Bump vm2 from 3.9.5 to 3.9.7 in /gateway (#632)dependabot[bot]2022-02-151-6/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | | | Bump vm2 from 3.9.5 to 3.9.7 in /util (#631)dependabot[bot]2022-02-151-14/+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>
* | | | | | | | | Added a few extensionsErkin Alp Güney2022-02-121-5/+23
| | | | | | | | |
* | | | | | | | | Appropriate DB charset (#629)RealMANI2022-02-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | causes bugs like turning emojis to "????"
* | | | | | | | | Manually lock node to >15Erkin Alp Güney2022-02-101-0/+1
| | | | | | | | |
* | | | | | | | | Add more rights (#541)Erkin Alp Güney2022-02-101-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Erkin Alp Güney <erkinalp9035@gmail.com> * Added the backfilling-related rights * Added kick/ban rights * Added the presence right * Guild directory * Interactions rights
* | | | | | | | | [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.
* | | | | | | | | [Fix] Column "groups" contains null-values (#622)ImAaronFR2022-02-081-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Bump simple-get from 3.1.0 to 3.1.1 in /util (#620)dependabot[bot]2022-02-041-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/feross/simple-get/releases) - [Commits](https://github.com/feross/simple-get/compare/v3.1.0...v3.1.1) --- updated-dependencies: - dependency-name: simple-get dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | automated security fixes applied (#619)Erkin Alp Güney2022-02-042-1718/+241
| | | | | | | |
* | | | | | | | Merge pull request #616 from MaddyUnderStars/noNullsInMessageFetchErkin Alp Güney2022-02-041-0/+7
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | Improve compatibly with some clients ( discord.js )
| * | | | | | | Remove nulled properties from GET `/channels/#id/messages` for improved ↵Madeline2022-02-041-0/+7
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | compatibility with some client ( discord.js )
* | | | | | | Merge pull request #612 from ImAaronFR/patch-3Erkin Alp Güney2022-01-311-5/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Update index.html
| * | | | | | | Update index.htmlImAaronFR2022-01-311-5/+5
|/ / / / / / / | | | | | | | | | | | | | | Compatible client version with Role Icons
* | | | | | | Merge pull request #555 from unknownPerson115/patch-1Erkin Alp Güney2022-01-241-2/+4
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | Fixed potential guild message SQL constraints
| * | | | | | Fixed potential guild message SQL constraintsunknownPerson1152021-12-231-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i have tied member dependencies to the author id rather than the member id to avoid a dependency cycle and you can now kick/ban someone from a guild/server and the messages will remain in the guild (just like discord) as stated in issue #441 I have also tested this code seems clean so far (new pull request opened because of branch commit issues)
* | | | | | | Add dummy endpoints to prevent client loading some settings panels indefinitelyTheArcaneBrony2022-01-244-0/+48
| |_|_|_|_|/ |/| | | | |
* | | | | | Speed up setup by not installing optional packages (#605)TheArcaneBrony2022-01-241-1/+1
| |_|_|_|/ |/| | | | | | | | | Only downside is no db engines are included by default, removing compile time for packages like sqlite3.
* | | | | Merge pull request #606 from MaddyUnderStars/hotfix/node-fetchKuna2022-01-248-171/+35
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | revert dependabot PRs that update node-fetch to v3Madeline2022-01-248-171/+35
|/ / / /
* | | | * Replaced list of invisible characters with unicode codepointsMadeline2022-01-232-62/+65
| | | | | | | | | | | | | | | | | | | | * No longer silently edit invalid channel names * No longer trim channel names in unnamed check
* | | | channel.owner_id is type string not numberMadeline2022-01-231-1/+1
| | | |
* | | | Add unhandled channel types to IsTextChannel methodMadeline2022-01-231-2/+6
| | | |
* | | | Apply suggestions from code reviewMadeline2022-01-231-2/+4
| | | | | | | | | | | | Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
* | | | Update Channel.tsErkin Alp Güney2022-01-231-4/+7
| | | |
* | | | Added `ILLEGAL_CHANNEL_NAMES` and `NULL_CHANNEL_NAMES` guild feature flagsMadeline2022-01-233-332/+406
| |_|/ |/| |
* | | 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.5 to 2.6.7 in /bundledependabot[bot]2022-01-232-15/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.5 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.5...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.6 to 2.6.7 in /cdndependabot[bot]2022-01-232-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 2.6.7 in /utildependabot[bot]2022-01-232-66/+359
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.2 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.2...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 /gatewaydependabot[bot]2022-01-232-313/+1698
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | 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
| |
* | Add erlpack warning (#587)TheArcaneBrony2022-01-131-1/+3
| | | | | | | | | | * Add warning if erlpack is missing Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
* | Fix typo in commit 277b28cMadeline2022-01-131-1/+1
| |
* | update defaultsErkin Alp Güney2022-01-121-7/+7
| |
* | Fix the feature checkErkin Alp Güney2022-01-121-0/+2
| |
* | Update Guild.tsErkin Alp Güney2022-01-121-0/+1
| |
* | Add cross channel repliesErkin Alp Güney2022-01-121-2/+4
| | | | | | Resolves #533
* | Schema change for group specific emojisErkin Alp Güney2022-01-121-1/+4
| |
* | Use the boomerang logoErkin Alp Güney2022-01-111-1/+1
| |
* | Merge pull request #582 from ced777ric/empty_message_fixChris Chrome2022-01-111-1/+1
|\ \ | | | | | | fix the message endpoint always returning Empty message error
| * | 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>
* | Update role-icons.tsErkin Alp Güney2022-01-091-2/+1
| |
* | Correct the invite responseThesourtimes2022-01-061-1/+1
| |
* | Add Role Icons (#574)Chris Chrome2022-01-056-3/+124
| | | | | | | | | | | | | | | | | | * 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-049-23/+67
| |
* | Incrementing user discriminatorsDaniel Huber2022-01-042-16/+35
| | | | | | | | Closes #328
* | Fix schemas handlerThesourtimes2022-01-011-1/+1
| |
* | Correct the formatKuna2022-01-011-8/+9
| |
* | Merge pull request #569 from Thesourtimes/masterKuna2022-01-0116-12/+25
|\ \
| * | add a relase templateThesourtimes2022-01-011-0/+11
| | |
| * | Organize @fosscord/api utils in directoriesThesourtimes2022-01-0115-12/+14
|/ /
* | Fix game statussesTheArcaneBrony2021-12-311-6/+4
| | | | | | Timestamps isn't an array.
* | 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-2622-13861/+7011
|\ \ | | | | | | Remove fs-extras, add Sentry support, fix compile errors, fix some typos
| * | Add env name in sentry, set default sentry endpointThe Arcane Brony2021-12-269-70176/+38596
| | |
| * | Restore package locksThe Arcane Brony2021-12-268-2/+123920
| | |
| * | Replace nanocolors with picocolorsThe Arcane Brony2021-12-2510-11/+14
| | |
| * | Add Sentry, fix compile errorsThe Arcane Brony2021-12-229-10/+56
| | |
| * | Improve build scripts, strip more fs-extrasThe Arcane Brony2021-12-213-6/+9
| | |
| * | Repo cleanup, remove fs-extrasThe Arcane Brony2021-12-2115-99383/+143
| |/
* | Fix the casingErkin Alp Güney2021-12-261-1/+1
| | | | | | Co-authored-by: TheArcaneBrony<myrainbowdash949@gmail.com>
* | Merge pull request #560 from ImAaronFR/patch-1Erkin Alp Güney2021-12-261-1/+1
|\ \ | | | | | | Fixed mistype
| * | Fixed mistypeImAaronFR2021-12-261-1/+1
|/ / | | | | Pre-relase ----> Pre-Release
* | Initial implementation of the remote server shutdown routeErkin Alp Güney2021-12-262-0/+33
|\ \
| * | 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
| * | Updated Server.tsunknownPerson1152021-12-251-0/+8
|/ / | | | | Added what to do if 'SIGTERM' is sent to the server for the `/stop` API route
* | Merge pull request #556 from Thesourtimes/masterKuna2021-12-241-3/+15
|\ \ | | | | | | (Finally) make a temporary fix for IP leak
| * | Comment about the hotfixKuna2021-12-241-0/+2
| | |