Commit Graph

55 Commits

Author SHA1 Message Date
Quincy Larson
b6c8b52465 add optimizely and expand shop offerings 2016-07-07 23:50:55 -07:00
Berkeley Martinez
e72ad8c513 fix(ui): Fix flash shown to user on page refresh
Store user theme preference on user object.
Must be logged in to use themes
2016-05-12 18:52:03 -07:00
Logan Tegman
c015cb5ec5 Inject csrf token into react app 2016-05-09 10:13:02 -07:00
Berkeley Martinez
a63fba8c9c Merge pull request #8196 from QuincyLarson/fix/vimeo-to-youtube
Transition Videos from Vimeo to Youtube
2016-05-04 15:42:15 -07:00
Logan Tegman
d540e9e4ca Switch react lecture component to youtube 2016-05-04 10:30:47 -07:00
Logan Tegman
03963bcdf8 Merge pull request #8356 from FreeCodeCamp/greenkeeper-helmet-2.0.0
Update helmet to version 2.0.0 🚀
2016-05-03 11:43:48 -07:00
Logan Tegman
1ea2c2a20a helmet.csp -> helmet.contentSecurityPolicy
Also updated frameguard
2016-05-03 11:32:38 -07:00
Berkeley Martinez
7b8dc2e77e Add friendly error message on auth create attemp 2016-05-02 23:03:44 -07:00
Berkeley Martinez
cda2fe768b Remove csrf from api calls 2016-05-02 21:11:49 -07:00
Berkeley Martinez
3ae67f6fa9 Add csrf protection 2016-05-02 17:22:56 -07:00
Quincy Larson
b7f2e194fb fix trailing comma issue 2016-04-19 09:35:04 -07:00
Quincy Larson
f1b5bffdd8 Update CSP to remove vimeo and add youtube 2016-04-19 00:23:27 -07:00
Aniruddh Agarwal
09bf747cfc Change ESLint quote-props rule to as-needed
Also fixes all files flagged by the rule
2016-04-16 00:31:13 +08:00
Berkeley Martinez
bbc76b1b73 Fix regression in challenge map migration 2016-04-07 16:38:39 -07:00
Geoffrey Wright
a42e4cfd83 extend session cookie past browser close 2016-03-28 21:49:23 -04:00
Berkeley Martinez
74592e72b4 Update eslint, fix lint issues 2016-03-03 17:53:33 -08:00
Hallaathrad
cc2aa67bec Lint pass 2016-02-13 21:26:59 -05:00
Quincy Larson
aaaf327992 Merge pull request #6879 from FreeCodeCamp/feature/wiki-sidebar
Add Wiki Sidebar, Use Gatsby Generated Wiki
2016-02-11 20:01:01 -08:00
SaintPeter
ba18520845 Add language detection 2016-02-11 18:14:47 -08:00
Berkeley Martinez
6642dd497f Add validation to challenge completion
Change ajax requests to send and accept JSON
to preserve data types.
Fix typos
2016-02-10 22:10:06 -08:00
Berkeley Martinez
c2915f9e14 Convert model instance to POJO earilier in migration change 2016-02-10 16:45:57 -08:00
Berkeley Martinez
0354eeae16 Move idMap to utils so it can be used elsewhere 2016-02-10 16:34:09 -08:00
Berkeley Martinez
5be6c4c92f Fix lint errors 2016-02-10 16:31:59 -08:00
Rex Schrader
858546e3ec Migrate invalid Challenge IDs 2016-02-10 15:18:48 -08:00
Berkeley Martinez
0542845b10 Filter out bad id's 2016-02-10 14:32:14 -08:00
Berkeley Martinez
ff34964264 Update completed challenge names 2016-02-10 13:27:00 -08:00
Berkeley Martinez
07d54a455c Add challengeMap migrations 2016-02-10 10:06:36 -08:00
Hallaathrad
fe422d2300 adding wiki as detached and integrating into .less folder 2016-02-09 23:26:59 -05:00
Berkeley Martinez
169c82acfc Add emailing on server exceptions
Keymetrics VC's are coming. They no longer let you see reported
errors or notify you on their free tier which renders the service
useless for us.

