Skip to content

Commit

Permalink
Merge pull request #13695 from canonical/main
Browse files Browse the repository at this point in the history
Merge main into feature branch
  • Loading branch information
mtruj013 committed Mar 26, 2024
2 parents 67b03b3 + 9851f75 commit 8c6a1e7
Show file tree
Hide file tree
Showing 20 changed files with 208 additions and 334 deletions.
20 changes: 10 additions & 10 deletions konf/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ env:
value: true

- name: STORE_MAINTENANCE_START
value: 2023-10-02T03:00:00Z
value: 2024-03-27T03:00:00Z

- name: STORE_MAINTENANCE_END
value: 2023-10-02T06:00:00Z
value: 2024-03-27T05:00:00Z

- name: SEARCH_API_KEY
secretKeyRef:
Expand Down Expand Up @@ -369,10 +369,10 @@ production:
value: true

- name: STORE_MAINTENANCE_START
value: 2023-10-02T03:00:00Z
value: 2024-03-27T03:00:00Z

- name: STORE_MAINTENANCE_END
value: 2023-10-02T06:00:00Z
value: 2024-03-27T05:00:00Z

- name: SEARCH_API_KEY
secretKeyRef:
Expand Down Expand Up @@ -479,10 +479,10 @@ staging:
value: true

- name: STORE_MAINTENANCE_START
value: 2023-10-02T03:00:00Z
value: 2024-03-27T03:00:00Z

- name: STORE_MAINTENANCE_END
value: 2023-10-02T06:00:00Z
value: 2024-03-27T05:00:00Z

- name: SEARCH_API_KEY
secretKeyRef:
Expand Down Expand Up @@ -862,10 +862,10 @@ staging:
value: true

- name: STORE_MAINTENANCE_START
value: 2023-10-02T03:00:00Z
value: 2024-03-27T03:00:00Z

- name: STORE_MAINTENANCE_END
value: 2023-10-02T06:00:00Z
value: 2024-03-27T05:00:00Z

- name: SEARCH_API_KEY
secretKeyRef:
Expand Down Expand Up @@ -942,10 +942,10 @@ demo:
value: true

- name: STORE_MAINTENANCE_START
value: 2023-10-02T03:00:00Z
value: 2024-03-27T03:00:00Z

- name: STORE_MAINTENANCE_END
value: 2023-10-02T06:00:00Z
value: 2024-03-27T05:00:00Z

- name: SEARCH_API_KEY
secretKeyRef:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ canonicalwebteam.blog==6.4.1
canonicalwebteam.search==1.3.0
canonicalwebteam.templatefinder==1.0.0
canonicalwebteam.image-template==1.3.1
canonicalwebteam.discourse==5.4.7
canonicalwebteam.discourse==5.4.9
python-dateutil==2.8.2
pytz==2022.7.1
maxminddb-geolite2==2018.703
Expand Down
16 changes: 0 additions & 16 deletions static/js/src/advantage/credentials/api/keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,6 @@ export async function rotateKey(activationKey) {
return data;
}

export async function activateKey(activationKey) {
let response = await fetch("/credentials/keys/activate", {
method: "POST",
headers: {
Accept: "application/json",
"Content-Type": "application/json",
},
body: JSON.stringify({
activationKey: activationKey,
productID: "cube-admintasks",
}),
});
const data = await response.json();
return data;
}

export async function getKeyProducts() {
let response = await fetch("/credentials/keys/products", {
method: "GET",
Expand Down
10 changes: 0 additions & 10 deletions static/js/src/advantage/credentials/api/trueability.js

This file was deleted.

5 changes: 0 additions & 5 deletions static/js/src/advantage/credentials/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import CredManage from "./components/CredManage";
import CredKeyShop from "./components/CredKeyShop";
import CredExamShop from "./components/CredExamShop/CredExamShop";
import CredWebhookResponses from "./components/CredWebhookResponses";

const oneHour = 1000 * 60 * 60;
const queryClient = new QueryClient({
Expand Down Expand Up @@ -42,10 +41,6 @@ function App() {
<Route path="/" element={<CredExamShop />} />
<Route path="/keys" element={<CredKeyShop />} />
<Route path="/manage" element={<CredManage />} />
<Route
path="/webhook_responses"
element={<CredWebhookResponses />}
/>
</Routes>
</Router>
<ReactQueryDevtools initialIsOpen={false} />
Expand Down

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions static/js/src/advantage/users/components/ExplainingTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ const ExplainingTable = () => (
content: "Payment & Invoices",
className: "u-align--center",
},
{
content: "Support Portal seat",
className: "u-align--center",
},
]}
rows={[
{
Expand All @@ -53,10 +49,6 @@ const ExplainingTable = () => (
content: <Icon name={ICONS.success} />,
className: "u-align--center",
},
{
content: <Icon name={ICONS.success} />,
className: "u-align--center",
},
],
},
{
Expand All @@ -81,10 +73,6 @@ const ExplainingTable = () => (
content: <Icon name={ICONS.error} />,
className: "u-align--center",
},
{
content: <Icon name={ICONS.success} />,
className: "u-align--center",
},
],
},
{
Expand All @@ -109,10 +97,6 @@ const ExplainingTable = () => (
content: <Icon name={ICONS.success} />,
className: "u-align--center",
},
{
content: <Icon name={ICONS.error} />,
className: "u-align--center",
},
],
},
]}
Expand Down
8 changes: 4 additions & 4 deletions static/js/src/chart-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -1258,8 +1258,8 @@ export var desktopServerReleaseNames = [
export var kernelReleaseNames = [
"22.04.4 LTS",
"23.10",
"22.04.1 LTS",
"20.04.5 LTS",
"22.04.1 LTS",
"22.04.0 LTS",
"18.04.5 LTS",
"20.04.1 LTS",
Expand Down Expand Up @@ -1326,25 +1326,25 @@ export var kernelReleaseNamesALL = [
"Ubuntu 20.04.1 LTS (v5.4)",
"Ubuntu 18.04.5 LTS (v5.4)",
"Ubuntu 22.04.0 LTS (v5.15)",
"Ubuntu 20.04.5 LTS (v5.15)",
"Ubuntu 22.04.1 LTS (v5.15)",
"Ubuntu 20.04.5 LTS (v5.15)",
"Ubuntu 23.10 (v6.5)",
"Ubuntu 22.04.4 LTS (v6.5)",
];

export var kernelReleaseNamesLTS = [
"Ubuntu 16.04.0 LTS (v4.4)",
"Ubuntu 14.04.5 LTS (v4.4)",
"Ubuntu 16.04.1 LTS (v4.4)",
"Ubuntu 14.04.5 LTS (v4.4)",
"Ubuntu 18.04.0 LTS (v4.15)",
"Ubuntu 18.04.1 LTS (v4.15)",
"Ubuntu 16.04.5 LTS (v4.15)",
"Ubuntu 20.04.0 LTS (v5.4)",
"Ubuntu 20.04.1 LTS (v5.4)",
"Ubuntu 18.04.5 LTS (v5.4)",
"Ubuntu 22.04.0 LTS (v5.15)",
"Ubuntu 20.04.5 LTS (v5.15)",
"Ubuntu 22.04.1 LTS (v5.15)",
"Ubuntu 20.04.5 LTS (v5.15)",
"Ubuntu 22.04.4 LTS (v6.5)",
];

Expand Down

0 comments on commit 8c6a1e7

Please sign in to comment.