-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix share/space link in notification mail
Use OCIS_URL as the link base. This change also makes sure that the top-level OcisURL config value gets a default assigned, even when OCIS_URL is unset. Fixes: #4688
- Loading branch information
Showing
7 changed files
with
31 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Bugfix: Mail notifications for group shares | ||
|
||
We fixed multiple issues in the notifications service, which broke notifcation | ||
mails new shares with groups. | ||
|
||
https://github.com/owncloud/ocis/pull/4714 | ||
https://github.com/owncloud/ocis/issues/4703 | ||
https://github.com/owncloud/ocis/issues/4688 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
services/notifications/pkg/email/templates/shareCreated.email.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
Hello {{ .ShareGrantee }}, | ||
|
||
{{ .ShareSharer }} has shared {{ .ShareFolder }} with you. | ||
{{ .ShareSharer }} has shared "{{ .ShareFolder }}" with you. | ||
|
||
Click here to view it: {{ .ShareLink }} | ||
|
||
---------------------------------------------------------- | ||
|
||
Hallo {{ .Grantee }}, | ||
|
||
{{ .ShareSharer }} hat dich zu {{ .ShareFolder }} eingeladen. | ||
{{ .ShareSharer }} hat dich zu "{{ .ShareFolder }}" eingeladen. | ||
|
||
Klicke hier zum Anzeigen: {{ .ShareLink }} | ||
|
||
|
||
--- | ||
ownCloud - Store. Share. Work. | ||
https://owncloud.com | ||
https://owncloud.com |
6 changes: 3 additions & 3 deletions
6
services/notifications/pkg/email/templates/sharedSpace.email.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
Hello {{ .SpaceGrantee }}, | ||
|
||
{{ .SpaceSharer }} has invited you to join {{ .SpaceName }}. | ||
{{ .SpaceSharer }} has invited you to join "{{ .SpaceName }}". | ||
|
||
Click here to view it: {{ .ShareLink }} | ||
|
||
---------------------------------------------------------- | ||
|
||
Hallo {{ .SpaceGrantee }}, | ||
|
||
{{ .SpaceSharer }} hat dich in den Space {{ .SpaceName }} eingeladen. | ||
{{ .SpaceSharer }} hat dich in den Space "{{ .SpaceName }}" eingeladen. | ||
|
||
Klicke hier zum Anzeigen: {{ .ShareLink }} | ||
|
||
|
||
--- | ||
ownCloud - Store. Share. Work. | ||
https://owncloud.com | ||
https://owncloud.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters