Commit Graph

6251 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
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
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
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
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
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
Sarven Capadisli
af4a54b167 Set window resize before openning it up 2009-11-11 12:34:22 +00:00
Sarven Capadisli
3874269a0b Calling selector once 2009-11-11 12:31:14 +00:00
Siebrand Mazeland
37c62c6356 Remove double space in message 2009-11-11 13:24:02 +01:00
Sarven Capadisli
d6cd083946 Using mark-top styles 2009-11-11 12:21:27 +00:00
Sarven Capadisli
0d8e9faaa1 Added mark-top styles 2009-11-11 12:21:18 +00:00
Zach Copley
db64b61296 Merge branch '0.9.x' into finish-account-api
* 0.9.x:
  Added a events for the settings menu items
  Bringing Sphinx search support up to code: broken out to a plugin, now supports multiple sites on a single server.
  Changed to Evan's event style and added an AuthPlugin superclass
  add geo output to statuses in json, xml, atom, rss in API
  Localisation updates from translatewiki.net (2009-11-10)
  Localisation updates from translatewiki.net
  Update pot
  add lat and long parameters to api/statuses/update
  change credential check to work more like other events
  fixup output of object attributes in db error code
  Performance fix for subscription/subscriber lists based on feedback from ops.
  Adjusting indexes to make favorites query more efficient, based on feedback from ops.
  Revert untested code; spews PHP notice warnings on every page view: "just sent a http 200 for the check-fancy from install.php"
  Added hook for the Group navigation items
  Updated block @title text (shouldn't say from group)
  Updated group block markup
  Revert "Remove more contractions"
2009-11-10 15:25:43 -08:00
Zach Copley
ee3fc8ba03 Added some notes in the comments 2009-11-10 15:23:33 -08:00
Craig Andrews
91332cdadc Added a events for the settings menu items 2009-11-10 17:54:55 -05:00
Zach Copley
4e4ba24c00 Implement /api/account/update_delivery_device.format 2009-11-10 14:36:41 -08:00