зеркало из
1
0
Форкнуть 0
Граф коммитов

1189 Коммитов

Автор SHA1 Сообщение Дата
Jeff Wilcox 96671b3a7d Person page 404 should bubble 2023-12-08 10:45:35 -08:00
Jeff Wilcox c63dc75cba Uncontrolled organization fix
For modern apps using GitHub Apps instead of PATs or OAuth tokens,
this makes sure that the Uncontrolled Organization method can still
be used to retrieve other GitHub organizations that are not managed
by the apps for purposes such as pulling org details and basics.
2023-12-04 22:45:04 -08:00
Jeff Wilcox d6320139d9 Dependency updates 2023-12-04 22:45:01 -08:00
Jeff Wilcox a9cc31ee24 Removes unused pkg 2023-11-30 08:24:48 -08:00
Jeff Wilcox 89e3d29621 Company-specific team extensions
To support newer scenarios that are Microsoft-specific for automating
some types of team membership, this adds new extension points to
evaluate team join request conditions sooner in the middleware and
pipeline.

Also augments the JSON for client APIs about the team(s) to allow
inserting company-specific configuration or state into those responses.
2023-11-30 08:22:07 -08:00
Jeff Wilcox 1cb132a2b8 Adds Repository Custom Properties beta support 2023-11-30 08:21:50 -08:00
Jeff Wilcox b60baf7fc0 Mail provider interface: attachments
Updates the basic interface for mail providers to also support
linked (inline MIME) and attachments to mails.
2023-11-30 08:21:10 -08:00
Jeff Wilcox 2a83cc61a0 MS Graph: cache options
Updates the Microsoft Graph client to allow for configurable
cache options at call time. Also in some methods such as getting
the members of a team, improves types, allows for direct or
transitive membership.
2023-11-30 08:20:13 -08:00
Jeff Wilcox 2d794015fb Config as code: error condition helpful message
There are rare cases where an interrupted TS build can leave
some files missing for the configuration to bootstrap. This
improves the error message in that case.
2023-11-30 08:18:37 -08:00
Jeff Wilcox 036cddcc72 Team: type JSON 2023-11-30 08:17:56 -08:00
Jeff Wilcox 2941b038b4 Org: getTeamById direct API call 2023-11-30 08:17:30 -08:00
Jeff Wilcox 6514aba85b CreateError helper: use 'cause'
Moves from a customer 'innerError' approach that's legacy to
using modern JS and its 'cause' for wrapping errors.
2023-11-30 08:16:26 -08:00
Jeff Wilcox 8dd23dc44e Perf fix, CSD 2023-11-30 08:16:05 -08:00
Jeff Wilcox 06fdd7acd1 🧰 Updated dependencies 2023-11-30 08:15:24 -08:00
Jeff Wilcox 21b50d9e35 Adding Entra to cspell 2023-11-30 08:14:59 -08:00
Jeff Wilcox 1eebad9093 FOSS Fund message update
The FOSS Fund template in this project is specific to Microsoft,
we should eventually relocate it.
2023-11-30 08:14:19 -08:00
Jeff Wilcox ce034b0c9e Relocate repo-scoped custom properties calls 2023-11-14 12:42:30 -05:00
Jeff Wilcox 00eb7c2ddc Custom properties, token refactor, open access teams
- Removes CENTRAL_OPERATIONS_TOKEN
- System teams - open access
  - adds open access concept, which is a broad access team anyone in the org can join without approval
  - open access teams are not recommended the same way as broad access teams during new repo setup
- TypeScript: prefer types to interfaces
- GitHub Apps and REST APIs:
  - Simplifying bound function calls
  - Relocated app and token management files
  - Improves types for header/tokens
  - Allow custom app purposes to retrieve app token instances
  - Custom app purpose debug display fix
  - PAT/app token type identification helper method
  - Collections now expose "collectAllPages" and "collectAllPagesViaHttpGet" to move specific code out of the file
  - Fix for custom apps initialized after startup
