Commit Graph

96 Commits

Author SHA1 Message Date
Evan Prodromou
c0853e3040 Merge branch '0.7.x' into 0.8.x 2009-06-10 09:09:57 -07:00
Sarven Capadisli
d9e5cda35d Removed 404 test 2009-06-09 00:09:44 +00:00
Sarven Capadisli
67cb99c442 Clearing notice_data-test and resetting notice_text-count if the
notice XHR. Removed hanging text URL from previous commit.
2009-06-08 20:52:27 +00:00
Sarven Capadisli
c5378beb83 Revert "Clearing notice_data-test and resetting notice_text-count if the notice XHR"
This reverts commit b20ac7a1fe.
2009-06-08 20:50:13 +00:00
Sarven Capadisli
b20ac7a1fe Clearing notice_data-test and resetting notice_text-count if the notice XHR
response is empty and have a 20x,30x HTTP status
2009-06-08 20:45:44 +00:00
Sarven Capadisli
a2ca9d96d2 Temporary workaround for silenting mysterious 200 OK error for XHR
notice posts.

The bug is sometimes reproduceable by sending a notice that includes
"@someusernamethatdoesntexist".

This patch doesn't throw alerts to user if server doesn't return with
an XHR response but HTTP is one of 20x, 30x.
2009-06-08 18:55:23 +00:00
Sarven Capadisli
b708b81065 Init notice_data-attach UI for form_notice 2009-06-05 00:00:04 -04:00
Robin Millette
fe38827a76 Remove js that crept back in, added another error string. 2009-06-01 17:40:53 -04:00
Robin Millette
0cbd72e092 Re-added some javascript to toggle upload field. 2009-06-01 15:52:52 -04:00
Sarven Capadisli
a39fa0ce2b Unnecessary JavaScript for notice form attachment 2009-06-01 15:20:12 -04:00
Robin Millette
ebeb5f744c Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into upload
Conflicts:

	js/util.js
	lib/attachmentlist.php
