Commit Graph

139 Commits

Author SHA1 Message Date
Berkeley Martinez
753fba73f5 feature: notify camper by email on completion 2016-05-04 14:49:57 -07:00
Berkeley Martinez
0d0f4253ec Remove console.logs 2016-04-07 09:39:52 -07:00
Berkeley Martinez
1308d312a4 Add methods to get challengeMap
Update boot/challenge.js to use new methods
Update boot/user.js to use new methods
2016-04-06 21:11:07 -07:00
Nick
0ee6ab4b64 FIX - Grammar A to An 2016-03-30 23:58:38 -04:00
Kalanosh
9d5a5d953c changed expire time for currentChallengeId cookie to 'never' instead of session 2016-03-15 14:53:54 -05:00
Berkeley Martinez
e657b96dbc Coerce values to string before using validator methods 2016-03-13 18:09:53 -07:00
Berkeley Martinez
5c59e7ea2d Fix validator only works with strings 2016-03-03 17:53:33 -08:00
Berkeley Martinez
74592e72b4 Update eslint, fix lint issues 2016-03-03 17:53:33 -08:00
Berkeley Martinez
8ef3fdb6a0 Initial move to redux 2016-03-03 17:53:33 -08:00
Berkeley Martinez
3e8868c907 Remove console log 2016-02-14 23:04:15 -08:00
Berkeley Martinez
b2acb682ef Fix next/current challenge routes
prevent bad id's from throwing
2016-02-14 21:58:24 -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
Rex Schrader
80d26ed9b1 Fix progressTimestamps Update 2016-02-10 12:01:00 -08:00
Berkeley Martinez
d23f7fa8f2 Fix isChallengeCompleted not returning a boolean 2016-02-10 10:35:40 -08:00
Berkeley Martinez
a4dd9667ca Fix typos 2016-02-10 10:09:40 -08:00
Berkeley Martinez
76cfbdf752 challenge/user router now works with challengeMap 2016-02-10 10:09:40 -08:00
Akira Laine
a7bd7e3729 worked on video challenge superblock
fixed rebase merge errors

Fix videos route

Fix hikes broken true/false

fixed component name
2016-02-04 17:20:34 +11:00
Logan Tegman
e2ac51f166 Fix lint errors 2016-02-01 14:16:27 -08:00
Berkeley Martinez
c7fc9dc99f Merge pull request #6601 from SaintPeter/feature/challenge-checksum
Add Checksum to Challenges for Google Analytics
2016-01-31 17:36:16 -08:00
SaintPeter
f2e61ea0ac Add Checksum to Challenges for Google Analytics 2016-01-30 09:02:22 -08:00
JelenaBarinova
29f93df1bb Getting users timezone on client side and passing it to server side within POST (on challenge complete), showing users stats with users timezone
After CR
2016-01-26 15:09:47 -08:00
Berkeley Martinez
8a0341a7ac Fix zipline/basejump completed endpoint
This PR refactors and normalizes the endpoint and the ajax request.
Some weird bug keeps popping up on the server, but keymetrics has
decided to take a crap and not actually report back with the error
I don't know what exactly is causing it.

Normally I don't like fixing something I can't see, but I'm getting
a constant flood of emails because of some obscure bug here.

We removed the `completedWith` functionality a while back so that
was removed from this endpoint and the ajax call.

To test, verify that you can complete both a zipline/basejump.

Also show last updated date since it is possible a user might want
to update links
2016-01-23 20:34:49 -08: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
47c930d7f4 Add new help rooms and logic 2016-01-15 04:51:11 -08:00
Quincy Larson
1e5f3dc61c refactor map view and make buttons and text bigger 2016-01-15 04:49:46 -08:00
Berkeley Martinez
95dfd2304e Use specific layout for map aside
Links in aside change parent location
2016-01-15 04:46:20 -08:00
Berkeley Martinez
776b5156c1 Redirect user to current challenge 2016-01-15 04:46:20 -08:00
Berkeley Martinez
98b54e9fc7 Load map aside as an iframe on every page 2016-01-15 04:46:20 -08:00
Berkeley Martinez
a2fd213a86 Ad minimal map for iframe loading 2016-01-15 04:46:20 -08:00
Quincy Larson
dad1e1638e surface isRequired in view 2016-01-15 04:40:55 -08:00
Berkeley Martinez
cc1c2e6aa1 Add map aside to challenges 2016-01-15 04:40:55 -08:00
Berkeley Martinez
5798537bcb Abstract map and showChallenge logic
Rename some legacy naming conventions
Remove logic for waypoint,basejumps, etc...
2016-01-15 04:39:45 -08:00
Berkeley Martinez
0c54adfb07 Add map aside to challenges 2016-01-15 04:14:38 -08:00
Berkeley Martinez
b03e71e7c0 Abstract map and showChallenge logic
Rename some legacy naming conventions
Remove logic for waypoint,basejumps, etc...
2016-01-15 04:14:38 -08:00
Berkeley Martinez
2962ee52a0 Remove old debug 2016-01-09 23:23:04 -08:00
Berkeley Martinez
e51127ffc7 feature completed challenge can also return json 2016-01-09 20:08:01 -08:00
SaintPeter
b32afaea1b Fix Merge Issue 2016-01-01 21:10:08 -08:00
Quincy Larson
035b6027de make challenges new and extend to 60 days 2016-01-01 00:34:05 -06:00
Berkeley Martinez
0fca3bad7f Filter out coming soon from challenge blocks 2015-12-14 13:19:30 -08:00
Berkeley Martinez
355c8214e6 Filter out coming soon challenges from returnNextChallenge 2015-12-14 13:19:30 -08:00
Berkeley Martinez
2d559efdee Fix for block order 2015-12-14 13:19:30 -08:00
Berkeley Martinez
38d71abda6 Fix block stream not being set correctly 2015-12-14 13:19:30 -08:00
Berkeley Martinez
0c4a780f54 Add logic to allow coming soon challenge to be seen and not used 2015-12-14 13:19:30 -08:00
Berkeley Martinez
5c2bdd974a Add isComingSoon flag 2015-12-14 13:19:30 -08:00
Berkeley Martinez
9848aa8eab Remove console.log 2015-12-14 13:19:30 -08:00
Berkeley Martinez
f7f587194d Add superblock ordering 2015-12-14 13:19:30 -08:00
Berkeley Martinez
c736a5c00f Use regex to hide hikes
Capitalize super block
2015-12-14 13:19:30 -08:00
Berkeley Martinez
8175fbb297 Remove console.log 2015-12-14 13:19:30 -08:00
Berkeley Martinez
8037ff9038 Remove hikes from map view 2015-12-14 13:19:30 -08:00