Nobody and Erkin Alp Güney
0bb00e044b
fix(api): don't send @everyone in route response
...
The response of `PATCH /guilds/{guild.id}/members/{user.id}` should not include "@everyone" role
2022-03-08 18:07:28 +03:00
Nobody and Erkin Alp Güney
b20746bd17
fix(api): prevent @everyone role duplication
...
If user already has @everyone role, then don't push it to the array
2022-03-08 18:07:28 +03:00
Nobody and Erkin Alp Güney
4a617faf02
fix(api): always add @everyone in user's roles
...
When you add or delete an user's role, you MUST always add "@everyone" role to the roles map
2022-03-08 18:07:28 +03:00
Nobody and Erkin Alp Güney
22467f2596
refactor(gateway): delete hardcoded guild boosts
...
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-08 18:05:41 +03:00
RealMANI and GitHub
c097fce841
Fix bans list ( #674 )
...
* Fix bans list
- Bans list should load properly now
* Updated
Removed await
Removed unnecessary foreach
* Update ban.ts
await
2022-03-08 18:05:19 +03:00
RealMANI and TheArcaneBrony
39a3eee45d
Revert "Type change"
...
This reverts commit de8b83f7b9 .
2022-03-08 06:42:21 +01:00
RealMANI and Erkin Alp Güney
de8b83f7b9
Type change
...
Changed type for column "content" to "longtext"
(you might want to get a back up from your database before updating)
2022-03-07 22:25:28 +03:00
RealMANI and Erkin Alp Güney
fa750de6fb
Check username
2022-03-06 12:18:58 +03:00
RealMANI and Erkin Alp Güney
b51e687793
[Fix] Changing bio and accent color
2022-03-06 12:18:58 +03:00
Madeline and Erkin Alp Güney
4ede702657
Fixed npm run tsnode throwing error about ES modules for node-fetch. Probably was api package.json still included node-fetch 3, but bundle still had v2
2022-03-06 10:52:19 +03:00
68f6fe58d5
Tsnode support ( #580 )
...
* 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-06 09:18:35 +03:00
Erkin Alp Güney and GitHub
57fc690457
document which field is which
2022-03-04 22:12:24 +03:00
Erkin Alp Güney and GitHub
7cce144eab
Initial work on public read receipts
...
Progress on #416
2022-03-04 22:00:59 +03:00
Xenorio and Erkin Alp Güney
70e0bd2003
Add nan to dependencies
...
sqlite requires it, setup not going through without it, and manual install isn't working. does work when adding to dependencies tho.
2022-03-04 09:15:07 +03:00
Erkin Alp Güney and GitHub
867b1979c4
Merge pull request #656 from fosscord/dependabot/npm_and_yarn/bundle/url-parse-1.5.10
...
Bump url-parse from 1.5.7 to 1.5.10 in /bundle
2022-02-28 07:55:42 +03:00
dependabot[bot] and GitHub
2c8bdf26e4
Bump url-parse from 1.5.7 to 1.5.10 in /bundle
...
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-28 04:55:22 +00:00
Erkin Alp Güney and GitHub
2d721ec101
Merge pull request #655 from fosscord/dependabot/npm_and_yarn/util/url-parse-1.5.10
...
Bump url-parse from 1.5.7 to 1.5.10 in /util
2022-02-28 07:55:21 +03:00
Erkin Alp Güney and GitHub
910eeb04a8
Merge pull request #654 from fosscord/dependabot/npm_and_yarn/gateway/url-parse-1.5.10
...
Bump url-parse from 1.5.7 to 1.5.10 in /gateway
2022-02-28 07:55:02 +03:00
dependabot[bot] and GitHub
b5872513ce
Bump url-parse from 1.5.7 to 1.5.10 in /util
...
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-28 04:54:37 +00:00
dependabot[bot] and GitHub
a737f4f2e3
Bump url-parse from 1.5.7 to 1.5.10 in /gateway
...
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-28 04:54:32 +00:00
Erkin Alp Güney and GitHub
969d52a2bc
Merge pull request #653 from fosscord/dependabot/npm_and_yarn/api/url-parse-1.5.10
...
Bump url-parse from 1.5.7 to 1.5.10 in /api
2022-02-28 07:53:49 +03:00
dependabot[bot] and GitHub
867896fe7e
Bump url-parse from 1.5.7 to 1.5.10 in /api
...
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-28 04:27:08 +00:00
Erkin Alp Güney and GitHub
d5a37aadce
Merge pull request #621 from fosscord/origin/dev/erkinalp/self-bans
...
Allow self-banning
2022-02-25 18:13:59 +03:00
RealMANI and Erkin Alp Güney
397085878e
[Fix] Profile & banner uploading
...
Related to this issue https://github.com/fosscord/fosscord-server/pull/639#issuecomment-1046140968
2022-02-20 08:10:50 +03:00
dependabot[bot] and Erkin Alp Güney
a5af14eddb
Bump url-parse from 1.5.3 to 1.5.7 in /bundle
...
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-19 10:56:51 +03:00
dependabot[bot] and Erkin Alp Güney
8d16d5d30f
Bump url-parse from 1.5.3 to 1.5.7 in /gateway
...
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-19 10:56:33 +03:00
dependabot[bot] and Erkin Alp Güney
baa7e306df
Bump url-parse from 1.5.3 to 1.5.7 in /util
...
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-19 10:55:53 +03:00
dependabot[bot] and Erkin Alp Güney
22a7d3647b
Bump url-parse from 1.5.3 to 1.5.7 in /api
...
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-19 10:55:34 +03:00
Iratu and Erkin Alp Güney
46f77f8e38
changed user.premium_since to also load from the database.
2022-02-18 19:50:11 +03:00
Iratu and Erkin Alp Güney
3352f3b75a
Forgot the openapi.json change.
2022-02-18 19:50:11 +03:00
Iratu and Erkin Alp Güney
58d58928ec
Fix for Premium Since to show the 'Guild Boost' and store it correctly in the database
2022-02-18 19:50:11 +03:00
Erkin Alp Güney and GitHub
8ed310e0d3
Merge pull request #608 from Featyre/master
...
Branding updates + Fixed Discovery and custom status + Dev portal
2022-02-16 21:16:20 +03:00
RealMANI and Erkin Alp Güney
dcf9c436ed
Typo
2022-02-16 10:46:08 +03:00
RealMANI and Erkin Alp Güney
4825cbb4a7
Mutual Friends
...
Added mutual friends
2022-02-16 10:46:08 +03:00
RealMANI and GitHub
5a215b1af7
Mutual Guilds ( #637 )
2022-02-16 10:45:54 +03:00
RealMANI and GitHub
4eae64b91a
[Fix] Invisible space username ( #639 )
...
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
2022-02-16 10:45:37 +03:00
9b522055b9
Bump follow-redirects from 1.14.6 to 1.14.8 in /cdn ( #635 )
...
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>
2022-02-15 08:04:23 +03:00
ff30109f9b
Bump vm2 from 3.9.5 to 3.9.7 in /bundle ( #634 )
...
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>
2022-02-15 08:02:19 +03:00
a864acdeaa
Bump vm2 from 3.9.5 to 3.9.7 in /api ( #633 )
...
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>
2022-02-15 08:02:08 +03:00
44c4b6eb86
Bump vm2 from 3.9.5 to 3.9.7 in /gateway ( #632 )
...
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>
2022-02-15 08:01:55 +03:00
4d9ee5220e
Bump vm2 from 3.9.5 to 3.9.7 in /util ( #631 )
...
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>
2022-02-15 08:01:41 +03:00
Erkin Alp Güney and GitHub
79cc9badfc
Added a few extensions
2022-02-12 19:53:40 +03:00
RealMANI and GitHub
c38d147a91
Appropriate DB charset ( #629 )
...
causes bugs like turning emojis to "????"
2022-02-11 08:13:46 +03:00
Erkin Alp Güney and GitHub
1ea553ccdd
Manually lock node to >15
2022-02-10 23:43:49 +03:00
Erkin Alp Güney and GitHub
3e0d2db0cb
Add more rights ( #541 )
...
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
2022-02-10 21:14:48 +03:00
ImAaronFR and GitHub
27f6589008
[Fix] Trying to remove a null element ( #625 )
...
Fix for: Uncaught TypeError: document.querySelector(...) is null
2022-02-10 07:56:48 +03:00
ImAaronFR and GitHub
385bdfdff4
[Fix] Client bug ( #623 )
...
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.
2022-02-09 09:22:27 +03:00
ImAaronFR and GitHub
896d3672f4
[Fix] Column "groups" contains null-values ( #622 )
2022-02-08 08:14:07 +03:00
Erkin Alp Güney and GitHub
340c0d7899
Merge branch 'master' into origin/dev/erkinalp/self-bans
2022-02-04 23:43:31 +03:00
Erkin Alp Güney
e73d1954b8
pretend self-bans don't exist in the views too
2022-02-04 23:36:42 +03:00