Will Holcomb
6c9ae80f3a
fixing various typescript and dependency issues 🧷
2021-10-29 21:16:28 -06:00
Alec LaLonde
957f641b79
Implemented discord role manager trigger
2021-09-10 11:25:58 -06:00
Alec LaLonde
1783a34dfb
Cleaned up some config, error handling
2021-08-26 10:10:01 -06:00
Alec LaLonde
c080e196af
Fixed oauth handler / guild insert
2021-08-26 10:10:01 -06:00
Alec LaLonde
86bd86ba34
Added saveGuildInformation action
2021-08-26 10:10:01 -06:00
Alec LaLonde
30dbc737a8
Added guild_metadata table to hold admin-only guild information
2021-08-26 10:10:01 -06: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
3cfaa8f083
Use environment variable for SourceCred ledger branch
...
This prevents people from accidentally mesing up the master ledger in local / staging environments.
2021-06-13 23:57:34 -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
Alec LaLonde
66db937c82
Cleaned up env variables, extracted to env-groups
2021-05-20 15:38:05 -06:00
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]
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
Hammad Jutt
a512b0ac76
Finalize setEthAddress command
2021-05-15 14:00:44 -06:00
dependabot[bot]
6fcd544df0
Bump dotenv from 8.2.0 to 9.0.1 ( #520 )
...
Bumps [dotenv](https://github.com/motdotla/dotenv ) from 8.2.0 to 9.0.1.
- [Release notes](https://github.com/motdotla/dotenv/releases )
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/motdotla/dotenv/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 16:53:25 +05:30
dependabot[bot]
4ecc868150
Bump concurrently from 6.0.2 to 6.1.0 ( #526 )
...
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently ) from 6.0.2 to 6.1.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases )
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v6.0.2...v6.1.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 16:52:07 +05:30
Alec LaLonde
65b4d27ece
Removed prefix as it was colliding with existing bot
2021-05-06 13:07:32 -06:00
Alec LaLonde
0b6e4aedde
Changed to load XP using accounts.json as beore
2021-05-06 13:07:32 -06:00
Alec LaLonde
ef6c2ef545
Fixed dynamic loading of discord classes / commands
2021-05-06 13:07:32 -06:00
Alec LaLonde
d0bf595126
Fixed backend boot issue
2021-05-06 13:07:32 -06:00
Alec LaLonde
658aeb4c14
Rebased
2021-05-06 13:07:32 -06:00
Alec LaLonde
2efaf525b2
Fixed globs
2021-05-06 13:07:32 -06:00
Alec LaLonde
5209dc14cf
Migrated existing xp command functionality
2021-05-06 13:07:32 -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
Hammad Jutt
53bebc015d
Implement activation of identities and persisting ledger
2021-05-06 13:07:32 -06:00
Hammad Jutt
e7fe11f83d
use sourcecred-publish-test for latest SC features
2021-05-06 13:07:32 -06:00
Hammad Jutt
a651e28731
Setup command to link ETH account to Ledger
2021-05-06 13:07:32 -06:00
Hammad Jutt
5cda2f6508
Discord Bot MVP
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
Alec LaLonde
6e3fe89744
Changed oauth handler to use a web URL that calls the backend to exchange the given code
2021-04-21 10:07:34 -06:00
Alec LaLonde
612ed1ee32
Added persistence of pending guilds from discord
2021-04-21 10:07:34 -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
Will Holcomb
51b349745f
code review changes from @alaonde to hopefully code #422 🥅
2021-03-28 22:08:25 -06:00
Alec LaLonde
5d1aff854f
Removed --include-dependencies on backend:dev command
2021-03-09 10:54:23 -07:00
Alec LaLonde
24765d030a
Added createDiscordClient to discord-bot, changed backend to use it
2021-03-09 10:54:23 -07:00
Alec LaLonde
7003f50dbb
Call discord REST API directly from backend instead
2021-03-09 10:54:23 -07:00
Alec LaLonde
4f020fe0c3
Added trigger for player.rank update
2021-03-09 10:54:23 -07:00
Hammad Jutt
f65ff31a23
Fix type errors
2021-02-06 13:13:00 -07:00
Hammad Jutt
12ba9dc315
Discord Bot MVP
2021-02-06 13:13:00 -07:00