summary refs log tree commit diff
path: root/api/scripts/generate_schema.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-08Changing Member.premium_since back from Date to number fixes an error in the ↵Madeline1-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 )
2022-03-08refactor(Docker): add working docker scripts (#671)Nobody2-10/+83
2022-03-08fix(util): working invisible status typeNobody2-2/+2
2022-03-08fix(api): working invisible status typeNobody2-3/+3
2022-03-08fix(api): don't send @everyone in route responseNobody1-1/+4
The response of `PATCH /guilds/{guild.id}/members/{user.id}` should not include "@everyone" role
2022-03-08fix(api): prevent @everyone role duplicationNobody1-1/+1
If user already has @everyone role, then don't push it to the array
2022-03-08fix(api): always add @everyone in user's rolesNobody1-0/+3
When you add or delete an user's role, you MUST always add "@everyone" role to the roles map
2022-03-08refactor(gateway): delete hardcoded guild boostsNobody1-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.
2022-03-08Fix bans list (#674)RealMANI1-8/+12
* Fix bans list - Bans list should load properly now * Updated Removed await Removed unnecessary foreach * Update ban.ts await
2022-03-08Revert "Type change"RealMANI1-1/+1
This reverts commit de8b83f7b9bf9f418b49c4221bec35417de219d8.
2022-03-07Type changeRealMANI1-1/+1
Changed type for column "content" to "longtext" (you might want to get a back up from your database before updating)
2022-03-06Check usernameRealMANI1-6/+8
2022-03-06[Fix] Changing bio and accent colorRealMANI1-1/+1
2022-03-06Fixed npm run tsnode throwing error about ES modules for node-fetch. ↵Madeline6-3824/+2598
Probably was api package.json still included node-fetch 3, but bundle still had v2
2022-03-06Tsnode support (#580)Madeline6-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>
2022-03-04document which field is whichErkin Alp Güney1-1/+4
2022-03-04Initial work on public read receiptsErkin Alp Güney1-0/+6
Progress on #416
2022-03-04Add nan to dependenciesXenorio1-1/+2
sqlite requires it, setup not going through without it, and manual install isn't working. does work when adding to dependencies tho.
2022-02-28Bump url-parse from 1.5.7 to 1.5.10 in /bundledependabot[bot]1-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>
2022-02-28Bump url-parse from 1.5.7 to 1.5.10 in /utildependabot[bot]1-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>
2022-02-28Bump url-parse from 1.5.7 to 1.5.10 in /gatewaydependabot[bot]1-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>
2022-02-28Bump url-parse from 1.5.7 to 1.5.10 in /apidependabot[bot]1-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>
2022-02-20[Fix] Profile & banner uploadingRealMANI1-1/+1
Related to this issue https://github.com/fosscord/fosscord-server/pull/639#issuecomment-1046140968
2022-02-19Bump url-parse from 1.5.3 to 1.5.7 in /bundledependabot[bot]1-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>
2022-02-19Bump url-parse from 1.5.3 to 1.5.7 in /gatewaydependabot[bot]1-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>
2022-02-19Bump url-parse from 1.5.3 to 1.5.7 in /utildependabot[bot]1-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>
2022-02-19Bump url-parse from 1.5.3 to 1.5.7 in /apidependabot[bot]1-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>
2022-02-18changed user.premium_since to also load from the database.Iratu4-1/+12
2022-02-18Forgot the openapi.json change.Iratu1-1/+2
2022-02-18Fix for Premium Since to show the 'Guild Boost' and store it correctl