You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/03/31 21:22:55 UTC
[38/52] [partial] fix api-url issue
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/geolocation/css/theme.min.css
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/geolocation/css/theme.min.css b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/geolocation/css/theme.min.css
deleted file mode 100644
index 8f685dd..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/geolocation/css/theme.min.css
+++ /dev/null
@@ -1,213 +0,0 @@
-/*!
-* jQuery Mobile 1.4.0
-* Git HEAD hash: f09aae0e035d6805e461a7be246d04a0dbc98f69 <> Date: Thu Dec 19 2013 17:34:22 UTC
-* http://jquerymobile.com
-*
-* Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors
-* Released under the MIT license.
-* http://jquery.org/license
-*
-*/
-
-
-/* Globals */
-/* Font
------------------------------------------------------------------------------------------------------------*/
-html {
- font-size: 100%;
-}
-body,
-input,
-select,
-textarea,
-button,
-.ui-btn {
- font-size: 1em;
- line-height: 1.3;
- font-family: sans-serif /*{global-font-family}*/;
-}
-legend,
-.ui-input-text input,
-.ui-input-search input {
- color: inherit;
- text-shadow: inherit;
-}
-/* Form labels (overrides font-weight bold in bars, and mini font-size) */
-.ui-mobile label,
-div.ui-controlgroup-label {
- font-weight: normal;
- font-size: 16px;
-}
-/* Separators
------------------------------------------------------------------------------------------------------------*/
-/* Field contain separator (< 28em) */
-.ui-field-contain {
- border-bottom-color: #828282;
- border-bottom-color: rgba(0,0,0,.15);
- border-bottom-width: 1px;
- border-bottom-style: solid;
-}
-/* Table opt-in classes: strokes between each row, and alternating row stripes */
-/* Classes table-stroke and table-stripe are deprecated in 1.4. */
-.table-stroke thead th,
-.table-stripe thead th,
-.table-stripe tbody tr:last-child {
- border-bottom: 1px solid #d6d6d6; /* non-RGBA fallback */
- border-bottom: 1px solid rgba(0,0,0,.1);
-}
-.table-stroke tbody th,
-.table-stroke tbody td {
- border-bottom: 1px solid #e6e6e6; /* non-RGBA fallback */
- border-bottom: 1px solid rgba(0,0,0,.05);
-}
-.table-stripe.table-stroke tbody tr:last-child th,
-.table-stripe.table-stroke tbody tr:last-child td {
- border-bottom: 0;
-}
-.table-stripe tbody tr:nth-child(odd) td,
-.table-stripe tbody tr:nth-child(odd) th {
- background-color: #eeeeee; /* non-RGBA fallback */
- background-color: rgba(0,0,0,.04);
-}
-/* Buttons
------------------------------------------------------------------------------------------------------------*/
-.ui-btn,
-label.ui-btn {
- font-weight: bold;
- border-width: 1px;
- border-style: solid;
-}
-.ui-btn:link {
- text-decoration: none !important;
-}
-.ui-btn-active {
- cursor: pointer;
-}
-/* Corner rounding
------------------------------------------------------------------------------------------------------------*/
-/* Class ui-btn-corner-all deprecated in 1.4 */
-.ui-corner-all {
- -webkit-border-radius: .6em /*{global-radii-blocks}*/;
- border-radius: .6em /*{global-radii-blocks}*/;
-}
-/* Buttons */
-.ui-btn-corner-all,
-.ui-btn.ui-corner-all,
-/* Slider track */
-.ui-slider-track.ui-corner-all,
-/* Flipswitch */
-.ui-flipswitch.ui-corner-all,
-/* Count bubble */
-.ui-li-count {
- -webkit-border-radius: .3125em /*{global-radii-buttons}*/;
- border-radius: .3125em /*{global-radii-buttons}*/;
-}
-/* Icon-only buttons */
-.ui-btn-icon-notext.ui-btn-corner-all,
-.ui-btn-icon-notext.ui-corner-all {
- -webkit-border-radius: 1em;
- border-radius: 1em;
-}
-/* Radius clip workaround for cleaning up corner trapping */
-.ui-btn-corner-all,
-.ui-corner-all {
- -webkit-background-clip: padding;
- background-clip: padding-box;
-}
-/* Popup arrow */
-.ui-popup.ui-corner-all > .ui-popup-arrow-guide {
- left: .6em /*{global-radii-blocks}*/;
- right: .6em /*{global-radii-blocks}*/;
- top: .6em /*{global-radii-blocks}*/;
- bottom: .6em /*{global-radii-blocks}*/;
-}
-/* Shadow
------------------------------------------------------------------------------------------------------------*/
-.ui-shadow {
- -webkit-box-shadow: 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/;
- -moz-box-shadow: 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/;
- box-shadow: 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/;
-}
-.ui-shadow-inset {
- -webkit-box-shadow: inset 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/;
- -moz-box-shadow: inset 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/;
- box-shadow: inset 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/;
-}
-.ui-overlay-shadow {
- -webkit-box-shadow: 0 0 12px rgba(0,0,0,.6);
- -moz-box-shadow: 0 0 12px rgba(0,0,0,.6);
- box-shadow: 0 0 12px rgba(0,0,0,.6);
-}
-/* Icons
------------------------------------------------------------------------------------------------------------*/
-.ui-btn-icon-left:after,
-.ui-btn-icon-right:after,
-.ui-btn-icon-top:after,
-.ui-btn-icon-bottom:after,
-.ui-btn-icon-notext:after {
- background-color: #666666 /*{global-icon-color}*/;
- background-color: rgba(0,0,0,.3) /*{global-icon-disc}*/;
- background-position: center center;
- background-repeat: no-repeat;
- -webkit-border-radius: 1em;
- border-radius: 1em;
-}
-/* Alt icons */
-.ui-alt-icon.ui-btn:after,
-.ui-alt-icon .ui-btn:after,
-html .ui-alt-icon.ui-checkbox-off:after,
-html .ui-alt-icon.ui-radio-off:after,
-html .ui-alt-icon .ui-checkbox-off:after,
-html .ui-alt-icon .ui-radio-off:after {
- background-color: #666666 /*{global-icon-color}*/;
- background-color: rgba(0,0,0,.15);
-}
-/* No disc */
-.ui-nodisc-icon.ui-btn:after,
-.ui-nodisc-icon .ui-btn:after {
- background-color: transparent;
-}
-/* Icon shadow */
-.ui-shadow-icon.ui-btn:after,
-.ui-shadow-icon .ui-btn:after {
- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.3) /*{global-icon-shadow}*/;
- -moz-box-shadow: 0 1px 0 rgba(255,255,255,.3) /*{global-icon-shadow}*/;
- box-shadow: 0 1px 0 rgba(255,255,255,.3) /*{global-icon-shadow}*/;
-}
-/* Checkbox and radio */
-.ui-btn.ui-checkbox-off:after,
-.ui-btn.ui-checkbox-on:after,
-.ui-btn.ui-radio-off:after,
-.ui-btn.ui-radio-on:after {
- display: block;
- width: 18px;
- height: 18px;
- margin: -9px 2px 0 2px;
-}
-.ui-checkbox-off:after,
-.ui-btn.ui-radio-off:after {
- filter: Alpha(Opacity=30);
- opacity: .3;
-}
-.ui-btn.ui-checkbox-off:after,
-.ui-btn.ui-checkbox-on:after {
- -webkit-border-radius: .1875em;
- border-radius: .1875em;
-}
-.ui-radio .ui-btn.ui-radio-on:after {
- background-image: none;
- background-color: #fff;
- width: 8px;
- height: 8px;
- border-width: 5px;
- border-style: solid;
-}
-.ui-alt-icon.ui-btn.ui-radio-on:after,
-.ui-alt-icon .ui-btn.ui-radio-on:after {
- background-color: #000;
-}
-/* Loader */
-.ui-icon-loading {
- background: url(images/ajax-loader.gif);
- background-size: 2.875em 2.875em;
-}.ui-bar-a,.ui-page-theme-a .ui-bar-inherit,html .ui-bar-a .ui-bar-inherit,html .ui-body-a .ui-bar-inherit,html body .ui-group-theme-a .ui-bar-inherit{background:#e9e9e9 ;border-color:#dddddd ;color:#333333 ;text-shadow:0 1px 0 #eeeeee ;font-weight:bold;}.ui-bar-a{border-width:1px;border-style:solid;}.ui-overlay-a,.ui-page-theme-a,.ui-page-theme-a .ui-panel-wrapper{background:#f9f9f9 ;border-color:#bbbbbb ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-body-a,.ui-page-theme-a .ui-body-inherit,html .ui-bar-a .ui-body-inherit,html .ui-body-a .ui-body-inherit,html body .ui-group-theme-a .ui-body-inherit,html .ui-panel-page-container-a{background:#ffffff ;border-color:#dddddd ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-body-a{border-width:1px;border-style:solid;}.ui-page-theme-a a,html .ui-bar-a a,html .ui-body-a a,html body .ui-group-theme-a a{color:#3388cc ;font-weight:bold;}.ui-page-theme-a a:visited,html .ui-bar-a a:visited,html .ui-body-a a:visited,html body .ui-gr
oup-theme-a a:visited{ color:#3388cc ;}.ui-page-theme-a a:hover,html .ui-bar-a a:hover,html .ui-body-a a:hover,html body .ui-group-theme-a a:hover{color:#005599 ;}.ui-page-theme-a a:active,html .ui-bar-a a:active,html .ui-body-a a:active,html body .ui-group-theme-a a:active{color:#005599 ;}.ui-page-theme-a .ui-btn,html .ui-bar-a .ui-btn,html .ui-body-a .ui-btn,html body .ui-group-theme-a .ui-btn,html head + body .ui-btn.ui-btn-a,.ui-page-theme-a .ui-btn:visited,html .ui-bar-a .ui-btn:visited,html .ui-body-a .ui-btn:visited,html body .ui-group-theme-a .ui-btn:visited,html head + body .ui-btn.ui-btn-a:visited{background:#f6f6f6 ;border-color:#dddddd ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-page-theme-a .ui-btn:hover,html .ui-bar-a .ui-btn:hover,html .ui-body-a .ui-btn:hover,html body .ui-group-theme-a .ui-btn:hover,html head + body .ui-btn.ui-btn-a:hover{background:#ededed ;border-color:#dddddd ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-page-theme-a .ui-btn:act
ive,html .ui-bar-a .ui-btn:active,html .ui-body-a .ui-btn:active,html body .ui-group-theme-a .ui-btn:active,html head + body .ui-btn.ui-btn-a:active{background:#e8e8e8 ;border-color:#dddddd ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-page-theme-a .ui-btn.ui-btn-active,html .ui-bar-a .ui-btn.ui-btn-active,html .ui-body-a .ui-btn.ui-btn-active,html body .ui-group-theme-a .ui-btn.ui-btn-active,html head + body .ui-btn.ui-btn-a.ui-btn-active,.ui-page-theme-a .ui-checkbox-on:after,html .ui-bar-a .ui-checkbox-on:after,html .ui-body-a .ui-checkbox-on:after,html body .ui-group-theme-a .ui-checkbox-on:after,.ui-btn.ui-checkbox-on.ui-btn-a:after,.ui-page-theme-a .ui-flipswitch-active,html .ui-bar-a .ui-flipswitch-active,html .ui-body-a .ui-flipswitch-active,html body .ui-group-theme-a .ui-flipswitch-active,html body .ui-flipswitch.ui-bar-a.ui-flipswitch-active,.ui-page-theme-a .ui-slider-track .ui-btn-active,html .ui-bar-a .ui-slider-track .ui-btn-active,html .ui-body-a .ui-slider-tr
ack .ui-btn-active,html body .ui-group-theme-a .ui-slider-track .ui-btn-active,html body div.ui-slider-track.ui-body-a .ui-btn-active{background-color:#3388cc ;border-color:#3388cc ;color:#ffffff ;text-shadow:0 1px 0 #005599 ;}.ui-page-theme-a .ui-radio-on:after,html .ui-bar-a .ui-radio-on:after,html .ui-body-a .ui-radio-on:after,html body .ui-group-theme-a .ui-radio-on:after,.ui-btn.ui-radio-on.ui-btn-a:after{border-color:#3388cc ;}.ui-page-theme-a .ui-btn:focus,html .ui-bar-a .ui-btn:focus,html .ui-body-a .ui-btn:focus,html body .ui-group-theme-a .ui-btn:focus,html head + body .ui-btn.ui-btn-a:focus,.ui-page-theme-a .ui-focus,html .ui-bar-a .ui-focus,html .ui-body-a .ui-focus,html body .ui-group-theme-a .ui-focus,html head + body .ui-btn-a.ui-focus,html head + body .ui-body-a.ui-focus{-webkit-box-shadow:0 0 12px #3388cc ;-moz-box-shadow:0 0 12px #3388cc ;box-shadow:0 0 12px #3388cc ;}.ui-bar-b,.ui-page-theme-b .ui-bar-inherit,html .ui-bar-b .ui-bar-inherit,html .ui-body-b .ui-b
ar-inherit,html body .ui-group-theme-b .ui-bar-inherit{background:#fc4c02 ;border-color:#8a2901 ;color:#ffffff ;text-shadow:0 1px 0 #444444 ;font-weight:bold;}.ui-bar-b{border-width:1px;border-style:solid;}.ui-overlay-b,.ui-page-theme-b,.ui-page-theme-b .ui-panel-wrapper{background: ;border-color:#bbbbbb ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-body-b,.ui-page-theme-b .ui-body-inherit,html .ui-bar-b .ui-body-inherit,html .ui-body-b .ui-body-inherit,html body .ui-group-theme-b .ui-body-inherit,html .ui-panel-page-container-b{background:#ffffff ;border-color:#8c8c8c ;color:#000000 ;text-shadow:0 1px 0 #eeeeee ;}.ui-body-b{border-width:1px;border-style:solid;}.ui-page-theme-b a,html .ui-bar-b a,html .ui-body-b a,html body .ui-group-theme-b a{color:#3388cc ;font-weight:bold;}.ui-page-theme-b a:visited,html .ui-bar-b a:visited,html .ui-body-b a:visited,html body .ui-group-theme-b a:visited{ color:#3388cc ;}.ui-page-theme-b a:hover,html .ui-bar-b a:hover,html .ui-body-
b a:hover,html body .ui-group-theme-b a:hover{color:#005599 ;}.ui-page-theme-b a:active,html .ui-bar-b a:active,html .ui-body-b a:active,html body .ui-group-theme-b a:active{color:#005599 ;}.ui-page-theme-b .ui-btn,html .ui-bar-b .ui-btn,html .ui-body-b .ui-btn,html body .ui-group-theme-b .ui-btn,html head + body .ui-btn.ui-btn-b,.ui-page-theme-b .ui-btn:visited,html .ui-bar-b .ui-btn:visited,html .ui-body-b .ui-btn:visited,html body .ui-group-theme-b .ui-btn:visited,html head + body .ui-btn.ui-btn-b:visited{background: #FC4C02 ;border-color:#dddddd ;color:#ffffff ;text-shadow:0 1.5px 0 #000000 ;}.ui-page-theme-b .ui-btn:hover,html .ui-bar-b .ui-btn:hover,html .ui-body-b .ui-btn:hover,html body .ui-group-theme-b .ui-btn:hover,html head + body .ui-btn.ui-btn-b:hover{background:#ededed ;border-color:#dddddd ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-page-theme-b .ui-btn:active,html .ui-bar-b .ui-btn:active,html .ui-body-b .ui-btn:active,html body .ui-group-theme-b .ui-bt
n:active,html head + body .ui-btn.ui-btn-b:active{background:#e8e8e8 ;border-color:#dddddd ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-page-theme-b .ui-btn.ui-btn-active,html .ui-bar-b .ui-btn.ui-btn-active,html .ui-body-b .ui-btn.ui-btn-active,html body .ui-group-theme-b .ui-btn.ui-btn-active,html head + body .ui-btn.ui-btn-b.ui-btn-active,.ui-page-theme-b .ui-checkbox-on:after,html .ui-bar-b .ui-checkbox-on:after,html .ui-body-b .ui-checkbox-on:after,html body .ui-group-theme-b .ui-checkbox-on:after,.ui-btn.ui-checkbox-on.ui-btn-b:after,.ui-page-theme-b .ui-flipswitch-active,html .ui-bar-b .ui-flipswitch-active,html .ui-body-b .ui-flipswitch-active,html body .ui-group-theme-b .ui-flipswitch-active,html body .ui-flipswitch.ui-bar-b.ui-flipswitch-active,.ui-page-theme-b .ui-slider-track .ui-btn-active,html .ui-bar-b .ui-slider-track .ui-btn-active,html .ui-body-b .ui-slider-track .ui-btn-active,html body .ui-group-theme-b .ui-slider-track .ui-btn-active,html body div.ui-sli
der-track.ui-body-b .ui-btn-active{background-color:#3388cc ;border-color:#3388cc ;color:#ffffff ;text-shadow:0 1px 0 #005599 ;}.ui-page-theme-b .ui-radio-on:after,html .ui-bar-b .ui-radio-on:after,html .ui-body-b .ui-radio-on:after,html body .ui-group-theme-b .ui-radio-on:after,.ui-btn.ui-radio-on.ui-btn-b:after{border-color:#3388cc ;}.ui-page-theme-b .ui-btn:focus,html .ui-bar-b .ui-btn:focus,html .ui-body-b .ui-btn:focus,html body .ui-group-theme-b .ui-btn:focus,html head + body .ui-btn.ui-btn-b:focus,.ui-page-theme-b .ui-focus,html .ui-bar-b .ui-focus,html .ui-body-b .ui-focus,html body .ui-group-theme-b .ui-focus,html head + body .ui-btn-b.ui-focus,html head + body .ui-body-b.ui-focus{-webkit-box-shadow:0 0 12px #3388cc ;-moz-box-shadow:0 0 12px #3388cc ;box-shadow:0 0 12px #3388cc ;}.ui-bar-c,.ui-page-theme-c .ui-bar-inherit,html .ui-bar-c .ui-bar-inherit,html .ui-body-c .ui-bar-inherit,html body .ui-group-theme-c .ui-bar-inherit{background:#e9e9e9 ;border-color:#dddddd ;co
lor:#333333 ;text-shadow:0 1px 0 #eeeeee ;font-weight:bold;}.ui-bar-c{border-width:1px;border-style:solid;}.ui-overlay-c,.ui-page-theme-c,.ui-page-theme-c .ui-panel-wrapper{background:#f9f9f9 ;border-color:#bbbbbb ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-body-c,.ui-page-theme-c .ui-body-inherit,html .ui-bar-c .ui-body-inherit,html .ui-body-c .ui-body-inherit,html body .ui-group-theme-c .ui-body-inherit,html .ui-panel-page-container-c{background:#ffffff ;border-color:#dddddd ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-body-c{border-width:1px;border-style:solid;}.ui-page-theme-c a,html .ui-bar-c a,html .ui-body-c a,html body .ui-group-theme-c a{color:#3388cc ;font-weight:bold;}.ui-page-theme-c a:visited,html .ui-bar-c a:visited,html .ui-body-c a:visited,html body .ui-group-theme-c a:visited{ color:#3388cc ;}.ui-page-theme-c a:hover,html .ui-bar-c a:hover,html .ui-body-c a:hover,html body .ui-group-theme-c a:hover{color:#005599 ;}.ui-page-theme-c a:active,html
.ui-bar-c a:active,html .ui-body-c a:active,html body .ui-group-theme-c a:active{color:#005599 ;}.ui-page-theme-c .ui-btn,html .ui-bar-c .ui-btn,html .ui-body-c .ui-btn,html body .ui-group-theme-c .ui-btn,html head + body .ui-btn.ui-btn-c,.ui-page-theme-c .ui-btn:visited,html .ui-bar-c .ui-btn:visited,html .ui-body-c .ui-btn:visited,html body .ui-group-theme-c .ui-btn:visited,html head + body .ui-btn.ui-btn-c:visited{background:#f6f6f6 ;border-color:#dddddd ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-page-theme-c .ui-btn:hover,html .ui-bar-c .ui-btn:hover,html .ui-body-c .ui-btn:hover,html body .ui-group-theme-c .ui-btn:hover,html head + body .ui-btn.ui-btn-c:hover{background:#ededed ;border-color:#dddddd ;color:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-page-theme-c .ui-btn:active,html .ui-bar-c .ui-btn:active,html .ui-body-c .ui-btn:active,html body .ui-group-theme-c .ui-btn:active,html head + body .ui-btn.ui-btn-c:active{background:#e8e8e8 ;border-color:#dddddd ;colo
r:#333333 ;text-shadow:0 1px 0 #f3f3f3 ;}.ui-page-theme-c .ui-btn.ui-btn-active,html .ui-bar-c .ui-btn.ui-btn-active,html .ui-body-c .ui-btn.ui-btn-active,html body .ui-group-theme-c .ui-btn.ui-btn-active,html head + body .ui-btn.ui-btn-c.ui-btn-active,.ui-page-theme-c .ui-checkbox-on:after,html .ui-bar-c .ui-checkbox-on:after,html .ui-body-c .ui-checkbox-on:after,html body .ui-group-theme-c .ui-checkbox-on:after,.ui-btn.ui-checkbox-on.ui-btn-c:after,.ui-page-theme-c .ui-flipswitch-active,html .ui-bar-c .ui-flipswitch-active,html .ui-body-c .ui-flipswitch-active,html body .ui-group-theme-c .ui-flipswitch-active,html body .ui-flipswitch.ui-bar-c.ui-flipswitch-active,.ui-page-theme-c .ui-slider-track .ui-btn-active,html .ui-bar-c .ui-slider-track .ui-btn-active,html .ui-body-c .ui-slider-track .ui-btn-active,html body .ui-group-theme-c .ui-slider-track .ui-btn-active,html body div.ui-slider-track.ui-body-c .ui-btn-active{background-color:#3388cc ;border-color:#3388cc ;color:#ffffff
;text-shadow:0 1px 0 #005599 ;}.ui-page-theme-c .ui-radio-on:after,html .ui-bar-c .ui-radio-on:after,html .ui-body-c .ui-radio-on:after,html body .ui-group-theme-c .ui-radio-on:after,.ui-btn.ui-radio-on.ui-btn-c:after{border-color:#3388cc ;}.ui-page-theme-c .ui-btn:focus,html .ui-bar-c .ui-btn:focus,html .ui-body-c .ui-btn:focus,html body .ui-group-theme-c .ui-btn:focus,html head + body .ui-btn.ui-btn-c:focus,.ui-page-theme-c .ui-focus,html .ui-bar-c .ui-focus,html .ui-body-c .ui-focus,html body .ui-group-theme-c .ui-focus,html head + body .ui-btn-c.ui-focus,html head + body .ui-body-c.ui-focus{-webkit-box-shadow:0 0 12px #3388cc ;-moz-box-shadow:0 0 12px #3388cc ;box-shadow:0 0 12px #3388cc ;}.ui-disabled,.ui-state-disabled,button[disabled],.ui-select .ui-btn.ui-state-disabled{filter:Alpha(Opacity=30);opacity:.3;cursor:default !important;pointer-events:none;}.ui-btn:focus,.ui-btn.ui-focus{outline:0;}.ui-noboxshadow .ui-shadow,.ui-noboxshadow .ui-shadow-inset,.ui-noboxshadow .ui
-overlay-shadow,.ui-noboxshadow .ui-shadow-icon.ui-btn:after,.ui-noboxshadow .ui-shadow-icon .ui-btn:after,.ui-noboxshadow .ui-focus,.ui-noboxshadow .ui-btn:focus,.ui-noboxshadow input:focus,.ui-noboxshadow .ui-panel{-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important;}.ui-noboxshadow .ui-btn:focus,.ui-noboxshadow .ui-focus{outline-width:1px;outline-style:auto;}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/geolocation/js/index.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/geolocation/js/index.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/geolocation/js/index.js
deleted file mode 100644
index ac75bcd..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/geolocation/js/index.js
+++ /dev/null
@@ -1,133 +0,0 @@
-/* APIGEE JavaScript SDK GEOLOCATION EXAMPLE APP
-
-This sample app will show you how to perform basic entity operation using the Apigee JavaScript SDK, including:
-
- - Create an entity with location data
- - Query the Apigee API for entities based on location
-
-This file contains the functions that make the actual API requests. To run the app, open index.html in your browser. */
-
-var dataClient;
-var latitude;
-var longitude;
-
-/* First we use the JavaScript geolocation API to retrieve the user's current position, so that we have position data to work with. */
-function getLocation () {
- navigator.geolocation.getCurrentPosition(
- function success (location) {
- latitude = location.coords.latitude;
- longitude = location.coords.latitude;
- alert("Successfully retrieved your location. Click the start button to run the sample app!");
- },
- function error () {
- document.getElementById('result-text').innerHTML
- += "Unable to retrieve your location. Please ensure location sharing is enabled in your browser."
- $('#back-button').remove();
- window.location = '#result-page';
- }
- );
-}
-
-/* Next, before we make any requests, we prompt the user for their Apigee organization name, then initialize the SDK by
- instantiating the Apigee.Client class.
-
- Note that this app is designed to use the unsecured 'sandbox' application that was included when you created your organization. */
-
-function promptClientCredsAndInitializeSDK(){
- var APIGEE_ORGNAME;
- var APIGEE_APPNAME='sandbox';
- if("undefined"===typeof APIGEE_ORGNAME){
- APIGEE_ORGNAME=prompt("What is the Organization Name you registered at http://apigee.com/usergrid?");
- }
- initializeSDK(APIGEE_ORGNAME,APIGEE_APPNAME);
-}
-
-
-function initializeSDK(ORGNAME,APPNAME){
- dataClient = new Apigee.Client({
- orgName:ORGNAME,
- appName:APPNAME,
- logging: true, //optional - turn on logging, off by default
- buildCurl: true //optional - log network calls in the console, off by default
-
- });
-}
-
-/* 1. Add location data to an entity
-
- To start, let's create a function to create an entity with location data and
- save it on Apigee. */
-
-function createLocation () {
- /*
- First, we specify the properties for your new entity:
-
- - Set the values of the 'latitude' and 'longitude' properties to a location near you. */
-
- var properties = {
- type:'device',
- location: {
- latitude:latitude,
- longitude:longitude
- }
- };
-
- /* Next, we call the createEntity() method. Notice that the method is prepended by
- dataClient, so that the Apigee API knows what data store we want to work with. */
-
- dataClient.createEntity(properties, function (errorStatus, response, errorMessage) {
- if (errorStatus) {
- // Error - there was a problem creating the entity
- document.getElementById('result-text').innerHTML
- += "Error! Unable to create your entity. "
- + "Did you enter the correct organization name?"
- + "<br/><br/>"
- + "Error message:"
- + "<pre>" + JSON.stringify(errorMessage); + "</pre>"
- } else {
- // Success - the entity was created properly
- document.getElementById('result-text').innerHTML
- += "Success! The entity has been created. Notice the 'location' property:"
- + "<br /><br />"
- + "<pre>" + JSON.stringify(response, undefined, 4); + "</pre>"
- }
- });
-}
-
-/* 2. Query the Apigee API based on entity location
-
- Now let's the user's location and ask the API to return all entities within
- 16000 meters of them. */
-
-function queryLocation () {
-
- /* Distance to query from the user's current location in meters */
- var distance = '16000';
-
- /* Now we form our geolocation query in the format:
- "location within <distance> of <latitude>,<longitude>" */
- var properties = {
- endpoint:'/devices',
- method:'GET',
- qs:{ql:'location within ' + distance + ' of ' + latitude + ',' + longitude}
- };
-
- /* And finally we pass our properties to request(), which initiates our GET request: */
- dataClient.request(properties, function (error, response) {
- if (error) {
- // Error - there was a problem retrieving the entity
- document.getElementById('result-text').innerHTML
- += "Error! Unable to retrieve your entity. "
- + "Did you enter the correct organization name?"
- + "<br/><br/>"
- + "Error message:" + JSON.stringify(error);
- } else {
- // Success - the request was successful and the API returns the results of our query
- document.getElementById('result-text').innerHTML
- += "Success! Here is the entity we retrieved. If you don't see an entity, make "
- + "sure you run the 'Create a new entity with location data step' first."
- + "<br/><br/>"
- + "<pre>" + JSON.stringify(response, undefined, 4); + "</pre>"
- }
- });
-}
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/messagee/app.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/messagee/app.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/messagee/app.js
deleted file mode 100644
index 2a8fb90..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/messagee/app.js
+++ /dev/null
@@ -1,634 +0,0 @@
-/**
- * Messagee is a sample twitter-type app that is powered by Usergrid
- * Usergrid. This app shows how to use the Usergrid SDK to connect
- * to Usergrid, and how to store and retrieve data using Collections.
- *
- * Learn more at http://Usergrid.com/docs
- *
- * Copyright 2012 Apigee Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * @file app.js
- * @author Rod Simpson (rod@apigee.com)
- *
- * This file contains the main program logic for Messagee.
- */
-$(document).ready(function () {
-
- /*******************************************************************
- * create client and set up vars
- ********************************************************************/
-
- if("undefined"===typeof APIGEE_ORGNAME){
- APIGEE_ORGNAME=prompt("What is the Organization Name you registered at http://apigee.com/usergrid ?\n(you can set this permanently in config.js)", "ORG NAME");
- }
- if("undefined"===typeof APIGEE_APPNAME){
- APIGEE_APPNAME="sandbox";
- }
- var client_creds = {
- orgName:APIGEE_ORGNAME, //your orgname goes here (not case sensitive)
- appName:APIGEE_APPNAME, //your appname goes here (not case sensitive)
- logging: true, //optional - turn on logging, off by default
- buildCurl: true //optional - turn on curl commands, off by default
- };
- //Instantiates the Apigee data client and Apigee.MonitoringClient
- var client = new Apigee.Client(client_creds);
-
- var appUser;
- var fullFeedView = true;
- var fullActivityFeed;
- var userFeed;
-
- /*******************************************************************
- * bind the various click events
- ********************************************************************/
- $('#btn-login').bind('click', login);
- $('#btn-show-page-update-account').bind('click', pageUpdateAccount);
- $('#btn-logout').bind('click', logout);
- $('#btn-create-new-account').bind('click', createNewUser);
- $('#btn-update-account').bind('click', updateUser);
- $('#btn-show-my-feed').bind('click', showMyFeed);
- $('#btn-show-full-feed').bind('click', showFullFeed);
- $('#btn-show-create-message').bind('click', function() {;
- $("#content").val('');
- $("#content").focus();
- });
- $('#post-message').bind('click', postMessage);
-
- //bind the next and previous buttons
- $('#btn-previous').bind('click', function() {
- if (fullFeedView) {
- fullActivityFeed.getPreviousPage(function (err) {
- if (err) {
- alert('Could not get feed. Please try again.');
- } else {
- drawMessages(fullActivityFeed);
- }
- });
- } else {
- userFeed.getPreviousPage(function (err) {
- if (err) {
- alert('Could not get feed. Please try again.');
- } else {
- drawMessages(userFeed);
- }
- });
- }
- });
-
- $('#btn-next').bind('click', function() {
- if (fullFeedView) {
- fullActivityFeed.getNextPage(function (err) {
- if (err) {
- alert('Could not get feed. Please try again.');
- } else {
- drawMessages(fullActivityFeed);
- }
- });
- } else {
- userFeed.getNextPage(function (err) {
- if (err) {
- alert('Could not get feed. Please try again.');
- } else {
- drawMessages(userFeed);
- }
- });
- }
- });
-
-
- /*******************************************************************
- * default actions for page load
- ********************************************************************/
- //if the app was somehow loaded on another page, default to the login page
- window.location = "#page-login";
-
- //when the page loads, try to get the current user. If a token is
- //stored and it is valid, then don't make them log in again
- client.getLoggedInUser(function(err, data, user) {
- if(err) {
- //error - could not get logged in user
- } else {
- if (client.isLoggedIn()){
- appUser = user;
- showFullFeed();
- }
- }
- });
-
- /*******************************************************************
- * main program functions
- ********************************************************************/
-
- /**
- * function to log in the app user. The API returns a token,
- * which is stored in the client and used for all future
- * calls. We pass a username, password, and a callback function
- * which is called when the api call returns (asynchronously).
- *
- * Once the call is sucessful, we transition the user to the page
- * that displays the list of messages.
- *
- * @method login
- * @return none
- */
- function login() {
- $('#login-section-error').html('');
- var username = $("#username").val();
- var password = $("#password").val();
-
- client.login(username, password,
- function (err) {
- if (err) {
- $('#login-section-error').html('There was an error logging you in.');
- } else {
- //login succeeded
- client.getLoggedInUser(function(err, data, user) {
- if(err) {
- //error - could not get logged in user
- } else {
- if (client.isLoggedIn()){
- appUser = user;
- // showFullFeed();
- }
- }
- });
-
- //clear out the login form so it is empty if the user chooses to log out
- $("#username").val('');
- $("#password").val('');
-
- //default to the full feed view (all messages in the system)
- showMyFeed();
- }
- }
- );
- }
-
- /**
- * a simple function to verify if the user is logged in
- *
- * @method isLoggedIn
- * @return {bool}
- */
- function isLoggedIn() {
- if (!client.isLoggedIn()) {
- window.location = "#page-login";
- return false;
- }
- return true
- }
-
- /**
- * simple funciton to log out the app user, then return them to the login page
- *
- * @method logout
- * @return none
- */
- function logout() {
- client.logout();
- window.location = "#page-login";
- }
-
- /**
- * Function that is called when the user clicks the settings button to
- * see their account details. We populate them with what we have on hand
- *
- * @method pageUpdateAccount
- * @return none
- */
- function pageUpdateAccount(){
- $("#update-name").val(appUser.get('name'));
- $("#update-email").val(appUser.get('email'));
- $("#update-username").val(appUser.get('username'));
- }
-
- /**
- * Function to handle the create new user form submission.
- *
- * First we make sure there are no errors on the form (in case they
- * submitted prior and have corrected some data).
- * Next, we get all the new data out of the form, validate it, then
- * call the createEntity function to send it to the API
- *
- * @method createNewUser
- * @return none
- */
- function createNewUser() {
-
- $("#new-name").removeClass('error');
- $("#new-email").removeClass('error');
- $("#new-username").removeClass('error');
- $("#new-password").removeClass('error');
-
- var name = $("#new-name").val();
- var email = $("#new-email").val();
- var username = $("#new-username").val();
- var password = $("#new-password").val();
-
- if (Usergrid.validation.validateName(name, function (){
- $("#new-name").focus();
- $("#new-name").addClass('error');}) &&
- Usergrid.validation.validateEmail(email, function (){
- $("#new-email").focus();
- $("#new-email").addClass('error');}) &&
- Usergrid.validation.validateUsername(username, function (){
- $("#new-username").focus();
- $("#new-username").addClass('error');}) &&
- Usergrid.validation.validatePassword(password, function (){
- $("#new-password").focus();
- $("#new-password").addClass('error');}) ) {
- // build the options object to pass to the create entity function
- var options = {
- type:'users',
- username:username,
- password:password,
- name:name,
- email:email
- }
-
- client.createEntity(options, function (err, newUser) {
- if (err){
- window.location = "#login";
- $('#login-section-error').html('There was an error creating the new user.');
- } else {
- appUser = newUser;
- //new user is created, so set their values in the login form and call login
- $("#username").val(username);
- $("#password").val(password);
- login();
- }
- });
- }
- }
-
- /**
- * Function to handle the update user form submission.
- *
- * First we make sure there are no errors on the form (in case they
- * submitted prior and have corrected some data).
- * Next, we get all the new data out of the form, validate it, set
- * it in the user Entity, then call the save function to send it to the API
- *
- * @method updateUser
- * @return none
- */
- function updateUser() {
-
- $("#update-name").removeClass('error');
- $("#update-email").removeClass('error');
- $("#update-username").removeClass('error');
- $("#update-oldpassword").removeClass('error');
- $("#update-newpassword").removeClass('error');
-
- var name = $("#update-name").val();
- var email = $("#update-email").val();
- var username = $("#update-username").val();
- var oldpassword = '';
- var newpassword = '';
- if (username != "myuser") {
- var oldpassword = $("#update-oldpassword").val();
- var newpassword = $("#update-newpassword").val();
- }
- if (Usergrid.validation.validateName(name, function (){
- $("#update-name").focus();
- $("#update-name").addClass('error');}) &&
- Usergrid.validation.validateEmail(email, function (){
- $("#update-email").focus();
- $("#update-email").addClass('error');}) &&
- Usergrid.validation.validateUsername(username, function (){
- $("#update-username").focus();
- $("#update-username").addClass('error');}) &&
- (newpassword == '') ||
- Usergrid.validation.validatePassword(newpassword, function (){
- $("#update-newpassword").focus();
- $("#update-newpassword").addClass('error');}) ) {
-
- appUser.set({"name":name,"username":username,"email":email,"oldpassword":oldpassword, "newpassword":newpassword});
- appUser.save(function (err) {
- if (err) {
- window.location = "#login";
- $('#user-message-update-account').html('<strong>There was an error updating your account</strong>');
- } else {
- $('#user-message-update-account').html('<strong>Your account was updated</strong>');
- }
- });
- }
- }
-
- /**
- * Function to get the user's feed from the API
- *
- * First make sure the user is logged in, then we make sure we are on
- * the messages list page.
- *
- * Next, we reset the paging of the feed object, so that user will
- * see the first page of the feed
- *
- * Next, we check to see if the feed object exists. If so, we we do a
- * get on the feed object, which makes a call to the
- * API to retrieve the messages in the feed
- *
- * On success, the drawMessages method is invoked
- *
- * @method showMyFeed
- * @return none
- */
- function showMyFeed() {
- if (!isLoggedIn()) return;
-
- //make sure we are on the messages page
- window.location = "#page-messages-list";
-
- fullFeedView = false;
- $('#btn-show-full-feed').removeClass('ui-btn-up-c');
- $('#btn-show-my-feed').addClass('ui-btn-up-c');
-
- if (userFeed) {
- userFeed.resetPaging();
- userFeed.fetch(function (err) {
- if (err) {
- alert('Could not get user feed. Please try again.');
- } else {
- drawMessages(userFeed);
- }
- });
- } else {
- //no feed obj yet, so make a new one
- var options = {
- type:'user/me/feed',
- qs:{"ql":"order by created desc"}
- }
- client.createCollection(options, function(err, collectionObj){
- if (err) {
- alert('Could not get user feed. Please try again.');
- } else {
- userFeed = collectionObj;
- drawMessages(userFeed);
- }
- });
- }
- }
-
- /**
- * Function to get the user's feed from the API
- *
- * First make sure the user is logged in, then we make sure we are on
- * the messages list page.
- *
- * Next, we reset the paging of the feed object, so that user will
- * see the first page of the feed
- *
- * Next, we check to see if the feed object exists. If so, we we do a
- * get on the feed object, which makes a call to the
- * API to retrieve the messages in the feed
- *
- * On success, the drawMessages method is invoked
- *
- * @method showFullFeed
- * @return none
- */
- function showFullFeed() {
- if (!isLoggedIn()) return;
-
- //make sure we are on the messages page
- window.location = "#page-messages-list";
-
- fullFeedView = true;
- $('#btn-show-full-feed').addClass('ui-btn-up-c');
- $('#btn-show-my-feed').removeClass('ui-btn-up-c');
-
-
- if (fullActivityFeed) {
- fullActivityFeed.resetPaging();
- fullActivityFeed.fetch(function (err) {
- if (err) {
- alert('Could not get activity feed. Please try again.');
- } else {
- drawMessages(fullActivityFeed);
- }
- });
- } else {
- var options = {
- type:'activities',
- qs:{"ql":"order by created desc"}
- }
- //no feed obj yet, so make a new one
- client.createCollection(options, function(err, collectionObj){
- if (err) {
- alert('Could not get activity feed. Please try again.');
- } else {
- fullActivityFeed = collectionObj;
- drawMessages(fullActivityFeed);
- }
- });
- }
- }
-
- /**
- * Function to parse the messages of the feed
- *
- * First, we create an array that will hold a the username of each person
- * who posted a message. We will use this to bind click events for the
- * "follow" feature on the page. We will set up the click events at the end of the page refresh
- *
- * At the end of the method, we show the next and previous buttons if applicable
- *
- * @method drawMessages
- * @param {object} feed -a Collection object
- * @return none
- *
- */
- function drawMessages(feed) {
- var html = "";
- var usersToBind = [];
- feed.resetEntityPointer();
- while(feed.hasNextEntity()) {
- var message = feed.getNextEntity(),
- created = message.get('created'),
- content = message.get('content'),
- email = '',
- imageUrl = '',
- actor = message.get('actor'),
- name = actor.displayName || 'Anonymous',
- username = actor.displayName;
-
- if ('email' in actor) {
- email = actor.email;
- imageUrl = 'http://www.gravatar.com/avatar/' + MD5(email.toLowerCase()) + '?s=' + 50;
- }
- if (!email) {
- if ('image' in actor && 'url' in actor.image) {
- imageUrl = actor.image.url;
- }
- }
- if (!imageUrl) {
- imageUrl = 'http://www.gravatar.com/avatar/' + MD5('rod@apigee.com') + '?s=' + 50;
- }
-
- formattedTime = prettyDate(created);
-
- html += '<div style="border-bottom: 1px solid #444; padding: 5px; min-height: 60px;"><img src="' + imageUrl + '" style="border none; height: 50px; width: 50px; float: left;padding-right: 10px"> ';
- html += '<span style="float: right">'+formattedTime+'</span>';
- html += '<strong>' + name + '</strong>';
- if (username && username != appUser.get('username')) {
- html += '(<a href="#page-now-following" id="'+created+'" name="'+username+'" data-role="button" data-rel="dialog" data-transition="fade">Follow</a>)';
- }
- html += '<br><span>' + content + '</span> <br>';
- html += '</div>';
- usersToBind[created] = username;
- }
- if (html == "") { html = "No messages yet!"; }
- $("#messages-list").html(html);
- for(user in usersToBind) {
- $('#'+user).bind('click', function(event) {
- username = event.target.name;
- followUser(username);
- });
- }
- //next show the next / previous buttons
- if (feed.hasPreviousPage()) {
- $("#previous-btn-container").show();
- } else {
- $("#previous-btn-container").hide();
- }
- if (feed.hasNextPage()) {
- $("#next-btn-container").show();
- } else {
- $("#next-btn-container").hide();
- }
-
- $(this).scrollTop(0);
- }
-
- /**
- * Method to create the following relationship between two users
- *
- * @method followUser
- * @param username - user to follow
- * @return none
- *
- */
- function followUser(username) {
- if (!isLoggedIn()) return;
-
- //reset paging so we make sure our results start at the beginning
- fullActivityFeed.resetPaging();
- userFeed.resetPaging();
-
- var options = {
- method:'POST',
- endpoint:'users/me/following/users/' + username
- };
- client.request(options, function (err, data) {
- if (err) {
- $('#now-following-text').html('Aw Shucks! There was a problem trying to follow <strong>' + username + '</strong>');
- } else {
- $('#now-following-text').html('Congratulations! You are now following <strong>' + username + '</strong>');
- showMyFeed();
- }
- });
- }
-
- /**
- * Method to handle the create message form submission. The
- * method gets the content from the form, then builds the options
- * object by using the data from the logged in user. The new activity
- * is then saved to the database using the createUserActivity method.
- *
- * Finally once the message has been saved, we refresh the user's feed
- * based in which "mode" they are viewing feeds in - user or full.
- *
- * @method postMessage
- * @return none
- */
- function postMessage() {
- if (!isLoggedIn()) return;
-
- var options =
- {"actor" : {
- "displayName" : appUser.get('username'),
- "uuid" : appUser.get('uuid'),
- "username" : appUser.get('username'),
- "image" : {
- "duration" : 0,
- "height" : 80,
- "url" : "http://www.gravatar.com/avatar/",
- "width" : 80
- },
- "email" : appUser.get('email'),
- "picture": "fred"
- },
- "verb" : "post",
- "content" : $("#content").val(),
- "lat" : 48.856614,
- "lon" : 2.352222};
-
- client.createUserActivity('me', options, function(err, activity) { //first argument can be 'me', a uuid, or a username
- if (err) {
- alert('could not post message');
- } else {
- if (fullFeedView) {
- //reset the feed object so when we view it again, we will get the latest feed
- fullActivityFeed.resetPaging();
- showFullFeed();
- } else {
- //reset the feed object so when we view it again, we will get the latest feed
- userFeed.resetPaging();
- showMyFeed();
- }
- window.location = "#page-messages-list";
- }
- });
- }
-
- /**
- * The following code is used to display the posted dates as "x minutes ago, etc"
- * instead of just a date.
- *
- * Thank you John Resig and long live JQuery!
- *
- * JavaScript Pretty Date
- * Copyright (c) 2011 John Resig (ejohn.org)
- * Licensed under the MIT and GPL licenses.
- */
-
- // Takes a numeric date value (in seconds) and returns a string
- // representing how long ago the date represents.
- function prettyDate(createdDateValue) {
- var diff = (((new Date()).getTime() - createdDateValue) / 1000)
- var day_diff = Math.floor(diff / 86400);
-
- if ( isNaN(day_diff) || day_diff < 0 || day_diff >= 31 )
- return 'just now';
-
- return fred = day_diff == 0 && (
- diff < 60 && "just now" ||
- diff < 120 && "1 minute ago" ||
- diff < 3600 && Math.floor( diff / 60 ) + " minutes ago" ||
- diff < 7200 && "1 hour ago" ||
- diff < 86400 && Math.floor( diff / 3600 ) + " hours ago") ||
- day_diff == 1 && "Yesterday" ||
- day_diff < 7 && day_diff + " days ago" ||
- day_diff < 31 && Math.ceil( day_diff / 7 ) + " weeks ago";
- }
-
- //MD5 function - used for parsing emails for Gravatar images
- var MD5=function(s){function L(k,d){return(k<<d)|(k>>>(32-d))}function K(G,k){var I,d,F,H,x;F=(G&2147483648);H=(k&2147483648);I=(G&1073741824);d=(k&1073741824);x=(G&1073741823)+(k&1073741823);if(I&d){return(x^2147483648^F^H)}if(I|d){if(x&1073741824){return(x^3221225472^F^H)}else{return(x^1073741824^F^H)}}else{return(x^F^H)}}function r(d,F,k){return(d&F)|((~d)&k)}function q(d,F,k){return(d&k)|(F&(~k))}function p(d,F,k){return(d^F^k)}function n(d,F,k){return(F^(d|(~k)))}function u(G,F,aa,Z,k,H,I){G=K(G,K(K(r(F,aa,Z),k),I));return K(L(G,H),F)}function f(G,F,aa,Z,k,H,I){G=K(G,K(K(q(F,aa,Z),k),I));return K(L(G,H),F)}function D(G,F,aa,Z,k,H,I){G=K(G,K(K(p(F,aa,Z),k),I));return K(L(G,H),F)}function t(G,F,aa,Z,k,H,I){G=K(G,K(K(n(F,aa,Z),k),I));return K(L(G,H),F)}function e(G){var Z;var F=G.length;var x=F+8;var k=(x-(x%64))/64;var I=(k+1)*16;var aa=Array(I-1);var d=0;var H=0;while(H<F){Z=(H-(H%4))/4;d=(H%4)*8;aa[Z]=(aa[Z]|(G.charCodeAt(H)<<d));H++}Z=(H-(H%4))/4;d=(H%4)*8;aa[Z]=aa[Z]|(128<<
d);aa[I-2]=F<<3;aa[I-1]=F>>>29;return aa}function B(x){var k="",F="",G,d;for(d=0;d<=3;d++){G=(x>>>(d*8))&255;F="0"+G.toString(16);k=k+F.substr(F.length-2,2)}return k}function J(k){k=k.replace(/rn/g,"n");var d="";for(var F=0;F<k.length;F++){var x=k.charCodeAt(F);if(x<128){d+=String.fromCharCode(x)}else{if((x>127)&&(x<2048)){d+=String.fromCharCode((x>>6)|192);d+=String.fromCharCode((x&63)|128)}else{d+=String.fromCharCode((x>>12)|224);d+=String.fromCharCode(((x>>6)&63)|128);d+=String.fromCharCode((x&63)|128)}}}return d}var C=Array();var P,h,E,v,g,Y,X,W,V;var S=7,Q=12,N=17,M=22;var A=5,z=9,y=14,w=20;var o=4,m=11,l=16,j=23;var U=6,T=10,R=15,O=21;s=J(s);C=e(s);Y=1732584193;X=4023233417;W=2562383102;V=271733878;for(P=0;P<C.length;P+=16){h=Y;E=X;v=W;g=V;Y=u(Y,X,W,V,C[P+0],S,3614090360);V=u(V,Y,X,W,C[P+1],Q,3905402710);W=u(W,V,Y,X,C[P+2],N,606105819);X=u(X,W,V,Y,C[P+3],M,3250441966);Y=u(Y,X,W,V,C[P+4],S,4118548399);V=u(V,Y,X,W,C[P+5],Q,1200080426);W=u(W,V,Y,X,C[P+6],N,2821735955);X=u(X,W,V,Y
,C[P+7],M,4249261313);Y=u(Y,X,W,V,C[P+8],S,1770035416);V=u(V,Y,X,W,C[P+9],Q,2336552879);W=u(W,V,Y,X,C[P+10],N,4294925233);X=u(X,W,V,Y,C[P+11],M,2304563134);Y=u(Y,X,W,V,C[P+12],S,1804603682);V=u(V,Y,X,W,C[P+13],Q,4254626195);W=u(W,V,Y,X,C[P+14],N,2792965006);X=u(X,W,V,Y,C[P+15],M,1236535329);Y=f(Y,X,W,V,C[P+1],A,4129170786);V=f(V,Y,X,W,C[P+6],z,3225465664);W=f(W,V,Y,X,C[P+11],y,643717713);X=f(X,W,V,Y,C[P+0],w,3921069994);Y=f(Y,X,W,V,C[P+5],A,3593408605);V=f(V,Y,X,W,C[P+10],z,38016083);W=f(W,V,Y,X,C[P+15],y,3634488961);X=f(X,W,V,Y,C[P+4],w,3889429448);Y=f(Y,X,W,V,C[P+9],A,568446438);V=f(V,Y,X,W,C[P+14],z,3275163606);W=f(W,V,Y,X,C[P+3],y,4107603335);X=f(X,W,V,Y,C[P+8],w,1163531501);Y=f(Y,X,W,V,C[P+13],A,2850285829);V=f(V,Y,X,W,C[P+2],z,4243563512);W=f(W,V,Y,X,C[P+7],y,1735328473);X=f(X,W,V,Y,C[P+12],w,2368359562);Y=D(Y,X,W,V,C[P+5],o,4294588738);V=D(V,Y,X,W,C[P+8],m,2272392833);W=D(W,V,Y,X,C[P+11],l,1839030562);X=D(X,W,V,Y,C[P+14],j,4259657740);Y=D(Y,X,W,V,C[P+1],o,2763975236);V=D(V,Y,
X,W,C[P+4],m,1272893353);W=D(W,V,Y,X,C[P+7],l,4139469664);X=D(X,W,V,Y,C[P+10],j,3200236656);Y=D(Y,X,W,V,C[P+13],o,681279174);V=D(V,Y,X,W,C[P+0],m,3936430074);W=D(W,V,Y,X,C[P+3],l,3572445317);X=D(X,W,V,Y,C[P+6],j,76029189);Y=D(Y,X,W,V,C[P+9],o,3654602809);V=D(V,Y,X,W,C[P+12],m,3873151461);W=D(W,V,Y,X,C[P+15],l,530742520);X=D(X,W,V,Y,C[P+2],j,3299628645);Y=t(Y,X,W,V,C[P+0],U,4096336452);V=t(V,Y,X,W,C[P+7],T,1126891415);W=t(W,V,Y,X,C[P+14],R,2878612391);X=t(X,W,V,Y,C[P+5],O,4237533241);Y=t(Y,X,W,V,C[P+12],U,1700485571);V=t(V,Y,X,W,C[P+3],T,2399980690);W=t(W,V,Y,X,C[P+10],R,4293915773);X=t(X,W,V,Y,C[P+1],O,2240044497);Y=t(Y,X,W,V,C[P+8],U,1873313359);V=t(V,Y,X,W,C[P+15],T,4264355552);W=t(W,V,Y,X,C[P+6],R,2734768916);X=t(X,W,V,Y,C[P+13],O,1309151649);Y=t(Y,X,W,V,C[P+4],U,4149444226);V=t(V,Y,X,W,C[P+11],T,3174756917);W=t(W,V,Y,X,C[P+2],R,718787259);X=t(X,W,V,Y,C[P+9],O,3951481745);Y=K(Y,h);X=K(X,E);W=K(W,v);V=K(V,g)}var i=B(Y)+B(X)+B(W)+B(V);return i.toLowerCase()};
-
-});
-
-//abudda abudda abudda that's all folks!
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/messagee/usergrid.validation.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/messagee/usergrid.validation.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/messagee/usergrid.validation.js
deleted file mode 100644
index 5830275..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/messagee/usergrid.validation.js
+++ /dev/null
@@ -1,249 +0,0 @@
-
-/**
- * validation is a Singleton that provides methods for validating common field types
- *
- * @class Usergrid.validation
- * @author Rod Simpson (rod@apigee.com)
-**/
-Usergrid.validation = (function () {
-
- var usernameRegex = new RegExp("^([0-9a-zA-Z\.\-])+$");
- var nameRegex = new RegExp("^([0-9a-zA-Z@#$%^&!?;:.,'\"~*-=+_\[\\](){}/\\ |])+$");
- var emailRegex = new RegExp("^(([0-9a-zA-Z]+[_\+.-]?)+@[0-9a-zA-Z]+[0-9,a-z,A-Z,.,-]*(.){1}[a-zA-Z]{2,4})+$");
- var passwordRegex = new RegExp("^([0-9a-zA-Z@#$%^&!?<>;:.,'\"~*-=+_\[\\](){}/\\ |])+$");
- var pathRegex = new RegExp("^([0-9a-z./-])+$");
- var titleRegex = new RegExp("^([0-9a-zA-Z.!-?/])+$");
-
- /**
- * Tests the string against the allowed chars regex
- *
- * @public
- * @method validateUsername
- * @param {string} username - The string to test
- * @param {function} failureCallback - (optional), the function to call on a failure
- * @return {boolean} Returns true if string passes regex, false if not
- */
- function validateUsername(username, failureCallback) {
- if (usernameRegex.test(username) && checkLength(username, 4, 80)) {
- return true;
- } else {
- if (failureCallback && typeof(failureCallback) === "function") {
- failureCallback(this.getUsernameAllowedChars());
- }
- return false;
- }
- }
-
- /**
- * Returns the regex of allowed chars
- *
- * @public
- * @method getUsernameAllowedChars
- * @return {string} Returns a string with the allowed chars
- */
- function getUsernameAllowedChars(){
- return 'Length: min 4, max 80. Allowed: A-Z, a-z, 0-9, dot, and dash';
- }
-
- /**
- * Tests the string against the allowed chars regex
- *
- * @public
- * @method validateName
- * @param {string} name - The string to test
- * @param {function} failureCallback - (optional), the function to call on a failure
- * @return {boolean} Returns true if string passes regex, false if not
- */
- function validateName(name, failureCallback) {
- if (nameRegex.test(name) && checkLength(name, 4, 80)) {
- return true;
- } else {
- if (failureCallback && typeof(failureCallback) === "function") {
- failureCallback(this.getNameAllowedChars());
- }
- return false;
- }
- }
-
- /**
- * Returns the regex of allowed chars
- *
- * @public
- * @method getNameAllowedChars
- * @return {string} Returns a string with the allowed chars
- */
- function getNameAllowedChars(){
- return 'Length: min 4, max 80. Allowed: A-Z, a-z, 0-9, ~ @ # % ^ & * ( ) - _ = + [ ] { } \\ | ; : \' " , . / ? !';
- }
-
- /**
- * Tests the string against the allowed chars regex
- *
- * @public
- * @method validatePassword
- * @param {string} password - The string to test
- * @param {function} failureCallback - (optional), the function to call on a failure
- * @return {boolean} Returns true if string passes regex, false if not
- */
- function validatePassword(password, failureCallback) {
- if (passwordRegex.test(password) && checkLength(password, 5, 16)) {
- return true;
- } else {
- if (failureCallback && typeof(failureCallback) === "function") {
- failureCallback(this.getPasswordAllowedChars());
- }
- return false;
- }
- }
-
- /**
- * Returns the regex of allowed chars
- *
- * @public
- * @method getPasswordAllowedChars
- * @return {string} Returns a string with the allowed chars
- */
- function getPasswordAllowedChars(){
- return 'Length: min 5, max 16. Allowed: A-Z, a-z, 0-9, ~ @ # % ^ & * ( ) - _ = + [ ] { } \\ | ; : \' " , . < > / ? !';
- }
-
- /**
- * Tests the string against the allowed chars regex
- *
- * @public
- * @method validateEmail
- * @param {string} email - The string to test
- * @param {function} failureCallback - (optional), the function to call on a failure
- * @return {boolean} Returns true if string passes regex, false if not
- */
- function validateEmail(email, failureCallback) {
- if (emailRegex.test(email) && checkLength(email, 4, 80)) {
- return true;
- } else {
- if (failureCallback && typeof(failureCallback) === "function") {
- failureCallback(this.getEmailAllowedChars());
- }
- return false;
- }
- }
-
- /**
- * Returns the regex of allowed chars
- *
- * @public
- * @method getEmailAllowedChars
- * @return {string} Returns a string with the allowed chars
- */
- function getEmailAllowedChars(){
- return 'Email must be in standard form: e.g. example@Usergrid.com';
- }
-
- /**
- * Tests the string against the allowed chars regex
- *
- * @public
- * @method validatePath
- * @param {string} path - The string to test
- * @param {function} failureCallback - (optional), the function to call on a failure
- * @return {boolean} Returns true if string passes regex, false if not
- */
- function validatePath(path, failureCallback) {
- if (pathRegex.test(path) && checkLength(path, 4, 80)) {
- return true;
- } else {
- if (failureCallback && typeof(failureCallback) === "function") {
- failureCallback(this.getPathAllowedChars());
- }
- return false;
- }
- }
-
- /**
- * Returns the regex of allowed chars
- *
- * @public
- * @method getPathAllowedChars
- * @return {string} Returns a string with the allowed chars
- */
- function getPathAllowedChars(){
- return 'Length: min 4, max 80. Allowed: /, a-z, 0-9, dot, and dash';
- }
-
- /**
- * Tests the string against the allowed chars regex
- *
- * @public
- * @method validateTitle
- * @param {string} title - The string to test
- * @param {function} failureCallback - (optional), the function to call on a failure
- * @return {boolean} Returns true if string passes regex, false if not
- */
- function validateTitle(title, failureCallback) {
- if (titleRegex.test(title) && checkLength(title, 4, 80)) {
- return true;
- } else {
- if (failureCallback && typeof(failureCallback) === "function") {
- failureCallback(this.getTitleAllowedChars());
- }
- return false;
- }
- }
-
- /**
- * Returns the regex of allowed chars
- *
- * @public
- * @method getTitleAllowedChars
- * @return {string} Returns a string with the allowed chars
- */
- function getTitleAllowedChars(){
- return 'Length: min 4, max 80. Allowed: space, A-Z, a-z, 0-9, dot, dash, /, !, and ?';
- }
-
- /**
- * Tests if the string is the correct length
- *
- * @public
- * @method checkLength
- * @param {string} string - The string to test
- * @param {integer} min - the lower bound
- * @param {integer} max - the upper bound
- * @return {boolean} Returns true if string is correct length, false if not
- */
- function checkLength(string, min, max) {
- if (string.length > max || string.length < min) {
- return false;
- }
- return true;
- }
-
- /**
- * Tests if the string is a uuid
- *
- * @public
- * @method isUUID
- * @param {string} uuid The string to test
- * @returns {Boolean} true if string is uuid
- */
- function isUUID (uuid) {
- var uuidValueRegex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;
- if (!uuid) return false;
- return uuidValueRegex.test(uuid);
- }
-
- return {
- validateUsername:validateUsername,
- getUsernameAllowedChars:getUsernameAllowedChars,
- validateName:validateName,
- getNameAllowedChars:getNameAllowedChars,
- validatePassword:validatePassword,
- getPasswordAllowedChars:getPasswordAllowedChars,
- validateEmail:validateEmail,
- getEmailAllowedChars:getEmailAllowedChars,
- validatePath:validatePath,
- getPathAllowedChars:getPathAllowedChars,
- validateTitle:validateTitle,
- getTitleAllowedChars:getTitleAllowedChars,
- isUUID:isUUID
- }
-})();
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/AndroidManifest.xml
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/AndroidManifest.xml b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/AndroidManifest.xml
deleted file mode 100644
index a67c150..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/AndroidManifest.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:windowSoftInputMode="adjustPan"
- package="me.mdob.android" android:versionName="1.0" android:versionCode="1" android:hardwareAccelerated="true">
- <supports-screens
- android:largeScreens="true"
- android:normalScreens="true"
- android:smallScreens="true"
- android:xlargeScreens="true"
- android:resizeable="true"
- android:anyDensity="true"
- />
-
- <uses-permission android:name="android.permission.CAMERA" />
- <uses-permission android:name="android.permission.VIBRATE" />
- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
- <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
- <uses-permission android:name="android.permission.INTERNET" />
- <uses-permission android:name="android.permission.RECEIVE_SMS" />
- <uses-permission android:name="android.permission.RECORD_AUDIO" />
- <uses-permission android:name="android.permission.RECORD_VIDEO"/>
- <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
- <uses-permission android:name="android.permission.READ_CONTACTS" />
- <uses-permission android:name="android.permission.WRITE_CONTACTS" />
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- <uses-permission android:name="android.permission.GET_ACCOUNTS" />
- <uses-permission android:name="android.permission.BROADCAST_STICKY" />
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- <uses-permission android:name="android.permission.GET_ACCOUNTS" />
- <uses-permission android:name="android.permission.WAKE_LOCK" />
- <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
- <uses-permission android:name="android.permission.GET_TASKS" />
- <permission android:name="me.mdob.android.permission.C2D_MESSAGE" android:protectionLevel="signature" />
- <uses-permission android:name="me.mdob.android.permission.C2D_MESSAGE" />
-
-
- <application android:icon="@drawable/icon" android:label="@string/app_name"
- android:hardwareAccelerated="true"
- android:debuggable="true">
- <activity android:name="androidpush" android:label="@string/app_name"
- android:theme="@android:style/Theme.Black.NoTitleBar"
- android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale">
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
- <activity android:name="com.plugin.gcm.PushHandlerActivity"/>
- <receiver android:name="com.plugin.gcm.CordovaGCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND" >
- <intent-filter>
- <action android:name="com.google.android.c2dm.intent.RECEIVE" />
- <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
- <category android:name="me.mdob.android" />
- </intent-filter>
- </receiver>
- <service android:name="com.plugin.gcm.GCMIntentService" />
- </application>
-
- <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="17"/>
-</manifest>
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/ant.properties
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/ant.properties b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/ant.properties
deleted file mode 100644
index b0971e8..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/ant.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-# This file is used to override default values used by the Ant build system.
-#
-# This file must be checked into Version Control Systems, as it is
-# integral to the build system of your project.
-
-# This file is only used by the Ant script.
-
-# You can use this to override default values such as
-# 'source.dir' for the location of your java source folder and
-# 'out.dir' for the location of your output folder.
-
-# You can also use it define how the release builds are signed by declaring
-# the following properties:
-# 'key.store' for the location of your keystore and
-# 'key.alias' for the name of the key to use.
-# The password will be asked during the build when you use the 'release' target.
-
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/assets/www/PushNotification.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/assets/www/PushNotification.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/assets/www/PushNotification.js
deleted file mode 100644
index a080e99..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/apigee-sdk/samples/push/android/assets/www/PushNotification.js
+++ /dev/null
@@ -1,65 +0,0 @@
-
-var PushNotification = function() {
-};
-
-
-// Call this to register for push notifications. Content of [options] depends on whether we are working with APNS (iOS) or GCM (Android)
-PushNotification.prototype.register = function(successCallback, errorCallback, options) {
- if (errorCallback == null) { errorCallback = function() {}}
-
- if (typeof errorCallback != "function") {
- console.log("PushNotification.register failure: failure parameter not a function");
- return
- }
-
- if (typeof successCallback != "function") {
- console.log("PushNotification.register failure: success callback parameter must be a function");
- return
- }
-
- cordova.exec(successCallback, errorCallback, "PushPlugin", "register", [options]);
-};
-
-// Call this to unregister for push notifications
-PushNotification.prototype.unregister = function(successCallback, errorCallback) {
- if (errorCallback == null) { errorCallback = function() {}}
-
- if (typeof errorCallback != "function") {
- console.log("PushNotification.unregister failure: failure parameter not a function");
- return
- }
-
- if (typeof successCallback != "function") {
- console.log("PushNotification.unregister failure: success callback parameter must be a function");
- return
- }
-
- cordova.exec(successCallback, errorCallback, "PushPlugin", "unregister", []);
-};
-
-
-// Call this to set the application icon badge
-PushNotification.prototype.setApplicationIconBadgeNumber = function(successCallback, errorCallback, badge) {
- if (errorCallback == null) { errorCallback = function() {}}
-
- if (typeof errorCallback != "function") {
- console.log("PushNotification.setApplicationIconBadgeNumber failure: failure parameter not a function");
- return
- }
-
- if (typeof successCallback != "function") {
- console.log("PushNotification.setApplicationIconBadgeNumber failure: success callback parameter must be a function");
- return
- }
-
- cordova.exec(successCallback, successCallback, "PushPlugin", "setApplicationIconBadgeNumber", [{badge: badge}]);
-};
-
-//-------------------------------------------------------------------
-
-if(!window.plugins) {
- window.plugins = {};
-}
-if (!window.plugins.pushNotification) {
- window.plugins.pushNotification = new PushNotification();
-}