Commit Graph

96 Commits

Author SHA1 Message Date
Backstage Service Account 0a706991b5
Version Packages (#4848)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-05 06:23:27 -05:00
dfl-aeb 9b53e9b59f
fix(search-backend-module-confluence-collator): refine CQL query generation for spaces and query (#4017)
Previously, the Confluence collator would generate an invalid CQL query
of the form `() and (label="test")` if the `spaces` configuration was
empty or not provided, but a `query` was specified. This resulted in
no search results.

This commit refines the CQL query generation logic to correctly handle
different combinations of `spaces` and `query` parameters:
- If only `spaces` are provided, the query will be `space=S1 or space=S2`.
- If only `query` is provided, the query will be `your_query_here`.
- If both `spaces` and `query` are provided, they will be combined
  as `(space="S1" or space="S2") and (your_query_here)`.
- If neither is provided, the default query to fetch all content types
  (`type IN (page, blogpost, comment, attachment)`) is used.

Additionally, new test cases have been added to cover these scenarios,
and the plugin documentation has been updated to clarify the behavior
of these parameters.

Signed-off-by: GitLab CI <128792991+dfl-aeb@users.noreply.github.com>
2025-08-05 11:06:28 +00:00
Backstage Service Account 16b52d60c9
Version Packages (#4618)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-16 13:24:51 +00:00
Paul Frybarger 106dd40a33
feat(confluence): add support for scoped api tokens (#4615)
Signed-off-by: Paul Frybarger <pfrybar@frymail.net>
2025-07-16 08:16:50 -05:00
Backstage Service Account aed7baaead
Version Packages (#4542)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-04 07:21:36 -05:00
Backstage Service Account 8298b3669d
confluence - version:bump to v1.40.2 (#4507)
* v1.40.2 version bump

* Updated API Report

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

---------

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andre Wanlin <awanlin@spotify.com>
2025-07-04 07:06:20 -05:00
Kashish Mittal 7c56d99f8a
include knip report checks in ci (#4046)
* include knip report checks in ci

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* add logs to debug workflow

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* fix workflow

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* regen knip reports

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* ignore prettier for  knip-report.md

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* add build:knip-reports script to all workspaces

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

---------

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2025-06-02 13:29:06 -04:00
Backstage Service Account 930f3a46ce
Version Packages (#4012)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-20 18:08:00 -05:00
Backstage Service Account 3b26c6bbac
confluence - version:bump to v1.38.1 (#3964)
* v1.38.1 version bump

* manual jsx related updates

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

---------

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kashish Mittal <kmittal@redhat.com>
2025-05-16 12:19:44 -04:00
Backstage Service Account 11bc794253
Version Packages (#3801)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-07 11:45:51 -04:00
yashverisk 7f9ae736ad
Added Rate Limiting in Confluence Plugin (#2976)
* Added Rate Limiting

Signed-off-by: Yashvardhan Singh nathawat <yashvardhan.nathawat@verisk.com>

* Changed the variable name

Signed-off-by: Yashvardhan Singh nathawat <yashvardhan.nathawat@verisk.com>

* Edited the documentation based on pr comments

Signed-off-by: Yashvardhan Singh nathawat <yashvardhan.nathawat@verisk.com>

* Edited the config  based on pr comments

Signed-off-by: Yashvardhan Singh nathawat <yashvardhan.nathawat@verisk.com>

* confluence: api-reports for maxRequestsPerSecond

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>

---------

Signed-off-by: Yashvardhan Singh nathawat <yashvardhan.nathawat@verisk.com>
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Co-authored-by: Yashvardhan Singh Nathawat <yashvardhan.nathawat@verisk.com>
Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2025-04-22 14:20:36 +02:00
Beth Griggs 491247a29f workspaces: add Node.js 22 to engines field across all workspaces
Manually updates the "engines" field of all workspace package.json files
to include Node.js 22. This intentionally replaces part of the generated
rennovate PR which attempted to globally replace rather than add Node.js
22 to the engines field.

For both community-plugins-maintainers and sda-se-reviewers owned
workspaces Node.js 18 is removed.

Note that this is only updates the workspace package.json - therefore it
should not impact end users installing plugins.

Refs: https://github.com/backstage/community-plugins/pull/2403
Signed-off-by: Beth Griggs <bethanyngriggs@gmail.com>
2025-04-17 15:21:51 +01:00
Backstage Service Account 08bd886666
Version Packages (#3424)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-22 17:25:21 -05:00
Backstage Service Account 5b8d4b098e
confluence - version:bump to v1.37.0 (#3396)
* v1.37.0 version bump

* Updated API Report

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

---------

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andre Wanlin <awanlin@spotify.com>
2025-03-22 17:02:18 -05:00
Kashish Mittal ed0156311a
clean-up: remove false positives from knip reports (#3018)
* clean-up: remove false positives from knip reports

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* yarn dedupe

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* fix tests

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* fix failing tests

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* yarn dedupe

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

---------

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2025-03-11 09:15:01 -05:00
Backstage Service Account c9d883ed70
Version Packages (#3167)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-05 14:59:07 -06:00
Alex McKay 53df32aab0
add confluence search result type (#3166)
Signed-off-by: Alex McKay <amckay@spotify.com>
2025-03-05 14:40:20 -06:00
Backstage Service Account b7d89ee8b3
Version Packages (#3162)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-05 12:43:56 -06:00
Backstage Service Account 53f211fab0
v1.36.1 version bump (#3157)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-05 12:35:41 -06:00
Juan Pablo Garcia Ripa 8e79ab5a57
fix lint issues (#2848)
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2025-02-14 21:03:11 +00:00
Juan Pablo Garcia Ripa ddd2878e14
update yarn to v4 (#2519)
* add yarn update docs and script

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* update docs

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* add contributing note

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* update yarn to v4

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* update lockfile on every workspace

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* declare existing csstype resolutions

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* dedupe workspaces

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

* disable lint issues

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>

---------

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2025-02-13 00:25:26 +01:00
Backstage Service Account cc944f4e31
Version Packages (#2819)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-06 20:21:13 +01:00
Tyler Plass 0a80de6649
Fix search config example in community-plugins/workspaces/confluence/plugins/search-backend-module-confluence-collator/README.md (#2811)
Signed-off-by: Tyler Plass <tplass@integralads.com>
2025-02-05 18:52:35 +00:00
Backstage Service Account d04afafb11
Version Packages (#2761)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-02 10:45:37 -06:00
Backstage Service Account 75f74353d4
v1.35.1 version bump (#2750)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-02 10:37:28 -06:00
Andre Wanlin 82e09022c4
various - Removed backend import from alpha export (#2644)
* various - Remove backend import from alpha export

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

* mta corrections

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

---------

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
Co-authored-by: Kashish Mittal <113269381+04kash@users.noreply.github.com>
2025-02-01 18:37:28 +00:00
Backstage Service Account 8ba4416564
Version Packages (#2521)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-15 19:04:05 -05:00
Andre Wanlin 18c36d868a
confluence - Removed usages of `@backstage/backend-tasks` (#2358)
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
Co-authored-by: Kashish Mittal <113269381+04kash@users.noreply.github.com>
2025-01-15 23:51:14 +00:00
Andre Wanlin 079b5ed71e
various - Removed `@backstage/backend-common` in place it would have no impact (#2483)
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-01-15 14:16:15 +00:00
Backstage Service Account 9293799ff2
Version Packages (#2476)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-14 13:58:58 +01:00
Alex McKay 5431e37f9d
Update confluence collator documentation & fix edge case (#2463)
* update confluence config & docs

Signed-off-by: Alex McKay <amckay@spotify.com>

* add unit tests for collator factory

Signed-off-by: Alex McKay <amckay@spotify.com>

* make cql docs reference a hyperlink

Signed-off-by: Alex McKay <amckay@spotify.com>

---------

Signed-off-by: Alex McKay <amckay@spotify.com>
2025-01-10 12:05:50 -06:00
Backstage Service Account dfa0a7da40
Version Packages (#2456)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-07 09:40:05 -06:00
Alex McKay 6757d87692
Improve rendering of previews for Confluence search results (#2447)
* update searchResultItem to truncate excerpt text

Signed-off-by: Alex McKay <amckay@spotify.com>

* add overflow check for non highlighted text result

Signed-off-by: Alex McKay <amckay@spotify.com>

* make ellipses at the end of excerpt conditional

Signed-off-by: Alex McKay <amckay@spotify.com>

---------

Signed-off-by: Alex McKay <amckay@spotify.com>
2025-01-07 09:25:05 +01:00
Andre Wanlin 1751e05301
Various workspaces - Removed usages of `concurrently` (#2362)
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-12-24 14:36:48 -06:00
Backstage Service Account 7ac2280ed4
Version Packages (#2389)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-24 13:11:29 -06:00
Backstage Service Account cfd41741b4
confluence - version:bump to v1.34.2 (#2381)
* v1.34.2 version bump

* Manual changes

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

---------

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andre Wanlin <awanlin@spotify.com>
2024-12-24 11:28:13 -06:00
Backstage Service Account ae03e9884b
Version Packages (#2357)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-24 09:53:46 -06:00
Alex McKay f4ea9a2801
Update confluence plugin to support new FE system (#2234)
* add app-next for confluence

Signed-off-by: Alex McKay <amckay@spotify.com>

* add support for new FE system

Signed-off-by: Alex McKay <amckay@spotify.com>

* update readme

Signed-off-by: Alex McKay <amckay@spotify.com>

* add changeset for collator typo fix

Signed-off-by: Alex McKay <amckay@spotify.com>

---------

Signed-off-by: Alex McKay <amckay@spotify.com>
Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2024-12-24 14:48:43 +00:00
Kashish Mittal c4c7903858
make knip a devDependency (#2025)
* move knip to devDependencies

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* fix rbac ci failures

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

---------

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
Signed-off-by: Kashish Mittal <113269381+04kash@users.noreply.github.com>
2024-12-13 13:08:12 +01:00
Backstage Service Account 157ed2cc07
Version Packages (#1899)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-08 16:51:10 +01:00
MT Lewis 32114784ba
confluence-collator: make parallelismLimit optional (#1820)
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-08 16:43:41 +01:00
Backstage Service Account 03e6eb5093
Version Packages (#1853)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-06 08:23:32 -05:00
knowacki23 e45e2f82f7
Remove unused @backstage/backend-common package from dependencies. (#1826)
Signed-off-by: Nowacki, Kacper <kacper.nowacki@dynatrace.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2024-11-06 12:29:28 +01:00
Christoph Jerolimov e5cd1d3dea
chore(ci): ignore private repositories (esp. backstage app, backend) when release plugins (#1510)
Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2024-11-04 16:48:25 +00:00
Backstage Service Account 1c7bf24379
Version Packages (#1598)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-18 19:47:02 -05:00
Backstage Service Account e4aaaf65a1
confluence - version:bump to v1.32.2 (#1589)
* v1.32.2 version bump

* Updated API Reports

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

---------

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andre Wanlin <awanlin@spotify.com>
2024-10-18 19:33:21 -05:00
Vincenzo Scamporlino fe58d3dc75 confluence: remove span
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-09-24 11:13:37 +02:00
Vincenzo Scamporlino 2a7e99d35d confluence-collator: fix api reports
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-09-24 11:13:37 +02:00
Vincenzo Scamporlino 63cc5fab4e confluence: rollback packageDocumentation comment
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-09-24 11:13:37 +02:00
Vincenzo Scamporlino 797b7ada67 confluence: fix linting issues
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2024-09-24 11:13:37 +02:00