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
Hammad Jutt
0dabebbe04
Add case in SC migration script where user doesnt already have a SC identityID ( #296 )
2021-01-21 20:05:49 -07:00
Hammad Jutt
83417aba16
Add step to remove duplicate players in migrateSourceCredAccounts handler ( #280 )
...
Some accounts in SourceCred get merged after they had already been added in the database (e.g. merging
a discord and discourse identity) which causes conflicts in the database when we try to set an
ETH address for the new merged account that conflicts with the old unmerged account.
2021-01-17 22:23:56 -07:00
dependabot[bot]
f7ab809dbc
Bump ts-node-dev from 1.0.0-pre.62 to 1.1.1 ( #252 )
...
Bumps [ts-node-dev](https://github.com/whitecolor/ts-node-dev ) from 1.0.0-pre.62 to 1.1.1.
- [Release notes](https://github.com/whitecolor/ts-node-dev/releases )
- [Changelog](https://github.com/whitecolor/ts-node-dev/blob/master/CHANGELOG.md )
- [Commits](https://github.com/whitecolor/ts-node-dev/commits/v1.1.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 20:05:20 -07:00
Alec LaLonde
cf2c1438ca
Fixed migration handler ( #274 )
2021-01-14 19:39:26 -07:00
Alec LaLonde
5534ff1a45
Renamed player columns to be consistent snake_case ( #262 )
2021-01-06 22:08:58 -07:00
Alec LaLonde
c4a2b38484
Renamed table names to be consistent snake_case ( #255 )
2021-01-04 23:18:29 -07:00
dependabot[bot]
153654def8
Bump sourcecred from 0.7.0-beta-14 to 0.7.4 ( #226 )
...
Bumps [sourcecred](https://github.com/sourcecred/sourcecred ) from 0.7.0-beta-14 to 0.7.4.
- [Release notes](https://github.com/sourcecred/sourcecred/releases )
- [Changelog](https://github.com/sourcecred/sourcecred/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sourcecred/sourcecred/compare/v0.7.0-beta-14...v0.7.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-17 00:21:21 +05:30
dan13ram
566be91206
updated backend to read 3box collectiblesFavorite ( #221 )
...
* updated backend to read 3box collectiblesFavorite
* removed unneccesary '?'
2020-12-16 07:12:58 +05:30
Hammad Jutt
1c7dbe8dab
Setup Image Optimization ( #146 )
...
* Implement user auth on web
* Setup Image Optimization
* Add favicon
* Add IMGIX_TOKEN to render.yaml
2020-10-12 10:56:55 -06:00
Hammad Jutt
e6ab0cfe78
Fix schema types in migrate script ( #143 )
2020-10-09 23:50:19 -06:00
Hammad Jutt
13d5967f92
Improve 3Box profile data ( #142 )
2020-10-09 23:49:58 -06:00
Hammad Jutt
de71feadde
Update backend to use enum tables + fix migration trigger ( #141 )
...
* Setup prettier-ignore and add more instructions on running backend
* Dont throw error when updating verified accounts
* Migrate account-type to use tables instead of native enum
* Migrate enneagram_type to use table instead of native enum
* Update schema and front end for new enum tables
* Fix type errors
2020-10-09 22:16:15 -06:00
Hammad Jutt
ab8782cf28
Fix handler for SourceCred migration ( #108 )
...
Was breaking before due to unique key conflicts because sourceCredIdentity IDs have potential to change around.
2020-09-06 18:59:48 -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
13ab1eef2f
Setup Trigger to fetch verified accounts from 3box when ETH address gets updated or user gets inserted
2020-08-21 23:04:26 -06:00
Hammad Jutt
caca26b1ce
Add Remote Schema for DAOHaus / Moloch Dao memberships
...
Uses the ethereum address of a specific player to fetch the Moloch DAOs that player is a member of
2020-08-21 10:57:31 -06:00
Hammad Jutt
d0b581d308
Fix getBoxProfile resolver for players with no ETH address
2020-08-17 01:40:03 -06:00
Hammad Jutt
e39aa189e3
Implement Player Ranks
2020-08-16 01:52:20 -06:00
Hammad Jutt
c27c77eb74
Setup handler to migrate SC ledger accounts to Database Players
2020-08-16 01:45:27 -06:00
Hammad Jutt
bcb69ad307
Simplify type defs for backend config.ts ( #69 )
2020-08-15 14:04:10 -06:00
Hammad Jutt
7e0e42a2ff
Generate Typesafe SDK for Hasura in Backend ( #68 )
2020-08-15 02:26:29 -06:00
Hammad Jutt
dbe4f046d8
Update dependencies and fix updateBoxProfile handler.ts
2020-08-05 01:45:56 -06:00
Hammad Jutt
d26150e90d
Reformat files and update yarn.lock
2020-08-04 21:09:51 -06:00
Hammad Jutt
d0662178f3
Setup codegen for backend resolvers and improve 3Box types
2020-08-04 21:09:51 -06:00
Pacien Boisson
790a0cc78c
using a remote schema instead of an action for getBoxProfile
2020-08-04 21:09:51 -06:00
Pacien Boisson
a60aa62a94
add ethereumAddress to getBoxProfile
2020-08-04 21:09:51 -06:00
Pacien Boisson
2212579662
get3BoxProfile handler
2020-08-04 21:09:51 -06:00
Hammad Jutt
c2b8ad307e
Refromat files and fix config
2020-08-04 20:29:08 -06:00
Pacien Boisson
84a76ad2fe
Correct authentication webhook and frontend with ethereum_address in Player
2020-08-04 20:29:08 -06:00
Pacien Boisson
9cdfa26a78
lint
2020-08-04 20:29:08 -06:00
Pacien Boisson
7b3b6c2f82
Add ethereum_address to Player model in order to get the box profile
2020-08-04 20:29:08 -06:00
Pacien Boisson
6e0f0c9b66
using a remote schema instead of an action for getBoxProfile
2020-08-04 20:29:08 -06:00
Pacien Boisson
af728ac53d
add ethereumAddress to getBoxProfile
2020-08-04 20:29:08 -06:00
Pacien Boisson
8c4df7e547
get3BoxProfile handler
2020-08-04 20:29:08 -06:00
Hammad Jutt
85f3e59ceb
Consolidate more package.json entries into root package.json
2020-07-27 12:23:29 -06:00
Hammad Jutt
25d89a52d6
Fallback to restore previous node_modules cache in github action
2020-07-27 12:23:29 -06:00
Hammad Jutt
71c70ac4f0
Centralize more of eslint config, gitignore, and tsconfig
2020-07-27 12:23:29 -06:00
Pacien Boisson
08a4b90d95
Update models ( #33 )
...
* Remove unused models
* add new props into Player model
* Added props to Guild
* Setting guild type as a foreign-key reference
* Use foreign table for skills
* Seed data
* prettier
2020-07-27 10:08:48 +02:00
Hammad Jutt
c273196658
Cleanup Monorepo Build and packaging
2020-07-24 10:01:25 -06:00
Hammad Jutt
cf3c3f7474
Reformat code
2020-07-13 11:19:48 -06:00