Commit Graph

348 Commits

Author SHA1 Message Date
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
Alec LaLonde
ca5cb638b8 Make username params lowercase to match those in the database 2021-03-04 14:49:28 -07:00
dependabot[bot]
ebf190da12 Bump @storybook/addon-actions from 5.3.21 to 6.1.20 (#374)
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 5.3.21 to 6.1.20.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.1.20/addons/actions)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 22:34:53 +01:00
dependabot[bot]
864a22a52e Bump @types/styled-components from 5.1.4 to 5.1.7 (#372)
Bumps [@types/styled-components](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/styled-components) from 5.1.4 to 5.1.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/styled-components)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 22:34:20 +01:00
dependabot[bot]
7f799a476a Bump react-select from 3.1.0 to 4.1.0 (#371)
Bumps [react-select](https://github.com/JedWatson/react-select) from 3.1.0 to 4.1.0.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@3.1.0...react-select@4.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 22:33:52 +01:00
dependabot[bot]
d48aefb73d Bump typescript from 4.1.3 to 4.2.2 (#369)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.2.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 22:31:58 +01:00
dependabot[bot]
a6b0395bb0 Bump web3modal from 1.9.2 to 1.9.3 (#367)
Bumps [web3modal](https://github.com/web3modal/web3modal) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/web3modal/web3modal/releases)
- [Commits](https://github.com/web3modal/web3modal/compare/1.9.2...1.9.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 22:31:27 +01:00
dan13ram
a997dd8bbe added token balance from seed-graph (#380) 2021-03-05 00:03:46 +05:30
dan13ram
32af86e51c fixed seed price & login button not showing on mobile (#379) 2021-03-02 20:47:00 +05:30
dan13ram
965be2782a setup brightId verified labels (#361)
* setup basic brightId hook

* updated brightId logo

* polling brightId status & refreshing

* incorporated review comments
2021-03-02 17:50:13 +05:30
dan13ram
b0ab6f1e2d updated backend for brightId (#362)
* updated backend for brightId

* updated schema

* removed unwanted console logs

* made brightId context constant
2021-03-01 12:06:52 +05:30
Alec LaLonde
c7111fe3fd Changed update player username graphql mutation 2021-02-26 16:07:47 -07:00
Alec LaLonde
e4c56d0cc5 little cleanup 2021-02-25 11:29:22 -07:00
Alec LaLonde
c6d669e725 Modified setupOptions data structure to be more straightforward, consolidated step logic 2021-02-25 11:29:22 -07:00
Alec LaLonde
bf1a93418e Added separate pages for each step in the setup flow 2021-02-25 11:29:22 -07:00
Pacien Boisson
d094e1c4ba Quest create handlers (#340)
* create quest handler

* Updating action schema and removing backend-only insert permissions

* Better handle auth bearer token

* Basic tests for creating quests

* Check if player has > 100 pSEED to allow creating a quest

* move quests actions into its own router

* create quest completion

* updateCompletion handler

* update types

* Improving handler input types

* Improve types and logic

* Removing types file and using autogenerated ones

* Reject other submissions when accepting a unique quest completion

* Fix linting errors

* Fix CreateQuestCompletionInput maybe

* error messages

* Puttin pSEED contractnaddress in config file

Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
2021-02-22 12:58:31 +04:00
Alec LaLonde
03b5c413a4 Added test for gold rank 2021-02-19 15:59:30 -07:00
Alec LaLonde
00339464c9 Added rank helpers for computing rank, hooked up to account migrator, with bonus tests 2021-02-19 15:59:30 -07:00
Pacien Boisson
ba4807f62c update schema.graphql 2021-02-18 21:00:43 -07:00