]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Sat, 13 Mar 2010 12:36:25 +0000 (06:36 -0600)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoFixes for updating indices, charset/collation and engine type on plugin-created tables.
Brion Vibber [Fri, 12 Mar 2010 19:19:56 +0000 (11:19 -0800)]
Fixes for updating indices, charset/collation and engine type on plugin-created tables.

Under MySQL, new tables will be created as InnoDB with UTF-8 (utf8/utf8_bin) same as core tables.
Existing plugin tables will have table engine and default charset/collation updated, and string columns will have charset updated, at checkschema time.

Switched from 'DESCRIBE' to INFORMATION_SCHEMA for pulling column information in order to get charset. A second hit to INFORMATION_SCHEMA is also needed to get table properties.

Indices were only being created at table creation time, which ain't so hot. Now also adding/dropping indices when they change.

Fixed up some schema defs in OStatus plugin that were a bit flaky, causing extra alter tables to be run.

TODO: Generalize this infrastructure a bit more up to base schema & pg schema classes.

14 years agoOpenID fixes:
Brion Vibber [Fri, 12 Mar 2010 18:07:32 +0000 (10:07 -0800)]
OpenID fixes:
- avoid notice spew when checking sreg items that weren't provided
- fix keys spec for user_openid, clears up problems with removing openid associations
- fix keys spec for user_openid_trustroot

14 years agoMerge commit 'origin/testing' into 0.9.x
Brion Vibber [Fri, 12 Mar 2010 17:41:49 +0000 (09:41 -0800)]
Merge commit 'origin/testing' into 0.9.x

14 years agoMerge commit 'origin/0.9.x' into 0.9.x
Brion Vibber [Fri, 12 Mar 2010 17:41:45 +0000 (09:41 -0800)]
Merge commit 'origin/0.9.x' into 0.9.x

14 years agoPlugin to open up rel="external" links on a new window or tab
Sarven Capadisli [Fri, 12 Mar 2010 16:13:05 +0000 (11:13 -0500)]
Plugin to open up rel="external" links on a new window or tab

14 years agoOutput enclosing geo elements and GeoRSS xmlns in XML timelines
Zach Copley [Fri, 12 Mar 2010 05:39:36 +0000 (05:39 +0000)]
Output enclosing geo elements and GeoRSS xmlns in XML timelines

14 years agoAdd Atom self link to tag timeline
Zach Copley [Fri, 12 Mar 2010 04:08:31 +0000 (04:08 +0000)]
Add Atom self link to tag timeline

14 years agoAdd Atom self link to favorites timeline
Zach Copley [Fri, 12 Mar 2010 03:42:00 +0000 (03:42 +0000)]
Add Atom self link to favorites timeline

14 years ago- Output correct content header for Atom output in mentions timeline
Zach Copley [Fri, 12 Mar 2010 03:27:37 +0000 (03:27 +0000)]
- Output correct content header for Atom output in mentions timeline
- Add self link

14 years agoOutput Atom self link in home timeline
Zach Copley [Fri, 12 Mar 2010 03:15:51 +0000 (03:15 +0000)]
Output Atom self link in home timeline

14 years agoCalculate Atom self link for friends timeline
Zach Copley [Fri, 12 Mar 2010 02:18:53 +0000 (02:18 +0000)]
Calculate Atom self link for friends timeline

14 years agoDon't switch people from the Memcache to Memcached plugin without their knowledge...
Brion Vibber [Fri, 12 Mar 2010 02:10:41 +0000 (18:10 -0800)]
Don't switch people from the Memcache to Memcached plugin without their knowledge when using back-compatibility $config['memcached']['enabled']. Performance characteristics for Memcached version on large-scale sites not tested yet.
New installations should be using addPlugin explicitly.

14 years agoRemove stray whitespace at file start that snuck into last update
Brion Vibber [Fri, 12 Mar 2010 02:07:00 +0000 (18:07 -0800)]
Remove stray whitespace at file start that snuck into last update

14 years agofubared a715271f847fed7d7c725c5b752ea7a00800520a - this is the fix
Craig Andrews [Fri, 12 Mar 2010 02:02:41 +0000 (21:02 -0500)]
fubared a715271f847fed7d7c725c5b752ea7a00800520a - this is the fix

