Commit Graph

246 Commits (1fb1a090e4bad84a9f01309e543248b02a8afe59)

Author SHA1 Message Date
Nicholas Carrigan (he/him) ea7acba786
fix(tools): translation workflow (#43666) 2021-10-01 23:02:20 +05:30
renovate[bot] 3e1369f892
chore(deps): update actions/github-script action to v5 (#43648)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 12:32:40 +05:30
Nicholas Carrigan (he/him) 02ffd4eee6
docs: add hacktoberfest note (#43645) 2021-10-01 07:55:27 +05:30
Nicholas Carrigan (he/him) d3beb6e370
feat(actions): autoclose workflow (#43644) 2021-10-01 07:54:59 +05:30
Nicholas Carrigan (he/him) f00edd6a3a
fix(tools): different condition for codesee-maps (#43558) 2021-09-24 09:08:25 -07:00
Nicholas Carrigan (he/him) 2abc2f6473
chore(tools): ignore i18n branches (#43557) 2021-09-24 19:21:54 +05:30
Nicholas Carrigan (he/him) d98ddebf0d
feat(docs): enable japanese docs (#43523) 2021-09-22 06:02:42 +05:30
Shaun Hamilton 2949fb0d53
feat(actions): remove codesee map from renovate prs (#43506) 2021-09-21 09:58:24 +02:00
codesee-architecture-diagrams[bot] ff0c8bf57a
Add CodeSee architecture diagram workflow to repository (#43501)
Co-authored-by: codesee-architecture-diagrams[bot] <86324825+codesee-architecture-diagrams[bot]@users.noreply.github.com>
2021-09-20 17:28:39 +02:00
Nicholas Carrigan (he/him) 3ed507a817
fix: unhide this string (#43292)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-26 08:32:10 +05:30
Oliver Eyton-Williams 45a2564dcf
test: build client once and use in Cypress jobs (#43301) 2021-08-25 09:18:31 -07:00
Oliver Eyton-Williams d161998acc
test: check that JS projects can be submitted. (#43222)
* test: check that JS projects can be submitted.

* refactor: remove stale workflow comments

* refactor: remove redundant build

* chore: update Cypress version in CI

* test: create separate electron-only workflow

* test: put data-cy on correct button

* test: drop mailhog from electron CI

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* refactor: update differences comment

* test: separate toggling from logging in

* test: check solutions can be viewed on cert

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-08-24 20:26:48 +02:00
Shaun Hamilton c2a11ad00d
feat: add 'back/front end' in curriculum (#42596)
* chore: rename APIs and Microservices to include "Backend" (#42515)

* fix typo

* fix typo

* undo change

* Corrected grammar mistake

Corrected a grammar mistake by removing a comma.

* change APIs and Microservices cert title

* update title

* Change APIs and Microservices certi title

* Update translations.json

* update title

* feat(curriculum): rename apis and microservices cert

* rename folder structure

* rename certificate

* rename learn Markdown

* apis-and-microservices -> back-end-development-and-apis

* update backend meta

* update i18n langs and cypress test

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* fix: add development to front-end libraries (#42512)

* fix: added-the-word-Development-to-front-end-libraries

* fix/added-the-word-Development-to-front-end-libraries

* fix/added-word-development-to-front-end-libraries-in-other-related-files

* fix/added-the-word-Development-to-front-end-and-all-related-files

* fix/removed-typos-from-last-commit-in-index.md

* fix/reverted-changes-that-i-made-to-dependecies

* fix/removed xvfg

* fix/reverted changes that i made to package.json

* remove unwanted changes

* front-end-development-libraries changes

* rename backend certSlug and README

* update i18n folder names and keys

* test: add legacy path redirect tests

This uses serve.json from the client-config repo, since we currently use
that in production

* fix: create public dir before moving serve.json

* fix: add missing script

* refactor: collect redirect tests

* test: convert to cy.location for stricter tests

* rename certificate folder to 00-certificates

* change crowdin config to recognise new certificates location

* allow translations to be used

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* add forwards slashes to path redirects

* fix cypress path tests again

* plese cypress

* fix: test different challenge

Okay so I literally have no idea why this one particular challenge
fails in Cypress Firefox ONLY. Tom and I paired and spun a full build
instance and confirmed in Firefox the page loads and redirects as
expected. Changing to another bootstrap challenge passes Cypress firefox
locally. Absolutely boggled by this.

AAAAAAAAAAAAAAA

* fix: separate the test

Okay apparently the test does not work unless we separate it into
a different `it` statement.

>:( >:( >:( >:(

Co-authored-by: Sujal Gupta <55016909+heysujal@users.noreply.github.com>
Co-authored-by: Noor Fakhry <65724923+NoorFakhry@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-08-13 21:57:13 -05:00
Huyen Nguyen 20c458bfe7
chore: update issue templates (#42999) 2021-07-25 22:56:49 +05:30
Nicholas Carrigan (he/him) 2623148783
feat: update funding.yml (#42709) 2021-07-03 15:46:56 -05:00
Mrugesh Mohapatra 0a0caf18ae
fix(actions): use inbuilt cache with setup-node (#42730) 2021-07-03 14:09:25 +01:00
Ilenia 1a8d705226
feat(i18n): enable italian contributing documentation (#42662)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-06-29 11:12:37 +05:30
Nicholas Carrigan (he/him) 643f34fe3a
feat(tools): hide string action (#42547)
Create an action that allows us to hide a specific string during
the crowdin upload process.
2021-06-17 23:54:56 +05:30
Mrugesh Mohapatra 3130265991
revert: (test, e2e) test suit for cypress (#42488)
This reverts commit 22b45761a7.
2021-06-14 23:44:43 +05:30
Nicholas Carrigan (he/him) c2326741a8
feat(tools): add languages (#42484) 2021-06-14 19:07:21 +02:00
Sem Bauke 22b45761a7
feat(test, e2e) test suit for cypress (#42138)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-14 22:07:52 +05:30
Oliver Eyton-Williams c69a1cb483
test: enable testing for upcoming challenges (#42360)
* test: enable testing for upcoming challenges

* fix: enable SHOW_UPCOMING_CHANGES during test

* Revert "fix: enable SHOW_UPCOMING_CHANGES during test"

This reverts commit f1bd00fdba.

* Revert "test: enable testing for upcoming challenges"

This reverts commit d0409fef66.

* feat: test upcoming changes in separate job
2021-06-08 16:57:27 +01:00
Eric Leung 7c8b0fcf08
chore: separate News articles issue template (#42372)
Updates to News articles are resolved by sending emails to the editorial
team. This commit reflects this decision in creating a distinct link
about News articles and removing mention of it in an existing issue.

Mail link was created using https://mailxto.com/.
2021-06-08 08:25:50 +02:00
Mrugesh Mohapatra b1eeb0fb11
docs: update PR template (#42210)
* docs: update PR template

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-22 07:23:56 -07:00
Oliver Eyton-Williams de40fe86e9
test(e2e): more settings tests (#42046) 2021-05-07 07:30:38 -07:00
Mrugesh Mohapatra 6ea518c402
fix(CI): remove underused lighthouse CI (#42027) 2021-05-06 16:17:10 +00:00
Mrugesh Mohapatra 411ce3002c
fix(code-ql): update code-ql action (#42010) 2021-05-06 10:03:34 +05:30
Mrugesh Mohapatra ccdea0c727
fix(cypress): remove parallel runs (#42011)
* fix(cypress): remove parallel runs

* chore: apply review comments

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* chore: apply review comments

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-05-06 10:03:06 +05:30
Nicholas Carrigan (he/him) 4ed75cb79f
fix(tools): ignore renovate (#42008)
Ignore the branches renovate creates for the push events.
2021-05-06 00:20:38 +05:30
Nicholas Carrigan e46e80e08f feat(client): add chinese traditional
Add chinese traditional to the all-langs validation and necessary
client build configs.
2021-05-05 21:06:54 +05:30
Oliver Eyton-Williams e7156dcc9e
feat: generate Webpack stats in CI (#41993) 2021-05-05 14:32:22 +00:00
Mrugesh Mohapatra 9e992a32a2
chore: update issue templates (#41892)
* chore: update issue templates

* chore: apply suggestions from code review

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-04-22 10:14:35 -05:00
renovate[bot] 824d5f9fdf
chore(deps): update actions/github-script action to v4 (#41885)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-22 19:33:08 +05:30
renovate[bot] 2f736f7f8e
chore(deps): update dependency cypress to v7 (#41838)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-19 13:05:00 +05:30
Sem Bauke 1f9166922c
feat(Cypress): enabling parallelization Cypress (#41782)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-04-09 06:14:45 +02:00
Nicholas Carrigan (he/him) d1c800879c
fix(tools): multiple workflow fixes (#41763) 2021-04-08 11:30:29 +05:30
Nicholas Carrigan (he/him) b0c75eae60
feat(tools): use camperbot for commit (#41659) 2021-04-02 17:46:00 +05:30
Oliver Eyton-Williams 275e12ba80
tools: test all languages in CI (#41512)
* tools: test all languages in CI

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-04-01 06:20:43 -07:00
Mrugesh Mohapatra 275b17a414
fix(actions): remove node 12 - diligently this time (#41682) 2021-03-31 10:09:15 +02:00
Oliver Eyton-Williams 1e992546ae
fix(i18n): only reject changed challenge md files (#41674)
The existing action is overzealous and catches the meta.json files.
2021-03-30 12:11:14 -05:00
Mrugesh Mohapatra 41577b818c
chore: remove approval workflow (#41650) 2021-03-29 16:49:12 +05:30
Nicholas Carrigan (he/him) 26228279d1
fix(tools): new token (#41611)
Use the newer camperbot token.
2021-03-27 10:12:40 +05:30
Mrugesh Mohapatra 0ba8274066
fix(actions): update workflows, add auto-approval (#41591)
* fix(actions): update workflows, add auto-approval

* fix: apply suggestions from code review

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* fix: apply suggestions from code review

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-03-26 12:52:44 -07:00
Mrugesh Mohapatra 34dca74b50
fix(tools): adjust ownership of files (#41590) 2021-03-26 20:23:35 +05:30
Mrugesh Mohapatra ca6cb07838
chore(ci): deprecate node 12 (#41585) 2021-03-26 17:07:02 +05:30
Nicholas Carrigan (he/him) 8305cad79a
fix: address crowdin issues (#41517) 2021-03-18 16:31:05 +01:00
Mrugesh Mohapatra 917a9d2643
chore: delete housekeeping workflows (#41487)
Latest changes enforced by GitHub prevents using the action in dependabot's PR's context. See: https://github.com/ahmadnassri/action-dependabot-auto-merge/issues/60, https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions

Regardless of the above we also moved to needing atleast two approvals

Removing this workflow for now.
2021-03-15 05:04:54 -06:00
Randell Dawson 50369edd12
feat(tools): Add a PR labeler action to the repo (#41458) 2021-03-13 22:14:19 +05:30
Mrugesh Mohapatra b0bfc00f21 fix(actions): update workflow matrices & docs
This commit intentionally adds a matrix to keep supporting Node.js 12
while we evaluate it
2021-03-11 12:19:42 +05:30
Nicholas Carrigan (he/him) c70bac4614
fix(tools): update automated message (#41437)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-11 02:44:19 +05:30
Randell Dawson 5063b1104e
fix(tools): Removed commas from Yaml file (#41426)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-03-09 22:54:28 +05:30
Randell Dawson 75dc001aea
feat(tools): Add Crowdin PR creator action (#41383)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-03-09 22:27:40 +05:30
Randell Dawson 5367bd43e1
fix: rename job names for docs project workflows (#41400) 2021-03-07 08:09:42 -08:00
Nicholas Carrigan (he/him) 55dfa28359
fix(tools): implement better error handling (#41379)
* fix(tools): implement better error handling

Modifies the workflow to validate the branch exists and the PR does
not. This was not blocking any issues, but caused the action to
report a failure.

* fix: apply Randy's review suggestions

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-05 13:00:02 -07:00
Nicholas Carrigan (he/him) 1b93a749ba
fix(tools): use correct branch name (#41369) 2021-03-04 20:30:38 -08:00
Nicholas Carrigan (he/him) 269209e7c3
fix(tools): only camperbot translates (#41366)
* fix(tools): only camperbot translates

Modifies the no pr to translation workflow to fail on any PR that
was not created by camperbot.

* fix(tools): update message

* Update .github/workflows/no-prs-to-translation.yml

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-04 20:56:42 -07:00
Nicholas Carrigan (he/him) 4fe3828537
feat(tools): automatic crowdin prs (#41365)
* feat(tools): automatic crowdin prs

Enables automatic PR creation on all download scripts.

* feat: CRON everything

* fix(tools): stagger workflows
2021-03-04 20:54:17 -07:00
Nicholas Carrigan (he/him) c000c7ab11
fix(tools): use new token thanks Randy (#41362)
* fix(tools): temp disable cron

* fix: new token thanks Randy
2021-03-04 14:46:34 -08:00
Nicholas Carrigan (he/him) fa6b11f359
fix(tools): set crowdin cron job (#41361)
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
2021-03-05 02:01:40 +05:30
Mrugesh Mohapatra 78e739cb53
fix(actions): include docs in no-translation (#41358) 2021-03-04 08:00:51 -08:00
Mrugesh Mohapatra de745ad218
fix(CI): update workflows (#41319) 2021-03-01 11:45:21 +03:00
Mrugesh Mohapatra b5f4754e2a
fix: re-revert the API decoupling (#41263)
* fix(api): decouple api from curriculum

This reverts commit 8f0e441644 and
introduces the implementations from #40703.

* fix(gitpod): add curriculum build to GitPod

This reverts commit 706d70f58d and
introduces implementations from #41234.

* docs: update DevOps manual for api change (#41259)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-25 12:02:35 -08:00
Oliver Eyton-Williams b73022c81b
fix: make missing scripts fail linting/testing (#41260)
If a script is not present, we would like an error letting us know.
2021-02-25 20:06:01 +05:30
Mrugesh Mohapatra 8f0e441644 revert(api): decouple api from curriculum
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30
Randell Dawson c6d8996f39
fix(tool): Added more files to restrict from direct translations (#41243)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-25 00:58:16 +05:30
Nicholas Carrigan (he/him) cadfa4f767
docs(i18n): enable portuguese (#41232)
Makes the necessary changes to the workflow and documentation files
to enable the Portuguese translations.
2021-02-23 10:46:09 +05:30
Oliver Eyton-Williams c077ffe4b9
feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
Oliver Eyton-Williams fd7b63c8d7
fix: no translation action (#41212)
* fix: no translation action body quotes

* refactor: more canonical no translation script
2021-02-21 07:24:38 -08:00
Nicholas Carrigan (he/him) 037cd95d3d
fix: revert suggestions to workflow (#41199)
* fix: revert suggestions to workflow

* fix: one more await
2021-02-20 16:33:35 -07:00
Nicholas Carrigan (he/him) 950841c25e
fix(tools): no i18n workflow (#41157)
* fix(tools): adjust no-translate workflow

Modifies the no-prs-to-translation workflow to target our new `main`
branch, and verify that the PR comes from a forked repository.

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-18 17:04:03 +01:00
Mrugesh Mohapatra 51ec477329
chore: pin mongodb for warnings - again (#41163) 2021-02-18 16:01:22 +05:30
Randell Dawson 29586e7082
fix: create separate steps for chinese and spanish downloads (#41143) 2021-02-16 18:11:42 -08:00
Randell Dawson 99d0763550
fix: only download chinese and spanish docs (#41114) 2021-02-14 11:48:20 -08:00
Randell Dawson e8986f6cfc
fix: skip untranslated files for curriculum download (#41059) 2021-02-11 12:24:18 -08:00
Randell Dawson dc810022d1
fix: do not skip untranslated files in download (#41058) 2021-02-11 19:51:03 +01:00
Nicholas Carrigan (he/him) 19d10ef925
fix(tools): fix my fix (#41057)
Try again :)
2021-02-11 22:50:39 +05:30
Nicholas Carrigan (he/him) 26564419fd
fix(tools): allow partial translation (#41055)
* fix(tools): allow partial translation

Modifies the workflow to allow for partial download of translations
to ensure we get all keys in the translation object even if they
still have english values.

NOTE: Sets workflow to dry run for testing purposes. Will need to
revert that setting.

* revert(tools): no dry run
2021-02-11 09:55:34 -07:00
Mrugesh Mohapatra 149cf95310
chore(crowdin): re-arrange crowdin config files (#41046) 2021-02-10 11:06:13 -07:00
Randell Dawson c3a0793be2
fix(tools, crowdin): do not skip downloading untranslated files (#40922) 2021-02-05 13:39:09 +05:30
Mrugesh Mohapatra c4021bc57f
chore: please use short branch names (#40920) 2021-02-04 23:41:41 -07:00
Nicholas Carrigan (he/him) 2a23c2d989
fix(docs, tools): switch to main in PR template (#40882)
Changes `master` to `main` in the template to reflect our branch rename.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-02-03 00:44:04 +05:30
Randell Dawson 7eb6bfc127
fix(tools): Download all languages from Crowdin (#40849) 2021-02-01 09:34:36 +05:30
Randell Dawson cc223a9e54
fix: do not upload translations (#40848) 2021-01-31 12:41:24 -08:00
Randell Dawson b07a9116b6
feat: use crowdin for client ui translations (#40841) 2021-01-31 13:48:52 +05:30
Randell Dawson 32e80aa351
fix(docs): Configure docs folder with Crowdin (#40776) 2021-01-25 08:39:57 +05:30
Nicholas Carrigan (he/him) 69b181ee97
fix: disable automatic PR creation (#40753)
Temporarily disables the automatic PR creation on Crowdin Download while
we determine the best approach for this. PRs created by the action
itself cannot trigger workflows, which prevents our CI from running. As
such, this is currently not a viable approach.


Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-21 11:30:16 +05:30
Nicholas Carrigan (he/him) f159ad873c
fix(tools): adjust comment message (#40711)
* fix: adjust comment message

Changes the message this action uses for a PR comment to remove the
reference to the translation page pending announcement.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: expand comment

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-15 16:12:02 -07:00
Mrugesh Mohapatra d3149dc9ca fix: update catch translations actions (#40705)
* fix: update catch translations actions

* Update .github/workflows/no-prs-to-translation.yml
2021-01-15 19:06:44 +05:30
Mrugesh Mohapatra 2c190c5fff
chore: update action name 2021-01-15 18:30:31 +05:30
Mrugesh Mohapatra 398b560802
chore: update the upload action name 2021-01-15 18:30:04 +05:30
Randell Dawson d58d37ff98
chore: modify workflow to not upload translations anymore (#40696) 2021-01-13 12:48:43 -08:00
Nicholas Carrigan (he/him) 94190f51fc
feat(tools): add action to check for translations (#40692)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-01-13 23:00:52 +05:30
Randell Dawson 0095583028
feat: Crowdin integration scripts/actions (#40657) 2021-01-12 23:50:54 +05:30
Mrugesh Mohapatra e7db3386ed
chore: update CodeQL Scanning (#40511) 2020-12-21 16:25:42 +01:00
Twaha Rahman 45fe3d8814
fix(cypress): Re-introduce Firefox in Cypress CI (#40440)
* Revert "chore: drop firefox for intermittent fails"

This reverts commit 704beb2260.

* Increase timeout for Cypress learn log output test
2020-12-14 18:50:48 +01:00
Twaha Rahman bf0c49f9b4
chore(cypress): migrate to Cypress v6 (#40396)
* Update Cypress version from 5.3.0 to 6.0.0

* Replace `not.be.visible` with `not.exist`

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-12-07 11:02:52 +01:00
Oliver Eyton-Williams aebe53312c
chore: Cypress action v1 -> v2 (#40253) 2020-11-17 14:22:15 +03:00
Mrugesh Mohapatra cfb0695e9e fix(crowdin): update github action 2020-10-22 04:20:19 +05:30
Oliver Eyton-Williams d94a240cf4
fix(cypress): update setting of env vars (#39962) 2020-10-13 17:22:06 +05:30
Mrugesh Mohapatra c84f83e7bf
chore: update codeowners 2020-10-12 15:00:40 +05:30