dependabot[bot]
4ecc868150
Bump concurrently from 6.0.2 to 6.1.0 ( #526 )
...
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently ) from 6.0.2 to 6.1.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases )
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v6.0.2...v6.1.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 16:52:07 +05:30
dependabot[bot]
bf344a6999
Bump @types/bluebird from 3.5.33 to 3.5.34 ( #528 )
...
Bumps [@types/bluebird](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/bluebird ) from 3.5.33 to 3.5.34.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/bluebird )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 16:46:02 +05:30
Alec LaLonde
d29619056f
Added another SC constant
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
fbb70e54a8
Added Dockerfile for discord-bot
2021-05-06 13:07:32 -06:00
Hammad Jutt
53bebc015d
Implement activation of identities and persisting ledger
2021-05-06 13:07:32 -06:00
Hammad Jutt
e7fe11f83d
use sourcecred-publish-test for latest SC features
2021-05-06 13:07:32 -06:00
Alec LaLonde
0d11de2543
Load accounts.json in migration handler again
2021-05-06 11:27:31 -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
09de71dd00
Ensure temporary guild names are unique
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
Alec LaLonde
8614a8a59b
Upgraded sourcecred to 0.8.4, read cred graph using new sc API
2021-04-21 09:33:33 -06:00
Alec LaLonde
14317bda46
Handle both 'Bearer ' and 'Bearer' auth headers properly
2021-04-20 15:45:30 -06:00
Alec LaLonde
961d53ec79
Fixed webhook auth for public requests
2021-04-20 15:45:30 -06:00
Alec LaLonde
aa53b42512
Fixed typing issue in trigger
2021-03-26 21:51:07 -06:00
Will Holcomb
308304455c
addin' comments to silence eslint 🍤
2021-03-26 21:26:58 -06:00
Alec LaLonde
264cd692fc
Added migration to populate metafam discord_id, using that in updateDiscordRole action
2021-03-26 21:17:15 -06:00
Alec LaLonde
09be2b26eb
Fixed lint errors
2021-03-26 21:17:15 -06:00
Alec LaLonde
0d2c40dc08
Tweaked update discord role action to be more robust
2021-03-26 21:17:15 -06:00
Alec LaLonde
04503aff17
Added migration for metafam rank discord role IDs
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
647fe8e550
Tweaked sourcecred migrator to use new player.discord_id column
2021-03-26 21:17:15 -06:00
Pacien Boisson
b5ee57abc9
squash backend changes ( #438 )
2021-03-26 11:23:59 +04: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
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
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
a997dd8bbe
added token balance from seed-graph ( #380 )
2021-03-05 00:03:46 +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
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
Hammad Jutt
12ba9dc315
Discord Bot MVP
2021-02-06 13:13:00 -07:00
Hammad Jutt
15a90e7b56
Move schema.graphql to root of project and delete codegen package
...
central codegen package no longer needed since its being generated in each package separately as needed
2021-01-29 13:06:51 -07:00
Hammad Jutt
51089ae49e
Use exact versions in package.json files
...
Since Dependabot is updating packages for us, we should only use exact version numbers to be explicit
for what version we are on and reduce chances of having incorrect versions installed
2021-01-29 13:04:49 -07:00
dependabot[bot]
a6df998042
Bump graphql-tools from 6.2.4 to 7.0.2 ( #260 )
...
Bumps [graphql-tools](https://github.com/ardatan/graphql-tools ) from 6.2.4 to 7.0.2.
- [Release notes](https://github.com/ardatan/graphql-tools/releases )
- [Commits](https://github.com/ardatan/graphql-tools/compare/graphql-tools@6.2.4...graphql-tools@7.0.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-28 17:12:37 -07:00