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

Merge main into feature branch #13660

Merged
merged 26 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
987bcc0
Switched from ip to tz for geolocation
samhotep Mar 1, 2024
c03b768
Fixed formatting
samhotep Mar 1, 2024
67448d6
WD-9266 Add Edge AI link
Mar 4, 2024
0e18686
WD-9049 - fix contact form field not being sent
Mar 4, 2024
d973dab
WD-9157 - add CTA button to /aws/pro
Mar 4, 2024
a5a3335
Apply copy updates
mtruj013 Mar 4, 2024
ad3fe69
Merge pull request #13643 from mtruj013/cloud-copy-update
mtruj013 Mar 4, 2024
1ac5bf0
Added tests
samhotep Mar 4, 2024
31da434
Fixed formatting
samhotep Mar 4, 2024
30bfc95
Make resource_url optional for contaact_form_only engage pages (#13624)
carkod Mar 4, 2024
76ef96e
Merge pull request #13636 from canonical/use-tz-for-geolocation
samhotep Mar 4, 2024
cfdeb89
Change truability api to new url (#13644)
abhigyanghosh30 Mar 4, 2024
d461f64
Merge pull request #13642 from lizzochek/task/WD-9157
lizzochek Mar 4, 2024
a002b52
Merge pull request #13626 from carkod/update-ai-wd-9266
akbarkz Mar 5, 2024
a7bbdf2
fix(TA api): change X_API-KEY to X-API-KEY
abhigyanghosh30 Mar 5, 2024
814b509
Merge pull request #13641 from lizzochek/task/WD-9049
lizzochek Mar 5, 2024
5f84beb
Merge pull request #13646 from abhigyanghosh30/change_trueability_url
jpmartinspt Mar 5, 2024
eb487bb
WD-9175 - fix broken link on u.com
Mar 6, 2024
d56101f
Merge pull request #13648 from lizzochek/task/WD-9175
lizzochek Mar 6, 2024
422b778
Check notice id string before calling api
mtruj013 Mar 6, 2024
5868739
Merge pull request #13650 from mtruj013/notice-id-bug
mtruj013 Mar 6, 2024
9183a77
add an instruction to robots.txt to exclude docs search page
akbarkz Mar 7, 2024
e423c3d
Merge pull request #13652 from akbarkz/chore/exclude_docs_search_from…
akbarkz Mar 7, 2024
b6f8a79
WD-9428 - remove roadshow from ai navigation
Mar 7, 2024
a2e134d
Wd 8766 Your Exams page logic overhaul (#13651)
abhigyanghosh30 Mar 7, 2024
365030a
Merge pull request #13653 from lizzochek/task/WD-9428
akbarkz Mar 11, 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
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CONTRACTS_API_URL=https://contracts.staging.canonical.com/
STRIPE_PUBLISHABLE_KEY=pk_test_yndN9H0GcJffPe0W58Nm64cM00riYG4N46
STORE_MAINTENANCE=false
BADGR_URL=https://api.test.badgr.com
TRUEABILITY_URL="https://app.trueability.com"
TRUEABILITY_URL="https://app3.trueability.com"
CREDLY_URL="https://api.credly.com/v1"
BADGR_ISSUER="36ZEJnXdTjqobw93BJElog"
CERTIFIED_BADGE="x9kzmcNhSSyqYhZcQGz0qg"
Expand Down
4 changes: 2 additions & 2 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ For the most part this will happen automatically as long as the subpages (/ai/wh
### Working on Credentials

If you want to work on [Credentials](https://ubuntu.com/credentials) you need to add some environment vars into your `.env.local`.
If you have a TrueAbility account with API access enabled, you can find your API key in [Settings](https://app.trueability.com/settings).
If you have a TrueAbility account with API access enabled, you can find your API key in [Settings](https://app3.trueability.com/settings).


```
TRUEABILITY_URL="https://app.trueability.com"
TRUEABILITY_URL="https://app3.trueability.com"
TRUEABILITY_API_KEY=<trueability_api_key>
BADGR_URL=https://api.test.badgr.com
BAGDR_USER=<badgr_user>
Expand Down
3 changes: 2 additions & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ let entries = {
"random-partner-logos": "./static/js/src/random-partner-logos.js",
"credEnterprisePurchasing": "./static/js/src/advantage/credentials/app.tsx",
activate: "./static/js/src/activate.js",
"chiselled-chart": "./static/js/src/charts/chiselled-chart.js"
"chiselled-chart": "./static/js/src/charts/chiselled-chart.js",
tabbedContent: "./static/js/src/tabbed-content.js",
};

const isDev = process && process.env && process.env.NODE_ENV === "development";
Expand Down
10 changes: 5 additions & 5 deletions konf/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ env:
value: pk_live_68aXqowUeX574aGsVck8eiIE

- name: TRUEABILITY_URL
value: https://app.trueability.com
value: https://app3.trueability.com

- name: TRUEABILITY_API_KEY
secretKeyRef:
Expand Down Expand Up @@ -254,7 +254,7 @@ production:
name: confidentiality-webhook

- name: TRUEABILITY_URL
value: https://app.trueability.com
value: https://app3.trueability.com

- name: TRUEABILITY_API_KEY
secretKeyRef:
Expand Down Expand Up @@ -593,7 +593,7 @@ staging:
value: pk_test_yndN9H0GcJffPe0W58Nm64cM00riYG4N46

- name: TRUEABILITY_URL
value: https://app.trueability.com
value: https://app3.trueability.com

- name: TRUEABILITY_API_KEY
secretKeyRef:
Expand Down Expand Up @@ -729,7 +729,7 @@ staging:
name: confidentiality-webhook

- name: TRUEABILITY_URL
value: https://app.trueability.com
value: https://app3.trueability.com

- name: TRUEABILITY_API_KEY
secretKeyRef:
Expand Down Expand Up @@ -1018,7 +1018,7 @@ demo:
value: pk_test_yndN9H0GcJffPe0W58Nm64cM00riYG4N46

- name: TRUEABILITY_URL
value: https://app.trueability.com
value: https://app3.trueability.com

- name: TRUEABILITY_API_KEY
secretKeyRef:
Expand Down
2 changes: 0 additions & 2 deletions navigation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ ai:
path: /ai/mlflow
- title: Consulting
path: /ai/consulting
- title: Roadshow
path: /ai/roadshow

kubernetes:
title: Canonical Kubernetes
Expand Down
251 changes: 251 additions & 0 deletions static/files/countries.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
{
"AD": "Andorra",
"AE": "United Arab Emirates",
"AF": "Afghanistan",
"AG": "Antigua and Barbuda",
"AI": "Anguilla",
"AL": "Albania",
"AM": "Armenia",
"AO": "Angola",
"AQ": "Antarctica",
"AR": "Argentina",
"AS": "American Samoa",
"AT": "Austria",
"AU": "Australia",
"AW": "Aruba",
"AX": "Åland Islands",
"AZ": "Azerbaijan",
"BA": "Bosnia and Herzegovina",
"BB": "Barbados",
"BD": "Bangladesh",
"BE": "Belgium",
"BF": "Burkina Faso",
"BG": "Bulgaria",
"BH": "Bahrain",
"BI": "Burundi",
"BJ": "Benin",
"BL": "Saint Barthélemy",
"BM": "Bermuda",
"BN": "Brunei",
"BO": "Bolivia",
"BQ": "Caribbean Netherlands",
"BR": "Brazil",
"BS": "Bahamas",
"BT": "Bhutan",
"BV": "Bouvet Island",
"BW": "Botswana",
"BY": "Belarus",
"BZ": "Belize",
"CA": "Canada",
"CC": "Cocos Islands",
"CD": "Democratic Republic of the Congo",
"CF": "Central African Republic",
"CG": "Republic of the Congo",
"CH": "Switzerland",
"CI": "Ivory Coast",
"CK": "Cook Islands",
"CL": "Chile",
"CM": "Cameroon",
"CN": "China",
"CO": "Colombia",
"CR": "Costa Rica",
"CU": "Cuba",
"CV": "Cabo Verde",
"CW": "Curaçao",
"CX": "Christmas Island",
"CY": "Cyprus",
"CZ": "Czechia",
"DE": "Germany",
"DJ": "Djibouti",
"DK": "Denmark",
"DM": "Dominica",
"DO": "Dominican Republic",
"DZ": "Algeria",
"EC": "Ecuador",
"EE": "Estonia",
"EG": "Egypt",
"EH": "Western Sahara",
"ER": "Eritrea",
"ES": "Spain",
"ET": "Ethiopia",
"FI": "Finland",
"FJ": "Fiji",
"FK": "Falkland Islands",
"FM": "Micronesia",
"FO": "Faroe Islands",
"FR": "France",
"GA": "Gabon",
"GB": "United Kingdom",
"GD": "Grenada",
"GE": "Georgia",
"GF": "French Guiana",
"GG": "Guernsey",
"GH": "Ghana",
"GI": "Gibraltar",
"GL": "Greenland",
"GM": "Gambia",
"GN": "Guinea",
"GP": "Guadeloupe",
"GQ": "Equatorial Guinea",
"GR": "Greece",
"GS": "South Georgia and the South Sandwich Islands",
"GT": "Guatemala",
"GU": "Guam",
"GW": "Guinea-Bissau",
"GY": "Guyana",
"HK": "Hong Kong",
"HM": "Heard Island and McDonald Islands",
"HN": "Honduras",
"HR": "Croatia",
"HT": "Haiti",
"HU": "Hungary",
"ID": "Indonesia",
"IE": "Ireland",
"IL": "Israel",
"IM": "Isle of Man",
"IN": "India",
"IO": "British Indian Ocean Territory",
"IQ": "Iraq",
"IR": "Iran",
"IS": "Iceland",
"IT": "Italy",
"JE": "Jersey",
"JM": "Jamaica",
"JO": "Jordan",
"JP": "Japan",
"KE": "Kenya",
"KG": "Kyrgyzstan",
"KH": "Cambodia",
"KI": "Kiribati",
"KM": "Comoros",
"KN": "Saint Kitts and Nevis",
"KP": "North Korea",
"KR": "South Korea",
"KW": "Kuwait",
"KY": "Cayman Islands",
"KZ": "Kazakhstan",
"LA": "Laos",
"LB": "Lebanon",
"LC": "Saint Lucia",
"LI": "Liechtenstein",
"LK": "Sri Lanka",
"LR": "Liberia",
"LS": "Lesotho",
"LT": "Lithuania",
"LU": "Luxembourg",
"LV": "Latvia",
"LY": "Libya",
"MA": "Morocco",
"MC": "Monaco",
"MD": "Moldova",
"ME": "Montenegro",
"MF": "Saint Martin",
"MG": "Madagascar",
"MH": "Marshall Islands",
"MK": "North Macedonia",
"ML": "Mali",
"MM": "Myanmar",
"MN": "Mongolia",
"MO": "Macao",
"MP": "Northern Mariana Islands",
"MQ": "Martinique",
"MR": "Mauritania",
"MS": "Montserrat",
"MT": "Malta",
"MU": "Mauritius",
"MV": "Maldives",
"MW": "Malawi",
"MX": "Mexico",
"MY": "Malaysia",
"MZ": "Mozambique",
"NA": "Namibia",
"NC": "New Caledonia",
"NE": "Niger",
"NF": "Norfolk Island",
"NG": "Nigeria",
"NI": "Nicaragua",
"NL": "Netherlands",
"NO": "Norway",
"NP": "Nepal",
"NR": "Nauru",
"NU": "Niue",
"NZ": "New Zealand",
"OM": "Oman",
"PA": "Panama",
"PE": "Peru",
"PF": "French Polynesia",
"PG": "Papua New Guinea",
"PH": "Philippines",
"PK": "Pakistan",
"PL": "Poland",
"PM": "Saint Pierre and Miquelon",
"PN": "Pitcairn",
"PR": "Puerto Rico",
"PS": "Palestine",
"PT": "Portugal",
"PW": "Palau",
"PY": "Paraguay",
"QA": "Qatar",
"RE": "Réunion",
"RO": "Romania",
"RS": "Serbia",
"RU": "Russia",
"RW": "Rwanda",
"SA": "Saudi Arabia",
"SB": "Solomon Islands",
"SC": "Seychelles",
"SD": "Sudan",
"SE": "Sweden",
"SG": "Singapore",
"SH": "Saint Helena, Ascension and Tristan da Cunha",
"SI": "Slovenia",
"SJ": "Svalbard and Jan Mayen",
"SK": "Slovakia",
"SL": "Sierra Leone",
"SM": "San Marino",
"SN": "Senegal",
"SO": "Somalia",
"SR": "Suriname",
"SS": "South Sudan",
"ST": "Sao Tome and Principe",
"SV": "El Salvador",
"SX": "Sint Maarten",
"SY": "Syria",
"SZ": "Eswatini",
"TC": "Turks and Caicos Islands",
"TD": "Chad",
"TF": "French Southern Territories",
"TG": "Togo",
"TH": "Thailand",
"TJ": "Tajikistan",
"TK": "Tokelau",
"TL": "Timor-Leste",
"TM": "Turkmenistan",
"TN": "Tunisia",
"TO": "Tonga",
"TR": "Turkey",
"TT": "Trinidad and Tobago",
"TV": "Tuvalu",
"TW": "Taiwan",
"TZ": "Tanzania",
"UA": "Ukraine",
"UG": "Uganda",
"UM": "United States Minor Outlying Islands",
"US": "United States of America",
"UY": "Uruguay",
"UZ": "Uzbekistan",
"VA": "Holy See",
"VC": "Saint Vincent and the Grenadines",
"VE": "Venezuela",
"VG": "Virgin Islands (UK)",
"VI": "Virgin Islands (US)",
"VN": "Vietnam",
"VU": "Vanuatu",
"WF": "Wallis and Futuna",
"WS": "Samoa",
"YE": "Yemen",
"YT": "Mayotte",
"ZA": "South Africa",
"ZM": "Zambia",
"ZW": "Zimbabwe"
}
1 change: 1 addition & 0 deletions static/files/robots.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
User-Agent: *
Disallow: /search
Disallow: /search*
Disallow: /server/docs/search*
Sitemap: https://ubuntu.com/sitemap.xml
Loading
Loading