Commit Graph

66 Commits

Author SHA1 Message Date
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
Arsen Melikyan
d380640480 Fix double-click and mousemove issues and do some linting 2016-01-18 11:20:57 +04:00
Abhisek Pattnaik
e1aec710aa Fix url encoding 2016-01-18 11:20:55 +04:00
Arsen Melikyan
db57fd405f Add 'copy to clipboard' buttons for easy challenge link and code copying 2016-01-18 11:20:21 +04:00
Arsen Melikyan
2ce05bc77c Fix code edior isn't loading old-prefixed solutions 2016-01-17 09:56:21 +04:00
Arsen Melikyan
d502b35bac Prettify the code execution output 2016-01-13 13:17:30 +04:00
Arsen Melikyan
7f3240ce5e Fixed error messages incorrect displaying 2016-01-13 07:29:27 +04:00
Arsen Melikyan
f910463e0f Fix tests result output 2016-01-13 01:57:48 +04:00
Berkeley Martinez
019a28a5cc Fix remove semi-colon guard
Users should be instructed to always use semi-colons
2016-01-09 18:16:10 -08:00
Berkeley Martinez
a762bd474b Merge pull request #5783 from SaintPeter/fix/head-tail-joins
Fix issues where bad user code hits the tail
2016-01-03 16:35:45 -08:00
Dieter Daems
dba9654a09 Fix linting errors 2016-01-03 05:48:23 +01:00
SaintPeter
6d8fe315e6 Fix issues where bad user code hits the tail 2016-01-02 14:13:43 -08:00
Rex Schrader
a4c75a90f6 Merge pull request #5378 from geoff616/fix/loop-disable-error-message
More descriptive error message for disabling loop protection
2016-01-02 09:47:46 -08:00
Geoff Wright
18901149d9 changing loop error message to close issue 5345 2016-01-02 10:53:26 -05:00
Dieter Daems
f955674430 Fixes: Reset does not clear localstorage item
- Updates the addresbar URI
2016-01-02 02:05:38 +01:00
evaristoc
c681c2e858 ga completion event modif 2015-12-23 23:31:48 +01:00
Berkeley Martinez
154ae0e489 Fix challenge ga time completion 2015-12-13 01:06:33 -08:00
Berkeley Martinez
579c569d15 Fix remove bonfire save endpoint
fix completedChallenge saving solution
remove unnecessary code.
2015-12-08 16:17:45 -08:00
Quincy Larson
9409945ee7 Merge branch 'staging' into update-ziplines
Conflicts:
	client/commonFramework/bindings.js
2015-12-08 01:17:03 -06:00
Logan Tegman
c23367f62b Merge pull request #5038 from bugron/fix/common-improvements
Some common code improvements
2015-12-07 06:48:47 -08:00
Quincy Larson
92928b552b update user stories and sharing instructions for basejumps and ziplines 2015-12-07 00:51:37 -06:00
Arsen Melikyan
029cd52e80 Some common code improvements 2015-12-06 13:26:02 +04:00
Berkeley Martinez
415a39ea17 Make code-uri more robust 2015-12-05 14:53:33 -08:00
Quincy Larson
615f553fd2 fix editor height 2015-12-04 21:47:30 -06:00
Quincy Larson
676ef0e253 finish qa-ing removal of angular 2015-12-04 19:21:19 -06:00
Berkeley Martinez
0b42712a1f Fix moving of query behind hash 2015-12-03 17:37:00 -08:00
Berkeley Martinez
b7530253aa Also disable output and tests 2015-12-03 15:09:52 -08:00
Berkeley Martinez
81028fceac Add ability to disable user code on page load
Adding `run=disabled` to the uri will disable the
page from running user code.

This is useful for pages that have frozen to to infinite loops
or untrusted links that may be malicious
2015-12-03 14:57:19 -08:00
Berkeley Martinez
ebfee3ed0a Load jquery from a script tag in iframe 2015-12-03 12:13:25 -08:00
Berkeley Martinez
096fba0de7 Add loop protection on keyup update 2015-12-02 14:56:06 -08:00
Berkeley Martinez
b8d0d78f81 Add delays so firefox can catch up 2015-12-02 11:50:53 -08:00
Berkeley Martinez
636824aba3 Display infinite loops to user
Also exits early if infinite loop
2015-12-02 11:50:53 -08:00
Berkeley Martinez
f904f91f97 Actually use loopProtect 2015-12-02 11:50:53 -08:00
Berkeley Martinez
3a299daa37 Add loop-protect
Remove webworkers
2015-12-02 11:50:52 -08:00
Berkeley Martinez
1235077354 Fix don't need to pull jquery from cdn anymore 2015-12-02 11:26:16 -08:00
Arsen Melikyan
d81ad77955 Fix test message position 2015-12-01 22:53:05 +04:00
Logan Tegman
9fb63b954d Merge pull request #4851 from bugron/fix/gist-sharing
Fix gist sharing and some other issues
2015-12-01 09:21:11 -08:00
Berkeley Martinez
426526355c Fix initial load error 2015-12-01 08:01:51 -08:00
Berkeley Martinez
aa0297c2f2 Fix editor.getValue not returning the correct code 2015-12-01 08:01:11 -08:00
Arsen Melikyan
2a81a2e887 Fix not working gist sharing 2015-12-01 14:20:45 +04:00
Arsen Melikyan
b5ce9ca6fc Remove a hash symbol from split method 2015-12-01 14:14:12 +04:00
Arsen Melikyan
3b140bc813 Fix issue search query 2015-12-01 14:11:45 +04:00
Arsen Melikyan
1543d2b745 Fix challengeTypes object incorrect key names 2015-11-30 18:59:29 +04:00
Berkeley Martinez
0275351490 Increase updatePreview delay 2015-11-29 16:28:32 -08:00
Berkeley Martinez
28e4252a00 Fix errors breaking pipe 2015-11-29 16:28:32 -08:00
Berkeley Martinez
7592131e08 Tell jquery not to execute when getting script 2015-11-29 16:28:32 -08:00
Berkeley Martinez
da67e77fad Fix error logic and output display 2015-11-29 16:28:32 -08:00
Berkeley Martinez
04db6744b9 Fix code output logic
Fix codemirror url paths
2015-11-29 16:28:32 -08:00
Berkeley Martinez
8c261180d3 Fix incorrect logic 2015-11-29 16:28:32 -08:00