Quincy Larson
84eb5ac810
Merge pull request #3596 from FreeCodeCamp/fix/500-out-of-range-bug
...
Fix 500 out of range bug when completing last challenge
2015-10-05 22:15:26 -07:00
Berkeley Martinez
85f2c005cd
fix shareable challenges solution undefined
...
During challenges when a user tries to navigate to a challenge
and hits the name redirect, the solution is filled with
undefined starting the user with an empty box.
This PR fixes the issue by ignoring the solution param
if it is empty
2015-10-05 20:18:52 -07:00
Berkeley Martinez
8f84596142
Fix 500 out of range bug when completing last challenge
2015-10-05 16:38:58 -07:00
Berkeley Martinez
8c48626f03
Add certification page
2015-10-05 15:55:50 -07:00
Berkeley Martinez
5c3973c365
Fix last completed logic bug
...
This PR fixes a regression introduced in an earlier patch
2015-10-02 10:50:35 -07:00
Berkeley Martinez
6c305dbc67
feature make completedChallenges uniq
...
now when users complete a challenge, it will instead update the
last save if it exists.
2015-10-01 22:19:26 -07:00
Berkeley Martinez
d0528ec768
fix re-encode uri during redirect
2015-10-01 21:11:15 -07:00
Quincy Larson
b197358056
make one page profile with bonfire solution urls
2015-09-30 21:04:16 -07:00
Quincy Larson
416a866ec0
add step based challenge to framework
2015-09-30 13:26:06 -07:00
Berkeley Martinez
cdf8c6a54c
fix check for existance when getting last challenge
2015-09-29 22:12:02 -07:00
Berkeley Martinez
6a5bea67f7
set last completed block in map view
2015-09-28 19:20:29 -07:00
Quincy Larson
cfba4edb29
add further code to be QAd after sleeping
2015-09-08 23:48:11 -07:00
Berkeley Martinez
b2d04ec7c5
remove save to user on return individual user
2015-09-08 22:41:03 -07:00
Berkeley Martinez
184ba1fa37
add challengeId to localStorage
...
remove unneeded current challenge route
2015-09-08 22:18:25 -07:00
Quincy Larson
f0a4924671
start refactoring next challenge logic
2015-09-08 21:45:53 -07:00
Quincy Larson
1e82165ed2
add learn button back in and fix redirect loop associated with it
2015-09-08 21:15:18 -07:00
Berkeley Martinez
16b33ee90a
fix some linting issues
2015-08-29 01:48:01 -07:00
Quincy Larson
07f66b61f4
update the completed all challenges message
2015-08-25 15:51:47 -07:00
Berkeley Martinez
eaca9ef495
refactor challenges
...
now only queries challenges on start up
use default scheduler for array manipulation
2015-08-20 08:55:25 -07:00
Berkeley Martinez
f3410a3a95
remove debug statement
2015-08-19 13:48:04 -07:00
Berkeley Martinez
6a11b30bc2
serve static assets before sessions
2015-08-19 11:28:44 -07:00
Berkeley Martinez
01a45e0635
fix cannot find challengeId of undefined
2015-08-18 20:02:39 -07:00
Berkeley Martinez
8c803281f6
fix cannot read property match of undefined
2015-08-18 19:23:43 -07:00
Quincy Larson
b4ae49f915
add challenge type to beginning of challenge in map
2015-08-18 15:21:26 -07:00
Berkeley Martinez
f475a4e1ad
fix map, should not mutate challenges
2015-08-16 14:20:00 -07:00
Berkeley Martinez
7d22c2a073
fix should check completed challenge old _id
2015-08-16 05:52:25 -07:00
Berkeley Martinez
42303dc6aa
fix progressBar not showing
...
reduce function needs initial seed
closes #1753
2015-08-14 18:24:14 -07:00
Berkeley Martinez
7eaccffd15
remove hikes from map
...
closes #1682
2015-08-12 20:39:40 -07:00
Berkeley Martinez
ca01115674
fix next challenge unknown bug
...
closes #1725
2015-08-12 11:47:03 -07:00
Berkeley Martinez
0fcf3bcf42
fix challenge completion should give brownie points
...
closes #1665
2015-08-11 14:17:08 -07:00
Berkeley Martinez
5f21db457d
fix challenge ordering
...
Now challenges are ordered on map first by top order value of json file
second by index of array
2015-08-10 23:29:32 -07:00
Berkeley Martinez
967f92e6f4
fix challenge naming scheme
2015-08-09 22:46:44 -07:00
Berkeley Martinez
71a02ed8b7
update all instances of progressTimestamp to check for objects
2015-08-07 13:32:30 -07:00
Berkeley Martinez
8d293c9fc6
fix order of user/pairedWith in withLatestFrom operator in challenges
2015-08-06 15:51:36 -07:00
Berkeley Martinez
504239050c
remove old license information
...
repo is now under copyright to FCC
find license in root directory
2015-08-05 13:01:48 -07:00
Berkeley Martinez
a920e16cb9
fix completedWith.toLowerCase bug
2015-08-03 16:35:22 -07:00
Berkeley Martinez
6306580d84
add note about indexof call throwing
2015-07-25 13:35:01 -07:00
Berkeley Martinez
6de5ad682e
Get rid of uncompletedChallenges on user object
2015-07-23 16:03:52 -07:00
Berkeley Martinez
e22cd5da23
correct answer hits server
2015-07-23 16:03:51 -07:00
Berkeley Martinez
de1d931b82
add hikes/map pulls hikes out of db and renders
2015-07-23 16:03:46 -07:00
Quincy Larson
83654fb86a
finish adding the nodeschool challenges
2015-07-23 16:03:46 -07:00
Quincy Larson
e04c11c2e7
mid-task commit for Berkeley to take over
2015-07-23 15:49:04 -07:00
Berkeley Martinez
0b1e9ba279
fix mismatch property in challenge controller
2015-06-23 16:45:35 -07:00
Berkeley Martinez
d624cf3640
factor out (un)dasherize into utils
2015-06-22 17:24:55 -07:00
Berkeley Martinez
10a5c3c928
fix send 200 to non users on post to challenges
...
fix remove random 'yo' debug
2015-06-22 16:43:31 -07:00
Berkeley Martinez
742a49b70d
fix mainjs resetEditor
2015-06-20 22:48:59 -07:00
Berkeley Martinez
03ea412b4a
major challenges refactor
...
commented out resetEditor in main
remove heatmap timout
2015-06-20 19:55:07 -07:00
Berkeley Martinez
4d2b0844ae
fix use regex to find challenges
2015-06-20 19:54:08 -07:00
Berkeley Martinez
43ae70465b
refactor returnIndividualBonfires
2015-06-20 11:43:12 -07:00
Berkeley Martinez
12b055353e
remove challangeMap
...
move to challenges router
2015-06-19 14:49:10 -07:00