]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agoMerge branch 'rationalize-activity' into testing
Zach Copley [Tue, 23 Feb 2010 01:12:33 +0000 (17:12 -0800)]
Merge branch 'rationalize-activity' into testing

* rationalize-activity:
  Move ActivityObject and related stuff to core
  Add PoCo bits, avatar link, geo point, etc. to person activity obj output

14 years agoMove ActivityObject and related stuff to core
Zach Copley [Tue, 23 Feb 2010 01:10:50 +0000 (17:10 -0800)]
Move ActivityObject and related stuff to core

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Tue, 23 Feb 2010 00:52:47 +0000 (00:52 +0000)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoAdd PoCo bits, avatar link, geo point, etc. to person activity obj output
Zach Copley [Tue, 23 Feb 2010 00:46:54 +0000 (16:46 -0800)]
Add PoCo bits, avatar link, geo point, etc. to person activity obj output

14 years agoOStatus group delivery initial implementation.
Brion Vibber [Tue, 23 Feb 2010 00:44:45 +0000 (00:44 +0000)]
OStatus group delivery initial implementation.
- added rel="ostatus:attention" links for group delivery
- added events for plugins to override group profile/permalink pages
- pulled Notice::saveGroups up to save-time so we can override;
  it's relatively cheap and gives us a clean list of target
  groups for distrib time even with customized delivery.
- fixed notice::getGroups to return group objects as expected
- added some doc on new parameters to Notice::saveNew
 - 'groups' list of group IDs to push to in place of parsing
- messages that come in via PuSH and contain local group targets
  are delivered to local group members
- messages that come in via PuSH and contain remote group targets
  are delivered to local members of the remote group

Todo:
- handle group posts that only come through Salmon
- handle conflicts in case something comes in both through Salmon and PuSH
- better source verification
- need a cleaner interface to look up groups by URI
- need a way to handle remote groups with conflicting names

14 years agoswapping pear error handling so Crypt_RSA can properly detect available
James Walker [Tue, 23 Feb 2010 00:00:27 +0000 (19:00 -0500)]
swapping pear error handling so Crypt_RSA can properly detect available
math libraries

14 years agoLeaves the original URL alone and adds ? or & when it does the XHR.
Sarven Capadisli [Mon, 22 Feb 2010 23:27:41 +0000 (00:27 +0100)]
Leaves the original URL alone and adds ? or & when it does the XHR.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Sarven Capadisli [Mon, 22 Feb 2010 21:24:45 +0000 (22:24 +0100)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoRemoved unnecessary assignment to SN.C.I.OStatusProfile. It can be
Sarven Capadisli [Mon, 22 Feb 2010 21:23:37 +0000 (22:23 +0100)]
Removed unnecessary assignment to SN.C.I.OStatusProfile. It can be
brought back in the future if the value is to be set directly from the
HTML script output.

14 years agoOStatus: initial hookup of remote group membership (notice delivery not yet working...
Brion Vibber [Mon, 22 Feb 2010 17:43:27 +0000 (09:43 -0800)]
OStatus: initial hookup of remote group membership (notice delivery not yet working quite right)
- added a temp config var to disable salmon magic signatures until they're working consistently

14 years agoRemoved extra comma
Sarven Capadisli [Mon, 22 Feb 2010 18:37:42 +0000 (19:37 +0100)]
Removed extra comma

14 years agoMinor JSLinting
Sarven Capadisli [Mon, 22 Feb 2010 18:36:03 +0000 (19:36 +0100)]
Minor JSLinting

14 years agoAdded licensing info and a note about migrating
Sarven Capadisli [Mon, 22 Feb 2010 18:18:32 +0000 (19:18 +0100)]
Added licensing info and a note about migrating

14 years agoSet and reuse a cookie with own profile value at a StatusNet instance
Sarven Capadisli [Mon, 22 Feb 2010 18:13:30 +0000 (19:13 +0100)]
Set and reuse a cookie with own profile value at a StatusNet instance

14 years agoOStatus: use 'profile' consistently as param on ostatussub and ostatusinit to help...
Brion Vibber [Mon, 22 Feb 2010 18:03:34 +0000 (10:03 -0800)]
OStatus: use 'profile' consistently as param on ostatussub and ostatusinit to help us stay sane.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Sarven Capadisli [Mon, 22 Feb 2010 16:08:54 +0000 (17:08 +0100)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoAdded link to Subscriptions page to XHR get the ostatus sub form
Sarven Capadisli [Mon, 22 Feb 2010 16:07:48 +0000 (17:07 +0100)]
Added link to Subscriptions page to XHR get the ostatus sub form

14 years agoGeneralised Subscription XHR dialogbox
Sarven Capadisli [Mon, 22 Feb 2010 16:05:43 +0000 (17:05 +0100)]
Generalised Subscription XHR dialogbox

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 agoAdded before and after event hooks for subscriptions content
Sarven Capadisli [Mon, 22 Feb 2010 16:03:28 +0000 (17:03 +0100)]
Added before and after event hooks for subscriptions content

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 agoFixed error/warning message location in OStatus autorize subscription page
Sarven Capadisli [Mon, 22 Feb 2010 10:53:34 +0000 (11:53 +0100)]
Fixed error/warning message location in OStatus autorize subscription page

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