]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
8 years agoMerge branch 'group-join-approve-reject-button-icons' into 'nightly'
mmn [Mon, 14 Dec 2015 20:48:36 +0000 (20:48 +0000)]
Merge branch 'group-join-approve-reject-button-icons' into 'nightly'

Add icons to group-join approval/rejection buttons

Relates to #106

See merge request !66

8 years agoMerge branch 'group-join-rejections' into 'nightly'
mmn [Mon, 14 Dec 2015 20:48:18 +0000 (20:48 +0000)]
Merge branch 'group-join-rejections' into 'nightly'

Fix group-join request rejections

Relates to #105

See merge request !65

8 years agoMerge branch 'group-members-pending' into 'nightly'
mmn [Mon, 14 Dec 2015 20:47:47 +0000 (20:47 +0000)]
Merge branch 'group-members-pending' into 'nightly'

Fix "pending members" group list

Related to #104

See merge request !64

8 years agoMerge branch 'api-docs' into 'nightly'
mmn [Mon, 14 Dec 2015 20:47:17 +0000 (20:47 +0000)]
Merge branch 'api-docs' into 'nightly'

Add AtomPub, Twitter-compat. API documentation to doc-src/

See merge request !62

8 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
Mikael Nordfeldth [Mon, 14 Dec 2015 20:45:46 +0000 (21:45 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly

8 years agogetID() will complain loudly if something is wrong
Mikael Nordfeldth [Mon, 14 Dec 2015 20:44:59 +0000 (21:44 +0100)]
getID() will complain loudly if something is wrong

(just ->id would not)

8 years agoMerge commit '5c4a7a10' into nightly
Mikael Nordfeldth [Mon, 14 Dec 2015 20:42:08 +0000 (21:42 +0100)]
Merge commit '5c4a7a10' into nightly

hannes making sure notice is a repeat and not a delete activity notice

8 years agoMerge branch 'php-minversion-detec' into 'nightly'
mmn [Mon, 14 Dec 2015 20:37:53 +0000 (20:37 +0000)]
Merge branch 'php-minversion-detec' into 'nightly'

installer::checkPrereqs bump PHP version to 5.5.0

Related to #102

See merge request !63

8 years agoMerge branch 'fix-setpassword' into 'nightly'
mmn [Mon, 14 Dec 2015 20:37:26 +0000 (20:37 +0000)]
Merge branch 'fix-setpassword' into 'nightly'

Fix /scripts/setpassword.php

common_munge_password is expecting a Profile, we were passing a user_id.

Thanks @aroque for the fix ( ref. #100 )

See merge request !67

8 years agoWe have to print/echo when outputting json (thanks hannes)
Mikael Nordfeldth [Mon, 14 Dec 2015 20:29:39 +0000 (21:29 +0100)]
We have to print/echo when outputting json (thanks hannes)

8 years agoredir_info only has data if we ran discovery
Mikael Nordfeldth [Tue, 8 Dec 2015 10:42:09 +0000 (11:42 +0100)]
redir_info only has data if we ran discovery

8 years agoFull identifiers for Autocomplete, less confusing
Mikael Nordfeldth [Sat, 5 Dec 2015 15:18:59 +0000 (16:18 +0100)]
Full identifiers for Autocomplete, less confusing

8 years agoRemember to purify HTML...
Mikael Nordfeldth [Sat, 5 Dec 2015 14:56:50 +0000 (15:56 +0100)]
Remember to purify HTML...

8 years agoircs URLs work fine in Firefox at least
Mikael Nordfeldth [Sat, 5 Dec 2015 12:02:49 +0000 (13:02 +0100)]
ircs URLs work fine in Firefox at least

8 years agoFix /scripts/setpassword.php
Chimo [Fri, 4 Dec 2015 17:09:06 +0000 (17:09 +0000)]
Fix /scripts/setpassword.php

common_munge_password is expecting a Profile, we were passing a user_id.

Thanks @aroque for the fix ( ref. #100 )

8 years agoAdd icons to group-join approval/rejection buttons
Chimo [Fri, 4 Dec 2015 17:00:35 +0000 (17:00 +0000)]
Add icons to group-join approval/rejection buttons

8 years agoFix group-join request rejections
Chimo [Fri, 4 Dec 2015 16:09:51 +0000 (16:09 +0000)]
Fix group-join request rejections

8 years agoFix "pending members" group list
Chimo [Fri, 4 Dec 2015 15:47:40 +0000 (15:47 +0000)]
Fix "pending members" group list

8 years agoinstaller::checkPrereqs bump PHP version to 5.5.0
Chimo [Fri, 4 Dec 2015 15:22:58 +0000 (15:22 +0000)]
installer::checkPrereqs bump PHP version to 5.5.0

8 years agoVarious minor theme enhancements in neo-gnu
Mikael Nordfeldth [Mon, 30 Nov 2015 01:31:51 +0000 (02:31 +0100)]
Various minor theme enhancements in neo-gnu

8 years agoList groups with nickname instead of full name in sidebar
Mikael Nordfeldth [Mon, 30 Nov 2015 01:21:17 +0000 (02:21 +0100)]
List groups with nickname instead of full name in sidebar

8 years agoOembed slimmed to only do discovery (soon we get og: discovery too)
Mikael Nordfeldth [Mon, 30 Nov 2015 01:06:04 +0000 (02:06 +0100)]
Oembed slimmed to only do discovery (soon we get og: discovery too)

8 years agoquickGetJson for HTTP requests to return json objects
Mikael Nordfeldth [Mon, 30 Nov 2015 01:05:06 +0000 (02:05 +0100)]
quickGetJson for HTTP requests to return json objects

8 years agoHTTPClient get $params array and oEmbedHelper uses it
Mikael Nordfeldth [Mon, 30 Nov 2015 00:28:18 +0000 (01:28 +0100)]
HTTPClient get $params array and oEmbedHelper uses it

9 years agoAdd AtomPub, Twitter-compat. API documentation to doc-src/
Chimo [Tue, 24 Nov 2015 17:59:43 +0000 (12:59 -0500)]
Add AtomPub, Twitter-compat. API documentation to doc-src/

9 years agoEvents listing, but the stream will change soon
Mikael Nordfeldth [Mon, 23 Nov 2015 13:40:59 +0000 (14:40 +0100)]
Events listing, but the stream will change soon

9 years agobump beta version number
Mikael Nordfeldth [Sun, 22 Nov 2015 23:42:13 +0000 (00:42 +0100)]
bump beta version number

9 years agoallow form ->li() to set $class
Mikael Nordfeldth [Sun, 22 Nov 2015 23:40:28 +0000 (00:40 +0100)]
allow form ->li() to set $class

9 years agoManaged_DataObject::newUri was called improperly
Mikael Nordfeldth [Sun, 22 Nov 2015 23:39:49 +0000 (00:39 +0100)]
Managed_DataObject::newUri was called improperly

9 years agomake sure returned notice is a repeat, i.e. not a delete activity notice
hannes [Sun, 22 Nov 2015 20:28:07 +0000 (20:28 +0000)]
make sure returned notice is a repeat, i.e. not a delete activity notice

9 years agoActivityVerb::SHARE instead of http://activitystrea.ms/schema/1.0/share
hannes [Sun, 22 Nov 2015 20:26:08 +0000 (20:26 +0000)]
ActivityVerb::SHARE instead of http://activitystrea.ms/schema/1.0/share

9 years agomake sure the notice is a repeat, i.e. not a delete activity notice that also can...
hannes [Sun, 22 Nov 2015 18:59:56 +0000 (18:59 +0000)]
make sure the notice is a repeat, i.e. not a delete activity notice that also can have a repeat_of set

9 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
Mikael Nordfeldth [Fri, 20 Nov 2015 17:50:26 +0000 (18:50 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly

9 years agoMerge branch 'refactor-file-processNew' into 'nightly'
mmn [Fri, 20 Nov 2015 17:50:01 +0000 (17:50 +0000)]
Merge branch 'refactor-file-processNew' into 'nightly'

Refactor on File::processNew

The code was so involved there was even a comment asking for a refactor.

Now, File_redirection::where always returns a nice File_redirection
object instead of an array or string or nothing.  The object is
either one which already existed or else a new, unsaved object.

Instead of duplicating "does it exist" checks everywhere, do it in
File_redirection::where.  You either get what exists or something to save.

An unsaved File_redirection may be paired with an unsaved File.
You will want to save the File first (using ->saveFile()) and put the
id in File_redirection#file_id before saving.

See merge request !57

9 years agoMerge request #59 which was directed at master
Mikael Nordfeldth [Fri, 20 Nov 2015 17:47:21 +0000 (18:47 +0100)]
Merge request #59 which was directed at master

9 years agoMerge branch 'master' into 'master'
mmn [Fri, 20 Nov 2015 17:46:53 +0000 (17:46 +0000)]
Merge branch 'master' into 'master'

block check can't be done inside the same try-expression as Subscription::getSub…

…scription(), since if that throws a NoResultException, the block check will not be done. and if you're blocking someone you are not subscribing to them.

See merge request !59

9 years agoblock check can't be done inside the same try-expression as Subscription::getSubscrip...
hannes [Thu, 19 Nov 2015 15:55:11 +0000 (15:55 +0000)]
block check can't be done inside the same try-expression as Subscription::getSubscription(), since if that throws a NoResultException, the block check will not be done. and if you're blocking someone you are not subscribing to them.

9 years agoMake it clearer that we're handling group IDs
Mikael Nordfeldth [Sun, 8 Nov 2015 22:31:45 +0000 (23:31 +0100)]
Make it clearer that we're handling group IDs

9 years agoFix federation issue with groups (bad list order)
Mikael Nordfeldth [Sun, 8 Nov 2015 22:31:23 +0000 (23:31 +0100)]
Fix federation issue with groups (bad list order)

9 years agoOoops, copypasted something into the wrong place.
Mikael Nordfeldth [Sun, 8 Nov 2015 22:24:20 +0000 (23:24 +0100)]
Ooops, copypasted something into the wrong place.

9 years agoOStatus usage of static Validate::* calls fixed
Mikael Nordfeldth [Sun, 8 Nov 2015 09:33:41 +0000 (10:33 +0100)]
OStatus usage of static Validate::* calls fixed

9 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social into nightly
Mikael Nordfeldth [Fri, 6 Nov 2015 12:39:17 +0000 (13:39 +0100)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social into nightly

9 years agoMerge branch 'in-reply-to-uf2' into 'master'
mmn [Fri, 6 Nov 2015 12:39:02 +0000 (12:39 +0000)]
Merge branch 'in-reply-to-uf2' into 'master'

Add direct link to parent notice

This is partly for usability, and partly to make Linkbacks for replies work (when the plugin is enabled).

See merge request !37

9 years agoseparate classes into files in DirectMessage plugin
Mikael Nordfeldth [Fri, 6 Nov 2015 12:35:45 +0000 (13:35 +0100)]
separate classes into files in DirectMessage plugin

9 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
Mikael Nordfeldth [Fri, 6 Nov 2015 12:33:24 +0000 (13:33 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly

9 years agoMerge branch 'nightly' into 'nightly'
mmn [Fri, 6 Nov 2015 12:28:00 +0000 (12:28 +0000)]
Merge branch 'nightly' into 'nightly'

getParent() method will fail if the parent notice does not exist in the notice table

getParent() method will fail if the parent notice does not exist in the notice table. See https://quitter.no/notice/709400

There are situations where a user delete his notice which could be a parent notice to a reply.
The user which replied to this deleted notice will then have broken timeline.
This is caused by the Notice.getParent() method which tries to return the selection of non existing parent notice.

I've tried this code on quitter.no and it seems to work.

See merge request !35

9 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
abjectio [Thu, 5 Nov 2015 16:34:34 +0000 (17:34 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly

9 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social into nightly
Mikael Nordfeldth [Thu, 5 Nov 2015 15:16:02 +0000 (16:16 +0100)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social into nightly

Conflicts:
plugins/OStatus/OStatusPlugin.php

master vs. nightly thing

9 years agoMerge branch 'renew-pshb' into 'master'
mmn [Thu, 5 Nov 2015 15:13:16 +0000 (15:13 +0000)]
Merge branch 'renew-pshb' into 'master'

Actually use the renew code

We have the code to check once a day and renew, but currently it's
just in a script directory.  This change adds an event listener
hook to check and renew subscriptions daily.

Closes #83

See merge request !38

9 years agoMerge branch 'object-types-are-absolute' into 'master'
mmn [Thu, 5 Nov 2015 15:12:41 +0000 (15:12 +0000)]
Merge branch 'object-types-are-absolute' into 'master'

Stop incorrecly changing object_type to relative URI

All other data is using absolute URI for object_type.

See merge request !40

9 years agoMerge branch 'fix-webfinger-link-header' into 'master'
mmn [Thu, 5 Nov 2015 15:12:10 +0000 (15:12 +0000)]
Merge branch 'fix-webfinger-link-header' into 'master'

Add all link headers, not just the last one

Given the way Link headers work, it does not make any sense to
just replace all other ones.  Especially when we ourselves are adding
in a loop.

See merge request !47

9 years agoMerge branch 'pings-interop' into 'master'
mmn [Thu, 5 Nov 2015 15:11:29 +0000 (15:11 +0000)]
Merge branch 'pings-interop' into 'master'

Clean up Linkback plugin and add Webmention support

Closes #82

Fixes Pingback, adds Webmention, makes linkbacks opt-out-able for users (at request of quitter.se admin)

See merge request !36

9 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
Mikael Nordfeldth [Thu, 5 Nov 2015 15:07:42 +0000 (16:07 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly

9 years agoMerge branch 'master' into nightly
Mikael Nordfeldth [Thu, 5 Nov 2015 15:07:05 +0000 (16:07 +0100)]
Merge branch 'master' into nightly

Some merge requests that were aimed at master

9 years agoMerge branch 'master' into 'master'
mmn [Thu, 5 Nov 2015 15:05:55 +0000 (15:05 +0000)]
Merge branch 'master' into 'master'

update URL

bugz.foocorp.net and gitorious.net are outdated
git.gnu.io is current

See merge request !58

9 years agoMerge branch 'status-204' into 'master'
mmn [Thu, 5 Nov 2015 15:03:42 +0000 (15:03 +0000)]
Merge branch 'status-204' into 'master'

Accept 204 for PuSH subscription

Some hubs (notably, pushpress, used by wordpress.com) return 204 to mean success.

This used to be allowed by the spec, so no harm in accepting it.

See merge request !48

9 years agoMerge branch 'handle-rss-guid' into 'master'
mmn [Thu, 5 Nov 2015 15:02:20 +0000 (15:02 +0000)]
Merge branch 'handle-rss-guid' into 'master'

Respect isPermalLink=false on RSS guid

See merge request !49

9 years agoMerge branch 'twitter-verb' into 'nightly'
mmn [Thu, 5 Nov 2015 15:01:07 +0000 (15:01 +0000)]
Merge branch 'twitter-verb' into 'nightly'

TwitterBridge: Add $notice->verb on import

Since /plugins/ActivityModeration::onStartNotieSave expects it to be there when calling ActivityUtils::compareVerbs. Otherwise, the following exception is unhandled:

2015-10-26 15:33:03 LOG_ERR: [sn.chromic.org:queuedaemon.php:25931] Unhandled exception: No URI to resolve in ActivityUtils::resolveUri
 0: /lib/activityutils.php(353): ActivityUtils::resolveUri(NULL)
 1: /lib/activityutils.php(364): ActivityUtils::compareTypes(NULL, Array)
 2: /plugins/ActivityModeration/ActivityModerationPlugin.php(113): ActivityUtils::compareVerbs(NULL, Array)
 3: [internal function]: ActivityModerationPlugin->onStartNoticeSave(Object(Notice))
 4: /lib/event.php(105): call_user_func_array(Array, Array)
 5: /plugins/TwitterBridge/lib/twitterimport.php(173): Event::handle('StartNoticeSave', Array)
 6: /plugins/TwitterBridge/lib/twitterimport.php(72): TwitterImport->saveStatus(Object(stdClass))
 7: /plugins/TwitterBridge/lib/tweetinqueuehandler.php(52): TwitterImport->importStatus(Object(stdClass))
 8: /lib/dbqueuemanager.php(94): TweetInQueueHandler->handle(Array)
 9: /lib/iomaster.php(287): DBQueueManager->poll()
 10: /lib/iomaster.php(161): IoMaster->poll()
 11: /scripts/queuedaemon.php(111): IoMaster->service()
 12: /lib/spawningdaemon.php(189): QueueDaemon->runThread()
 13: /lib/spawningdaemon.php(118): SpawningDaemon->initAndRunChild(2)
 14: /lib/daemon.php(168): SpawningDaemon->run()
 15: /scripts/queuedaemon.php(181): Daemon->runOnce()
 16: {main}

See merge request !50

9 years agoMerge branch 'correct-author-for-repeat' into 'master'
mmn [Thu, 5 Nov 2015 15:00:35 +0000 (15:00 +0000)]
Merge branch 'correct-author-for-repeat' into 'master'

Markup correct author for a repeat

The original author is not the author of this entry, but of the original entry.

See merge request !51

9 years agoMerge branch 'support-atom-namespaces-in-rss-author' into 'master'
mmn [Thu, 5 Nov 2015 15:00:07 +0000 (15:00 +0000)]
Merge branch 'support-atom-namespaces-in-rss-author' into 'master'

Support more author types on RSS

Specifically, any ActivityStreams or ATOM namespaces being used on
an rss channel.

See merge request !52

9 years agoMerge branch 'group-join' into 'nightly'
mmn [Thu, 5 Nov 2015 14:57:29 +0000 (14:57 +0000)]
Merge branch 'group-join' into 'nightly'

Add User_group::getObjectType

Since 174586bd512, I'm unable to join groups with the logs complaining
about getObjectType not existing on the User_group object.

Note: I'm not sure if this is the correct value to return here, but I
was able to joing groups successfully using this. Let me know if it needs
to be changed and I'll update the Merge Request!

See merge request !56

9 years agoupdate URL
Matthias Fritzsche [Wed, 4 Nov 2015 11:31:23 +0000 (12:31 +0100)]
update URL

bugz.foocorp.net and gitorious.net are outdated
git.gnu.io is current

9 years agoRefactor on File::processNew
Stephen Paul Weber [Mon, 2 Nov 2015 05:15:08 +0000 (05:15 +0000)]
Refactor on File::processNew

The code was so involved there was even a comment asking for a refactor.

Now, File_redirection::where always returns a nice File_redirection
object instead of an array or string or nothing.  The object is
either one which already existed or else a new, unsaved object.

Instead of duplicating "does it exist" checks everywhere, do it in
File_redirection::where.  You either get what exists or something to save.

An unsaved File_redirection may be paired with an unsaved File.
You will want to save the File first (using ->saveFile()) and put the
id in File_redirection#file_id before saving.

9 years agoAdd User_group::getObjectType
Chimo [Fri, 30 Oct 2015 00:11:57 +0000 (20:11 -0400)]
Add User_group::getObjectType

Since 174586bd512, I'm unable to join groups with the logs complaining
about getObjectType not existing on the User_group object.

9 years agoShared notices didn't save the URL
Mikael Nordfeldth [Tue, 27 Oct 2015 23:13:17 +0000 (00:13 +0100)]
Shared notices didn't save the URL

9 years agoSupport more author types on RSS
Stephen Paul Weber [Tue, 27 Oct 2015 18:43:57 +0000 (18:43 +0000)]
Support more author types on RSS

Specifically, any ActivityStreams or ATOM namespaces being used on
an rss channel.

9 years agoBad HTML in translation.
Mikael Nordfeldth [Tue, 27 Oct 2015 18:05:07 +0000 (19:05 +0100)]
Bad HTML in translation.

9 years agoMorkup correct author for a repeat
Stephen Paul Weber [Tue, 27 Oct 2015 17:19:03 +0000 (17:19 +0000)]
Morkup correct author for a repeat

The original author is not the author of this entry, but of the original entry.

9 years agoTwitterBridge: Add $notice->verb on import
Chimo [Tue, 27 Oct 2015 14:12:33 +0000 (10:12 -0400)]
TwitterBridge: Add $notice->verb on import

Since /plugins/ActivityModeration::onStartNotieSave expects it to be there when calling ActivityUtils::compareVerbs. Otherwise, the following exception is unhandled:

2015-10-26 15:33:03 LOG_ERR: [sn.chromic.org:queuedaemon.php:25931] Unhandled exception: No URI to resolve in ActivityUtils::resolveUri
 #0 /lib/activityutils.php(353): ActivityUtils::resolveUri(NULL)
 #1 /lib/activityutils.php(364): ActivityUtils::compareTypes(NULL, Array)
 #2 /plugins/ActivityModeration/ActivityModerationPlugin.php(113): ActivityUtils::compareVerbs(NULL, Array)
 #3 [internal function]: ActivityModerationPlugin->onStartNoticeSave(Object(Notice))
 #4 /lib/event.php(105): call_user_func_array(Array, Array)
 #5 /plugins/TwitterBridge/lib/twitterimport.php(173): Event::handle('StartNoticeSave', Array)
 #6 /plugins/TwitterBridge/lib/twitterimport.php(72): TwitterImport->saveStatus(Object(stdClass))
 #7 /plugins/TwitterBridge/lib/tweetinqueuehandler.php(52): TwitterImport->importStatus(Object(stdClass))
 #8 /lib/dbqueuemanager.php(94): TweetInQueueHandler->handle(Array)
 #9 /lib/iomaster.php(287): DBQueueManager->poll()
 #10 /lib/iomaster.php(161): IoMaster->poll()
 #11 /scripts/queuedaemon.php(111): IoMaster->service()
 #12 /lib/spawningdaemon.php(189): QueueDaemon->runThread()
 #13 /lib/spawningdaemon.php(118): SpawningDaemon->initAndRunChild(2)
 #14 /lib/daemon.php(168): SpawningDaemon->run()
 #15 /scripts/queuedaemon.php(181): Daemon->runOnce()
 #16 {main}

9 years agoRespect isPermalLink=false on RSS guid
Stephen Paul Weber [Tue, 27 Oct 2015 03:18:04 +0000 (03:18 +0000)]
Respect isPermalLink=false on RSS guid

9 years agoAccept 204 for PuSH subscription
Stephen Paul Weber [Tue, 27 Oct 2015 03:16:39 +0000 (03:16 +0000)]
Accept 204 for PuSH subscription

Some hubs (notably, pushpress, used by wordpress.com) return 204 to mean success.

This used to be allowed by the spec, so no harm in accepting it.

9 years agoAdd all link headers, not just the last one
Stephen Paul Weber [Sun, 25 Oct 2015 18:42:37 +0000 (18:42 +0000)]
Add all link headers, not just the last one

Given the way Link headers work, it does not make any sense to
just replace all other ones.  Especially when we ourselves are adding
in a loop.

9 years agoLinkback to mentioned profiles
Stephen Paul Weber [Sun, 25 Oct 2015 17:22:15 +0000 (17:22 +0000)]
Linkback to mentioned profiles

9 years agoOnly show parent wrapper if there are some
Stephen Paul Weber [Fri, 23 Oct 2015 18:51:33 +0000 (18:51 +0000)]
Only show parent wrapper if there are some

9 years agoStop incorrecly changing object_type to relative URI
Stephen Paul Weber [Thu, 22 Oct 2015 17:14:59 +0000 (17:14 +0000)]
Stop incorrecly changing object_type to relative URI

All other data is using absolute URI for object_type.

9 years agoEnqueue renewals
Stephen Paul Weber [Wed, 21 Oct 2015 01:50:03 +0000 (01:50 +0000)]
Enqueue renewals

Better for request times, etc

9 years agoRenew 1 day *before* the end, not 1 day *after*
Stephen Paul Weber [Wed, 21 Oct 2015 01:49:26 +0000 (01:49 +0000)]
Renew 1 day *before* the end, not 1 day *after*

9 years agoActually use the renew code
Stephen Paul Weber [Wed, 21 Oct 2015 01:10:48 +0000 (01:10 +0000)]
Actually use the renew code

We have the code to check once a day and renew, but currently it's
just in a script directory.  This change adds an event listener
hook to check and renew subscriptions daily.

9 years agoAdd direct link to parent notice
Stephen Paul Weber [Mon, 19 Oct 2015 18:40:40 +0000 (18:40 +0000)]
Add direct link to parent notice

This is partly for usability, and partly to make Linkbacks for replies
work (when the plugin is enabled).

9 years agoAllow users to opt out of sending linkbacks
Stephen Paul Weber [Sun, 18 Oct 2015 21:28:55 +0000 (21:28 +0000)]
Allow users to opt out of sending linkbacks

9 years agoRemoved inboxmessagelist.php - seems to be not needed. Ref. Issue #77
abjectio [Sun, 18 Oct 2015 15:34:36 +0000 (17:34 +0200)]
Removed inboxmessagelist.php - seems to be not needed. Ref. Issue #77

9 years agoFix Pingback
Stephen Paul Weber [Sat, 17 Oct 2015 13:39:46 +0000 (13:39 +0000)]
Fix Pingback

This code was using the HTTPRequest helpers wrong.  This commit sets the body directly instead of jamming the XML in as a POST param.

9 years agoSend URL we publish
Stephen Paul Weber [Sat, 17 Oct 2015 13:38:13 +0000 (13:38 +0000)]
Send URL we publish

Webmention and Pingback both need the exact URL we are going to claim to link to to be present in our HTML source, so send them our actual original link.

Webmention clients are supposed to resolve this link.  Pingback clients may still fail on shortened links.

9 years agoBug in catch(Exception) - parameter wrongly written
abjectio [Fri, 16 Oct 2015 21:48:05 +0000 (23:48 +0200)]
Bug in catch(Exception) - parameter wrongly written

9 years agoAdd webmention support
Stephen Paul Weber [Wed, 14 Oct 2015 21:13:58 +0000 (16:13 -0500)]
Add webmention support

9 years agoNote that we should handle relative URIs
Stephen Paul Weber [Wed, 14 Oct 2015 21:13:25 +0000 (16:13 -0500)]
Note that we should handle relative URIs

9 years agoNormalize detection helpers
Stephen Paul Weber [Wed, 14 Oct 2015 20:54:47 +0000 (15:54 -0500)]
Normalize detection helpers

Will make it easier to see what's happening when we add a third one.

9 years agoNotify replies and repeats
Stephen Paul Weber [Wed, 14 Oct 2015 20:47:00 +0000 (15:47 -0500)]
Notify replies and repeats

This is especially useful for partial federation with remote accounts
that are not fully OStatus-enabled but support a pingback protocol.
Such accounts will still be notified of replies and repeats of their
content even without OStatus support, thus adding to the federated
universe.

9 years agoUse the getter, not a direct access
Stephen Paul Weber [Wed, 14 Oct 2015 20:32:12 +0000 (15:32 -0500)]
Use the getter, not a direct access

9 years agoMore robust pingback link detection
Stephen Paul Weber [Wed, 14 Oct 2015 20:28:38 +0000 (15:28 -0500)]
More robust pingback link detection

9 years agogeParent() method will fail if the parent notice does not exist in the notice table...
abjectio [Wed, 14 Oct 2015 16:50:39 +0000 (18:50 +0200)]
geParent() method will fail if the parent notice does not exist in the notice table. See https://quitter.no/notice/709400

9 years agoLink source==share notices
Mikael Nordfeldth [Tue, 13 Oct 2015 23:30:29 +0000 (01:30 +0200)]
Link source==share notices

9 years agoOnly set ->actor in a case where it has not yet been set
Mikael Nordfeldth [Tue, 13 Oct 2015 23:18:28 +0000 (01:18 +0200)]
Only set ->actor in a case where it has not yet been set

Otherwise it could overwrite it with the wrong actor (the "second round"
for share activities)

9 years agointval for type assurance
Mikael Nordfeldth [Tue, 13 Oct 2015 23:16:22 +0000 (01:16 +0200)]
intval for type assurance

9 years agoType-aware comparison is necessary for Notice is_local/scope
Mikael Nordfeldth [Tue, 13 Oct 2015 22:27:51 +0000 (00:27 +0200)]
Type-aware comparison is necessary for Notice is_local/scope

9 years agoCall Notice::saveActivity instead of Ostatus_profile->processActivity
Mikael Nordfeldth [Tue, 13 Oct 2015 22:10:33 +0000 (00:10 +0200)]
Call Notice::saveActivity instead of Ostatus_profile->processActivity

9 years agoRemote notice creators should not have notice is_local default to LOCAL_PUBLIC
Mikael Nordfeldth [Tue, 13 Oct 2015 22:10:01 +0000 (00:10 +0200)]
Remote notice creators should not have notice is_local default to LOCAL_PUBLIC

9 years agoShared activities were missing the actor
Mikael Nordfeldth [Tue, 13 Oct 2015 21:40:35 +0000 (23:40 +0200)]
Shared activities were missing the actor

9 years agoAdd a url test in Notice::saveActivity
Mikael Nordfeldth [Tue, 13 Oct 2015 21:37:26 +0000 (23:37 +0200)]
Add a url test in Notice::saveActivity

9 years agoWrong variable names in SharePlugin
Mikael Nordfeldth [Tue, 13 Oct 2015 21:18:13 +0000 (23:18 +0200)]
Wrong variable names in SharePlugin