Commit Graph

14528 Commits

Author SHA1 Message Date
Mathias Åhsberg b861c082b6 Support jenkins build details for branches that contains slashes
Signed-off-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2021-06-12 14:41:48 +00:00
Vitor Capretz 2ec118cc2c Create changeset
Signed-off-by: Vitor Capretz <capretzvitor@gmail.com>
2021-06-12 14:39:20 +02:00
Vitor Capretz eeed844d78 remove moment as step 1 of migration to lexon
Signed-off-by: Vitor Capretz <capretzvitor@gmail.com>
2021-06-12 14:38:31 +02:00
Vitor Capretz 4bd96b110f Replace timeago.js in favor of luxon in Sentry plugin
Signed-off-by: Vitor Capretz <capretzvitor@gmail.com>
2021-06-12 13:42:40 +02:00
Fredrik Adelöw 1bcb8693bf Merge pull request #6017 from mtlewis/update-microsite-opengraph-image
Add OpenGraph image with background
2021-06-12 07:58:39 +02:00
Fabian Hippmann e2048aec9d Add MoonShiner to the adopters list
Signed-off-by: Fabian Hippmann <fabian.hippmann@moonshiner.at>
2021-06-12 01:26:00 +02:00
Patrik Oldsberg 5a3876db67 Merge pull request #6012 from backstage/rugvip/fix-check
scripts: fix package detection in check-if-release.js
2021-06-11 22:28:50 +02:00
ImgBotApp da5bfce2e0 [ImgBot] Optimize images
*Total -- 46.41kb -> 34.33kb (26.04%)