14 years agoFixes for password recovery; lookups for unconfirmed addresses were failing or incons...
Brion Vibber [Fri, 12 Mar 2010 02:01:50 +0000 (18:01 -0800)]
Fixes for password recovery; lookups for unconfirmed addresses were failing or inconsistent (using staticGet with unindexed fields, which would not get decached correctly and could get confused if multiple pending confirmations of different types are around).
Also uses updated email functions to include extra headers and ensure the proper address is used.

14 years ago- Output correct content type header for public timeline Atom feed
Zach Copley [Fri, 12 Mar 2010 02:00:53 +0000 (02:00 +0000)]
- Output correct content type header for public timeline Atom feed
- Also calculate Atom link and self links properly

14 years agoMore generalized method for calculating Atom rel="self" links
Zach Copley [Fri, 12 Mar 2010 01:40:52 +0000 (01:40 +0000)]
More generalized method for calculating Atom rel="self" links

14 years agoreuse Subscription::cancel instead of reimplementing it.
Craig Andrews [Fri, 12 Mar 2010 01:40:25 +0000 (20:40 -0500)]
reuse Subscription::cancel instead of reimplementing it.

I didn't know this method existed before... pretty neat.

14 years agomove image type checking to constructor, so checking will be done in all cases
Craig Andrews [Fri, 12 Mar 2010 01:12:32 +0000 (20:12 -0500)]
move image type checking to constructor, so checking will be done in all cases
check if the relevant image handling function exists when deciding if the image type is supported

14 years agoScrub all atom output with common_xml_safe_str()
Zach Copley [Fri, 12 Mar 2010 01:12:30 +0000 (01:12 +0000)]
Scrub all atom output with common_xml_safe_str()

14 years agoAdd id and updated elements to atom source
Zach Copley [Fri, 12 Mar 2010 00:36:26 +0000 (00:36 +0000)]
Add id and updated elements to atom source

14 years agoGenerator tag should have 'uri' attr not 'url'
Zach Copley [Thu, 11 Mar 2010 23:44:50 +0000 (23:44 +0000)]
Generator tag should have 'uri' attr not 'url'

14 years agoAdd self link to user and group rss2 feeds
Zach Copley [Thu, 11 Mar 2010 23:43:03 +0000 (23:43 +0000)]
Add self link to user and group rss2 feeds

14 years agoOutput self link in rss2 feeds, if available
Zach Copley [Thu, 11 Mar 2010 23:28:41 +0000 (23:28 +0000)]
Output self link in rss2 feeds, if available

14 years ago- Output georss xmlns in rss element
Zach Copley [Thu, 11 Mar 2010 23:05:56 +0000 (23:05 +0000)]
- Output georss xmlns in rss element
- Only output geopoint in rss if one is set

14 years agoA null mimetype is not an enclosure (more likely than not means there was an error)
Craig Andrews [Thu, 11 Mar 2010 22:26:59 +0000 (17:26 -0500)]
A null mimetype is not an enclosure (more likely than not means there was an error)

14 years agofoaf:holdsAccount is deprecated in favour of foaf:account. See
Sarven Capadisli [Thu, 11 Mar 2010 22:16:37 +0000 (17:16 -0500)]
foaf:holdsAccount is deprecated in favour of foaf:account. See
http://lists.foaf-project.org/pipermail/foaf-dev/2009-December/009903.html
for the news. Patch by Toby Inkster <mail@tobyinkster.co.uk>.

14 years agoUpdated theme dates
Sarven Capadisli [Thu, 11 Mar 2010 21:41:40 +0000 (16:41 -0500)]
Updated theme dates

