Commit Graph

366 Commits

Author SHA1 Message Date
Alec LaLonde
04503aff17 Added migration for metafam rank discord role IDs 2021-03-26 21:17:15 -06:00
Alec LaLonde
d7cd91de8e Added discord_metadata column to guild, moved inviteUrl there 2021-03-26 21:17:15 -06:00
Alec LaLonde
50f2307002 Stubbed out oauth callback handler 2021-03-26 21:17:15 -06:00
Alec LaLonde
b959e664f1 Added permissions for new guild columns 2021-03-26 21:17:15 -06:00
Alec LaLonde
f9e1b14631 Added status to guild table 2021-03-26 21:17:15 -06:00
Alec LaLonde
ca98e8539a Added down migration for metafam/discord account 2021-03-26 21:17:15 -06:00
Alec LaLonde
647fe8e550 Tweaked sourcecred migrator to use new player.discord_id column 2021-03-26 21:17:15 -06:00
Alec LaLonde
aceb4113ca Added migration to move discord_id fields to guild and player 2021-03-26 21:17:15 -06:00
Pacien Boisson
b5ee57abc9 squash backend changes (#438) 2021-03-26 11:23:59 +04:00
Will Holcomb
6fa522d872 Deploy frontend through render.yaml (#421)
* addin' frontend to render.yaml 🐂

* settin' node version 🐀

* tweakin' build step 🐾

* alt specification of graphql endpoint 🦡

* no interpolation in render.yaml 🌮

* tryin' static specification 🧁

* printin' URI 🖨

* pushin' just to see the value 🚡

* printin' the right value 💅

* debuggin' hasura 🐜

* tryin' to capture port 🚢

* tryin' w/o port 🌅

* redeployin' altered render.yaml 🥦

* resettin' yarn.lock 🔒

* fixin' name preface so it is passed 🏀
2021-03-25 12:01:37 -06:00
dan13ram
f03109e214 set next button as loading until next page loads (#418) 2021-03-22 15:34:18 +05:30
Alec LaLonde
6661e3e0b5 Spin up services for the web build to point to 2021-03-20 19:20:18 -06:00
Pacien Boisson
a02d864c9e Support connection from smart wallets (#416)
* Support connection from smart wallets

* Fix unreachable code
2021-03-16 17:42:07 +04:00
Pacien Boisson
8c99b5df50 Merge dependencies (#415)
* Bump @chakra-ui/icons from 1.0.3 to 1.0.6

Bumps [@chakra-ui/icons](https://github.com/chakra-ui/chakra-ui) from 1.0.3 to 1.0.6.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases)
- [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/icons@1.0.3...@chakra-ui/icons@1.0.6)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump tsdx from 0.13.3 to 0.14.1

Bumps [tsdx](https://github.com/formium/tsdx) from 0.13.3 to 0.14.1.
- [Release notes](https://github.com/formium/tsdx/releases)
- [Commits](https://github.com/formium/tsdx/compare/v0.13.3...v0.14.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @types/react from 16.9.52 to 17.0.3

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.52 to 17.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump express-graphql from 0.11.0 to 0.12.0

Bumps [express-graphql](https://github.com/graphql/express-graphql) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/graphql/express-graphql/releases)
- [Commits](https://github.com/graphql/express-graphql/compare/v0.11.0...v0.12.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-simple-import-sort from 5.0.3 to 7.0.0

Bumps [eslint-plugin-simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort) from 5.0.3 to 7.0.0.
- [Release notes](https://github.com/lydell/eslint-plugin-simple-import-sort/releases)
- [Changelog](https://github.com/lydell/eslint-plugin-simple-import-sort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lydell/eslint-plugin-simple-import-sort/compare/v5.0.3...v7.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-jsx-a11y from 6.3.1 to 6.4.1

Bumps [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) from 6.3.1 to 6.4.1.
- [Release notes](https://github.com/evcohen/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evcohen/eslint-plugin-jsx-a11y/compare/v6.3.1...v6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-jest from 24.1.3 to 24.3.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.3 to 24.3.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.3...v24.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-import-resolver-typescript from 2.2.1 to 2.4.0

Bumps [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) from 2.2.1 to 2.4.0.
- [Release notes](https://github.com/alexgorbatchev/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/alexgorbatchev/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.2.1...v2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-config-airbnb-typescript from 9.0.0 to 12.3.1

Bumps [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript) from 9.0.0 to 12.3.1.
- [Release notes](https://github.com/iamturns/eslint-config-airbnb-typescript/releases)
- [Changelog](https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/iamturns/eslint-config-airbnb-typescript/compare/v9.0.0...v12.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Fix eslint imports

* Fix tslint

* lint!

* lint

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 14:45:28 +04:00
dan13ram
c276f6a057 [MyMeta] Patrons leaderboard (#395)
* added seed-graph as a new remote schema

* removed unwanted remote schema and added a query

* updated seed-balances remote schema logic

* patron leaderboard

* refactored player skills & memberships components

* removed unnecessary key in tile components

* removed getTokenBalance folder

* reduced number for calls for fetching patrons

* updated logic to use the new backend query

* made patron tiles shorter
2021-03-16 11:11:43 +05:30
Pacien Boisson
0e3cc277f7 Fix mobile connect (#360)
* Tweak login flow

* Add connecting state and fix signing

* Fix URQL cache when switching account

* Lint
2021-03-15 21:16:47 +04:00
dan13ram
ba35ff0cb7 added seed-graph as a new remote schema (#410)
* added seed-graph as a new remote schema

* removed unwanted remote schema and added a query
2021-03-15 16:48:49 +05:30
dan13ram
1c6e19b6a7 fixed constraints 2021-03-12 22:12:23 -07:00
dan13ram
7827a216c7 Revert "Revert ethereum address lowercase (#407)"
This reverts commit 2f4987f491.
2021-03-12 22:12:23 -07:00
dan13ram
2f4987f491 Revert ethereum address lowercase (#407)
* Revert "add if not null check to ethereum address (#406)"

This reverts commit c6364bd4f6.

* Revert "make ethereum_address lowercase in backend (#405)"

This reverts commit 3cee60e30d.
2021-03-12 21:33:50 +05:30
dan13ram
c6364bd4f6 add if not null check to ethereum address (#406) 2021-03-12 20:09:33 +05:30
dan13ram
3cee60e30d make ethereum_address lowercase in backend (#405) 2021-03-12 18:41:47 +05:30
dan13ram
bac9f7fa92 [MyMeta] updated seed-balances remote schema logic (#399)
* updated seed-balances remote schema logic

* updated schema

* added plurality to variable names

* fixed schema
2021-03-11 18:45:27 +05:30
dan13ram
2f3b57f94a fixed daohaus shares bug (#400) 2021-03-11 18:06:19 +05:30
Alec LaLonde
d0d558dc33 Added missing guild INSERT script, discord env placeholder 2021-03-10 07:55:45 -07:00
Alec LaLonde
62a8406740 Added DISCORD_BOT_TOKEN 2021-03-09 16:15:52 -07:00
Alec LaLonde
ccd0cf8a37 Revert "Revert "Redirect to the proper player page URL when appropriate""
This reverts commit 3775db64c1.
2021-03-09 11:52:01 -07:00
Alec LaLonde
ee964c4633 Revert "Revert "Removed client-side username regex so as not to duplicate the server-side one""
This reverts commit 3ef18b4b92.
2021-03-09 11:52:01 -07:00
Alec LaLonde
5eb8850849 Revert "Revert "Added player username regex check constraint""
This reverts commit 3447ac8026.
2021-03-09 11:52:01 -07:00
Alec LaLonde
3547afa8a2 Revert "Revert "Allow case-insensitive player username lookups""
This reverts commit 4d8dc211aa.
2021-03-09 11:52:01 -07:00
Alec LaLonde
b501a2be87 Revert "Revert "Add username lowercase mutation""
This reverts commit 76e963473c.
2021-03-09 11:52:01 -07:00
Alec LaLonde
b117899695 Revert "Revert "Make username params lowercase to match those in the database""
This reverts commit 04d967d64b.
2021-03-09 11:52:01 -07:00
Alec LaLonde
5d1aff854f Removed --include-dependencies on backend:dev command 2021-03-09 10:54:23 -07:00
Alec LaLonde
24765d030a Added createDiscordClient to discord-bot, changed backend to use it 2021-03-09 10:54:23 -07:00
Alec LaLonde
8a1ea6418e Implemented fetching discord roles, adding / deleting per user 2021-03-09 10:54:23 -07:00
Alec LaLonde
4567c981b0 Added GetGuild graphql query 2021-03-09 10:54:23 -07:00
Alec LaLonde
7003f50dbb Call discord REST API directly from backend instead 2021-03-09 10:54:23 -07:00
Alec LaLonde
4f020fe0c3 Added trigger for player.rank update 2021-03-09 10:54:23 -07:00
dan13ram
4d59ac3f1b moved brightId verified tag to contacts (#388)
* moved brightId verified tag to contacts

* empty commit
2021-03-08 20:17:57 +05:30
Alec LaLonde
04d967d64b Revert "Make username params lowercase to match those in the database"
This reverts commit ca5cb638b8.
2021-03-04 16:47:38 -07:00
Alec LaLonde
76e963473c Revert "Add username lowercase mutation"
This reverts commit 18d52cf5bf.
2021-03-04 16:47:38 -07:00
Alec LaLonde
4d8dc211aa Revert "Allow case-insensitive player username lookups"
This reverts commit e1c5322421.
2021-03-04 16:47:38 -07:00
Alec LaLonde
3447ac8026 Revert "Added player username regex check constraint"
This reverts commit c21562203b.
2021-03-04 16:47:38 -07:00
Alec LaLonde
3ef18b4b92 Revert "Removed client-side username regex so as not to duplicate the server-side one"
This reverts commit 3e249faf93.
2021-03-04 16:47:38 -07:00
Alec LaLonde
3775db64c1 Revert "Redirect to the proper player page URL when appropriate"
This reverts commit 20b5035987.
2021-03-04 16:47:38 -07:00
Alec LaLonde
20b5035987 Redirect to the proper player page URL when appropriate 2021-03-04 14:49:28 -07:00
Alec LaLonde
3e249faf93 Removed client-side username regex so as not to duplicate the server-side one 2021-03-04 14:49:28 -07:00
Alec LaLonde
c21562203b Added player username regex check constraint 2021-03-04 14:49:28 -07:00
Alec LaLonde
e1c5322421 Allow case-insensitive player username lookups 2021-03-04 14:49:28 -07:00
Alec LaLonde
18d52cf5bf Add username lowercase mutation 2021-03-04 14:49:28 -07:00