Commit Graph

223 Commits

Author SHA1 Message Date
Sarven Capadisli
7164a53f85 Bind submit to a form by SN.U.FormXHR() only once. 2009-12-01 12:11:20 -05:00
Sarven Capadisli
11d9c1955c Refactored NoticeReply() so that a notice item can use NoticeReplyTo
instead of rebinding all of the notice replies again.
2009-12-01 12:10:54 -05:00
Sarven Capadisli
1ec0950006 Call FormXHR (single) instead of NoticeForm (all) 2009-12-01 12:10:39 -05:00
Sarven Capadisli
b40948a700 Removed call to NewDirectMessage() until IE return is fixed i.e.,
<script> maxLength
2009-11-20 04:02:53 +00:00
Craig Andrews
62b66d12d6 Use the browser's geolocation API to set the location on the notice form 2009-11-19 15:17:58 -05:00
Craig Andrews
8628db5208 Add geometa library, and include it.
Geometa provides a fallback for W3C geolocation so that Google Gears or Google's Client Location service can also be used
2009-11-19 15:17:57 -05:00
Sarven Capadisli
dedacbe66b Separated NoticeFavor and calling it from FormNoticeXHR success 2009-11-13 20:56:55 +00:00
Sarven Capadisli
095cf8ebf1 Separated Init functions to NoticeForm, Notices, EvenActions. 2009-11-11 18:47:14 +00:00
Sarven Capadisli
b8b4d3d2f2 Separated actions that's particular to the notice stream pages into
its own function. It can be reused whenever the common behaviours
needs to be initialized.
2009-11-11 18:20:58 +00:00
Sarven Capadisli
4f461bc5c3 Updated identica badge - contributed by Will Daniels
http://identi.ca/wdaniels
2009-11-04 19:03:05 +00:00
Sarven Capadisli
1b00cdf124 Binding keyup/keydown only once for .form_notice 2009-11-02 17:56:55 +00:00
Sarven Capadisli
4aa6deb8ab Make sure to call FormNoticeEnhancements with a new copy of the form
object
2009-11-02 17:19:08 +00:00
Sarven Capadisli
b579a306c7 Ran through JSLint 2009-11-02 17:06:52 +00:00
Sarven Capadisli
c3cac436e2 Fixed object string name and order for submitonreturn actions 2009-11-02 16:55:47 +00:00
Sarven Capadisli
8d35831b54 Fixed object string name 2009-11-02 16:42:50 +00:00
Sarven Capadisli
ebd604cf6b Minor 2009-11-02 13:28:14 +00:00
Sarven Capadisli
b1367ae8da Updated button.close styles 2009-11-01 20:53:25 +01:00
Sarven Capadisli
cd4c1267ff Use FormNoticeEnhancements instead of Counter 2009-10-31 20:14:57 +01:00
Sarven Capadisli
8a333805df Updated counter, submitonreturn to be reused by any form. Created
FormNoticeEnhancements to call those at one go for any form.
2009-10-31 18:55:13 +01:00
Sarven Capadisli
dd50368cb2 Updated FormNoticeXHR to allow any form_notice as input (e.g., reused
in XHR direct message)
2009-10-31 18:01:19 +01:00
Sarven Capadisli
f9bb95174b Added XHR for direct messages. 2009-10-31 16:14:38 +01:00
Sarven Capadisli
900a0e2838 Running through importNode before checking for id 2009-10-30 21:11:56 +00:00
Sarven Capadisli
87781b85c4 Fixed Nudge XHR 2009-10-30 16:06:11 +00:00
Sarven Capadisli
93506faaa6 Minor 2009-10-30 16:02:22 +00:00
Sarven Capadisli
e134f7ceb1 Using document importNode otherwise IE pukes 2009-10-30 15:59:24 +00:00
Sarven Capadisli
73e8c44240 IE doesn't like last comma. I understand. 2009-10-30 15:47:32 +00:00
Sarven Capadisli
873ecb81e8 Remove attachment view after XHR notice submit 2009-10-30 15:41:52 +00:00
Sarven Capadisli
cb8160dd8c Added missing dataType line for ajaxForm 2009-10-30 16:21:03 +01:00
Sarven Capadisli
4c94eda3c8 Added Init comment 2009-10-30 15:59:17 +01:00
Sarven Capadisli
728ead7992 Resetting counter after a notice submit 2009-10-30 15:51:52 +01:00
Sarven Capadisli
d16a989f49 Updated author documentation 2009-10-30 15:49:47 +01:00
Sarven Capadisli
02240a890f Only run the scripts if the user is logged in 2009-10-30 15:48:35 +01:00
Sarven Capadisli
4024a5ee65 Updated notice form counter 2009-10-30 15:43:41 +01:00
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