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.132.0 - releasestaging #11220

Merged
merged 71 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
27a883d
fix: [M3-8774 ] - Faux bold in Safari with `<strong />` & `<b />` tag…
abailly-akamai Oct 23, 2024
d5d8490
change: [M3-8373] - Fix unexpected heading spacing on Account Mainten…
harsh-akamai Oct 24, 2024
85edbfc
test: [M3-8725] - Add cypress tests for creating LKE clusters with AC…
coliu-akamai Oct 24, 2024
427b55c
refactor: [M3-8775] - Make the Support Ticket UI look slightly less b…
bnussman-akamai Oct 24, 2024
f3d86c0
refactor: [M3-8707] - Move `Tooltip` component to UI package (#11125)
hkhalil-akamai Oct 24, 2024
82f3542
refactor: [M3-8762] - `only-export-components` for Tanstack routes (#…
abailly-akamai Oct 25, 2024
52052ce
fix: [M3-8788] - Only run coverage comment job on non-drafts (#11161)
abailly-akamai Oct 25, 2024
688f35f
upcoming: [DI-21520] - Added default xFilter for fetching aiven clust…
ankitaakamai Oct 25, 2024
73c3342
refactor: [M3-8707] - Move `IconButton` component to UI package (#11158)
hkhalil-akamai Oct 25, 2024
b5da866
fix: [M3-8590] - Restrict access to Database Create page for restrict…
zaenab-akamai Oct 28, 2024
d3b927a
change: [M3-8461] - Improve validation error when a backup is not sel…
hasyed-akamai Oct 28, 2024
6c6f700
change: [M3-8442] - Remove Double border on "Billing & Payment Histor…
hasyed-akamai Oct 28, 2024
61d9d8c
Merge branch 'master' into develop
bnussman Oct 28, 2024
9c8cd3e
refactor: [M3-8770] - Clean up Profile Display Settings page (#11141)
bnussman-akamai Oct 28, 2024
77111ab
chore: [M3-8786] - Update and clean up `@types/node` package (#11157)
bnussman-akamai Oct 28, 2024
1a9d479
test: [M3-8776] - Fix lke-create tests and create unit tests for LKE …
coliu-akamai Oct 28, 2024
871210c
upcoming: [M3-6700] - Replace one-off hardcoded black and white color…
pmakode-akamai Oct 29, 2024
edf9438
upcoming: [M3-8755] - Add global `font` and `spacing` tokens to theme…
pmakode-akamai Oct 29, 2024
7a17a78
refactor: [M3-8648] – Migrate several components to `ui` package prio…
dwiley-akamai Oct 29, 2024
5ed144d
Merge branch 'master' into develop
bnussman Oct 29, 2024
0818a7e
refactor: [M3-8785] - Remove feature flag, tracking events used for A…
cpathipa Oct 29, 2024
0cbb976
refactor: [M3-8720] - One `ImageSelect` to rule them all (#11058)
abailly-akamai Oct 29, 2024
24d0598
refactor: [M3-8641] - Move `Box` component to `ui` package (Part 1) (…
coliu-akamai Oct 30, 2024
fef87a9
refactor: [M3-8641] - Move Box component to ui package (Part 2) (#11164)
coliu-akamai Oct 30, 2024
926fca5
change: [M3-8807] - Improve Linode Create VPC user experience (#11188)
bnussman-akamai Oct 30, 2024
6c80781
change: [M3-8659] - Incorporate Product Family Groups in Side Nav (#1…
hana-akamai Oct 30, 2024
46d14e2
test: [M3-8810] - Fix DBaaS failures when v2 feature flag is enabled …
jdamore-linode Oct 30, 2024
5bb7839
change: [UIE-8220] - Settings text update (#11166)
smans-akamai Oct 31, 2024
08b752d
refactor: [M3-8652] - TextField Component Cleanup - Part 1 (#11134)
jaalah-akamai Oct 31, 2024
308dc90
test: [M3-8809] - Add vitest workspace configuration (#11184)
hkhalil-akamai Oct 31, 2024
d871268
test: [M3-8769] - Add Docker Compose service to reverse proxy Cloud i…
jdamore-linode Nov 1, 2024
a7225f0
fix: [M3-8743] - fix aria label of action menu in IP address table ro…
hasyed-akamai Nov 1, 2024
8ed5a49
change: [M3-8818] Update .env.example cypress warning (#11202)
abailly-akamai Nov 1, 2024
747ce0b
refactor: [M3-8771] - Add more customization to legends and charts (#…
jaalah-akamai Nov 1, 2024
898d3bf
upcoming: [DI-18419] - API error handling for global filters and dash…
venkymano-akamai Nov 1, 2024
1985645
[APL-336] - Minor textual changes for APL feature (#11201)
dennisvankekem Nov 1, 2024
2e6defb
test: [M3-6876] - Improve formatting of GitHub test result comments (…
jdamore-linode Nov 1, 2024
42f6cc2
feat: [M3-8719] - Add a 'Mask Sensitive Data' setting to Cloud Manage…
mjac0bs Nov 1, 2024
b1f2b24
feat: [UIE-8194] - DBaaS Upgrades and Maintenance 1 (#11196)
corya-akamai Nov 1, 2024
28ad446
upcoming: [M3-8754] - Add Alias Tokens to the Theme (#11138)
harsh-akamai Nov 1, 2024
293c677
fix: [M3-8802] - Object Storage landing page UI bugs (#11187)
bnussman-akamai Nov 1, 2024
ae20325
refactor: [M3-8648] – Migrate `Paper` to `ui` package (#11183)
dwiley-akamai Nov 4, 2024
06f54a5
refactor: [M3-8813] - Remove use of Redux for viewing StackScript det…
bnussman-akamai Nov 4, 2024
7c547f6
test: [M3-8114] - Clean up Linodes, LKE clusters, and Firewalls after…
jdamore-linode Nov 4, 2024
cf3613f
upcoming: [M3-8772] - Add global borderRadiusTokens to theme and repl…
zaenab-akamai Nov 4, 2024
6de4781
feat: [UIE-8194] - DBaaS major and minor upgrades 3 (#11198)
corya-akamai Nov 4, 2024
8c3c7fd
refactor: [M3-8814] - Clean up SubnetCreateDrawer and fix animation f…
coliu-akamai Nov 4, 2024
d60510e
feat: [UIE-8082] - DBaaS GA Database Create: Summary section, refacto…
mpolotsk-akamai Nov 4, 2024
8e007a7
feat: [UIE-8082] - DBaaS GA Database Resize refactoring (#11180)
mpolotsk-akamai Nov 5, 2024
f8d33b5
feat: [UIE-8090] - DBaaS Settings and Landing Page (#11152)
smans-akamai Nov 5, 2024
5c9feb0
Merge pull request #11212 from linode/staging
bnussman-akamai Nov 5, 2024
7adb6cf
Merge branch 'master' into develop
bnussman Nov 5, 2024
4ec07b0
fix, test: [M3-8830] - Use unit tested function for Pendo url transfo…
mjac0bs Nov 5, 2024
6a5cc86
feat: [UIE-8194] - DBaaS major and minor upgrades - 4 (#11199)
corya-akamai Nov 6, 2024
eeae3a3
feat: [M3-8831] - New GPUv2 egress transfer display (#11209)
abailly-akamai Nov 6, 2024
e04981a
change: [M3-8806] - Disable unsupported images for distributed region…
hana-akamai Nov 6, 2024
bcdefc9
fix: [UIE-8246] - DBaaS provisioning 2 node clusters (#11218)
corya-akamai Nov 6, 2024
661d3a3
Initial Changelog
jaalah Nov 7, 2024
ea8b449
upcoming: [DI-21811] - Post processing of missing timestamp data acro…
venkymano-akamai Nov 7, 2024
45e60bc
Update changelog
jaalah Nov 7, 2024
57eb19f
upcoming: [DI-21814] - ACLP UI - DBaaS instances order by label (#11226)
ankitaakamai Nov 8, 2024
e459252
UIE-8254: Add tooltip for ipv6 for new db clusters (#11231)
rodonnel-akamai Nov 8, 2024
9d9bc07
feat: [UIE-8193] - Usable Storage Tooltip for Create/Resize Database …
mpolotsk-akamai Nov 8, 2024
a95a557
Merge branch 'release-v1.132.0' of github.com:linode/manager into rel…
jaalah Nov 8, 2024
7b2b6af
DBaaS additions
jaalah Nov 8, 2024
49e8802
GPU egress transfer copy update (#11235)
abailly-akamai Nov 8, 2024
91b5c23
default behavior when creating new child clusters should match what e…
talmai Nov 8, 2024
5847311
Update changelog
jaalah Nov 8, 2024
04e3620
Fix LKE create ACL tests (#11237)
jdamore-linode Nov 9, 2024
fe172fa
fix: sx styling for Textfield component (#11246)
coliu-akamai Nov 12, 2024
185ece4
fix: [M3-8894] - Linode Create crash when selected a Linode with a `t…
bnussman-akamai Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/coverage_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:

jobs:
comment:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

steps:
Expand Down
42 changes: 39 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,14 @@ services:
<<: *default-env
MANAGER_OAUTH: ${MANAGER_OAUTH}

# Cypress test runner service to run tests against a locally-served Cloud instance.
# Cypress test runner service to run tests against a local Cloud instance.
#
# This is useful when testing against a customized or in-development build of
# Cloud Manager.
# This is useful when testing against a Cloud Manager instance served locally at
# `localhost:3000`, e.g. during development.
#
# If the local Cloud Manager instance is not served at `localhost:3000` (when
# served from a container, for example), prefer the `cypress_containerized`
# service instead.
cypress_local:
<<: *default-runner
environment:
Expand All @@ -130,6 +134,38 @@ services:
web:
condition: service_healthy

# Cypress test runner service to run tests against a containerized Cloud instance.
#
# This service reverse proxies the given $CYPRESS_BASE_URL to `localhost:3000`.
# This is necessary for certain tests which require a secure context, which
# can typically only be achieved when Cloud is served at `localhost` or
# remotely behind SSL.
#
# For more information, refer to:
# https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts
#
# If the local Cloud Manager instance is served at `localhost:3000` (when
# running Cloud Manager locally during development, for example), prefer the
# `cypress_local` service instead.
cypress_containerized:
<<: *default-runner
build:
context: .
dockerfile: ./packages/manager/Dockerfile
target: e2e-reverse-proxy
environment:
<<: *default-env
MANAGER_OAUTH: ${MANAGER_OAUTH}
CYPRESS_BASE_URL: "http://localhost:3000"
REVERSE_PROXY_URL: ${CYPRESS_BASE_URL}
depends_on:
web:
condition: service_healthy
entrypoint:
- "/bin/sh"
- "-c"
- "caddy reverse-proxy --from $${CYPRESS_BASE_URL} --to $${REVERSE_PROXY_URL} & yarn $0 $@"

# Cypress component test runner service.
#
# Unlike other Cloud Manager Cypress tests, these tests can be run without
Expand Down
3 changes: 2 additions & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ Feel free to open an issue to report a bug or request a feature.
**Example:** `feat: [M3-1234] - Allow user to view their login history`

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.
7. Keep in mind that our repository is public and open source! Before adding screenshots to your PR, we recommend you enable the **Mask Sensitive Data** setting in Cloud Manager [Profile Settings](https://cloud.linode.com/profile/settings).
8. 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://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)
Expand Down
4 changes: 3 additions & 1 deletion docs/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ List any change relevant to the reviewer.
Please specify a release date to guarantee timely review of this PR. If exact date is not known, please approximate and update it as needed.

## Preview 📷
**Include a screenshot or screen recording of the change**
**Include a screenshot or screen recording of the change.**

:lock: Use the [Mask Sensitive Data](https://cloud.linode.com/profile/settings) setting for security.

:bulb: Use `<video src="" />` tag when including recordings in table.

Expand Down
8 changes: 6 additions & 2 deletions docs/development-guide/02-component-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ The basic structure of a component file should follow:
Here is a minimal code example demonstrating the basic structure of a component file:

```tsx
import * as React from "react";
import { omittedProps } from "@linode/ui";
import { styled } from "@mui/material/styles";
import { omittedProps } from "src/utilities/omittedProps";
import * as React from "react";

// If not exported, it can just be named `Props`
export interface SayHelloProps {
Expand Down Expand Up @@ -66,6 +66,10 @@ When building a large component, it is recommended to break it down and avoid wr
Components should, in most cases, come with their own unit test, although they can be skipped if an e2e suite is covering the functionality.
Utilities should almost always feature a unit test.

#### Security

Consider whether the component is displaying data that may be sensitive, such as IP addresses or personal contact information. If so, make use of the `MaskableText` component or `masked` property of the `CopyTooltip` to hide this data for users who choose to 'Mask Sensitive Data' via Profile Settings.

#### Styles

- With the transition to MUI v5, the [`styled`](https://mui.com/system/styled/) API, along with the [`sx` prop](https://mui.com/system/getting-started/the-sx-prop/), is the preferred way to specify component-specific styles.
Expand Down
2 changes: 1 addition & 1 deletion docs/development-guide/08-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ yarn test
Or you can run the tests in watch mode with:

```
yarn test --watch
yarn test:watch
```

To run a specific file or files in a directory:
Expand Down
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"license": "Apache-2.0",
"devDependencies": {
"husky": "^9.1.6",
"typescript": "^5.5.4"
"typescript": "^5.5.4",
"vitest": "^2.1.1"
},
"scripts": {
"lint": "yarn run eslint . --quiet --ext .js,.ts,.tsx",
Expand All @@ -23,7 +24,12 @@
"start:manager": "yarn workspace linode-manager start",
"start:manager:ci": "yarn workspace linode-manager start:ci",
"clean": "rm -rf node_modules && rm -rf packages/@linode/api-v4/node_modules && rm -rf packages/manager/node_modules && rm -rf packages/@linode/validation/node_modules",
"test": "yarn workspace linode-manager test",
"test": "vitest run",
"test:watch": "vitest",
"test:manager": "yarn workspace linode-manager test",
"test:sdk": "yarn workspace @linode/api-v4 test",
"test:search": "yarn workspace @linode/search test",
"test:ui": "yarn workspace @linode/ui test",
"package-versions": "node ./scripts/package-versions/index.js",
"storybook": "yarn workspace linode-manager storybook",
"cy:run": "yarn workspace linode-manager cy:run",
Expand Down
19 changes: 19 additions & 0 deletions packages/api-v4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## [2024-11-12] - v0.130.0


### Added:

- DBaaS: Suspend and Resume backend calls ([#11152](https://github.com/linode/manager/pull/11152))

### Removed:

- DBaaS: Deprecated types including MongoDB and Redis ([#11218](https://github.com/linode/manager/pull/11218))

### Tech Stories:

- Remove `@types/node` dependency ([#11157](https://github.com/linode/manager/pull/11157))

### Upcoming Features:

- DBaaS: Modify update payload to include version, add patch API ([#11196](https://github.com/linode/manager/pull/11196))


## [2024-10-28] - v0.129.0

Expand Down
6 changes: 2 additions & 4 deletions 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.129.0",
"version": "0.130.0",
"homepage": "https://github.com/linode/manager/tree/develop/packages/api-v4",
"bugs": {
"url": "https://github.com/linode/manager/issues"
Expand Down Expand Up @@ -57,16 +57,14 @@
"lib"
],
"devDependencies": {
"@types/node": "^12.7.1",
"@types/yup": "^0.29.13",
"axios-mock-adapter": "^1.22.0",
"concurrently": "^9.0.1",
"eslint": "^6.8.0",
"eslint-plugin-sonarjs": "^0.5.0",
"lint-staged": "^15.2.9",
"prettier": "~2.2.1",
"tsup": "^8.2.4",
"vitest": "^2.1.1"
"tsup": "^8.2.4"
},
"lint-staged": {
"*.{ts,tsx,js}": [
Expand Down
45 changes: 45 additions & 0 deletions packages/api-v4/src/databases/databases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,21 @@ export const updateDatabase = (
setData(data, updateDatabaseSchema)
);

/**
* patchDatabase
*
* Patch security updates for the database (outside of the maintenance window)
*/
export const patchDatabase = (engine: Engine, databaseID: number) =>
Request<void>(
setURL(
`${API_ROOT}/databases/${encodeURIComponent(
engine
)}/instances/${encodeURIComponent(databaseID)}/patch`
),
setMethod('POST')
);

/**
* deleteDatabase
*
Expand Down Expand Up @@ -301,3 +316,33 @@ export const getSSLFields = (engine: Engine, databaseID: number) =>
),
setMethod('GET')
);

/**
* suspendDatabase
*
* Suspend the specified database cluster
*/
export const suspendDatabase = (engine: Engine, databaseID: number) =>
Request<{}>(
setURL(
`${API_ROOT}/databases/${encodeURIComponent(
engine
)}/instances/${encodeURIComponent(databaseID)}/suspend`
),
setMethod('POST')
);

/**
* resumeDatabase
*
* Resume the specified database cluster
*/
export const resumeDatabase = (engine: Engine, databaseID: number) =>
Request<{}>(
setURL(
`${API_ROOT}/databases/${encodeURIComponent(
engine
)}/instances/${encodeURIComponent(databaseID)}/resume`
),
setMethod('POST')
);
Loading