Age | Commit message (Collapse) | Author |
|
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.
|
|
in updated Ostatus_profile::localGroupFromUrl()
|
|
updates (%1$s etc)
|
|
|
|
older dev code, would load up wrong record)
|
|
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.
|
|
* first export of L10n for languages other than English. Could use some testing/QA.
|
|
|
|
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!
|
|
domain migrations if adding domain checking to the webfinger lookup in future.
|
|
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.
|
|
|
|
Conflicts:
plugins/OStatus/OStatusPlugin.php
|
|
|
|
running without queues and with only bcmath, salmon key generation is absurdly slow.
|
|
|
|
* translator comments added
* remove superfluous whitespace
|
|
|
|
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.
|
|
|
|
|
|
|
|
classes
|
|
|
|
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.
|
|
|
|
* whitespace fixes
|
|
|
|
This reverts commit bb9353f6e04f863c50bca12247d1a70cb12350d5.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
plugins/OStatus/classes/Ostatus_profile.php
|
|
|
|
|
|
Conflicts:
plugins/OStatus/classes/Ostatus_profile.php
|
|
|
|
|
|
|
|
object-type set; be more liberal about accepting posts from feeds where the author info doesn't match (we'll post under the feed's profile and just not try to update the profile info).
|
|
that turn out to be XML feeds with funny namespaces.
|
|
object-type set; be more liberal about accepting posts from feeds where the author info doesn't match (we'll post under the feed's profile and just not try to update the profile info).
|
|
that turn out to be XML feeds with funny namespaces.
|
|
style lead to trying to save a reply entry twice).
|