]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Evan Prodromou [Mon, 22 Feb 2010 04:19:29 +0000 (23:19 -0500)]
change erroneous common_sql_time() to common_sql_date()
Evan Prodromou [Mon, 22 Feb 2010 04:16:42 +0000 (23:16 -0500)]
was using HTMLPurifier::purify() as a static method, which it is not
Evan Prodromou [Mon, 22 Feb 2010 04:08:01 +0000 (23:08 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 22 Feb 2010 04:07:46 +0000 (23:07 -0500)]
add HTMLPurifier config
Brion Vibber [Mon, 22 Feb 2010 03:55:53 +0000 (19:55 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Mon, 22 Feb 2010 03:51:11 +0000 (19:51 -0800)]
OStatus: record source profile & saving method in ostatus_source table; this allows us to distinguish posts that have come through an unverified group feed
Evan Prodromou [Mon, 22 Feb 2010 03:52:52 +0000 (22:52 -0500)]
hook in OStatusPlugin to return Ostatus_profile URIs where applicable
Evan Prodromou [Mon, 22 Feb 2010 03:52:27 +0000 (22:52 -0500)]
slight rearrangement of getting profile URIs
Evan Prodromou [Mon, 22 Feb 2010 03:44:58 +0000 (22:44 -0500)]
Add error info for missing URI in attention
Evan Prodromou [Mon, 22 Feb 2010 03:41:02 +0000 (22:41 -0500)]
reversed in_array() arguments in UsersalmonAction
Evan Prodromou [Mon, 22 Feb 2010 03:38:18 +0000 (22:38 -0500)]
Wasn't putting in namespaces for reply salmons
Evan Prodromou [Mon, 22 Feb 2010 03:35:04 +0000 (22:35 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 22 Feb 2010 03:34:40 +0000 (22:34 -0500)]
Notice::getReplies() returns array of profile IDs
Brion Vibber [Mon, 22 Feb 2010 03:02:23 +0000 (19:02 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Mon, 22 Feb 2010 03:01:32 +0000 (19:01 -0800)]
OStatus: drop the remnants of feedsubsettings, replaced by ostatussub and no longer linked in UI
Evan Prodromou [Mon, 22 Feb 2010 02:57:32 +0000 (21:57 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 22 Feb 2010 02:57:09 +0000 (21:57 -0500)]
work harder to preserve info when creating new Ostatus_profile
Brion Vibber [Mon, 22 Feb 2010 02:56:41 +0000 (18:56 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Mon, 22 Feb 2010 02:54:06 +0000 (18:54 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Sun, 21 Feb 2010 22:46:26 +0000 (14:46 -0800)]
OStatus PuSH fixes:
- hub now defers subscription state updates until after verification, per spec
- hub now supports synchronous verification when requested (if async is not requested after)
- client now requests synchronous verification (it's a bit safer)
- cleanup on subscription logging/error responses
Evan Prodromou [Mon, 22 Feb 2010 02:39:50 +0000 (21:39 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 22 Feb 2010 02:38:59 +0000 (21:38 -0500)]
use some constants and do some extra output in webfinger output
Evan Prodromou [Mon, 22 Feb 2010 02:38:16 +0000 (21:38 -0500)]
Do mention lookup for Webfinger accounts in OStatusPlugin
Evan Prodromou [Mon, 22 Feb 2010 02:37:12 +0000 (21:37 -0500)]
Add OStatus_profile::ensureWebfinger()
Evan Prodromou [Mon, 22 Feb 2010 02:36:36 +0000 (21:36 -0500)]
make some of the Webfinger magic strings constants
Brion Vibber [Sun, 21 Feb 2010 23:21:18 +0000 (15:21 -0800)]
Performance fix for FriendFeed sup interface: MySQL query optimizer was doing a table scan on notice; explicit subquery makes it run much more efficiently, only scanning items within the period under consideration. Standard subquery should be PostgreSQL-compatible.
Zach Copley [Sun, 21 Feb 2010 22:44:28 +0000 (14:44 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Zach Copley [Sun, 21 Feb 2010 22:43:28 +0000 (14:43 -0800)]
Add PoCo namespace to notice feeds
Brion Vibber [Sun, 21 Feb 2010 22:28:06 +0000 (14:28 -0800)]
OStatus PuSH fixlets:
- set minimal error page output on PuSH callback
- allow hub to retry ($config['ostatus']['hub_retries']), simplify internal iface a bit. Retries are pushed to end of queue but otherwise not delayed yet; makes delivery more robust to one-off transitory errors but not yet against downtime.
Evan Prodromou [Sun, 21 Feb 2010 22:00:19 +0000 (17:00 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Sun, 21 Feb 2010 22:00:05 +0000 (17:00 -0500)]
fixup activity serialization so salmon notifications work
Brion Vibber [Sun, 21 Feb 2010 21:40:59 +0000 (13:40 -0800)]
OStatus feedsub fixlets:
- actually udpate feedsub.last_update when we get a new PuSH update in
- move incoming PuSH processing to a queue handler to minimize time spent before POST return, as recommended by PuSH spec. When queues are disabled this'll still be handled immediately.
Evan Prodromou [Sun, 21 Feb 2010 21:23:55 +0000 (16:23 -0500)]
include namespaces in posted activities in notifyActivity()
Evan Prodromou [Sun, 21 Feb 2010 21:20:30 +0000 (16:20 -0500)]
Combine code that finds mentions into one place and add hook points
Combined the code that finds mentions of other profiles into one place.
common_find_mentions() finds mentions and calls hooks to allow
supplemental syntax for mentions (like OStatus).
common_linkify_mentions() links mentions.
common_linkify_mention() links a mention.
Notice::saveReplies() now uses common_find_mentions() instead of
trying to parse everything again.
Evan Prodromou [Sun, 21 Feb 2010 19:18:16 +0000 (14:18 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Sun, 21 Feb 2010 19:17:37 +0000 (14:17 -0500)]
use Ostatus_profile::ensureActivityObjectProfile() in SalmonAction::ensureProfile()
Evan Prodromou [Sun, 21 Feb 2010 19:14:45 +0000 (14:14 -0500)]
slightly more robust remote profile creation
Brion Vibber [Sun, 21 Feb 2010 19:11:37 +0000 (11:11 -0800)]
Fix for doc action on systems that return false for globbing in a non-existing dir
Brion Vibber [Sun, 21 Feb 2010 18:48:48 +0000 (10:48 -0800)]
OStatus: debug aid - log the received Salmon post when it can't be parsed properly as an <atom:entry>
Evan Prodromou [Sun, 21 Feb 2010 18:32:24 +0000 (13:32 -0500)]
correct actor for OStatusPlugin::onEndUnsubscribe()
Evan Prodromou [Sun, 21 Feb 2010 18:31:58 +0000 (13:31 -0500)]
correct call to time() in Ostatus_profile::notify()
Evan Prodromou [Sun, 21 Feb 2010 18:31:31 +0000 (13:31 -0500)]
correct name check in ActivityObject::fromProfile()
Evan Prodromou [Sun, 21 Feb 2010 18:11:00 +0000 (13:11 -0500)]
add activity:subject to atom feeds
Evan Prodromou [Sun, 21 Feb 2010 18:03:13 +0000 (13:03 -0500)]
add feed-level author for user atom feeds
Evan Prodromou [Sun, 21 Feb 2010 17:56:46 +0000 (12:56 -0500)]
try different ways to get a profile from a feed
Evan Prodromou [Sun, 21 Feb 2010 17:55:40 +0000 (12:55 -0500)]
make avatar attribute explicit for ActivityObject
Evan Prodromou [Sun, 21 Feb 2010 17:54:52 +0000 (12:54 -0500)]
remove unused profile code from salmonaction
Evan Prodromou [Sun, 21 Feb 2010 16:24:04 +0000 (11:24 -0500)]
redirect ostatussub if not logged in
Evan Prodromou [Sun, 21 Feb 2010 15:53:32 +0000 (10:53 -0500)]
use notifyActivity() for notifications in OStatusPlugin
Evan Prodromou [Sun, 21 Feb 2010 15:53:11 +0000 (10:53 -0500)]
activity notification in Ostatus_profile
Evan Prodromou [Sun, 21 Feb 2010 15:50:51 +0000 (10:50 -0500)]
let activities generate their own XML
Evan Prodromou [Sun, 21 Feb 2010 14:23:51 +0000 (09:23 -0500)]
permalink on a note represented by rel=alternate
Evan Prodromou [Sun, 21 Feb 2010 14:19:27 +0000 (09:19 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Conflicts:
plugins/OStatus/lib/activity.php
Evan Prodromou [Sun, 21 Feb 2010 14:17:52 +0000 (09:17 -0500)]
more tests for Activity parsing
Evan Prodromou [Sun, 21 Feb 2010 14:17:35 +0000 (09:17 -0500)]
Save posted notices in usersalmon
Evan Prodromou [Sun, 21 Feb 2010 14:17:00 +0000 (09:17 -0500)]
Notice::saveNew() accepts url and rendered options
Evan Prodromou [Sun, 21 Feb 2010 14:16:27 +0000 (09:16 -0500)]
saving notices in salmon actions
Evan Prodromou [Sun, 21 Feb 2010 14:15:57 +0000 (09:15 -0500)]
more complete content retrieval in ActivityObject::__construct()
Brion Vibber [Sun, 21 Feb 2010 02:25:40 +0000 (18:25 -0800)]
OStatus: fix regressions from merge
Evan Prodromou [Sun, 21 Feb 2010 01:36:54 +0000 (20:36 -0500)]
Subscription::start() should be enough, right?
Evan Prodromou [Sun, 21 Feb 2010 01:34:29 +0000 (20:34 -0500)]
do some double-checks on favor and disfavor handlers in OStatusPlugin
Evan Prodromou [Sun, 21 Feb 2010 01:31:06 +0000 (20:31 -0500)]
make sure argument to Fave::addNew() is a profile
Evan Prodromou [Sun, 21 Feb 2010 01:27:04 +0000 (20:27 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Conflicts:
plugins/OStatus/OStatusPlugin.php
Evan Prodromou [Sun, 21 Feb 2010 00:58:20 +0000 (19:58 -0500)]
Add support for favor and disfavor notification
Added support for favoring and disfavoring in OStatusPlugin.
Needed to represent the Notice as an activity:object, so added
some code for that in lib/activity.php.
Also, made some small changes to OStatusPlugin so it handled
having a non-default argument $object correctly.
Brion Vibber [Sun, 21 Feb 2010 00:45:30 +0000 (16:45 -0800)]
OStatus: Salmon favorite & unfavorite events now handled
Brion Vibber [Sat, 20 Feb 2010 23:56:36 +0000 (15:56 -0800)]
OStatus: send favorite/unfavorite notifications to remote authors
Brion Vibber [Sat, 20 Feb 2010 20:46:48 +0000 (12:46 -0800)]
OStatus subscription page fixups; works but needs lots of UI loving!
- ostatussub via subscribe button now works again (changed to take profile instead of feed, patched up to the new discovery)
- added a quickie hack to allow putting your remote profile URI in place of webfinger acct through the remote-sub button (needs to be patched up to do proper discovery via XRDS or a link or something)
Evan Prodromou [Sat, 20 Feb 2010 18:31:20 +0000 (13:31 -0500)]
Change to use TagURI::base() instead of common_config()
I changed the way that tag: URIs are minted, so we now use the right
base. Ideally most of these would use HTTP URIs instead, but for
now at least they use the right base.
Brion Vibber [Sat, 20 Feb 2010 18:20:42 +0000 (10:20 -0800)]
OStatus: fix regressions in plugin & usersalmon action. Sub/unsub notifications are working again.
Evan Prodromou [Sat, 20 Feb 2010 18:23:08 +0000 (13:23 -0500)]
Add a library to mint tag URIs
We've been making pretty crummy tag: URIs for a while. We should
continue to favor HTTP URIs, since it's nice to be able to discover
things about an object you've shared the ID of. Where that's not
possible, this makes nicer tag URIs.
Brion Vibber [Sat, 20 Feb 2010 18:06:28 +0000 (10:06 -0800)]
drop no-longer-used XML_Feed_Parser extlib package from OStatus plugin
Evan Prodromou [Sat, 20 Feb 2010 17:03:32 +0000 (12:03 -0500)]
Add events for favor and disfavor
Added events to core code for when someone favors or disfavors a
notice.
Evan Prodromou [Sat, 20 Feb 2010 16:48:42 +0000 (11:48 -0500)]
add hooks for OStatus notification on subscribe/unsubscribe
Evan Prodromou [Sat, 20 Feb 2010 16:38:05 +0000 (11:38 -0500)]
adjust URI, URL, and location in Ostatus_profile::processPost
Evan Prodromou [Sat, 20 Feb 2010 16:35:01 +0000 (11:35 -0500)]
Add HTMLPurifier to extlib
HTMLPurifier defangs arbitrary submitted HTML. We're using it in the
OStatus plugin, but it may be valuable for other parts of the codebase
(I think OEmbed might benefit, for example).
Evan Prodromou [Sat, 20 Feb 2010 16:17:54 +0000 (11:17 -0500)]
Cool bug! Technically good PHP syntax
Evan Prodromou [Sat, 20 Feb 2010 16:12:43 +0000 (11:12 -0500)]
Move some salmon processing to a superclass
Moved some salmon processing to a superclass so we could handle group
salmon posts, too.
Brion Vibber [Sat, 20 Feb 2010 01:01:38 +0000 (17:01 -0800)]
OStatus: Salmon notifications now being generated moderately correctly. :) Needs to be an <entry> not a <feed>.
Brion Vibber [Sat, 20 Feb 2010 00:21:17 +0000 (16:21 -0800)]
OStatus: sub/unsub notifications working again. Fixed up autodetection of feed info at profile setup time
Evan Prodromou [Fri, 19 Feb 2010 21:55:24 +0000 (16:55 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Conflicts:
plugins/OStatus/actions/salmon.php
Evan Prodromou [Fri, 19 Feb 2010 21:37:07 +0000 (16:37 -0500)]
some more salmon stuff
Brion Vibber [Fri, 19 Feb 2010 20:08:07 +0000 (12:08 -0800)]
OStatus: hooked up follow/unfollow events on Salmon endpoint to create/destroy remote subscriber relationships
Brion Vibber [Fri, 19 Feb 2010 18:29:06 +0000 (10:29 -0800)]
OStatus: fix up Salmon endpoint detection/saving, timestamp fixes.
Evan Prodromou [Fri, 19 Feb 2010 13:31:46 +0000 (08:31 -0500)]
remove unused subs_(un)subscribe_user functions
Evan Prodromou [Fri, 19 Feb 2010 13:31:20 +0000 (08:31 -0500)]
replace calls to subs_(un)subscribe_user with Subscription methods
Sarven Capadisli [Fri, 19 Feb 2010 13:22:25 +0000 (14:22 +0100)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Fri, 19 Feb 2010 13:16:45 +0000 (08:16 -0500)]
Refactor subs_* functions for remote use
The subs_* functions in subs.php have made a lot of assumptions
about users versus profiles. I've refactored the functions to
be methods of the Subscription class instead, and to use Profile
objects throughout.
Some of the checks for blocks or existing subscriptions depended
on users or profiles, so I've moved those methods around a bit.
I've left stubs for the subs_* functions until we get time to replace
them.
Sarven Capadisli [Fri, 19 Feb 2010 12:13:05 +0000 (13:13 +0100)]
Using inlineScript instead for clickjacking check
Sarven Capadisli [Fri, 19 Feb 2010 12:03:26 +0000 (13:03 +0100)]
Only load json2.js if native JSON is not supported
Evan Prodromou [Fri, 19 Feb 2010 03:18:14 +0000 (22:18 -0500)]
add ActivityContext class and test it
Evan Prodromou [Fri, 19 Feb 2010 03:13:47 +0000 (22:13 -0500)]
add type='text/html' to alternate link in Notice Atom
Brion Vibber [Thu, 18 Feb 2010 21:22:21 +0000 (21:22 +0000)]
OStatus refactoring to clean up profile vs feed and fix up subscription issues.
PuSH subscription maintenance broken back out to FeedSub, letting Ostatus_profile deal with the profile level (user or group, with unique id URI)
Brion Vibber [Thu, 18 Feb 2010 18:22:02 +0000 (18:22 +0000)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Thu, 18 Feb 2010 18:20:48 +0000 (18:20 +0000)]
OStatus sub/unsub updates:
- fix for PuSH unsub verification
- send Salmon notification on unsub
Sarven Capadisli [Thu, 18 Feb 2010 17:12:47 +0000 (18:12 +0100)]
Minor adjustment to edit icon position
Sarven Capadisli [Thu, 18 Feb 2010 17:12:08 +0000 (18:12 +0100)]
Fixes long strings from not breaking
Evan Prodromou [Thu, 18 Feb 2010 12:11:20 +0000 (07:11 -0500)]
always distribute to inbox of author immediately
Evan Prodromou [Thu, 18 Feb 2010 11:36:47 +0000 (06:36 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Thu, 18 Feb 2010 11:36:32 +0000 (06:36 -0500)]
more work on salmon
Zach Copley [Thu, 18 Feb 2010 01:48:41 +0000 (01:48 +0000)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline