Commit Graph

4766 Commits

Author SHA1 Message Date
Patrik Oldsberg 7803503b1e plugin-api: clean up todos
Co-authored-by: Juan Lulkin <jmaiz@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-27 23:23:26 +02:00
Patrik Oldsberg cd61be6523 plugin-api: remove component data symbol access
Co-authored-by: Juan Lulkin <jmaiz@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-27 23:23:26 +02:00
Patrik Oldsberg 64a83bcf62 packages: add plugin-api
Co-authored-by: Juan Lulkin <jmaiz@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-27 23:23:25 +02:00
Patrik Oldsberg ce324001cf create-app: fix release version to 0.3.23
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-27 12:31:06 +02:00
github-actions[bot] b5a0d1c5d7 Version Packages 2021-05-27 10:23:15 +00:00
Patrik Oldsberg 4aab5cb0d0 Merge pull request #5748 from RoadieHQ/docs_dir_vuln
Add validation to prevent docs_dir from being an absolute path
2021-05-27 11:39:55 +02:00
Jussi Hallila 8cefadca04 Add validation to prevent docs_dir from being an absolute path
* Adds a new validation function to helpers to prevent generation when mkdocs.yml is not present or is invalid
* Handles vulnerability where docs_dir can be put in as an absolute path which copies and exposes the files from that absolute path in the file system

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-05-27 11:21:47 +02:00
Fredrik Adelöw 330f4bacdb rename to backend-test-utils and rearrange a bit
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-27 10:52:04 +02:00
Patrik Oldsberg 438a512ebb config-loader: workaround for config schema parsing in typescript 4.3
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-26 22:25:38 +02:00
Patrik Oldsberg e9e70677ec Merge pull request #5803 from backstage/dependabot/npm_and_yarn/eslint-config-prettier-8.3.0
chore(deps): bump eslint-config-prettier from 6.14.0 to 8.3.0
2021-05-26 19:36:49 +02:00
Patrik Oldsberg 0ba5af2eb7 Merge pull request #5724 from backstage/dependabot/npm_and_yarn/gitbeaker/node-29.2.0
chore(deps): bump @gitbeaker/node from 28.2.0 to 29.2.0
2021-05-26 18:57:12 +02:00
Patrik Oldsberg c112abe6f6 cli: update eslint config to match eslint-plugin-prettier 8
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-26 18:56:24 +02:00
Eric Peterson da6cdd2e99 Merge pull request #5772 from backstage/iameap/expose-cache-some
Expose cache management in create-app
2021-05-26 18:26:44 +02:00
Tim 50232b61d3 Merge pull request #5795 from backstage/timbonicus/auth-docs
Replace `quickstart-app-auth` with updated docs
2021-05-26 10:17:36 -06:00
Fredrik Adelöw 8c0109abba Introduce @backstage/backend-testing, with TestDatabases to start off
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-26 18:02:16 +02:00
Patrik Oldsberg 6e85e6c691 Merge pull request #5779 from thefrontside/jbolda/resolve-config-from-cwd
config-loader resolve config from cwd
2021-05-26 17:49:37 +02:00
Eric Peterson e2780c7e10 Just default to in-memory instead.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-26 17:49:24 +02:00
Eric Peterson 85d1398d1c Update CLI E2E test
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-26 17:49:24 +02:00
Eric Peterson 70c345df29 Updating create-app so that cache store can be selected/configured.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-26 17:49:24 +02:00
Patrik Oldsberg 3a4c45df1f Merge pull request #5765 from backstage/dependabot/npm_and_yarn/webpack-node-externals-3.0.0
chore(deps): bump webpack-node-externals from 2.5.2 to 3.0.0
2021-05-26 17:26:44 +02:00
Patrik Oldsberg 5a54510cf7 Merge pull request #5747 from backstage/orkohunter/follow-up-sign-in-page-updates
SignInPage: Minor improvements as follow up of #5702
2021-05-26 16:50:28 +02:00
Patrik Oldsberg 260aaa6843 bump all @gitbeaker deps + changelogs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-26 15:55:25 +02:00
Fredrik Adelöw 6fd3350a1d cache on strings instead
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-26 14:59:17 +02:00
Fredrik Adelöw 704875e26d Refactor entity validation in catalog-model
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-26 12:59:33 +02:00
dependabot[bot] 9d1d444133 chore(deps): bump eslint-config-prettier from 6.14.0 to 8.3.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.14.0 to 8.3.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.14.0...v8.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 04:10:03 +00:00
Fredrik Adelöw 0a922726f9 Merge pull request #5799 from backstage/freben/status-tests
Add tests for the entity schema including new status field
2021-05-24 22:38:33 +02:00
Tim 8161eb1562 Merge pull request #5797 from backstage/timbonicus/create-app-cards
Add relationship cards to create-app template
2021-05-24 14:24:31 -06:00
Fredrik Adelöw 9836bd2924 Add tests for the entity schema including new status field
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-24 21:59:03 +02:00
Fredrik Adelöw 1b60694c4f Merge pull request #5787 from backstage/freben/errors
Foundation for standard status values
2021-05-24 21:50:15 +02:00
Tim Hansen f86ab6d492 Add relationship cards to create-app template
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-05-24 13:34:23 -06:00
Tim Hansen 8b62311cbb Replace quickstart-app-auth with updated docs
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-05-24 12:46:59 -06:00
Fredrik Adelöw aef9fb2399 Implement suggested changes after discussions
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-24 19:13:30 +02:00
dependabot[bot] 6f17a5d3a0 chore(deps): bump webpack-node-externals from 2.5.2 to 3.0.0
Bumps [webpack-node-externals](https://github.com/liady/webpack-node-externals) from 2.5.2 to 3.0.0.
- [Release notes](https://github.com/liady/webpack-node-externals/releases)
- [Changelog](https://github.com/liady/webpack-node-externals/blob/master/CHANGELOG.md)
- [Commits](https://github.com/liady/webpack-node-externals/compare/v2.5.2...v3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 13:08:06 +00:00
Patrik Oldsberg e3c18ec501 Merge pull request #5771 from backstage/eide/yaml-jest
[cli]: Add yaml support to jest config
2021-05-24 15:05:47 +02:00
Fredrik Adelöw add62a4552 Foundation for standard status values
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-24 10:29:54 +02:00
Johan Haals 46541626ad Merge pull request #5769 from backstage/mob/handle-private-emails
Exclude emails using app auth with `GithubOrgReaderProcessor`
2021-05-24 09:59:36 +02:00
Jacob Bolda 2cf98d279a config-loader resolve config from cwd
Signed-off-by: Jacob Bolda <me@jacobbolda.com>
2021-05-21 17:38:38 -05:00
Patrik Oldsberg d597a50c66 core-api: add global definition of Symbol.observable
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-21 19:04:30 +02:00
Marcus Eide 76e6c0b53b Add yaml support in jest
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-05-21 15:14:37 +02:00
Johan Haals 7417241fcc fix format
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-21 14:52:51 +02:00
Johan Haals 66fee560e5 Update packages/integration/src/github/GithubCredentialsProvider.ts
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Ben Lambert <3645856+benjdlambert@users.noreply.github.com>
2021-05-21 14:46:51 +02:00
Johan Haals cdda040129 Update api-report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-21 14:28:42 +02:00
Johan Haals 0fd4ea4431 Exclude emails using app auth with GithubOrgReaderProcessor
Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-21 14:21:58 +02:00
dependabot[bot] 3ef3485b01 chore(deps): bump @gitbeaker/node from 28.2.0 to 29.2.0
Bumps [@gitbeaker/node](https://github.com/jdalrymple/gitbeaker) from 28.2.0 to 29.2.0.
- [Release notes](https://github.com/jdalrymple/gitbeaker/releases)
- [Changelog](https://github.com/jdalrymple/gitbeaker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jdalrymple/gitbeaker/compare/28.2.0...29.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 12:30:26 +00:00
Himanshu Mishra 4860f242d3 signinpage: always execute login logic on component load
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-05-20 14:02:17 +02:00
Himanshu Mishra 2300f303a5 signinpage: Show page in case of auto pop-up
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-05-20 13:58:58 +02:00
github-actions[bot] 18285453eb Version Packages 2021-05-20 11:48:46 +00:00
Patrik Oldsberg 1b58bc04ae Merge pull request #5702 from backstage/orkohunter/bug-fix-logout-on-page-refresh
fix(auth): Do not ask to log-in on every page refresh
2021-05-20 13:34:32 +02:00
Fredrik Adelöw c80c702db3 Merge pull request #5736 from backstage/dependabot/npm_and_yarn/cypress-7.3.0
chore(deps-dev): bump cypress from 4.12.1 to 7.3.0
2021-05-20 12:24:12 +02:00
Johan Haals f9350cb2bb Merge pull request #5707 from backstage/jhaals/orphan-warning
catalog: Display warning when entity is orphan
2021-05-20 12:16:28 +02:00