Commit Graph

525 Commits

Author SHA1 Message Date
Hammad Jutt
bf06cd4c13 Use environment variable for SourceCred ledger branch
This prevents people from accidentally mesing up the master ledger in local / staging environments.
2021-06-14 12:11:45 +05:30
Matthew Cantelon
04a4ca53d6 feat: least surprise in failures
This change covers two possible failures:

* a developer requesting a chain that hasn't been configured
* network failures on subgraphs

If a developer forgets to add to the client map, this will throw an
error instead of defaulting to ethereum results. This helps the
developer make changes correctly.

If a network failure occurs or a developer makes a mistake, the entire
membership structure is not affected via `Promise.allSettled`. This avoids
confusing errors for users.
2021-06-14 12:11:45 +05:30
Matthew Cantelon
8cfd347a48 fix: create clients once
Suggestion from @dan13ram on  PR to cache the clients and avoid
recreating on every request.
2021-06-14 12:11:45 +05:30
Matthew Cantelon
62d37b0ea8 fix: set a default DAO title 2021-06-14 12:11:45 +05:30
Matthew Cantelon
0b3b254cc0 feat: add polygon and xdai chains when pulling DAO membership
This uses two new subgraphs to pull DAO memberships for Ethereum, xDai,
and Polygon mainnets. The pulls are in parallel. The underlying data is
structured the same way but seems to be missing some information, see
https://github.com/HausDAO/daohaus-supergraph/issues/44
2021-06-14 12:11:45 +05:30
Hammad Jutt
c6b659c756 Setup action to nightly merge master into develop 2021-06-14 12:11:45 +05:30
Vyvy-vi
d6b72153e6 chore: rebase and squash
feat: meta tags for player pages

feat: meta tags for quest pages

feat: meta tags for patrons page

fix: typos, extra tags

feat: HeadComponent for metadata

feat: HeadComponent in pages

Implements the HeadComponent from components/Seo.tsx to take props and render the relevant meta tags in the pages

fix: type-cast to string

fix: string for playersDescriptionmeta

fix: optional chaining player meta data

fix: text consistency and typo-fixes

fix: use player helpers for meta

feat: meta tags for guilds route

feat: meta tags for player pages

feat: meta tags for quest pages

feat: meta tags for patrons page

feat: HeadComponent in pages

Implements the HeadComponent from components/Seo.tsx to take props and render the relevant meta tags in the pages

fix: type-cast to string

