]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Stephen Paul Weber [Wed, 28 Oct 2015 00:11:54 +0000 (00:11 +0000)]
Move the functionality to a plugin
Use an associated model to prevent race conditions on creating the
profile object.
Mikael Nordfeldth [Tue, 27 Oct 2015 23:13:17 +0000 (00:13 +0100)]
Shared notices didn't save the URL
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.
Mikael Nordfeldth [Tue, 27 Oct 2015 18:05:07 +0000 (19:05 +0100)]
Bad HTML in translation.
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.
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}
Stephen Paul Weber [Tue, 27 Oct 2015 03:18:04 +0000 (03:18 +0000)]
Respect isPermalLink=false on RSS guid
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.
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.
Stephen Paul Weber [Sun, 25 Oct 2015 17:22:15 +0000 (17:22 +0000)]
Linkback to mentioned profiles
Stephen Paul Weber [Fri, 23 Oct 2015 21:15:40 +0000 (21:15 +0000)]
Allow users to @mention URLs
Because inferring who you mean (especially in the presence of remotes) can suck
Stephen Paul Weber [Fri, 23 Oct 2015 19:00:08 +0000 (19:00 +0000)]
Mark up link to original as a repost for repeats
http://indiewebcamp.com/repost
Stephen Paul Weber [Fri, 23 Oct 2015 18:51:33 +0000 (18:51 +0000)]
Only show parent wrapper if there are some
Stephen Paul Weber [Fri, 23 Oct 2015 18:03:44 +0000 (18:03 +0000)]
TwitterBridge also check for dupe by uri
In case a twitter item came in from some other source (such as linkback).
Stephen Paul Weber [Fri, 23 Oct 2015 17:56:02 +0000 (17:56 +0000)]
Include rel-syndication link for tweets
As per: <http://microformats.org/wiki/rel-syndication>
This allows some services to find a post in Twitter.
Stephen Paul Weber [Fri, 23 Oct 2015 16:26:35 +0000 (16:26 +0000)]
Reduce duplication by handling both cases in find
Stephen Paul Weber [Fri, 23 Oct 2015 16:24:04 +0000 (16:24 +0000)]
Use HTTPS for links to Twitter profiles as well
Stephen Paul Weber [Fri, 23 Oct 2015 16:19:54 +0000 (16:19 +0000)]
Twitter URIs have changed
The #! was deprecated ages ago, and Twitter forces HTTPS these days.
Stephen Paul Weber [Fri, 23 Oct 2015 15:37:11 +0000 (15:37 +0000)]
Always send Twitter replies to Twitter
If is_twitter_notice($notice->reply_to) then send it to Twitter, even
if twitter import is off. It's a reply to a Twitter notice, it should
go there!
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.
Stephen Paul Weber [Wed, 21 Oct 2015 01:50:03 +0000 (01:50 +0000)]
Enqueue renewals
Better for request times, etc
Stephen Paul Weber [Wed, 21 Oct 2015 01:49:26 +0000 (01:49 +0000)]
Renew 1 day *before* the end, not 1 day *after*
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.
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).
Stephen Paul Weber [Sun, 18 Oct 2015 21:28:55 +0000 (21:28 +0000)]
Allow users to opt out of sending linkbacks
abjectio [Sun, 18 Oct 2015 15:34:36 +0000 (17:34 +0200)]
Removed inboxmessagelist.php - seems to be not needed. Ref. Issue #77
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.
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.
abjectio [Fri, 16 Oct 2015 21:48:05 +0000 (23:48 +0200)]
Bug in catch(Exception) - parameter wrongly written
Stephen Paul Weber [Wed, 14 Oct 2015 21:13:58 +0000 (16:13 -0500)]
Add webmention support
Stephen Paul Weber [Wed, 14 Oct 2015 21:13:25 +0000 (16:13 -0500)]
Note that we should handle relative URIs
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.
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.
Stephen Paul Weber [Wed, 14 Oct 2015 20:32:12 +0000 (15:32 -0500)]
Use the getter, not a direct access
Stephen Paul Weber [Wed, 14 Oct 2015 20:28:38 +0000 (15:28 -0500)]
More robust pingback link detection
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
Mikael Nordfeldth [Tue, 13 Oct 2015 23:30:29 +0000 (01:30 +0200)]
Link source==share notices
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)
Mikael Nordfeldth [Tue, 13 Oct 2015 23:16:22 +0000 (01:16 +0200)]
intval for type assurance
Mikael Nordfeldth [Tue, 13 Oct 2015 22:27:51 +0000 (00:27 +0200)]
Type-aware comparison is necessary for Notice is_local/scope
Mikael Nordfeldth [Tue, 13 Oct 2015 22:10:33 +0000 (00:10 +0200)]
Call Notice::saveActivity instead of Ostatus_profile->processActivity
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
Mikael Nordfeldth [Tue, 13 Oct 2015 21:40:35 +0000 (23:40 +0200)]
Shared activities were missing the actor
Mikael Nordfeldth [Tue, 13 Oct 2015 21:37:26 +0000 (23:37 +0200)]
Add a url test in Notice::saveActivity
Mikael Nordfeldth [Tue, 13 Oct 2015 21:18:13 +0000 (23:18 +0200)]
Wrong variable names in SharePlugin
Mikael Nordfeldth [Tue, 13 Oct 2015 20:57:45 +0000 (22:57 +0200)]
Bad variable name in File_redirection
Mikael Nordfeldth [Tue, 13 Oct 2015 20:55:27 +0000 (22:55 +0200)]
Removing excess debug logging
Mikael Nordfeldth [Tue, 13 Oct 2015 10:31:35 +0000 (12:31 +0200)]
Bookmark:addNew did not add a proper rel=related
Mikael Nordfeldth [Mon, 12 Oct 2015 16:28:32 +0000 (18:28 +0200)]
Better error handling in Bookmark
Mikael Nordfeldth [Mon, 12 Oct 2015 15:48:23 +0000 (17:48 +0200)]
Bookmarks are almost migrated
Now they are just not being saved in the bookmark table.
Mikael Nordfeldth [Mon, 12 Oct 2015 15:16:13 +0000 (17:16 +0200)]
Just a functionifying of Notice->rendered
Mikael Nordfeldth [Mon, 12 Oct 2015 07:47:30 +0000 (09:47 +0200)]
Change Bookmark plugin version details
Mikael Nordfeldth [Sun, 11 Oct 2015 20:08:28 +0000 (22:08 +0200)]
Woops, put the bookmark get* functions in the wrong file.
Mikael Nordfeldth [Sat, 10 Oct 2015 21:47:43 +0000 (23:47 +0200)]
First step of making Bookmark saveActivity-compatible
Mikael Nordfeldth [Sat, 10 Oct 2015 21:15:51 +0000 (23:15 +0200)]
Stricter typing for Bookmark plugin
Mikael Nordfeldth [Sat, 10 Oct 2015 20:40:05 +0000 (22:40 +0200)]
unmaintained plugins that accidentally got translations
mmn [Sat, 10 Oct 2015 20:38:01 +0000 (20:38 +0000)]
Merge branch 'master' into 'nightly'
convert activity stream RFC3339 dates to mysql datetime format when saving remote event dates to db
See merge request !34
mmn [Sat, 10 Oct 2015 20:36:59 +0000 (20:36 +0000)]
Merge branch 'page_title_showstream' into 'nightly'
Show page title in user's profile page
Enable page title on user's profile page to make it consistent with all other pages and better orient users.
![Screenshot_-_250715_-_14_50_00](https://git.gnu.io/aroque/gnu-social/uploads/
06e92b233e88fdb66047fbc0571f9831 /Screenshot_-_250715_-_14_50_00.png)
See merge request !22
mmn [Sat, 10 Oct 2015 20:36:04 +0000 (20:36 +0000)]
Merge branch 'translation-snapshot-october-2015' into 'nightly'
Snapshot of the Transifex translation project - October 2015
It's been 7 months since the last localization update, and the files in the repository are out of sync with the current state of the project. Our Transifex team has since grown to 63 translators, many of them are active members of the GNU social community. I don't know how we will resolve this situation, but it is clear that we have to act. If you plan to redesign the plugin system in the future to support external repository for localizations, that would work as well. But now, please let us do an update. It would be a serious disgrace to the community to throw all of their hard work away.
See merge request !32
mmn [Sat, 10 Oct 2015 20:35:36 +0000 (20:35 +0000)]
Merge branch 'usergroups_page' into 'nightly'
Improve display of user's groups page.
* Show page notice as for subscriptions
* Show instructions when user has no groups
* Add explanation of remote groups and link to skilledtest wiki
Here is how it looks when a logged in user is not following groups yet
![login_nogroups](https://git.gnu.io/aroque/gnu-social/uploads/
34b1bdcdb9e7277ec3deff4594061c59 /login_nogroups.png)
After following a group, you still see the instruction notice. This way you have links to searching groups and creating a new one.
![login_groups](https://git.gnu.io/aroque/gnu-social/uploads/
cb50689bcdfca7adc5cdcbe620487aa4 /login_groups.png)
Finally when logged out:
![nologin_groups](https://git.gnu.io/aroque/gnu-social/uploads/
40d81ab909321f8729c2696dd3938d46 /nologin_groups.png)
The current version on nightly has basically no text at all.
See merge request !25
mmn [Sat, 10 Oct 2015 20:34:22 +0000 (20:34 +0000)]
Merge branch 'oauth-default-icon' into 'nightly'
Add default icon to OAuth apps
When MySQL runs in strict mode, it doesn't seem possible to add a new OAuth app.
This is because:
* The 'icon' field has no defaults and also has NOT NULL constraint.
* GS uploads/sets the icon[1] (if provided) after the SQL insert[2]
The easiest fix seemed to be to provide a default icon value.
This change sets the default to the "blue peg" default avatar from the base theme.
[1]
https://git.gnu.io/gnu/gnu-social/blob/
7f30e614027fa27e83ecc32eb5443ee82d03f0f7 /actions/newapplication.php#L176
[2]
https://git.gnu.io/gnu/gnu-social/blob/
7f30e614027fa27e83ecc32eb5443ee82d03f0f7 /actions/newapplication.php#L186
See merge request !29
mmn [Sat, 10 Oct 2015 20:33:58 +0000 (20:33 +0000)]
Merge branch 'link-atom-fix' into 'nightly'
atom: <link> urls should be attr, not content
Some activities (ex: repeats and follows) have <link>s like this:
<link rel="alternate" type="text/html">http://example.org</link>
This commit changes them to:
<link rel="alternate" type="text/html" href="http://example.org"/>
See merge request !30
Mikael Nordfeldth [Sat, 10 Oct 2015 20:20:53 +0000 (22:20 +0200)]
Syntax and minor fixes
Deleted_notice and Bookmark getByPK assocative array for example.
Mikael Nordfeldth [Sat, 10 Oct 2015 20:09:51 +0000 (22:09 +0200)]
Some code aligning for consistency
Mikael Nordfeldth [Sat, 10 Oct 2015 19:53:45 +0000 (21:53 +0200)]
Start reworking Bookmark plugin for more modern code
Mikael Nordfeldth [Sat, 10 Oct 2015 19:40:02 +0000 (21:40 +0200)]
Using some Managed_DataObject::getByPK calls for consistency
Mikael Nordfeldth [Sat, 10 Oct 2015 19:31:26 +0000 (21:31 +0200)]
newUri might as well be put in Managed_DataObject
Mikael Nordfeldth [Sat, 10 Oct 2015 19:22:07 +0000 (21:22 +0200)]
If that $options key wasn't set, this won't change anything anyway
Mikael Nordfeldth [Sat, 10 Oct 2015 18:51:53 +0000 (20:51 +0200)]
Match parent class definition of clientError
Mikael Nordfeldth [Sat, 10 Oct 2015 18:36:54 +0000 (20:36 +0200)]
Use an atom:link to ApiMediaUpload response instead of mediahref
'cause why not?
Mikael Nordfeldth [Sat, 10 Oct 2015 15:15:29 +0000 (17:15 +0200)]
Add mediahref in our incredibly arbitrary response
Mikael Nordfeldth [Sat, 10 Oct 2015 15:12:44 +0000 (17:12 +0200)]
Don't send multiple error responses in ApiMediaUpload :)
Mikael Nordfeldth [Sat, 10 Oct 2015 10:16:12 +0000 (12:16 +0200)]
Search engine fix because Directory did a 'join'
Colliding columns with a very lacking error message from DB ;)
Mikael Nordfeldth [Sat, 10 Oct 2015 09:08:17 +0000 (11:08 +0200)]
I think I have made the delete verb generate proper AS
ActivityStreams had a different/better definition than me
in how to define the Delete verb data:
http://wiki.activitystrea.ms/w/page/
23541872 /Delete
Hannes Mannerheim [Fri, 9 Oct 2015 22:20:32 +0000 (00:20 +0200)]
better explanation
Hannes Mannerheim [Fri, 9 Oct 2015 22:11:54 +0000 (00:11 +0200)]
convert activity stream RFC3339 dates to mysql datetime format when saving remote event dates to db
mmn [Fri, 9 Oct 2015 14:43:45 +0000 (14:43 +0000)]
Merge branch 'master' into 'nightly'
make events federate
See merge request !33
Hannes Mannerheim [Fri, 9 Oct 2015 14:22:47 +0000 (16:22 +0200)]
make event urls federate
Mikael Nordfeldth [Fri, 9 Oct 2015 14:19:26 +0000 (16:19 +0200)]
AtomPub should work now, at least for post/note
Mikael Nordfeldth [Fri, 9 Oct 2015 14:18:12 +0000 (16:18 +0200)]
Post verb default type is 'note'
Hannes Mannerheim [Fri, 9 Oct 2015 14:16:13 +0000 (16:16 +0200)]
make event location federate
Hannes Mannerheim [Fri, 9 Oct 2015 14:00:33 +0000 (16:00 +0200)]
make event dates federate
Mikael Nordfeldth [Fri, 9 Oct 2015 13:45:23 +0000 (15:45 +0200)]
You don't have to push objects as references
Mikael Nordfeldth [Fri, 9 Oct 2015 13:45:05 +0000 (15:45 +0200)]
Consistent camelcasing
Mikael Nordfeldth [Fri, 9 Oct 2015 13:43:17 +0000 (15:43 +0200)]
Make Bsaic Auth work properly with RW actions
Hannes Mannerheim [Fri, 9 Oct 2015 12:40:43 +0000 (14:40 +0200)]
update from upstream
Hannes Mannerheim [Fri, 9 Oct 2015 11:10:48 +0000 (13:10 +0200)]
make events federate
Mikael Nordfeldth [Fri, 9 Oct 2015 09:23:20 +0000 (11:23 +0200)]
Switching variable access in ApiTimelineUser to GNUsocial improvements
Mikael Nordfeldth [Fri, 9 Oct 2015 08:55:12 +0000 (10:55 +0200)]
Don't enable StrictTransportSecurity by default
(but you should enable it if you use TLS, but there are many who do this
through their webserver and it's odd to have double headers etc...)
Mikael Nordfeldth [Thu, 8 Oct 2015 11:20:17 +0000 (13:20 +0200)]
Deleted_notice variable specification fixed
Mikael Nordfeldth [Mon, 5 Oct 2015 10:49:54 +0000 (12:49 +0200)]
Found newer Diaspora protocol specifications
http://www.rubydoc.info/github/Raven24/diaspora-federation/master/DiasporaFederation/Salmon/EncryptedSlap
Mikael Nordfeldth [Mon, 5 Oct 2015 09:28:33 +0000 (11:28 +0200)]
FIXME: Diaspora has its own salmon slap semantics
Mikael Nordfeldth [Mon, 5 Oct 2015 09:22:23 +0000 (11:22 +0200)]
Diaspora encloses magic envelope in <atom:entry>??!!?!
Mikael Nordfeldth [Sun, 4 Oct 2015 20:31:07 +0000 (22:31 +0200)]
Can't use return-value in empty()
Mikael Nordfeldth [Sun, 4 Oct 2015 20:31:07 +0000 (22:31 +0200)]
Can't use return-value in empty()
digital dreamer [Sun, 4 Oct 2015 16:23:01 +0000 (18:23 +0200)]
Snapshot of the Transifex translation project - October 2015
Mikael Nordfeldth [Sun, 4 Oct 2015 15:26:35 +0000 (17:26 +0200)]
Magic signature discovery and envelope changes
Mikael Nordfeldth [Sun, 4 Oct 2015 15:23:11 +0000 (17:23 +0200)]
Change some Salmon events and similar
Use Profile instead of User and (if we know it) send along the target
profile, so a Diaspora plugin can encrypt to the receiver.
Mikael Nordfeldth [Sun, 4 Oct 2015 15:22:19 +0000 (17:22 +0200)]
Make Magicsig capable of loading public PKCS1 keys
Mikael Nordfeldth [Sun, 4 Oct 2015 14:40:37 +0000 (16:40 +0200)]
Set otherwise undiscovered salmonuri on OStatus script update-profile.php