Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.124.0 - releasestaging #10691

Merged
merged 42 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
0e6227b
change: Link two VSCode extensions mentioned in our Coding Standards …
mjac0bs Jul 3, 2024
4801962
feat: [M3-7684] - Disable Create Volume button with tooltiptext on La…
pmakode-akamai Jul 4, 2024
7bfb9d5
feat: [M3-7684] - Disable Create Volume button with tooltiptext on 'E…
pmakode-akamai Jul 4, 2024
e9b23fd
change: [M3-7684] - Keep Create Volumes Page Error Notification Posit…
pmakode-akamai Jul 4, 2024
ffa8162
feat: [M3-7684] - Disable Volume Action Menu Buttons for Restricted U…
pmakode-akamai Jul 8, 2024
08aa376
fix: [M3-7684] - Incorrect Error Notice in Volume Drawers for Restric…
pmakode-akamai Jul 8, 2024
dadc451
upcoming: [M3-8295] - Add feature flag and capability for OBJ Gen2 (#…
jaalah-akamai Jul 8, 2024
574743f
Merge pull request #10652 from linode/staging
dwiley-akamai Jul 8, 2024
0f2e15c
test: [M3-8133] - Add Cypress test for Login History page (#10575)
cliu-akamai Jul 8, 2024
dfe0ce1
Merge branch 'master' into develop
DevDW Jul 8, 2024
22a8bcf
upcoming: [M3-8328] - Add Analytics Events to Linode Create v2 (#10649)
bnussman-akamai Jul 8, 2024
8e568bc
fix: Github CLI install link in Contributing guide (#10657)
hana-akamai Jul 9, 2024
395434f
feat:[M3-8330] - Improve API flexibility for useToastNotification (#1…
jaalah-akamai Jul 9, 2024
c632152
change: [M3-8329] - Clean up Gravatar analytics events (#10661)
mjac0bs Jul 9, 2024
facfc62
fix: [M3-6518] - LKE details page "Delete Pool" button misaligned (#1…
pmakode-akamai Jul 10, 2024
fe34137
upcoming: [DI-19328] - Added capability to save & retrieve CloudPulse…
nikhagra-akamai Jul 10, 2024
79136c5
refactor: [M3-8285] - Improve getQueryParamsFromQueryString type safe…
hana-akamai Jul 10, 2024
14dcd37
test: [M3-7955] - Cypress integration test to add SSH key via Linode …
cliu-akamai Jul 10, 2024
61b56f8
fix: [M3-8337] - User Preferences not being cached properly when the …
bnussman-akamai Jul 10, 2024
97fba8c
fix: [M3-8342] - Toast Notifications for Images (#10664)
bnussman-akamai Jul 10, 2024
aab737c
refactor: [M3-8339] - Clean up and fix Linode Details after CDS 2.0 …
bnussman-akamai Jul 11, 2024
2867523
change: [M3-8058] - Add tags drawer for Kubernetes Cluster tag overfl…
hkhalil-akamai Jul 11, 2024
91d0e03
feat: [M3-8332] - Use new "lish" API instead of "lish_token" (#10656)
plisiecki1 Jul 11, 2024
90b6625
upcoming: [M3-8217] - Tax Id Notifications & Icon (#10558)
jaalah-akamai Jul 15, 2024
c71cdbc
upcoming: [M3-8340] - Update Manage Image Regions Drawer based on UX …
bnussman-akamai Jul 15, 2024
6c6d94e
refactor: [M3-6901, M3-6914] - Replace Select with Autocomplete in: k…
pmakode-akamai Jul 16, 2024
8af8444
feat: [M3-7683] - Disable Create Image button with tooltip text on e…
harsh-akamai Jul 16, 2024
b69b728
feat: [M3-7683] - Disable Create Image button with tooltiptext on Lan…
harsh-akamai Jul 16, 2024
0516f3f
feat: [M3-7673] - Add Account Limit support ticket to Linode Create f…
mjac0bs Jul 16, 2024
3a6584c
refactor: [M3-8143] - Improve PowerActionsDialog (#10667)
carrillo-erik Jul 16, 2024
0e78061
test: [M3-8155,M3-8154] - Add tests for longview client rename and de…
AzureLatte Jul 16, 2024
88296e7
change: [M3-8327] - Placement Groups General Availability API/UI upda…
abailly-akamai Jul 16, 2024
0bc019d
fix: Image Upload Toast Support Link (#10680)
bnussman-akamai Jul 16, 2024
284b358
refactor: [M3-7432] - Update Managed Queries to use Query Key Factory…
bnussman-akamai Jul 16, 2024
c451fd7
feat: [M3-8207] - Auto-close Stale Issues/PRs with Github Actions (#1…
bnussman-akamai Jul 17, 2024
45bc895
change: [M3-8263] - Rename Distribution to OS (#10666)
hana-akamai Jul 17, 2024
669f54d
change: [M3-8346] – UI modications for LKE Details summary panel & No…
dwiley-akamai Jul 17, 2024
4545b8c
Cloud version 1.124.0, API v4 version 0.122.0
carrillo-erik Jul 17, 2024
6515a1b
Add missing '0' to cloud manager package version
carrillo-erik Jul 17, 2024
733950c
fix: [M3-8361] - Fix column headers for Automatic Images (#10696)
hkhalil-akamai Jul 19, 2024
ed1fe44
Update CHANGELOG.md for validation package
carrillo-erik Jul 22, 2024
36a2bc0
Update packages/validation/CHANGELOG.md
carrillo-erik Jul 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Stale issue handler'

on:
workflow_dispatch: null
schedule:
- cron: '0 0 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
id: stale
with:
stale-pr-message: 'This PR is stale because it has been open 15 days with
no activity. Please attend to this PR or it will be closed in
5 days'
days-before-stale: 15
days-before-close: 5
# Disable issues. We only want this running on PRs.
days-before-issue-stale: -1
days-before-issue-close: -1
2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Feel free to open an issue to report a bug or request a feature.
6. Open a pull request against `develop` and make sure the title follows the same format as the commit message.
7. If needed, create a changeset to populate our changelog
- If you don't have the Github CLI installed or need to update it (you need GH CLI 2.21.0 or greater),
- install it via `brew`: https://cli.github.com/manual/installation or upgrade with `brew upgrade gh`
- install it via `brew`: https://github.com/cli/cli#installation or upgrade with `brew upgrade gh`
- Once installed, run `gh repo set-default` and pick `linode/manager` (only > 2.21.0)
- You can also just create the changeset manually, in this case make sure to use the proper formatting for it.
- Run `yarn changeset`from the root, choose the package to create a changeset for, and provide a description for the change.
Expand Down
2 changes: 1 addition & 1 deletion docs/development-guide/13-coding-standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ We use [ESLint](https://eslint.org/) to enforce coding and formatting standards.
- **prettier** (code formatting)
- **scanjs** (security)

If you are using VSCode it is highly recommended to use the ESlint extension. The Prettier extension is also recommended, as it can be configured to format your code on save.
If you are using VSCode it is **highly** recommended to use the [ESlint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint). The [Prettier extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) is also recommended, as it can be configured to format your code on save.

## React

Expand Down
12 changes: 12 additions & 0 deletions packages/api-v4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## [2024-07-22] - v0.122.0

### Changed:

- Breaking: change Placement Group `affinity_type` to `placement_group_type` ([#10651](https://github.com/linode/manager/pull/10651))
- Breaking: change Placement Group `is_strict` to `placement_group_policy` ([#10651](https://github.com/linode/manager/pull/10651))
- Use new "lish" API instead of "lish_token" ([#10656](https://github.com/linode/manager/pull/10656))

### Upcoming Features:

- Add ACLG Config and Widget to CloudPulse types ([#10625](https://github.com/linode/manager/pull/10625))

## [2024-07-08] - v0.121.0

### Changed:
Expand Down
2 changes: 1 addition & 1 deletion packages/api-v4/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linode/api-v4",
"version": "0.121.0",
"version": "0.122.0",
"homepage": "https://github.com/linode/manager/tree/develop/packages/api-v4",
"bugs": {
"url": "https://github.com/linode/manager/issues"
Expand Down
7 changes: 5 additions & 2 deletions packages/api-v4/src/account/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ export type BillingSource = 'linode' | 'akamai';

export type AccountCapability =
| 'Akamai Cloud Load Balancer'
| 'CloudPulse'
| 'Block Storage'
| 'Cloud Firewall'
| 'CloudPulse'
| 'Disk Encryption'
| 'Kubernetes'
| 'Linodes'
Expand All @@ -72,6 +72,7 @@ export type AccountCapability =
| 'Managed Databases'
| 'NodeBalancers'
| 'Object Storage Access Key Regions'
| 'Object Storage Endpoint Types'
| 'Object Storage'
| 'Placement Group'
| 'Support Ticket Severity'
Expand Down Expand Up @@ -257,7 +258,8 @@ export type NotificationType =
| 'promotion'
| 'user_email_bounce'
| 'volume_migration_scheduled'
| 'volume_migration_imminent';
| 'volume_migration_imminent'
| 'tax_id_invalid';

export type NotificationSeverity = 'minor' | 'major' | 'critical';

Expand Down Expand Up @@ -433,6 +435,7 @@ export const EventActionKeys = [
'tag_create',
'tag_delete',
'tax_id_invalid',
'tax_id_valid',
'tfa_disabled',
'tfa_enabled',
'ticket_attachment_upload',
Expand Down
16 changes: 16 additions & 0 deletions packages/api-v4/src/cloudpulse/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,19 @@ export interface Filters {
operator: string;
value: string;
}

export interface AclpConfig {
dashboardId: number;
interval: string;
region: string;
resources: string[];
timeDuration: string;
widgets: { [label: string]: AclpWidget };
}

export interface AclpWidget {
aggregateFunction: string;
timeGranularity: TimeGranularity;
label: string;
size: number;
}
14 changes: 6 additions & 8 deletions packages/api-v4/src/linodes/linodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Request, {
} from '../request';
import { DeepPartial, Filter, Params, ResourcePage as Page } from '../types';
import { Volume } from '../volumes/types';
import { CreateLinodeRequest, Linode } from './types';
import { CreateLinodeRequest, Linode, LinodeLishData } from './types';

/**
* getLinode
Expand All @@ -29,17 +29,15 @@ export const getLinode = (linodeId: number) =>
);

/**
* getLinodeLishToken
* getLinodeLish
*
* Generates a token which can be used to authenticate with LISH.
* Generates urls and websockets protocols to authenticate with LISH.
*
* @param linodeId { number } The id of the Linode.
*/
export const getLinodeLishToken = (linodeId: number) =>
Request<{ lish_token: string }>(
setURL(
`${API_ROOT}/linode/instances/${encodeURIComponent(linodeId)}/lish_token`
),
export const getLinodeLish = (linodeId: number) =>
Request<LinodeLishData>(
setURL(`${API_ROOT}/linode/instances/${encodeURIComponent(linodeId)}/lish`),
setMethod('POST')
);

Expand Down
7 changes: 7 additions & 0 deletions packages/api-v4/src/linodes/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,3 +526,10 @@ export interface DeleteLinodeConfigInterfacePayload {
configId: number;
interfaceId: number;
}

export interface LinodeLishData {
weblish_url: string;
glish_url: string;
monitor_url: string;
ws_protocols: string[];
}
17 changes: 11 additions & 6 deletions packages/api-v4/src/placement-groups/types.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
import type { Region } from '../regions/types';

export const AFFINITY_TYPES = {
export const PLACEMENT_GROUP_TYPES = {
'affinity:local': 'Affinity',
'anti_affinity:local': 'Anti-affinity',
} as const;

export type AffinityType = keyof typeof AFFINITY_TYPES;
export type AffinityTypeEnforcement = 'Strict' | 'Flexible';
export const PLACEMENT_GROUP_POLICIES = {
strict: 'Strict',
flexible: 'Flexible',
} as const;

export type PlacementGroupType = keyof typeof PLACEMENT_GROUP_TYPES;
export type PlacementGroupPolicy = keyof typeof PLACEMENT_GROUP_POLICIES;

export interface PlacementGroup {
id: number;
label: string;
region: Region['id'];
affinity_type: AffinityType;
placement_group_type: PlacementGroupType;
is_compliant: boolean;
members: {
linode_id: number;
is_compliant: boolean;
}[];
is_strict: boolean;
placement_group_policy: PlacementGroupPolicy;
}

export type PlacementGroupPayload = Pick<
PlacementGroup,
'id' | 'label' | 'affinity_type' | 'is_strict'
'id' | 'label' | 'placement_group_type' | 'placement_group_policy'
>;

export interface CreatePlacementGroupPayload
Expand Down
57 changes: 57 additions & 0 deletions packages/manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,63 @@ 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-07-22] - v1.124.0

### Added:

- Account Limit support ticket form for limit errors in Linode Create flow ([#10620](https://github.com/linode/manager/pull/10620))

### Changed:

- Use `getRestrictedResourceText` utility and move restrictions Notice to top of Volume Create ([#10632](https://github.com/linode/manager/pull/10632))
- Update Placement Group affinity labels and nomenclature ([#10651](https://github.com/linode/manager/pull/10651))
- Use new "lish" API instead of "lish_token" ([#10656](https://github.com/linode/manager/pull/10656))
- Display overflowing Kubernetes cluster tags in drawer ([#10658](https://github.com/linode/manager/pull/10658))
- Rename Distribution to OS ([#10666](https://github.com/linode/manager/pull/10666))
- Improve LKE Detail summary panel and Node Pool tables UI ([#10685](https://github.com/linode/manager/pull/10685))
- Disable Create Volume Button on the landing page for restricted users ([#10627](https://github.com/linode/manager/pull/10627))
- Disable Volume Action Menu buttons for restricted users ([#10641](https://github.com/linode/manager/pull/10641))
- Disable Create Volume button on empty state landing page for restricted users ([#10630](https://github.com/linode/manager/pull/10630))
- Disable Create Image button on empty state landing page for restricted users ([#10670](https://github.com/linode/manager/pull/10670))
- Disable Create Image button on landing page for restricted users ([#10671](https://github.com/linode/manager/pull/10671))

### Fixed:

- Incorrect error notice in Volume drawers for restricted users ([#10646](https://github.com/linode/manager/pull/10646))
- Github CLI install link in Contributing guide ([#10657](https://github.com/linode/manager/pull/10657))
- LKE details page 'Delete Pool' button misalignment ([#10660](https://github.com/linode/manager/pull/10660))
- User Preferences not properly being cached when the app loads ([#10663](https://github.com/linode/manager/pull/10663))
- Blank toast notification when canceling an image upload ([#10664](https://github.com/linode/manager/pull/10664))
- Missing support link in some toast notifications ([#10680](https://github.com/linode/manager/pull/10680))
- Column headers for Automatic Images ([#10696](https://github.com/linode/manager/pull/10696))

### Removed:

- Gravatar analytics events ([#10661](https://github.com/linode/manager/pull/10661))

### Tech Stories:

- Improve `getQueryParamsFromQueryString` type safety ([#10645](https://github.com/linode/manager/pull/10645))
- Improve API flexibility for `useToastNotification` ([#10654](https://github.com/linode/manager/pull/10654))
- Clean up and fix Linode Details styles ([#10662](https://github.com/linode/manager/pull/10662))
- Improve PowerActionsDialog ([#10667](https://github.com/linode/manager/pull/10667))
- Replace Select with Autocomplete component on Kubernetes Create page ([#10673](https://github.com/linode/manager/pull/10673))
- Update Managed Queries to use Query Key Factory ([#10679](https://github.com/linode/manager/pull/10679))

### Tests:

- Add Cypress integration test to add SSH key via Linode Create ([#10448](https://github.com/linode/manager/pull/10448))
- Add Cypress test for Login History page ([#10575](https://github.com/linode/manager/pull/10575))
- Add tests for Longview client rename and deletion ([#10644](https://github.com/linode/manager/pull/10644))

### Upcoming Features:

- Add Tax ID Notifications & Warning Icon ([#10558](https://github.com/linode/manager/pull/10558))
- Add capability to save & retrieve user preferences ([#10625](https://github.com/linode/manager/pull/10625))
- Add feature flag and capability for OBJ Gen2 ([#10647](https://github.com/linode/manager/pull/10647))
- Add Analytics Events to Linode Create v2 ([#10649](https://github.com/linode/manager/pull/10649))
- Update Manage Image Regions drawer based on UX feedback ([#10674](https://github.com/linode/manager/pull/10674))

## [2024-07-08] - v1.123.0

### Added:
Expand Down
Loading
Loading