Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'hotfix/linkedinconnections'

  • Loading branch information...
commit 6a6d3314a56241d8ff5d478da873d9d3f340380e 2 parents caf4a06 + 0c749f1
@jrburke jrburke authored
Showing with 151 additions and 52 deletions.
  1. +2 −2 production.ini
  2. +1 −1  setup.py
  3. +2 −2 staging.ini
  4. +5 −5 web/{0.3.6 → 0.3.7}/auth.html
  5. 0  web/{0.3.6 → 0.3.7}/blank.html
  6. 0  web/{0.3.6 → 0.3.7}/build.js
  7. 0  web/{0.3.6 → 0.3.7}/favicon.ico
  8. 0  web/{0.3.6/service → 0.3.7}/favicon.png
  9. 0  web/{0.3.6/share → 0.3.7}/i/LinkedIn_Logo16px.png
  10. 0  web/{0.3.6 → 0.3.7}/i/check.png
  11. 0  web/{0.3.6 → 0.3.7}/i/cornerBottomLeft.png
  12. 0  web/{0.3.6 → 0.3.7}/i/cornerBottomRight.png
  13. 0  web/{0.3.6 → 0.3.7}/i/cornerTopLeft.png
  14. 0  web/{0.3.6 → 0.3.7}/i/cornerTopRight.png
  15. 0  web/{0.3.6 → 0.3.7}/i/f1Icon.png
  16. 0  web/{0.3.6/settings → 0.3.7}/i/f1Logo.png
  17. 0  web/{0.3.6 → 0.3.7}/i/f1LogoVert.png
  18. 0  web/{0.3.6 → 0.3.7}/i/facebookIcon.png
  19. 0  web/{0.3.6 → 0.3.7}/i/fancybox/blank.gif
  20. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_close.png
  21. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_loading.png
  22. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_nav_left.png
  23. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_nav_right.png
  24. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_shadow_e.png
  25. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_shadow_n.png
  26. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_shadow_ne.png
  27. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_shadow_nw.png
  28. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_shadow_s.png
  29. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_shadow_se.png
  30. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_shadow_sw.png
  31. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_shadow_w.png
  32. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_title_left.png
  33. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_title_main.png
  34. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_title_over.png
  35. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancy_title_right.png
  36. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancybox-x.png
  37. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancybox-y.png
  38. 0  web/{0.3.6 → 0.3.7}/i/fancybox/fancybox.png
  39. 0  web/{0.3.6 → 0.3.7}/i/gmailIcon.png
  40. 0  web/{0.3.6 → 0.3.7}/i/loader-w.gif
  41. 0  web/{0.3.6 → 0.3.7}/i/panel/f1accounts.png
  42. 0  web/{0.3.6 → 0.3.7}/i/panel/f1panel.png
  43. 0  web/{0.3.6 → 0.3.7}/i/panel/step-01.png
  44. 0  web/{0.3.6 → 0.3.7}/i/panel/step-02.png
  45. 0  web/{0.3.6 → 0.3.7}/i/panel/step-022.png
  46. 0  web/{0.3.6 → 0.3.7}/i/panel/step-03.png
  47. 0  web/{0.3.6 → 0.3.7}/i/screenshot_01.png
  48. 0  web/{0.3.6 → 0.3.7}/i/shareIcon.png
  49. 0  web/{0.3.6/settings → 0.3.7}/i/sprite.png
  50. 0  web/{0.3.6 → 0.3.7}/i/step-01.png
  51. 0  web/{0.3.6 → 0.3.7}/i/step-02.png
  52. 0  web/{0.3.6 → 0.3.7}/i/step-03.png
  53. 0  web/{0.3.6 → 0.3.7}/i/toolbar-button.png
  54. 0  web/{0.3.6 → 0.3.7}/i/twitterIcon.png
  55. +8 −8 web/{0.3.6 → 0.3.7}/index.html
  56. 0  web/{0.3.6 → 0.3.7}/index.js
  57. 0  web/{0.3.6 → 0.3.7}/jquery.fancybox-1.3.4.css
  58. 0  web/{0.3.6 → 0.3.7}/play/ac.html
  59. 0  web/{0.3.6 → 0.3.7}/play/designs/i/background.gif
  60. 0  web/{0.3.6 → 0.3.7}/play/designs/i/bryanAvatar.jpg
  61. 0  web/{0.3.6 → 0.3.7}/play/designs/i/linkdropiconfaded.png
  62. 0  web/{0.3.6 → 0.3.7}/play/designs/i/settings.png
  63. 0  web/{0.3.6 → 0.3.7}/play/designs/nativeShare.css
  64. 0  web/{0.3.6 → 0.3.7}/play/designs/nativeShare.html
  65. 0  web/{0.3.6 → 0.3.7}/play/designs/neutralShare.css
  66. 0  web/{0.3.6 → 0.3.7}/play/designs/neutralShare.html
  67. 0  web/{0.3.6 → 0.3.7}/play/designs/share.css
  68. 0  web/{0.3.6 → 0.3.7}/play/designs/share.html
  69. 0  web/{0.3.6/share/panel → 0.3.7/play/designs/sidebar}/i/sprite.png
  70. 0  web/{0.3.6/share/panel → 0.3.7/play/designs/sidebar}/i/thumb.jpg
  71. 0  web/{0.3.6 → 0.3.7}/play/designs/sidebar/index.html
  72. 0  web/{0.3.6 → 0.3.7}/play/designs/sidebar/js/init.js
  73. 0  web/{0.3.6/share/panel → 0.3.7/play/designs/sidebar}/js/jquery.textOverflow.js
  74. 0  web/{0.3.6 → 0.3.7}/play/designs/sidebar/style.css
  75. 0  web/{0.3.6 → 0.3.7}/play/scratch/send/index.html
  76. 0  web/{0.3.6 → 0.3.7}/rdapi/f/StayPuft/COPYING.LIB
  77. 0  web/{0.3.6 → 0.3.7}/rdapi/f/StayPuft/README.txt
  78. 0  web/{0.3.6 → 0.3.7}/rdapi/f/StayPuft/StayPuft.ttf
  79. 0  web/{0.3.6 → 0.3.7}/rdapi/i/2709984325_f5554afd53_o2.jpeg
  80. 0  web/{0.3.6 → 0.3.7}/rdapi/index.css
  81. +3 −3 web/{0.3.6 → 0.3.7}/rdapi/index.html
  82. 0  web/{0.3.6 → 0.3.7}/rdapi/scripts/index.js
  83. 0  web/{0.3.6 → 0.3.7}/robots.txt
  84. 0  web/{0.3.6 → 0.3.7}/scripts/AutoComplete.js
  85. 0  web/{0.3.6 → 0.3.7}/scripts/AutoCompleteRefresh.html
  86. 0  web/{0.3.6 → 0.3.7}/scripts/Contacts.js
  87. 0  web/{0.3.6 → 0.3.7}/scripts/ContactsEmail.js
  88. +47 −0 web/0.3.7/scripts/ContactsLinkedIn.js
  89. 0  web/{0.3.6 → 0.3.7}/scripts/ContactsTwitter.js
  90. 0  web/{0.3.6 → 0.3.7}/scripts/Select.css
  91. 0  web/{0.3.6 → 0.3.7}/scripts/Select.html
  92. 0  web/{0.3.6 → 0.3.7}/scripts/Select.js
  93. 0  web/{0.3.6 → 0.3.7}/scripts/TextCounter.js
  94. 0  web/{0.3.6 → 0.3.7}/scripts/accounts.js
  95. 0  web/{0.3.6 → 0.3.7}/scripts/blade/Widget.js
  96. 0  web/{0.3.6 → 0.3.7}/scripts/blade/array.js
  97. 0  web/{0.3.6 → 0.3.7}/scripts/blade/defer.js
  98. 0  web/{0.3.6 → 0.3.7}/scripts/blade/dispatch.js
  99. 0  web/{0.3.6 → 0.3.7}/scripts/blade/fn.js
  100. 0  web/{0.3.6 → 0.3.7}/scripts/blade/jig.js
  101. 0  web/{0.3.6 → 0.3.7}/scripts/blade/object.js
  102. 0  web/{0.3.6 → 0.3.7}/scripts/blade/url.js
  103. 0  web/{0.3.6 → 0.3.7}/scripts/cards.js
  104. 0  web/{0.3.6 → 0.3.7}/scripts/dispatch.js
  105. 0  web/{0.3.6 → 0.3.7}/scripts/dotCompare.js
  106. 0  web/{0.3.6 → 0.3.7}/scripts/fancyzoom.js
  107. 0  web/{0.3.6 → 0.3.7}/scripts/friendly.js
  108. 0  web/{0.3.6 → 0.3.7}/scripts/hashDispatch.js
  109. 0  web/{0.3.6 → 0.3.7}/scripts/iscroll-min.js
  110. 0  web/{0.3.6 → 0.3.7}/scripts/isoDate.js
  111. 0  web/{0.3.6 → 0.3.7}/scripts/jquery-ui-1.8.6.custom.min.js
  112. 0  web/{0.3.6 → 0.3.7}/scripts/jquery-ui-1.8.7.min.js
  113. 0  web/{0.3.6 → 0.3.7}/scripts/jquery.colorFade.js
  114. 0  web/{0.3.6 → 0.3.7}/scripts/jquery.cookie.js
  115. 0  web/{0.3.6 → 0.3.7}/scripts/jquery.easing.1.3.js
  116. 0  web/{0.3.6 → 0.3.7}/scripts/jquery.fancybox-1.3.4.js
  117. 0  web/{0.3.6 → 0.3.7}/scripts/jquery.masonry.js
  118. 0  web/{0.3.6 → 0.3.7}/scripts/jquery.textOverflow.js
  119. 0  web/{0.3.6 → 0.3.7}/scripts/jquery.tmpl.js
  120. 0  web/{0.3.6 → 0.3.7}/scripts/jquery.vgrid.0.1.5.js
  121. 0  web/{0.3.6 → 0.3.7}/scripts/jqueryStub.js
  122. 0  web/{0.3.6 → 0.3.7}/scripts/json2.js
  123. 0  web/{0.3.6 → 0.3.7}/scripts/md5.js
  124. +1 −1  web/{0.3.6 → 0.3.7}/scripts/oauth.js
  125. 0  web/{0.3.6 → 0.3.7}/scripts/placeholder.js
  126. 0  web/{0.3.6 → 0.3.7}/scripts/protovis/protovis-r3.2.js
  127. 0  web/{0.3.6 → 0.3.7}/scripts/rdapi.js
  128. 0  web/{0.3.6 → 0.3.7}/scripts/requireplugins-jquery.js
  129. 0  web/{0.3.6 → 0.3.7}/scripts/rssFeed.js
  130. +2 −1  web/{0.3.6 → 0.3.7}/scripts/services.js
  131. 0  web/{0.3.6 → 0.3.7}/scripts/shareOptions.js
  132. 0  web/{0.3.6 → 0.3.7}/scripts/storage.js
  133. 0  web/{0.3.6 → 0.3.7}/scripts/templates/cardsHeader.html
  134. 0  web/{0.3.6 → 0.3.7}/scripts/webtrends.js
  135. 0  web/{0.3.6 → 0.3.7}/service/down.html
  136. 0  web/{0.3.6 → 0.3.7/service}/favicon.png
  137. 0  web/{0.3.6 → 0.3.7}/service/i/f1Logo.png
  138. 0  web/{0.3.6 → 0.3.7}/service/privacy.html
  139. 0  web/{0.3.6 → 0.3.7}/service/style.css
  140. 0  web/{0.3.6 → 0.3.7}/settings/build.js
  141. 0  web/{0.3.6 → 0.3.7}/settings/i/LinkedIn_Logo16px.png
  142. 0  web/{0.3.6 → 0.3.7/settings}/i/f1Logo.png
  143. 0  web/{0.3.6 → 0.3.7/settings}/i/sprite.png
  144. 0  web/{0.3.6 → 0.3.7}/settings/i/thumb.jpg
  145. +3 −3 web/{0.3.6 → 0.3.7}/settings/index.html
  146. +2 −2 web/{0.3.6 → 0.3.7}/settings/index.js
  147. 0  web/{0.3.6 → 0.3.7}/settings/style.css
  148. 0  web/{0.3.6 → 0.3.7}/share/build.js
  149. 0  web/{0.3.6 → 0.3.7/share}/i/LinkedIn_Logo16px.png
  150. 0  web/{0.3.6 → 0.3.7}/share/i/bug_b.png
  151. 0  web/{0.3.6 → 0.3.7}/share/i/bug_w.png
  152. 0  web/{0.3.6 → 0.3.7}/share/i/f1-icon-grey.png
  153. 0  web/{0.3.6 → 0.3.7}/share/i/face2.png
  154. 0  web/{0.3.6 → 0.3.7}/share/i/loader.gif
  155. 0  web/{0.3.6 → 0.3.7}/share/i/sprite.png
  156. +7 −7 web/{0.3.6 → 0.3.7}/share/index.html
  157. +2 −2 web/{0.3.6 → 0.3.7}/share/index.js
  158. +2 −1  web/{0.3.6 → 0.3.7}/share/panel/build.js
  159. 0  web/{0.3.6/play/designs/sidebar → 0.3.7/share/panel}/i/sprite.png
  160. 0  web/{0.3.6/play/designs/sidebar → 0.3.7/share/panel}/i/thumb.jpg
  161. +6 −6 web/{0.3.6 → 0.3.7}/share/panel/index.html
  162. +4 −3 web/{0.3.6 → 0.3.7}/share/panel/index.js
  163. 0  web/{0.3.6/play/designs/sidebar → 0.3.7/share/panel}/js/jquery.textOverflow.js
  164. 0  web/{0.3.6 → 0.3.7}/share/panel/scripts/widgets/AccountPanel.html
  165. 0  web/{0.3.6 → 0.3.7}/share/panel/scripts/widgets/AccountPanel.js
  166. 0  web/{0.3.6 → 0.3.7}/share/panel/scripts/widgets/AccountPanelFaceBook.js
  167. 0  web/{0.3.6 → 0.3.7}/share/panel/scripts/widgets/AccountPanelLinkedIn.js
  168. 0  web/{0.3.6 → 0.3.7}/share/panel/scripts/widgets/DebugPanel.html
  169. 0  web/{0.3.6 → 0.3.7}/share/panel/scripts/widgets/DebugPanel.js
  170. 0  web/{0.3.6 → 0.3.7}/share/panel/scripts/widgets/PageInfo.html
  171. 0  web/{0.3.6 → 0.3.7}/share/panel/scripts/widgets/PageInfo.js
  172. 0  web/{0.3.6 → 0.3.7}/share/panel/scripts/widgets/jigFuncs.js
  173. 0  web/{0.3.6 → 0.3.7}/share/panel/style.css
  174. 0  web/{0.3.6 → 0.3.7}/share/share.css
  175. 0  web/{0.3.6 → 0.3.7}/share/testframe.html
  176. +3 −3 web/{0.3.6 → 0.3.7}/stats/index.html
  177. 0  web/{0.3.6 → 0.3.7}/stats/index.js
  178. 0  web/{0.3.6 → 0.3.7}/style.css
  179. +47 −0 web/dev/scripts/ContactsLinkedIn.js
  180. +2 −1  web/dev/scripts/services.js
  181. +2 −1  web/dev/share/panel/build.js
