Commit Graph

152 Commits

Author SHA1 Message Date
cassidypignatello
f158183039 fix(app): Normalize flash type
Changed flash messages to use types provided by Bootstrap

Closes #16395
2018-01-08 17:25:45 -05:00
Felix Yan
b575dd1122 Fix a typo in server/boot/challenge.js 2017-10-18 00:23:14 +08:00
Berkeley Martinez
56e3d3a986 refactor(server/challenge): Make code dry 2017-09-08 00:16:02 -07:00
Joshua Riddle
6cbdbc2580 feat(user): Track challenge submissions count
BREAKING CHANGE: none

Closes #14881
2017-09-07 20:47:26 -07:00
Berkeley Martinez
c547c26bba Fix: map should redirect to current challenge (#15723)
* fix(routes): /map redirects to current challenge

* fix(map): Normalize server map building

Localize all server code dealing with the map

* refactor(server): Remove unused services

* feat(Nav): Show Map button when no panes

This gives user the ability to quickly return to their challenge using a
known feature

* fix(server.map): Add caching to nameIdMap

Add caching to nameIdMap on the server

* fix(services.map): Fix map service

Move map building utils to map util. Fix bad import. Normalize challenge
lookup
2017-08-03 22:45:36 -05:00
Berkeley Martinez
f1d936198e feat(challenges): add backend challenge infrastructure (#11058)
* Feat: Initial backend view

* Feat: Refactor frame runner

* Feat: backend challenge submit runs tests

* Feat: Backend challenge request

* Feat: Whitelist hyperdev in csp

* Fix: Use app tests instead of challenge tests

* Feat: Allow hyperdev subdomains

* Fix(csp): allow hypderdev.space subdomains

* feat(challenge): submit backend

* feat: Add timeout to test runner (5 sec)

* chore(seed): Add more to test backend

* fix(csp): s/hyperdev/gomix/g

* fix(app): fix code mirror skeleton filepath

* fix(app): remove Gitter saga import

* fix(app): codemirrorskeleton does not need it's own folder
fix(app): cmk needs to work with Null types

* fix: No longer restart the browser when challenges change

* fix(app): Update jquery for challenges

* fix(seed): Remove to promise jquery call

* fix(lint): Undo merge error
undefined is no allowed

* fix(app): linting errors due to bad merge

* fix(seed): Remove old seed file
2017-01-26 23:07:22 -06:00
Berkeley Martinez
8be0d194a5 Fix(challenge): update user challenge map on challenge complete 2016-08-11 16:41:03 -07:00
Berkeley Martinez
3d05eee0ea Fix(routing): add protections against malformed data 2016-08-05 14:49:23 -07:00
Berkeley Martinez
8121ada14c Feature(routing): add current-challenge redirect logic 2016-08-04 10:49:37 -07:00
Berkeley Martinez
d9d049540b Submit simple project (previously known as video challegnes) 2016-07-28 23:39:17 -07:00
Berkeley Martinez
c8b0a6cf74 Submit projects 2016-07-28 23:39:17 -07:00
Berkeley Martinez
cc8b608cb9 Moves to next challenges 2016-07-28 23:39:17 -07:00
Mrugesh Mohapatra
ff4dfb09da Add email verification and notifications
This commit
- [x] Fixes the flash notice color (Trivial)
- [x] Adds flash message for user with no email.
- [x] Adds checks to see if user's email is verified, and displays corresponding notification.
- [x] Adds email templates.
2016-06-01 08:34:34 +00:00
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