Commit Graph

4049 Commits

Author SHA1 Message Date
Patrik Oldsberg 8bfba79801 Merge pull request #1812 from GoWind/abstract_env
auth-backend: Encode `env` in the OAuth flow into the `state` parameter. Refs #1775
2020-08-06 18:15:03 +02:00
Patrik Oldsberg f553737b28 Merge pull request #1816 from kingasieminiak/ksieminiak/signInPage-refactor
Refactor SignInPage providers based on BackstageIdentityApi
2020-08-06 18:12:15 +02:00
Kinga Sieminiak f6a98ced55 Throw an error when IDs of providers are duplicated 2020-08-06 17:52:27 +02:00
Kinga Sieminiak 262624bac6 Remove unused components that have been merged a 'commonProvider' 2020-08-06 17:52:27 +02:00
Kinga Sieminiak 5d24ef4c68 Allow passing identity providers as a union type 2020-08-06 17:52:27 +02:00
Kinga Sieminiak 25a869f579 Allow passing configurable list of identity providers to SignInPage component 2020-08-06 17:52:27 +02:00
Fredrik Adelöw e031a06e1e Merge pull request #1834 from RoadieHQ/fix/github-actions-per-project
fix: github actions subpage was working only for default service
2020-08-06 17:03:49 +02:00
Patrik Oldsberg dd1c8d3f29 Merge pull request #1848 from spotify/rugvip/insecure-security-policy
auth-backend: temporary fix for strict CSP being set
2020-08-06 16:52:39 +02:00
Fredrik Adelöw 8e9a815287 Merge pull request #1849 from spotify/freben/better-location-log
fix(catalog-backend): update migration to delete dependent view first
2020-08-06 16:52:02 +02:00
Fredrik Adelöw 9beb4360a2 fix(catalog-backend): update migration to delete dependent view first 2020-08-06 15:49:07 +02:00
Patrik Oldsberg fcc0080af8 auth-backend: temporary fix for strict CSP being set 2020-08-06 15:37:54 +02:00
Fredrik Adelöw 08743c9073 Merge pull request #1845 from spotify/Rugvip-patch-2
Create CHANGELOG.md
2020-08-06 15:23:07 +02:00
Fredrik Adelöw 40f5fef542 Merge pull request #1828 from spotify/blam/fix-somedox
chore(scaffolder): remove bad formatting in docs
2020-08-06 15:19:48 +02:00
Patrik Oldsberg 6a49985c87 CHANGELOG: link to things 2020-08-06 14:06:31 +02:00
Patrik Oldsberg 8eab652ecd CHANGELOG: Fixed and 2020-08-06 14:04:16 +02:00
Patrik Oldsberg b746ffdb7c Create CHANGELOG.md 2020-08-06 12:58:07 +02:00
Govindarajan Nagarajan 959cc6fe86 Refactor: remove env parameter from callbackURL of all OAuth based
providers
2020-08-06 12:48:02 +02:00
Fredrik Adelöw 0201fd9b4a Merge pull request #1836 from spotify/freben/dedup-log
fix(catalog-backend): properly deduplicate location logs
2020-08-06 11:58:02 +02:00
Fredrik Adelöw 9b8aca8e33 Merge pull request #1823 from spotify/freben/coal
feat(catalog-backend): add a CoalescedEntitiesCatalog
2020-08-06 10:48:49 +02:00
Patrik Oldsberg 24ed336579 Merge pull request #1837 from spotify/rugvip/release
Release v0.1.1-alpha.17
2020-08-05 20:07:53 +02:00
Patrik Oldsberg 0dd8fa2828 v0.1.1-alpha.17 2020-08-05 19:36:36 +02:00
Patrik Oldsberg 1e634a5e2e create-app: remove copyright headers from backend template 2020-08-05 19:36:35 +02:00
Patrik Oldsberg 947960cb6c create-app: update tech-docs backend wiring 2020-08-05 19:36:35 +02:00
Patrik Oldsberg b390da3033 create-app: add empty list of auth providers 2020-08-05 19:36:34 +02:00
Patrik Oldsberg 5eba6dafa9 cli: fix e2e package references 2020-08-05 18:09:06 +02:00
Govindarajan Nagarajan 5f06a08daa Address PR comments: Use undefined instead of passing Empty strings
Type fn that identifies the env (environment) of a Request
Fail early if `env` is not present in the request or has an invalid
`env` in the state
2020-08-05 17:04:25 +02:00
Fredrik Adelöw e2383a399d fix(catalog-backend): properly deduplicate location logs 2020-08-05 16:55:36 +02:00
David Tuite 7db913e36b Add api-catalog.yaml file (#1822)
Also added ARD008 to explain the decision. This is linked from
`mkdocs.yaml` and `docs/README.md`.

Co-authored-by: David Tuite <dtuite@gmail.com>
2020-08-05 14:43:06 +02:00
Fredrik Adelöw 55d5fb4c2b Merge pull request #1830 from spotify/dependabot/npm_and_yarn/helmet-4.0.0
chore(deps): bump helmet from 3.23.2 to 4.0.0
2020-08-05 13:40:32 +02:00
Tomek Fabisiak 02f2bbf0bb fix: github actions subpage was working only for default service 2020-08-05 13:13:34 +02:00
Patrik Oldsberg 2ecd8ae8dd Merge pull request #1813 from spotify/rugvip/cli-common
cli: separate out path discovery logic that's common to CLIs, backend and config
2020-08-05 12:10:25 +02:00
Patrik Oldsberg cd6febaf2d cli: update e2e-test to include dist versions of backend packages 2020-08-05 11:34:17 +02:00
Patrik Oldsberg a6e7029504 Merge pull request #1798 from andrewthauer/docker-healthcheck
Add simple healthcheck to app container nginx template
2020-08-05 11:05:57 +02:00
dependabot-preview[bot] ae9f757ac3 chore(deps): bump helmet from 3.23.2 to 4.0.0
Bumps [helmet](https://github.com/helmetjs/helmet) from 3.23.2 to 4.0.0.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v3.23.2...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-05 08:38:52 +00:00
Fredrik Adelöw 736a591496 feat(catalog-backend): add a CoalescedEntitiesCatalog 2020-08-05 10:10:18 +02:00
Ben Lambert a93fd63cb7 Update adding-templates.md 2020-08-05 03:14:28 +02:00
Andrew Thauer 3d95f5925d feat: add simple healthcheck to app container 2020-08-04 20:30:52 -04:00
Ben Lambert 7af306bf3c Merge pull request #1825 from spotify/blam/fix-gql
chore(gql): graphql should be public
2020-08-05 01:27:33 +02:00
blam 65b55fb0fa chore(gql): graphql should be public 2020-08-05 00:56:12 +02:00
Govindarajan Nagarajan 75467ecb60 Cleanup: Remove deadcode 2020-08-04 18:51:00 +02:00
Govindarajan Nagarajan 4ae351b06f Refactor: Make properties of OAuthState non-optional 2020-08-04 18:48:38 +02:00
Govindarajan Nagarajan cb80b2b4f8 Refactor: encode state Parameters as URLSearchParams instead of JSON 2020-08-04 18:42:16 +02:00
Govindarajan Nagarajan 2d20cf389c Refactor: Address PR Comments
Create a new `OAuthState` type for storing the fields we want in the
`state` parameter.

Update the `encodeState` and `readState` fns to use the new `OAuthState`
type.

Update tests to reflect the new type
2020-08-04 17:06:46 +02:00
dependabot-preview[bot] 69c9964087 chore(deps): bump chokidar from 3.4.0 to 3.4.1 (#1818)
Bumps [chokidar](https://github.com/paulmillr/chokidar) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/paulmillr/chokidar/releases)
- [Commits](https://github.com/paulmillr/chokidar/compare/3.4.0...3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-04 14:48:30 +02:00
dependabot-preview[bot] f2c063454e chore(deps-dev): bump @types/nodegit from 0.26.5 to 0.26.7 (#1817)
Bumps [@types/nodegit](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nodegit) from 0.26.5 to 0.26.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/nodegit)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-04 14:48:07 +02:00
dependabot-preview[bot] 0001f109a4 chore(deps-dev): bump @testing-library/react-hooks from 3.3.0 to 3.4.1 (#1820)
Bumps [@testing-library/react-hooks](https://github.com/testing-library/react-hooks-testing-library) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/testing-library/react-hooks-testing-library/releases)
- [Commits](https://github.com/testing-library/react-hooks-testing-library/compare/v3.3.0...v3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-04 14:47:41 +02:00
Sebastian Qvarfordt 97f3f58844 Mob/techdocs end to end (#1736)
* Initial techdocs end to end heavily inspired by scaffolder

* added some tests and fixed linting

* fix(techdocs-backend): fix eslint

* fix(techdocs-backend): cleanup commented test

* Removed unused dependency

* fix(techdocs-backend): updated standalone server

* moved type dependency to devDependencies

* fix: updated dependencies and devDependencies.

* Update plugins/techdocs-backend/src/techdocs/stages/generate/types.ts

Co-authored-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Emma Indal <emmai@spotify.com>
Co-authored-by: ellinors <ellinors@spotify.com>
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
2020-08-04 13:04:48 +02:00
Ben Lambert 9d6a1c350a Merge pull request #1815 from spotify/b/update-template-descriptions
chore(scaffolder): updating the wording for the sample templates
2020-08-04 09:55:05 +02:00
blam 0d2ab85858 chore(scaffolder): updating the wording for the sample templates 2020-08-04 09:49:42 +02:00
Patrik Oldsberg 843c6bf3a5 packages/cli: fix packaging of packages without deps 2020-08-04 01:03:05 +02:00