2009-05-31 17:12:04 -04:00
Sarven Capadisli
f56f2f52e7 Some cross-browser updates for conversation UI 2009-05-30 19:42:15 +00:00
Sarven Capadisli
6612993c1d Prevents regular hovers over attachment anchors from making a GET
request for the thumbnail. There is 500 ms delay while on mouseover
state before going ahead with the request. Fun.
2009-05-28 23:16:25 +00:00
Sarven Capadisli
f0dc97e4da Smarter call for hover events. It now makes a new GET for attachment
thumbnails on mouseover only if it hasn't been requested before on
that notice attachment.
2009-05-28 22:59:22 +00:00
Sarven Capadisli
60ac9bc6fd Bunch of UI fixes/improvements for attachments (hover, overlay, notice view,
clip)
2009-05-27 19:43:43 +00:00
Robin Millette
af700ea277 Let's you upload a file with a notice and have it shown with other attachments. 2009-05-26 21:20:04 -04:00
Sarven Capadisli
3877324fd8 Updated JS to show/hide attachment thumbnails with timers. Minor
markup changes.
2009-05-25 17:30:57 -04:00
Sarven Capadisli
01dad57298 Markup cleanup for attachments 2009-05-25 15:53:19 -04:00
Sarven Capadisli
7923e84fba Fixed URL for attachment thumbnail and XHR 2009-05-25 18:54:45 +00:00
Robin Millette
84edf12791 Display thumbnail on hover over links in notices when appropriate. 2009-05-25 11:13:13 -04:00
Robin Millette
5f3acc2527 Removed big clip and replaced with smaller inline one next to each URL (in a notice) that's actually an attachment. Overlay (popup) on click. 2009-05-24 21:13:42 -04:00
Robin Millette
b0a891e92b Made ajax link to show attachment popups relative in util.js 2009-05-24 18:40:11 -04:00
Robin Millette
8c2473a227 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-05-24 04:44:52 -04:00
Robin Millette
b5ac6e31f2 Rearranged attachment info to only appear on each applicable notice page and thru an ajax popup. 2009-05-24 04:43:34 -04:00
Sarven Capadisli
7e0a314768 Using event bubbling instead of event handling thanks to Ara
Pehlivanian http://arapehlivanian.com
2009-05-24 01:38:11 +00:00
Sarven Capadisli
ef2a5c794e Fixed in reply to JS link for Conversation page. Handles nested
notices better.
2009-05-22 16:19:14 +00:00
Robin Millette
fecb8c706d Attachments and their list now provide "ajax" view. Also added a few sidebars relating tags and attachments. 2009-05-15 15:04:58 -04:00
Sarven Capadisli
deb07487bd 60 seconds hard timeout for XHR notice posting. JavaScript throws an
alert message to the client if the server doesn't respond back in any
way.
2009-05-01 17:00:36 +00:00
Evan Prodromou
7405d9dfa6 Don't add a node if it's already there
Try not to double-add a node on Ajax submit. Normally not a big deal,
but may happen if the CometPlugin (or in the future Strophe or other
auto-update plugins) is enabled.
2009-04-26 21:16:09 -04:00
Sarven Capadisli
12867d114d UI for server errors. 2009-04-24 17:22:43 +00:00
Sarven Capadisli
83ba1b0b5e The real 7 seconds (7000) timeout for XHR posting. 2009-04-23 21:51:49 +00:00
Sarven Capadisli
2bdf192dab XHR alerts for server-side errors: 404, 502, 503, 504. There is also a
7 second timeout if the server doesn't get back with a response.
2009-04-23 21:35:21 +00:00
Sarven Capadisli
63c52784c7 Allowing XHR for Inbox/Outbox pages. 2009-04-23 02:22:00 +00:00
Sarven Capadisli
81714c6c31 counter() after val() reset to avoid (weird) bug. 2009-04-17 20:14:06 +00:00
Sarven Capadisli
b22f446df2 Clear notice char counter for direct messages as well. 2009-04-17 19:51:20 +00:00
Sarven Capadisli
c3a44d2ab9 form_notice textarea is cleared on successful direct message post.
Disabled notice posting with XHR on Inbox and Outbox pages. This will
be revisited in 0.8.x.
2009-04-16 21:57:42 +00:00
Sarven Capadisli
90e5f01f8a Processing indicator (aka spinner thingy) for form_notice submits 2009-03-25 22:53:21 +00:00
Sarven Capadisli
e2d445abbb Uses regular HTTP GET to new notice replyto page instead of JS when
notice_data-text is available.
2009-01-28 15:25:50 +00:00
sarven
658eebd977 Calling NoticeReply() after a new notice is posted. 2009-01-23 02:49:48 +00:00
sarven
0daf242100 Using util.js to set onclick reply anchor 2009-01-23 02:43:18 +00:00
sarven
785ffd5b9b Populat notices and some css cleanup 2009-01-22 21:03:59 +00:00
sarven
a330bdac62 Moved nudge response from util.php to nudge.php
Adjusted some CSS
2009-01-22 06:33:38 +00:00
Evan Prodromou
0824bb2e1d Merge branch 'master' into groups 2009-01-21 11:52:06 -05:00
Evan Prodromou
4491e82762 Add actions for joining or leaving a group, and fixup JS to match 2009-01-21 11:47:23 -05:00
sarven
db4993970e (Un)subscribe AJAX forms 2009-01-21 04:08:05 +00:00
sarven
4b1cc73a58 Favor/Disfavor form @class
Created icon, and add style
JS selector change
Fixed return actions
2009-01-18 03:12:39 +00:00
sarven
102028fb48 In reply to @id 2009-01-17 03:03:53 +00:00
sarven
e34efca7f3 Update to notice form character count warning 2009-01-16 18:14:20 +00:00
sarven
877327a18e Update to XHR post notice 2009-01-16 17:02:46 +00:00
Sarven Capadisli
946eee4256 Direct message XHR response fix for IE and minor tweaks
darcs-hash:20081216071818-efd22-d2e59bb60a236538452be356f38d0974f35f0107.gz
2008-12-16 02:18:18 -05:00