Oliver Eyton-Williams
e118dda13a
fix: order imports and remove circular dependencies ( #41824 )
...
* fix: remove circular dependency
redux depended on templates/Challenges/redux and vice versa. This
meant that import order mattered and confusing bugs could arise.
(cherry picked from commit 7d67a4e70922bbb3051f2f9982dcc69e240d43dc)
* feat: require imports to be in alphabetical order
Import order generally does not matter, but there are edge cases
(circular imports and css imports, for example) where changing order
changes behaviour
(cherry picked from commit b8d1393a91ec6e068caf8e8498a5c95df68c2b2c)
* chore: order imports
* fix: lift up challenge description + title comps
This brings the classic Show closer to the others as they
now all create the description and title components
* fix: remove donation-saga/index circular import
(cherry picked from commit 51a44ca668a700786d2744feffeae4fdba5fd207)
* refactor: extract action-types from settings
(cherry picked from commit 25e26124d691c84a0d0827d41dafb761c686fadd)
* fix: lint errors
* feat: prevent useless renames
2021-08-02 08:39:40 -05:00
Oliver Eyton-Williams
49b4e1f2b3
fix: remove HOME_PATH ( #43034 )
...
It was only used as a default for hardGoTo, but that function is only
called once and does not need the default
2021-07-27 08:35:14 -07:00
awu43
3ed1f73221
fix(client): remove unnecessary return values ( #42927 )
...
* remove returns
* change .some() to .includes()
2021-07-19 13:18:17 +01:00
Tom
067761f2f6
feat(curriculum): add relational databases cert as upcoming change ( #41658 )
2021-06-15 16:37:13 +01:00
Oliver Eyton-Williams
3875c6e619
fix: use env.json in both client and server ( #42359 )
2021-06-08 13:12:44 +01:00
Oliver Eyton-Williams
7a8d6b2504
feat(client): add hashes to monaco workers ( #42097 )
2021-05-11 18:26:06 +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
Oliver Eyton-Williams
9be2fb9a10
fix: use lodash-es in the client ( #41931 )
2021-04-28 16:11:20 -05: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
e91793b934
fix(client): polyfill path with path-browserify ( #41615 )
...
path is being used by webpack to transform imports into requires. Since
some challenges rely on this transformation, path has to exist in the
browser.
2021-03-27 19:19:30 +05:30
Mrugesh Mohapatra
ad9b1f89d8
fix(api, client): update Gatsby, webpack & related things ( #41452 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-03-25 12:13:43 -07:00
Oliver Eyton-Williams
f8699a8d55
refactor: simplify challenge.block usage ( #41185 )
2021-02-23 09:52:48 +05:30
Oliver Eyton-Williams
97fcaa693f
refactor: only use dasherized superBlock ( #41067 )
2021-02-13 10:36:04 +05:30
Ahmad Abdolsaheb
bfc4c33b0c
fix: remove unused PAYPAL_SUPPORTERS var ( #40361 )
2020-12-01 14:51:24 +01:00
Oliver Eyton-Williams
ed2840cb1c
refactor: use dashedName over dasherize(title)
2020-10-06 23:10:08 +05:30
Oliver Eyton-Williams
c16785f74e
fix(client): do not build Intro for missing blocks
...
This creates an empty page, but ideally it should be a 404
2020-09-16 11:54:14 +05:30
Oliver Eyton-Williams
07cf7e3e72
fix(client): set custom schema
...
Necessary for the time being, as all the multi-file challenges are
upcoming (and thus hidden)
2020-09-16 11:54:14 +05:30
Oliver Eyton-Williams
bd68b70f3d
Feat: hide blocks not challenges ( #39504 )
...
* fix: remove isHidden flag from frontmatter
* fix: add isUpcomingChange
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com >
* feat: hide blocks not challenges
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com >
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com >
2020-09-03 15:07:40 -07:00
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
Oliver Eyton-Williams
4a45b5ac1c
fix: redirect /challenges/* to /learn/*
2020-09-01 11:35:44 +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
Oliver Eyton-Williams
8350c517cc
fix: revert explicit Gatsby schema ( #39426 )
...
The Gatsby schema was breaking the React challenges (for some reason)
this is a quick hotfix while I figure out what's going on.
2020-08-17 18:09:19 -07:00
Oliver Eyton-Williams
64c969a908
fix: add explicit schema for hidden challenges
2020-08-16 04:45:19 +05:30
Oliver Eyton-Williams
b4926052f4
chore: refactor and simplify testing ( #39050 )
2020-06-13 14:57:15 +05:30
Oliver Eyton-Williams
fcef62d5de
refactor(learn): use graphQL filter for Map ( #38913 )
2020-05-28 20:56:19 +05:30
Oliver Eyton-Williams
48532d6ccb
fix: hide isHidden challenges from hotkey nav
2020-05-25 16:25:19 +05:30
Oliver Eyton-Williams
68aef571ee
feat: hide isHidden challenges
2020-05-25 16:25:19 +05:30
Oliver Eyton-Williams
35751bacf0
chore: remove rollbar from client and .env
2020-03-26 16:51:17 +05:30
Oliver Eyton-Williams
c76978bdfe
fix: prevent duplication of Monaco webpack plugin ( #38131 )
...
It seems that adding it during the 'build-html' stage meant it was
creating new, unminified, versions of the scripts and overwriting the
existing, minified, ones.
2020-02-06 14:24:00 +03:00
Oliver Eyton-Williams
c660b389a8
fix(donate): handle missing stripe keys ( #37847 )
...
* fix: gracefully handle missing stripe keys
* fix: remove state updates from render (donate)
2019-11-30 01:41:31 +05:30
Mrugesh Mohapatra
3c50f7651c
fix: add rollbar keys
2019-10-16 13:07:57 +05:30
Kristofer Koishigawa
3cd0bf0106
fix: temporarily remove rollbar ( #37333 )
...
* fix: Temporarily remove rollbar
* Reverting changes to api-server
2019-10-16 12:20:56 +05:30
Oliver Eyton-Williams
e72855dad3
fix: handle invalid Algolia keys gracefully in dev ( #37088 )
...
Invalid keys throw an error in production, but just cause invalid
PropTypes and build warnings in development.
2019-10-08 01:19:43 -07:00
Oliver Eyton-Williams
9c2f1ffd82
refactor: combine slug utils into one module
2019-09-26 22:15:27 +05:30
Valeriy
7d52d9a3bb
feat(client): lazy load Monaco editor
2019-09-04 18:56:06 +05:30
Mrugesh Mohapatra
ac50216949
fix: NODE_ENV conflicts on pipelines
2019-08-19 01:37:32 +05:30
Valeriy S
052769e69f
chore(client): update gatsby
2019-08-17 18:35:21 +05:30
Mrugesh Mohapatra
ae80f96ec3
fix(client): remove service workers
2019-08-14 19:23:27 +05:30
Mrugesh Mohapatra
0124e7556d
fix: removed all guide bits from gatsby
2019-07-26 19:40:46 +05:30
moT01
ebe420c099
feat(guide): add footer link to article source on GitHub
...
fix/suggested-changes
2019-05-02 15:30:39 -07:00
Valeriy
fc8c71ad16
feat: use eslint with prettier to format code
2019-02-19 14:30:27 +05:30
Valeriy
6a93b44aca
feat(client): use custom components for guide articles
2019-02-14 09:33:53 +00:00
Mrugesh Mohapatra
fdc2219f81
feat: remove news from platform
2019-01-16 13:48:38 +00:00
Bouncey
8870a063e4
fix: Use env variable for paypal donations
2018-12-04 17:42:12 +05:30
Stuart Taylor
d327a5c36b
Feat: News in the client app ( #34392 )
2018-11-29 15:12:15 +03:00
Stuart Taylor
7da04a348b
fix: Update packages and fix local dev ( #26907 )
...
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->
- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md ).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
2018-10-23 18:48:46 +05:30
Bouncey
b22c719651
fix(source-plugin): Switch out gatsby-source-filesystem
2018-10-05 15:58:12 +01:00
Bouncey
6e728ce16d
feat(guide): Import guide in to the client app
2018-10-05 15:58:12 +01:00
Bouncey
5b254f3ad6
chore(learn): Merge learn in to the client app
2018-09-30 12:42:40 +01:00
Bouncey
e59ad6ebda
chore(client): Move client app to /client
2018-09-03 17:47:48 +05:30