Commit Graph

2631 Commits

Author SHA1 Message Date
Patrik Oldsberg 36a71d2780 catalog-backend: removed deprecated location processors 2020-10-26 17:14:39 +01:00
Fredrik Adelöw f72b512649 Merge pull request #3075 from ayshiff/fix/mock-fs-tests
[CLI - tests]: Fix path delimiters
2020-10-24 13:57:31 +02:00
Remi 9457384c94 test(cli): fix path delimiters 2020-10-24 13:04:20 +02:00
Tim 9e6e4fdb56 Merge pull request #3054 from spotify/timbonicus/last-complete-date
[Cost Insights] Add last complete billing date to CostInsightsApi
2020-10-23 13:31:35 -06:00
Tim Hansen 66e503cea9 Switch ProjectGrowthAlertData to expect ISO 8601 quarter format 2020-10-23 12:54:52 -06:00
Remi 61b4deec5c test(cli): add mocked file content + refactor 2020-10-23 11:18:06 +02:00
Ben Lambert 162c3089bf Merge pull request #3038 from erictnilsson/master
More descriptive error messages when trying to create a component from invalid backstage.yaml config file
2020-10-23 10:03:26 +02:00
Ben Lambert 60c8d71477 Merge pull request #3056 from spotify/dependabot/npm_and_yarn/rollup/plugin-node-resolve-9.0.0
chore(deps): bump @rollup/plugin-node-resolve from 8.4.0 to 9.0.0
2020-10-23 09:57:07 +02:00
Abhishek Jakhar 3beb5c9fcb fix: 404 error page responsive and test case (#3052)
* make 404 error page responsive

* add alt attribute to mic drop image on 404 page

* fix test case of ErrorPage
2020-10-23 08:04:04 +02:00
dependabot[bot] beed9b7fb8 chore(deps): bump @rollup/plugin-node-resolve from 8.4.0 to 9.0.0
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v8.4.0...node-resolve-v9.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-23 04:22:55 +00:00
Tim Hansen 169ed042ae Add getLastCompleteBillingDate to CostInsightsApi
Add useLastCompleteBillingDate hook
More usage of PropsWithChildren
2020-10-22 19:22:29 -06:00
Eric Nilsson 9cf0a85578 Merge branch 'master' into master 2020-10-22 22:48:12 +02:00
Eric Nilsson e63631e732 spelling mistake and type safety 2020-10-22 21:59:07 +02:00
Patrik Oldsberg 628f782948 Merge pull request #3047 from abhishekjakhar/feat/sidebar-lazy-state-initialization
feat: lazy state initialization of isPinned state of sidebar
2020-10-22 19:13:15 +02:00
Patrik Oldsberg 5a1eb83826 Merge pull request #2617 from spotify/rugvip/relations
Entity Relation Processing
2020-10-22 19:04:16 +02:00
Abhishek Jakhar a856fa8d94 lazy state initialization of isPinned state of sidebar 2020-10-22 22:00:28 +05:30
Patrik Oldsberg bc9f536545 Merge pull request #2994 from spotify/rugvip/conflagrate
config-loader: switch to using --config options to load in config
2020-10-22 18:01:21 +02:00
Patrik Oldsberg 15278fae30 catalog-backend: review fixes 2020-10-22 17:36:56 +02:00
Fredrik Adelöw 692636d934 Merge pull request #3008 from RoadieHQ/mcalus3/enable-pending-locations-for-repo-importing
Mcalus3/enable pending locations for repo importing
2020-10-22 15:33:45 +02:00
Ben Lambert 0f55e0c25c Merge pull request #3042 from spotify/imgbot
[ImgBot] Optimize images
2020-10-22 15:04:21 +02:00
Fredrik Adelöw 7b0573fdf1 Merge pull request #3016 from ayshiff/feat/cli-test-mock-fs
[CLI - refactor]: Temporary files use inside tests
2020-10-22 14:38:35 +02:00
ImgBotApp a0d83b92e7 [ImgBot] Optimize images
*Total -- 1,691.92kb -> 1,596.19kb (5.66%)

/microsite/blog/assets/20-10-22/cost-insights-3-data.png -- 248.48kb -> 202.15kb (18.65%)
/microsite/blog/assets/20-10-22/cost-insights-2-engineer.png -- 232.80kb -> 193.17kb (17.02%)
/packages/core/src/components/EmptyState/assets/noBuild.svg -- 4.37kb -> 4.31kb (1.43%)
/packages/core/src/components/EmptyState/assets/createComponent.svg -- 4.78kb -> 4.74kb (0.94%)
/microsite/blog/assets/20-10-22/cost-insights-1-dau.gif -- 1,191.17kb -> 1,181.58kb (0.81%)
/packages/core/src/components/EmptyState/assets/missingAnnotation.svg -- 7.73kb -> 7.67kb (0.76%)
/packages/core/src/components/EmptyState/assets/noInformation.svg -- 2.58kb -> 2.57kb (0.04%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-10-22 12:36:24 +00:00
Eric Nilsson 7dfc8d3eb2 prettified a null-check 2020-10-22 13:38:31 +02:00
Ben Lambert 879c54b5cd Merge pull request #2831 from spotify/migrate-to-msw
Remove node-fetch and jest-mock-fetch from all plugins and packages
2020-10-22 13:34:28 +02:00
Remi 4cc188a2c8 test(cli): system link remove check 2020-10-22 12:20:47 +02:00
Remi a45cea627d feat(cli): add @types/mock-fs dev-dependency 2020-10-22 12:19:41 +02:00
Eric Nilsson dab96d0c68 Made validation messages more descriptive 2020-10-22 12:18:25 +02:00
canut d001f6e32e TechDocs: verify checksum of PlantUML after downloads (#3029) 2020-10-22 11:10:04 +02:00
blam 1bc1c3af06 Merge branch 'master' of github.com:spotify/backstage into migrate-to-msw
* 'master' of github.com:spotify/backstage:
  Read git auth token from backend config (#2992)
  chore(catalog-model): add the petstore into the default entities
  chore(deps-dev): bump @storybook/addon-actions from 6.0.21 to 6.0.26
  chore(deps): bump eslint-config-prettier from 6.10.0 to 6.14.0
  Add API docs link to About card
  adds a sample organization set of users and groups (#2963)
  Make sure hasCostsWithinTimeframe is a boolean
  fix(catalog-backend): fix codeowners processor to handle users
  feat(catalog): add simple client side paging
  default to last 30 days
  Removed default-branch library since it's no longer used (#3019)
  useRealTimers in  onCssReady test case
  move type dependecy
  remove unused import
  changeset
  simpler query params
2020-10-22 11:02:32 +02:00
Patrik Oldsberg 4ab6f559dd app-config: merged dev config back into main config 2020-10-22 10:52:07 +02:00
Patrik Oldsberg 4a6a5149df backend-common: fix for args.config not always being an array 2020-10-22 10:52:06 +02:00
Patrik Oldsberg fac3026699 create-app: prettier backend + fix loadBackendConfig arg 2020-10-22 10:52:06 +02:00
Patrik Oldsberg 8c2b76e45f config-loader: switch to using --config options to load in config 2020-10-22 10:52:06 +02:00
Marek Calus 15515ea60d Update type validation 2020-10-22 10:35:33 +02:00
Marek Calus cb93d87b17 Code review fixes. 2020-10-22 09:35:31 +02:00
Marek Calus d9c63dd56c Merge branch 'master' into mcalus3/enable-pending-locations-for-repo-importing 2020-10-22 09:30:03 +02:00
Fredrik Adelöw b646e4b232 chore(catalog-model): add the petstore into the default entities 2020-10-22 08:43:49 +02:00
Brian Fletcher 4f6d40db34 adds a sample organization set of users and groups (#2963)
The top level is the acme-corp Group. Here is the graph

               acme-corp
                  |
              infrastructure
                  |
            _______________
           |               |
   backstage             boxoffice
     |    |               |    |
  team-a team-b      team-c  team-d

The members of those groups are as follows:

team-a:          team-b:          team-c:           team-d:
Janelle Dawe     Jenny Doe        Frank Tiernan     Eva MacDowell
Nigel Manning    Jonathon Page    Tara MacGovern    Lucy Sheehan
Breanna Davison  Amelia Park      Sarah Gilroy
                 Justine Barrow   Peadar MacMahon
                 Colette Brock    Calum Leavy
2020-10-21 21:20:15 +01:00
Remi 6c4a509bba refactor(cli): createPlugin 2020-10-21 15:28:59 +02:00
Patrik Oldsberg a7478736bd catalog-backend: review fixups from #2970
Co-authored-by: blam <ben@blam.sh>
2020-10-21 14:15:27 +02:00
blam 7721192dc1 chore(create-plugin): removing the polyfill for backend components 2020-10-21 14:06:45 +02:00
blam 681c861d25 Merge remote-tracking branch 'origin' into migrate-to-msw
* origin:
  fix: ts
  fix: forwardRef to SidebarItem
  fix(cli): one more await in the test
  backend-common: make loadBackendConfig return config directly and log all resolved app-configs
2020-10-21 13:57:40 +02:00
Ivan Shmidt 7df7322317 Merge pull request #3018 from spotify/ivans/forward-ref-sidebar-item
fix: forwardRef to SidebarItem
2020-10-21 13:31:08 +02:00
Patrik Oldsberg acb48c1876 Merge pull request #2976 from spotify/rugvip/logconf
backend-common: make loadBackendConfig return config directly and log all resolved app-configs
2020-10-21 13:00:52 +02:00
Patrik Oldsberg 26371bba78 catalog-backend: revert GroupPopulatorProc, replace with OwnerRelationProc + relation consts
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2020-10-21 12:35:57 +02:00
Patrik Oldsberg e26201d9d2 catalog-backend: relations working e2e
Co-authored-by: blam <ben@blam.sh>
2020-10-21 12:35:56 +02:00
Remi 93aaec5433 fix(cli): format 2020-10-21 12:28:58 +02:00
Remi a48c2caefd test(cli): refactor mock-fs 2020-10-21 12:28:58 +02:00
Remi 59729fbbcc test(cli): refactor mock-fs 2020-10-21 12:28:58 +02:00
Remi a2df99d92a test(cli): use mock-fs in removePlugin 2020-10-21 12:28:58 +02:00