Commit Graph

6616 Commits

Author SHA1 Message Date
Brion Vibber
50234be398 Fix regression in OpenID autosubmit page.
Since core JS loads were moved to the bottom, the JavaScript was being run before jQuery was loaded, so the onload event never got set. Moved it down to the scripts section.
2009-11-13 15:34:15 -08:00
Craig Andrews
c621a9db72 Fix to work with csarven's changes to util.js 2009-11-13 17:56:14 -05:00
Craig Andrews
acfa086d21 Resetup the ajaxification for replies and favors after inf. scrolling
Made the selector much more specific, so it only works on pages that have notices
2009-11-13 17:49:35 -05:00
Sarven Capadisli
eeae20c101 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-13 20:57:59 +00:00
Sarven Capadisli
dedacbe66b Separated NoticeFavor and calling it from FormNoticeXHR success 2009-11-13 20:56:55 +00:00
Siebrand Mazeland
8dcde1c3a8 Localisation updates from translatewiki.net (2009-11-13) 2009-11-13 21:48:04 +01:00
Sarven Capadisli
9a2a01c51e Rearranged selectors for processing style 2009-11-13 19:35:27 +00:00
Craig Andrews
5494eb6146 Refactor User_username object creation to reuse code 2009-11-13 13:11:28 -05:00
Craig Andrews
b9562cbb18 autoregister returns the new user on success (not just true) 2009-11-13 12:54:27 -05:00
Sarven Capadisli
e8e0cdb4d6 Added .processing styles for pagination 2009-11-13 13:21:16 +00:00
Sarven Capadisli
1bac324072 Moved class="pagination" to child element and removed element 2009-11-13 12:26:24 +00:00
Sarven Capadisli
12d3c44480 Added hAtom for profile and group lists 2009-11-13 12:13:38 +00:00
Siebrand Mazeland
21603f0225 Fix typo (!. -> !) 2009-11-13 11:28:54 +01:00
Craig Andrews
f60a55d9ec blasted, that should not be there 2009-11-12 20:15:10 -05:00
Craig Andrews
ed690615de Added a User_username table that links the external username with a StatusNet user_id
Added EmailAuthenticationPlugin
Added ReverseUsernameAuthenticationPlugin
Changed the StartChangePassword and EndChangePassword events to take a user, instead of a nickname
User::allowed_nickname was declared non-static, but used as if it was static, so I made the declaration static
2009-11-12 20:12:36 -05:00
Craig Andrews
cefbad0159 Also delete the OpenID provider data when a user is deleted 2009-11-12 20:12:35 -05:00
Siebrand Mazeland
c27dc71277 Localisation updates from translatewiki.net (2009-11-12) 2009-11-12 22:58:28 +01:00
Ciaran Gultnieks
d8296df5d7 A further change to the XRDS is required if 0.9.x is to be able to remote sub to a 0.8.x account, with the OpenID plugin enabled. 2009-11-12 20:57:09 +00:00
Brion Vibber
81fa515881 Fix index on notice for efficient querying of notice(s) by order for a profile.
Should resolve performance problem with Profile::getCurrentNotice()
2009-11-12 11:08:43 -08:00
Zach Copley
f7bc741e6d Merge branch '0.8.x'
* 0.8.x:
  Removed extra showScript() call at the bottom of the document. 0.8.x
  Removed old comments
  Disable debug mode (so there are no messages written to the javascript console)
  Resetup the ajaxification for replies and favors after inf. scrolling
  Refactored the favorite button ajaxification to a separate function
  Bug 1969: rebuild corrupted l10n files which caused all UI strings to be shown as nulls