This will emailing you using mandrill with a stack trace and
context of the error when it receives it
2016-01-24 22:27:45 -08:00
greenkeeperio-bot
4e345e0d12 chore(package): update helmet to version 1.1.0
http://greenkeeper.io/
2016-01-19 15:22:14 -08:00
Berkeley Martinez
e3ec56ef40 Fix show profile page challenge filtering to use challengeType 2016-01-18 17:33:06 -08:00
Arsen Melikyan
a5bde55f6e Fixes incorrect redirection to map-aside 2016-01-17 13:28:03 +04:00
Berkeley Martinez
12b2be9db8 Remove old terminology 2016-01-15 06:08:54 -08:00
Berkeley Martinez
50b1e61e70 Fix change challenge model to POJO 2016-01-15 04:51:11 -08:00
Berkeley Martinez
9a9421e712 Fix for Vimeo API change 2016-01-07 22:40:51 -08:00
Berkeley Martinez
22cb610279 Make structure changes to hikes 2016-01-04 14:27:22 -08:00
Quincy Larson
6403bd4e6a Merge pull request #5526 from FreeCodeCamp/fix/commit-signin-redirect
Fix commit redirect for non signed user.
2015-12-29 14:04:59 -06:00
Berkeley Martinez
445008665c Remove autoReconnect: it is true by default 2015-12-29 11:18:55 -08:00
Berkeley Martinez
8c3e14cd8e Fix commit redirect for non signed user.
Now users will be directed to sign in page and on sign in
will have pledge completed
2015-12-29 10:57:35 -08:00
Berkeley Martinez
0f75aa3b88 Add freecatphotoapp to csp 2015-12-09 11:02:06 -08:00
Berkeley Martinez
9822cc67f9 Reduce header size
This is needed to move to cloudFlare
2015-12-09 10:56:40 -08:00
Arsen Melikyan
59bd917a2c save bonfire solution as a gist and fix search issue button query string 2015-11-04 15:48:20 +04:00
Berkeley Martinez
af654aebdc Hot fix for chat close button 2015-10-16 20:23:24 -07:00
Berkeley Martinez
a0182957e7 Add chat to challenges! 2015-10-16 10:37:35 -07:00
Berkeley Martinez
bf95314830 fix prevent redirect to /news/hot 2015-09-23 15:05:27 -07:00
Berkeley Martinez
baab92e3a0 fix only allow redirects on whitelist 2015-09-23 14:54:08 -07:00
Berkeley Martinez
e3ac50a0d5 remove old manifest file on request in dev 2015-09-10 16:27:09 -07:00
Berkeley Martinez
6c48395868 separate main manifest generation from sub manifests
in dev mode always pull manifest on each request
add manifest build to gulp build task
add react bundle to manifest generation
2015-08-28 15:56:58 -07:00
Berkeley Martinez
306c441ae7 add revisioning to js/css files to break caching
This moves the location of javascript files, commonFramework,
iFrameScript, sandbox, plugin, and all the less files.
On gulp or gulp build these files are moved and revisioned.
Places where they are references in jade/html are now removed and
replaced with the use of a helper function `rev`. This function will
take the required file and return a string referencing the revisioned
file. This should alleviate the need for hard refreshing and will break
caches when files change, so fixes for firefox caching issue as well.

NOTE: @benmcmahon @quincylarson, This means files will need to be build
on the server in production before doing a server restart/reload
In production: 'npm run build' To build and revision js/css files

`gulp` and `gulp build` will used in development

npm install also needs to be run in production on initial deploy
2015-08-26 23:30:33 -07:00
Berkeley Martinez
0367a19ffc add bower_components to pathsOfNOReturnTo 2015-08-18 16:00:27 -07:00