зеркало из
1
0
Форкнуть 0
opensource-management-portal/routes/settings
Jeff Wilcox 98502f7a72 Interim refactorings and improvements
This is a set of changes that is still stabalizing. Code churn around modernization
could impact company-specific implementations.

interim refactoring as part of a GitHub Enterprise prototype. please avoid using or extending or open an issue in the repo if you are to discuss what should stay vs get yanked.

- introduces a temporary OperationsCore class and a nearly-empty typed interface for operations
- these types will reduce or be removed once the prototype is validated
- "capabilities" allow for partial implementation of operations methods in the prototype

- custom mail provider
- additional view properties or recipients for new repos
- additional non-client API routes
- custom view names in certain places
- ability to process firehose events optionally in a separate codepath
- removes Microsoft-specific mail provider from the project
- fixes a startup race condition

- more interfaces and types exported down the tree to reduce import statements
- additional insights and reduced error logging for valid not found scenarios
- graph manager removes old callback code and interfaces have minor **breaking renames** as a result
- moves some email-sending functions into independent files to reduce core class line count
- ignored catches replaced with telemetry more consistently (partial)
- graph provider adds optional caching (note: this is not yet stable)
- webhook firehose will only attempt deleting messages once

- latest Octokit versions
- uses reusable functions throughout GitHub API calls for max age seconds, background refresh, page size variables
- fixes a bug around app header selection for cross-organization calls
- attempts to use GitHub App authentication instead of central operations token in more places
- supports alternate GitHub REST API locations for app authentication and the API itself
- new GitHub APIs integrated into business classes: get repository issues

- removes request module family, adopting axios
2021-03-25 10:20:40 -07:00
..
approvals.ts Interim refactorings and improvements 2021-03-25 10:20:40 -07:00
authorizations.ts Interim refactorings and improvements 2021-03-25 10:20:40 -07:00
campaigns.ts Refactor provider instance get 2021-03-19 09:20:39 -07:00
contributionData.ts Refactor provider instance get 2021-03-19 09:20:39 -07:00
digestReports.ts Refactor provider instance get 2021-03-19 09:20:39 -07:00
index.ts Refactor provider instance get 2021-03-19 09:20:39 -07:00
personalAccessTokens.ts Refactor provider instance get 2021-03-19 09:20:39 -07:00