Will Holcomb
c00184cfab
fixing build errors & duplicated fields 🐸
2021-10-29 21:16:28 -06:00
Will Holcomb
1591ecf4e2
refining basic profile input form 🍾
2021-10-29 21:16:28 -06:00
Will Holcomb
43fd20d8a8
updating Ceramic dependencies 👅
2021-10-29 21:16:28 -06:00
Will Holcomb
18075f7b81
adding dotenv & publishing to web3.storage 💰
2021-10-29 21:16:28 -06:00
δυς
b971c57653
switching to multer (& writing to a file) from streaming 🎮
2021-10-29 21:16:28 -06:00
Cali93
9bf7de4a60
basic profile form
2021-10-29 21:16:28 -06:00
Will Holcomb
02409ca242
adding dotenv & publishing to web3.storage 💰
2021-10-29 21:16:28 -06:00
δυς
0362f8ca47
switching to multer (& writing to a file) from streaming 🎮
2021-10-29 21:16:28 -06:00
Will Holcomb
6c9ae80f3a
fixing various typescript and dependency issues 🧷
2021-10-29 21:16:28 -06:00
Alec LaLonde
eababb3ae7
Removed reference to old PlayerRole_Enum
2021-10-15 21:24:33 -06:00
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
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
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
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
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
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
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
Matthew Cantelon
1063e245c8
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-13 23:57:34 -06:00
Matthew Cantelon
3dda8aa7ca
fix: create clients once
...
Suggestion from @dan13ram on PR to cache the clients and avoid
recreating on every request.
2021-06-13 23:57:34 -06:00