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

170 Коммитов

Автор SHA1 Сообщение Дата
Jeff Wilcox 20b1066ed9 Moving files 2024-01-03 11:44:13 -08:00
Jeff Wilcox 08e989d779 Graph provider: is in team performance
Properly checks for team membership using the native
Microsoft Graph membership check that is targeted. The
original implementation, built on top of retrieving the
full list of security group members, does not scale for
large teams and was never intended to stick as the
"is in group" check.
2023-12-20 10:34:39 -08:00
Jeff Wilcox 373c8a8ccc Mail provider: additional mail attachment helper 2023-12-19 15:58:10 -08:00
Jeff Wilcox eedad83954 Graph provider: support count query 2023-12-16 18:15:27 -08:00
Jeff Wilcox c5837d6ec0 Updated typings 2023-12-13 16:35:32 -08:00
Jeff Wilcox 32fc06286f Webhooks: company-specific entry 2023-12-13 08:50:57 -08:00
Jeff Wilcox 5b7732c305 Tokens: show iso8601 date in log 2023-12-13 08:50:34 -08:00
Jeff Wilcox ee60eb0d06 Token manager: "any app" fix
Make sure that when choosing "any app", it only returns
configured apps.
2023-12-13 08:49:55 -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 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 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 e55f5ca2b1 Repository invitations list support 2023-10-05 21:48:54 -07:00
Jeff Wilcox 0797acf9d4 Cosmos: key wrap 2023-10-03 16:51:06 -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 02b4d8846c Downstream: mail provider debug values
Updates configuration to allow for indication of when a production
run is being performed in an environment, and refactors the layering
of those config values.

Also minor updates to package dependencies.
2023-03-17 12:14:19 -04:00
Jeff Wilcox ed5dd1e039 Downstream integration 2023-02-10 21:27:09 -08:00
Jeff Wilcox 34dd24a7eb Mail override: subject as well 2023-02-03 10:56:49 -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 d339eb39dc Immutable: +lib file 2023-01-24 15:27:58 -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 8f8d125656 OrganizationOwnersCacheByOrganizationId
The organization owners cache is most useful by org ID instead of
for all owners. This replaces the all-owners query with a targeted
method on top of the eventually-consistent cache.
2023-01-08 11:54:48 -08:00
Jeff Wilcox b3e35d4fa9 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:40:22 -08: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 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
Jeff Wilcox f2f1d91933
Merge pull request #421 from nschonni/typos2
fix: various typos
2022-10-10 23:13:20 -07:00
Nick Schonning 06ac6bd809
fix: deprecated new Buffer call 2022-10-10 22:06:30 -04:00
Nick Schonning c1aed594e7
fix: various typos 2022-10-10 19:32:54 -04:00
Jeff Wilcox 1987967b23
Merge pull request #418 from nschonni/no-useless-escape
fix: no-useless-escape
2022-10-10 10:18:23 -07:00
Nick Schonning fd3a42be00
fix: no-useless-escape 2022-10-10 03:08:26 -04:00
Nick Schonning 227daab21e
fix: @typescript-eslint/no-non-null-assertion 2022-10-10 03:00:31 -04:00
Nick Schonning deea160f69
fix: various typos 2022-10-09 23:02:44 -04:00
Nick Schonning 8942d3c14b
fix: @typescript-eslint/no-inferrable-types 2022-10-09 17:09:33 -04:00
Nick Schonning 60bec2eda7
fix: @typescript-eslint/adjacent-overload-signatures 2022-10-09 17:03:56 -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
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