From 7f2468e7ee03ab85f6a299ee81c5e53909ec34bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Je=C5=99=C3=A1bek=20=28Jiri=20Jerabek=29?= Date: Fri, 15 Sep 2023 14:07:49 +0200 Subject: [PATCH] Release 4.7.2 (#4265) * fix changelog naming * bump version to 4.7.2 * always display_repositories=true in 4.7 No-Issue --- CHANGES.rst | 52 +++++++++++++++++++ CHANGES/2241.feature | 1 - CHANGES/2245.task | 1 - CHANGES/2248.task | 1 - CHANGES/2250.task | 1 - CHANGES/2251.task | 1 - CHANGES/2255.feature | 1 - CHANGES/2261.task | 1 - CHANGES/2271.feature | 1 - CHANGES/2301.feature | 1 - CHANGES/2324.bug | 1 - CHANGES/2340.bugfix | 1 - CHANGES/2342.bug | 1 - CHANGES/2366.bug | 1 - CHANGES/2433.bug | 1 - CHANGES/2443.bug | 1 - CHANGES/2586.bug | 1 - CHANGES/2625.bug | 1 - CHANGES/2670.bug | 1 - ansible-hub-ui/__init__.py | 2 +- src/components/headers/collection-header.tsx | 2 +- .../namespace-detail/namespace-detail.tsx | 2 +- src/containers/search/search.tsx | 2 +- 23 files changed, 56 insertions(+), 22 deletions(-) delete mode 100644 CHANGES/2241.feature delete mode 100644 CHANGES/2245.task delete mode 100644 CHANGES/2248.task delete mode 100644 CHANGES/2250.task delete mode 100644 CHANGES/2251.task delete mode 100644 CHANGES/2255.feature delete mode 100644 CHANGES/2261.task delete mode 100644 CHANGES/2271.feature delete mode 100644 CHANGES/2301.feature delete mode 100644 CHANGES/2324.bug delete mode 100644 CHANGES/2340.bugfix delete mode 100644 CHANGES/2342.bug delete mode 100644 CHANGES/2366.bug delete mode 100644 CHANGES/2433.bug delete mode 100644 CHANGES/2443.bug delete mode 100644 CHANGES/2586.bug delete mode 100644 CHANGES/2625.bug delete mode 100644 CHANGES/2670.bug diff --git a/CHANGES.rst b/CHANGES.rst index 46dabf3b52..95a1e6ca62 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,55 @@ +4.7.2 (2023-09-14) +================== + +Features +-------- + +- Expose legacy role download count in the UI + `AAH-2241 `_ +- Repository tests - detail, list. + `AAH-2245 `_ +- cypress tests for Approval with multiple repositories + `AAH-2248 `_ +- add collection upload modal + refactor Approve Modal - extract multiple repo selector and use it both in ApproveModal and UploadModal. + `AAH-2250 `_ +- Cypress tests for collection upload with multiple repositories. + `AAH-2251 `_ +- Add copy collection version in collection detail screen + `AAH-2255 `_ +- Delete collection or version from repo only. + `AAH-2261 `_ +- Repository list - add columns, filters + `AAH-2271 `_ +- Repository sync - modal to set mirror, optimize + `AAH-2301 `_ + + +Bugfixes +-------- + +- community - fix token page expiration notice when auth provider is github + `AAH-2324 `_ +- Repositories, Remotes - clean filter text on search + `AAH-2340 `_ +- Support old galaxy URLs outside of base path, disambiguate + `AAH-2342 `_ +- Approval dashboard: fix when more than 10 staging repos + `AAH-2366 `_ +- Fix Namespaces/Partners breadcrumb + `AAH-2433 `_ +- Namespace detail: use is_highest consistently + `AAH-2443 `_ +- Better choice of distribution when multiple per repo + `AAH-2586 `_ +- Add autocomplete=off to login form fields + `AAH-2625 `_ +- Fix dispatch page filter param + `AAH-2670 `_ + + +---- + + 4.7.1 (2023-05-23) ================== diff --git a/CHANGES/2241.feature b/CHANGES/2241.feature deleted file mode 100644 index a9ba78be15..0000000000 --- a/CHANGES/2241.feature +++ /dev/null @@ -1 +0,0 @@ -Expose legacy role download count in the UI diff --git a/CHANGES/2245.task b/CHANGES/2245.task deleted file mode 100644 index 83851a64a1..0000000000 --- a/CHANGES/2245.task +++ /dev/null @@ -1 +0,0 @@ - Repository tests - detail, list. diff --git a/CHANGES/2248.task b/CHANGES/2248.task deleted file mode 100644 index 101d4c9c81..0000000000 --- a/CHANGES/2248.task +++ /dev/null @@ -1 +0,0 @@ -cypress tests for Approval with multiple repositories diff --git a/CHANGES/2250.task b/CHANGES/2250.task deleted file mode 100644 index 0a0179c6ac..0000000000 --- a/CHANGES/2250.task +++ /dev/null @@ -1 +0,0 @@ -add collection upload modal + refactor Approve Modal - extract multiple repo selector and use it both in ApproveModal and UploadModal. diff --git a/CHANGES/2251.task b/CHANGES/2251.task deleted file mode 100644 index 123762607c..0000000000 --- a/CHANGES/2251.task +++ /dev/null @@ -1 +0,0 @@ -Cypress tests for collection upload with multiple repositories. diff --git a/CHANGES/2255.feature b/CHANGES/2255.feature deleted file mode 100644 index 42b9b7b015..0000000000 --- a/CHANGES/2255.feature +++ /dev/null @@ -1 +0,0 @@ -Add copy collection version in collection detail screen diff --git a/CHANGES/2261.task b/CHANGES/2261.task deleted file mode 100644 index e4791f168c..0000000000 --- a/CHANGES/2261.task +++ /dev/null @@ -1 +0,0 @@ - Delete collection or version from repo only. diff --git a/CHANGES/2271.feature b/CHANGES/2271.feature deleted file mode 100644 index 10c1a22d63..0000000000 --- a/CHANGES/2271.feature +++ /dev/null @@ -1 +0,0 @@ -Repository list - add columns, filters diff --git a/CHANGES/2301.feature b/CHANGES/2301.feature deleted file mode 100644 index 7850bcb883..0000000000 --- a/CHANGES/2301.feature +++ /dev/null @@ -1 +0,0 @@ -Repository sync - modal to set mirror, optimize diff --git a/CHANGES/2324.bug b/CHANGES/2324.bug deleted file mode 100644 index f748a14b35..0000000000 --- a/CHANGES/2324.bug +++ /dev/null @@ -1 +0,0 @@ -community - fix token page expiration notice when auth provider is github diff --git a/CHANGES/2340.bugfix b/CHANGES/2340.bugfix deleted file mode 100644 index cc89091aff..0000000000 --- a/CHANGES/2340.bugfix +++ /dev/null @@ -1 +0,0 @@ -Repositories, Remotes - clean filter text on search diff --git a/CHANGES/2342.bug b/CHANGES/2342.bug deleted file mode 100644 index 083bfc4635..0000000000 --- a/CHANGES/2342.bug +++ /dev/null @@ -1 +0,0 @@ -Support old galaxy URLs outside of base path, disambiguate diff --git a/CHANGES/2366.bug b/CHANGES/2366.bug deleted file mode 100644 index 27c96d66ae..0000000000 --- a/CHANGES/2366.bug +++ /dev/null @@ -1 +0,0 @@ -Approval dashboard: fix when more than 10 staging repos diff --git a/CHANGES/2433.bug b/CHANGES/2433.bug deleted file mode 100644 index 319267d9f4..0000000000 --- a/CHANGES/2433.bug +++ /dev/null @@ -1 +0,0 @@ -Fix Namespaces/Partners breadcrumb diff --git a/CHANGES/2443.bug b/CHANGES/2443.bug deleted file mode 100644 index eaec713c38..0000000000 --- a/CHANGES/2443.bug +++ /dev/null @@ -1 +0,0 @@ -Namespace detail: use is_highest consistently diff --git a/CHANGES/2586.bug b/CHANGES/2586.bug deleted file mode 100644 index e434accccb..0000000000 --- a/CHANGES/2586.bug +++ /dev/null @@ -1 +0,0 @@ -Better choice of distribution when multiple per repo diff --git a/CHANGES/2625.bug b/CHANGES/2625.bug deleted file mode 100644 index 31ee1f94d3..0000000000 --- a/CHANGES/2625.bug +++ /dev/null @@ -1 +0,0 @@ -Add autocomplete=off to login form fields diff --git a/CHANGES/2670.bug b/CHANGES/2670.bug deleted file mode 100644 index 31fe48d821..0000000000 --- a/CHANGES/2670.bug +++ /dev/null @@ -1 +0,0 @@ -Fix dispatch page filter param diff --git a/ansible-hub-ui/__init__.py b/ansible-hub-ui/__init__.py index cc72154c1b..98c926d162 100644 --- a/ansible-hub-ui/__init__.py +++ b/ansible-hub-ui/__init__.py @@ -1 +1 @@ -__version__ = "4.7.1" +__version__ = "4.7.2" diff --git a/src/components/headers/collection-header.tsx b/src/components/headers/collection-header.tsx index 02fdf11289..76ea6faa60 100644 --- a/src/components/headers/collection-header.tsx +++ b/src/components/headers/collection-header.tsx @@ -201,7 +201,7 @@ export class CollectionHeader extends React.Component { const { display_signatures, can_upload_signatures } = this.context.featureFlags; - const display_repositories = true; + const display_repositories = true; // no feature flag in 4.7 const signedString = () => { if (!display_signatures) { diff --git a/src/containers/namespace-detail/namespace-detail.tsx b/src/containers/namespace-detail/namespace-detail.tsx index fbecc79147..9f3e7cf708 100644 --- a/src/containers/namespace-detail/namespace-detail.tsx +++ b/src/containers/namespace-detail/namespace-detail.tsx @@ -938,7 +938,7 @@ export class NamespaceDetail extends React.Component { private renderCollectionControls(collection: CollectionVersionSearch) { const { hasPermission } = this.context; const { showControls } = this.state; - const { display_repositories } = this.context.featureFlags; + const display_repositories = true; // no feature flag in 4.7 if (!showControls) { return; diff --git a/src/containers/search/search.tsx b/src/containers/search/search.tsx index b792fbf8c4..05d39be1f8 100644 --- a/src/containers/search/search.tsx +++ b/src/containers/search/search.tsx @@ -363,7 +363,7 @@ class Search extends React.Component { private renderMenu(list, collection) { const { hasPermission } = this.context; - const { display_repositories } = this.context.featureFlags; + const display_repositories = true; // no feature flag in 4.7 const menuItems = [ DeleteCollectionUtils.deleteMenuOption({