Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:linode/manager into features/app…
Browse files Browse the repository at this point in the history
…lied_filters
  • Loading branch information
nikhagra-akamai committed Dec 6, 2024
2 parents 7cc5507 + 82c8990 commit 704296a
Show file tree
Hide file tree
Showing 142 changed files with 1,125 additions and 327 deletions.
3 changes: 1 addition & 2 deletions packages/api-v4/src/cloudpulse/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,13 @@ export interface CreateAlertDefinitionPayload {
rule_criteria: {
rules: MetricCriteria[];
};
triggerCondition: TriggerCondition;
trigger_condition: TriggerCondition;
channel_ids: number[];
}
export interface MetricCriteria {
metric: string;
aggregation_type: MetricAggregationType;
operator: MetricOperatorType;
value: number;
dimension_filters: DimensionFilter[];
}

Expand Down
5 changes: 5 additions & 0 deletions packages/api-v4/src/object-storage/buckets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@ export const updateBucketAccess = (
setData(params, UpdateBucketAccessSchema)
);

/**
* getObjectStorageEndpoints
*
* Returns a list of Object Storage Endpoints.
*/
export const getObjectStorageEndpoints = ({ filter, params }: RequestOptions) =>
Request<Page<ObjectStorageEndpoint>>(
setMethod('GET'),
Expand Down
1 change: 1 addition & 0 deletions packages/api-v4/src/regions/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type Capabilities =
| 'Distributed Plans'
| 'GPU Linodes'
| 'Kubernetes'
| 'Kubernetes Enterprise'
| 'Linodes'
| 'Managed Databases'
| 'Metadata'
Expand Down
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11242-fixed-1732004091597.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Radio size prop not affecting the radio button's dimensions ([#11242](https://github.com/linode/manager/pull/11242))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11293-fixed-1732102749040.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Convert Object Storage bucket sizes from `GiB` to `GB` in the frontend ([#11293](https://github.com/linode/manager/pull/11293))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11300-fixed-1732196456888.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Create support ticket for buckets created through legacy flow ([#11300](https://github.com/linode/manager/pull/11300))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11310-added-1732287073605.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Added
---

New routes for iam, feature flag and menu item ([#11310](https://github.com/linode/manager/pull/11310))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11326-tests-1732566960471.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Add new assertions for linode backup Cypress tests ([#11326](https://github.com/linode/manager/pull/11326))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Upcoming Features
---

Update Region Select for LKE-Enterprise ([#11348](https://github.com/linode/manager/pull/11348))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11353-removed-1733229097582.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Removed
---

Migrate `FormControlLabel` from `manager` to `ui` package ([#11353](https://github.com/linode/manager/pull/11353))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11355-fixed-1733342647044.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Remove CORS toggle for Object Storage bucket objects ([#11355](https://github.com/linode/manager/pull/11355))
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@linode/manager": Upcoming Features
---

Update Regions/S3 Hostnames interface to match new design guidelines with
improved visualization of multiple storage regions ([#11355](https://github.com/linode/manager/pull/11355))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Upcoming Features
---

Remove Properties tab visibility for users without Gen2 capabilities, and fix duplicate bucket display issue ([#11355](https://github.com/linode/manager/pull/11355))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11356-fixed-1733237715392.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

LinodeCreate OS Panel fetches region with -1 on page load ([#11356](https://github.com/linode/manager/pull/11356))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tech Stories
---

Bump recharts to ^2.14.1 ([#11358](https://github.com/linode/manager/pull/11358))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tech Stories
---

Change Pendo sanitized URL path string ([#11361](https://github.com/linode/manager/pull/11361))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11363-added-1733258836295.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Added
---

Docs link and region availability notice for Accelerated compute plans ([#11363](https://github.com/linode/manager/pull/11363))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11365-tests-1733305182663.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Fix `delete-volume.spec.ts` flaky test ([#11365](https://github.com/linode/manager/pull/11365))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11371-changed-1733409504298.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Changed
---

DBaaS : Updated copy, placeholders, and button text in Access Controls, fixed default DB value for legacy instances ([#11371](https://github.com/linode/manager/pull/11371))
24 changes: 12 additions & 12 deletions packages/manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## [2024-11-19] - v1.132.1
## [2024-11-22] - v1.132.2

### Changed:

- Change "Application Platform for LKE" to "Akamai App Platform"([#11312](https://github.com/linode/manager/pull/11312))

## [2024-11-19] - v1.132.1

### Fixed:

- Disable shared CPU whenever APL is enabled ([#11284](https://github.com/linode/manager/pull/11284))

## [2024-11-12] - v1.132.0


### Added:

- Tooltip for 'Usable Storage' in Create/Resize Database Table ([#11223](https://github.com/linode/manager/pull/11223))
Expand Down Expand Up @@ -42,7 +46,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Misaligned table headers in Account Maintenance page ([#11099](https://github.com/linode/manager/pull/11099))
- Database create page form being enabled for restricted users ([#11137](https://github.com/linode/manager/pull/11137))
- Faux bold in Safari with `<strong />` & `<b />` tags ([#11149](https://github.com/linode/manager/pull/11149))
- `Coverage Comment` GHA running on drafts ([#11161](https://github.com/linode/manager/pull/11161))
- `Coverage Comment` GHA running on drafts ([#11161](https://github.com/linode/manager/pull/11161))
- Aria label of action menu button in IP address table row ([#11167](https://github.com/linode/manager/pull/11167))
- UI bugs on the Object Storage bucket and access key landing pages ([#11187](https://github.com/linode/manager/pull/11187))
- Animation for VPC subnet drawers ([#11195](https://github.com/linode/manager/pull/11195))
Expand Down Expand Up @@ -76,7 +80,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Upcoming Features:

- ACLP UI - DBaaS instances order by label ([#11226](https://github.com/linode/manager/pull/11226))
- Add post processing for missing timestamp data across dimensions in ACLP charts ([#11225](https://github.com/linode/manager/pull/11225))
- Add post processing for missing timestamp data across dimensions in ACLP charts ([#11225](https://github.com/linode/manager/pull/11225))
- Add default x-filter for DBasS Aiven clusters fetch in resource selection component ([#11150](https://github.com/linode/manager/pull/11150))
- Replace one-off hardcoded black and white color values with colorTokens ([#11165](https://github.com/linode/manager/pull/11165))
- Add global border radius token to theme and replace hard coded values where `borderRadius = 0` ([#11169](https://github.com/linode/manager/pull/11169))
Expand All @@ -86,24 +90,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- DBaaS: Add new Maintenance, Upgrade Version dialog, and Review Updates dialog components ([#11198](https://github.com/linode/manager/pull/11198))
- DBaaS: major minor updates integration ([#11199](https://github.com/linode/manager/pull/11199))


## [2024-11-05] - v1.131.2


### Fixed:

- APL summary panel not being loaded consistently ([#11207](https://github.com/linode/manager/pull/11207))

## [2024-10-29] - v1.131.1


### Fixed:

- Hostnames not showing on the Database details page ([#11182](https://github.com/linode/manager/pull/11182))

## [2024-10-28] - v1.131.0


### Added:

- Access Control List (ACL) integration to LKE clusters ([#10968](https://github.com/linode/manager/pull/10968))
Expand All @@ -126,7 +126,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Increase Cloud Manager node.js memory allocation (development jobs) ([#11084](https://github.com/linode/manager/pull/11084))
- Invoice heading from 'Invoice' to 'Tax Invoice' for UAE Customers ([#11097](https://github.com/linode/manager/pull/11097))
- Revise VPC Not Recommended Configuration Tooltip Text
([#11098](https://github.com/linode/manager/pull/11098))
([#11098](https://github.com/linode/manager/pull/11098))
- cloud-init icon ([#11100](https://github.com/linode/manager/pull/11100))
- Hide distributed regions in Linode Create StackScripts ([#11139](https://github.com/linode/manager/pull/11139))

Expand Down Expand Up @@ -157,7 +157,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Add new test to confirm changes to the Object details drawer for OBJ Gen 2 ([#11045](https://github.com/linode/manager/pull/11045))
- Add Cypress test for non-empty Linode landing page with restricted user ([#11060](https://github.com/linode/manager/pull/11060))
- Allow overriding feature flags via `CY_TEST_FEATURE_FLAGS` environment variable ([#11088](https://github.com/linode/manager/pull/11088))
- Fix flaky `DatabaseBackups.test.tsx` in coverage job ([#11130](https://github.com/linode/manager/pull/11130))
- Fix flaky `DatabaseBackups.test.tsx` in coverage job ([#11130](https://github.com/linode/manager/pull/11130))
- Allow pipeline Slack notifications to be customized ([#11088](https://github.com/linode/manager/pull/11088))
- Show PR title in Slack CI notifications ([#11088](https://github.com/linode/manager/pull/11088))
- Fix `AppSelect.test.tsx` test flake ([#11104](https://github.com/linode/manager/pull/11104))
Expand All @@ -176,7 +176,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Add Image Service Gen 2 final GA tweaks ([#11115](https://github.com/linode/manager/pull/11115))
- Add title / label for all global filters in ACLP ([#11118](https://github.com/linode/manager/pull/11118))
- Add global colorTokens to theme and replace one-off hardcoded white colors ([#11120](https://github.com/linode/manager/pull/11120))
- Encourage setting access controls during DBaaS creation ([#11124](https://github.com/linode/manager/pull/11124))
- Encourage setting access controls during DBaaS creation ([#11124](https://github.com/linode/manager/pull/11124))

## [2024-10-14] - v1.130.0

Expand Down Expand Up @@ -249,7 +249,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Upcoming Features:

- Add Region filtering to Linodes landing table ([#10639](https://github.com/linode/manager/pull/10639))
- Add `useAclpPreference` hook to improve flickering in widget component ([#10853](https://github.com/linode/manager/pull/10853))
- Add `useAclpPreference` hook to improve flickering in widget component ([#10853](https://github.com/linode/manager/pull/10853))
- Restrict Image Upload to regions with Object Storage ([#11038](https://github.com/linode/manager/pull/11038))
- Add OBJ Gen2 resource links and fix test flake for bucket creation ([#11047](https://github.com/linode/manager/pull/11047))
- Add DBaaS GA enhancements to backups tab and make Beta fixes ([#11048](https://github.com/linode/manager/pull/11048))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,17 @@ const manageAccessControl = (allowedIps: string[], existingIps: number = 0) => {
cy.findByTestId('button-access-control').click();

ui.drawer
.findByTitle('Manage Access Controls')
.findByTitle('Manage Access')
.should('be.visible')
.within(() => {
allowedIps.forEach((allowedIp, index) => {
ui.button.findByTitle('Add an IP').click();

if (existingIps > 0) {
ui.button.findByTitle('Add Another IP').click();
} else {
ui.button.findByTitle('Add an IP').click();
}
cy.findByLabelText(
`Allowed IP Address(es) or Range(s) ip-address-${index + existingIps}`
`Allowed IP Addresses or Ranges ip-address-${index + existingIps}`
)
.click()
.type(allowedIp);
Expand Down Expand Up @@ -371,7 +374,7 @@ describe('Update database clusters', () => {

manageAccessControl([randomIp()], 1);
cy.wait('@updateDatabase');
ui.drawer.findByTitle('Manage Access Controls').within(() => {
ui.drawer.findByTitle('Manage Access').within(() => {
cy.findByText(errorMessage).should('be.visible');
ui.drawerCloseButton.find().click();
});
Expand Down
30 changes: 30 additions & 0 deletions packages/manager/cypress/e2e/core/kubernetes/lke-create.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,18 @@ describe('LKE Cluster Creation with LKE-E', () => {
capabilities: ['Kubernetes Enterprise'],
})
).as('getAccount');
mockGetRegions([
regionFactory.build({
capabilities: ['Linodes', 'Kubernetes'],
id: 'us-east',
label: 'Newark, US',
}),
regionFactory.build({
capabilities: ['Linodes', 'Kubernetes', 'Kubernetes Enterprise'],
id: 'us-iad',
label: 'Washington, DC',
}),
]).as('getRegions');

cy.visitWithLogin('/kubernetes/clusters');

Expand Down Expand Up @@ -904,6 +916,24 @@ describe('LKE Cluster Creation with LKE-E', () => {
// Confirm HA section is hidden since LKE-E includes HA by default
cy.findByText('HA Control Plane').should('not.exist');

cy.wait(['@getRegions']);

// Confirm unsupported regions are not displayed
ui.regionSelect.find().click().type('Newark, NJ');
ui.autocompletePopper.find().within(() => {
cy.findByText('Newark, NJ (us-east)').should('not.exist');
});

// Select a supported region
ui.regionSelect.find().clear().type('Washington, DC{enter}');

// Confirm that there is a tooltip explanation for the region dropdown options
ui.tooltip
.findByText(
'Only regions that support Kubernetes Enterprise are listed.'
)
.should('be.visible');

// TODO: finish the rest of this test in subsequent PRs
});

Expand Down
Loading

0 comments on commit 704296a

Please sign in to comment.