André Duffeck
2b77cb9a17
Bump reva to v3.0.1
2026-11-17 12:45:18 +01:00
micbar
19385c27a7
fix: escape the html
2026-10-25 21:45:02 +01:00
micbar
bff95edc2a
feat: new mail notifications based on design system
2026-10-22 18:01:56 +02:00
André Duffeck
5e4d722f18
Make renewal mails without PINs work
2026-10-16 12:38:51 +02:00
André Duffeck
989a2e9f30
Add email notifications when a guest link has been renewed
...
The notifications service now consumes the GuestTokenRenewed event and
mails the new guest link together with the one-time PIN to the guest.
The created and renewed mails share one code path; GuestTokenRenewed
carries no resource name, so the resource is stat'ed for it.
2026-10-15 10:35:10 +02:00
André Duffeck
ec7f3f68a4
Add email notifications when a guest link has been created
2026-10-06 12:46:01 +02:00
Alex Ababii
59fd05f0a9
SpaceMembershipExpired notification email fix
2026-09-01 15:42:03 +02:00
Alex Ababii
3bd17299e3
send email when a share is removed (backport https://github.com/owncloud/ocis/pull/10915 )
2026-09-01 15:42:03 +02:00
Florian Schade
8a3d8fea4d
fix(collaboration): check the requester's access before a mention goes out
2026-08-17 15:44:04 +02:00
Benedikt Kulmann
35766b37d7
fix: missing returns
2026-06-11 09:28:37 +02:00
Florian Schade
f1208cfa32
enhancement: make collaboration mention functionality public
2026-06-11 09:28:37 +02:00
Florian Schade
288e67cc39
chore: replace interface with any
2026-04-23 09:31:11 +02:00
Florian Schade
86d79430a3
chore: use wg.Go instead of add
2026-04-22 14:50:57 +02:00
Juan Pablo Villafáñez
9e1b80a1be
feat: use runners to startup the services
2025-09-12 12:18:47 +02:00
Ralf Haferkamp
76b16765d8
cleanup: Avoid fetching group membership when not needed
...
Use the new GetUserNoGroups helper to lookup users without resolving
groupmemberships where possible.
Closes : #1005
2025-06-12 09:47:53 +02:00
André Duffeck
e8d35e1280
Use the opencloud reva from now on
2025-01-21 11:16:38 +01:00
Jörn Friedrich Dreyer
9d29d8ce0f
notifications
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 17:01:27 +01:00
Jörn Friedrich Dreyer
db39b8ed3b
use opencloudurl
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 11:13:08 +01:00
Ralf Haferkamp
213e9663a9
Rename go-micro services
2025-01-16 09:45:46 +01:00
André Duffeck
6cad539024
Fix tests
2025-01-16 09:27:57 +01:00
André Duffeck
8c8cdd9310
Adapt protobuf naming
2025-01-15 11:04:32 +01:00
Jörn Friedrich Dreyer
b07b5a1149
use plain pkg module
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer
8e028f17e9
change module name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 09:58:18 +01:00
Bastian Beier
4b764535c9
refactor: Make sonar happy
2025-01-09 17:35:42 +01:00
Bastian Beier
8e89a34958
fix: Missing return statement after error on getting service user context
2025-01-09 16:34:51 +01:00
Bastian Beier
7697e6d9e5
refactor: Use zerolog.Logger instead of log.Logger
2025-01-09 16:15:53 +01:00
Bastian Beier
6566192777
feat: Add job to create grouped email on event
2025-01-09 16:15:51 +01:00
Bastian Beier
9849e747e1
feat: Persist events for grouped emails based on settings
2025-01-09 16:15:50 +01:00
Bastian Beier
9af84f02e4
feat: Send emails when retrieval of setting fails
2025-01-09 16:15:49 +01:00
Bastian Beier
517660ad06
Add filtering of mails based on settings
2024-12-23 09:29:55 +01:00
jkoberg
995b0e5425
fix(notifications): fix custom translation paths
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-09-27 09:22:57 +02:00
Roman Perekhod
0c7bc8a123
The golang conditional construction moved out from the transifex template
2024-09-12 22:46:31 +02:00
Florian Schade
5ceb081262
enhancement(notifications): process ocm invites and sent out a mail notification
2024-09-05 17:30:33 +02:00
Florian Schade
194921eb0c
enhancement: handle ocm event notifications
2024-09-05 17:28:27 +02:00
Jörn Friedrich Dreyer
84e87cd722
set the configured protocol transport for service metadata
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-08-23 20:51:17 +02:00
Jörn Friedrich Dreyer
d1fd65466f
reuse default node id when registering services
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 13:07:54 +02:00
Ralf Haferkamp
ff6674f97b
Fix fallout of reva bump
...
reva tries to avoid copying proto messages now. This changed some calls
to take pointers now (mainly e.g. FormatResourceId())
2024-07-11 15:21:56 +02:00
Roman Perekhod
3520431e1f
fixed the email template when the description was marked as a link
2024-06-27 13:51:12 +02:00
jkoberg
24b5f8547a
allow using custom lang for space templates
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-03-27 10:56:43 +01:00
jkoberg
b54344196e
move more functionality to l10n pkg
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-03-27 10:34:54 +01:00
jkoberg
e1fad5c6e9
make nats-js-kv the default registry
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-12-19 12:13:28 +01:00
04a5ee283e
fix default language fallback ( #7479 )
...
* fix default language fallback
* Update services/userlog/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at >
* Update services/notifications/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at >
* readme updated. local env vars removed
* Update changelog/unreleased/fix-default-mail-language-fallback.md
Co-authored-by: Martin <github@diemattels.at >
* update readme's and envvar texts
* fix changelog text
---------
Co-authored-by: Roman Perekhod <rperekhod@owncloud.com >
Co-authored-by: Martin <github@diemattels.at >
2023-10-17 09:56:48 +02:00
jkoberg
ab10e5e152
use service accounts for notifications
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-08-31 12:11:43 +02:00
Daniel Swärd
6a5e21eff4
Replacing implicit grpc client initialization with explicit package local variables.
2023-07-31 12:57:59 +02:00
Roman Perekhod
f3484c3cdd
Improve the notification logs when the user has no email address
2023-07-24 10:41:32 +02:00
Ralf Haferkamp
c9a9fddef1
Consitently switch to stretchr/testify
...
We were using stretchr/testify and test-go/testify inconsitently and
sometimes mixed in the same tests. This can cause very strange issue,
e.g when using things like mock.MatchedBy().
This moves all our code to stretchr/testify, which seems to be far
more active and maintained then test-go/testify.
2023-06-29 13:44:49 +02:00
Florian Schade and Ralf Haferkamp
4f26424db6
[full-ci] enhancement: use reva client pool selectors ( #6452 )
...
* enhancement: use reva client pool selectors
register mock service to registry and pass tests
* enhancement: bump reva
* Fix a couple of linter issues
---------
Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com >
2023-06-08 12:41:04 +02:00
Roman Perekhod
cd39dd4073
Fix to prevent the email notification X-Site scripting
2023-06-02 09:47:06 +02:00
27322c5bbf
The email HTML templates added #6146 ( #6147 )
...
* The email HTML templates added #6146
* use a single palne text email template. use fs.FS
* Update services/notifications/README.md
Co-authored-by: Martin <github@diemattels.at >
* Update services/notifications/README.md
Co-authored-by: Martin <github@diemattels.at >
* fix md
---------
Co-authored-by: Roman Perekhod <rperekhod@owncloud.com >
Co-authored-by: Martin <github@diemattels.at >
2023-05-03 10:47:46 +02:00
jkoberg
8b7b8d083a
respect disable email setting in notification service
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-04-26 15:33:55 +02:00