164 Commits

Author SHA1 Message Date
Alec LaLonde
c489ac9924 If guild already exists, show edit page 2021-09-16 16:59:26 -06:00
Alec LaLonde
957f641b79 Implemented discord role manager trigger 2021-09-10 11:25:58 -06:00
Alec LaLonde
7f130bfedd Added player_role permissions, playerRoleChanged trigger 2021-09-10 11:25:58 -06:00
Alec LaLonde
5eafa1359e Standardized player relationship names 2021-09-10 11:25:58 -06:00
Alec LaLonde
2170eb88fe Added id to a bunch of graphql responses to help with caching 2021-09-02 15:34:33 -06:00
Alec LaLonde
29abec059d Added guild_players remote relationship to fetch discord member roles 2021-09-02 15:34:33 -06:00
Alec LaLonde
be16175a04 Moved membership_through_discord to guild table from guild_metadata 2021-09-02 15:34:33 -06:00
Alec LaLonde
dcdd58d4e0 Implemented state check in discord auth, added twitter/github URLs to guild form 2021-09-02 15:34:33 -06:00
Alec LaLonde
eb58572c20 Fixed a couple issues in guild member sync 2021-09-02 15:34:33 -06:00
Alec LaLonde
891e2975a9 Added trigger to sync GuildPlayers with Discord 2021-09-02 15:34:33 -06:00
Alec LaLonde
48531aa329 Removed a couple tests that were failing 2021-08-31 22:11:50 -06:00
Matthew Cantelon
47d4a01660 fix: pin nock version 2021-08-31 22:11:50 -06:00
Matthew Cantelon
fc4e30f074 fix: mistakes were made 2021-08-31 22:11:50 -06:00
Matthew Cantelon
76e4205458 fix: use console.warn
The subgraph failing isn't an error because we handle the failed case
with a default value
2021-08-31 22:11:50 -06:00
Matthew Cantelon
13c0b50f28 refactor: move moloch matcher to top of test file 2021-08-31 22:11:50 -06:00
Matthew Cantelon
6e83817129 tests: add new test for complete subgraph failure
Also did some test simplification
2021-08-31 22:11:50 -06:00
Matthew Cantelon
d6369cc7b6 refactor: remove commented out code, run eslint on backend tests 2021-08-31 22:11:50 -06:00
Matthew Cantelon
5ac303cbde WIP gracefully handles errors 2021-08-31 22:11:50 -06:00
Matthew Cantelon
1dd17aaf3f Rebase 2021-08-31 22:11:50 -06:00
Alec LaLonde
1783a34dfb Cleaned up some config, error handling 2021-08-26 10:10:01 -06:00
Alec LaLonde
1989a4f734 use new guildposition enum 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
9ddbafe2c3 Fixed permission, input parsing 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
Alec LaLonde
270bfa88e3 Added separate guild metadata table with different permissions 2021-08-26 10:10:01 -06:00
dan13ram
ea3db28b66 fixed LinkOverlay issues 2021-08-25 08:56:33 -06:00
Michiel Quellhorst
2778f14fd6 Add internal / external position property to guilds (closes #489) 2021-08-10 17:11:59 -04:00
Michiel Quellhorst
5e7ab7350c resolve moloch titles after DaoHaus schema change (#729) 2021-07-31 18:19:59 -04:00
Will Holcomb
ce4d42b6d2 reviewing pull request 🇯🇲 2021-07-28 06:38:25 +05:30
Will Holcomb
fcfb32cdc7 renaming for clarity & adding queued invalidation 🌠 2021-07-28 06:38:25 +05:30
Will Holcomb
d9876c563f standardizing the capitalization of URL 2021-07-28 06:38:25 +05:30
Will Holcomb
03fd189767 setting the package versions to a single option 📐 2021-07-28 06:38:25 +05:30
Will Holcomb
2e23fcc8e7 removing account link cache trigger 🦟 2021-07-28 06:38:25 +05:30
Will Holcomb
a7f7587e1b 🍵 yarn update-schema 2021-07-28 06:38:25 +05:30
Will Holcomb
e50d091cbb removing commented code 🎁 2021-07-28 06:38:25 +05:30
Will Holcomb
9d6dc90df5 rebasing & regenerating schema 🥘 2021-07-28 06:38:25 +05:30
Will Holcomb
af6602663c queries and mutations to support profile caching 🗽 2021-07-28 06:38:25 +05:30
Will Holcomb
04a268132a adding ceramic and IDX to the backend 🎱 2021-07-28 06:38:25 +05:30
dan13ram
0a4be7b2dd added tests for getNumWeeksInSeason 2021-07-22 12:21:04 +05:30
dan13ram
6810e573b7 added season_xp to db 2021-07-22 12:21:04 +05:30
Alec LaLonde
d499b0d694 Added force option to migrateSourceCredAccounts action 2021-07-09 00:09:11 +05:30
Alec LaLonde
bad08bf200 wtf is NODE_ENV 2021-07-07 08:45:50 -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
dan13ram
6dd2ec9151 removed unnecessary console log 2021-07-04 16:24:39 +05:30
dan13ram
262289d4de fixed collectible favorites schema bug 2021-07-04 16:24:39 +05:30
Alec LaLonde
3cd6965c13 Fixed discord role update 2021-06-28 09:54:24 -06:00
Matthew Cantelon
21a266ebde refactor: was a temporary measure, no longer needed
I don't think such a replacement should occur in the backend unless we
are creating our own models (not the case here). Therefore, this will be
handled on the frontend.
2021-06-24 11:11:39 -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