Commit Graph

26 Commits

Author SHA1 Message Date
vidvidvid
65810855e6 chore: bump ethers 5.4.3 -> 5.5.3 2022-02-01 11:29:22 -07:00
vidvidvid
22ecd3bb18 chore: bump js-base64 3.6.1 -> 3.7.2 2022-02-01 11:29:22 -07: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
dan13ram
ea3db28b66 fixed LinkOverlay issues 2021-08-25 08:56:33 -06:00
dependabot[bot]
9cf6d910d5 Bump ethers from 5.3.0 to 5.4.1
Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers) from 5.3.0 to 5.4.1.
- [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.4.1/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>
2021-07-07 07:47:46 +05:30
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
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
5209dc14cf Migrated existing xp command functionality 2021-05-06 13:07:32 -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
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
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
dependabot[bot]
e76a5fd586 Bump uuid from 8.3.1 to 8.3.2 (#334)
Bumps [uuid](https://github.com/uuidjs/uuid) from 8.3.1 to 8.3.2.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v8.3.1...v8.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 11:17:47 +04: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
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
dependabot[bot]
4892fef72f Bump js-base64 from 2.6.4 to 3.5.2 (#116)
Bumps [js-base64](https://github.com/dankogai/js-base64) from 2.6.4 to 3.5.2.
- [Release notes](https://github.com/dankogai/js-base64/releases)
- [Commits](https://github.com/dankogai/js-base64/compare/2.6.4...3.5.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 11:23:57 +02:00
Hammad Jutt
6ee27a3695 Fix backend build and add graphql codegen watch to web:dev 2020-08-17 15:05:17 -06:00
Hammad Jutt
a11d4fea21 Use new TS build system for ds and utils 2020-07-29 14:36:41 -06:00
Hammad Jutt
c273196658 Cleanup Monorepo Build and packaging 2020-07-24 10:01:25 -06:00
Hammad Jutt
26c9bfa134 Cleanup / simplify package.json scripts and names 2020-07-13 11:06:24 -06:00
Hammad Jutt
209f5df23d Centralize typescript package to root package.json 2020-07-13 11:06:24 -06:00
Hammad Jutt
c063c3c41a Setup explicit ports to prevent broken deployment on Render
https://github.com/hasura/graphql-engine/issues/3904
2020-07-12 11:41:52 -06:00
Hammad Jutt
5cfd7d88dd Setup multistage build to allow running backend server in dev mode so we dont have to run it outside Docker
This will automatically restart the backend server in docker anytime there are changes to the original
source files instead of copying over when running in dev mode. In production, it will still do the
normal copy/build.
2020-07-06 01:55:44 -06:00
Pacien Boisson
d7713f983b Finish docker/lerna (#13)
* Fix console output with lerna for backend

* fix app start command

* Hasura waits that databse is up

* Update readme
2020-06-26 18:22:37 -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