summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-06-22- Add profile_info tag to Atom authorZach Copley
- Normalize xmlns:statusnet links in the API
2010-06-16Fix problem with AvatarLink in which it was sometimes leaving the width ↵Zach Copley
attribute empty
2010-06-16- More useful group info from api/statusnet/group/showZach Copley
- Add statusnet:group_info tag to group Atom feeds
2010-06-14fix URL regex for tags to use UTF-8Evan Prodromou
2010-06-11Fix for DB error reporting in installer (MySQL path)Brion Vibber
2010-06-11Fix a couple bad format entries in router setup (format param had 'xmljson' ↵Brion Vibber
instead of 'xml|json'). Warning: the format strings aren't actually being enforced here which is probably why they weren't caught earlier. Not quite sure why, it should be looked at!
2010-06-03Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
2010-06-03Installer tweak to aid with IIS setup: if config.php exists, but is both ↵Brion Vibber
empty and writable, let the installer proceed and overwrite it.
2010-06-01Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
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-21Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
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-30Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
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-26Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
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-22Add statusnet: prefix for API to JSON and XML outputEvan Prodromou
I added the statusnet: prefix to the xml output. This prefix should be declared on the root element of all relevant XML output. I also added two StatusNet-specific fields: * statusnet:html - rendered HTML. Clients shouldn't have to guess at the correct HTML rendering for notices, especially since some of the links depend on context. * statusnet:profile_url - profile URL for a user. You can't count on a user being a local user in a distributed microblogging world. So, this shows the explicit profile_url.
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.