Commit Graph

215 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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]
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
Alec LaLonde
f6668d9f71 Persist personality type immediately rather than when saving player type 2021-02-18 20:55:47 -07:00
Pacien Boisson
3d84b35ec1 Revert react-timezone-select version (#353) 2021-02-17 18:51:08 +04:00
Pacien Boisson
682e0177d7 merge dependabot (#352)
* Bump react-timezone-select from 0.9.8 to 0.10.7

Bumps [react-timezone-select](https://github.com/ndom91/react-timezone-select) from 0.9.8 to 0.10.7.
- [Release notes](https://github.com/ndom91/react-timezone-select/releases)
- [Commits](https://github.com/ndom91/react-timezone-select/commits/v0.10.7)

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

* Bump @babel/core from 7.12.1 to 7.12.16

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.1 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-core)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-17 17:49:55 +04:00
The Lone Rōnin
6d6d75e6e4 Cross Browser Gradient for App Drawer (#294)
* Cross Browser Compatibility for Gradient with new hover animation

* [MyMeta] Use responsive units on the header and footer (#305)

* fixing menu drawer to display on Chromium

* switching footer layout to responsive units

* build failing b/c player is undefined

* refactoring bottom nav to use fewer explicit sizes

* fixed link issues and removed box from focused menu items ala.

* `Error serializing `.guild` returned from `getStaticProps` in "/guild/[guildname]"`

* codegen was removed, but some references linger

* switching profile options to icons to save space

* simplifying & making links clickable

* accidentally duplicated a parameter

* adding Chakra icons to web app

* removing version smudge from icons lib

* simplifying clumsy ternary statement

* lint cares that imports are in alphabetical order

* switching drawer images to next.js component (re: #294)

* satiating the linter

* moving BoxedNextImage to deign-system

* Fix server side rendering issues with backdrop filter

* boxing next.js images

* these only look broken in Chrome's mobile emulator 🍄

* making the serialization fix precisely correct 🎷

Co-authored-by: Will Holcomb <dys@dhappy.org>
Co-authored-by: Pacien Boisson <pakokrew@gmail.com>
2021-02-16 11:20:41 +04:00