Brion Vibber
75c00f0054
Bug 1655/bug 1905: fix for Internet Explorer receiving FOAF output when clicking user links.
...
User links using the ID number (such as created for @-replies) have been failing on Internet Explorer, since IE doesn't bother to actually say it supports text/html...
We usually get something like this from IE, up through at least IE 8:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
The */* ended up matching application/rdf+xml instead of text/html, so only other browsers which are more explicit would actually get sent on to the user profile/notice stream; IE visitors were directed on to the FOAF download. :(
Swapping the order of items in the server-side of the negotiation list fixes this; clients actually asking for FOAF at a higher priority than HTML will still get it, but the wildcard */* now matches text/html which is usually what we want.
Content negotiation for the user links was added August 2008 in commit 48fcfb8b0d
.
2009-11-16 17:25:38 -08:00
Brion Vibber
8ab40e7051
Cleanup for bug 1813: workaround sometimes-missing dl() in PHP 5.3 by defining our own bogus function rather than attempting to patch upstream libs. This keeps our fix across upstream versions (or when loading upstream library from outside extlib)
...
Note that fixes to OpenID libraries in commit fe9473ac78
were lost in just such an update.
2009-11-16 15:45:15 -08:00
Brion Vibber
6f9b909211
Fix for PHP spewing notices from commit a373d07ae0
...
Please test with error_reporting set to E_ALL!
Classnames and function names aren't first-class objects in PHP and need to be referenced as strings here. :(
2009-11-16 15:36:30 -08:00
Craig Andrews
a99198ba94
Do proper translations for plurals
2009-11-16 15:57:57 -05:00
Craig Andrews
003e4e2a23
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2009-11-16 15:53:09 -05:00
Craig Andrews
a373d07ae0
Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them
2009-11-16 15:24:25 -05:00
Eric Helgeson
e14c88f6c5
Consistant error for groups that dont exist in API
2009-11-16 15:00:36 -05:00
Eric Helgeson
b7a08fdacc
+x deleteuser.php
2009-11-16 15:00:36 -05:00
Siebrand Mazeland
ca77d54384
Localisation updates from !translatewiki !StatusNet
2009-11-16 20:54:19 +01:00
Eric Helgeson
d080afebbe
Refactored Recaptcha plugin to use addPlugin()
...
Also nicer log messages
2009-11-16 11:44:31 -05:00
Craig Andrews
0e7dd81a6c
Added a "groups" command
2009-11-16 11:23:00 -05:00
Craig Andrews
7177585630
getGroups was not handling the case where limit=null correctly
2009-11-16 11:22:45 -05:00
Craig Andrews
73b4d770a2
Changed to StatusNet consistent terminology
2009-11-16 11:17:14 -05:00
Craig Andrews
5b51eeeebb
Bump to version 1.0.0
2009-11-16 11:14:00 -05:00
Craig Andrews
f04dbc8fa2
Add "followers" and "following" commands
2009-11-16 00:19:47 -05:00
Craig Andrews
6470ccd1b8
getSubscribers and getSubscriptions were not handling the case where limit=null correctly
2009-11-16 00:19:19 -05:00
Sarven Capadisli
b843ea6c4a
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-15 19:48:48 +01:00
Siebrand Mazeland
6512282241
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-11-14 22:12:44 +01:00
Siebrand Mazeland
017f8dc645
Localisation updates from translatewiki.net
2009-11-14 22:12:25 +01:00
Brion Vibber
133ca0ef6b
Fix regression from 9f372da3da4bd445175eda9155fa7fdd13d3c85e: typo in refactoring caused fatal error on unrecognized message source
2009-11-14 13:10:47 -08:00
Evan Prodromou
fe18063bd2
Revert "Ask users if they wish to send statistics to SNI, default is off."
...
This reverts commit 7efea1115f
.
Conflicts:
install.php
2009-11-14 17:38:10 +01:00
Evan Prodromou
959d278c34
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-14 17:14:35 +01:00
Sarven Capadisli
a256aee9bf
Removed list style from .xoxo
2009-11-14 11:57:27 +01:00
brenda
2147ac510f
don't offer install.php on check-fancy requests
...
this time, E_STRICT compliant
2009-11-14 16:52:39 +13:00
brenda
ab135faa75
postgresl update script now working in postgres
2009-11-14 16:34:36 +13:00
Brion Vibber
5fab9bed48
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2009-11-13 15:36:14 -08:00
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
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