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

195 Коммитов

Автор SHA1 Сообщение Дата
Jeff Wilcox 20b1066ed9 Moving files 2024-01-03 11:44:13 -08:00
Jeff Wilcox c5837d6ec0 Updated typings 2023-12-13 16:35:32 -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 848d8bab0f Redirect repos by id & org id 2023-11-08 14:27:11 -08:00
Jeff Wilcox dfa6c8e080 Default branch: removing our one-off custom logic 2023-10-03 16:50:06 -07:00
Jeff Wilcox 63bc50145f Lint changes 2023-08-26 09:06:26 -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 d5a28ed738 Octicons, express: major type updates 2023-06-14 13:56:07 -07:00
Jeff Wilcox 4ca3b70ae1 Type updates 2023-06-11 17:42:22 -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 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 d26bf619b2 New fork lock: optional feature
Updates the fork lock (which admin-locks new forks) to instead delete
them right away. Helps reduce confusion and abandoned/messy instances
on official corp orgs when used.
2023-02-23 19:39:37 -08:00
Jeff Wilcox b46dd517dd Administration: allow removing app installations
When others install the app, makes it easier to uninstall from the
instance.
2023-02-13 13:14:03 -08:00
Jeff Wilcox ed5dd1e039 Downstream integration 2023-02-10 21:27:09 -08:00
Jeff Wilcox 63aa9b421d Static org files, table fix 2023-01-26 23:54:06 +00:00
Jeff Wilcox 182a8e2c9e Corporate: removing unused company-specific bits 2023-01-17 15:52:04 -08:00
Tyler Garner 0bbec8be99
Fix bug causing TypeError in join route when campaignStateProvider isn't set. 2022-12-09 08:03:28 -05:00
Jeff Wilcox 70173d10fd
Merge pull request #426 from nschonni/unref-utils
chore: remove unused code
2022-11-02 20:16:28 -04:00
Jeff Wilcox f541733ab5
Merge pull request #432 from nschonni/cspell
chore: Add cSpell config
2022-11-01 23:16:32 -04:00
Nick Schonning a370adec29
fix: sigin -> signin 2022-11-01 20:45:59 -04:00
Nick Schonning 728ef1487f
chore: remove unused lodash requires 2022-11-01 13:38:05 -04:00
Tyler Garner 09725df036
Check that a user is either a maintainer or a member of at least on team when displaying the user's teams. 2022-11-01 10:37:00 -04: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 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 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
mofury 820ed744d0
Remove hardcoded references to microsoft from mail templates (#289)
* Remove hardcoded references to microsoft (#6)

* add config to some more mail options

Co-authored-by: Moritz Fuchs <moritz.fuchs@sap.com>
Co-authored-by: Tobias Gabriel <tobias.gabriel@sap.com>
2022-10-06 20:25:32 -07: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 6aca65ae1e
Integrating stylistic community pull request saves 2021-10-07 15:23:50 -07: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 4c0cbccfbc
Admin route: allow setting everyone team 2021-10-06 20:06:51 -07:00
Jeff Wilcox 41047e2612
Latest source 2021-07-17 14:33:35 -07:00
Jeff Wilcox b256b70af0
Improved new repo lockdown, app/job reconfig
- Improved new repository lockdown experience
  - Supports swapping description and website URL for repos temporarily until approval
  - Supports an initial README commit directing people to the setup experience, if there are no commits yet
  - Directly created repos become private immediately but retain access for the initial creator of the repo with read permission
- Removes new repository branch rename feature (GitHub natively supports org-level and enterprise-level custom defaults now)
- Removes 'uuid' dependency to favor newer Node LTS 14+ crypto.randomUUID
- App and job configuration object replaces "treatGitHubAppAsBackground" with "enableAllGitHubApps"
- Table encryption bug fix when pulling from key vault
- Chore: updates NPM dependencies
2021-06-03 10:08:30 -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 a3f201d44a Destructed express import 2021-04-27 22:17:10 +01:00
Abraham Ugbeshe 47f1b40c47 Destructed express import 2021-04-27 21:58:45 +01:00
Jeff Wilcox 704fb1a76a
Merge pull request #202 from Shegox/custom-page-size-people-search
allow custom pageSize for people search
2021-04-10 10:13:55 -07: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
Tobias Gabriel 2452001467 allow custom pageSize for people search 2021-04-09 12:38:27 +02:00
Nick Schonning 2f3b9b8ee7
chore: Initial ESLint setup 2021-03-25 14:24:46 -04:00