summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-06-03Skip enqueueing to outgoing bridges on incoming remote messages. Twitter, ↵Brion Vibber
Facebook, RSSCloud, and OStatus checks were enqueued on these when they'd never do anything but churn the queue servers. Notice::isLocal() can replace a number of manual checks for $notice->is_local being LOCAL_PUBLIC or LOCAL_NONPUBLIC.
2010-06-03Stomp blocking writes fixBrion Vibber
2010-05-28Ticket 2329 followup: my clever 'let it use the default' was foiled by PHP ↵Brion Vibber
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'.)
2010-05-27Merge branch 'master' of gitorious.org:statusnet/mainlineBrion Vibber
2010-05-27Ticket #2329: fix for use of _m() translation functions from outside of ↵Brion Vibber
plugin directories
2010-05-27Pass auth user into Atom feed generators (needed for outputting favorited ↵Zach Copley
status in statusnet:notice_info tag)
2010-05-21Add $config['queue']['stomp_enqueue_to'] override for which queue server to ↵Brion Vibber
send to. Must be set to a value that matches one of the entries in $config['queue']['stomp_server'] array, otherwise ignored.
2010-05-21Disable SSL peer/hostname verification for HTTPClient unless we've ↵Brion Vibber
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.
2010-05-20Added block link to subscription notification emails; block action can now ↵Brion Vibber
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.
2010-05-19Quick fix for creating OpenID accounts authenticating against a MediaWiki ↵Brion Vibber
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!
2010-05-19Locale switch cleanup: use common_switch_locale() which is safer for ↵Brion Vibber
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.
2010-05-18Remove errant double HTML entity encoding in API source attributionZach Copley
2010-05-18Allow OStatusPlugin to set the source attribution titleZach Copley
2010-05-18- OStatusPlugin should return true if it doesn't need to handle sourceZach Copley
attribution - Remove stray break statement from NoticeList
2010-05-18HTML entity encode source link URLs in plain XML output and add ↵Zach Copley
rel="nofollow" to them
2010-05-18Refactor and centralize notice source link calculationZach Copley
2010-05-18Add xmlns:statusnet and statusnet:notice_info element to Atom entries for ↵Zach Copley
notices
2010-05-11Windows server fix: Use platform EOL in debug log fileBrion Vibber
2010-05-11Installer tweak for Windows: normalize line endings to platform standard in ↵Brion Vibber
generated config.php Added a comment that the writable directory checks are insufficient to catch ACL problems on Windows; need a better check for that.
2010-05-08Fix for repeats from the API having null source attributionZach Copley
2010-05-05XMPP debugging: log the message source when discarding empty or unrecognized ↵Brion Vibber
messages.
2010-05-04Handle timeout more gracefully in background pingsBrion Vibber
Added a 2-second default timeout for XMLRPC/extended pings, configurable as [ping,timeout]. No longer repeating the entire ping section if we had an HTTP error during a submission. For now, dropping the bad item and continuing on with others. (Todo: individual retry and cleaner discards of blacklisted broken-for-now sites.)
2010-04-29Update codename in common.phpBrion Vibber
2010-04-29Update release notes and version number for 0.9.2Zachary Copley
2010-04-29Merge branch 'master' into testingBrion Vibber
2010-04-28Fix charset setting for plugin localizations; default setting was blanking ↵Brion Vibber
out non-ASCII chars. Needed for eg Bulgarian translation of Facebook plugin, was previously showing all as ???s. Now works yay!
2010-04-23Test cases and fixes for Atom and RSS content decoding.Brion Vibber
Fix extraction of Atom <content type="text"> and <content type="html">; we were failing to escape plaintext source data to HTML, and doing an extraneous double-deescape on HTML source resulting in breakage of notices containing text that looks like HTML. Only <content type="xhtml"> was working correctly previously. Fixes for RSS2 content processing: we were failing to load <content:encoded> at all due to using wrong element name, and were applying an extraneous de-escape for <description> rather than the escaping that is required to turn plaintext into HTML. (Per spec, <description> must be plaintext.)
2010-04-21Revert "Update release notes and version number for 0.9.2"Brion Vibber
This reverts commit 98f0d970da98e5b6de18972d033320a191152eb4. Per xopher we're not yet ready to push 0.9.2 theme directories live; we also haven't merged down various things from testing that need to be in the release such as installer fixes.
2010-04-20Update release notes and version number for 0.9.2Zachary Copley
2010-04-20Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-04-20Fix email notifications for @-replies that come via OStatus.Brion Vibber
* Moved notification sending from Notice::saveReplies to distrib queue handler, so it'll pull from the reply set we've saved regardless of how we got it. * Set up gettext infrastructure for command-line scripts; gets localization mail notifications etc working from background queues. * Adjusted locale switching: common_switch_locale() works at runtime for bg scripts, forces a message catalog update
2010-04-19Test for and use mysqli in installer, since that's what we use later, rather ↵Brion Vibber
than mysql.
2010-04-19Merge branch 'master' into testingBrion Vibber
2010-04-19Fix ticket #2289: registration links were showing in top nav bar, login page ↵Brion Vibber
message when site set to invite-only or closed registration, when the 'register' action can't be used.
2010-04-12showplugins.php: dump list of activated plugins and their settings on this siteBrion Vibber
2010-04-12showplugins.php: dump list of activated plugins and their settings on this siteBrion Vibber
2010-04-10Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-04-10catch UserNoProfileException and continueEvan Prodromou
2010-04-09Fix for conversation check in @-reply notification email; i18n cleanup on ↵Brion Vibber
mail messages: fixed some bad gettext usage, added trans doc comments.
2010-04-09Fix localization for license notice in page footer (for ticket #2274: i18n ↵Brion Vibber
cleanup)
2010-04-09Fix localization for license notice in page footer (for ticket #2274: i18n ↵Brion Vibber
cleanup)
2010-04-08Maintain 'page' parameter for block from subscribers list, block & ↵Brion Vibber
make-admin from group members list. Refactored some of the returnto handling code. It looks like we have several different ways of handling this in the software, icky! Marked the session-based functions with fixmes (they'll stomp on other forms when multiple tabs/windows are used) and combined some commonish bits of code between ProfileFormAction and the group block & makeadmin actions where they're using hidden form parameters. Extended that to allow passing dynamic parameters (eg 'page') as well as static ones (action, target user/group).
2010-04-08In single-user mode, link #hashtags to the user's tagged stream rather than ↵Brion Vibber
the global tag action, which isn't registered. Previously they would end up pointing to the home URL.
2010-04-08Revert "scripts/strip_geo.php to remove geodata from notices by a given ↵Brion Vibber
user/profile." This reverts commit ab20e75ff8feab01b4fec81c02b8b4039d65cca0. Accidentally removed another commit; clearing up...
2010-04-08scripts/strip_geo.php to remove geodata from notices by a given user/profile.Brion Vibber
May be slow or run out of memory if run on particularly prolific posters -- not yet optimized for that case. Note that geodata that has already been sent out to other services (via ostatus, omb, twitter, etc) will not be removed from them.
2010-04-08In single-user mode, link #hashtags to the user's tagged stream rather than ↵Brion Vibber
the global tag action, which isn't registered. Previously they would end up pointing to the home URL.
2010-04-07Refactor installer into base class plus web and CLI installers.Brion Vibber
scripts/install_cli.php is a bit experimental at present but works.
2010-04-05Merge branch 'master' into testingBrion Vibber
2010-04-05make profilelist homepage link attributes overrideableEvan Prodromou
2010-04-05Merge branch 'nofollow'Evan Prodromou