Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2016-11-08 19:37:46 +0300
committerGitHub <noreply@github.com>2016-11-08 19:37:46 +0300
commit1ad3043e4fd36a5e6b206c1bf4bbee5b35c92717 (patch)
treed00720d5cf6db66c678df2382218840ee8b31284 /lib/public
parent5f15020b9bcc4732d81176f2c8380bfdbd16a051 (diff)
parent1c97d1b4ed5ff4c1f0484e6575718ec092cfa274 (diff)
Merge pull request #1998 from nextcloud/share-by-mail-notification
add share by mail activity
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Activity/IExtension.php1
-rw-r--r--lib/public/RichObjectStrings/definitions.json19
2 files changed, 20 insertions, 0 deletions
diff --git a/lib/public/Activity/IExtension.php b/lib/public/Activity/IExtension.php
index a86837892ba..aaa4c869561 100644
--- a/lib/public/Activity/IExtension.php
+++ b/lib/public/Activity/IExtension.php
@@ -103,6 +103,7 @@ interface IExtension {
* Currently known types are:
* * file => will strip away the path of the file and add a tooltip with it
* * username => will add the avatar of the user
+ * * email => will add a mailto link
*
* @param string $app
* @param string $text
diff --git a/lib/public/RichObjectStrings/definitions.json b/lib/public/RichObjectStrings/definitions.json
index 222f6615cf4..494e96c8f76 100644
--- a/lib/public/RichObjectStrings/definitions.json
+++ b/lib/public/RichObjectStrings/definitions.json
@@ -224,5 +224,24 @@
"example": "Support Team"
}
}
+ },
+ "email": {
+ "author": "Nextcloud",
+ "app": "sharebymail",
+ "since": "9.2.0",
+ "parameters": {
+ "id": {
+ "since": "9.2.0",
+ "required": true,
+ "description": "The mail-address used to identify the event on the instance",
+ "example": "test@localhost"
+ },
+ "name": {
+ "since": "9.2.0",
+ "required": true,
+ "description": "The display name of a matching contact or the email (fallback) which should be used in the visual representation",
+ "example": "Foo Bar"
+ }
+ }
}
}