summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2010-04-05override linkAttributes() method for subscribersminilistEvan Prodromou
2010-04-05override linkAttributes() method for profileminilistEvan Prodromou
2010-04-05add linkAttributes() method for profilelistEvan Prodromou
2010-04-05lib/default.php has nofollow groupEvan Prodromou
2010-04-05breakout subscribers minilistEvan Prodromou
2010-04-05balance brackets on profileminilistEvan Prodromou
2010-04-05add an event for subscribers minilistEvan Prodromou
2010-04-02Ticket 2271: extra whitespace in underlined link for username in notice listsBrion Vibber
Switching to a raw() output for the <span> of the nickname removes the extra whitespace and fixes display.
2010-04-02Ticket 2271: extra whitespace in underlined link for username in notice listsBrion Vibber
Switching to a raw() output for the <span> of the nickname removes the extra whitespace and fixes display.
2010-04-01ProfileMiniListItem does same events as ProfileListItemEvan Prodromou
2010-03-30Ticket #1281: JID validation now more or less follows spec instead of ↵Brion Vibber
calling e-mail validator Basic splitting/validation code submitted via http://status.net/wiki/XMPP/JID_validation -- Copyright 2009 Patrick Georgi <patrick@georgi-clan.de> Licensed under ISC-L, which is compatible with everything else that keeps the copyright notice intact. Added PEAR Net_IDNA package to extlib to handle IDN normalization (also used by Validate's email verifier if present). * added test suite, supplemented my own test cases with JID validation and normalization test cases from libpurple * follows XMPP rules for validation of name part * fixes for normalization with non-ASCII names * will do domain checks if $config['email']['check_domain'] is on, checking for an XMPP-server SRV record or any lookup. (We don't actually need to ping those direct though.) * some more obscure stringprep validation rules aren't quite followed yet, but we err on the side of permissiveness. * we still don't actually let you save your address with a resource on it, as we strip resources when looking up users who've sent us presence or message updates. I would recommend saving the outgoing resource as a separate field if/when we add that..?
2010-03-30Quick fixes for grouplistall:Brion Vibber
* respect count instead of listing all groups * respect page parameter * don't spew notice on undefined $id * don't spew notice on undefined $group->homepage_url (dropped the element since there's nothing to go in it)
2010-03-30Quick fixes for grouplistall:Brion Vibber
* respect count instead of listing all groups * respect page parameter * don't spew notice on undefined $id * don't spew notice on undefined $group->homepage_url (dropped the element since there's nothing to go in it)
2010-03-29Tweak to Eugene Crosser's patch to make transactions and acks configurable; ↵Brion Vibber
disabling them gets basic message delivery working under MorbidQ, and may help with RabbitMQ etc. I swapped the settings from negative to positive ($config['queue']['stomp_transactions'] = false rather than $config['queue']['stomp_no_transactions'] = true), gave them defaults (both on for best ActiveMQ experience), and added notes to the README about configuring them.
2010-03-29Make stomp queue manager work with basic serversEugene Crosser
Signed-off-by: Eugene Crosser <crosser@average.org>
2010-03-29Merge branch 'master' into testingBrion Vibber
Conflicts: plugins/Blacklist/BlacklistPlugin.php
2010-03-29Renamed HTTPResponse class to StatusNet_HTTPResponse to avoid conflict with ↵Brion Vibber
PECL HTTP extension. The class isn't referenced by name by any other code I can see so this should have no side effects.
2010-03-29Add $config['db']['annotate_queries'] option to include caller ID comments ↵Brion Vibber
into queries. Comment can then be seen in process list, slow query logs on the server, aiding in tracking down unexpected slow queries. SELECT /* queuedaemon.php Ostatus_profile->processPost */ * FROM notice WHERE ( notice.uri = 'http://stormcloud.local/mublog2/notice/479' ) INSERT /* POST Notice::saveNew */ INTO notice (profile_id , content ....
2010-03-28update README and version number0.9.1Evan Prodromou
2010-03-27move check for bad IDs from activityobject to activity and make simplerEvan Prodromou