35 Commits

Author SHA1 Message Date
dysbulic
85028dd6ad disabled yarn PnP 🥏 2024-08-13 19:04:31 -04:00
dysbulic
0f7b70cfcf trying to upgrade yarn b/c yarn classic was crapping out 🪇 2024-08-13 19:04:31 -04:00
Alec LaLonde
a12d7234b3 Implemented proper persistence w/ verification of a user's ceramic profile node 2023-08-09 09:44:10 -06:00
δυς
9e37df6207 Update MyMeta to ECMAScript Modules + Switch to DID:PKH (#1429)
* beginning ESM transition: Ceramic libraries, Next.js, & TypeScript configuration 🇭🇰

* updating Chakra, React, & Next image `import`s 👔

* upgrading `@types/react`, import extensions for Node, & b64 SVG to PNG ⛹🏿‍♀️

* fixing relative import names & upddating @types packages 📻

* removoing WYSIWYG editor, draft-js, & updating express ⛹🏿‍♀️

* updating OpenSea 🚲

* ¡@metafam/utils is building! 📰

* ¡Discord bot is building! 👘

* ¡backend is building! 🛩

* fixed everything but Ceramic DID update 🏍

* switching to DID:PKH 📦

* fixing "only one child allowed" error 🙇🏿‍♀️

* importing `React` as required by tsc's `isolatedModules` 🇲🇰

* disabling testing rather than taking the time to fix jest ⚜

* removing set `types` from `tsconfig` to fix compilation error 🥦

* printing tests disabled warning, hopefully 🙀

* setting file to be copied to the new resolver 👁️‍🗨️

* "paths-resolver" not "paths-resolve" 🦴

* switching back to relative paths rather than trying to fix `paths` 

* `yarn backend:dev` not working, testing GitHub build 🎺

* removing design system build & fixing some images ✊🏿

* fixed "expected function got string" error & trying to address undefined HTMLElement 🐡

* fixing @emotion/react tree shaking by making external 🏏

* including eslint config in Dockerfile 🌾

* fixing more images 🎯

* updating DIDs & switching back to an updated DID:3 ❇

* switching to w3s.link gateway & fixing early termination of storage endpoint 🔭

* switching back to ipfs.io gateway b/c w3s.link serves SVGs as application/xml which are CORB blocked 🥾

* fixing node config name in eslint ignore & shortening some paths 🧰

* fixing ts-node not handling project references 🥁
2022-11-14 11:26:41 -05:00
Alec LaLonde
2e30413e41 Fixed guild member sync 2022-04-25 20:17:05 -06:00
Alec LaLonde
b69aa39669 Upgraded docker-compose-wait and bumped the wait timeout to 60 (#826) 2021-09-17 12:58:22 +02:00
Alec LaLonde
30dbc737a8 Added guild_metadata table to hold admin-only guild information 2021-08-26 10:10:01 -06:00
Alec LaLonde
66db937c82 Cleaned up env variables, extracted to env-groups 2021-05-20 15:38:05 -06:00
Alec LaLonde
1283669a5e Fixed docker build 2021-05-06 13:07:32 -06:00
Alec LaLonde
fbb70e54a8 Added Dockerfile for discord-bot 2021-05-06 13:07:32 -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
Pacien Boisson
b5ee57abc9 squash backend changes (#438) 2021-03-26 11:23:59 +04:00
Alec LaLonde
5d1aff854f Removed --include-dependencies on backend:dev command 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
Will Holcomb
e59618d319 codegen was removed, but some references linger 2021-02-01 20:52:28 -07:00
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
dan13ram
d5844dd8db Skills Selector (#124)
* skills map in context

* using react-select

* removed sudo from package.json

* fixed lint and format issues
2020-09-29 21:21:13 -06:00
Hammad Jutt
1aa05b850b Expose DB Ports for IDEs 2020-08-26 02:30:58 -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
475ec3f4a3 Use BACKEND_HOST environment variable in WAIT_HOSTS for docker-compose.yml
This allows running the backend locally (not in docker) without Hasura waiting forever
2020-08-21 10:57:31 -06:00
Hammad Jutt
4c2bb981cf Update backend Dockerfile to include codegen 2020-08-16 20:23:05 -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
Hammad Jutt
18adfa46d2 Reformat all existing code 2020-07-13 11:11:04 -06:00
Hammad Jutt
26c9bfa134 Cleanup / simplify package.json scripts and names 2020-07-13 11:06:24 -06:00
Hammad Jutt
5de1a5eba5 Simplify Render config 2020-07-12 11:41:52 -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
063c8f91db Setup deployment config for Render 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
Hammad Jutt
d76fb891f1 Allow overriding HASURA_GRAPHQL_ENABLE_CONSOLE 2020-07-06 01:55:27 -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
214f3f65c2 3box profiles (#9)
* Fix auth

* Added 3box profile info

* Added player names in list

* Added hasura action to fetch verified accounts on 3Box

* Added usernames

* fix router
2020-05-13 02:02:21 -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
Pacien Boisson
c684b9d836 Base architecture (#1)
* Hasura and base models

* Added role public SELECT permissions

* Added role player UPDATE permissions

* basic backend api

* Added SELECT permissions for player

* Update backend to typescript

* init app-react

* Add apollo

* graphql-codegen not working well...

* Added web3 to web app

* connecting frontend with web3

* Auth webhook verifies eth signature

* Update frontend to fetch player_id
2020-04-16 10:20:15 +02:00