Commit Graph

6611 Commits

Author SHA1 Message Date
Patrik Oldsberg 7a6373e080 auth-backend: new GithubOAuthResult type + refresh test & fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-20 14:36:36 +02:00
Patrik Oldsberg 913256d197 auth-backend: migrate GitHub handler to sign-in resolver + add refresh support
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-20 14:17:52 +02:00
Patrik Oldsberg 5f6f33a5ed auth-backend: fall back to username and id as displayName for profiles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-20 14:09:40 +02:00
Patrik Oldsberg 8e9e5fe72f auth-backend: allow for optional refresh token usage in OAuthAdapter
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-20 14:08:56 +02:00
Patrik Oldsberg 76c1c37457 Merge pull request #6903 from backstage/rugvip/origin
auth-backend: fix origin verification
2021-08-20 11:15:58 +02:00
Patrik Oldsberg 79d24a9665 auth-backend: fix origin verification
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-20 10:59:12 +02:00
Fredrik Adelöw 7ab55167d0 use DateTime all the way from the database
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-20 10:07:57 +02:00
Patrik Oldsberg 99cab3cd79 Merge pull request #6876 from pawelmitka/scaffolder_require_code_owners_approval
feat(plugin-scaffolder-backend): GitHub option to require Code Owners
2021-08-20 01:49:14 +02:00
github-actions[bot] 6f4c73ece4 Version Packages 2021-08-19 12:20:01 +00:00
Patrik Oldsberg 24dd589779 Merge pull request #6821 from Symbianx/render-statsfor-in-sentry-plugin
Render the statsFor property in sentry issues table
2021-08-19 14:14:27 +02:00
Fredrik Adelöw b4892e8a0d Merge pull request #6872 from backstage/freben/ldap-provider
Introduce LdapOrgEntityProvider
2021-08-19 14:05:22 +02:00
Miguel Alexandre 2044ae8b20 Render "Last 24h" instead of "For 24h"
Signed-off-by: Miguel Alexandre <m.alexandrex@gmail.com>
2021-08-19 13:56:15 +02:00
Miguel Alexandre d8e4afc620 Render the statsFor property in sentry issues table
Signed-off-by: Miguel Alexandre <m.alexandrex@gmail.com>
2021-08-19 13:56:15 +02:00
Johan Haals 86b1cb69d3 Merge pull request #6848 from backstage/mob/catalog-instrumentation
Instrument catalog with prometheus metrics
2021-08-19 13:52:57 +02:00
Fredrik Adelöw b264938afe fix test
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-19 11:38:33 +02:00
Patrik Oldsberg d567002f82 Merge pull request #6820 from Symbianx/fix-no-type-in-sentry-widget
Fix Sentry widget showing [No Type]
2021-08-19 11:38:29 +02:00
Fredrik Adelöw 5d852c1151 named counts
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-19 11:10:10 +02:00
Fredrik Adelöw 24b6045691 create metrics only if not already existing
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-19 10:55:16 +02:00
Johan Haals be87a0e96d Revert refresh interval
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-08-19 10:52:09 +02:00
Johan Haals 43ffcc4647 Remove wip code
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-08-19 10:52:09 +02:00
Johan Haals b9f66a0d21 Add entity type metrics
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-08-19 10:52:09 +02:00
Johan Haals 693a17fcdc Instrument catalog with prometheus
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-08-19 10:51:42 +02:00
Patrik Oldsberg 3bc009287c catalog-plugin-react: clarified messaging around deleting entities from configured locations
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-18 18:48:46 +02:00
@pawelmitka d622cfad17 feat(plugin-scaffolder-backend): provide option to require Code Owners in GitHub
In order to make creation of a new repository more powerful option to enable 'Require review from Code Owners' has been added. The default behavior is that this option is disabled as with the current behavior. However, adding `requireCodeOwnersReview: true` in context input enables it.

