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

185 Коммитов

Автор SHA1 Сообщение Дата
Jeff Wilcox 97b3551b2e Test: multi-tenant basics 2024-03-30 22:39:05 +00:00
Jeff Wilcox f1039d04e1 Startup: build information
When present, show build information contained in the "continuousDeployment"
configuration object.
2024-01-07 11:57:56 -08:00
Jeff Wilcox 20b1066ed9 Moving files 2024-01-03 11:44:13 -08:00
Jeff Wilcox ef55d3631a Typings: more interfaces to types 2023-12-16 18:16:42 -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 8dd23dc44e Perf fix, CSD 2023-11-30 08:16:05 -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 2944452586 Custom token type connections for GitHub Apps 2023-11-08 14:29:19 -08:00
Jeff Wilcox df3bf20e18 Repo permissions: allow unlinked owner computation of perms 2023-10-28 12:07:08 -07:00
Jeff Wilcox 3c3ab2e4b8 Debug: minute-spaced alert option 2023-10-05 21:48:26 -07:00
Jeff Wilcox 040775abd7 API middleware 2023-10-03 16:52:23 -07:00
Jeff Wilcox e165cb14d0 Updates; remove rename branch code 2023-08-14 22:04:30 -07:00
Jeff Wilcox 682553ab0e Syncing updates 2023-07-12 21:00:23 -07:00
Jeff Wilcox 4ca3b70ae1 Type updates 2023-06-11 17:42:22 -07:00
Jeff Wilcox deb80e82be Annotation updates 2023-06-08 09:30:25 -07:00
Jeff Wilcox 8bfc9c74b8 API: support watchdogs, multiple scopes 2023-05-31 19:22:40 -07:00
Jeff Wilcox 9532cca991
Merge pull request #676 from garnertb/upstream/main
Ensure the redis key is set before attempting to auth with it.
2023-05-22 14:32:01 -07:00
Jeff Wilcox 66b87b31d0 API session refactor + directory prune
- Client APIs remain behind the session middleware
- Non-client APIs no longer set cookies given their stateless nature
- Simplifies the directory structure
- Removes Microsoft-specific API configuration and code not useful to the OSS version
2023-05-11 13:07:14 -07:00
Tyler Garner 2eb2aa1e87
Ensure the redis key is set before attempting to auth with it. 2023-05-04 09:18:15 -04:00
Jeff Wilcox f940e09fcf AAD API: adds additional scope config 2023-04-19 16:43:13 -07:00
Jeff Wilcox 0f42e7f2cb ES2022: cause
Replaces the old custom "inner" and "innerError" concept from
the legacy app with the modern cause parameter.
2023-04-06 18:10:22 -07:00
Jeff Wilcox f5f8e395e5 Deps + connect-redis upgrade 2023-03-06 22:21:43 -08:00
Jeff Wilcox 941a54a56e Passport route typing fix 2023-02-23 08:25:41 -08:00
Jeff Wilcox 2b097b0beb express-sslify bug fix
fixes https://github.com/microsoft/opensource-management-portal/issues/140,
express-sslify scenarios now must opt-in explicitly to enable by an env
var plus select which env.
2023-02-04 10:19:21 -08:00
Jeff Wilcox f38ea1e2e4 Redis v4 support 2023-01-29 14:56:52 -08:00
Jeff Wilcox 63aa9b421d Static org files, table fix 2023-01-26 23:54:06 +00:00
Jeff Wilcox e48e1dd11d Immutability: store new repo payloads to immutable blob 2023-01-24 15:20:16 -08:00
Jeff Wilcox eb203bef85 Chore: import debug 2023-01-19 23:01:39 -08:00
Jeff Wilcox 182a8e2c9e Corporate: removing unused company-specific bits 2023-01-17 15:52:04 -08:00
Jeff Wilcox 4083f75996 Supporting more app types, client flights
Integrates multiple changes from an internal fork to the open project:

- Strongly typing basic organization properties and flags
- Specialized app purposes
- Organization annotations
- Repo unarchive
- Configuration resolver supports dates
- Configuration resolver supporting above-root .env over env vars for Codespaces
- Initialization routine adds support for an optional company-specific secondary stage
- Supports flighting a second React frontend for specific or all users
- Most basic organization APIs support managed and unmanaged orgs for org details
2023-01-07 22:39:49 -08:00
Jeff Wilcox aa2458ec52 Health probes - App Service 2023-01-08 00:37:08 +00:00
Jeff Wilcox 0222135000 Health probes: adding App Service probe 2023-01-08 00:22:36 +00:00
Nick Schonning 728ef1487f
chore: remove unused lodash requires 2022-11-01 13:38:05 -04:00
Jeff Wilcox 3261ad7e4d SiteConfiguration
- Adds config into middleware startup to reduce errors
- Lints
- Adds a '.types' condition to config graph parsing
2022-11-01 14:58:37 +00:00
Jeff Wilcox c07b717731 Merge branch 'prefer-const' of https://github.com/nschonni/opensource-portal into nschonni-prefer-const 2022-10-31 21:52:59 +00:00
Jeff Wilcox 610993dd50 Latest new files 2022-10-31 03:33:51 +00:00
Jeff Wilcox 0af67ee0cd Latest build 2022-10-31 03:32:58 +00:00
Nick Schonning 8332719638
fix: prefer-const 2022-10-11 21:20:41 -04:00
Nick Schonning c1aed594e7
fix: various typos 2022-10-10 19:32:54 -04:00
Nick Schonning deea160f69
fix: various typos 2022-10-09 23:02:44 -04:00
Nick Schonning d5f380d28a
fix: no-prototype-builtins 2022-10-09 17:19:53 -04:00
Nick Schonning 0988ccbbb2
fix: ESLint no-var 2022-10-09 16:55:49 -04:00
Jeff Wilcox 9f3f1cb00d
Prettier linting, README update (#399) 2022-10-07 15:25:28 -07:00
Jeff Wilcox 9d54251c56 Prettier / consistency 2022-10-07 06:59:30 +00:00
Jeff Wilcox f892e1d3b6 Integration: Linting updates 2022-10-07 05:31:29 +00:00
Jeff Wilcox 0921e2d578 Integrating latest Microsoft changes
Updates the open source project to reflect the recent updates
around continuing to make it easier to build in paralell and have
company-specific updates without impacting the upstream as much.
2022-10-07 01:23:29 +00:00
Jeff Wilcox abc025cc63 Startup: improving no-config messages 2022-02-18 15:30:59 -08:00
Jeff Wilcox 41904f8add Status site assets improvement 2022-02-18 15:17:40 -08:00
Jeff Wilcox f28bb340ba Integrating internal changes up through 2022
This is a batch of updates, including package version improvements.

- Axios: the library has gone through some growing pains for TypeScript
  users. While the library no longer returns "unknown" for response types,
  designed to encourage safe known casting, we do a lot of "cast as any" now,
  and will improve in the future.
- Additional company-specific extension points around authentication
- Additional auth token types for just-in-time
- Cleanup of Passport routing. This could be breaking for anyone who has
  taken the time to hack other Passport providers on top, so interested to
  learn if anyone has (for example, the old Google integration as an auth provider
  over AAD)
2022-02-18 14:39:34 -08:00