Граф коммитов

557 Коммитов

Автор SHA1 Сообщение Дата
Jeff Wilcox 9eed3e2ebe
Merge pull request #171 from rneatherway/codeql-add-pull-request-trigger
Add on: pull_request trigger to CodeQL workflow
2021-02-13 15:40:12 -08:00
Robin Neatherway b8b895d407 Add on: pull_request trigger to CodeQL workflow
From February 2021, in order to provide feedback on pull requests, Code Scanning workflows must be configured with both `push` and `pull_request` triggers. This is because Code Scanning compares the results from a pull request against the results for the base branch to tell you only what has changed between the two.

Early in the beta period we supported displaying results on pull requests for workflows with only `push` triggers, but have discontinued support as this proved to be less robust.

See https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#scanning-pull-requests for more information on how best to configure your Code Scanning workflows.
2021-01-15 12:08:26 +00:00
Jeff Wilcox 43a0fee398
Merge pull request #156 from vatsalyagoel/hotfix/redis-cache
The postgres compress object returned gibberish
2021-01-05 10:19:15 -08:00
Jeff Wilcox 257cc45480
Merge pull request #163 from microsoft/dependabot/npm_and_yarn/object-path-0.11.5
Bump object-path from 0.11.4 to 0.11.5
2021-01-05 10:17:06 -08:00
Jeff Wilcox 82cb077ddc
Merge pull request #162 from microsoft/dependabot/npm_and_yarn/node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2021-01-05 10:16:59 -08:00
Jeff Wilcox f9846cf5b5
Merge pull request #160 from godaddy/fix-missing-corporate-views
Fix missing corporate views
2021-01-05 10:13:24 -08:00
dependabot[bot] 28c7f2f437
Bump object-path from 0.11.4 to 0.11.5
Bumps [object-path](https://github.com/mariocasciaro/object-path) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/mariocasciaro/object-path/releases)
- [Commits](https://github.com/mariocasciaro/object-path/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 21:04:37 +00:00
Jeff Wilcox b7d4d347e6
Bumping Action 2020-10-08 15:35:24 -07:00
dependabot[bot] 302c8fe5da
Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-11 12:48:37 +00:00
Jeff Wilcox 2a68b3bace Integrating latest fixes, package updates 2020-08-18 22:48:42 -07:00
Joey Wilhelm aecce017b2 Handle non-existing corporate-specific views 2020-07-31 13:52:57 -04:00
Joey Wilhelm 3b5dc8075a Ignore .env files 2020-07-31 13:52:10 -04:00
Vatsalya Goel a51d05f43d The postgres compress object returned gibberish
wrong method called
2020-07-29 15:27:40 +10:00
Jeff Wilcox 8b7bd7a246
Merge pull request #155 from microsoft/dependabot/npm_and_yarn/default-assets-package/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19 in /default-assets-package
2020-07-28 16:27:24 -07:00
Jeff Wilcox 0918acc5f4 Adding docs, new corp-specific middleware 2020-07-28 16:26:08 -07:00
dependabot[bot] e924e25434
Bump lodash from 4.17.15 to 4.17.19 in /default-assets-package
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-28 23:25:42 +00: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 67a3a6cba8
Merge pull request #154 from microsoft/rename-branch-tab
Relocates the rename default branch experience (fixes #153)
2020-07-21 13:39:50 -07:00
Jeff Wilcox 698444bda0 Relocates the rename default branch experience (fixes #153)
Creates a new temporary, dedicated tab for renaming the default
branch.

Encourages rename if the old default is present, otherwise it is
not emphasized.

Points to guidance.
2020-07-21 13:34:19 -07:00
Jeff Wilcox 144f62fdef profile: adds dependency log and session flags 2020-07-21 12:42:37 -07:00
Jeff Wilcox c16356e3e8
Merge pull request #152 from microsoft/dependabot/npm_and_yarn/default-assets-package/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19 in /default-assets-package
2020-07-20 08:46:44 -07:00
dependabot[bot] abe9702aad
Bump lodash from 4.17.15 to 4.17.19 in /default-assets-package
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 15:28:32 +00:00
Jeff Wilcox 9d14a9c550 Promise-based mail address provider + app profiles 2020-07-20 08:27:41 -07:00
Jeff Wilcox f63d518359 Removing deprecated method from Account 2020-07-16 22:20:54 -07:00
Jeff Wilcox 63472fe26b Removing dependency in mailAddressProvider
- Removes legacy "Witness Redis" code that was a Microsoft-internal thing
- Refactors Mail Address Provider for function signatures with a Promise, no callbacks
- Refactors Microsoft Mail Address Provider to use the Graph Provider for mail lookup instead of the legacy Redis system
- Minor chores on updating some imports, default export module functions
- Web server listen routine happens sooner during startup to better land Kubernetes readiness and liveness probes
2020-07-16 13:00:32 -07:00
Jeff Wilcox 40e1b293c5 Additional typings for perf speedup on links API 2020-07-15 10:54:06 -07:00
Jeff Wilcox 1224aa6571 Perf: improving link API response
Uses a runtime cache of corporate profile data, which will always
be consistent within the app runtime for the common use case of
basic link lookup.
2020-07-14 20:35:03 -07:00
Jeff Wilcox 52b880f65e Adding notification exclude configuration for new repo change 2020-07-14 09:33:02 -07:00
Jeff Wilcox a5b4fbcfbc Formatting 2020-07-14 09:32:53 -07:00
Jeff Wilcox cc8ddc1b00 Removing legacy, unused file 2020-07-14 09:32:30 -07:00
Jeff Wilcox 207ecdb886 Chore: exports, strict, deps 2020-07-13 10:19:35 -07:00
Jeff Wilcox 6ef2f057fe Notifying infra ops on branch rename
Also includes chore: minor format-on-save and exporting more modules
2020-07-10 16:22:43 -07:00
Jeff Wilcox 4d5d936dc7 Block tenant guest accounts at sign-in time 2020-07-09 14:48:28 -07:00
Jeff Wilcox 44df2cb4f0
Merge pull request #150 from microsoft/integrating-recent-changes
Integrating latest updates
2020-07-09 11:08:03 -07:00
Jeff Wilcox ec4238902d Integrating latest updates 2020-07-09 11:02:13 -07:00
Jeff Wilcox fa6f0b5198
Adding Action 2020-07-09 09:49:54 -07:00
Jeff Wilcox 249749a4cc
Merge pull request #149 from godaddy/fix-build-errors
Fix build errors
2020-07-09 09:43:29 -07:00
Joey Wilhelm 0b8a9dcecf Fix an invalid variable reference 2020-07-09 11:30:01 -04:00
Joey Wilhelm 0d36c5e1f4 Add type assertions to api routes 2020-07-09 11:27:25 -04:00
Joey Wilhelm dfce74e76b Add type assertions to the rest of the query parameters 2020-07-09 11:17:12 -04:00
Joey Wilhelm d2951c3a89 Add type assertions to people search 2020-07-09 11:04:21 -04:00
Joey Wilhelm abbc51e0b4 Add type assertions to repo search routes 2020-07-09 10:56:34 -04:00
Jeff Wilcox 36683fcea0
Merge pull request #147 from godaddy/make-passport-friendlier
Split the Passport strategy creation out into distinct modules
2020-07-08 16:34:23 -07:00
Joey Wilhelm 82c876d483 Updates per PR review
* Added headers to new files
* Made casing consistent on `github` variable names
* Switched to single quotes for imports
* Removed the strict statement
2020-07-08 09:44:30 -04:00
Jeff Wilcox 972cfb4b89 Adding rename default branch UI 2020-07-07 22:55:21 -07:00
Jeff Wilcox f757314bdb This will eventually enable an "easy button" experience to rename a branch
to `main`, or another name, including rewriting protected branch
restriction rules, creating the branch, updating any open pull requests
targeting the old branch name, and removing the old branch, with
complete logging.

Based on work done by GitHub and others, adapted to our environment,
and improved error logging.

Adds support for GraphQL queries to the GitHub interface system.

This feature requires that an org has had an installation of the "Updates"
app which has access to read/write branches, pull requests, file contents,
as well as administer a repo.
2020-07-07 17:01:19 -07:00
Jeff Wilcox e198136d84
Merge pull request #146 from godaddy/fix-moved-api
Update a couple of references to the new api code location
2020-07-07 15:41:59 -07:00
Joey Wilhelm 30b93eec37 Update a couple of references to the new api code location 2020-07-07 16:21:10 -04:00
Joey Wilhelm b5edc0e556 Push the passport strategy creators out into their own modules 2020-07-07 16:05:42 -04:00
Joey Wilhelm bad60423b1 Add types for express and passport 2020-07-07 16:05:42 -04:00