Commit Graph

4349 Commits

Author SHA1 Message Date
Oliver Sand 7aa4308179 Merge pull request #5427 from SDA-SE/feat/fix-guest
Fix owner references to guest user
2021-04-26 14:21:42 +02:00
Taras f940c38378 Prevent uncaught exception in download of Techdocs Azure Blob Storage publisher
Signed-off-by: Taras <tarasm@gmail.com>
2021-04-24 11:24:08 -04:00
Patrik Oldsberg f218637d08 create-app: release version 0.3.19
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-22 15:23:09 +02:00
github-actions[bot] 034998d537 Version Packages 2021-04-22 13:19:35 +00:00
Emma Indal b9b2b4b766 [Search] Lunr search engine support (#5290)
* add lunr package

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add search translator type and search engine interface

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* (wip) add support for lunr search engine

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* lunr search engine support

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clean up todo comments

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* typing and cleanups

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move lunr type package from dev deps to deps

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* check if documents exist to index

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* test fixup

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move LunrSearchEngine.ts to /engines and add tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update error message

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add comment to index rotation

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/search-backend-node/src/types.ts

Signed-off-by: Fredrik Adelöw freben@gmail.com

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/search-backend-node/src/engines/LunrSearchEngine.ts

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* Update plugins/search-backend-node/src/engines/LunrSearchEngine.ts

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* fix imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* use type assertion to specify more specific ConcreteLunrQuery type

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* consistent naming

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* change search engine to be parameter of constructor in indexBuilder

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* make engine required in router options and pass it through in createRouter used in standalone server

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* delete import

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add types to SearchQuery interface to make it possible to scope to specific index + test

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clean up tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* handle case when a filter is added on a field that does not exist on all documents + test

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-04-22 15:03:10 +02:00
Patrik Oldsberg 47d511b976 Merge pull request #4596 from RoadieHQ/entity-tabs-customizability
Exposing Material-UI extension point from tab components on HeaderTabs
2021-04-22 14:01:53 +02:00
Oliver Sand 6eaecbd81d Fix owner references to guest user
If the user guest is used as an example value of the owner field, we should make sure to specify it as user:guest instead as the default is group.

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-22 13:21:45 +02:00
Jussi Hallila d8cc7e67a3 Exposing Material-UI extension point from tab components on HeaderTabs so additional information can be added to them
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-04-22 11:22:36 +02:00
Tim Hansen 938b266b86 Template spec.type is not optional
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-04-21 15:36:34 -06:00
Patrik Oldsberg 22312d1fca Merge pull request #5411 from backstage/rugvip/exterr
core-api: fixed confusion around wrong error thrown from routable extensions
2021-04-21 19:13:43 +02:00
alde e7d2fb93f0 Create code-coverage plugin
In order to use this plugin, you must set the
`backstage.io/code-coverage` annotation on your entity.

```yaml
backstage.io/code-coverage: enabled
```

There's a feature to only include files that are in SCM in the coverage
report, this is helpful to not count generated files for example. To
enable this set the `backstage.io/code-coverage` annotation to
`scm-only`.

```yaml
backstage.io/code-coverage: scm-only
```

The backend plugin provides API endpoints for submitting code-coverage
reports. Currently jacoco and cobertura are supported. These reports
are normalized to a json format that is stored in the database.

```json
// curl -X POST -H "Content-Type:text/xml" -d @cobertura.xml "localhost:7000/api/code-coverage/Component/default/entity-name?coverageType=cobertura"
{
    "links": [
        {
            "href": "http://localhost:7000/api/code-coverage/Component/default/entity-name",
            "rel": "coverage"
        }
    ]
}
```

It also provides some additional API endpoints:
* Viewing the latest report
* Viewing a more condensed history of code coverage values
* Retrieving file contents from source-control, used by the UI

Provides a graph of code coverage change over time, as well as a file
view where you can see the highlighted lines.

Co-authored-by: nissayeva <natashaaay@gmail.com>
Signed-off-by: alde <r.dybeck@gmail.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 12:58:18 +02:00
Patrik Oldsberg 50ce875a05 core-api: fixed confusion around wrong error thrown from routable extensions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-21 12:13:20 +02:00
Fredrik Adelöw 857d11e13d Merge pull request #5081 from GunnerStraiker1/link-color-dark-mode
Accessibility: Change link color in dark theme
2021-04-21 10:32:50 +02:00
Dominik Henneke a7fbca530f Merge pull request #5379 from SDA-SE/feat/fossa-overview
Add a FossaPage that shows the license compliance status of all components in the catalog
2021-04-21 10:10:29 +02:00
Fredrik Adelöw afeb0ef0e7 Merge pull request #5046 from backstage/dependabot/npm_and_yarn/helmet-4.4.1
chore(deps): bump helmet from 4.0.0 to 4.4.1
2021-04-20 22:11:31 +02:00
dependabot[bot] d367f63b53 chore(deps): bump helmet from 4.0.0 to 4.4.1
Bumps [helmet](https://github.com/helmetjs/helmet) from 4.0.0 to 4.4.1.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v4.0.0...v4.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 21:38:22 +02:00
Fredrik Adelöw f6b8cf96ca fix according to designer input
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 20:50:06 +02:00
Victor Perera 9c9df47f4f Replace color proposed by one Backstage color
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 16:48:36 +02:00
Victor Perera 08b25805d1 Fixing typo
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 16:48:35 +02:00
Victor Perera f9b206cece Revert "Change #0A6EBE to #EFE5B1"
This reverts commit 30d3886ef7cba00ac55c8db9aca7f20eda8a5d2f.

Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 16:48:35 +02:00
Victor Perera 343913573f banner link color
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 16:48:35 +02:00
Victor Perera bc30288405 Change #0A6EBE to #EFE5B1
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 16:48:34 +02:00
Fredrik Adelöw 4e7c9d7d16 Merge pull request #5374 from wrighbr/master
Datadog RUM events
2021-04-20 14:47:47 +02:00
Patrik Oldsberg df8e6f1dc4 Merge pull request #5372 from backstage/mob/catalog-refactor
Initial iteration of the next software catalog
2021-04-20 11:44:44 +02:00
Brett Wright 4949915fb3 Revert "chore(deps): bump diff from 4.0.2 to 5.0.0"
This reverts commit 2213de5068443f5036f1ea5a899867086266dc52.

Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:17 +02:00
Brett Wright 766533df4b Revert "Move diagram to system page"
This reverts commit 876a468740f25b69d6dc7737586d7d64348daf6a.

Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:16 +02:00
Brett Wright 47b4c33c1f Revert "Delete EntityPage.tsx"
This reverts commit 157318b7b261541758c353482d98e0372a4369ce.

Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:16 +02:00
Brett Wright 66cd739fec Revert "Delete EntityPage.tsx"
This reverts commit 59eda628a87dc470ae1c5d2b7b46ced129fea289.

Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:16 +02:00
Brett Wright 77a2335997 Delete EntityPage.tsx
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:16 +02:00
Brett Wright 0f649240bf Delete EntityPage.tsx
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:16 +02:00
Brett Wright 817e7fee1f ran Prettier
Signed-off-by: Brett Wright <brett.wright@bestseller.com>
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:15 +02:00
Brett Wright 8761385311 added datadog RUM events
Signed-off-by: Brett Wright <brett.wright@bestseller.com>
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:15 +02:00
Adam Harvey 2730b30b7c Move diagram to system page
Signed-off-by: Adam Harvey <adaharve@cisco.com>
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:15 +02:00
dependabot[bot] 21c90863a2 chore(deps): bump diff from 4.0.2 to 5.0.0
Bumps [diff](https://github.com/kpdecker/jsdiff) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/kpdecker/jsdiff/releases)
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/compare/v4.0.2...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-04-19 19:48:15 +02:00
Dominik Henneke 94da209767 Sort the table filter options by name
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-04-19 19:39:37 +02:00
Johan Haals d126628a9b Remove optional entity field
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-04-19 15:24:42 +02:00
Fredrik Adelöw 838f4c779a Merge pull request #5364 from backstage/rugvip/nocheck
core-api: remove apiHolder creation check
2021-04-19 11:15:01 +02:00
Johan Haals ec43f706c7 Copy migrations to migrationsv2 before migration
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-04-19 10:53:57 +02:00
Fredrik Adelöw 6b0761dbbc Merge pull request #5258 from gtzefrain/accessibility/scaffolder-plugin-headings
Accessibility: Scaffolder Headings adjustments
2021-04-17 14:24:57 +02:00
Patrik Oldsberg d5b2a05712 core-api: remove apiHolder creation check
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-16 17:20:33 +02:00
Fredrik Adelöw 52730580e7 Merge pull request #5244 from victormorfin97/master
Adding close button on Support menu
2021-04-16 15:17:58 +02:00
Fredrik Adelöw e28c725004 Merge pull request #5308 from SDA-SE/feat/sqlite-dir
Support configuration of file storage for SQLite databases
2021-04-16 14:00:38 +02:00
Patrik Oldsberg 208694c66e Merge pull request #5328 from backstage/rugvip/config-schema-cli
cli: added config:docs command
2021-04-16 12:56:24 +02:00
Patrik Oldsberg cbfa75bf69 Merge pull request #5351 from backstage/rugvip/plugin-detective
core: allow plugins to be discovered through the react tree
2021-04-16 10:42:30 +02:00
Fredrik Adelöw 2c65864ec0 Merge pull request #5357 from adamdmharvey/fix-diagram-card
fix(create-app,example): Move system diagram to system page
2021-04-16 09:51:15 +02:00
dependabot[bot] 25fb68e488 chore(deps): bump diff from 4.0.2 to 5.0.0
Bumps [diff](https://github.com/kpdecker/jsdiff) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/kpdecker/jsdiff/releases)
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/compare/v4.0.2...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-16 04:19:34 +00:00
Adam Harvey 670acd88ee Move diagram to system page
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2021-04-15 21:05:26 -04:00
Patrik Oldsberg 1373f4f122 cli: remove plugin.ts addition from create-plugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-15 19:30:44 +02:00
Patrik Oldsberg ee22773e90 create-app: removed plugins.ts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-15 19:23:00 +02:00
Patrik Oldsberg 46b7f84c89 example-app: remove explicit plugin imports and some unused plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-15 19:15:16 +02:00