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

32 Коммитов

Автор SHA1 Сообщение Дата
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 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 8bfc9c74b8 API: support watchdogs, multiple scopes 2023-05-31 19:22:40 -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
Jeff Wilcox eb203bef85 Chore: import debug 2023-01-19 23:01:39 -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
Nick Schonning 728ef1487f
chore: remove unused lodash requires 2022-11-01 13:38:05 -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 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 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
Jeff Wilcox a9cfcc38f4 Merge branch 'eslint-console' of https://github.com/nschonni/opensource-portal into nschonni-eslint-console 2021-10-07 21:58:49 +00:00
Jeff Wilcox c4a9d2b49f
Merge branch 'main' into import-destructor 2021-10-07 14:18:02 -07:00
Jeff Wilcox 41047e2612
Latest source 2021-07-17 14:33:35 -07:00
Jeff Wilcox 8a8a2dc181
Removing painless-config support to prefer dotenv always; minor new features
- Removes antiquated Azure Storage and table SDKs
- Removes dependency on painless-config-resolver (which is now inline inside the project and adopts the latest Azure SDK for KeyVault)
- Adds company-specific unlink and link mail template overrides
- Adds new unlink notification mail to people who remove themselves, or are removed
- Updates more legacy functions from callbacks to more modern equivalents
- Removes unused reports "data lake" storage methods
- Removes moment timezone library
- System administrator data can now alternatively come from security groups instead of hard-coded configuration

Breaking changes

- Removes painless-config support. .env and environment/container env methods only. If you have a JSON env file, update it to a .env-compatible format for local development use.
2021-05-17 11:54:19 -07:00
Abraham Ugbeshe e6e2ff0e4b Removed express since its value is never read 2021-04-27 22:22:17 +01:00
Abraham Ugbeshe 47f1b40c47 Destructed express import 2021-04-27 21:58:45 +01:00
Nick Schonning 080b0caf6b
chore: Drop file level eslint-disable for console 2021-04-09 20:20:13 -04:00
Jeff Wilcox 1e9db0803e
Interface and Test refactor
Removing explicit casts from req.app.settings.providers and using
a function.

Switching from Mocha (which was mostly unused) to Jest.

Moving around type definitions and interfaces in a big way to try
and cleanup some legacy.
2021-04-09 16:36:15 -07:00
Nick Schonning 2f3b9b8ee7
chore: Initial ESLint setup 2021-03-25 14:24:46 -04:00
Jeff Wilcox b3ccbac546 Refactor provider instance get
For improved type safety, this uses a function to return the
IProviders instance from the Express app, replacing all instances
of using req.app.settings.providers as IProviders, etc.

This may also make everything slightly more testable, eventually.
2021-03-19 09:20:39 -07:00
Jeff Wilcox a17d48e8ef Integrating latest Microsoft changes
This significant pull request patches the open source project with a number
of updates from inside Microsoft as part of connecting an automated publishing
process to keep the public version up-to-date and buildable.

We are also removing Microsoft-specific endpoints and APIs when easy enough to
do, and adding a "company-specific" extension model to try as we go about this.
2021-03-05 14:50:31 -08:00
Jeff Wilcox 752eac6fcb Chore: cleaning up TS files
- remove 'use strict' from TS files (implicit)
- converting more exports to modern export defaults
- connecting to support for corporate "profile" apps to remove
corp-specific work
- fixes a small bug in the cache provider for Cosmos
2020-07-28 16:24:21 -07:00
Jeff Wilcox 144f62fdef profile: adds dependency log and session flags 2020-07-21 12:42:37 -07:00
Jeff Wilcox 207ecdb886 Chore: exports, strict, deps 2020-07-13 10:19:35 -07:00
Jeff Wilcox d445329ca3 Integrating updates 2020-04-14 15:57:21 -07:00
Jeff Wilcox 87c2ab52a0 Code refresh to support GitHub Apps
- Enables GitHub App-based server-to-server communication
- Enables dynamic (database-backed) organization setting configuration
- QueryCache system, when paired with a Postgres database and GitHub App webhooks keeps teams, repo lists, etc. up-to-date more efficiently than the older GitHub REST API-based method
- Various bug fixes
2019-10-02 18:41:16 -07:00
Jeff Wilcox 260a7b55f1 Refactoring
This evolves many codepaths to await/async, ES6, promises, etc.
There is still more work to be done.
2019-08-26 09:54:28 -07:00
Jeff Wilcox f8c0ba1774
TypeScript implementation
Major updates to the application, including some minor breaking changes.

The public updates (that make it less Microsoft-specific) are still in
development; this represents trying to get it ready for updates.
2019-04-05 14:45:34 -07:00