Johan Haals
07842fe7ca
chore: remove timeout
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2021-11-25 10:49:03 +01:00
Johan Haals
331cedd06f
fix build script
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2021-11-25 10:46:05 +01:00
Patrik Oldsberg
3f320fb922
scaffolder-backend: more reliable error matching in SecureTemplater tests
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-25 10:43:05 +01:00
Patrik Oldsberg
f514044f8d
scaffolder-backend: clarify purpose of nunjucks build script
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 21:04:12 +01:00
Patrik Oldsberg
e7cc6bf28f
scaffolder-backend: refactor SecureTemplater to use separate sandboxes
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 21:02:11 +01:00
Patrik Oldsberg
4f268b8ef1
scaffolder-backend: use a const reference to helpers in the SecureTemplater
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 21:02:11 +01:00
Patrik Oldsberg
dd62ca4bcd
scaffolder-backend: fixes for mock-fs interfering with nunjucks loading
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:58:20 +01:00
Patrik Oldsberg
621e1a11be
scaffolder-backend: fix SecureTemplater cookiecutter compat using wrong syntax
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:56:16 +01:00
Patrik Oldsberg
7e8d5d953d
scaffolder-backend: switch template action to use SecureTemplater
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:56:16 +01:00
Patrik Oldsberg
07daffed47
scaffolder-backend: switch jsonify flag for cookiecutter compat render option
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:56:16 +01:00
Patrik Oldsberg
7b5430fc82
scaffolder-backend: switch nunjucks runner to use secure templater
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:56:16 +01:00
Patrik Oldsberg
0e016783b6
scaffolder-backend: make SecureTemplater render sync
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:43 +01:00
Patrik Oldsberg
6facaab24c
scaffolder-backend: jsonify + repoUrl helpers for SecureTemplater + error wrapping
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:42 +01:00
Patrik Oldsberg
0bb4be63d6
scaffolder-backend: added some basic tests for SecureTemplater
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:42 +01:00
Patrik Oldsberg
21b54689c6
scaffolder-backend: add initial SecureTemplater implementation
...
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:42 +01:00
Patrik Oldsberg
d6da7d706d
scaffolder-backend: generate nunjucks bundle
...
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:42 +01:00
Patrik Oldsberg
547bf85a62
scaffolder-backend: add build script for bundling nunjucks
...
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:41 +01:00
Mike Lewis
103ca7ec60
Merge pull request #8119 from backstage/permission-node
...
Add @backstage/plugin-permission-node
2021-11-24 17:19:35 +00:00
Ben Lambert
b358cbc3be
Merge pull request #8226 from backstage/blam/relax-log-lines
...
Fixing superfluous log lines by changing the check to see if it's a template string for Scaffolder v3 templates
2021-11-24 16:34:39 +01:00
Fredrik Adelöw
c007c371ed
Merge pull request #8203 from backstage/joonp/entity-filter-empty-values
...
Handle empty values array in EntityFilter
2021-11-24 15:49:10 +01:00
Mike Lewis
370da15e7b
permission-node: separate doc comment summaries with @remarks tag
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:30:21 +00:00
Mike Lewis
aded9bbc22
permission-node: set version to 0.0.0 before initial release
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:20:56 +00:00
Mike Lewis
f5a25ec804
permission-node: fix typo in doc comment
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:19:59 +00:00
Mike Lewis
b08dbb1035
permission-node: destructure options inside function to simplify api-report
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:18:11 +00:00
Fredrik Adelöw
42ebbc18c0
get both gitbeaker packages bumped, and add changeset
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-24 14:21:45 +01:00
dependabot[bot]
e99db76f6a
build(deps): bump @gitbeaker/node from 30.3.0 to 34.4.1
...
Bumps [@gitbeaker/node](https://github.com/jdalrymple/gitbeaker ) from 30.3.0 to 34.4.1.
- [Release notes](https://github.com/jdalrymple/gitbeaker/releases )
- [Changelog](https://github.com/jdalrymple/gitbeaker/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jdalrymple/gitbeaker/compare/30.3.0...34.4.1 )
---
updated-dependencies:
- dependency-name: "@gitbeaker/node"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-24 14:19:24 +01:00
blam
5fd0e077bc
chore: adding test for this bug
...
Signed-off-by: blam <ben@blam.sh >
2021-11-24 14:01:26 +01:00
blam
92405f32bb
bug: should check the children of the first parse, not the root.
...
Signed-off-by: blam <ben@blam.sh >
2021-11-24 13:55:28 +01:00
Johan Haals
a7d3cbf79c
Merge pull request #8212 from backstage/mob/deprecate-register
...
core-plugin-api: Deprecate Plugin register and output
2021-11-24 13:23:44 +01:00
Ben Lambert
138c559231
Merge pull request #8218 from lorsatti/fix/swagger-style
...
Add missing styles to Swagger (dark mode)
2021-11-24 13:19:30 +01:00
Fredrik Adelöw
22f96d7efc
Merge pull request #8172 from goenning/go/azure-devops-discovery
...
adding AzureDevOps Discovery Processor
2021-11-24 13:07:13 +01:00
Fredrik Adelöw
825787e6bd
Merge pull request #8164 from RoadieHQ/infinite-location-loop
...
Fail when adding duplicate locations using the dry run flag
2021-11-24 12:05:48 +01:00
Nicolas Arnold
f658a34178
Using stringEntityRef for comparision
...
Signed-off-by: Nicolas Arnold <nic@roadie.io >
2021-11-24 10:39:59 +00:00
Lorenzo Orsatti
f803ac931e
add missing styles to Swagger (dark mode)
...
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com >
2021-11-23 21:50:46 +01:00
goenning
f1ba6dfb1d
fix comments, support onpremise and paging
...
Signed-off-by: goenning <me@goenning.net >
2021-11-23 19:03:46 +00:00
Johan Haals
a3c5b2f70b
core-plugin-api: Deprecate Plugin register and output
...
Co-authored-by: blam <ben@blam.sh >
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com >
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2021-11-23 16:58:21 +01:00
Patrik Oldsberg
68eddf88a0
Merge pull request #8118 from backstage/rugvip/test-port
...
packages,plugins: migrate to using TestApiProvider and TestApiRegistry
2021-11-23 13:47:51 +01:00
Fredrik Adelöw
0eee3d98b9
Merge pull request #8117 from cbjjensen/add-headers
...
Letting GraphiQL use headers
2021-11-23 11:11:59 +01:00
Fredrik Adelöw
a6b5becf0f
Merge pull request #8202 from backstage/freben/bump-rjsf
...
bump rjsf
2021-11-23 11:11:13 +01:00
Joon Park
740f958290
Handle empty values array in EntityFilter
...
While an empty values array is not really a sensible input, if an empty array is provided, technically nothing should be returned as a matching value, thus the existing behavior was technically a bug.
Signed-off-by: Joon Park <joonp@spotify.com >
2021-11-22 21:07:55 +00:00
Fredrik Adelöw
2d7d165737
bump rjsf
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-22 19:59:52 +01:00
Patrik Oldsberg
8a96019a39
Merge branch 'master' into rugvip/test-port
2021-11-22 17:33:10 +01:00
Patrik Oldsberg
9f9ff42e28
Merge pull request #8193 from backstage/mod/auth-responses
...
auth-backend: use more standardized error responses
2021-11-22 17:28:52 +01:00
Mike Lewis
5bff67aac4
permission-node: expose ApplyConditionsResponse type
...
This type will be shared with the backend.
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-22 15:37:36 +00:00
Mike Lewis
3254303a96
permission-node: refactor and split createPermissionIntegration
...
This refactor makes the createPermissionIntegration system much more
flexible by splitting it up into a few different helpers with different
responsibilities. This frees up plugin authors to connect together the
different parts of the permission integration in whatever way is
convenient for them, and makes the process of registering additional
permission rules a bit more explicit, by requiring them to be passed
in when constructing the systems for transforming or applying
conditions.
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
Co-authored-by: Joon Park <joonp@spotify.com >
Co-authored-by: Tim Hansen <timbonicus@gmail.com >
2021-11-22 15:37:35 +00:00
Mike Lewis
70ce7c91e2
permission-node: bump @backstage/cli version
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-22 15:37:35 +00:00
Mike Lewis
0eb339c3a4
permission-node: more visible condition transform in mapCriteria test
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-22 15:37:35 +00:00
Tim Hansen
27d5f5fed3
Improve api-report
...
Signed-off-by: Tim Hansen <timbonicus@gmail.com >
2021-11-22 15:37:35 +00:00
Mike Lewis
5c5a1d16e4
authz: remove superfluous union type
...
PermissionCriteria<TQuery> is a union type which already includes
TQuery itself, so we don't need a second union here.
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-22 15:37:35 +00:00
Mike Lewis
75dd00c8b6
authz: add missing fields to permission-node package.json
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-22 15:37:35 +00:00