Commit Graph

18 Commits

Author SHA1 Message Date
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