awu43
4134404bfd
feat(client): ts-migrate WithInstantSearch.js ( #42923 )
...
* rename to TS
* update import
* migrate with-instant-search
* change falsy values to empty string
* update import order
Finish resolving conflict from #41824
* update import order for search-bar
* update setTimeout() type
2021-08-05 21:00:30 +01:00
Nicolás Restrepo
e34ec814ef
feat(client): migrate donate module to ts ( #42561 )
...
* change DonationTextComponent extension to tsx
* migrate DonationTextComponents to ts
* change DonationModal extension to tsx
* add @types/react-redux
* migrate DonationModal to ts
* change PaypalButton extension to ts
* change DonateCompletion extension to tsx
* migrate DonateCompletion to TypeScript
* change PayPalButtonLoader extension to tsx
* first changes in paypal button (help needed)
* first changes in PayPalButtonScriptLoader (help needed)
* change DonateForm extension to tsx
* migrate donate module to ts
* Update client/src/components/Donation/DonateForm.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* Update client/src/components/Donation/DonationModal.tsx
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update client/src/components/Donation/DonationModal.tsx
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update client/src/components/Donation/DonateForm.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* Update client/src/components/Donation/DonateForm.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* Delete console.log client/src/components/Donation/DonationModal.tsx
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* applied changes requested
* fix: readjust default one time amount
* fix types
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* chore: restore comments.json
* fix: type assertion
* fix: specific DonateForm props
* Apply suggestions from code review
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* Update client/src/components/Donation/PaypalButton.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* fix:set default stat for paypalbutton
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com >
2021-08-04 11:21:11 +01:00
Ilenia
a901ad1a60
enable last 4 Italian certs ( #42931 )
2021-07-20 14:43:21 +05:30
Mrugesh Mohapatra
1d1506f8c6
feat(por): enable first two certifications ( #42859 )
2021-07-19 10:57:23 +05:30
Alessia Vanni
49021a0f46
feat(i18n): enable sixth italian cert ( #42913 )
2021-07-17 10:42:15 +01:00
Nicholas Carrigan (he/him)
b8b89ed549
feat: enable more certs ( #42764 )
2021-07-12 23:42:26 +01:00
Alessia Vanni
734015c20e
feat(i18n): enable fifth italian cert ( #42789 )
...
Added the 5th certification (apis-and-microservices) to the list of Italian audited certs.
2021-07-08 12:01:57 +05:30
Ilenia
dcf3159912
feat(i18n): enable fourth italian cert ( #42735 )
2021-07-03 14:44:58 +00:00
Nicholas Carrigan (he/him)
30d14b34e4
feat: enable third cert ( #42640 )
2021-06-28 13:12:49 +05:30
Ahmad Abdolsaheb
b3f2c64de8
fix(client): remove algolia and hot keys modules from landing pages ( #42394 )
...
* fix(client): remove algolia and hot keys from landing pages
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-06-24 12:50:36 +03:00
Mrugesh Mohapatra
a378bc6dd4
chore: rework the language audits for build ( #42510 )
...
This also reverts commit cd5c28b332
.
2021-06-15 23:07:52 +05:30
Nicholas Carrigan (he/him)
cd5c28b332
revert: disable portuguese ( #42508 )
...
* revert: disable portuguese
First certification is not 100% yet. Shipped too soon. :(
* feat: enable portuguese curriculum
Curriculum can build in portuguese, leaving client disabled to
prevent language from appearing in nav bar.
* feat: move audited cert list
Moves the audited cert list to the config, instead of the utils.
2021-06-15 21:32:29 +05:30
Tom
067761f2f6
feat(curriculum): add relational databases cert as upcoming change ( #41658 )
2021-06-15 16:37:13 +01:00
Nicholas Carrigan (he/him)
f25e3e69f8
feat: enable new langs ( #42491 )
...
Enable italian and portuguese
2021-06-15 13:19:18 +05:30
Oliver Eyton-Williams
3875c6e619
fix: use env.json in both client and server ( #42359 )
2021-06-08 13:12:44 +01:00
Nicholas Carrigan (he/him)
fd11361fc8
fix(client): update navbar for Chinese Simplified and Traditional ( #42007 )
...
* fix: navbar bug
Should resolve the current bug on staging with the nav bar.
* fix: update display names
Update the display names for the two Chinese options.
* fix(tools): remove extraneous test
Docs do not indicate that language code needs to be 2 characters.
2021-05-06 01:44:25 +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
Ahmad Abdolsaheb
27c8d564e4
fix(client): replace Stripe with PayPal ( #41924 )
...
* feat: remove stripe payment option from client
* feat: remove stripe completely
* fix: remove last Stripe remnants
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-05-03 11:45:23 +03:00
Shaun Hamilton
d3f59e6d5d
fix(dev): rename superBlock with v7 to certSlug ( #41738 )
...
* fix(dev): rename superBlock with v7 to slug
* improve name slug -> certSlug
* superBlockTitle -> superBlock
* correct teeny, tiny mistake
* fix: correct slug to certSlug in certLocation
* refactor currentCerts
* rename showCert cert -> certSlug and various
2021-04-23 22:29:17 +03:00
Oliver Eyton-Williams
5d46e2830a
feat: add Docker build ( #41187 )
...
* feat(docker): build and use client and api images
* feat: always use .env
dotenv fails without throwing if the .env file is missing and never
overwrites variables if they already exist. As such, we can use it in
build pipelines.
* fix: remove quotes from env vars
dotenv normalises quoted and unquoted strings (X=x, X='x' and
X="x") all become the same .env object {X: 'x'}. However, Docker's
env_file does not (the three cases are distinct). As a result, we
should use unquoted strings for consistency.
* fix: provide custom warning when .env is missing
* feat(docker): include client-config
* fix(docker): remove build packages from api image
* fix(docker): run script from correct dir
* fix(docker): correct permissions and dests
* fix(docker): consolidate run steps
This is standard practice, but did not have a noticable affect on the
image size
* fix(docker): clean the npm cache
Prior to this step the image was 1.11GB uncompressed and we got a modest
saving, 1.09GB after.
* refactor(docker): regexless COPY directives
* feat(docker): use alpine
This shrinks the image down to 259MB
* fix(docker): update build scripts
* fix: correct the server Dockerfile RUNs
* DEBUG: expose mysql port for seeding
* chore: update client Dockerfile's node versions
* fix: remove executable permissions from index.js
It's not a cli, so I don't think it needs to be executable.
* chore: update node and remove stale comments
* feat: use ENTRYPOINT + CMD to allow runtime config
* fix: add CURRICULUM_LOCALE arg
* feat: allow client port configuration
* feat: allow api port to be configured
* refactor: use unique variable names for ports
* fix: add default CLIENT_PORT
* refactor: clean up
2021-04-20 19:29:31 +05:30
Ahmad Abdolsaheb
9d15b43415
feat: isolate production and staging analytics ( #41648 )
...
* feat: isolate production analytics
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com >
2021-03-30 06:45:54 -07:00
Mrugesh Mohapatra
6c91f81b0e
chore(deps): upgrade eslint, prettier & related packages
2021-03-11 12:19:42 +05:30
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
Mrugesh Mohapatra
8f0e441644
revert(api): decouple api from curriculum
...
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30
Ahmad Abdolsaheb
3bf52faeaa
fix: dry certification config ( #40927 )
...
* fix: move cert config to config
* fix: move gitHubUserAgent to misc
* feat: rename maps
* feat: relocate oldDataVizId
* fix: correct path for gitHubUserAgent
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-02-22 20:38:38 -08:00
Oliver Eyton-Williams
c077ffe4b9
feat(api): decouple api from curriculum ( #40703 )
2021-02-22 12:23:59 +05:30
Randell Dawson
99d0763550
fix: only download chinese and spanish docs ( #41114 )
2021-02-14 11:48:20 -08:00
Mrugesh Mohapatra
149cf95310
chore(crowdin): re-arrange crowdin config files ( #41046 )
2021-02-10 11:06:13 -07:00
Oliver Eyton-Williams
fffc0e51ec
chore(client): refactor & organise config ( #40875 )
2021-02-03 15:22:07 +05:30
Mrugesh Mohapatra
6a09b9bce2
fix(client): refactor dynamic URLs based on lang ( #40824 )
2021-01-31 12:15:41 +05:30
Mrugesh Mohapatra
0b944ddfde
fix(env): update variable validations ( #40813 )
2021-01-31 12:15:40 +05:30
Nicholas Carrigan (he/him)
58c6c54c67
feat(client): redesigned navigation ( #40709 )
...
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com >
2021-01-31 12:15:40 +05:30
Mrugesh Mohapatra
77c46dba2c
fix(i18n): redirect based on Referer header ( #40512 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-01-31 12:15:34 +05:30
Tom
3978c6be28
feat: i18n user interface ( #40306 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-01-31 12:15:32 +05:30
Oliver Eyton-Williams
24f57ca7c2
fix: ignore .env in pipelines ( #40327 )
2020-11-27 09:32:50 -06:00
Oliver Eyton-Williams
ebb4e0d5cc
fix: default to .env ( #40315 )
2020-11-25 23:15:59 +05:30
Ahmad Abdolsaheb
00849387c0
feat: remove all donation options on /donate but $5 ( #40309 )
2020-11-24 21:00:12 -06:00
Ahmad Abdolsaheb
ca369b8585
feat: update donation plans on donate page. ( #40102 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2020-11-06 17:00:14 +05:30
Ahmad Abdolsaheb
3106fe804f
fix(client): unify client donations methods ( #39562 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2020-10-14 15:53:26 +05:30
Oliver Eyton-Williams
61ba415717
fix: tighten up ensure-env and env.js ( #39694 )
2020-09-26 00:40:17 +05:30
Oliver Eyton-Williams
4f68cc3126
fix: update env validation and include newest var ( #39661 )
2020-09-24 20:04:27 +05:30
Ahmad Abdolsaheb
1a66eac990
feat: render nav conditionally
2020-09-24 17:48:29 +05:30
Ahmad Abdolsaheb
9b1077acf5
fix: render editor tabs if SHOW_UPCOMING_CHANGES is 'true' ( #39513 )
2020-09-16 11:54:13 +05:30
Mrugesh Mohapatra
c23c4ef8e4
fix: negative sentiment → neutral language ( #39522 )
...
The existing terminology carries negative sentiment that can be
interpreted in a racial or sense. Updating the name to have no
potential for such a connection.
Co-authored-by: Justin Rogers <justrog@gmail.com >
2020-09-07 11:04:44 +05:30
Oliver Eyton-Williams
c772382d59
fix: remove remnants of servicebot
...
None of the code was still in use.
2020-09-04 00:14:24 +05:30
Mrugesh Mohapatra
33de8a03b5
fix: remove all extraneous env vars ( #39443 )
2020-08-21 03:59:27 +05:30
Twaha Rahman
7155c87e8b
fix: prevent dev tools from accessing state in prod ( #38669 )
...
* Fixed Redux dev tool plugin in production problem
* Update client/src/redux/createStore.js
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com >
* Update client/src/redux/createStore.js
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com >
* Update client/src/redux/createStore.js
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com >
* Update client/src/redux/createStore.js
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* Fixed ESLint error
* Second try to fix linting issue
* Third try to fix lint issues
* Update client/src/redux/createStore.js
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* Update client/src/redux/createStore.js
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* fix: use env.json for ENVIRONMENT
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2020-08-20 01:22:59 +05:30
Ahmad Abdolsaheb
0ee680c3ab
fix: redirect users to success url after /donation completion ( #39404 )
2020-08-20 01:20:34 +05:30
Ashik Paul
3ed80a4347
Fixed some minor typos ( #39228 )
2020-07-10 17:53:49 -05:00
winst
e5a33523b1
fix: correct Alice Walker quote ( #39142 )
2020-06-26 20:59:47 +05:30