Commit Graph

1033 Commits

Author SHA1 Message Date
github-actions[bot] d4df1fbb2e Version Packages (next) 2022-10-25 13:18:27 +00:00
Johan Haals 3758f4a7c2 chore: simplify date parsing
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-25 14:40:40 +02:00
Johan Haals 89e86f467f chore: refactor https expiration logic
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-25 10:03:16 +02:00
Johannes Grumboeck 6e16a040ae fix: run prettier
Signed-off-by: Johannes Grumboeck <johannes@grumboeck.net>
2022-10-24 20:12:36 +02:00
Johannes Grumboeck 296e3ac84a fix: @types/node-forge needs to be dev-dependency
Signed-off-by: Johannes Grumboeck <johannes@grumboeck.net>
2022-10-24 20:12:36 +02:00
Johannes Grumboeck 374e65c679 feat: own function for certificate expiration
Signed-off-by: Johannes Grumboeck <johannes@grumboeck.net>
2022-10-24 20:12:35 +02:00
Johannes Grumboeck a17a7a6cc1 chore: use import for node-forge instead of require
Signed-off-by: Johannes Grumboeck <johannes@grumboeck.net>
2022-10-24 20:12:35 +02:00
Johannes Grumboeck 35f292c9f7 fix(backend): run prettier and yarn add node-forge
Signed-off-by: Johannes Grumboeck <johannes@grumboeck.net>
2022-10-24 20:12:35 +02:00
Johannes Grumboeck 7e739e6009 fix(backend): Type is not assignable
Signed-off-by: Johannes Grumboeck <johannes@grumboeck.net>
2022-10-24 20:12:34 +02:00
Johannes Grumboeck 88ac2dd220 fix(backend): Object is possibly 'undefined'
Signed-off-by: Johannes Grumboeck <johannes@grumboeck.net>
2022-10-24 20:12:34 +02:00
Johannes Grumboeck 55227712dd fix(backend): fix certificate validation
Signed-off-by: Johannes Grumboeck <johannes@grumboeck.net>
2022-10-24 20:12:33 +02:00
Johan Haals e60bd847b3 Merge pull request #14056 from atoko/atoko/gitea/scmintegration
Gitea SCM integration / URL Reader
2022-10-24 16:11:22 +02:00
renovate[bot] 59bfef78a3 Update dependency @keyv/redis to v2.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-24 09:32:40 +02:00
Pedro Cardona d05e1841ce Adds gitea to supported set of SCM integrations
Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

