Commit Graph

3838 Commits

Author SHA1 Message Date
Johan Haals d9685d0b1e Update plugins/scaffolder/src/api.ts
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-02-17 08:59:57 +01:00
Johan Haals dc12852c9e test-utils: Allow ExternalRouteRef on mountedRoutes
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-16 14:54:35 +01:00
Johan Haals 478d87e612 Pass CatalogApi instead of CatalogClient
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-16 13:28:31 +01:00
Johan Haals 86225bae7e Fix scaffolder dev routes
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-16 13:27:39 +01:00
Johan Haals ddc3da44f1 Merge branch 'master' into mob/scaffolder-frontend 2021-02-16 11:50:52 +01:00
Johan Haals 17d1d909e4 Replace EntityClient with CatalogClient
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-16 11:23:06 +01:00
Himanshu Mishra 02109ea642 Merge pull request #4540 from backstage/orkohunter/techdocs-store-etag-in-filesystem-based-cache 2021-02-16 11:16:16 +01:00
Johan Haals 0b7cb92258 Fix routes
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-16 11:06:20 +01:00
Ben Lambert 896add263f Merge pull request #4534 from SDA-SE/feat/file-reader-glob
Support globs in FileReaderProcessor
2021-02-16 10:20:53 +01:00
Ben Lambert a015e1c6a6 Merge pull request #4524 from backstage/dependabot/npm_and_yarn/sanitize-html-2.3.2
chore(deps): bump sanitize-html from 1.27.0 to 2.3.2
2021-02-16 10:15:01 +01:00
Patrik Oldsberg 49299a1faf Merge pull request #4541 from backstage/rugvip/gh-auth
integrations: switch to using x-access-token for github git auth
2021-02-15 21:16:02 +01:00
Patrik Oldsberg fb28da2123 integrations: switch to using x-access-token for github git auth 2021-02-15 20:27:26 +01:00
Patrik Oldsberg d31228eb42 Merge pull request #4531 from backstage/rugvip/authref
auth-backend: refactor providers to accept options, and delay profile transforms
2021-02-15 19:44:13 +01:00
Himanshu Mishra b16b096f58 TechDocs: Add etag to techdocs_metadata.json 2021-02-15 19:38:07 +01:00
Patrik Oldsberg 2046701e96 auth-backend: fix a camel 2021-02-15 17:26:51 +01:00
Patrik Oldsberg f781754643 auth-backend: move @types/passport to deps 2021-02-15 17:26:24 +01:00
Johan Haals de09326959 Make sure createdAt is properly formated
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-15 16:15:38 +01:00
Oliver Sand fdbd02e089 Improve glob test expectations
Signed-off-by: Oliver Sand oliver.sand@sda-se.com
2021-02-15 15:34:57 +01:00
Oliver Sand d0aec7d689 Make test run on Windows?
Signed-off-by: Oliver Sand oliver.sand@sda-se.com
2021-02-15 15:32:58 +01:00
Oliver Sand 434b4e81a8 Support globs in FileReaderProcessor
Signed-off-by: Oliver Sand oliver.sand@sda-se.com
2021-02-15 15:12:06 +01:00
dependabot[bot] 6620965b4f chore(deps): bump sanitize-html from 1.27.0 to 2.3.2
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 1.27.0 to 2.3.2.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/commits/2.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-15 13:02:36 +00:00
Johan Haals 7dfcae331c Merge branch 'master' into mob/scaffolder-frontend 2021-02-15 13:19:06 +01:00
Patrik Oldsberg 3ec9c76ce2 Merge pull request #4530 from backstage/rugvip/datefix
auth-backend: fix key timestamp parsing with sqlite
2021-02-15 13:13:37 +01:00
Johan Haals 579a545649 Refactor scaffolder routes
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-15 11:57:27 +01:00
Oliver Sand 32a9504095 Hide the kind of the owner if it's the default kind for the ownedBy relationship (group).
I guess I missed this one. In the catalog table & co we already hide it.

Signed-off-by: Oliver Sand oliver.sand@sda-se.com
2021-02-15 11:34:51 +01:00
Johan Haals 93765c04d8 mock catalogClient 2021-02-15 09:53:50 +01:00
Johan Haals 1f077511bb Fix typescript warnings 2021-02-15 09:30:13 +01:00
Johan Haals c649761548 Drop unused import 2021-02-15 09:20:12 +01:00
Johan Haals 07b996ed3d Rename styles 2021-02-15 09:19:55 +01:00
Patrik Oldsberg d9687c524f auth-backend: fix key timestamp parsing with sqlite 2021-02-14 20:00:21 +01:00
Patrik Oldsberg 65fa16dee4 auth-backend: refactor profile transform to happen within handlers instead of verify callback 2021-02-14 17:38:07 +01:00
Patrik Oldsberg b9709efff8 auth-backend: refactor user profile fetch to transform profile outside 2021-02-13 17:42:14 +01:00
blam 3957c024f5 chore: renaming to use targetPath rather than templatePath like the rest of the preparers 2021-02-12 22:54:20 +01:00
blam d84df12d3b bug: fixing the input path to the FilePreparer, and fixing the destination directory for the preparer to template 2021-02-12 22:48:57 +01:00
Johan Haals 028603219f Add task not found page
Co-authored-by: blam<ben@blam.sh>
2021-02-12 16:07:39 +01:00
Ben Lambert e58cc939a4 Merge pull request #4510 from SDA-SE/feat/move-repository
Remove the "Move repository" menu entry from the catalog page, as it's just a placeholder
2021-02-12 15:25:53 +01:00
Johan Haals 73760c688f Scaffolder: display entity button
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
2021-02-12 15:13:08 +01:00
Johan Haals 9fe687aa37 scaffolder: fix route name
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-12 15:11:25 +01:00
Fredrik Adelöw 6c4a76c595 make the template cards conform to mui standard 2021-02-12 14:39:29 +01:00
Patrik Oldsberg 10e59af4d0 auth-backend: refactor provider factories to accept options 2021-02-12 14:36:46 +01:00
Oliver Sand 914c89b131 Remove the "Move repository" menu entry from the catalog page, as it's just a placeholder
It will be easy to bring it back later, but for now it just confuses users that it's not doing anything. It's also hard to remove for integrators.
2021-02-12 12:36:45 +01:00
Andrew Thauer 536dd3f9ce Merge pull request #4483 from andrewthauer/feat/custom-icons
feat(core-api): support custom app icons
2021-02-12 06:04:44 -05:00
Johan Haals 087bee1744 scaffolder: Pass correct logger
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-12 09:46:59 +01:00
Johan Haals d4c77f9316 Scaffolder: Initial 404 view 2021-02-12 09:46:33 +01:00
Oliver Sand 83feefb996 Fix tests 2021-02-12 09:23:46 +01:00
Oliver Sand 53b69236dd Port AboutCard 2021-02-12 09:23:46 +01:00
Johan Haals 1ae69b890a scaffolder: Add registration step
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-02-12 08:38:20 +01:00
blam c6a67b100e chore: might as well do this for all parsing 2021-02-11 20:10:20 +01:00
blam c1164fb6a8 bug: filepath can be returned as undefined from git-url-parse let's default to empty 2021-02-11 20:09:24 +01:00
Oliver Sand 1b38e38094 Merge pull request #4491 from SDA-SE/feat/settings-routes
Use routed tabs to link to every settings page
2021-02-11 16:56:09 +01:00