Commit Graph

190 Commits

Author SHA1 Message Date
Sarven Capadisli
1ddf69f30e Updated SubmitOnReturn 2009-10-30 14:31:57 +01:00
Sarven Capadisli
53e91f22d2 Updated NoticeDataAttach 2009-10-30 14:16:38 +01:00
Sarven Capadisli
b55b2fa7d0 Updated NoticeAttachments 2009-10-30 14:02:51 +01:00
Sarven Capadisli
0e5cf9b3b4 Missing : 2009-10-30 13:56:53 +01:00
Sarven Capadisli
ad759b2bc8 Updated NoticeReply and NoticeReplySet 2009-10-30 13:56:01 +01:00
Sarven Capadisli
5a48a387fc Updated form_notice 2009-10-30 13:15:11 +01:00
Sarven Capadisli
a12133258a Refactored XHR forms:
.form_user_subscribe
.form_user_unsubscribe
.form_favor
.form_disfavor
.form_group_join
.form_group_leave
.form_user_nudge

Using FormXHR()
2009-10-30 12:40:08 +01:00
Sarven Capadisli
f0abc0fe15 Updated bookmarklet. Created its own action 2009-10-29 13:18:51 +01:00
Evan Prodromou
a08c76a434 Merge branch '0.9.x' of git@gitorious.org:laconica/mainline into 0.9.x
Conflicts:
	classes/laconica.ini
2009-08-27 14:52:32 -07:00
Evan Prodromou
5d09b6b3f0 Merge branch '0.8.x' into 0.9.x
Conflicts:
	EVENTS.txt
	actions/finishremotesubscribe.php
	actions/postnotice.php
	actions/public.php
	actions/remotesubscribe.php
	actions/showstream.php
	actions/updateprofile.php
	actions/userauthorization.php
	classes/laconica.ini
	lib/common.php
	lib/oauthstore.php
	lib/omb.php
2009-08-27 11:16:45 -07:00
Craig Andrews
3e362233ee Merge commit 'laconica/0.8.x' into 0.9.x 2009-08-26 21:56:59 -04:00
Evan Prodromou
e3a53251c0 last scrub of Laconica -> StatusNet 2009-08-26 03:33:43 -04:00
Evan Prodromou
3567b9d708 global search and replace for laconica -> statusnet 2009-08-25 18:53:24 -04:00
Sarven Capadisli
70ef9d89fa Updated rgb2hex() to handle IE. It turns out that jQuery is giving hex
to IE and RGB to Firefox, Opera, Safari. Fun.
2009-08-25 22:47:54 +00:00
Evan Prodromou
1ee7d0ab55 update Laconica to StatusNet in js code 2009-08-25 18:40:12 -04:00
Evan Prodromou
b2664e1ae2 Merge branch '0.8.x' into 0.9.x
Conflicts:
	actions/updateprofile.php
	actions/userauthorization.php
	classes/User_group.php
	index.php
	install.php
	lib/accountsettingsaction.php
	lib/logingroupnav.php