14 years agoFixes the indenting bug for geo anchor. Also mention in trac ticket 2235
Sarven Capadisli [Thu, 11 Mar 2010 21:40:16 +0000 (16:40 -0500)]
Fixes the indenting bug for geo anchor. Also mention in trac ticket 2235

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Thu, 11 Mar 2010 21:39:07 +0000 (16:39 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agofix invalid separator in magic-public-key XRD and matching parsing.
James Walker [Thu, 11 Mar 2010 19:32:22 +0000 (14:32 -0500)]
fix invalid separator in magic-public-key XRD and matching parsing.

14 years agoremove hard-coded me:env check in magicenvelope
James Walker [Tue, 9 Mar 2010 23:47:20 +0000 (18:47 -0500)]
remove hard-coded me:env check in magicenvelope

14 years agobase64_encode/decode -> base64_url_encode/decode
James Walker [Tue, 9 Mar 2010 23:12:37 +0000 (18:12 -0500)]
base64_encode/decode -> base64_url_encode/decode

14 years agoDrop timestamp cutoff parameter from User::getCurrentNotice() and Profile::getCurrent...
Brion Vibber [Thu, 11 Mar 2010 19:01:01 +0000 (11:01 -0800)]
Drop timestamp cutoff parameter from User::getCurrentNotice() and Profile::getCurrentNotice().
It's not currently used, and won't be efficient when we update the notice.profile_id_idx index to optimize for our id-based sorting when pulling user post lists for profile pages, feeds etc.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Thu, 11 Mar 2010 01:04:51 +0000 (17:04 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoOStatus: reject attempts to create a remote profile for a local user or group.
Brion Vibber [Thu, 11 Mar 2010 01:00:05 +0000 (17:00 -0800)]
OStatus: reject attempts to create a remote profile for a local user or group.
Some stray shadow entries were ending up getting created, which would steal group posts from remote users.
Run plugins/OStatus/scripts/fixup-shadow.php for each site to remove any existing ones.

14 years agoWorkaround intermittent bugs with HEAD requests by disabling keepalive in HTTPClient.
Brion Vibber [Wed, 10 Mar 2010 23:08:40 +0000 (15:08 -0800)]
Workaround intermittent bugs with HEAD requests by disabling keepalive in HTTPClient.

I think this is a bug in Youtube's web server (sending chunked encoding of an empty body with a HEAD response, leaving the connection out of sync when it doesn't attempt to read a body) but the HTTP_Request2 library may need to be adjusted to watch out for that.

14 years agoFixup script for files w/ bogus data saved into file record ('h bug')
Brion Vibber [Wed, 10 Mar 2010 22:31:29 +0000 (14:31 -0800)]
Fixup script for files w/ bogus data saved into file record ('h bug')

14 years agoFix for attachment "h bug": posting a shortened link to an oembed-able resource that...
Brion Vibber [Wed, 10 Mar 2010 21:39:42 +0000 (13:39 -0800)]
Fix for attachment "h bug": posting a shortened link to an oembed-able resource that has been previously used in the system would incorrectly save "h" as the item's type and title.

14 years agoAllow site-specific doc files
Zach Copley [Wed, 10 Mar 2010 22:05:28 +0000 (22:05 +0000)]
Allow site-specific doc files

14 years agoAllow site-specific doc files
Zach Copley [Wed, 10 Mar 2010 22:05:28 +0000 (22:05 +0000)]
Allow site-specific doc files

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Wed, 10 Mar 2010 19:57:38 +0000 (11:57 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Wed, 10 Mar 2010 19:56:51 +0000 (11:56 -0800)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing

14 years agoDetect when queuedaemon/xmppdaemon parent processes die and kill the child processes.
Brion Vibber [Wed, 10 Mar 2010 19:54:00 +0000 (11:54 -0800)]
Detect when queuedaemon/xmppdaemon parent processes die and kill the child processes.
Keeps stray daemon subprocesses from floating around when we kill the parents via a signal!

Accomplished by opening a bidirectional pipe in the parent process; the children close out the writer end and keep the reader in their open sockets list. When the parent dies, the children see that the socket's been closed out and can perform an orderly shutdown.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Wed, 10 Mar 2010 19:13:02 +0000 (14:13 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Wed, 10 Mar 2010 18:07:52 +0000 (10:07 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoRequireValidatedEmailPlugin fixes: require email on registration form, tidy up i18n...
Brion Vibber [Wed, 10 Mar 2010 18:06:46 +0000 (10:06 -0800)]
RequireValidatedEmailPlugin fixes: require email on registration form, tidy up i18n infrastructure.

14 years agoA blank username should never be allowed.
Zach Copley [Wed, 10 Mar 2010 03:39:05 +0000 (03:39 +0000)]
A blank username should never be allowed.

14 years agoMerge branch 'testing' into 0.9.x
Brion Vibber [Wed, 10 Mar 2010 17:55:14 +0000 (09:55 -0800)]
Merge branch 'testing' into 0.9.x

Conflicts:
actions/apistatusnetconfig.php

14 years agoMerge branch 'master' into testing
Brion Vibber [Wed, 10 Mar 2010 17:53:55 +0000 (09:53 -0800)]
Merge branch 'master' into testing

14 years agoTicket #2221: fix for missing whitespace between messages in en-gb.
Brion Vibber [Wed, 10 Mar 2010 17:36:00 +0000 (09:36 -0800)]
Ticket #2221: fix for missing whitespace between messages in en-gb.
The final whitespace should be dropped from the source messages after we've stabilized; trailing space is pretty unreliable to keep through translation tools and should be avoided. Use separator strings outside the messages!

14 years agoremoved a stay bit of debug
Brenda Wallace [Wed, 10 Mar 2010 09:03:36 +0000 (22:03 +1300)]
removed a stay bit of debug

14 years agomap the mysql-ish column types to ones postgres likes
Brenda Wallace [Wed, 10 Mar 2010 09:02:56 +0000 (22:02 +1300)]
map the mysql-ish column types to ones postgres likes

14 years agoprimary keys and unique indexes working in postgres
Brenda Wallace [Wed, 10 Mar 2010 08:54:30 +0000 (21:54 +1300)]
primary keys and unique indexes working in postgres

14 years agothrow an error that looks like mysql errors.. :-S
Brenda Wallace [Wed, 10 Mar 2010 08:25:44 +0000 (21:25 +1300)]
throw an error that looks like mysql errors.. :-S

14 years agoMerge commit 'mainline/0.9.x' into 0.9.x
Brenda Wallace [Wed, 10 Mar 2010 07:47:49 +0000 (20:47 +1300)]
Merge commit 'mainline/0.9.x' into 0.9.x

14 years agoA blank username should never be allowed.
Zach Copley [Wed, 10 Mar 2010 03:39:05 +0000 (03:39 +0000)]
A blank username should never be allowed.

14 years agoFix error logging
Craig Andrews [Wed, 10 Mar 2010 02:26:12 +0000 (21:26 -0500)]
Fix error logging

14 years agoAPI config return textlimit value
Michele [Sun, 17 Jan 2010 17:33:56 +0000 (18:33 +0100)]
API config return textlimit value

14 years agoMerge branch 'testing' into 0.9.x
Brion Vibber [Tue, 9 Mar 2010 22:20:50 +0000 (14:20 -0800)]
Merge branch 'testing' into 0.9.x

14 years agoCheck for invalid and reserved usernames for the admin user at install time.
Brion Vibber [Tue, 9 Mar 2010 22:15:55 +0000 (14:15 -0800)]
Check for invalid and reserved usernames for the admin user at install time.

14 years agoAdded a checkbox for subscribing the admin of a StatusNet instance to
Sarven Capadisli [Tue, 9 Mar 2010 16:08:21 +0000 (11:08 -0500)]
Added a checkbox for subscribing the admin of a StatusNet instance to
update@status.net. Checked by default. Subscription optional.

14 years agoAdded scripts/command.php, can be used to run commands such as subscription on behalf...
Brion Vibber [Tue, 9 Mar 2010 21:41:05 +0000 (13:41 -0800)]
Added scripts/command.php, can be used to run commands such as subscription on behalf of users.
This includes whatever support for extended command parsing plugins may have added.

Example:
  ./scripts/command.php -nbrionv sub update@status.net

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Tue, 9 Mar 2010 21:07:52 +0000 (13:07 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoMerge branch 'commands' into testing
Brion Vibber [Tue, 9 Mar 2010 21:05:51 +0000 (13:05 -0800)]
Merge branch 'commands' into testing

14 years agoCommand input processing now has centralized places for looking up notice, user/profi...
Brion Vibber [Mon, 8 Mar 2010 22:01:43 +0000 (14:01 -0800)]
Command input processing now has centralized places for looking up notice, user/profile, and group arguments.
OStatus plugin overrides these to allow using webfinger (user@example.com), profile URL (http://example.com/user) and bare profile URL (example.com/user) as arguments.

14 years agoMerge branch 'testing' into 0.9.x
Brion Vibber [Tue, 9 Mar 2010 19:27:53 +0000 (11:27 -0800)]
Merge branch 'testing' into 0.9.x

14 years agoMerge commit 'origin/master' into testing
Brion Vibber [Tue, 9 Mar 2010 19:27:30 +0000 (11:27 -0800)]
Merge commit 'origin/master' into testing

14 years agoOStatus: fix exception thrown on HTTP error during feed discovery
Brion Vibber [Tue, 9 Mar 2010 18:56:33 +0000 (10:56 -0800)]
OStatus: fix exception thrown on HTTP error during feed discovery

14 years agoTicket #2210: adjust locale setup fallback to try more locales on the system if en_US...
Brion Vibber [Tue, 9 Mar 2010 16:38:16 +0000 (17:38 +0100)]
Ticket #2210: adjust locale setup fallback to try more locales on the system if en_US isn't available. We just need *something* other than C or POSIX to let gettext initialize itself, apparently...
Gets Spanish, French, Russian etc UI localization working on Debian Lenny fresh installation set up in Spanish (so es_ES.UTF-8 is available but en_US.UTF-8 isn't).

14 years agoAPI config return textlimit value
Michele [Sun, 17 Jan 2010 17:33:56 +0000 (18:33 +0100)]
API config return textlimit value

14 years agoAdded a checkbox for subscribing the admin of a StatusNet instance to
Sarven Capadisli [Tue, 9 Mar 2010 16:08:21 +0000 (11:08 -0500)]
Added a checkbox for subscribing the admin of a StatusNet instance to
update@status.net. Checked by default. Subscription optional.

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Tue, 9 Mar 2010 15:57:38 +0000 (10:57 -0500)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline

14 years agoa script to flush site
Evan Prodromou [Tue, 9 Mar 2010 15:55:48 +0000 (10:55 -0500)]
a script to flush site

14 years agoUse canonical URL for notification in RSSCloud plugin
Zach Copley [Tue, 9 Mar 2010 11:06:08 +0000 (11:06 +0000)]
Use canonical URL for notification in RSSCloud plugin

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline
Zach Copley [Tue, 9 Mar 2010 11:07:42 +0000 (11:07 +0000)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline

14 years agoUse canonical URL for notification in RSSCloud plugin
Zach Copley [Tue, 9 Mar 2010 11:06:08 +0000 (11:06 +0000)]
Use canonical URL for notification in RSSCloud plugin

14 years agoUse canonical URL for notification in RSSCloud plugin
Zach Copley [Tue, 9 Mar 2010 11:06:08 +0000 (11:06 +0000)]
Use canonical URL for notification in RSSCloud plugin

14 years agowrong param order to strpos()
James Walker [Tue, 9 Mar 2010 06:24:21 +0000 (01:24 -0500)]
wrong param order to strpos()

14 years agoOn the OpenID settings page, allow users to remove trustroots.
Craig Andrews [Tue, 9 Mar 2010 02:43:09 +0000 (21:43 -0500)]
On the OpenID settings page, allow users to remove trustroots.

14 years agomake common_copy_args() work when the post/get request includes arrays (form elements...
Craig Andrews [Tue, 9 Mar 2010 02:42:17 +0000 (21:42 -0500)]
make common_copy_args() work when the post/get request includes arrays (form elements with names ending in [] having multiple values)

14 years agoOnly allow RSSCloud subs to canonical RSS2 profile feeds
Zach Copley [Mon, 8 Mar 2010 22:53:43 +0000 (22:53 +0000)]
Only allow RSSCloud subs to canonical RSS2 profile feeds

14 years agoOnly allow RSSCloud subs to canonical RSS2 profile feeds
Zach Copley [Mon, 8 Mar 2010 22:53:43 +0000 (22:53 +0000)]
Only allow RSSCloud subs to canonical RSS2 profile feeds

14 years agoan otp is a real login
Evan Prodromou [Mon, 8 Mar 2010 23:06:21 +0000 (18:06 -0500)]
an otp is a real login

14 years agoOnly allow RSSCloud subs to canonical RSS2 profile feeds
Zach Copley [Mon, 8 Mar 2010 22:53:43 +0000 (22:53 +0000)]
Only allow RSSCloud subs to canonical RSS2 profile feeds

14 years agoAdded Memcached plugin (using pecl/memcached versus pecl/memcache)
Craig Andrews [Thu, 4 Mar 2010 23:24:32 +0000 (18:24 -0500)]
Added Memcached plugin (using pecl/memcached versus pecl/memcache)

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Mon, 8 Mar 2010 21:48:27 +0000 (22:48 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 8 Mar 2010 21:39:46 +0000 (13:39 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoCentOS 5.4 still has bad PCRE in stock (though all bets off for PHP packages, since...
Brion Vibber [Mon, 8 Mar 2010 21:38:59 +0000 (13:38 -0800)]
CentOS 5.4 still has bad PCRE in stock (though all bets off for PHP packages, since you'd need a version update anyway...)

14 years agoRevert "CentOS 5.4 still bogus on a stock install." - bad debug lines crept in
Brion Vibber [Mon, 8 Mar 2010 21:38:26 +0000 (13:38 -0800)]
Revert "CentOS 5.4 still bogus on a stock install." - bad debug lines crept in

This reverts commit 7e7d88831cf8b3e8876499b86890da2e63b08c97.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 8 Mar 2010 21:37:45 +0000 (13:37 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoCentOS 5.4 still bogus on a stock install.
Brion Vibber [Mon, 8 Mar 2010 21:32:18 +0000 (13:32 -0800)]
CentOS 5.4 still bogus on a stock install.

14 years agoFix ticket #2208: regression in XMPP sending when server != host
Brion Vibber [Mon, 8 Mar 2010 20:19:06 +0000 (12:19 -0800)]
Fix ticket #2208: regression in XMPP sending when server != host

The upstream class sets $this->basejid with host unconditionally, which wasn't previously an issue as the fulljid would always be filled in by the server at connect time before sending messages. With the new queued messaging, we need to make sure we've filled out $this->fulljid correctly without making a connection.
Now using $server if provided to build $this->basejid and $this->fulljid in the queued XMPP proxy class, so queued messages are sent correctly.

14 years agoXMPP cleanup: fix outgoing XMPP when queuing is disabled; fix notice for first access...
Brion Vibber [Mon, 8 Mar 2010 18:32:40 +0000 (10:32 -0800)]
XMPP cleanup: fix outgoing XMPP when queuing is disabled; fix notice for first access to undefined member variable

14 years agoFixed warning messages when auto-registering a new LDAP user.
Jeffery To [Mon, 8 Mar 2010 07:31:16 +0000 (15:31 +0800)]
Fixed warning messages when auto-registering a new LDAP user.

On my test system (without memcache), while testing the LDAP
authentication plugin, when I sign in for the first time, triggering
auto-registration, I get these messages in the output page:

Warning: ksort() expects parameter 1 to be array, null given in /home/jeff/Documents/code/statusnet/classes/Memcached_DataObject.php  on line 219

Warning: Invalid argument supplied for foreach() in /home/jeff/Documents/code/statusnet/classes/Memcached_DataObject.php on line 224

Warning: assert() [function.assert]: Assertion failed in /home/jeff/Documents/code/statusnet/classes/Memcached_DataObject.php on line 241

(plus two "Cannot modify header information..." messages as a result of
the above warnings)

This change appears to fix this (although I can't really explain exactly
why).

14 years agoldap_get_connection() to return null when passed a config with bad user/pw.
Jeffery To [Fri, 5 Mar 2010 09:54:53 +0000 (17:54 +0800)]
ldap_get_connection() to return null when passed a config with bad user/pw.

This mainly affects login; before if the user enters a valid username
but invalid password, ldap_get_connection() throws an
LDAP_INVALID_CREDENTIALS error. Now the user sees the regular
"Incorrect username of password" error message.

14 years agomake API realm configurable
Evan Prodromou [Mon, 8 Mar 2010 17:36:03 +0000 (12:36 -0500)]
make API realm configurable

14 years agoAlignment fix for IE6
Sarven Capadisli [Mon, 8 Mar 2010 16:08:03 +0000 (16:08 +0000)]
Alignment fix for IE6

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Mon, 8 Mar 2010 04:42:46 +0000 (23:42 -0500)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline