summaryrefslogtreecommitdiff
path: root/plugins/OStatus
AgeCommit message (Collapse)Author
2010-11-02Tossing in a basic i18n message export to script code. Plugins can hook ↵Brion Vibber
StartScriptMessage/EndScriptMessage, or directly add needed mappings in Action::getScriptMessages(). Exported entries are accessible as SN.msg(key) at runtime. StatusNet core code now sets the tooltip text on .attachment.more links when they receive their attachment-expansion magic; this will override the hardcoded tooltip text saved from OStatus plugin when displaying timelines in the web UI.
2010-10-28Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-23Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-18Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.xSiebrand Mazeland
2010-10-18Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-18Clean up edge cases in OStatus FeedDiscoveryTestBrion Vibber
2010-10-18Make HTTP timeout configurable on OStatus's remote-tests.php (needs to be ↵Brion Vibber
pumped up a fair amount when doing Salmon pings with queues off on the test boxes, especially without the fast math library)
2010-10-14accept profile URL as a LRDD identifierEvan Prodromou
2010-10-14Show Webfinger, URI and profile page as subject and aliasesEvan Prodromou
2010-10-13Clean up remote avatar temporary files if we fail before saving them into ↵Brion Vibber
avatars directory (OMB core, OStatus, WikiHowProfile, YammerImport)
2010-10-09Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-08Merge branch 'fatals' into 0.9.xBrion Vibber
2010-10-08Normalize execution guards on OStatus php files; mostly helps cut down on ↵Brion Vibber
annoying 'class not found' errors when something spiders the dirs. :P
2010-10-07Merge branch 'master' into 0.9.xBrion Vibber
2010-10-07OStatus fixup-shadow.php: add check for user_group entries with 'uri' entry ↵Brion Vibber
shadowing an actual local_group -- this can cause trouble now that we sometimes actually use the uri field for lookups, and leaving the entries around would break updating the table to fill out formerly missing uris, since the unique index entry would already be taken by the bad entry.
2010-10-07Fix regression in OStatus remote group delivery: local group check was bogus ↵Brion Vibber
in updated Ostatus_profile::localGroupFromUrl()
2010-10-05Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-04Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-10-04Fix unescaped dollar signs in double-quoted strings due to localization ↵Brion Vibber
updates (%1$s etc)
2010-10-04Extra debug helper line in push callbackBrion Vibber
2010-10-04Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: plugins/AnonymousFave/AnonymousFavePlugin.php
2010-10-04Fix broken code in OStatus feed maint/test scripts (using field name from ↵Brion Vibber
older dev code, would load up wrong record)
2010-10-03Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-01Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-09-30Always specify UTF-8 targt charset for html_entity_decode(); default is ↵Brion Vibber
8-bit ISO-8859-1 which causes things to break when we later pass them through things that expect to work with UTF-8. For instance, running through preg_replace() with the /u option results in NULL, leading to problems with OStatus and SubMirror generating their plaintext versions and doing length-cropping.
2010-09-28Localisation updates from http://translatewiki.netSiebrand Mazeland
* first export of L10n for languages other than English. Could use some testing/QA.
2010-09-28Update POT files.Siebrand Mazeland
2010-09-27Enhanced OStatus fixup-shadow.php cleanup script to check for direct matches ↵Brion Vibber
against user.uri and user_group.uri (for local groups). This should catch cases that were missed before because we were only doing pattern-matching checks, and the pattern didn't match because the site has been renamed and the old URI no longer matches the current domain / path structure. Could use some more thorough testing in practice!
2010-09-27Add a comment in UserxrdAction warning future maintainers not to break ↵Brion Vibber
domain migrations if adding domain checking to the webfinger lookup in future.
2010-09-27User user_group.uri to look up local groups for OStatus addressing checks ↵Brion Vibber
when available. Will still fall back to the URL-scheme-checking code if there's no matching user_group record. Should help with keeping remote groups working when renaming sites -- as long as user_group.uri has been filled out on the site changing its domain and other issues with POST handling are resolved.
2010-09-23Update POT files for plugins.Siebrand Mazeland
2010-09-22Merge branch '0.9.x' into activityexportEvan Prodromou
Conflicts: plugins/OStatus/OStatusPlugin.php
2010-09-21make some static functions public for OStatus_profileEvan Prodromou
2010-09-20Bump up HTTP timeout for OStatus remote-tests.php to 60 seconds; when ↵Brion Vibber
running without queues and with only bcmath, salmon key generation is absurdly slow.
2010-09-19Update pot files for plugins.Siebrand Mazeland
2010-09-19* i18n/L10n updateSiebrand Mazeland
* translator comments added * remove superfluous whitespace
2010-09-19Update pot files for plugins.Siebrand Mazeland
2010-09-16Ticket #2731: Fix for regression in posting to remote groups (regression in ↵Brion Vibber
2d4e0693c88bb8cad47f917db3ac5ecfacf28619) Changes in 2d4e0693c88bb8cad47f917db3ac5ecfacf28619 changed Ostatus_profile::filterReplies() (which sorts out the local, remote, and group recipients on incoming remote messages) from checking for remote profiles with a safe call to Ostatus_profile::staticGet() to calls through Ostatus_profile::ensureProfileURL() and Ostatus_profile::ensureWebfinger(), which throw exceptions and thus abort processing. Since this was done before checking for local groups, the filter would fail when the ensure* functions determined it was looking at a local group and rightfully refused to create a remote group profile for it. Changing the calls to the ensure* functions was done so we can record remote reply recipients for future reply-to-reply processing (the staticGet() call was a cheaper way to do a lookup when we knew we only actually had to process groups that somebody signed up to); most important fix is simply to actually check for the exception! :) Here I'm changing the order of processing so we do the local group lookup first -- where it's nice and safe -- and then when we do the remote checks, we'll go ahead and gracefully skip that entry if the full remote lookup fails, so we'll still process any following recipients.
2010-09-15Merge branch '0.9.x' into activityexportEvan Prodromou
2010-09-15Update/add pot files for plugins.Siebrand Mazeland
2010-09-14note on why we don't use Group_member::asActivity() in OStatusPluginEvan Prodromou
2010-09-13move code for making activities from OStatus plugin to Subscription and Fave ↵Evan Prodromou
classes
2010-09-12Add translator hint.Siebrand Mazeland
2010-09-07Fix for #2663: fix for original/96px-size avatars getting saved with bad ↵Brion Vibber
permissions, causing failure to see images if background queues are different user from web server. The original-size file is now forced to 0644 (all-readable), which should help. Not sure this is 100% ideal, but it's better than 0600! (The other sizes were being created in other code and had sane read perms already.) Watch out for similar issues in Twitter bridge etc; avatar import code should get cleaned up and consolidated.
2010-09-03syntax error in exception string in discovery.phpEvan Prodromou
2010-09-03* i18n/L10n updates and FIXMEs addedSiebrand Mazeland
* whitespace fixes
2010-09-02Merge branch 'swat0' into 0.9.xEvan Prodromou
2010-09-01Revert "debugging replyToID"Evan Prodromou
This reverts commit bb9353f6e04f863c50bca12247d1a70cb12350d5.
2010-09-01debugging replyToIDEvan Prodromou
2010-09-01Correctly check for user's id in replies in user salmon postEvan Prodromou