- Custom Properties Beta support
2023-11-11 16:24:15 -05:00
Jeff Wilcox 9bf880975f Dockerfile: quieter tdnf 2023-11-11 16:10:20 -05:00
Jeff Wilcox c18cc72eec Dictionary update 2023-11-11 16:10:07 -05:00
Jeff Wilcox cdf8fdaeb6 Deps 2023-11-11 16:09:58 -05:00
Jeff Wilcox 132d04bb96 Typings and dependency updates 2023-11-08 14:29:35 -08:00
Jeff Wilcox b2991acb06 Dictionary update 2023-11-08 14:29:30 -08:00
Jeff Wilcox 2944452586 Custom token type connections for GitHub Apps 2023-11-08 14:29:19 -08:00
Jeff Wilcox 848d8bab0f Redirect repos by id & org id 2023-11-08 14:27:11 -08:00
Jeff Wilcox 548ff1734f
Merge pull request #862 from microsoft/dependabot/github_actions/actions/setup-node-4
chore(deps): bump actions/setup-node from 3 to 4
2023-11-02 23:42:39 -07:00
Jeff Wilcox 44719694de Organization: get Copilot seat assignments
Retrieves the list of Copilot basics when the organization
has Copilot for Business attachments.

Do note that this API only works to page, slowly, at scale to
a point - after 400 pages I am not able to get results due to
a hard cap of sorts here, so need to rely on other methods to
get the info.
2023-11-02 21:11:55 -07:00
Jeff Wilcox d8195d4ed0 Deps 2023-11-01 08:30:24 -07:00
dependabot[bot] 3453ebad35
chore(deps): bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 01:42:35 +00:00
Jeff Wilcox df3bf20e18 Repo permissions: allow unlinked owner computation of perms 2023-10-28 12:07:08 -07:00
Jeff Wilcox 64bbd7d90f User: fix null ref edge case 2023-10-28 12:06:55 -07:00
Jeff Wilcox 60d7c71211 Dependency updates 2023-10-28 12:06:33 -07:00
Jeff Wilcox 69ee614b12 Spelling update 2023-10-28 12:06:24 -07:00
Jeff Wilcox b9c47d93e5 Deps 📦 2023-10-24 08:32:02 -07:00
Jeff Wilcox fe44ae51a0
Merge pull request #849 from microsoft/dependabot/npm_and_yarn/babel/traverse-7.23.2
chore(deps-dev): bump @babel/traverse from 7.19.3 to 7.23.2
2023-10-20 15:55:00 -07:00
Jeff Wilcox 1c0f0e6e22
Using standard runners 2023-10-20 15:54:29 -07:00
Jeff Wilcox 9cd60cdad8 Privatize API + updated dependencies
Syncing with our internal bits.
2023-10-20 15:50:54 -07:00
dependabot[bot] ca2d444e72
chore(deps-dev): bump @babel/traverse from 7.19.3 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.19.3 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 09:40:43 +00:00
Jeff Wilcox 661698807c Updating dependencies 2023-10-10 12:56:52 -07:00
Jeff Wilcox 676d7b5691 +missing merge 2023-10-05 21:51:52 -07:00
Jeff Wilcox e55f5ca2b1 Repository invitations list support 2023-10-05 21:48:54 -07:00
Jeff Wilcox 10233a22cd Dependency updates 2023-10-05 21:48:47 -07:00
Jeff Wilcox 3c3ab2e4b8 Debug: minute-spaced alert option 2023-10-05 21:48:26 -07:00
Jeff Wilcox 8a1967e305 Add package script 2023-10-04 10:50:38 -07:00
Jeff Wilcox 8d06c8098c Remove unused dependency 2023-10-04 07:50:39 -07:00
Jeff Wilcox b5b3147475 Actions: to v4 2023-10-03 16:54:30 -07:00
Jeff Wilcox 040775abd7 API middleware 2023-10-03 16:52:23 -07:00
Jeff Wilcox 00fa63d65c Editor config update 2023-10-03 16:52:12 -07:00
Jeff Wilcox c1a3accb89 Package updates 2023-10-03 16:52:02 -07:00
Jeff Wilcox 626c03fff4 Operations: repo by ID speedup 2023-10-03 16:51:27 -07:00