View
4 production.ini
@@ -11,8 +11,8 @@ import = %(here)s/private.ini
smtp_server = localhost
error_email_from = paste@localhost
-oauth_failure = /0.3.6/auth.html#oauth_failure
-oauth_success = /0.3.6/auth.html#oauth_success
+oauth_failure = /0.3.7/auth.html#oauth_failure
+oauth_success = /0.3.7/auth.html#oauth_success
# Register with twitter at http://dev.twitter.com/apps/new
oauth.twitter.com.request = https://twitter.com/oauth/request_token
View
2  setup.py
@@ -28,7 +28,7 @@
use_setuptools()
from setuptools import setup, find_packages
-VERSION='0.3.6'
+VERSION='0.3.7'
setup(
name='linkdrop',
View
4 staging.ini
@@ -11,8 +11,8 @@ import = %(here)s/private.ini
smtp_server = localhost
error_email_from = paste@localhost
-oauth_failure = /0.3.6/auth.html#oauth_failure
-oauth_success = /0.3.6/auth.html#oauth_success
+oauth_failure = /0.3.7/auth.html#oauth_failure
+oauth_success = /0.3.7/auth.html#oauth_success
# Register with twitter at http://dev.twitter.com/apps/new
oauth.twitter.com.request = https://twitter.com/oauth/request_token
View
10 web/0.3.6/auth.html → web/0.3.7/auth.html
@@ -27,7 +27,7 @@
<title>Firefox Share OAuthorization</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <script src="/0.3.6/scripts/requireplugins-jquery.js" charset="utf-8"></script>
+ <script src="/0.3.7/scripts/requireplugins-jquery.js" charset="utf-8"></script>
<style>
html, body {
background-color: #fff;
@@ -65,7 +65,7 @@
margin-left: -150px;
margin-top: -95px;
width: 300px;
- background-image: url("/0.3.6/i/f1Logo.png");
+ background-image: url("/0.3.7/i/f1Logo.png");
background-position: center top;
background-repeat: no-repeat;
padding: 100px 0 0 0;
@@ -131,7 +131,7 @@
}
input.google {
- background-image: url("/0.3.6/i/sprite.png");
+ background-image: url("/0.3.7/i/sprite.png");
background-position: 5px -159px;
background-repeat: no-repeat;
padding: 0 0 0 26px;
@@ -307,8 +307,8 @@
<span class="text">Enter your Google Apps domain</span>
<div class="controls hbox">
<input class="boxFlex google" name="openid_identifier" id="openid_identifier" value="">
- <input class="boxFlex google" type="hidden" name="end_point_success" value="/0.3.6/auth.html#oauth_success">
- <input class="boxFlex google" type="hidden" name="end_point_auth_failure" value="/0.3.6/auth.html#oauth_failure">
+ <input class="boxFlex google" type="hidden" name="end_point_success" value="/0.3.7/auth.html#oauth_success">
+ <input class="boxFlex google" type="hidden" name="end_point_auth_failure" value="/0.3.7/auth.html#oauth_failure">
<button id='submitbtn' type="submit">submit</button>
</div>
<span class="subtext">ex: yourappdomain.com</span>
View
0  web/0.3.6/blank.html → web/0.3.7/blank.html
File renamed without changes
View
0  web/0.3.6/build.js → web/0.3.7/build.js
File renamed without changes
View
0  web/0.3.6/favicon.ico → web/0.3.7/favicon.ico
File renamed without changes
View
0  web/0.3.6/service/favicon.png → web/0.3.7/favicon.png
File renamed without changes
View
0  web/0.3.6/share/i/LinkedIn_Logo16px.png → web/0.3.7/i/LinkedIn_Logo16px.png
File renamed without changes
View
0  web/0.3.6/i/check.png → web/0.3.7/i/check.png
File renamed without changes
View
0  web/0.3.6/i/cornerBottomLeft.png → web/0.3.7/i/cornerBottomLeft.png
File renamed without changes
View
0  web/0.3.6/i/cornerBottomRight.png → web/0.3.7/i/cornerBottomRight.png
File renamed without changes
View
0  web/0.3.6/i/cornerTopLeft.png → web/0.3.7/i/cornerTopLeft.png
File renamed without changes
View
0  web/0.3.6/i/cornerTopRight.png → web/0.3.7/i/cornerTopRight.png
File renamed without changes
View
0  web/0.3.6/i/f1Icon.png → web/0.3.7/i/f1Icon.png
File renamed without changes
View
0  web/0.3.6/settings/i/f1Logo.png → web/0.3.7/i/f1Logo.png
File renamed without changes
View
0  web/0.3.6/i/f1LogoVert.png → web/0.3.7/i/f1LogoVert.png
File renamed without changes
View
0  web/0.3.6/i/facebookIcon.png → web/0.3.7/i/facebookIcon.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/blank.gif → web/0.3.7/i/fancybox/blank.gif
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_close.png → web/0.3.7/i/fancybox/fancy_close.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_loading.png → web/0.3.7/i/fancybox/fancy_loading.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_nav_left.png → web/0.3.7/i/fancybox/fancy_nav_left.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_nav_right.png → web/0.3.7/i/fancybox/fancy_nav_right.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_shadow_e.png → web/0.3.7/i/fancybox/fancy_shadow_e.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_shadow_n.png → web/0.3.7/i/fancybox/fancy_shadow_n.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_shadow_ne.png → web/0.3.7/i/fancybox/fancy_shadow_ne.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_shadow_nw.png → web/0.3.7/i/fancybox/fancy_shadow_nw.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_shadow_s.png → web/0.3.7/i/fancybox/fancy_shadow_s.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_shadow_se.png → web/0.3.7/i/fancybox/fancy_shadow_se.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_shadow_sw.png → web/0.3.7/i/fancybox/fancy_shadow_sw.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_shadow_w.png → web/0.3.7/i/fancybox/fancy_shadow_w.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_title_left.png → web/0.3.7/i/fancybox/fancy_title_left.png
File renamed without changes
View
0  web/0.3.6/i/fancybox/fancy_title_main.png → web/0.3.7/i/fancybox/fancy_title_main.png
Diff not rendered
View
0  web/0.3.6/i/fancybox/fancy_title_over.png → web/0.3.7/i/fancybox/fancy_title_over.png
Diff not rendered
View
0  web/0.3.6/i/fancybox/fancy_title_right.png → web/0.3.7/i/fancybox/fancy_title_right.png
Diff not rendered
View
0  web/0.3.6/i/fancybox/fancybox-x.png → web/0.3.7/i/fancybox/fancybox-x.png
Diff not rendered
View
0  web/0.3.6/i/fancybox/fancybox-y.png → web/0.3.7/i/fancybox/fancybox-y.png
Diff not rendered
View
0  web/0.3.6/i/fancybox/fancybox.png → web/0.3.7/i/fancybox/fancybox.png
Diff not rendered
View
0  web/0.3.6/i/gmailIcon.png → web/0.3.7/i/gmailIcon.png
Diff not rendered
View
0  web/0.3.6/i/loader-w.gif → web/0.3.7/i/loader-w.gif
Diff not rendered
View
0  web/0.3.6/i/panel/f1accounts.png → web/0.3.7/i/panel/f1accounts.png
Diff not rendered
View
0  web/0.3.6/i/panel/f1panel.png → web/0.3.7/i/panel/f1panel.png
Diff not rendered
View
0  web/0.3.6/i/panel/step-01.png → web/0.3.7/i/panel/step-01.png
Diff not rendered
View
0  web/0.3.6/i/panel/step-02.png → web/0.3.7/i/panel/step-02.png
Diff not rendered
View
0  web/0.3.6/i/panel/step-022.png → web/0.3.7/i/panel/step-022.png
Diff not rendered
View
0  web/0.3.6/i/panel/step-03.png → web/0.3.7/i/panel/step-03.png
Diff not rendered
View
0  web/0.3.6/i/screenshot_01.png → web/0.3.7/i/screenshot_01.png
Diff not rendered
View
0  web/0.3.6/i/shareIcon.png → web/0.3.7/i/shareIcon.png
Diff not rendered
View
0  web/0.3.6/settings/i/sprite.png → web/0.3.7/i/sprite.png
Diff not rendered
View
0  web/0.3.6/i/step-01.png → web/0.3.7/i/step-01.png
Diff not rendered
View
0  web/0.3.6/i/step-02.png → web/0.3.7/i/step-02.png
Diff not rendered
View
0  web/0.3.6/i/step-03.png → web/0.3.7/i/step-03.png
Diff not rendered
View
0  web/0.3.6/i/toolbar-button.png → web/0.3.7/i/toolbar-button.png
Diff not rendered
View
0  web/0.3.6/i/twitterIcon.png → web/0.3.7/i/twitterIcon.png
Diff not rendered
View
16 web/0.3.6/index.html → web/0.3.7/index.html
@@ -24,13 +24,13 @@
<html xmlns:og="http://opengraphprotocol.org/schema/"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
- <link rel="stylesheet" type="text/css" href="/0.3.6/style.css">
- <link rel="stylesheet" type="text/css" href="/0.3.6/jquery.fancybox-1.3.4.css">
+ <link rel="stylesheet" type="text/css" href="/0.3.7/style.css">
+ <link rel="stylesheet" type="text/css" href="/0.3.7/jquery.fancybox-1.3.4.css">
<link rel="stylesheet" type="text/css" href="resource://ffshare/chrome/skin/web/installed.css">
<title>Mozilla F1</title>
- <script type="text/javascript" data-main="/0.3.6/index.js" src="/0.3.6/scripts/requireplugins-jquery.js"></script>
- <link rel="icon" type="image/x-icon" href="/0.3.6/favicon.png" />
+ <script type="text/javascript" data-main="/0.3.7/index.js" src="/0.3.7/scripts/requireplugins-jquery.js"></script>
+ <link rel="icon" type="image/x-icon" href="/0.3.7/favicon.png" />
<!-- https://github.com/mozilla/f1/wiki/Page-Meta-Properties -->
@@ -76,7 +76,7 @@
</button>
<a id="no36" href="#info36">*Firefox 3.6 is no longer supported</a>
<div id="noButtonFF4">
- <img src="/0.3.6/i/check.png"> status: installed
+ <img src="/0.3.7/i/check.png"> status: installed
</div>
</div>
</div>
@@ -131,19 +131,19 @@
</div>
<div id="footer" class="row">
<div class="c3">
- <a href="http://mozillamessaging.com">Mozilla Messaging 2011</a> | <a href="/0.3.6/service/privacy.html">Privacy Policy</a>
+ <a href="http://mozillamessaging.com">Mozilla Messaging 2011</a> | <a href="/0.3.7/service/privacy.html">Privacy Policy</a>
</div>
</div>
</div>
- <iframe id="installFrame" src="/0.3.6/blank.html"></iframe>
+ <iframe id="installFrame" src="/0.3.7/blank.html"></iframe>
<!-- START OF SmartSource Data Collector TAG -->
<!-- Copyright (c) 1996-2011 WebTrends Inc. All rights reserved. -->
<!-- Version: 9.3.0 -->
<!-- Tag Builder Version: 3.1 -->
<!-- Created: 3/15/2011 5:10:56 PM -->
- <script src="/0.3.6/scripts/webtrends.js" type="text/javascript"></script>
+ <script src="/0.3.7/scripts/webtrends.js" type="text/javascript"></script>
<!-- ----------------------------------------------------------------------------------- -->
<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->
<!-- JavaScript include file can cause serious problems with cross-domain tracking. -->
View
0  web/0.3.6/index.js → web/0.3.7/index.js
File renamed without changes
View
0  web/0.3.6/jquery.fancybox-1.3.4.css → web/0.3.7/jquery.fancybox-1.3.4.css
File renamed without changes
View
0  web/0.3.6/play/ac.html → web/0.3.7/play/ac.html
File renamed without changes
View
0  web/0.3.6/play/designs/i/background.gif → web/0.3.7/play/designs/i/background.gif
Diff not rendered
View
0  web/0.3.6/play/designs/i/bryanAvatar.jpg → web/0.3.7/play/designs/i/bryanAvatar.jpg
Diff not rendered
View
0  web/0.3.6/play/designs/i/linkdropiconfaded.png → web/0.3.7/play/designs/i/linkdropiconfaded.png
Diff not rendered
View
0  web/0.3.6/play/designs/i/settings.png → web/0.3.7/play/designs/i/settings.png
Diff not rendered
View
0  web/0.3.6/play/designs/nativeShare.css → web/0.3.7/play/designs/nativeShare.css
File renamed without changes
View
0  web/0.3.6/play/designs/nativeShare.html → web/0.3.7/play/designs/nativeShare.html
File renamed without changes
View
0  web/0.3.6/play/designs/neutralShare.css → web/0.3.7/play/designs/neutralShare.css
File renamed without changes
View
0  web/0.3.6/play/designs/neutralShare.html → web/0.3.7/play/designs/neutralShare.html
File renamed without changes
View
0  web/0.3.6/play/designs/share.css → web/0.3.7/play/designs/share.css
File renamed without changes
View
0  web/0.3.6/play/designs/share.html → web/0.3.7/play/designs/share.html
File renamed without changes
View
0  web/0.3.6/share/panel/i/sprite.png → web/0.3.7/play/designs/sidebar/i/sprite.png
Diff not rendered
View
0  web/0.3.6/share/panel/i/thumb.jpg → web/0.3.7/play/designs/sidebar/i/thumb.jpg
Diff not rendered
View
0  web/0.3.6/play/designs/sidebar/index.html → web/0.3.7/play/designs/sidebar/index.html
File renamed without changes
View
0  web/0.3.6/play/designs/sidebar/js/init.js → web/0.3.7/play/designs/sidebar/js/init.js
File renamed without changes
View
0  web/0.3.6/share/panel/js/jquery.textOverflow.js → ....7/play/designs/sidebar/js/jquery.textOverflow.js
File renamed without changes
View
0  web/0.3.6/play/designs/sidebar/style.css → web/0.3.7/play/designs/sidebar/style.css
File renamed without changes
View
0  web/0.3.6/play/scratch/send/index.html → web/0.3.7/play/scratch/send/index.html
File renamed without changes
View
0  web/0.3.6/rdapi/f/StayPuft/COPYING.LIB → web/0.3.7/rdapi/f/StayPuft/COPYING.LIB
File renamed without changes
View
0  web/0.3.6/rdapi/f/StayPuft/README.txt → web/0.3.7/rdapi/f/StayPuft/README.txt
File renamed without changes
View
0  web/0.3.6/rdapi/f/StayPuft/StayPuft.ttf → web/0.3.7/rdapi/f/StayPuft/StayPuft.ttf
File renamed without changes
View
0  web/0.3.6/rdapi/i/2709984325_f5554afd53_o2.jpeg → web/0.3.7/rdapi/i/2709984325_f5554afd53_o2.jpeg
Diff not rendered
View
0  web/0.3.6/rdapi/index.css → web/0.3.7/rdapi/index.css
File renamed without changes
View
6 web/0.3.6/rdapi/index.html → web/0.3.7/rdapi/index.html
@@ -24,14 +24,14 @@
<html>
<head>
<title>Raindrop API</title>
- <link type="text/css" rel="stylesheet" href="/0.3.6/rdapi/index.css">
- <script src="/0.3.6/scripts/requireplugins-jquery.js" charset="utf-8"></script>
+ <link type="text/css" rel="stylesheet" href="/0.3.7/rdapi/index.css">
+ <script src="/0.3.7/scripts/requireplugins-jquery.js" charset="utf-8"></script>
<script>
'use strict';
/*global require: false */
require({
paths: {
- 'index': '/0.3.6/rdapi/scripts/index',
+ 'index': '/0.3.7/rdapi/scripts/index',
}
},
['index']
View
0  web/0.3.6/rdapi/scripts/index.js → web/0.3.7/rdapi/scripts/index.js
File renamed without changes
View
0  web/0.3.6/robots.txt → web/0.3.7/robots.txt
File renamed without changes
View
0  web/0.3.6/scripts/AutoComplete.js → web/0.3.7/scripts/AutoComplete.js
File renamed without changes
View
0  web/0.3.6/scripts/AutoCompleteRefresh.html → web/0.3.7/scripts/AutoCompleteRefresh.html
File renamed without changes
View
0  web/0.3.6/scripts/Contacts.js → web/0.3.7/scripts/Contacts.js
File renamed without changes
View
0  web/0.3.6/scripts/ContactsEmail.js → web/0.3.7/scripts/ContactsEmail.js
File renamed without changes
View
47 web/0.3.7/scripts/ContactsLinkedIn.js
@@ -0,0 +1,47 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Raindrop.
+ *
+ * The Initial Developer of the Original Code is
+ * Mozilla Messaging, Inc..
+ * Portions created by the Initial Developer are Copyright (C) 2009
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * */
+
+/*jslint indent: 2, regexp: false */
+/*global define: false */
+"use strict";
+
+define([ 'blade/object', 'Contacts'],
+function (object, Contacts) {
+
+ /**
+ * Overrides the formatting of contacts and converting
+ * one of those formatted contacts into a user ID. Allow
+ * for the special 'connections-only' value.
+ */
+ return object(Contacts, null, function (parent) {
+ return {
+ findContact: function (to) {
+ if (to === 'connections-only') {
+ return to;
+ } else {
+ return parent(this, 'findContact', arguments);
+ }
+ }
+ };
+ });
+});
View
0  web/0.3.6/scripts/ContactsTwitter.js → web/0.3.7/scripts/ContactsTwitter.js
File renamed without changes
View
0  web/0.3.6/scripts/Select.css → web/0.3.7/scripts/Select.css
File renamed without changes
View
0  web/0.3.6/scripts/Select.html → web/0.3.7/scripts/Select.html
File renamed without changes
View
0  web/0.3.6/scripts/Select.js → web/0.3.7/scripts/Select.js
File renamed without changes
View
0  web/0.3.6/scripts/TextCounter.js → web/0.3.7/scripts/TextCounter.js
File renamed without changes
View
0  web/0.3.6/scripts/accounts.js → web/0.3.7/scripts/accounts.js
File renamed without changes
View
0  web/0.3.6/scripts/blade/Widget.js → web/0.3.7/scripts/blade/Widget.js
File renamed without changes
View
0  web/0.3.6/scripts/blade/array.js → web/0.3.7/scripts/blade/array.js
File renamed without changes
View
0  web/0.3.6/scripts/blade/defer.js → web/0.3.7/scripts/blade/defer.js
File renamed without changes
View
0  web/0.3.6/scripts/blade/dispatch.js → web/0.3.7/scripts/blade/dispatch.js
File renamed without changes
View
0  web/0.3.6/scripts/blade/fn.js → web/0.3.7/scripts/blade/fn.js
File renamed without changes
View
0  web/0.3.6/scripts/blade/jig.js → web/0.3.7/scripts/blade/jig.js
File renamed without changes
View
0  web/0.3.6/scripts/blade/object.js → web/0.3.7/scripts/blade/object.js
File renamed without changes
View
0  web/0.3.6/scripts/blade/url.js → web/0.3.7/scripts/blade/url.js
File renamed without changes
View
0  web/0.3.6/scripts/cards.js → web/0.3.7/scripts/cards.js
File renamed without changes
View
0  web/0.3.6/scripts/dispatch.js → web/0.3.7/scripts/dispatch.js
File renamed without changes
View
0  web/0.3.6/scripts/dotCompare.js → web/0.3.7/scripts/dotCompare.js
File renamed without changes
View
0  web/0.3.6/scripts/fancyzoom.js → web/0.3.7/scripts/fancyzoom.js
File renamed without changes
View
0  web/0.3.6/scripts/friendly.js → web/0.3.7/scripts/friendly.js
File renamed without changes
View
0  web/0.3.6/scripts/hashDispatch.js → web/0.3.7/scripts/hashDispatch.js
File renamed without changes
View
0  web/0.3.6/scripts/iscroll-min.js → web/0.3.7/scripts/iscroll-min.js
File renamed without changes
View
0  web/0.3.6/scripts/isoDate.js → web/0.3.7/scripts/isoDate.js
File renamed without changes
View
0  web/0.3.6/scripts/jquery-ui-1.8.6.custom.min.js → web/0.3.7/scripts/jquery-ui-1.8.6.custom.min.js
File renamed without changes
View
0  web/0.3.6/scripts/jquery-ui-1.8.7.min.js → web/0.3.7/scripts/jquery-ui-1.8.7.min.js
File renamed without changes
View
0  web/0.3.6/scripts/jquery.colorFade.js → web/0.3.7/scripts/jquery.colorFade.js
File renamed without changes
View
0  web/0.3.6/scripts/jquery.cookie.js → web/0.3.7/scripts/jquery.cookie.js
File renamed without changes
View
0  web/0.3.6/scripts/jquery.easing.1.3.js → web/0.3.7/scripts/jquery.easing.1.3.js
File renamed without changes
View
0  web/0.3.6/scripts/jquery.fancybox-1.3.4.js → web/0.3.7/scripts/jquery.fancybox-1.3.4.js
File renamed without changes
View
0  web/0.3.6/scripts/jquery.masonry.js → web/0.3.7/scripts/jquery.masonry.js
File renamed without changes
View
0  web/0.3.6/scripts/jquery.textOverflow.js → web/0.3.7/scripts/jquery.textOverflow.js
File renamed without changes
View
0  web/0.3.6/scripts/jquery.tmpl.js → web/0.3.7/scripts/jquery.tmpl.js
File renamed without changes
View
0  web/0.3.6/scripts/jquery.vgrid.0.1.5.js → web/0.3.7/scripts/jquery.vgrid.0.1.5.js
File renamed without changes
View
0  web/0.3.6/scripts/jqueryStub.js → web/0.3.7/scripts/jqueryStub.js
File renamed without changes
View
0  web/0.3.6/scripts/json2.js → web/0.3.7/scripts/json2.js
File renamed without changes
View
0  web/0.3.6/scripts/md5.js → web/0.3.7/scripts/md5.js
File renamed without changes
View
2  web/0.3.6/scripts/oauth.js → web/0.3.7/scripts/oauth.js
@@ -62,7 +62,7 @@ function (accounts) {
if (callback) {
authDone = callback;
}
- var url = location.protocol + "//" + location.host + "/0.3.6/auth.html",
+ var url = location.protocol + "//" + location.host + "/0.3.7/auth.html",
currentTime = (new Date()).getTime(),
newLocation;
View
0  web/0.3.6/scripts/placeholder.js → web/0.3.7/scripts/placeholder.js
File renamed without changes
View
0  web/0.3.6/scripts/protovis/protovis-r3.2.js → web/0.3.7/scripts/protovis/protovis-r3.2.js
File renamed without changes
View
0  web/0.3.6/scripts/rdapi.js → web/0.3.7/scripts/rdapi.js
File renamed without changes
View
0  web/0.3.6/scripts/requireplugins-jquery.js → web/0.3.7/scripts/requireplugins-jquery.js
File renamed without changes
View
0  web/0.3.6/scripts/rssFeed.js → web/0.3.7/scripts/rssFeed.js
File renamed without changes
View
3  web/0.3.6/scripts/services.js → web/0.3.7/scripts/services.js
@@ -260,7 +260,8 @@ function (object, storage) {
return 'http://linkedin.com/' + account.username;
},
overlays: {
- 'widgets/AccountPanel': 'widgets/AccountPanelLinkedIn'
+ 'widgets/AccountPanel': 'widgets/AccountPanelLinkedIn',
+ 'Contacts': 'ContactsLinkedIn'
}
})
},
View
0  web/0.3.6/scripts/shareOptions.js → web/0.3.7/scripts/shareOptions.js
File renamed without changes
View
0  web/0.3.6/scripts/storage.js → web/0.3.7/scripts/storage.js
File renamed without changes
View
0  web/0.3.6/scripts/templates/cardsHeader.html → web/0.3.7/scripts/templates/cardsHeader.html
File renamed without changes
View
0  web/0.3.6/scripts/webtrends.js → web/0.3.7/scripts/webtrends.js
File renamed without changes
View
0  web/0.3.6/service/down.html → web/0.3.7/service/down.html
File renamed without changes
View
0  web/0.3.6/favicon.png → web/0.3.7/service/favicon.png
Diff not rendered
View
0  web/0.3.6/service/i/f1Logo.png → web/0.3.7/service/i/f1Logo.png
Diff not rendered
View
0  web/0.3.6/service/privacy.html → web/0.3.7/service/privacy.html
File renamed without changes
View
0  web/0.3.6/service/style.css → web/0.3.7/service/style.css
File renamed without changes
View
0  web/0.3.6/settings/build.js → web/0.3.7/settings/build.js
File renamed without changes
View
0  web/0.3.6/settings/i/LinkedIn_Logo16px.png → web/0.3.7/settings/i/LinkedIn_Logo16px.png
Diff not rendered
View
0  web/0.3.6/i/f1Logo.png → web/0.3.7/settings/i/f1Logo.png
Diff not rendered
View
0  web/0.3.6/i/sprite.png → web/0.3.7/settings/i/sprite.png
Diff not rendered
View
0  web/0.3.6/settings/i/thumb.jpg → web/0.3.7/settings/i/thumb.jpg
Diff not rendered
View
6 web/0.3.6/settings/index.html → web/0.3.7/settings/index.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>Mozilla F1: Configuration</title>
- <link rel="stylesheet" type="text/css" href="/0.3.6/settings/style.css">
+ <link rel="stylesheet" type="text/css" href="/0.3.7/settings/style.css">
<!-- DNS prefetching for common services -->
<link rel="dns-prefetch" href="https://graph.facebook.com">
@@ -37,7 +37,7 @@
<link rel="image_src" href="http://f1.mozillamessaging.com/i/f1LogoVert.png"/>
- <script data-main="/0.3.6/settings/index.js" src="/0.3.6/scripts/requireplugins-jquery.js" charset="utf-8"></script>
+ <script data-main="/0.3.7/settings/index.js" src="/0.3.7/scripts/requireplugins-jquery.js" charset="utf-8"></script>
</head>
<body>
@@ -142,7 +142,7 @@ <h1 id="availableHeader" class="hidden">Add accounts</h1>
<div class="hbox">
<div class="boxFlex headline invisible"><span class="icon rss"></span> <a id="rssLink" href="#" target="_blank"></a></div>
<div class="privacy">
- We care about your <a href="/0.3.6/service/privacy.html" target="_blank">privacy</a>, seriously.
+ We care about your <a href="/0.3.7/service/privacy.html" target="_blank">privacy</a>, seriously.
</div>
</div>
</div>
View
4 web/0.3.6/settings/index.js → web/0.3.7/settings/index.js
@@ -65,14 +65,14 @@ j.username},forceLogin:{name:"force_login",value:true},overlays:{Contacts:"Conta
j.userid},overlays:{"widgets/AccountPanel":"widgets/AccountPanelFaceBook"}}),"google.com":new c("Gmail",{shareTypes:[{type:"direct",name:"direct",showTo:true}],serviceUrl:"https://mail.google.com",revokeUrl:"https://www.google.com/accounts/IssuedAuthSubTokens",signOutUrl:"http://google.com/preferences",accountLink:function(j){return"http://google.com/profiles/"+j.username},forceLogin:{name:"pape_max_auth_age",value:0}}),"googleapps.com":new c("Google Apps",{shareTypes:[{type:"direct",name:"direct",
showTo:true}],icon:"i/gmailIcon.png",serviceUrl:"https://mail.google.com",revokeUrl:"https://www.google.com/accounts/IssuedAuthSubTokens",signOutUrl:"http://google.com/preferences",accountLink:function(j){return"http://google.com/profiles/"+j.username},forceLogin:{name:"pape_max_auth_age",value:0}}),"yahoo.com":new c("Yahoo",{shareTypes:[{type:"direct",name:"direct",showTo:true}],name:"Yahoo!",serviceUrl:"http://mail.yahoo.com",revokeUrl:"https://api.login.yahoo.com/WSLogin/V1/unlink",signOutUrl:"https://login.yahoo.com/config/login?logout=1",
accountLink:function(j){return"http://profiles.yahoo.com/"+j.username}}),"linkedin.com":new d("LinkedIn",{isNew:true,features:{direct:true,subject:true,counter:false},shareTypes:[{type:"public",name:"anyone"},{type:"myConnections",name:"connections only",specialTo:"connections-only"},{type:"contact",name:"send message",showTo:true,toLabel:"type in the name of the contact"}],serviceUrl:"http://linkedin.com",revokeUrl:"http://linkedin.com/settings/connections",signOutUrl:"https://www.linkedin.com/secure/login?session_full_logout=&trk=hb_signout",
-accountLink:function(j){return"http://linkedin.com/"+j.username},overlays:{"widgets/AccountPanel":"widgets/AccountPanelLinkedIn"}})},domainList:[],svcBaseProto:d.prototype};for(h in e.domains)if(e.domains.hasOwnProperty(h)){e.domainList.push(h);if(a){delete b[e.domains[h].type+"Contacts"];delete b.contactsModelVersion}}return e});
+accountLink:function(j){return"http://linkedin.com/"+j.username},overlays:{"widgets/AccountPanel":"widgets/AccountPanelLinkedIn",Contacts:"ContactsLinkedIn"}})},domainList:[],svcBaseProto:d.prototype};for(h in e.domains)if(e.domains.hasOwnProperty(h)){e.domainList.push(h);if(a){delete b[e.domains[h].type+"Contacts"];delete b.contactsModelVersion}}return e});
define("accounts",["storage","dispatch","rdapi","services"],function(f,b,d,c){function a(m,n,u,v){return m.domain===n&&(u&&m.userid===u||v&&m.username===v)}function e(m){if(m)m=JSON.parse(m);return m}function h(m,n){return q.accounts(m,n)}function j(){location.reload()}var p=f(),q;q={localStorage:{accounts:function(m,n){var u=e(p.accountCache)||[],v=e(p.serviceCache);if(v){v=v||[];m&&m(u,v)}else q.fetch(m,n)},update:function(m){var n=e(p.accountCache)||[],u=e(p.serviceCache),v=false,z,y,s;z=m.profile;
for(y=0;y<n.length;y++){s=n[y].accounts[0];if(a(s,m.domain,m.userid,m.username)){n[y]=z;v=true;break}}v||n.push(z);p.accountCache=JSON.stringify(n);if(u){v=false;for(n=0;n<u.length;n++)if(a(u[n],m.domain,m.userid,m.username)){u[n]=m;v=true;break}}else u=[];v||u.push(m);p.serviceCache=JSON.stringify(u);q.changed()},fetch:function(m,n){d("account/get/full",{success:function(u){if(u.error)u=[];p.serviceCache=JSON.stringify(u);var v=[],z,y;for(y=0;y<u.length;y++){v.push(u[y].profile);z=c.domains[u[y].domain];
z.clearCache(p)}p.accountCache=JSON.stringify(v);m&&m(v,u)},error:n||function(){}})},remove:function(m,n,u){var v=e(p.accountCache),z=e(p.serviceCache),y,s;if(z){for(y=0;s=z[y];y++)if(a(s,m,n,u)){z.splice(y,1);break}p.serviceCache=JSON.stringify(z)}if(v){for(y=0;y<v.length;y++){s=v[y].accounts;for(z=0;z<s.length;z++)if(a(s[z],m,n,u)){v.splice(y,1);break}}p.accountCache=JSON.stringify(v)}c.domains[m].clearCache(p);q.clearData(m,n,u);q.changed()},setData:function(m,n,u,v,z){m=[m,n,u].join("|")+"Data";
n=e(p[m])||{};if(z===undefined||z===null)delete n[v];else n[v]=z;p[m]=JSON.stringify(n);return z},getData:function(m,n,u,v){m=[m,n,u].join("|")+"Data";return(m=e(p[m])||{})?m[v]:null},clearData:function(m,n,u){m=[m,n,u].join("|")+"Data";delete p[m]},getService:function(m,n,u){var v=e(p.serviceCache),z,y;if(v)for(z=0;y=v[z];z++)if(a(y,m,n,u))return y;return null},changed:function(){p.accountChanged=(new Date).getTime();opener&&!opener.closed&&b.pub("accountsChanged",null,opener);b.pub("accountsChanged")},
onChange:function(m){var n=p.accountChanged;window.addEventListener("storage",function(){p.accountChanged!==n&&m()},false);b.sub("accountsChanged",m)}},memory:{accounts:function(){},changed:function(){p.accountChanged=(new Date).getTime();opener&&b.pub("accountsChanged",null,opener);b.pub("accountsChanged")},onChange:function(m){b.sub("accountsChanged",m)}}}[f.type];h.update=function(m){q.update(m)};h.remove=function(m,n,u){q.remove(m,n,u)};h.fetch=function(m,n){q.fetch(m,n)};h.getService=function(m,
n,u){return q.getService(m,n,u)};h.clear=function(){delete p.accountCache;delete p.serviceCache};h.setData=function(m,n,u,v,z){return q.setData(m,n,u,v,z)};h.getData=function(m,n,u,v){return q.getData(m,n,u,v)};h.clearData=function(m,n,u){return q.clearData(m,n,u)};h.changed=function(){return q.changed()};h.onChange=function(m){return q.onChange(m||j)};return h});
-define("oauth",["accounts"],function(f){var b,d,c=0;window.addEventListener("message",function(a){var e;try{e=JSON.parse(a.data)}catch(h){return}if(e.target){if(e.target==="oauth_success"&&e.account){a=true;f.update(e.account)}else a=false;d=null;if(b){b(a);b=null}}},false);return function(a,e,h){if(h)b=h;h=location.protocol+"//"+location.host+"/0.3.6/auth.html";var j=(new Date).getTime();if(d&&d.closed)d=null;if(j>c+4E3){c=j;a=h+"?domain="+a+(e?"&forceLogin=1":"");try{d=window.open(a,"ffshareOAuth",
+define("oauth",["accounts"],function(f){var b,d,c=0;window.addEventListener("message",function(a){var e;try{e=JSON.parse(a.data)}catch(h){return}if(e.target){if(e.target==="oauth_success"&&e.account){a=true;f.update(e.account)}else a=false;d=null;if(b){b(a);b=null}}},false);return function(a,e,h){if(h)b=h;h=location.protocol+"//"+location.host+"/0.3.7/auth.html";var j=(new Date).getTime();if(d&&d.closed)d=null;if(j>c+4E3){c=j;a=h+"?domain="+a+(e?"&forceLogin=1":"");try{d=window.open(a,"ffshareOAuth",
"dialog=yes, modal=yes, width=900, height=500, scrollbars=yes");d.focus()}catch(p){window.location=a+"&end_point_success="+encodeURI(window.location)}}else d&&d.focus()}});define("dotCompare",[],function(){function f(b,d){b=b||"0";d=d||"0";b=b.split(".");d=d.split(".");var c,a,e,h=b.length>d.length?b.length:d.length;for(c=0;c<h;c++){a=parseInt(b[c]||"0",10);e=parseInt(d[c]||"0",10);if(a>e)return 1;else if(a<e)return-1}return 0}return f});
define("blade/array",[],function(){var f=Object.prototype.toString,b=Array.prototype.slice;return{is:function(d){return f.call(d)==="[object Array]"},to:function(){return[].concat(b.call(arguments,0))}}});
define("blade/url",["./array"],function(f){var b=Object.prototype.toString;return{objectToQuery:function(d){var c=encodeURIComponent,a=[],e={},h,j,p,q;for(h in d)if(d.hasOwnProperty(h)){j=d[h];if(j!==e[h]){p=c(h)+"=";if(f.is(j))for(q=0;q<j.length;q++)a.push(p+c(j[q]));else a.push(p+c(j))}}return a.join("&")},queryToObject:function(d){var c={};d=d.split("&");var a=decodeURIComponent,e,h,j;d.forEach(function(p){if(p.length){e=p.split("=");h=a(e.shift());j=a(e.join("="));if(typeof c[h]==="string")c[h]=
View
0  web/0.3.6/settings/style.css → web/0.3.7/settings/style.css
File renamed without changes
View
0  web/0.3.6/share/build.js → web/0.3.7/share/build.js
File renamed without changes
View
0  web/0.3.6/i/LinkedIn_Logo16px.png → web/0.3.7/share/i/LinkedIn_Logo16px.png
Diff not rendered
View
0  web/0.3.6/share/i/bug_b.png → web/0.3.7/share/i/bug_b.png
Diff not rendered
View
0  web/0.3.6/share/i/bug_w.png → web/0.3.7/share/i/bug_w.png
Diff not rendered
View
0  web/0.3.6/share/i/f1-icon-grey.png → web/0.3.7/share/i/f1-icon-grey.png
Diff not rendered
View
0  web/0.3.6/share/i/face2.png → web/0.3.7/share/i/face2.png
Diff not rendered
View
0  web/0.3.6/share/i/loader.gif → web/0.3.7/share/i/loader.gif
Diff not rendered
View
0  web/0.3.6/share/i/sprite.png → web/0.3.7/share/i/sprite.png
Diff not rendered
View
14 web/0.3.6/share/index.html → web/0.3.7/share/index.html
@@ -24,8 +24,8 @@
<html>
<head>
<title>F1 Alpha</title>
- <link rel="stylesheet" type="text/css" href="/0.3.6/share/share.css">
- <script data-main="/0.3.6/share/index.js" src="/0.3.6/scripts/requireplugins-jquery.js" charset="utf-8"></script>
+ <link rel="stylesheet" type="text/css" href="/0.3.7/share/share.css">
+ <script data-main="/0.3.7/share/index.js" src="/0.3.7/scripts/requireplugins-jquery.js" charset="utf-8"></script>
<!-- Uncomment if you want to use more jQuery UI besides tabs. -->
<!-- script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script-->
</head>
@@ -45,8 +45,8 @@
<span class="status inactive"></span>
</div>
<div class="rightActions">
- <a id="newLink" href="/0.3.6/settings/#show=new" class="settingsLink new hidden" target="_blank">new accounts!</a>
- <a href="/0.3.6/settings/" class="settingsLink" target="_blank">settings</a>
+ <a id="newLink" href="/0.3.7/settings/#show=new" class="settingsLink new hidden" target="_blank">new accounts!</a>
+ <a href="/0.3.7/settings/" class="settingsLink" target="_blank">settings</a>
<a href="http://feedback.mozillalabs.com/forums/68185-messaging-add-ons" target="_blank">feedback</a>
<span class="close"></span>
</div>
@@ -90,7 +90,7 @@
<input type="hidden" name="title" value="" />
<input type="hidden" name="caption" value="" />
<input type="hidden" name="description" value="" />
- <span class="avatar"><img class="avatar" src="/0.3.6/share/i/face2.png"></span>
+ <span class="avatar"><img class="avatar" src="/0.3.7/share/i/face2.png"></span>
<span class="username">Username</span>
</div>
{ !features.subject [}
@@ -151,11 +151,11 @@
<!-- Start status messages, should be last in the page for z-order purposes -->
<div id="statusSettings" class="status hidden noConfig">
- <img src="/0.3.6/share/i/f1-icon-grey.png"> <a target="_blank" class="settingsLink" href="/0.3.6/settings/">click here to setup F1</a>
+ <img src="/0.3.7/share/i/f1-icon-grey.png"> <a target="_blank" class="settingsLink" href="/0.3.7/settings/">click here to setup F1</a>
</div>
<div id="statusSharing" class="status hidden">
- <img src="/0.3.6/share/i/loader.gif"> sharing...
+ <img src="/0.3.7/share/i/loader.gif"> sharing...
</div>
<div id="statusOAuthFailed" class="status hidden error">
View
4 web/0.3.6/share/index.js → web/0.3.7/share/index.js
@@ -65,14 +65,14 @@ h.username},forceLogin:{name:"force_login",value:true},overlays:{Contacts:"Conta
h.userid},overlays:{"widgets/AccountPanel":"widgets/AccountPanelFaceBook"}}),"google.com":new c("Gmail",{shareTypes:[{type:"direct",name:"direct",showTo:true}],serviceUrl:"https://mail.google.com",revokeUrl:"https://www.google.com/accounts/IssuedAuthSubTokens",signOutUrl:"http://google.com/preferences",accountLink:function(h){return"http://google.com/profiles/"+h.username},forceLogin:{name:"pape_max_auth_age",value:0}}),"googleapps.com":new c("Google Apps",{shareTypes:[{type:"direct",name:"direct",
showTo:true}],icon:"i/gmailIcon.png",serviceUrl:"https://mail.google.com",revokeUrl:"https://www.google.com/accounts/IssuedAuthSubTokens",signOutUrl:"http://google.com/preferences",accountLink:function(h){return"http://google.com/profiles/"+h.username},forceLogin:{name:"pape_max_auth_age",value:0}}),"yahoo.com":new c("Yahoo",{shareTypes:[{type:"direct",name:"direct",showTo:true}],name:"Yahoo!",serviceUrl:"http://mail.yahoo.com",revokeUrl:"https://api.login.yahoo.com/WSLogin/V1/unlink",signOutUrl:"https://login.yahoo.com/config/login?logout=1",
accountLink:function(h){return"http://profiles.yahoo.com/"+h.username}}),"linkedin.com":new e("LinkedIn",{isNew:true,features:{direct:true,subject:true,counter:false},shareTypes:[{type:"public",name:"anyone"},{type:"myConnections",name:"connections only",specialTo:"connections-only"},{type:"contact",name:"send message",showTo:true,toLabel:"type in the name of the contact"}],serviceUrl:"http://linkedin.com",revokeUrl:"http://linkedin.com/settings/connections",signOutUrl:"https://www.linkedin.com/secure/login?session_full_logout=&trk=hb_signout",
-accountLink:function(h){return"http://linkedin.com/"+h.username},overlays:{"widgets/AccountPanel":"widgets/AccountPanelLinkedIn"}})},domainList:[],svcBaseProto:e.prototype};for(g in f.domains)if(f.domains.hasOwnProperty(g)){f.domainList.push(g);if(a){delete d[f.domains[g].type+"Contacts"];delete d.contactsModelVersion}}return f});
+accountLink:function(h){return"http://linkedin.com/"+h.username},overlays:{"widgets/AccountPanel":"widgets/AccountPanelLinkedIn",Contacts:"ContactsLinkedIn"}})},domainList:[],svcBaseProto:e.prototype};for(g in f.domains)if(f.domains.hasOwnProperty(g)){f.domainList.push(g);if(a){delete d[f.domains[g].type+"Contacts"];delete d.contactsModelVersion}}return f});
define("accounts",["storage","dispatch","rdapi","services"],function(b,d,e,c){function a(l,o,s,z){return l.domain===o&&(s&&l.userid===s||z&&l.username===z)}function f(l){if(l)l=JSON.parse(l);return l}function g(l,o){return k.accounts(l,o)}function h(){location.reload()}var j=b(),k;k={localStorage:{accounts:function(l,o){var s=f(j.accountCache)||[],z=f(j.serviceCache);if(z){z=z||[];l&&l(s,z)}else k.fetch(l,o)},update:function(l){var o=f(j.accountCache)||[],s=f(j.serviceCache),z=false,C,F,v;C=l.profile;
for(F=0;F<o.length;F++){v=o[F].accounts[0];if(a(v,l.domain,l.userid,l.username)){o[F]=C;z=true;break}}z||o.push(C);j.accountCache=JSON.stringify(o);if(s){z=false;for(o=0;o<s.length;o++)if(a(s[o],l.domain,l.userid,l.username)){s[o]=l;z=true;break}}else s=[];z||s.push(l);j.serviceCache=JSON.stringify(s);k.changed()},fetch:function(l,o){e("account/get/full",{success:function(s){if(s.error)s=[];j.serviceCache=JSON.stringify(s);var z=[],C,F;for(F=0;F<s.length;F++){z.push(s[F].profile);C=c.domains[s[F].domain];
C.clearCache(j)}j.accountCache=JSON.stringify(z);l&&l(z,s)},error:o||function(){}})},remove:function(l,o,s){var z=f(j.accountCache),C=f(j.serviceCache),F,v;if(C){for(F=0;v=C[F];F++)if(a(v,l,o,s)){C.splice(F,1);break}j.serviceCache=JSON.stringify(C)}if(z){for(F=0;F<z.length;F++){v=z[F].accounts;for(C=0;C<v.length;C++)if(a(v[C],l,o,s)){z.splice(F,1);break}}j.accountCache=JSON.stringify(z)}c.domains[l].clearCache(j);k.clearData(l,o,s);k.changed()},setData:function(l,o,s,z,C){l=[l,o,s].join("|")+"Data";
o=f(j[l])||{};if(C===undefined||C===null)delete o[z];else o[z]=C;j[l]=JSON.stringify(o);return C},getData:function(l,o,s,z){l=[l,o,s].join("|")+"Data";return(l=f(j[l])||{})?l[z]:null},clearData:function(l,o,s){l=[l,o,s].join("|")+"Data";delete j[l]},getService:function(l,o,s){var z=f(j.serviceCache),C,F;if(z)for(C=0;F=z[C];C++)if(a(F,l,o,s))return F;return null},changed:function(){j.accountChanged=(new Date).getTime();opener&&!opener.closed&&d.pub("accountsChanged",null,opener);d.pub("accountsChanged")},
onChange:function(l){var o=j.accountChanged;window.addEventListener("storage",function(){j.accountChanged!==o&&l()},false);d.sub("accountsChanged",l)}},memory:{accounts:function(){},changed:function(){j.accountChanged=(new Date).getTime();opener&&d.pub("accountsChanged",null,opener);d.pub("accountsChanged")},onChange:function(l){d.sub("accountsChanged",l)}}}[b.type];g.update=function(l){k.update(l)};g.remove=function(l,o,s){k.remove(l,o,s)};g.fetch=function(l,o){k.fetch(l,o)};g.getService=function(l,
o,s){return k.getService(l,o,s)};g.clear=function(){delete j.accountCache;delete j.serviceCache};g.setData=function(l,o,s,z,C){return k.setData(l,o,s,z,C)};g.getData=function(l,o,s,z){return k.getData(l,o,s,z)};g.clearData=function(l,o,s){return k.clearData(l,o,s)};g.changed=function(){return k.changed()};g.onChange=function(l){return k.onChange(l||h)};return g});
-define("oauth",["accounts"],function(b){var d,e,c=0;window.addEventListener("message",function(a){var f;try{f=JSON.parse(a.data)}catch(g){return}if(f.target){if(f.target==="oauth_success"&&f.account){a=true;b.update(f.account)}else a=false;e=null;if(d){d(a);d=null}}},false);return function(a,f,g){if(g)d=g;g=location.protocol+"//"+location.host+"/0.3.6/auth.html";var h=(new Date).getTime();if(e&&e.closed)e=null;if(h>c+4E3){c=h;a=g+"?domain="+a+(f?"&forceLogin=1":"");try{e=window.open(a,"ffshareOAuth",
+define("oauth",["accounts"],function(b){var d,e,c=0;window.addEventListener("message",function(a){var f;try{f=JSON.parse(a.data)}catch(g){return}if(f.target){if(f.target==="oauth_success"&&f.account){a=true;b.update(f.account)}else a=false;e=null;if(d){d(a);d=null}}},false);return function(a,f,g){if(g)d=g;g=location.protocol+"//"+location.host+"/0.3.7/auth.html";var h=(new Date).getTime();if(e&&e.closed)e=null;if(h>c+4E3){c=h;a=g+"?domain="+a+(f?"&forceLogin=1":"");try{e=window.open(a,"ffshareOAuth",
"dialog=yes, modal=yes, width=900, height=500, scrollbars=yes");e.focus()}catch(j){window.location=a+"&end_point_success="+encodeURI(window.location)}}else e&&e.focus()}});define("blade/array",[],function(){var b=Object.prototype.toString,d=Array.prototype.slice;return{is:function(e){return b.call(e)==="[object Array]"},to:function(){return[].concat(d.call(arguments,0))}}});
define("blade/url",["./array"],function(b){var d=Object.prototype.toString;return{objectToQuery:function(e){var c=encodeURIComponent,a=[],f={},g,h,j,k;for(g in e)if(e.hasOwnProperty(g)){h=e[g];if(h!==f[g]){j=c(g)+"=";if(b.is(h))for(k=0;k<h.length;k++)a.push(j+c(h[k]));else a.push(j+c(h))}}return a.join("&")},queryToObject:function(e){var c={};e=e.split("&");var a=decodeURIComponent,f,g,h;e.forEach(function(j){if(j.length){f=j.split("=");g=a(f.shift());h=a(f.join("="));if(typeof c[g]==="string")c[g]=
[c[g]];if(d.call(c[g])==="[object Array]")c[g].push(h);else c[g]=h}});return c}}});
View
3  web/0.3.6/share/panel/build.js → web/0.3.7/share/panel/build.js
@@ -6,7 +6,8 @@
"widgets": "../share/panel/scripts/widgets"
},
name: "index",
- include: ['widgets/AccountPanelLinkedIn', 'widgets/AccountPanelFaceBook', 'ContactsEmail', 'ContactsTwitter'],
+ include: ['widgets/AccountPanelLinkedIn', 'widgets/AccountPanelFaceBook',
+ 'ContactsEmail', 'ContactsTwitter', 'ContactsLinkedIn'],
exclude: ['jquery', 'require/text'],
out: './index.js'
})
View
0  web/0.3.6/play/designs/sidebar/i/sprite.png → web/0.3.7/share/panel/i/sprite.png
Diff not rendered
View
0  web/0.3.6/play/designs/sidebar/i/thumb.jpg → web/0.3.7/share/panel/i/thumb.jpg
Diff not rendered
View
12 web/0.3.6/share/panel/index.html → web/0.3.7/share/panel/index.html
@@ -2,8 +2,8 @@
<html>
<head>
<title>F1: Popup</title>
- <link rel="stylesheet" type="text/css" href="/0.3.6/share/panel/style.css">
- <script data-main="/0.3.6/share/panel/index.js" src="/0.3.6/scripts/requireplugins-jquery.js" charset="utf-8"></script>
+ <link rel="stylesheet" type="text/css" href="/0.3.7/share/panel/style.css">
+ <script data-main="/0.3.7/share/panel/index.js" src="/0.3.7/scripts/requireplugins-jquery.js" charset="utf-8"></script>
</head>
<body>
@@ -18,8 +18,8 @@
<h1 id="panelHeader" class="boxFlex">Mozilla F1</h1>
<nav>
<ul>
- <li id="newLink" class="hidden"><a href="/0.3.6/settings/#show=new" class="settingsLink new" target="_blank">new accounts!</a></li>
- <li><a href="/0.3.6/settings/" class="configureToggle" target="f1.settings">settings</a></li>
+ <li id="newLink" class="hidden"><a href="/0.3.7/settings/#show=new" class="settingsLink new" target="_blank">new accounts!</a></li>
+ <li><a href="/0.3.7/settings/" class="configureToggle" target="f1.settings">settings</a></li>
<li id="closeLink"><span class="close"></span></li>
</ul>
</nav>
@@ -44,7 +44,7 @@ <h1 id="panelHeader" class="boxFlex">Mozilla F1</h1>
<table>
<tr>
<td>
- <img src="/0.3.6/share/i/f1-icon-grey.png"> <a target="_blank" class="settingsLink" href="/0.3.6/settings/">click here to setup F1</a>
+ <img src="/0.3.7/share/i/f1-icon-grey.png"> <a target="_blank" class="settingsLink" href="/0.3.7/settings/">click here to setup F1</a>
</td>
</tr>
</table>
@@ -54,7 +54,7 @@ <h1 id="panelHeader" class="boxFlex">Mozilla F1</h1>
<table>
<tr>
<td>
- <img src="/0.3.6/share/i/loader.gif"> sharing...
+ <img src="/0.3.7/share/i/loader.gif"> sharing...
</td>
</tr>
</table>
View
7 web/0.3.6/share/panel/index.js → web/0.3.7/share/panel/index.js
@@ -68,14 +68,14 @@ h.username},forceLogin:{name:"force_login",value:true},overlays:{Contacts:"Conta
h.userid},overlays:{"widgets/AccountPanel":"widgets/AccountPanelFaceBook"}}),"google.com":new d("Gmail",{shareTypes:[{type:"direct",name:"direct",showTo:true}],serviceUrl:"https://mail.google.com",revokeUrl:"https://www.google.com/accounts/IssuedAuthSubTokens",signOutUrl:"http://google.com/preferences",accountLink:function(h){return"http://google.com/profiles/"+h.username},forceLogin:{name:"pape_max_auth_age",value:0}}),"googleapps.com":new d("Google Apps",{shareTypes:[{type:"direct",name:"direct",
showTo:true}],icon:"i/gmailIcon.png",serviceUrl:"https://mail.google.com",revokeUrl:"https://www.google.com/accounts/IssuedAuthSubTokens",signOutUrl:"http://google.com/preferences",accountLink:function(h){return"http://google.com/profiles/"+h.username},forceLogin:{name:"pape_max_auth_age",value:0}}),"yahoo.com":new d("Yahoo",{shareTypes:[{type:"direct",name:"direct",showTo:true}],name:"Yahoo!",serviceUrl:"http://mail.yahoo.com",revokeUrl:"https://api.login.yahoo.com/WSLogin/V1/unlink",signOutUrl:"https://login.yahoo.com/config/login?logout=1",
accountLink:function(h){return"http://profiles.yahoo.com/"+h.username}}),"linkedin.com":new f("LinkedIn",{isNew:true,features:{direct:true,subject:true,counter:false},shareTypes:[{type:"public",name:"anyone"},{type:"myConnections",name:"connections only",specialTo:"connections-only"},{type:"contact",name:"send message",showTo:true,toLabel:"type in the name of the contact"}],serviceUrl:"http://linkedin.com",revokeUrl:"http://linkedin.com/settings/connections",signOutUrl:"https://www.linkedin.com/secure/login?session_full_logout=&trk=hb_signout",
-accountLink:function(h){return"http://linkedin.com/"+h.username},overlays:{"widgets/AccountPanel":"widgets/AccountPanelLinkedIn"}})},domainList:[],svcBaseProto:f.prototype};for(g in a.domains)if(a.domains.hasOwnProperty(g)){a.domainList.push(g);if(e){delete c[a.domains[g].type+"Contacts"];delete c.contactsModelVersion}}return a});
+accountLink:function(h){return"http://linkedin.com/"+h.username},overlays:{"widgets/AccountPanel":"widgets/AccountPanelLinkedIn",Contacts:"ContactsLinkedIn"}})},domainList:[],svcBaseProto:f.prototype};for(g in a.domains)if(a.domains.hasOwnProperty(g)){a.domainList.push(g);if(e){delete c[a.domains[g].type+"Contacts"];delete c.contactsModelVersion}}return a});
define("accounts",["storage","dispatch","rdapi","services"],function(b,c,f,d){function e(l,o,m,k){return l.domain===o&&(m&&l.userid===m||k&&l.username===k)}function a(l){if(l)l=JSON.parse(l);return l}function g(l,o){return j.accounts(l,o)}function h(){location.reload()}var i=b(),j;j={localStorage:{accounts:function(l,o){var m=a(i.accountCache)||[],k=a(i.serviceCache);if(k){k=k||[];l&&l(m,k)}else j.fetch(l,o)},update:function(l){var o=a(i.accountCache)||[],m=a(i.serviceCache),k=false,n,q,p;n=l.profile;
for(q=0;q<o.length;q++){p=o[q].accounts[0];if(e(p,l.domain,l.userid,l.username)){o[q]=n;k=true;break}}k||o.push(n);i.accountCache=JSON.stringify(o);if(m){k=false;for(o=0;o<m.length;o++)if(e(m[o],l.domain,l.userid,l.username)){m[o]=l;k=true;break}}else m=[];k||m.push(l);i.serviceCache=JSON.stringify(m);j.changed()},fetch:function(l,o){f("account/get/full",{success:function(m){if(m.error)m=[];i.serviceCache=JSON.stringify(m);var k=[],n,q;for(q=0;q<m.length;q++){k.push(m[q].profile);n=d.domains[m[q].domain];
n.clearCache(i)}i.accountCache=JSON.stringify(k);l&&l(k,m)},error:o||function(){}})},remove:function(l,o,m){var k=a(i.accountCache),n=a(i.serviceCache),q,p;if(n){for(q=0;p=n[q];q++)if(e(p,l,o,m)){n.splice(q,1);break}i.serviceCache=JSON.stringify(n)}if(k){for(q=0;q<k.length;q++){p=k[q].accounts;for(n=0;n<p.length;n++)if(e(p[n],l,o,m)){k.splice(q,1);break}}i.accountCache=JSON.stringify(k)}d.domains[l].clearCache(i);j.clearData(l,o,m);j.changed()},setData:function(l,o,m,k,n){l=[l,o,m].join("|")+"Data";
o=a(i[l])||{};if(n===undefined||n===null)delete o[k];else o[k]=n;i[l]=JSON.stringify(o);return n},getData:function(l,o,m,k){l=[l,o,m].join("|")+"Data";return(l=a(i[l])||{})?l[k]:null},clearData:function(l,o,m){l=[l,o,m].join("|")+"Data";delete i[l]},getService:function(l,o,m){var k=a(i.serviceCache),n,q;if(k)for(n=0;q=k[n];n++)if(e(q,l,o,m))return q;return null},changed:function(){i.accountChanged=(new Date).getTime();opener&&!opener.closed&&c.pub("accountsChanged",null,opener);c.pub("accountsChanged")},
onChange:function(l){var o=i.accountChanged;window.addEventListener("storage",function(){i.accountChanged!==o&&l()},false);c.sub("accountsChanged",l)}},memory:{accounts:function(){},changed:function(){i.accountChanged=(new Date).getTime();opener&&c.pub("accountsChanged",null,opener);c.pub("accountsChanged")},onChange:function(l){c.sub("accountsChanged",l)}}}[b.type];g.update=function(l){j.update(l)};g.remove=function(l,o,m){j.remove(l,o,m)};g.fetch=function(l,o){j.fetch(l,o)};g.getService=function(l,
o,m){return j.getService(l,o,m)};g.clear=function(){delete i.accountCache;delete i.serviceCache};g.setData=function(l,o,m,k,n){return j.setData(l,o,m,k,n)};g.getData=function(l,o,m,k){return j.getData(l,o,m,k)};g.clearData=function(l,o,m){return j.clearData(l,o,m)};g.changed=function(){return j.changed()};g.onChange=function(l){return j.onChange(l||h)};return g});
-define("oauth",["accounts"],function(b){var c,f,d=0;window.addEventListener("message",function(e){var a;try{a=JSON.parse(e.data)}catch(g){return}if(a.target){if(a.target==="oauth_success"&&a.account){e=true;b.update(a.account)}else e=false;f=null;if(c){c(e);c=null}}},false);return function(e,a,g){if(g)c=g;g=location.protocol+"//"+location.host+"/0.3.6/auth.html";var h=(new Date).getTime();if(f&&f.closed)f=null;if(h>d+4E3){d=h;e=g+"?domain="+e+(a?"&forceLogin=1":"");try{f=window.open(e,"ffshareOAuth",
+define("oauth",["accounts"],function(b){var c,f,d=0;window.addEventListener("message",function(e){var a;try{a=JSON.parse(e.data)}catch(g){return}if(a.target){if(a.target==="oauth_success"&&a.account){e=true;b.update(a.account)}else e=false;f=null;if(c){c(e);c=null}}},false);return function(e,a,g){if(g)c=g;g=location.protocol+"//"+location.host+"/0.3.7/auth.html";var h=(new Date).getTime();if(f&&f.closed)f=null;if(h>d+4E3){d=h;e=g+"?domain="+e+(a?"&forceLogin=1":"");try{f=window.open(e,"ffshareOAuth",
"dialog=yes, modal=yes, width=900, height=500, scrollbars=yes");f.focus()}catch(i){window.location=e+"&end_point_success="+encodeURI(window.location)}}else f&&f.focus()}});define("blade/array",[],function(){var b=Object.prototype.toString,c=Array.prototype.slice;return{is:function(f){return b.call(f)==="[object Array]"},to:function(){return[].concat(c.call(arguments,0))}}});
define("blade/url",["./array"],function(b){var c=Object.prototype.toString;return{objectToQuery:function(f){var d=encodeURIComponent,e=[],a={},g,h,i,j;for(g in f)if(f.hasOwnProperty(g)){h=f[g];if(h!==a[g]){i=d(g)+"=";if(b.is(h))for(j=0;j<h.length;j++)e.push(i+d(h[j]));else e.push(i+d(h))}}return e.join("&")},queryToObject:function(f){var d={};f=f.split("&");var e=decodeURIComponent,a,g,h;f.forEach(function(i){if(i.length){a=i.split("=");g=e(a.shift());h=e(a.join("="));if(typeof d[g]==="string")d[g]=
[d[g]];if(c.call(d[g])==="[object Array]")d[g].push(h);else d[g]=h}});return d}}});
@@ -538,4 +538,5 @@ notifyCallbacks:function(){this.callbacks.forEach(f.bind(this,function(g){g(this
[],i="",j;if(this.contacts){g=g.split(",");g.forEach(f.bind(this,function(l){if(l=l.trim()){var o=this.findContact(l);if(o)h.push(o);else{j=new Error("Invalid Recipient");j.recipient=l;throw j;}}}))}if(h.length>0)i=h.join(", ");return i},formatContact:function(g){return g.displayName}});b.modelVersion="3";return b});
define("ContactsEmail",["blade/object","Contacts","jquery","accounts","blade/fn"],function(b,c,f,d,e){var a=/<([^>])+>/;return b(c,null,function(){return{formatContact:function(g){var h=g.displayName;if(g.email!==h)h+=" <"+g.email+">";return h},findContact:function(g){return g},contains:function(g){return this.contacts.some(function(h){return h.email===g})},incorporate:function(g){var h=this.svcAccount,i=[];g.split(",").forEach(e.bind(this,function(j){j=j.trim();var l=a.exec(j);j=l&&l[1]||j;this.contains(j)||
i.push({displayName:j,email:j})}));if(i.length){g=d.getData(h.domain,h.userid,h.username,"enteredContacts")||[];g=g.concat(i);d.setData(h.domain,h.userid,h.username,"enteredContacts",g);this.contacts=this.contacts.concat(i);this.toStore({list:this.contacts})}},getFormattedContacts:function(g){var h=[],i=this.svcAccount;i=d.getData(i.domain,i.userid,i.username,"enteredContacts");g.forEach(function(j){j.emails&&j.emails.length&&j.emails.forEach(function(l){h.push({displayName:j.displayName?j.displayName:
-l.value,email:l.value})})});if(i)h=h.concat(i);return h}}})});define("ContactsTwitter",["blade/object","Contacts","jquery"],function(b,c){var f=/\@(\S+)/;return b(c,null,function(){return{formatContact:function(d){return"@"+d.username},findContact:function(d){var e=f.exec(d),a="",g=e&&e[1]||d;if(g)(this.contacts||[]).some(function(h){if(h.username===g){a=h.userid;return true}return false});return a}}})});
+define("ContactsLinkedIn",["blade/object","Contacts"],function(b,c){return b(c,null,function(f){return{findContact:function(d){return d==="connections-only"?d:f(this,"findContact",arguments)}}})});
View
0  ....6/play/designs/sidebar/js/jquery.textOverflow.js → web/0.3.7/share/panel/js/jquery.textOverflow.js
File renamed without changes
View
0  ...3.6/share/panel/scripts/widgets/AccountPanel.html → ...3.7/share/panel/scripts/widgets/AccountPanel.html
File renamed without changes
View
0  ...0.3.6/share/panel/scripts/widgets/AccountPanel.js → ...0.3.7/share/panel/scripts/widgets/AccountPanel.js
File renamed without changes
View
0  ...are/panel/scripts/widgets/AccountPanelFaceBook.js → ...are/panel/scripts/widgets/AccountPanelFaceBook.js
File renamed without changes
View
0  ...are/panel/scripts/widgets/AccountPanelLinkedIn.js → ...are/panel/scripts/widgets/AccountPanelLinkedIn.js
File renamed without changes
View
0  ...0.3.6/share/panel/scripts/widgets/DebugPanel.html → ...0.3.7/share/panel/scripts/widgets/DebugPanel.html
File renamed without changes
View
0  web/0.3.6/share/panel/scripts/widgets/DebugPanel.js → web/0.3.7/share/panel/scripts/widgets/DebugPanel.js
File renamed without changes
View
0  web/0.3.6/share/panel/scripts/widgets/PageInfo.html → web/0.3.7/share/panel/scripts/widgets/PageInfo.html
File renamed without changes
View
0  web/0.3.6/share/panel/scripts/widgets/PageInfo.js → web/0.3.7/share/panel/scripts/widgets/PageInfo.js
File renamed without changes
View
0  web/0.3.6/share/panel/scripts/widgets/jigFuncs.js → web/0.3.7/share/panel/scripts/widgets/jigFuncs.js
File renamed without changes
View
0  web/0.3.6/share/panel/style.css → web/0.3.7/share/panel/style.css
File renamed without changes
View
0  web/0.3.6/share/share.css → web/0.3.7/share/share.css
File renamed without changes
View
0  web/0.3.6/share/testframe.html → web/0.3.7/share/testframe.html
File renamed without changes
View
6 web/0.3.6/stats/index.html → web/0.3.7/stats/index.html
@@ -3,9 +3,9 @@
<head>
<title>Share History</title>
- <script src="/0.3.6/scripts/requireplugins-jquery.js" charset="utf-8"></script>
- <script src="/0.3.6/scripts/protovis/protovis-r3.2.js"></script>
- <script>require(["/0.3.6/stats/index.js"]);</script>
+ <script src="/0.3.7/scripts/requireplugins-jquery.js" charset="utf-8"></script>
+ <script src="/0.3.7/scripts/protovis/protovis-r3.2.js"></script>
+ <script>require(["/0.3.7/stats/index.js"]);</script>
<style type='text/css'>
.wrapper{
View
0  web/0.3.6/stats/index.js → web/0.3.7/stats/index.js
File renamed without changes
View
0  web/0.3.6/style.css → web/0.3.7/style.css
File renamed without changes
View
47 web/dev/scripts/ContactsLinkedIn.js
@@ -0,0 +1,47 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Raindrop.
+ *
+ * The Initial Developer of the Original Code is
+ * Mozilla Messaging, Inc..
+ * Portions created by the Initial Developer are Copyright (C) 2009
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * */
+
+/*jslint indent: 2, regexp: false */
+/*global define: false */
+"use strict";
+
+define([ 'blade/object', 'Contacts'],
+function (object, Contacts) {
+
+ /**
+ * Overrides the formatting of contacts and converting
+ * one of those formatted contacts into a user ID. Allow
+ * for the special 'connections-only' value.
+ */
+ return object(Contacts, null, function (parent) {
+ return {
+ findContact: function (to) {
+ if (to === 'connections-only') {
+ return to;
+ } else {
+ return parent(this, 'findContact', arguments);
+ }
+ }
+ };
+ });
+});
View
3  web/dev/scripts/services.js
@@ -260,7 +260,8 @@ function (object, storage) {
return 'http://linkedin.com/' + account.username;
},
overlays: {
- 'widgets/AccountPanel': 'widgets/AccountPanelLinkedIn'
+ 'widgets/AccountPanel': 'widgets/AccountPanelLinkedIn',
+ 'Contacts': 'ContactsLinkedIn'
}
})
},
View
3  web/dev/share/panel/build.js
@@ -6,7 +6,8 @@
"widgets": "../share/panel/scripts/widgets"
},
name: "index",
- include: ['widgets/AccountPanelLinkedIn', 'widgets/AccountPanelFaceBook', 'ContactsEmail', 'ContactsTwitter'],
+ include: ['widgets/AccountPanelLinkedIn', 'widgets/AccountPanelFaceBook',
+ 'ContactsEmail', 'ContactsTwitter', 'ContactsLinkedIn'],
exclude: ['jquery', 'require/text'],
out: './index.js'
})
Please sign in to comment.
Something went wrong with that request. Please try again.