fix: import Head in _app
2021-06-14 12:11:45 +05:30
Luxumbra
430f6328e2 Feature/550 personality type styles (#628)
* Gradients, colours & Icons added as per Figma

* forgot to remove `SVG` from the ds import

* formatting improvements

* Added in the correct colour value for courage
removed the quotes and added correct font (mono) for the type title

* Tweak to the white type to be moar white.

* responses to feedback from @dysbulic
2021-06-14 12:11:45 +05:30
dependabot[bot]
6a4be366c4 Bump fake-tag from 2.0.0 to 3.0.0 (#631)
Bumps [fake-tag](https://github.com/jaydenseric/fake-tag) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/jaydenseric/fake-tag/releases)
- [Changelog](https://github.com/jaydenseric/fake-tag/blob/master/changelog.md)
- [Commits](https://github.com/jaydenseric/fake-tag/compare/v2.0.0...v3.0.0)

---
updated-dependencies:
- dependency-name: fake-tag
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
Luxumbra
5655a3f384 Fixes #357 (#630)
- Icons show on mobile devices and we have text links for desktop.
- Also tweaked the size and spacing of the icons.
- Line 81 overrides the default button (link variant) hover style which is inconsistent with the default link style.
2021-06-14 12:11:45 +05:30
Mano
e7086753b7 ga analytics merge to develop (#633)
* added analytics

* added analytics snippet

* Reworked GA addition implementation

Co-authored-by: Alec LaLonde <alec@convergencelabs.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
882e181a64 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
6525aa650b 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
ad174b2111 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
0984f0d91d 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
548bb9de00 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>
2021-06-14 12:11:45 +05:30
Hammad Jutt
ae53fcb828 Use staging backend host for staging Hasura instance 2021-06-14 12:11:45 +05:30
dependabot[bot]
7c51249f86 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
bd3ab1a856 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
905c293a65 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
4d21beebb2 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
1cfb8e27c2 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
4bebe78fad 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>
2021-06-14 12:11:45 +05:30
Hammad Jutt
8bee6f8d4f Update migrateSourceCredAccounts scripts to use Eth address as source of truth 2021-06-14 12:11:45 +05:30
dependabot[bot]
2994aca8e8 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
8e5cc79045 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>
2021-06-14 12:11:45 +05:30
dependabot[bot]
f50ecf4bf1 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>
2021-06-14 12:11:45 +05:30
Alec LaLonde
8d04470ed4 Merge develop into master (#629)
* 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>

* Added contribution guide

* Added weekly builder call

* allow aggregations in player table

* Optimize memory usage for migrateSourceCredAccounts handler

* Make ethereum_address a non-nullable field in Player table

Also deletes users who dont have an ETH address set, will only have players that sign up for MyMeta available

* Use Ethereum address as username when inserting new players

* Fixed bad merge

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
Co-authored-by: dan13ram <dan13ram@gmail.com>
2021-06-07 00:40:36 +05:30
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
Alec LaLonde
d76c92ab48 Move backend services to top as hasura depends on it 2021-05-20 16:08:23 -06:00
Alec LaLonde
7233e9c8a0 Removed preview environments, added duplicate staging services 2021-05-20 15:38:05 -06:00
Alec LaLonde
66db937c82 Cleaned up env variables, extracted to env-groups 2021-05-20 15:38:05 -06:00
dan13ram
c2e3782d28 added filters for /players page (#566)
* player filters for type and skills

* fetching multiple players in parallel

* removed tile fragment

* search by username or address

* better spacing

* availability filter

* timezone filter

* passing tests in ds

* submit form in search bar

* added better labels for timezone

* fixed test issue

* searching only if search >= 2 char

* meta select ds

* updated metabutton bg color

* parallel for > 50 only

* fix reset search filter
2021-05-19 20:49:06 +05:30
Alec LaLonde
cc8326361e Made xp weekly change more readable (#569) 2021-05-19 15:19:51 +05:30
Hammad Jutt
51f82e6e2c Ignore d.ts files in discord bot glob 2021-05-18 11:31:43 -06:00
Alec LaLonde
f653d0879e Added an env var to specify which types of files are loaded 2021-05-18 11:31:43 -06:00
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
dependabot[bot]
2e081fd913 Bump @urql/exchange-retry from 0.2.0 to 0.2.1 (#557)
Bumps [@urql/exchange-retry](https://github.com/FormidableLabs/urql/tree/HEAD/exchanges/retry) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/FormidableLabs/urql/releases)
- [Changelog](https://github.com/FormidableLabs/urql/blob/main/exchanges/retry/CHANGELOG.md)
- [Commits](https://github.com/FormidableLabs/urql/commits/@urql/exchange-retry@0.2.1/exchanges/retry)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 21:16:19 +05:30
dependabot[bot]
c12564fb3f Bump @types/react-dom from 17.0.4 to 17.0.5 (#558)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.4 to 17.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 20:50:31 +05:30
dependabot[bot]
ceee24e4da Bump @babel/core from 7.14.0 to 7.14.2 (#561)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.0 to 7.14.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.2/packages/babel-core)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 20:49:12 +05:30
dependabot[bot]
a466446519 Bump dotenv from 9.0.1 to 9.0.2 (#559)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v9.0.1...v9.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 20:44:55 +05:30
dependabot[bot]
f4649734da Bump framer-motion from 4.1.15 to 4.1.16 (#565)
Bumps [framer-motion](https://github.com/framer/motion) from 4.1.15 to 4.1.16.
- [Release notes](https://github.com/framer/motion/releases)
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v4.1.15...v4.1.16)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 20:44:04 +05:30
dependabot[bot]
0b278e1dc7 Bump @types/node from 15.0.2 to 15.3.0 (#562)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.0.2 to 15.3.0.
- [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>
2021-05-17 20:43:36 +05:30
Hammad Jutt
97575b4c0b Dont run discord-bot when running backend:dev 2021-05-15 14:00:44 -06:00
Hammad Jutt
a512b0ac76 Finalize setEthAddress command 2021-05-15 14:00:44 -06:00
dan13ram
0d6f01d3a2 updated github actions to debug hasura 2021-05-13 14:46:23 -06:00
dan13ram
925919bc81 simplified queries for player/guild pages 2021-05-13 14:46:23 -06:00
Michiel Quellhorst
496b8e0dcd fixed 404 on guild detail page request (#529)
* fixed 404 on guild detail page request

* changes due to naming conventions
2021-05-12 20:30:49 +05:30
dan13ram
b523088356 reverted urql to v2.0.2 2021-05-12 07:48:20 -06:00
dan13ram
eaf2f39fb1 added retries to urql 2021-05-12 07:48:20 -06:00