2160 Commits

Author SHA1 Message Date
Shivam Dave
1162b0c88c [Gestures] Tests
Commented MCTPinch tests.
2015-09-04 16:58:39 -07:00
Shivam Dave
eb4c7e318e [Gestures] Tests
MCTPinch organized to be separated into
pan, pinch, and destroy.
2015-09-04 16:54:10 -07:00
Shivam Dave
ad3f055747 Merge remote-tracking branch 'upstream/master' into mobile_gestures 2015-09-04 16:36:50 -07:00
Shivam Dave
dafcda281a Merge pull request #100 from nasa/open99
[Identity] Provide an undefined identity
2015-09-04 16:05:00 -07:00
Shivam Dave
23d0b50593 [Mobile - Gestures] Merge
Merged with Mobile.
2015-09-04 15:57:08 -07:00
Shivam Dave
73079e109c [Gestures] Tests
Set up MCTPlot test for the
touch gesture evetns, however
stopped short of utils call.
2015-09-04 15:27:02 -07:00
Shivam Dave
ce80806917 [Gestures] Clean Up
Adjust MCTPinchSpec mockTarget.
2015-09-04 15:25:40 -07:00
Shivam Dave
ddf519c17e [Gestures] Tests
Runs through the MCTPinch 100%, needs
expectations. However completes all
gesture firings and .
2015-09-04 14:57:16 -07:00
Shivam Dave
e8739ede0e [Gestures] Tests
Cleaned up/removed placeholder
console.log calls.
2015-09-04 14:56:31 -07:00
Shivam Dave
8101fd7a20 [Gestures] Tests
MCTPinch tests nearly complete.
Does not check scope destroy, however does
run through the touch firings.
2015-09-04 14:53:14 -07:00
Shivam Dave
820960f879 [Gestures] Tests
Setup the gestures for the MCTPlot
2015-09-04 14:52:14 -07:00
Shivam Dave
6f130ae48c [Plot] Tests
Initialization and addition of MCTPlotSpec
tests. Currently runs through file, however
need to call  calls.
2015-09-04 13:11:14 -07:00
Shivam Dave
4e44571819 [Gestures] Tests
Created initialization of variables
and components to MCTChart additions.
2015-09-04 12:54:35 -07:00
Shivam Dave
8920b5454b [Plot] Clean Up
Removed unused  from MCTChart.
2015-09-04 12:50:26 -07:00
Victor Woeltjen
cc5908d26f [Identity] Provide an undefined identity
Provide an undefined identity by default, instead of
an Unknown User. This suppresses display of identity-related
features (such as the identity indicator) while still
providing a default implementation of the identityService
for platform components to utilize. nasa/openmctweb#99
2015-09-04 12:17:02 -07:00
Shivam Dave
989819c7bd [plot-reborn] Tests
Completes PlotController tests for the
viewportChangeEnd functions and
call.
2015-09-04 11:33:57 -07:00
Shivam Dave
f5da8252af [plot-reborn] Tests
Initialize MCTPinch, MCTPlot, MCTChart
tests.
2015-09-04 11:32:21 -07:00
Shivam Dave
00a8aea6ea [plot-reborn] Tests
Initialize PlotController tests and the
json suite file.
2015-09-04 11:31:42 -07:00
Shivam Dave
8072e829ad [Mobile] Comments
Added comments to plot controller
regarding the change in the snapping
to right and mobile adjustment.
2015-09-03 16:30:12 -07:00
Shivam Dave
e866ddb9fd [Mobile] Plot & Gestures
Plot adjusted so that when snapping to the right
the left domain value also moves same amount that
the right domain did. Also Interval between left
and right domains on screen are dyanmically set to
amount zoomed in/out, instead of being defaulted
to 2 minutes. Made small edit to display if the chart
has been manipulated (panned or zoomed) or is updating
live.
2015-09-03 16:15:34 -07:00
Shivam Dave
4fa29d30f5 [Mobile] Gestures
Distance change to differentiate between
pan and pinch increased from 2 to 3.
2015-09-03 11:48:42 -07:00
Shivam Dave
c394151c46 [Mobile] Gestures
Redraw rate adjusted to redraw on
mobile every 15ms instead of 1000ms
(like on desktop). Also added agentservice
to PlotController and MCTChart (bundles and

file.
2015-09-03 11:47:33 -07:00
Shivam Dave
db1b76413c [Mobile] Clean Up
Removed test PlotController functions
which are unused.
2015-09-03 09:53:17 -07:00
Shivam Dave
c8b02d355f [Mobile] Comments
Clarifies what the ratio is for the
distance.
2015-09-03 09:51:12 -07:00
Shivam Dave
7c110ee8af [Mobile] Gestures
Removed plot.html mct-pinch reference
because it was not being used. Also
adjusted MCTPlot comment.
2015-09-03 09:21:10 -07:00
Shivam Dave
49213f550f [Mobile] Comments
Commented on the trackTouchPosition
addition.
2015-09-03 09:08:47 -07:00
Shivam Dave
678d11832c Merge remote-tracking branch 'upstream/master' into mobile 2015-09-02 15:48:44 -07:00
Shivam Dave
447ae3f20b [Mobile] Comments
Added comments to the MCTPinch file.
2015-09-02 13:44:17 -07:00
Shivam Dave
7288db1908 [Mobile] Comments
Added comments to the MCTPinch file.
2015-09-02 13:37:17 -07:00
Shivam Dave
908fbdbf73 [Mobile] Clean Up
Changed one line space.
2015-09-02 12:59:44 -07:00
Shivam Dave
052a359738 [Mobile] Comments
Added comments to the MCTPinch file.
2015-09-02 12:58:56 -07:00
Shivam Dave
f9be00a70f [Mobile] Clean Up
Reorganizaed MCTPlot touch
functions to be in suitable order. Also
made code DRYer by removing unnecessary functions
and combining statements that are used once. Also
renamed variables to differentiate similar ones
from one another. Added marks to show where
comments are needed (will be edited in next
commit).
2015-09-02 12:45:52 -07:00
Shivam Dave
d1055f0839 [Mobile] Refactor
Refactored calculateViewport
to use ratio to cacluate the sign of
required zoom in or zoom out, and then
apply that to the ZOOM_AMT. Makes function
DRYer.
2015-09-02 11:23:33 -07:00
Shivam Dave
0b7ab75512 [Mobile] Comments
Added comments to destroy and remaining
MCTPinch functions.
2015-09-02 10:20:49 -07:00
Shivam Dave
9d1841db55 [Mobile] Adjust pan/pinch check
Now check done for pan/pinch using
variables set during start of gesture.
Also added functions to touch amount
checks to make MCTPinch DRYer. Comments
regarding touch functions and added
variables/functions.
2015-09-02 10:18:40 -07:00
Shivam Dave
50d10639e1 [Mobile] Clean Up
Changed variable placement
for amount of distance changed allowed
for a pinch drag.
2015-09-02 09:23:25 -07:00
Shivam Dave
5a9619ce26 [Mobile] Clean Up
Removed unneeded variables passed into
MCTPlot functions.
2015-09-02 09:16:01 -07:00
Shivam Dave
42b7427816 [Mobile] Clean up
Renamed the setDR to be set
Dimensions. Also removed unneeded
calculateDistance function.
2015-09-02 09:14:54 -07:00
Shivam Dave
a1b37b1269 [Mobile] Clean Up
Added comments and cleaned up a bit
of the MCTPinch file.
2015-09-02 09:13:28 -07:00
Victor Woeltjen
2f57f47234 Merge pull request #78 from danielpacak/ignore-intellij-project-config-files
[Build] Ignore Intellij *.iml configuration files
2015-09-01 16:17:17 -07:00
Victor Woeltjen
59e181c0e5 Merge pull request #65 from danielpacak/tomcat-maven-plugin
[Build] Start the WAR in an embedded Tomcat Servlet Container
2015-09-01 16:15:56 -07:00
Shivam Dave
8a5c61e2e6 Merge remote-tracking branch 'upstream/master' into mobile 2015-09-01 14:50:45 -07:00
Shivam Dave
199be71f8f Merge pull request #96 from nasa/open92
[Identity] Add identity service

1. Changes appear to address issue? Y
2. Appropriate unit tests included? Y
3. Code style and in-line documentation are appropriate? Y
4. Commit messages meet standards? Y
2015-09-01 14:49:04 -07:00
Shivam Dave
c8ca1deb9b [Mobile] Gestures
Fixed the range of values for
differentiating between pan and
pinch zoom to not assign the +2/-2
value to the variable.
2015-09-01 12:15:48 -07:00
Victor Woeltjen
ac2144d5c5 [Identity] Satisfy JSLint 2015-09-01 12:04:36 -07:00
Shivam Dave
5be6e90388 [Mobile] Clean Up
Commented out console calls from gesture
pinch/plot classes. Also allowed pan with
single finger.
2015-09-01 11:53:41 -07:00
Victor Woeltjen
01f2fab70f [Create] Filter out control-less properties
When properties have no control defined, don't show them
in the create dialog (but do show them in metadata, e.g.
info bubble.) For nasa/openmctweb#92
2015-09-01 11:48:15 -07:00
Shivam Dave
814b04858a [Mobile] Gestures
MCTPinch adjusted the touch check to help
differentiate between a two finger touch
vs a single singer pan.
2015-09-01 11:45:11 -07:00
Victor Woeltjen
7562c82369 [Identity] Add default identity provider
nasa/openmctweb#92
2015-09-01 11:43:07 -07:00
Victor Woeltjen
c3efb29dfc [Metadata] Fix whitespace 2015-09-01 11:31:42 -07:00