-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag branch #127
Merged
Merged
Tag branch #127
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jthoward64
added a commit
that referenced
this pull request
Sep 9, 2024
* Some more work on new GQL stuff * Update GraphQL schema with new types and fields * Add custom scalar types for NodeID and Cursor * Import DateTimeISOResolver from graphql-scalars * Add Node, Edge, Connection, Resource, Result, PageInfo, and ResourceError classes * Update cSpell.words in .vscode/settings.json * Update id and tweak relay defs * Update id and tweak relay defs * Update relay definitions and add new node classes * Refactor file structure and import paths * Add IntervalISO type and update import paths * Refactor GraphQL schema and update import paths * Refactor GraphQL schema and update import paths * Refactor GraphQL schema and update import paths * Refactor file structure and update import paths * Update id field names in Node classes * Add CommitteeNode class to common/lib/api/resources/Committee.ts * Refactor Node class names and update import paths * Refactor PersonResource class to PersonNode and update import paths * Start on prisma stuff for marathon teams * Resolve errors from device resolver * Replace references to renamed classes * Refactor import paths and remove unused code * Update auth login functions to include empty committees array * Refactor import paths and update auth login functions * Refactor import paths and update auth login functions * Refactor import paths and update auth login functions * Add marathon_id column to teams table and update existing data * Add marathon_id column to teams table and update existing data * Update resource model properties to use 'id' instead of 'uuid' * Update resource model properties to use 'id' instead of 'uuid' * Update resource model properties to use 'id' instead of 'uuid' * Add foreign key constraint for marathon_id in teams table * chore: Update CommitteeNode to include identifier field * Add unique index for committees' identifier field * Add overall committee to CommitteeIdentifier and committeeNames * Update CommitteeRepository to include child and parent committee retrieval methods * Update MarathonRepository and TeamRepository to use UniqueMarathonParam * Update database schema for optional marathon date and committee role on membership * Update MembershipRepository to support assigning person to team with committee role * Update MarathonRepository to order marathons by ascending year * Update personModelToResource to use personRepository for retrieving dbRole * Add Skyler Trowel and Camille Dyer as App Coordinators for DB25 * Start updating mobile for changed API * More fixes on mobile for new API * Fix remaining direct GraphQL errors * Change some `uuid`s to `id`s * Add more support for passing committee info to client * Add support for retrieving committee memberships of a person * Update Luxon imports and interval handling in event-related files * Update PersonResolver to use CommitteeMembershipNode for committees field * Update code to use marathon.year instead of marathonYear in team forms * Refactor team creation form to remove persistentIdentifier field * Update logic around auth * Finish simplifying JWT and auth stuff * Refactor GraphQL types and resolvers for LoginState * Remove unused common code * Remove unused server code * Update TeamsTable filters to use enum values for type and legacy status * Rename SortDirection.*CENDING to *c * Refactor TeamsTable to integrate marathon filter with global setting * Refactor LoginStateResolver to use userData.authSource for determining login state * Add database tables and foreign key constraints for fundraising entries and assignments * Connect demoTeam by id in PersonRepository * Update npm dependencies * Remove old packages and add true-myth * Add unique constraint for db_num and marathon_id in db_funds_teams table * Start on new error handling * Refactor error classes and result types * Add DBFundsFundraisingProvider implementation * Add zod package for runtime type validation * Add DBFunds config to env * Update foreign key constraints for DBFunds team entries * Refactor error classes and add NotFoundError class * Refactor DBFundsFundraisingProvider and add identifier to FundraisingTeam * Start DBFunds repository * Refactor DBFundsFundraisingProvider and update FundraisingTeam interface * Add CompositeError class for handling multiple errors * Add syncDbFunds job for DBFunds synchronization * Refactor error handling in DBFundsFundraisingProvider and DBFundsRepository * Get dbfunds sync going * Fix dbfunds on null donatedBy * Refactor DBFundsFundraisingProvider and DBFundsRepository * Add FundraisingAssignment and FundraisingEntry resolvers * Refactor FundraisingEntry and FundraisingAssignment classes * Write the fundraising repository * Add ControlError and related classes for error handling * Extract SomePrismaError type to alias * Remove preferTypeOnlyAutoImports * Add model to node functions * Add true-myth to common * Add prettyPrintAuthorizationRule function * Fix fundraising node classes * Start on resolvers for fundraising * Add FundraisingAssignment and FundraisingEntry resolvers * Update checkAuthorization function to support asynchronous custom authorization checks * More work on implementing fundraising tracking * Add an entry point for fundraising to teams * Wrap up initial fundraising tracking support * Add an entry point to fundraising assignments under person * Some fundraising stuff * Add assignTeamToDbFundsTeam mutation * Update authorization context to include effective committee roles * Get fundraising tracking's core "finished" * Simplify results use in resolvers * feat: Add assignTeamToDbFundsTeam mutation * Fix fields on committee roles * Update fundraising repository to check parent entry funds amount * Start getting marathon selection on portal * Implement Marathon selection * Remove unused imports and commented code in PersonCreator and PersonEditor files * Update team repository to use marathonId instead of marathonYear * Update marathon config to save selected marathon in local storage * Update marathon config to save selected marathon in local storage * Update LoginStateResolver to use ctx.authorization.dbRole instead of ctx.userData.authSource * Refactor FeedNode initialization to use 'id' instead of 'uuid' * Rename FeedRepository * Tweak logging code * Add a timeout to dbfunds sync * Fix tasks deps * Start on temp fundraising on portal * Update compose file * Some more work on compose file * Add GlobalIdScalar custom scalar type for GraphQL API * Refactor code to use GlobalIdScalar for GraphQL API * Refactor code to use GlobalIdScalar for GraphQL API * Add NodeResolver * Update schema * Refactor code to use GlobalIdScalar for GraphQL API * Refactor error classes to use tags for better error handling * Do a pass with true-myth over the repositories * Refactor person code to use Result type for error handling * Remove true-myth and add ts-results-es * Switch from true-myth to ts-results-es * Fix some result issues * Misc * Fix graphql errors * Fix some more issues * Remove duplicate index file * Add import aliases to server * Change import sort rules * Add more import aliasing * Move error types to common * Update TypeScript dependency to version 5.5.3 * Updates to server/docker config and startup * Tweak job schedule logic * Dockerfile updates * More dockerfile stuff * Update devcontainer.json and compose.yaml * Merge dockerfiles * Update Dockerfile and compose.yaml configurations to use secrets * Update github action to build new dockerfile * Rename graphql lib dirs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.