GiteaUrlReader readUrl implementation.
Currently relies on content being base64 encoded

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Prettify changed files

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Changeset for gitea integration

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Include gitea in Vale vocabulary, run Lint / Prettier

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Update api-reports

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Lint packages/integration/*
Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Fix getGiteaFileContentsUrl, split changesets

The previous file contents url code was missing a segment, (/branch), and was causing the loader to 404. (The intended functionality is to use the same URL you would use to view the file in gitea)
Changesets for the integration and backend-common packages were split
This commit also adds documentation relevant to the gitea integration

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>
Signed-off-by: Pedro Cardona <1724279+atoko@users.noreply.github.com>
2022-10-23 20:56:56 -04:00
Johan Haals 1420dfb169 Add api report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-20 15:01:50 +02:00
Johan Haals c11ab0f35b chore: remove unused logger
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-20 15:01:49 +02:00
Johan Haals a7607b5413 backend-common: Deprecate read in favour of readUrl in UrlReader
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-10-20 15:01:49 +02:00
Johan Haals 2e9329831f Merge pull request #14192 from Bonial-International-GmbH/pjungermann/github/naming-part2
chore(integration): use consistent naming of `[gG]ithub` in code
2022-10-20 09:41:56 +02:00
Patrick Jungermann c1784a4980 chore(integration): use consistent naming of [gG]ithub in code
Relates to the discussion at PR #14039.

Relates-to: PR #14039
Relates-to: PR #14174
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-10-19 16:11:53 +02:00
github-actions[bot] f0196a2f04 Version Packages 2022-10-18 09:55:10 +00:00
Andre Wanlin e8d7976413 Added back support for when no branch is provided for the Bitbucket Server UrlReader
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2022-10-12 14:51:50 -05:00
github-actions[bot] 9282c018c7 Version Packages (next) 2022-10-11 14:30:05 +00:00
Patrik Oldsberg c59f64df86 Merge pull request #13990 from DavidZemon/feature/bb-server-fix
fix: [#13560] Pull commit hash for branch names by branch query
2022-10-09 23:57:32 +02:00
Fredrik Adelöw 2d3a5f09ab json
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-10-06 15:00:36 +02:00
David Zemon c44cf412de fix: [#13560] Pull commit hash for branch names by branch query
Using the commits API was unstable and broke for branches with a '/'.
Using the branches API works for any branch and is documented in the
Atlassian API docs:
https://docs.atlassian.com/bitbucket-server/rest/7.9.0/bitbucket-rest.html#idp209

Signed-off-by: David Zemon <david@zemon.name>
2022-10-04 11:19:56 -05:00
github-actions[bot] 721c1efdb4 Version Packages (next) 2022-10-04 12:08:16 +00:00
Patrik Oldsberg d45fc41bc7 backend-common: tweak DatabaseManager
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-10-03 23:14:32 +02:00
blam dcedf1bab5 chore: store the promise instead to combat race conditions
Signed-off-by: blam <ben@blam.sh>
2022-10-03 15:15:23 +02:00
blam ac8a72ed3b chore: cache the database calls and return the cached one if available
Signed-off-by: blam <ben@blam.sh>
2022-10-03 14:35:28 +02:00
github-actions[bot] 4e94720142 Version Packages (next) 2022-09-27 10:57:53 +00:00
Patrik Oldsberg be5a837259 migrate to use workspace ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:53 +02:00
github-actions[bot] 30882884a4 Version Packages 2022-09-20 11:52:02 +00:00
Ben Lambert f969132b94 Merge pull request #13728 from backstage/rugvip/zipfix
backend-common: fix for zip entries being skipped
2022-09-19 09:20:33 -04:00
Patrik Oldsberg 0c780278e0 backend-common: fix for zip entries being skipped
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-19 14:24:41 +02:00
Magnus Persson a8abe6757b Merge branch 'backstage:master' into feature/git-wrapper-branch-command 2022-09-19 09:33:52 +02:00
github-actions[bot] 423e01d903 Version Packages (next)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-13 18:00:17 -04:00
Magnus Persson 709f468330 backend-common: wrap branch command
Signed-off-by: Magnus Persson <magnus.persson@fortnox.se>
2022-09-13 11:17:30 +02:00
Patrik Oldsberg 96689fbdcb backend-common: workaround for database client being collected before interval
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-07 16:48:30 +02:00
github-actions[bot] f275697d2b Version Packages (next) 2022-09-06 13:11:16 +00:00
Ben Lambert c04161b8a3 Merge pull request #12953 from immobiliare/feat/added-ports-range
feat(backend-common): added ports range
2022-09-06 12:21:44 +02:00
Antonio Musolino e3b1993788 feat(backend-common): added ports range
Signed-off-by: Antonio Musolino <antoniomusolino007@gmail.com>
2022-09-06 12:01:05 +02:00
renovate[bot] 667d917488 chore(deps): update dependency msw to ^0.47.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-06 07:09:16 +00:00
Fredrik Adelöw e40883d287 Merge pull request #13504 from backstage/freben/SSSSS
🧹  just get rid of some String
2022-09-02 16:39:01 +02:00
Fredrik Adelöw 2f52e74b49 just get rid of some String
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-02 13:21:15 +02:00
Matteo Silvestri c28b1f1826 fix tests and add inline doc
Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
2022-09-02 11:04:21 +02:00
Matteo Silvestri 691161fc49 revert failed test
Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
2022-09-01 17:10:27 +02:00
Matteo Silvestri bf3cc134eb add changeset
Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
2022-09-01 15:13:31 +02:00
Matteo Silvestri 178d4b69d0 fix linting
Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
2022-09-01 12:42:53 +02:00
Matteo Silvestri 4bcfda3ba5 Merge remote-tracking branch 'upstream/master'
Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
2022-09-01 12:13:28 +02:00
Matteo Silvestri 9b05fd5f93 apply requested pr changes
Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
2022-09-01 11:49:59 +02:00