Sarven Capadisli
4484c63ff4
Fix for XHR more text behaviour on conversation pages
2010-03-26 14:57:33 +01:00
Sarven Capadisli
72cf8e712d
Added processing indicator for more anchor
2010-03-25 22:18:43 +01:00
Brion Vibber
c11064a539
Updated 'more' anchor for attachments to do an XHR GET
...
Conflicts:
lib/attachmentlist.php
plugins/OStatus/classes/Ostatus_profile.php
Merge tried to delete things that it seems it shouldn't, very confusing order. Hope rest of the cherry-picking isn't a problem.
2010-03-25 14:15:54 -07:00
Sarven Capadisli
7fc8b6af4a
Removed unnecessary form_id. Using jQuery .find() instead of
...
constructing the selector.
2010-03-25 21:48:49 +01:00
Sarven Capadisli
f4339ddb7d
Added extra condition to focusing on notice form on page load. If the
...
window location contains a fragument identifier, it will skip focus
and do what the UA does natively.
2010-03-25 21:46:49 +01:00
Brion Vibber
79ffebb51b
OStatus: save file records for enclosures
...
Also stripping id from foreign HTML messages (could interfere with UI) and disabled failing attachment popup for a.attachment links that don't have a proper id, so you can click through instead of getting an error.
Issues:
* any other links aren't marked and saved
* inconsistent behavior between local and remote attachments (local displays in lightbox, remote doesn't)
* if the enclosure'd object isn't referenced in the content, you won't be offered a link to it in our UI
2010-03-02 16:36:08 -08:00
Sarven Capadisli
9f94d6defa
Changed the geo location cookie Expire to Session.
2010-03-02 19:15:24 -05:00
Sarven Capadisli
a0f6977baa
Fixes replyto JS after the upgrade from jQuery 1.4.2
2010-02-25 14:51:23 +01:00
Sarven Capadisli
b54480247a
Updated jQuery JavaScript Library from v1.4.1 to v1.4.2
2010-02-25 14:50:40 +01:00
Sarven Capadisli
b782225ade
Revert "Updated jQuery Form Plugin from v2.17 to v2.36"
...
This reverts commit 72037d6143
.
Until some of the XHR notice related bugs are sorted out in Opera and
Chromium, reverting back to the previous version. It throws slightly
less errors. XHR file attachments is still a bit problematic in
Opera 10.10/Ubuntu, Opera 10.10/Windows, and Chrome 4/Ubuntu. But this
revert will at least allow regular XHR notices to work okay in Opera
and Chromium.
Standards suck!
2010-02-25 00:10:36 +01:00
Sarven Capadisli
959171acac
Added a cookie for the nickname cookie for the login page and prefill
...
the input field.
2010-02-24 16:39:16 +01:00
Sarven Capadisli
1f45273d53
Moved StatusNetInstance into SN in util.js
2010-02-24 16:35:20 +01:00
Sarven Capadisli
2e258454f3
Minor optimization to only bind an hover event to the notice at hand.
2010-02-16 17:36:45 +01:00
Sarven Capadisli
3b8d060c29
Fix to allow any notice item with an attachment to use the overlay view
2010-02-16 17:09:34 +01:00
Sarven Capadisli
dcd9b2a405
Refactored repeat confirmation dialog. Also fixes dialog skipping.
2010-02-10 11:16:27 +01:00
Sarven Capadisli
d73746641b
Reusing fixed selector name for 'processing' in util.js
2010-02-01 15:13:54 +01:00
Sarven Capadisli
91b99863fa
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-01-31 22:42:50 +00:00
Sarven Capadisli
9f36c10001
Updated XHR binded events to work better in jQuery 1.4.1. Using
...
.live() for event delegation instead of jQuery.data() and checking to
see if an element was previously binded.
2010-01-31 22:37:22 +00:00
Sarven Capadisli
72037d6143
Updated jQuery Form Plugin from v2.17 to v2.36
2010-01-31 22:34:16 +00:00
Sarven Capadisli
99a7dd64f6
Updated jQuery JavaScript Library from v1.3.2 to v1.4.1
2010-01-31 22:33:11 +00:00
Sarven Capadisli
4d0ee6a41f
Globalized form notice data geo values
2010-01-30 15:28:31 +01:00
Sarven Capadisli
aa3170cf34
Using jQuery chaining in FormNoticeXHR
2010-01-30 15:19:13 +01:00
Sarven Capadisli
bb0bf635d8
Using form object instead of form_id and find(). Slightly faster and
...
easier to read.
2010-01-30 15:03:01 +01:00
Zach Copley
c2c262e4b4
Move faceboookapp.js to the Facebook plugin
2010-01-28 04:46:10 +00:00
Sarven Capadisli
d17b7fa19b
Setting the geo location cookie expire date far into the future: 2029 ;)
2010-01-26 01:58:10 +01:00
Sarven Capadisli
73f6250b9d
An update to geolocation cookie to use a single file and set the
...
expiry date to 30 days from now.
2010-01-25 14:55:04 +00:00
Sarven Capadisli
c367e09d11
Some JS cleaning up for NoticeLocationAttach (which fixes also fixes a
...
few bugs in WebKit)
2010-01-24 00:21:42 +01:00
Sarven Capadisli
f92a9dad8c
Moved farbtastic's stylesheet to use relative paths for its own images
2010-01-24 00:21:01 +01:00
Sarven Capadisli
940fc463c8
Took out focus out of textare when location share is enabled/disabled.
...
Also avoids the conflict with the URL fragment on the conversation page.
2010-01-24 00:20:48 +01:00
Sarven Capadisli
f043bc62a5
Added missing position paramater
2010-01-24 00:18:52 +01:00
Sarven Capadisli
68c864c95a
JSLinting on JSON
2010-01-24 00:18:39 +01:00
Sarven Capadisli
ab53a8704b
Some JSlint-ing
2010-01-24 00:18:05 +01:00
Sarven Capadisli
414c80a18d
Removed extra comma in object
2010-01-24 00:17:37 +01:00
Craig Andrews
fa218ec65d
Revert "Drop the Google Client API-based AJAX geolocation lookup shim -- it fails to ask for user permission, causing us quite a bit of difficulty."
...
This reverts commit 749b8b5b8c
.
2010-01-24 00:17:19 +01:00
Sarven Capadisli
8bf2a9046b
Fixed innerHTML problem in IE7 and 8 for badge script
2010-01-22 21:08:51 +01:00
Brion Vibber
4b0f953ccf
Quick hack to avoid breaking with geonames off when there's some old cookie state. This code's a little rough and tumble; any breakage halts JS execution and leaves the spinner going and no message submitted.
2010-01-21 16:30:03 -08:00
Sarven Capadisli
acc48289e5
Update geo location UI for notice form where the geo data info is only
...
visible on @title of the enable/disable button.
2010-01-14 01:48:57 +00:00
Sarven Capadisli
d84c33c328
Unchecks location sharing for geo location if it timesout
2010-01-13 15:51:32 +00:00
Sarven Capadisli
af97a14f7c
Timeout should be 10000, not 10
...
Revert "Unchecks location sharing for geo location if it timesout"
This reverts commit 8887d7a314
.
2010-01-13 15:50:45 +00:00
Sarven Capadisli
8887d7a314
Unchecks location sharing for geo location if it timesout
2010-01-13 15:48:26 +00:00
Sarven Capadisli
2000d2d36b
Added timeout error handling for geo location
2010-01-13 15:36:42 +00:00
Sarven Capadisli
9b2fdefe39
Using a JSON object for NoticeDataGeo text instead
2010-01-13 15:21:43 +00:00
Sarven Capadisli
70bdaeeb09
Explicitly reseting notice_in-reply-to value
2010-01-11 12:19:53 +00:00
Sarven Capadisli
8901e01692
Added i18n text for @title values in geo sharing actions
2010-01-08 18:07:02 +00:00
Sarven Capadisli
febe64625e
Focus on the notice textarea after share, minimize, close button actions
2010-01-08 16:51:18 +00:00
Sarven Capadisli
17913d4427
Makes sure that if geo location sharing is disabled, it doesn't use
...
the HTML output. If cookie is set, use those values for XHR notice post
2010-01-08 16:43:03 +00:00
Sarven Capadisli
064f13f3ab
Stores geo view's minimized state in a cookie
2010-01-08 14:23:37 +00:00
Sarven Capadisli
54c18e68da
Some code cleaning for geo UI
2010-01-08 13:58:23 +00:00
Sarven Capadisli
69f567c7be
Using cookies to minimize lookups to Geonames
2010-01-08 13:36:52 +00:00
Sarven Capadisli
835a3f1e53
Added minified version of json2.js to parse and stringify JSON objects
2010-01-08 13:21:55 +00:00