]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agoMerge branch 'master' into testing
Evan Prodromou [Mon, 22 Feb 2010 16:04:11 +0000 (11:04 -0500)]
Merge branch 'master' into testing

14 years agoclear the site owner when profile changes
Evan Prodromou [Mon, 22 Feb 2010 16:03:56 +0000 (11:03 -0500)]
clear the site owner when profile changes

14 years agowiring in magicsig
James Walker [Mon, 22 Feb 2010 14:05:52 +0000 (09:05 -0500)]
wiring in magicsig

14 years agoadding magic sig stuff
James Walker [Mon, 22 Feb 2010 14:05:32 +0000 (09:05 -0500)]
adding magic sig stuff

14 years agoMerge remote branch 'statusnet/testing' into testing
James Walker [Mon, 22 Feb 2010 14:03:42 +0000 (09:03 -0500)]
Merge remote branch 'statusnet/testing' into testing

14 years agohandle poco nicknames in Ostatus_profile
Evan Prodromou [Mon, 22 Feb 2010 12:57:44 +0000 (07:57 -0500)]
handle poco nicknames in Ostatus_profile

14 years agoadd PoCo preferredUsername for nickname in Profile::asActivityNoun()
Evan Prodromou [Mon, 22 Feb 2010 12:43:12 +0000 (07:43 -0500)]
add PoCo preferredUsername for nickname in Profile::asActivityNoun()