/microsite/static/img/twitter-summary.png -- 11.75kb -> 8.07kb (31.35%)
/microsite/static/img/cortex.png -- 34.66kb -> 26.26kb (24.23%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-06-11 15:46:56 +00:00
Mike Lewis f881645e90 Add OpenGraph image with background
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-06-11 15:56:28 +01:00
Emma Indal 667656c8b5 [TechDocs] TechDocs custom homepage with user owned filter support (#5994)
* add emptystate to docs card grid

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

* adjust filterpredicate to accept a string, adjust custom home page based on owned documents filter

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

* update the techdocs home page to use the new ownedByUser filter

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

* fix tests

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

* use useOwnUser hook from catalog react plugin and delete duplicate one

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

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-06-11 16:52:46 +02:00
Ben Lambert c7e0c9e16b Merge pull request #6014 from mtlewis/update-microsite-twitter-sharing-image
Add twitter summary card image with background
2021-06-11 16:15:24 +02:00
Mike Lewis d52b24b621 Add twitter summary card image with background
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-06-11 14:05:22 +01:00
Philipp Hugenroth dc3e7ce68a Add changeset
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2021-06-11 14:32:08 +02:00
Philipp Hugenroth 2b5c00f762 Add UnhandledErrorForwarder forwarding errors to ErrorApi
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2021-06-11 14:12:36 +02:00
Patrik Oldsberg 150ab3ebb5 scripts: fix package detection in check-if-release.js
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-11 13:51:07 +02:00
Oliver Sand 873116e5df Fix a react warning in <EntityListComponent>
`entityRef` should only be passed conditionally if component is present, otherwise React logs a warning/error to console.

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-11 12:38:22 +02:00
Patrik Oldsberg 94fa652dbc Merge pull request #5992 from backstage/rugvip/mods
codemods: fixes for test and execution on Windows
2021-06-11 11:23:07 +02:00
dependabot[bot] 7c9e770d4d chore(deps-dev): bump yarn-lock-check from 1.0.4 to 1.0.5 in /microsite
Bumps yarn-lock-check from 1.0.4 to 1.0.5.

---
updated-dependencies:
- dependency-name: yarn-lock-check
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 09:02:01 +00:00
Patrik Oldsberg a4aba416cb Merge pull request #5998 from backstage/update-yarn-lock-check
Update yarn-lock-check
2021-06-11 10:57:48 +02:00
Eric Peterson 9b57fda8b2 Changeset
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-11 10:41:19 +02:00
Eric Peterson 86fc1c3930 Carve out exception for external SVGs
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-11 10:35:01 +02:00
Fredrik Adelöw 641abc29ce Merge pull request #6001 from backstage/timbonicus/theme-toggle
Fix bug preventing theme switching when `id` doesn't match `variant`
2021-06-11 07:29:05 +02:00
dependabot[bot] a89ec167e1 chore(deps): bump leasot from 11.5.0 to 12.0.0
Bumps [leasot](https://github.com/pgilad/leasot) from 11.5.0 to 12.0.0.
- [Release notes](https://github.com/pgilad/leasot/releases)
- [Commits](https://github.com/pgilad/leasot/compare/v11.5.0...v12.0.0)

---
updated-dependencies:
- dependency-name: leasot
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 04:10:19 +00:00
Tim Hansen 42a2d2ebc1 Fix theme toggling bug
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-10 19:45:37 -06:00
Juan Lulkin 0e01938e80 Update yarn-lock-check
This removes unnecessary dependencies in the library

Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
2021-06-10 22:23:36 +02:00
Daniel Ortega f2bccc24dc #5986 Updating changeset with required changes :)
Signed-off-by: Daniel Ortega <dortega@idealista.com>
2021-06-10 20:24:10 +02:00
Patrik Oldsberg 59752e1037 codemods: fix execution of jscodeshift on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 19:35:49 +02:00
Patrik Oldsberg aa204e01e9 codemods,workflows: fix codemods tests on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 19:31:14 +02:00
Fredrik Adelöw 2b13540015 Some quick docs on how to interface with databases from backend plugins
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-10 19:24:48 +02:00
Fredrik Adelöw d2c31b132e Add Title prop in SupportButton
Co-authored-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-10 19:00:38 +02:00
Patrik Oldsberg 2147ab9c1b Merge pull request #5903 from backstage/changeset-release/master
Version Packages
2021-06-10 15:13:52 +02:00
Patrik Oldsberg 8ed49a306c create-app: fix release version to 0.3.25
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 14:32:46 +02:00
github-actions[bot] 4a93128245 Version Packages 2021-06-10 12:18:06 +00:00
Eric Peterson ed351ec8cf Merge pull request #5960 from backstage/iameap/search-alpha-release-pt2
Search Alpha Release (Create-App Part)
2021-06-10 14:13:14 +02:00
Daniel Ortega 5db7445b45 #5986 Adding required changeset
Signed-off-by: Daniel Ortega <dortega@idealista.com>
2021-06-10 13:54:12 +02:00
Minn Soe 946db4caf6 docs: expand changeset scope
`@backstage/backend-test-utils` has been updated to use a plugin
name which starts with an alphabetical character, changeset now
includes this package.

Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe f1a9108c53 refactor: add defaultNameOverride and reorganize
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 214efffe3a refactor: move database connector interface
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe dc75c78cd7 refactor: split up database manager private methods
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 5a3ce34072 refactor: migrate from deprecated database manager
Changes:
- Swaps out `SingleConnectionDatabaseManager` to `DatabaseManager`
  across the repo.
- Updates `backend-test-utils` to generate test plugin names prefixed
  with db to satisfy plugin naming constraint, e.g. 0 becomes db0.

Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 2976f3bae3 refactor: rename and deprecate database manager
Changes:
- Deprecates SingleConnectionManager and aliases to DatabaseManager.
- Simplifies database config typing in `config.d.ts`.
- Drops implementation specific assert in SingleConnectionManager test.
- Move database prefix reference and drop static property for default value.

Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe ef1d705b76 fix: make plugin database getDatabaseName private
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe a9c4f0531f fix: sqlite3 memory typo and drop leading asterisk doc
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 2ff816060d fix: ensure underlying connector promise passed up
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 4e0fdcb968 test: add coverage for existing manager behaviour
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 630b75798a fix: return type of ensureDatabaseExists and run api-report
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 4d17ececc5 docs: fix typo in db manager changeset and clarify
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 772dbdb511 feat: add database manager with per plugin config
This commit introduces:
- a new backwards compatible database manager which allows the end-user
  to set global and per plugin database configuration.
- an early iteration of a database connector interface.
- provides helper functions for each of the database connectors to
  meet the new interface.

Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Eric Peterson b7d03deeb6 More detailed upgrade guide.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-10 11:56:41 +02:00
Patrik Oldsberg 399abf9670 Merge pull request #5878 from backstage/rugvip/codemods
Introduce @backstage/codemods package, with an initial transform for migrating core-* imports
2021-06-10 11:53:44 +02:00