vvvvvv1vvvvvv
b9834ab077
Fix Param Order For personal_sign ( #1185 )
2022-03-08 02:21:32 -05:00
Alec LaLonde
936a63d411
Start using daohaus metadata when populating DAO information
2022-02-19 11:23:03 -07:00
W.J. “dysbulic” H
f24b22c3da
having eslint ignore a console.error call 🎑
2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
9acc0443d9
clearing auth token on address change 🍡
2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
f225de93c8
debugging authentication process ⛺
2022-02-16 20:17:48 +05:30
δυς
81883f940e
Miscellaneous changes pulled from #1078 ( #1115 )
...
#1078 is at about 4,000 lines changed and includes both code implementing features and unrelated functional and stylistic changes. This set of changes is about ⅓ of the total and should be largely independent.
These changes include:
* have Dependabot ignore `patch` version changes
* switch the cache invalidation Hasura action to asynchronous
* add a uniqueness constraint on the combination of player and skill ids
* print a comprehensible error message in the db seeding script on network errors
* add a mutex on the account creation process & allow it to happen only once *(subsequent runs were failing b/c of the uniqueness constraint on the ETH address & returning `null` (closes #1098 ))
* adds some more profile editing related types
* renames `HighLow7dType` to `HighLowType`
* refactors the `ColorBar` component to include links to a color explanation
* replaces `fake-tag`'s `gql` string identifier with the dependency-free `/* GraphQL */`
* rename `lib/hooks/useUserXp.ts` to `useUserXP.ts`
* fixed some typings to remove `any`s
* bumped some library versions & fixed the version numbers of some others
2022-02-08 06:01:06 -05:00
Michiel Quellhorst
d36ea1b761
rank up notification ( #1077 )
...
* rank up notification
When a player ranks up a message will be send to the props channel.
* added congrats
* tag player
* small changes after feedback
2022-01-26 21:43:03 +01:00
δυς
f5295c3242
Reading and Writing Profile Info From Ceramic ( #943 )
...
This is being merged for further testing so as to not block the progress of `develop` & not require more rebases.
2022-01-25 16:51:53 -05:00
vidvidvid
eeca6e0d46
chore: upgrade eslint and fix all errors
2021-11-30 14:54:49 -07:00
Cali93
a6f85fc84f
WIP: ceramic login
2021-10-29 21:16:28 -06:00
Alec LaLonde
957f641b79
Implemented discord role manager trigger
2021-09-10 11:25:58 -06:00
Alec LaLonde
dcdd58d4e0
Implemented state check in discord auth, added twitter/github URLs to guild form
2021-09-02 15:34:33 -06:00
Hammad Jutt
142aa8a9a3
Allow users to force-update their linked ETH address
...
Removed sc_identity_id from Player table because it enforces ETH addresses to be used as the single source of truth for users and prevents conflicts when users update their ETH address in the ledger. sc_identity_id is not needing anywhere in our backend / data model.
2021-07-05 21:44:14 -06:00
Hammad Jutt
8a6054f70e
Release develop branch to prod ( #598 )
...
* Bump next from 10.2.0 to 10.2.2 (#574 )
Bumps [next](https://github.com/vercel/next.js ) from 10.2.0 to 10.2.2.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v10.2.0...v10.2.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @chakra-ui/react from 1.6.1 to 1.6.2 (#580 )
Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases )
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/react@1.6.1...@chakra-ui/react@1.6.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/node from 15.3.0 to 15.3.1 (#577 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 15.3.0 to 15.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update migrateSourceCredAccounts scripts to use Eth address as source of truth
* Add githubApiToken to backend config
* Bump ethers from 5.1.4 to 5.2.0 (#589 )
Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers ) from 5.1.4 to 5.2.0.
- [Release notes](https://github.com/ethers-io/ethers.js/releases )
- [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ethers-io/ethers.js/commits/v5.2.0/packages/ethers )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @typeit/discord from 4.0.9 to 4.0.10 (#585 )
Bumps [@typeit/discord](https://github.com/OwenCalvin/discord.ts ) from 4.0.9 to 4.0.10.
- [Release notes](https://github.com/OwenCalvin/discord.ts/releases )
- [Changelog](https://github.com/OwenCalvin/discord.ts/blob/master/CHANGELOG.md )
- [Commits](https://github.com/OwenCalvin/discord.ts/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump js-base64 from 3.6.0 to 3.6.1 (#590 )
Bumps [js-base64](https://github.com/dankogai/js-base64 ) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/dankogai/js-base64/releases )
- [Commits](https://github.com/dankogai/js-base64/compare/3.6.0...3.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/node from 15.3.1 to 15.6.1 (#594 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 15.3.1 to 15.6.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump next-transpile-modules from 7.0.0 to 7.2.0 (#584 )
Bumps [next-transpile-modules](https://github.com/martpie/next-transpile-modules ) from 7.0.0 to 7.2.0.
- [Release notes](https://github.com/martpie/next-transpile-modules/releases )
- [Commits](https://github.com/martpie/next-transpile-modules/compare/7.0.0...7.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/react from 17.0.5 to 17.0.6 (#576 )
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 17.0.5 to 17.0.6.
- [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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Use staging backend host for staging Hasura instance
* github actions for develop branch
* Add github secret to staging-backend env
* Fix token config in render.yaml
Matches whats configured in Render dashboard
* Bump next from 10.2.2 to 10.2.3 (#612 )
Bumps [next](https://github.com/vercel/next.js ) from 10.2.2 to 10.2.3.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v10.2.2...v10.2.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump typescript from 4.2.4 to 4.3.2 (#611 )
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ethers from 5.2.0 to 5.3.0 (#616 )
Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/ethers-io/ethers.js/releases )
- [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ethers-io/ethers.js/commits/v5.3.0/packages/ethers )
---
updated-dependencies:
- dependency-name: ethers
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @chakra-ui/react from 1.6.2 to 1.6.3 (#621 )
Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui ) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases )
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/react@1.6.2...@chakra-ui/react@1.6.3 )
---
updated-dependencies:
- dependency-name: "@chakra-ui/react"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump sourcecred from 0.8.7 to 0.9.0 (#623 )
Bumps [sourcecred](https://github.com/sourcecred/sourcecred ) from 0.8.7 to 0.9.0.
- [Release notes](https://github.com/sourcecred/sourcecred/releases )
- [Commits](https://github.com/sourcecred/sourcecred/compare/sourcecred-v0.8.7...sourcecred-v0.9.0 )
---
updated-dependencies:
- dependency-name: sourcecred
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dan13ram <dan13ram@gmail.com >
2021-06-02 18:26:14 +05:30
Alec LaLonde
66db937c82
Cleaned up env variables, extracted to env-groups
2021-05-20 15:38:05 -06:00
dependabot[bot]
b845e7d162
Bump eslint-plugin-import from 2.22.1 to 2.23.2 ( #560 )
...
* Bump eslint-plugin-import from 2.22.1 to 2.23.2
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.22.1 to 2.23.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases )
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.2 )
Signed-off-by: dependabot[bot] <support@github.com >
* fixed eslint-plugin-import update
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dan13ram <dan13ram@gmail.com >
2021-05-17 23:12:47 +05:30
Alec LaLonde
d29619056f
Added another SC constant
2021-05-06 13:07:32 -06:00
Alec LaLonde
0b6e4aedde
Changed to load XP using accounts.json as beore
2021-05-06 13:07:32 -06:00
Alec LaLonde
5209dc14cf
Migrated existing xp command functionality
2021-05-06 13:07:32 -06:00
Alec LaLonde
f3c73c9d2a
Linter fixes
2021-05-01 23:50:28 -06:00
dan13ram
8517a26048
Upgrade dependencies ( #486 )
...
* upgraded storybook dependencies
* upgraded web dependencies
* updated timezone selector
* upgrade chakra in metamaps
* upgraded react-dnd in metamaps
* upgraded framer-motion
* fixed types in metamaps
* upgraded eslint
* upgraded lerna, husky and graphql
* upgraded node version
* removed metamaps package
* fixed all eslint issues
* ran yarn format to prettier format all files
* updated lint-staged & husky scripts
* add executable perms to pre-push scripts
* updated yarn.lock
* fixed eslint and moved chakra icons to ds
* fixed emotion errors
* removed extra useContext
* update yarn.lock
* upgraded more packages
* removed unnecessary .huskyrc.json
* lint fix
2021-05-01 12:46:48 +05:30
dan13ram
96f40d90a0
moved rankHelpers to utils
2021-04-30 23:00:01 -06:00
Alec LaLonde
c7eee3c4df
Fixed guild discord_invite_url reference, persist guild icon url from discord
2021-04-21 10:07:34 -06:00
Alec LaLonde
6e3fe89744
Changed oauth handler to use a web URL that calls the backend to exchange the given code
2021-04-21 10:07:34 -06:00
Alec LaLonde
612ed1ee32
Added persistence of pending guilds from discord
2021-04-21 10:07:34 -06:00
Alec LaLonde
ea7ec1d677
Started discord oauth implementation
2021-04-21 10:07:34 -06:00
Will Holcomb
308304455c
addin' comments to silence eslint 🍤
2021-03-26 21:26:58 -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
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
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
Hammad Jutt
91b94c48fe
Implement User Auth on Web ( #145 )
...
* Create "me" view for logged in user
* Implement user auth on web
* Fix type errors
* Setup static regeneration
* Disable next export
* Address PR feedback
2020-10-11 11:33:16 -06:00
Hammad Jutt
e8f1a1628d
Update TS, setup SourceCred SDK, and add helpers to utils ( #107 )
...
* Update TS version and setup SourceCred API in backend
* Fix typeError in Player.tsx
* Update yarn.lock
* Update yarn.lock and fix type errors
2020-09-06 18:50:22 -06:00
Hammad Jutt
18adfa46d2
Reformat all existing code
2020-07-13 11:11:04 -06:00
Pacien Boisson
899335594a
[WIP] Fix docker with lerna ( #8 )
...
* trying to fix Backend docker image with lerna
* fix dockerfile CMD
* Fix Dockerfile build
* Fix 3box types
Co-authored-by: Hammad Jutt <jutt@ualberta.ca >
2020-06-08 00:49:39 -06:00
Pacien Boisson
7747ff69d0
Architecture update ( #7 )
...
* Fix errors with profile_rank ENUM
* Upgrade to Hasura 1.2.1
* Rename Profile to Account
* Common JS package
* rm app-react/lib/did
* Better login management
2020-05-08 21:54:00 +02:00