2009-08-21 15:42:11 -04:00
Evan Prodromou
6dcded4129 counter in notice/message form uses global variable for max length 2009-08-21 07:22:53 -04:00
brion
84227dd4e1 Use spinner icon while performing AJAX submissions of favorite/unfavorite button so there's some visual feedback that something's happening. 2009-08-16 20:01:56 -04:00
Jeffery To
a459313e10 Updated Jcrop to 0.9.8 (avatar cropping wasn't working in IE7 with 0.9.5) 2009-08-11 20:29:45 +08:00
brion
a1a97930f3 Workaround for bug 1317 '"What's up" textarea on iPhone missing proper submit button'
http://laconi.ca/trac/ticket/1317

Mobile Safari shows a 'return' button for making newlines in a <textarea> where it would show a submit button for plain <input> text fields...
However there's a keydown event handler which is supposed to detect hitting enter and submit the form for us. This didn't work on Mobile Safari because it was checking of 13 ("\r") but the iPhone sends us char 10 ("\n") here. Changed to accept both, so we now submit on hitting 'return' on iPhone.

Note: I also added a blur() to move focus out of the textarea, which closes the on-screen keyboard. It will also take focus out of the textarea on other platforms, but this is probably the right thing -- the same thing happens when you push the "send" button after all.

Also note: unfortunately the layout right now looks pretty awful generally while editing on the iPhone; you can't see the send button or character counter while typing at the default zoom, and it doesn't zoom out after you submit so you can't really see where your message is going. This should be dealt with in general by fixing up the mobile skin variant...
2009-08-10 11:58:55 -04:00
brion
c6d2e54a71 Throttles updating of the character counter to reduce the performance impact on typing, especially on slower devices (mobiles, netbooks).
http://laconi.ca/trac/ticket/1462
2009-08-08 21:50:31 -04:00
Sarven Capadisli
534d0d804c Fix for removing the first occurance of the duplicate nickname in
textarea when NoticeReply() is used.
2009-08-08 10:44:28 +00:00
Tom Adams
b2e9d23b84 Set counter text only when it differs from the new remaining count.
This speeds up keyboard navigation around the textarea field.
2009-08-06 23:17:23 +01:00
Sarven Capadisli
557e214ce9 Refactored rgb2hex 2009-08-04 12:26:29 -04:00
Sarven Capadisli
3a6e7d68fc Ticket 1758 Multiple replies in web interface on "profile" page
appends own username
2009-08-04 15:54:02 +00:00
Sarven Capadisli
d0a020dd4e Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-08-04 15:53:15 +00:00
Tom Adams
ffa1d662a7 Didn't test that JS in IE. Revert a little. 2009-08-04 16:15:36 +01:00
Tom Adams
39c420b51f Set focus to end of field. 2009-08-04 09:22:37 +01:00
Tom Adams
2b00990d27 Prepend replyto string to message, don't destroy user input! 2009-08-04 01:58:45 +01:00
Tom Adams
20b2540779 Only warn when chars remaining < 0, not <= 0. 2009-08-04 01:24:50 +01:00
Sarven Capadisli
5f3af3e121 Added credit to rgb2hex() author 2009-07-31 19:31:23 +00:00
Sarven Capadisli
80ad02610a Removed default values from <input>s. JavaScript will now get the
colours from the theme. This approach removes data that was
previously available in HTML. It was only necessary if the user wanted
to know the site's default values.
2009-07-30 20:44:51 +00:00
Sarven Capadisli
0b44b252a0 Updated attachment view position. It is now closer to top. 2009-07-15 19:53:24 +00:00
Sarven Capadisli
be0b149517 Updated max-width values for attachment view 2009-07-09 17:01:45 +00:00
Robin Millette
be8d77c923 Trac #1689: inreplyto hidden value doesn't get cleared after a successful submit (javascript fix) 2009-07-07 23:27:34 -04:00
Sarven Capadisli
bb404c9be2 Disabled textarea focus for conversation page since most entrances to
this page is with 'in context' link (which includes a fragment
identifier)
2009-07-02 21:29:03 +00:00
Sarven Capadisli
e39b2378be Removed extra slash 2009-07-01 23:18:35 +00:00
Sarven Capadisli
c832888234 Centres the overlay container as best as it can (given that we can't
calculate the height of the XHR response container without actually
loading it into the DOM).
2009-07-01 20:57:21 +00:00
Evan Prodromou
89240cee95 update joverlay to latest version 2009-07-01 13:46:54 -04:00
Evan Prodromou
8d9827c9af add the readable source for joverlay 2009-07-01 13:46:32 -04:00
Evan Prodromou
67e3bf0f05 remove extra / in attachment code 2009-07-01 13:43:36 -04:00
Sarven Capadisli
ccfe0e018d Updated jOverlay version and set max-width for images 2009-06-30 03:05:45 +00:00
Sarven Capadisli
60b47d8797 Added background-attachment:fixed for userdesigns 2009-06-26 15:20:22 +00:00
Sarven Capadisli
9fc8ad4531 Removed redundant selector from JS 2009-06-26 15:10:04 +00:00
Sarven Capadisli
74d9b0f820 Removed unnecessary assignment to variable for background image on 2009-06-26 05:38:43 +00:00
Sarven Capadisli
6a0571d51b Added functionality to remove the notice data attachment 2009-06-25 21:01:07 +00:00
Sarven Capadisli
1e17f1256a Shows the selected file attachment under the form_notice textarea 2009-06-25 16:55:19 +00:00
Sarven Capadisli
0c5c834827 Slightly more specific selector. Looks only in the notices in the
content area
2009-06-25 03:46:52 +00:00
Sarven Capadisli
eb40fbc17a On XHR notice post, calls NoticeAttachment to trigger thumbnail and
attachment views
2009-06-23 17:05:55 +00:00
Sarven Capadisli
77185dd4c6 A little more specific selector for notice reply 2009-06-18 01:10:48 +00:00