2009-11-12 10:45:14 -08:00
Brion Vibber
d8fe5224cb Fix for bug 1974: drop unnecessary define_syslog_variables() call from common.php
The call was moved to this spot in commit 3ea1119e50 (previously init'd later in another func) but doesn't seem to be needed anyway. None of our code uses the variables that this function defines, just the constants -- which are already predefined without the call.

The function is deprecated in PHP 5.3 and gone in 6, so we may as well toss it now.
2009-11-12 09:02:00 -08:00
Ciaran Gultnieks
707efadbd4 Some more XRDS fixes. With this and the previous commit, remote subs seem to work. Otherwise they don't. 2009-11-12 14:46:16 +00:00
Ciaran Gultnieks
6e601c1171 Wrong XRDS service type for OMB was being supplied. Wrong since commit 54696f7c I think 2009-11-12 14:21:47 +00:00
Sarven Capadisli
3752c1fdce Removed extra showScript() call at the bottom of the document. 0.8.x
is using <head> for scripts whereas 0.9.x puts it before </body>. This
also fixes the duplicate posts
2009-11-12 10:37:43 +00:00
Sarven Capadisli
c28b9ce31a Removed old comments 2009-11-12 10:24:18 +00:00
Ciaran Gultnieks
15de8892f5 Badly formatted message in en_GB translation resulted in '%s and friends' being displayed 2009-11-12 10:08:01 +00:00
Ciaran Gultnieks
8109d39a56 Minor typo correction in log message. Seems trivial, unless you are trying to search the log for it. 2009-11-12 09:18:15 +00:00
Eric Helgeson
bd1c1fc137 Forgot closing tag... 2009-11-11 18:50:23 -05:00
Eric Helgeson
7efea1115f Ask users if they wish to send statistics to SNI, default is off.
Users may not know about this setting and are unaware they are sending stats.
This allows them to make that decision.
2009-11-11 18:45:21 -05:00
Craig Andrews
59e8896212 Add the [noticeid] to the end of text only jabber messages 2009-11-11 18:03:07 -05:00
Craig Andrews
074b9faee0 Remove alt text on avatar url (so pidgin doesn't show it)
surround notice_id with [], looks nicer
2009-11-11 18:00:58 -05:00
Craig Andrews
8a6590a7e8 initialize these variables before use to prevent warnings 2009-11-11 17:09:00 -05:00
Craig Andrews
23290f746f Do not show the URL shortener selection drop down if no shorteners are available 2009-11-11 17:05:24 -05:00
Craig Andrews
1c4bacf7bc Remove registerUrlShortener() (no longer used) 2009-11-11 16:51:10 -05:00
Craig Andrews
4f1b7fe575 Disable debug mode (so there are no messages written to the javascript console) 2009-11-11 15:39:23 -05:00
Craig Andrews
03022c6e60 Resetup the ajaxification for replies and favors after inf. scrolling
Made the selector much more specific, so it only works on pages that have notices
2009-11-11 15:38:28 -05:00
Craig Andrews
83b92d9ef0 Refactored the favorite button ajaxification to a separate function 2009-11-11 15:37:17 -05:00
CiaranG
41944f36e4 CLAIM_TIMEOUT is already defined elsewhere - causes a PHP warning (minor perf. issue) and confusion if someone tries to change one or the other 2009-11-11 20:31:58 +00:00
Craig Andrews
f6f5b5654a Don't use common_config anymore 2009-11-11 15:08:17 -05:00
Craig Andrews
b43866d9aa Correct stupid spelling errors 2009-11-11 14:04:44 -05:00
Craig Andrews
014d6b1d19 Redid how URL shorteners work. This way is much more like how Evan wants events to work (and more like how the rest of SN works). 2009-11-11 14:04:44 -05:00
Siebrand Mazeland
086759f32a Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x 2009-11-11 19:58:43 +01:00
Sarven Capadisli
6a19bcc0e2 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-11 18:47:51 +00:00
Sarven Capadisli
095cf8ebf1 Separated Init functions to NoticeForm, Notices, EvenActions. 2009-11-11 18:47:14 +00:00
Brion Vibber
7f8dbb8e45 Fix bug 1963: Web UI throws warnings during previously open login session after user account is deleted
common_logged_in() returned bogus results because it checks against null specifically, but common_current_user() was sticking 'false' into $_cur because that's what User::staticGet() returned from a failed lookup. Now we skip over a failed lookup here, so we keep null and all is well.
2009-11-11 10:38:11 -08: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
Brion Vibber
c9eb7c1f0b Bug 1969: rebuild corrupted l10n files which caused all UI strings to be shown as nulls
(already done on 0.9.x in course of other major l10n changes)
http://status.net/trac/ticket/1969
2009-11-11 10:04:27 -08:00
Craig Andrews
f600fa3b1a Rename the plugins, as I'm separating out Authn, Authz, and user information into separate plugins 2009-11-11 12:16:58 -05:00
Sarven Capadisli
686c2e5e06 Added XHR for form_entity_flag 2009-11-11 13:43:21 +00:00
Sarven Capadisli
dbe02049a8 Added margin-top for showstream page (space between entity_actions and
notice_primary)
2009-11-11 12:57:48 +00:00