Signed-off-by: @pawelmitka <pawel.mitka@brainly.com>
2021-08-18 17:13:02 +02:00
Fredrik Adelöw 54b441abe3 Introduce LdapOrgEntityProvider
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-18 15:49:09 +02:00
Oliver Sand 557faeb7e1 Merge pull request #6866 from SDA-SE/feat/org-transform-msgraph
Pass along a `OrganizationTransformer` to the read step
2021-08-18 12:40:56 +02:00
Johan Haals 807c5f8704 Merge pull request #6822 from backstage/jhaals/refresh-timer
catalog-backend: Add refresh interval function
2021-08-18 11:29:38 +02:00
Oliver Sand ee99798da7 Correct version requirements on postgres from 11 to 12 (#6863)
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-18 11:19:25 +02:00
Fredrik Adelöw 4c31ff72d8 Merge pull request #6736 from adamdmharvey/search-log-msg
chore(search-backend): Improve search query log message
2021-08-18 10:28:25 +02:00
Oliver Sand be498d22fe Pass along a OrganizationTransformer to the read step
Follow up to #6855

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-18 09:05:54 +02:00
Fredrik Adelöw 7c1e6deefe Merge pull request #6855 from backstage/freben/msgraph-user-transform
Support passing a UserTransformer through the processor to the reader
2021-08-18 08:38:43 +02:00
Tim Hansen 4f1a43ea39 Merge pull request #6862 from kuangp/chore/UnregisterEntityDialog
chore(UnregisterEntityDialog): migrate to catalog-react
2021-08-17 17:03:25 -06:00
Phil Kuang 2105d608f9 chore(UnregisterEntityDialog): migrate to catalog-react
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-08-17 17:53:04 -04:00
Tim Hansen 36713842f0 Merge pull request #6854 from SDA-SE/feat/field-id
Set field id in scaffolder
2021-08-17 15:50:34 -06:00
Oliver Sand 9f9b808f96 Review comments
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-17 23:28:36 +02:00
Fredrik Adelöw 77cdc5a842 Support passing a UserTransformer through the processor to the reader
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-17 19:40:06 +02:00
Oliver Sand 3281b75ea2 Update API report
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-17 18:13:55 +02:00
Oliver Sand 24d0e1ea12 Set field id in scaffolder
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-17 17:41:18 +02:00
Patrik Oldsberg 879a98ca3b auth-backend: fix origin filter tests on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-17 17:25:06 +02:00
samiramkr 5cb7eead4f Merge pull request #6772 from backstage/mob/auth-origins
Auth backend: add support for authenticating from additional app origins
2021-08-17 15:18:35 +02:00
Johan Haals ba01a6bcdf Parse date correctly, drop math.Floor
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-08-17 14:59:07 +02:00
Ruben Lindström 2b7d3455b5 Composable Homepage (#6486)
feat: implement homepage plugin
2021-08-17 14:44:30 +02:00
Patrik Oldsberg 8f2c880b80 todo-backend: fix TodoScmReader caching logic
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-17 13:59:01 +02:00
Patrik Oldsberg 89966c0c37 todo-backend: filter out large or binary files + deduplicate in-flight requests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-17 13:58:52 +02:00
Djamaile Rahamat 3ecd591475 fix: ignore images and files that are bigger than/equal 200k
Signed-off-by: Djamaile Rahamat <drahamat@bol.com>
2021-08-17 13:58:51 +02:00
Johan Haals d155fedfc4 Floor random number
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-08-17 13:46:37 +02:00
Johan Haals 4f685aac96 Update comments
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-08-17 13:17:55 +02:00
Samira Mokaram 5ab35b84ec fix check api report
Signed-off-by: Samira Mokaram <samiram@spotify.com>
2021-08-17 12:00:05 +02:00
Samira Mokaram 5132ae873d fix test
Signed-off-by: Samira Mokaram <samiram@spotify.com>
2021-08-17 11:45:03 +02:00
Patrik Oldsberg 90f25476ac config,backend-common: move config subscribe method to the base config interface
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-16 10:41:07 +02:00