14 years agoadd strongly-suggested link to Profile::asActivityNoun()
Evan Prodromou [Mon, 22 Feb 2010 12:40:20 +0000 (07:40 -0500)]
add strongly-suggested link to Profile::asActivityNoun()

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 22 Feb 2010 12:09:08 +0000 (07:09 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agofix broken link in OpenID documentation
Evan Prodromou [Mon, 22 Feb 2010 12:08:57 +0000 (07:08 -0500)]
fix broken link in OpenID documentation

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Zach Copley [Mon, 22 Feb 2010 09:23:24 +0000 (01:23 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoUpgrade profile-based activity noun to have more complete set of
Zach Copley [Mon, 22 Feb 2010 09:21:34 +0000 (01:21 -0800)]
Upgrade profile-based activity noun to have more complete set of
profile fields

14 years agoMerge remote branch 'statusnet/testing' into testing
James Walker [Mon, 22 Feb 2010 06:40:03 +0000 (01:40 -0500)]
Merge remote branch 'statusnet/testing' into testing

14 years agoadding extlib for Crypt_RSA
James Walker [Mon, 22 Feb 2010 06:39:00 +0000 (01:39 -0500)]
adding extlib for Crypt_RSA

14 years agoOStatus: fix remote subscription when putting webfinger address in the little box
Brion Vibber [Mon, 22 Feb 2010 06:00:13 +0000 (06:00 +0000)]
OStatus: fix remote subscription when putting webfinger address in the little box

14 years agodon't calculate replies for remote notices
Evan Prodromou [Mon, 22 Feb 2010 04:56:48 +0000 (23:56 -0500)]
don't calculate replies for remote notices

14 years agosome info code for usersalmon.php
Evan Prodromou [Mon, 22 Feb 2010 04:39:52 +0000 (23:39 -0500)]
some info code for usersalmon.php

14 years agodon't save Notices that already exist in Salmon
Evan Prodromou [Mon, 22 Feb 2010 04:32:20 +0000 (23:32 -0500)]
don't save Notices that already exist in Salmon

14 years agochange erroneous common_sql_time() to common_sql_date()
Evan Prodromou [Mon, 22 Feb 2010 04:19:29 +0000 (23:19 -0500)]
change erroneous common_sql_time() to common_sql_date()

14 years agowas using HTMLPurifier::purify() as a static method, which it is not
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

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 22 Feb 2010 04:08:01 +0000 (23:08 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoadd HTMLPurifier config
Evan Prodromou [Mon, 22 Feb 2010 04:07:46 +0000 (23:07 -0500)]
add HTMLPurifier config

14 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Mon, 22 Feb 2010 03:55:53 +0000 (19:55 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

14 years agoOStatus: record source profile & saving method in ostatus_source table; this allows...
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

14 years agohook in OStatusPlugin to return Ostatus_profile URIs where applicable
Evan Prodromou [Mon, 22 Feb 2010 03:52:52 +0000 (22:52 -0500)]
hook in OStatusPlugin to return Ostatus_profile URIs where applicable

14 years agoslight rearrangement of getting profile URIs
Evan Prodromou [Mon, 22 Feb 2010 03:52:27 +0000 (22:52 -0500)]
slight rearrangement of getting profile URIs

14 years agoAdd error info for missing URI in attention
Evan Prodromou [Mon, 22 Feb 2010 03:44:58 +0000 (22:44 -0500)]
Add error info for missing URI in attention

14 years agoreversed in_array() arguments in UsersalmonAction
Evan Prodromou [Mon, 22 Feb 2010 03:41:02 +0000 (22:41 -0500)]
reversed in_array() arguments in UsersalmonAction

14 years agoWasn't putting in namespaces for reply salmons
Evan Prodromou [Mon, 22 Feb 2010 03:38:18 +0000 (22:38 -0500)]
Wasn't putting in namespaces for reply salmons

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 22 Feb 2010 03:35:04 +0000 (22:35 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoNotice::getReplies() returns array of profile IDs
Evan Prodromou [Mon, 22 Feb 2010 03:34:40 +0000 (22:34 -0500)]
Notice::getReplies() returns array of profile IDs

14 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Mon, 22 Feb 2010 03:02:23 +0000 (19:02 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

14 years agoOStatus: drop the remnants of feedsubsettings, replaced by ostatussub and no longer...
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

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 22 Feb 2010 02:57:32 +0000 (21:57 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agowork harder to preserve info when creating new Ostatus_profile
Evan Prodromou [Mon, 22 Feb 2010 02:57:09 +0000 (21:57 -0500)]
work harder to preserve info when creating new Ostatus_profile

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Mon, 22 Feb 2010 02:56:41 +0000 (18:56 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing

14 years agoMerge branch 'testing' 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

14 years agoOStatus PuSH fixes:
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

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 22 Feb 2010 02:39:50 +0000 (21:39 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agouse some constants and do some extra output in webfinger output
Evan Prodromou [Mon, 22 Feb 2010 02:38:59 +0000 (21:38 -0500)]
use some constants and do some extra output in webfinger output

14 years agoDo mention lookup for Webfinger accounts in OStatusPlugin
Evan Prodromou [Mon, 22 Feb 2010 02:38:16 +0000 (21:38 -0500)]
Do mention lookup for Webfinger accounts in OStatusPlugin

14 years agoAdd OStatus_profile::ensureWebfinger()
Evan Prodromou [Mon, 22 Feb 2010 02:37:12 +0000 (21:37 -0500)]
Add OStatus_profile::ensureWebfinger()

14 years agomake some of the Webfinger magic strings constants
Evan Prodromou [Mon, 22 Feb 2010 02:36:36 +0000 (21:36 -0500)]
make some of the Webfinger magic strings constants

14 years agoPerformance fix for FriendFeed sup interface: MySQL query optimizer was doing a table...
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.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Zach Copley [Sun, 21 Feb 2010 22:44:28 +0000 (14:44 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoAdd PoCo namespace to notice feeds
Zach Copley [Sun, 21 Feb 2010 22:43:28 +0000 (14:43 -0800)]
Add PoCo namespace to notice feeds

14 years agoOStatus PuSH fixlets:
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.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Sun, 21 Feb 2010 22:00:19 +0000 (17:00 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agofixup activity serialization so salmon notifications work
Evan Prodromou [Sun, 21 Feb 2010 22:00:05 +0000 (17:00 -0500)]
fixup activity serialization so salmon notifications work

14 years agoOStatus feedsub fixlets:
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.

14 years agoinclude namespaces in posted activities in notifyActivity()
Evan Prodromou [Sun, 21 Feb 2010 21:23:55 +0000 (16:23 -0500)]
include namespaces in posted activities in notifyActivity()

14 years agoCombine code that finds mentions into one place and add hook points
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.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Sun, 21 Feb 2010 19:18:16 +0000 (14:18 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agouse Ostatus_profile::ensureActivityObjectProfile() in SalmonAction::ensureProfile()
Evan Prodromou [Sun, 21 Feb 2010 19:17:37 +0000 (14:17 -0500)]
use Ostatus_profile::ensureActivityObjectProfile() in SalmonAction::ensureProfile()

14 years agoslightly more robust remote profile creation
Evan Prodromou [Sun, 21 Feb 2010 19:14:45 +0000 (14:14 -0500)]
slightly more robust remote profile creation

14 years agoFix for doc action on systems that return false for globbing in a non-existing dir
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

14 years agoOStatus: debug aid - log the received Salmon post when it can't be parsed properly...
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>

14 years agocorrect actor for OStatusPlugin::onEndUnsubscribe()
Evan Prodromou [Sun, 21 Feb 2010 18:32:24 +0000 (13:32 -0500)]
correct actor for OStatusPlugin::onEndUnsubscribe()

14 years agocorrect call to time() in Ostatus_profile::notify()
Evan Prodromou [Sun, 21 Feb 2010 18:31:58 +0000 (13:31 -0500)]
correct call to time() in Ostatus_profile::notify()

14 years agocorrect name check in ActivityObject::fromProfile()
Evan Prodromou [Sun, 21 Feb 2010 18:31:31 +0000 (13:31 -0500)]
correct name check in ActivityObject::fromProfile()

14 years agoadd activity:subject to atom feeds
Evan Prodromou [Sun, 21 Feb 2010 18:11:00 +0000 (13:11 -0500)]
add activity:subject to atom feeds

14 years agoadd feed-level author for user atom feeds
Evan Prodromou [Sun, 21 Feb 2010 18:03:13 +0000 (13:03 -0500)]
add feed-level author for user atom feeds

14 years agotry different ways to get a profile from a feed
Evan Prodromou [Sun, 21 Feb 2010 17:56:46 +0000 (12:56 -0500)]
try different ways to get a profile from a feed

14 years agomake avatar attribute explicit for ActivityObject
Evan Prodromou [Sun, 21 Feb 2010 17:55:40 +0000 (12:55 -0500)]
make avatar attribute explicit for ActivityObject

14 years agoremove unused profile code from salmonaction
Evan Prodromou [Sun, 21 Feb 2010 17:54:52 +0000 (12:54 -0500)]
remove unused profile code from salmonaction

14 years agoredirect ostatussub if not logged in
Evan Prodromou [Sun, 21 Feb 2010 16:24:04 +0000 (11:24 -0500)]
redirect ostatussub if not logged in

14 years agouse notifyActivity() for notifications in OStatusPlugin
Evan Prodromou [Sun, 21 Feb 2010 15:53:32 +0000 (10:53 -0500)]
use notifyActivity() for notifications in OStatusPlugin

14 years agoactivity notification in Ostatus_profile
Evan Prodromou [Sun, 21 Feb 2010 15:53:11 +0000 (10:53 -0500)]
activity notification in Ostatus_profile

14 years agolet activities generate their own XML
Evan Prodromou [Sun, 21 Feb 2010 15:50:51 +0000 (10:50 -0500)]
let activities generate their own XML

14 years agopermalink on a note represented by rel=alternate
Evan Prodromou [Sun, 21 Feb 2010 14:23:51 +0000 (09:23 -0500)]
permalink on a note represented by rel=alternate

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
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

14 years agomore tests for Activity parsing
Evan Prodromou [Sun, 21 Feb 2010 14:17:52 +0000 (09:17 -0500)]
more tests for Activity parsing

14 years agoSave posted notices in usersalmon
Evan Prodromou [Sun, 21 Feb 2010 14:17:35 +0000 (09:17 -0500)]
Save posted notices in usersalmon

14 years agoNotice::saveNew() accepts url and rendered options
Evan Prodromou [Sun, 21 Feb 2010 14:17:00 +0000 (09:17 -0500)]
Notice::saveNew() accepts url and rendered options

14 years agosaving notices in salmon actions
Evan Prodromou [Sun, 21 Feb 2010 14:16:27 +0000 (09:16 -0500)]
saving notices in salmon actions

14 years agomore complete content retrieval in ActivityObject::__construct()
Evan Prodromou [Sun, 21 Feb 2010 14:15:57 +0000 (09:15 -0500)]
more complete content retrieval in ActivityObject::__construct()

14 years agoOStatus: fix regressions from merge
Brion Vibber [Sun, 21 Feb 2010 02:25:40 +0000 (18:25 -0800)]
OStatus: fix regressions from merge

14 years agoSubscription::start() should be enough, right?
Evan Prodromou [Sun, 21 Feb 2010 01:36:54 +0000 (20:36 -0500)]
Subscription::start() should be enough, right?

14 years agodo some double-checks on favor and disfavor handlers in OStatusPlugin
Evan Prodromou [Sun, 21 Feb 2010 01:34:29 +0000 (20:34 -0500)]
do some double-checks on favor and disfavor handlers in OStatusPlugin

14 years agomake sure argument to Fave::addNew() is a profile
Evan Prodromou [Sun, 21 Feb 2010 01:31:06 +0000 (20:31 -0500)]
make sure argument to Fave::addNew() is a profile

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
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

14 years agoAdd support for favor and disfavor notification
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.

14 years agoOStatus: Salmon favorite & unfavorite events now handled
Brion Vibber [Sun, 21 Feb 2010 00:45:30 +0000 (16:45 -0800)]
OStatus: Salmon favorite & unfavorite events now handled

14 years agoOStatus: send favorite/unfavorite notifications to remote authors
Brion Vibber [Sat, 20 Feb 2010 23:56:36 +0000 (15:56 -0800)]
OStatus: send favorite/unfavorite notifications to remote authors

14 years agoOStatus subscription page fixups; works but needs lots of UI loving!
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)

14 years agoChange to use TagURI::base() instead of common_config()
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.

14 years agoOStatus: fix regressions in plugin & usersalmon action. Sub/unsub notifications are...
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.

14 years agoAdd a library to mint tag URIs
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.

14 years agodrop no-longer-used XML_Feed_Parser extlib package from OStatus plugin
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

14 years agoAdd events for favor and disfavor
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.

14 years agoadd hooks for OStatus notification on subscribe/unsubscribe
Evan Prodromou [Sat, 20 Feb 2010 16:48:42 +0000 (11:48 -0500)]
add hooks for OStatus notification on subscribe/unsubscribe

14 years agoadjust URI, URL, and location in Ostatus_profile::processPost
Evan Prodromou [Sat, 20 Feb 2010 16:38:05 +0000 (11:38 -0500)]
adjust URI, URL, and location in Ostatus_profile::processPost

14 years agoAdd HTMLPurifier to extlib
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).

14 years agoCool bug! Technically good PHP syntax
Evan Prodromou [Sat, 20 Feb 2010 16:17:54 +0000 (11:17 -0500)]
Cool bug! Technically good PHP syntax

14 years agoMove some salmon processing to a superclass
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.

14 years agoOStatus: Salmon notifications now being generated moderately correctly. :) Needs...
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>.

14 years agoOStatus: sub/unsub notifications working again. Fixed up autodetection of feed info...
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

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
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

14 years agosome more salmon stuff
Evan Prodromou [Fri, 19 Feb 2010 21:37:07 +0000 (16:37 -0500)]
some more salmon stuff

14 years agoOStatus: hooked up follow/unfollow events on Salmon endpoint to create/destroy remote...
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