summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2010-09-02combine our standard scripts into one big scriptEvan Prodromou
2010-08-12TinyMCE: counter support (may not be 100% exact match to server-side count, ↵Brion Vibber
but there's already discrepencies due to URL shortening) Fix for bad char conversions also, caused short text to not be saved in some cases.
2010-07-29Initial fix for #2479: New post should be displayed on timeline only if it ↵Brion Vibber
belongs there (AJAX post) Previously we pushed out your latest post into the currently visible timeline regardless of whether it belonged there or not. This could be pretty confusing! Currently we don't have clearly machine-readable info on the page and returned notice HTML to determine whether it belongs, but we can do a couple checks easily which I've added: * public timeline (always show) * 'and friends' timeline (show for your own page only) * profile timeline (show for your own page only) Other places that should be added in the future: * group timelines if it's a group your posting to * tag timelines if the post contains the tag * reply & friends timelines for people you've mentioned Currently those aren't easy since the mention/group target links in the notice HTML are using the canonical form with user or group ID, while the available navigation links we can use to identify the current page use the names.
2010-06-23Fix for ticket http://status.net/open-source/issues/2380 "AutofocusZach Copley
shouldn't override scroll" -- Thanks @michaeltwofish!
2010-03-31Revert "Multiple file upload handling."Sarven Capadisli
This reverts commit 260f00d60bc83ac641d6fbe465e70aec33ccd9be. As mentioned in http://gitorious.org/statusnet/mainline/commit/260f00d60bc83ac641d6fbe465e70aec33ccd9be#comment_8367 Reverting this merge until the bugs are fixed and there is a general agreement on the need for this enhancement.
2010-03-26Multiple file upload handling.Nick Holliday
2010-03-26Fix for XHR more text behaviour on conversation pagesSarven Capadisli
2010-03-18Added processing indicator for more anchorSarven Capadisli
2010-03-18Updated 'more' anchor for attachments to do an XHR GETSarven Capadisli
2010-03-16Removed unnecessary form_id. Using jQuery .find() instead ofSarven Capadisli
constructing the selector.
2010-03-16Added extra condition to focusing on notice form on page load. If theSarven Capadisli
window location contains a fragument identifier, it will skip focus and do what the UA does natively.
2010-03-02OStatus: save file records for enclosuresBrion Vibber
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-02Changed the geo location cookie Expire to Session.Sarven Capadisli
2010-02-25Fixes replyto JS after the upgrade from jQuery 1.4.2Sarven Capadisli
2010-02-25Updated jQuery JavaScript Library from v1.4.1 to v1.4.2Sarven Capadisli
2010-02-25Revert "Updated jQuery Form Plugin from v2.17 to v2.36"Sarven Capadisli
This reverts commit 72037d61436978daa1edbd19d52b7e6fc6ae1fa8. 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-24Added a cookie for the nickname cookie for the login page and prefillSarven Capadisli
the input field.
2010-02-24Moved StatusNetInstance into SN in util.jsSarven Capadisli
2010-02-16Minor optimization to only bind an hover event to the notice at hand.Sarven Capadisli
2010-02-16Fix to allow any notice item with an attachment to use the overlay viewSarven Capadisli
2010-02-10Refactored repeat confirmation dialog. Also fixes dialog skipping.Sarven Capadisli
2010-02-01Reusing fixed selector name for 'processing' in util.jsSarven Capadisli
2010-01-31Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingSarven Capadisli
2010-01-31Updated XHR binded events to work better in jQuery 1.4.1. UsingSarven Capadisli
.live() for event delegation instead of jQuery.data() and checking to see if an element was previously binded.
2010-01-31Updated jQuery Form Plugin from v2.17 to v2.36Sarven Capadisli
2010-01-31Updated jQuery JavaScript Library from v1.3.2 to v1.4.1Sarven Capadisli
2010-01-30Globalized form notice data geo valuesSarven Capadisli
2010-01-30Using jQuery chaining in FormNoticeXHRSarven Capadisli
2010-01-30Using form object instead of form_id and find(). Slightly faster andSarven Capadisli
easier to read.
2010-01-28Move faceboookapp.js to the Facebook pluginZach Copley
2010-01-26Setting the geo location cookie expire date far into the future: 2029 ;)Sarven Capadisli
2010-01-25An update to geolocation cookie to use a single file and set theSarven Capadisli
expiry date to 30 days from now.
2010-01-24Some JS cleaning up for NoticeLocationAttach (which fixes also fixes aSarven Capadisli
few bugs in WebKit)
2010-01-24Moved farbtastic's stylesheet to use relative paths for its own imagesSarven Capadisli
2010-01-24Took out focus out of textare when location share is enabled/disabled.Sarven Capadisli
Also avoids the conflict with the URL fragment on the conversation page.
2010-01-24Added missing position paramaterSarven Capadisli
2010-01-24JSLinting on JSONSarven Capadisli
2010-01-24Some JSlint-ingSarven Capadisli
2010-01-24Removed extra comma in objectSarven Capadisli
2010-01-24Revert "Drop the Google Client API-based AJAX geolocation lookup shim -- it ↵Craig Andrews
fails to ask for user permission, causing us quite a bit of difficulty." This reverts commit 749b8b5b8ca4d1c39d350879aadddbdb9d8b71d5.
2010-01-22Fixed innerHTML problem in IE7 and 8 for badge scriptSarven Capadisli
2010-01-21Quick hack to avoid breaking with geonames off when there's some old cookie ↵Brion Vibber
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-14Update geo location UI for notice form where the geo data info is onlySarven Capadisli
visible on @title of the enable/disable button.
2010-01-13Unchecks location sharing for geo location if it timesoutSarven Capadisli
2010-01-13Timeout should be 10000, not 10Sarven Capadisli
Revert "Unchecks location sharing for geo location if it timesout" This reverts commit 8887d7a314bdbf4e4fc6ca26addf5ce28284d697.
2010-01-13Unchecks location sharing for geo location if it timesoutSarven Capadisli
2010-01-13Added timeout error handling for geo locationSarven Capadisli
2010-01-13Using a JSON object for NoticeDataGeo text insteadSarven Capadisli
2010-01-11Explicitly reseting notice_in-reply-to valueSarven Capadisli
2010-01-08Added i18n text for @title values in geo sharing actionsSarven Capadisli