]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agobreak up the giant form function in design admin panel into individual sections to...
Brion Vibber [Wed, 21 Apr 2010 14:53:10 +0000 (16:53 +0200)]
break up the giant form function in design admin panel into individual sections to make it a little more manageable

14 years agoAdd gNewBook to notice sources
Zach Copley [Fri, 4 Jun 2010 20:16:47 +0000 (13:16 -0700)]
Add gNewBook to notice sources

14 years agoOnly show local public notices in sitemap
Evan Prodromou [Fri, 4 Jun 2010 19:47:26 +0000 (15:47 -0400)]
Only show local public notices in sitemap

Only show local public notices in sitemap. Only do counts for them
in the sitemap index, and only show them in the notice sitemap.

14 years agouse DB_DataObject_Cast objects in a couple of different places in the code
Evan Prodromou [Fri, 4 Jun 2010 19:29:38 +0000 (15:29 -0400)]
use DB_DataObject_Cast objects in a couple of different places in the code

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Evan Prodromou [Fri, 4 Jun 2010 17:26:25 +0000 (13:26 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline

14 years agomemcache_dataobject supports some DB_DataObject_Cast objects as values
Evan Prodromou [Fri, 4 Jun 2010 16:52:05 +0000 (12:52 -0400)]
memcache_dataobject supports some DB_DataObject_Cast objects as values

14 years agoAdd repeated attr to Atom notices_info element
Zach Copley [Thu, 3 Jun 2010 22:24:55 +0000 (22:24 +0000)]
Add repeated attr to Atom notices_info element

14 years agoMerge branch 'newmaster'
Evan Prodromou [Thu, 3 Jun 2010 19:59:59 +0000 (15:59 -0400)]
Merge branch 'newmaster'

14 years agoremove debug statements from Sitemap plugin
Evan Prodromou [Thu, 3 Jun 2010 19:19:46 +0000 (15:19 -0400)]
remove debug statements from Sitemap plugin

14 years agoMerge branch 'sitemap' into newmaster
Evan Prodromou [Thu, 3 Jun 2010 19:13:06 +0000 (15:13 -0400)]
Merge branch 'sitemap' into newmaster

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Evan Prodromou [Thu, 3 Jun 2010 18:50:52 +0000 (14:50 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline

14 years ago- Fix bad argument being passed (error code) when invalid format specified
Zach Copley [Thu, 3 Jun 2010 17:52:16 +0000 (10:52 -0700)]
- Fix bad argument being passed (error code) when invalid format specified
- Reformat whitespace

14 years agoInstaller tweak to aid with IIS setup: if config.php exists, but is both empty and...
Brion Vibber [Thu, 3 Jun 2010 17:13:28 +0000 (10:13 -0700)]
Installer tweak to aid with IIS setup: if config.php exists, but is both empty and writable, let the installer proceed and overwrite it.

14 years agoMerge branch 'sitemap' of gitorious.org:~evan/statusnet/evans-mainline into sitemap
Evan Prodromou [Tue, 1 Jun 2010 20:56:21 +0000 (13:56 -0700)]
Merge branch 'sitemap' of gitorious.org:~evan/statusnet/evans-mainline into sitemap

Conflicts:
plugins/Sitemap/SitemapPlugin.php
plugins/Sitemap/noticesitemap.php
plugins/Sitemap/sitemapindex.php
plugins/Sitemap/usersitemap.php

14 years agoFix memory leak in Inbox::addToInbox() (usage of raw DB_DataObject::staticGet, which...
Brion Vibber [Tue, 1 Jun 2010 20:53:44 +0000 (13:53 -0700)]
Fix memory leak in Inbox::addToInbox() (usage of raw DB_DataObject::staticGet, which leaks memory into a process-global cache).
On my test setup, this fixes inbox delivery to 10,000 local recipients from background queuedaemon running with a 32mb memory limit, completes the job within a minute from start.

14 years agouse sitemap_notice_count in sitemap index
Evan Prodromou [Mon, 31 May 2010 14:50:27 +0000 (07:50 -0700)]
use sitemap_notice_count in sitemap index

14 years agocache notice counts in utility table
Evan Prodromou [Mon, 31 May 2010 14:50:10 +0000 (07:50 -0700)]
cache notice counts in utility table

14 years agoload Sitemap_notice_count
Evan Prodromou [Mon, 31 May 2010 14:48:14 +0000 (07:48 -0700)]
load Sitemap_notice_count

14 years agomake user counts use the database table
Evan Prodromou [Fri, 21 May 2010 20:47:30 +0000 (16:47 -0400)]
make user counts use the database table

14 years agoDatabase tables to cache expensive query data
Evan Prodromou [Mon, 3 May 2010 18:00:12 +0000 (14:00 -0400)]
Database tables to cache expensive query data

We need to bundle counts of notices and users by date. This can be
expensive for large sites. So, new tables are added to cache the
results of these queries, which don't change after the date is over.

14 years agomark user pages as being high priority
Evan Prodromou [Mon, 3 May 2010 15:23:18 +0000 (11:23 -0400)]
mark user pages as being high priority

14 years agomark notice pages as being archived
Evan Prodromou [Mon, 3 May 2010 15:23:01 +0000 (11:23 -0400)]
mark notice pages as being archived

14 years agonote that sitemap actions are readonly
Evan Prodromou [Mon, 12 Apr 2010 18:34:22 +0000 (14:34 -0400)]
note that sitemap actions are readonly

14 years agoadd sitemap statement to robots.txt
Evan Prodromou [Mon, 12 Apr 2010 18:32:01 +0000 (14:32 -0400)]
add sitemap statement to robots.txt

14 years agocache notice and user counts in sitemap index
Evan Prodromou [Mon, 12 Apr 2010 16:13:48 +0000 (12:13 -0400)]
cache notice and user counts in sitemap index

14 years agomake sure notice and user sitemap are 'in' top level directory
Evan Prodromou [Mon, 12 Apr 2010 16:06:08 +0000 (12:06 -0400)]
make sure notice and user sitemap are 'in' top level directory

14 years agocache user data for user sitemap
Evan Prodromou [Mon, 12 Apr 2010 16:00:15 +0000 (12:00 -0400)]
cache user data for user sitemap

14 years agocache results of notice sitemap query
Evan Prodromou [Mon, 12 Apr 2010 15:52:19 +0000 (11:52 -0400)]
cache results of notice sitemap query

14 years agouse an array for notice sitemap
Evan Prodromou [Mon, 12 Apr 2010 15:28:41 +0000 (11:28 -0400)]
use an array for notice sitemap

14 years agomax users, notices per sitemap = 50K
Evan Prodromou [Mon, 12 Apr 2010 15:05:19 +0000 (11:05 -0400)]
max users, notices per sitemap = 50K

14 years agoshow sitemapindex with user and notice sitemaps
Evan Prodromou [Mon, 12 Apr 2010 15:04:56 +0000 (11:04 -0400)]
show sitemapindex with user and notice sitemaps

14 years agoMove NOTICES_PER_MAP to SitemapPlugin
Evan Prodromou [Mon, 12 Apr 2010 14:23:32 +0000 (10:23 -0400)]
Move NOTICES_PER_MAP to SitemapPlugin

14 years agobundle users by reg date
Evan Prodromou [Mon, 12 Apr 2010 14:11:45 +0000 (10:11 -0400)]
bundle users by reg date

14 years agobetter calculation for end date in notice sitemaps
Evan Prodromou [Mon, 12 Apr 2010 14:11:18 +0000 (10:11 -0400)]
better calculation for end date in notice sitemaps

14 years agoStart of an action for sitemap index
Evan Prodromou [Sat, 10 Apr 2010 14:24:58 +0000 (10:24 -0400)]
Start of an action for sitemap index

14 years agochange URLs for user sitemap
Evan Prodromou [Sat, 10 Apr 2010 14:21:19 +0000 (10:21 -0400)]
change URLs for user sitemap

14 years agomove USERS_PER_MAP to plugin
Evan Prodromou [Sat, 10 Apr 2010 14:03:57 +0000 (10:03 -0400)]
move USERS_PER_MAP to plugin

14 years agocorrect element name and namespace for sitemapactions
Evan Prodromou [Sat, 10 Apr 2010 14:03:37 +0000 (10:03 -0400)]
correct element name and namespace for sitemapactions

14 years agobetter query for notices by date
Evan Prodromou [Fri, 26 Mar 2010 03:56:09 +0000 (23:56 -0400)]
better query for notices by date

14 years agoAdd a Notice sitemap
Evan Prodromou [Mon, 22 Mar 2010 12:09:15 +0000 (08:09 -0400)]
Add a Notice sitemap

14 years agouser sitemap
Evan Prodromou [Mon, 22 Mar 2010 04:25:49 +0000 (00:25 -0400)]
user sitemap

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Evan Prodromou [Tue, 1 Jun 2010 20:51:41 +0000 (13:51 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline

14 years agoMapstraction plugin fix: set icon dimensions (24x24 px); Google Maps provider otherwi...
Brion Vibber [Tue, 1 Jun 2010 18:41:17 +0000 (18:41 +0000)]
Mapstraction plugin fix: set icon dimensions (24x24 px); Google Maps provider otherwise defaults to stretching them to a funny shape instead of showing square avatars.

14 years agoTicket #2330: fix Google Maps provider for Mapstraction plugin
Brion Vibber [Tue, 1 Jun 2010 18:29:01 +0000 (18:29 +0000)]
Ticket #2330: fix Google Maps provider for Mapstraction plugin

14 years agoAdded DarterosStatus to notice sources
Zach Copley [Mon, 31 May 2010 22:48:24 +0000 (15:48 -0700)]
Added DarterosStatus to notice sources

14 years agoOpenID: add option to enable asking for a username to append to the trusted provider...
Brion Vibber [Fri, 28 May 2010 23:52:17 +0000 (16:52 -0700)]
OpenID: add option to enable asking for a username to append to the trusted provider's base URL. Good for hooking up with sites like WikiHow, where usernames are appended to a base URL to get a profile URL which is used as the provider.

$config['openid']['append_username'] = true;
or check 'Append a username to base URL' in OpenID admin panel.

14 years agoMerge branch 'master' into testing
Brion Vibber [Fri, 28 May 2010 23:18:40 +0000 (16:18 -0700)]
Merge branch 'master' into testing

14 years agoTicket 2329 followup: my clever 'let it use the default' was foiled by PHP gettext...
Brion Vibber [Fri, 28 May 2010 23:03:09 +0000 (16:03 -0700)]
Ticket 2329 followup: my clever 'let it use the default' was foiled by PHP gettext module not quite exposing a compatible interface as the backend gettext library. (Most funcs squash null domain parameter into '' empty string, which isn't interpreted as 'use the current default'.)

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline
Zach Copley [Fri, 28 May 2010 06:24:39 +0000 (06:24 +0000)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline

14 years agoBugfix: api/statuses/destroy.:format was outputting deleted notice
Zach Copley [Fri, 28 May 2010 06:22:12 +0000 (06:22 +0000)]
Bugfix: api/statuses/destroy.:format was outputting deleted notice
twice, causing parsers to fail.

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Thu, 27 May 2010 21:54:43 +0000 (14:54 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Brion Vibber [Thu, 27 May 2010 21:22:24 +0000 (14:22 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline

14 years agoTicket #2329: fix for use of _m() translation functions from outside of plugin direct...
Brion Vibber [Thu, 27 May 2010 21:18:08 +0000 (14:18 -0700)]
Ticket #2329: fix for use of _m() translation functions from outside of plugin directories

14 years agoPass auth user into Atom feed generators (needed for outputting favorited status...
Zach Copley [Thu, 27 May 2010 20:49:23 +0000 (13:49 -0700)]
Pass auth user into Atom feed generators (needed for outputting favorited status in statusnet:notice_info tag)

14 years agoRemove settting/getting a 'verb' for Facebook stream entries / status
Zach Copley [Wed, 26 May 2010 20:31:36 +0000 (20:31 +0000)]
Remove settting/getting a 'verb' for Facebook stream entries / status
updates. Facebook has disabled the ability to store user preferences
via their old REST API, causing our application to break. Also, verbs
in status updates seem to be deprecated, and stream posts don't seem
to have a verb.

14 years agoMerge branch 'more-notice-info'
Zach Copley [Wed, 26 May 2010 00:41:18 +0000 (00:41 +0000)]
Merge branch 'more-notice-info'

14 years agoAdd repeat info to statusnet:notice_info Atom element
Zach Copley [Wed, 26 May 2010 00:39:44 +0000 (00:39 +0000)]
Add repeat info to statusnet:notice_info Atom element

14 years agoWikiHowProfile plugin; pulls avatar from WikiHow profile pages when registering or...
Brion Vibber [Thu, 20 May 2010 19:21:29 +0000 (12:21 -0700)]
WikiHowProfile plugin; pulls avatar from WikiHow profile pages when registering or adding account with OpenID. (Full name, location, homepage, and bio are also on the profile page but not marked up in a way they can be easily retrieved yet.)

OpenID plugin: Added events at OpenID account creation and update time to allow additional customizations for particular sites.

14 years agoSmall update to the README: Facebook has changed the name of one of
Zach Copley [Tue, 25 May 2010 21:08:25 +0000 (21:08 +0000)]
Small update to the README: Facebook has changed the name of one of
its application settings fields.

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Brion Vibber [Tue, 25 May 2010 20:11:36 +0000 (13:11 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline

14 years agoHotpatch for infinite redirection-following loop seen processing URLs to http://cloju...
Brion Vibber [Tue, 25 May 2010 20:09:21 +0000 (13:09 -0700)]
Hotpatch for infinite redirection-following loop seen processing URLs to http://clojure.org/ -- if we end up with an unstable redirect target (final item in a redirect chain ends up redirecting us somewhere else when we visit it again), just save the last version we saw instead of trying to start over.

Pretty much everything in File and File_redirection initial processing needs to be rewritten to be non-awful; this code is very hard to follow and very easy to make huge bugs. A fair amount of the complication is probably obsoleted by the redirection following being built into HTTPClient now.

14 years agoRevert "Backing out locale switch change to see if this affects our mystery memory...
Brion Vibber [Tue, 25 May 2010 19:31:16 +0000 (12:31 -0700)]
Revert "Backing out locale switch change to see if this affects our mystery memory leak."

This reverts commit f98609204fb9b5966b9e4c9e4bf8bf605656c31c.

14 years agoBacking out locale switch change to see if this affects our mystery memory leak.
Brion Vibber [Tue, 25 May 2010 18:36:42 +0000 (11:36 -0700)]
Backing out locale switch change to see if this affects our mystery memory leak.

Revert "Locale switch cleanup: use common_switch_locale() which is safer for updating gettext state. Also moved a few calls to reduce chance of hitting an exception before switching back."

This reverts commit 74a89b1fc37067d91d31bd66922053361eb4e616.

14 years agoDequeue notice when we hit any Facebook error.
Zach Copley [Tue, 25 May 2010 15:40:38 +0000 (15:40 +0000)]
Dequeue notice when we hit any Facebook error.

14 years agoAccidentally used the wrong log level (LOG ERROR instead of LOG_ERR)
Zach Copley [Mon, 24 May 2010 23:27:53 +0000 (23:27 +0000)]
Accidentally used the wrong log level (LOG ERROR instead of LOG_ERR)

14 years agoClear up warnings I introduced by refactoring Facebook posting
Zach Copley [Mon, 24 May 2010 22:41:34 +0000 (22:41 +0000)]
Clear up warnings I introduced by refactoring Facebook posting

14 years agoUpgrade Facebook posting:
Zach Copley [Mon, 24 May 2010 21:25:21 +0000 (21:25 +0000)]
Upgrade Facebook posting:
- Use FQL to check for publish stream permission instead of old REST API
- Better error handling, especially for error code 100
- More logging / better log messages

14 years agoUpgrade to latest old REST API library (0.1.0)
Zach Copley [Fri, 21 May 2010 05:03:23 +0000 (05:03 +0000)]
Upgrade to latest old REST API library (0.1.0)

14 years agoHandle funky notice deletion cases more gracefully: if we already have a deleted_noti...
Brion Vibber [Mon, 24 May 2010 14:47:15 +0000 (07:47 -0700)]
Handle funky notice deletion cases more gracefully: if we already have a deleted_notice entry, don't freak out when we try to save it again on the second try.

14 years agoHotpatch for Facebook mirror problems: drop messages when hitting rate limit (err...
Brion Vibber [Sun, 23 May 2010 00:43:56 +0000 (17:43 -0700)]
Hotpatch for Facebook mirror problems: drop messages when hitting rate limit (err 341) instead of retrying forever. On unknown errors, now throwing an exception so it'll hit the message retry limits.

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Brion Vibber [Fri, 21 May 2010 21:09:05 +0000 (14:09 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline

14 years agoAdd $config['queue']['stomp_enqueue_to'] override for which queue server to send to.
Brion Vibber [Fri, 21 May 2010 21:07:59 +0000 (14:07 -0700)]
Add $config['queue']['stomp_enqueue_to'] override for which queue server to send to.
Must be set to a value that matches one of the entries in $config['queue']['stomp_server'] array, otherwise ignored.

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Evan Prodromou [Fri, 21 May 2010 20:47:57 +0000 (16:47 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Fri, 21 May 2010 20:12:25 +0000 (13:12 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing

14 years agoAdd TweetDeck to notice sources
Zach Copley [Fri, 21 May 2010 17:29:28 +0000 (10:29 -0700)]
Add TweetDeck to notice sources

14 years agoAvoid PHP notice about undefined array index when no avatar photo available from...
Brion Vibber [Fri, 21 May 2010 17:18:13 +0000 (10:18 -0700)]
Avoid PHP notice about undefined array index when no avatar photo available from Google profile

14 years agoDisable SSL peer/hostname verification for HTTPClient unless we've configured a trust...
Brion Vibber [Fri, 21 May 2010 17:12:39 +0000 (10:12 -0700)]
Disable SSL peer/hostname verification for HTTPClient unless we've configured a trusted CA bundle like this: $config['http']['ssl_cafile'] = '/usr/lib/ssl/certs/ca-certificates.crt';
The previous state was failing on all HTTPS hits due to HTTP_Request2 library turning on the validation check but not specifying a CA file.

14 years agoAdded block link to subscription notification emails; block action can now take a...
Brion Vibber [Thu, 20 May 2010 19:46:36 +0000 (12:46 -0700)]
Added block link to subscription notification emails; block action can now take a profile ID on the URL; added profile details to block page so there's an indication of who you're blocking before you pull the trigger.

Fixed typo in RedirectingAction when no return-to data provided in form submission.
RedirectingAction::returnToArgs() has been renamed to returnToPrevious() to avoid conflict with Action::returnToArgs() which returns arguments to be passed to other actions as return-to arguments. All callers should now be updated.
More profile settings actions will now redirect through a login form if visited as a GET request, as would be expected from a bookmark, link sent in e-mail etc.

14 years agoQuick fix for creating OpenID accounts authenticating against a MediaWiki site; trim...
Brion Vibber [Wed, 19 May 2010 23:19:06 +0000 (16:19 -0700)]
Quick fix for creating OpenID accounts authenticating against a MediaWiki site; trim the 'User:' etc from the final path segment before generating a nickname from it. Avoids ending up with nicks like 'userbrion' on your first OpenID login!

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Brion Vibber [Wed, 19 May 2010 22:46:39 +0000 (15:46 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline

14 years agoAdd config option for RequireValidatedEmail plugin to skip the check for folks with...
Brion Vibber [Wed, 19 May 2010 22:12:39 +0000 (15:12 -0700)]
Add config option for RequireValidatedEmail plugin to skip the check for folks with a trusted OpenID association.
Also added an event that other plugins or local config can use to override the checks.

14 years agoHotpatch to add additional debug statements to FacebookPlugin's
Zach Copley [Wed, 19 May 2010 21:00:15 +0000 (21:00 +0000)]
Hotpatch to add additional debug statements to FacebookPlugin's
facebook posting code.

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Wed, 19 May 2010 17:59:14 +0000 (10:59 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing

14 years agoLocale switch cleanup: use common_switch_locale() which is safer for updating gettext...
Brion Vibber [Wed, 19 May 2010 17:10:55 +0000 (10:10 -0700)]
Locale switch cleanup: use common_switch_locale() which is safer for updating gettext state. Also moved a few calls to reduce chance of hitting an exception before switching back.
Should help with problems where xmppdaemon would get stuck in wrong locale.

14 years agoNeed to always emit statusnet:notice_info so it's available in profile feeds
Zach Copley [Wed, 12 May 2010 22:08:01 +0000 (15:08 -0700)]
Need to always emit statusnet:notice_info so it's available in profile feeds

14 years agoRemove errant double HTML entity encoding in API source attribution
Zach Copley [Thu, 6 May 2010 21:36:13 +0000 (21:36 +0000)]
Remove errant double HTML entity encoding in API source attribution

14 years agoAllow OStatusPlugin to set the source attribution title
Zach Copley [Thu, 6 May 2010 20:25:20 +0000 (20:25 +0000)]
Allow OStatusPlugin to set the source attribution title

14 years ago- OStatusPlugin should return true if it doesn't need to handle source
Zach Copley [Thu, 6 May 2010 19:52:25 +0000 (19:52 +0000)]
- OStatusPlugin should return true if it doesn't need to handle source
attribution
- Remove stray break statement from NoticeList

14 years agoHTML entity encode source link URLs in plain XML output and add rel="nofollow" to...
Zach Copley [Thu, 6 May 2010 07:55:17 +0000 (00:55 -0700)]
HTML entity encode source link URLs in plain XML output and add rel="nofollow" to them

14 years agoAdd source link attr to statusnet:notice_info element in Atom output for notices
Zach Copley [Thu, 6 May 2010 07:44:56 +0000 (00:44 -0700)]
Add source link attr to statusnet:notice_info element in Atom output for notices

14 years agoRefactor and centralize notice source link calculation
Zach Copley [Thu, 6 May 2010 07:20:10 +0000 (00:20 -0700)]
Refactor and centralize notice source link calculation

14 years agoAdd xmlns:statusnet and statusnet:notice_info element to Atom entries for notices
Zach Copley [Thu, 6 May 2010 05:35:16 +0000 (22:35 -0700)]
Add xmlns:statusnet and statusnet:notice_info element to Atom entries for notices

14 years agoRedirect non-SSL hits to login & register actions to SSL if 'always' or 'sometimes...
Brion Vibber [Tue, 18 May 2010 21:52:17 +0000 (21:52 +0000)]
Redirect non-SSL hits to login & register actions to SSL if 'always' or 'sometimes' SSL modes are kicked in.
The forms would already submit to SSL, but people are happier if they start on a secure page!

Note: this really should be done for sensitive/all URLs in index.php, but it seems a bit awkward to reconstruct the SSL version of the link atm. Cleanup todo!

14 years agotypo fix in en_GB localization (also updated @ translatewiki)
Brion Vibber [Tue, 18 May 2010 20:44:23 +0000 (13:44 -0700)]
typo fix in en_GB localization (also updated @ translatewiki)

14 years agoMerge branch 'openid-teams' into testing
Brion Vibber [Tue, 18 May 2010 20:37:46 +0000 (13:37 -0700)]
Merge branch 'openid-teams' into testing

14 years agoOpenID access control options: trusted provider URL, Launchpad team restrictions...
Brion Vibber [Tue, 18 May 2010 17:39:56 +0000 (10:39 -0700)]
OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default.

To enable the admin panel:
    $config['admin']['panels'][] = 'openid';

Or to set them manually:
    $config['openid']['trusted_provider'] = 'https://login.ubuntu.net/';
    $config['openid']['required_team'] = 'my-project-cabal';
    $config['site']['openidonly'] = true;

OpenID-only mode can still be set from addPlugin() parameters as well for backwards compatibility.
Note: if it's set there, that value will override the setting from the database or config.php.

Note that team restrictions are only really meaningful if a trusted provider is set; otherwise,
any OpenID server could report back that users are members of the given team.

Restrictions are checked only at OpenID authentication time and will not kick off people currently
with a session open; existing remembered logins may also survive these changes.

Using code for Launchpad team support provided by Canonical under AGPLv3, pulled from r27 of
WordPress teams integration plugin:
    https://code.edge.launchpad.net/~canonical-isd-hackers/wordpress-teams-integration/trunk

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Tue, 18 May 2010 20:21:23 +0000 (13:21 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing

14 years agoinvalid mbox_sha1sum in the case where users don't have an email address
James Walker [Tue, 18 May 2010 14:09:16 +0000 (10:09 -0400)]
invalid mbox_sha1sum in the case where users don't have an email address
(reported by pedantic-web.org)

14 years agoInclude notice fragment on 'in context' links in Realtime plugin family.
Brion Vibber [Mon, 17 May 2010 19:47:44 +0000 (19:47 +0000)]
Include notice fragment on 'in context' links in Realtime plugin family.

14 years agoPatch from g0: fix for conversation links in Realtime updates
Brion Vibber [Mon, 17 May 2010 19:37:47 +0000 (19:37 +0000)]
Patch from g0: fix for conversation links in Realtime updates

Previously was using the reply-to URL, which didn't match with other displays.
Now sends to the right conversation page.