Commit Graph

122 Commits

Author SHA1 Message Date
ownClouders
fc91eea4a2 [tx] updated from transifex 2023-10-08 00:19:40 +00:00
Ralf Haferkamp
f6b792a517 notifications: pick SMTP auth method automatically by default
This introduces the new value `auto` for NOTIFICATIONS_SMTP_AUTHENTICATION.
Which will make the notifications service automatically pick an authentication
mechanism that the server supports. This is also the new default behavior.

This also removes most of the other default settings for the SMTP
configuration. The default values were of no real use for this service.

Closes: #7356
2023-10-05 12:37:27 +02:00
Ralf Haferkamp
246ec1ecc9 notifications: Deprecate redundant encryptions settings
'tls' and 'ssl' are duplicates of 'starttls' and 'ssltls' and have been deprecated
in the upstream modules we use for sending mail notifications. Let's deprecate them
as well and issue a warning when they are still used.

Fixes: #7345
2023-10-05 12:37:27 +02:00
ownClouders
582e7474e8 [tx] updated from transifex 2023-10-04 00:54:10 +00:00
ownClouders
836106d802 [tx] updated from transifex 2023-09-28 04:05:37 +00:00
ownClouders
78bc32e156 [tx] updated from transifex 2023-09-18 00:06:46 +00:00
ownClouders
564685b447 [tx] updated from transifex 2023-09-14 00:28:37 +00:00
ownClouders
422465b8f5 [tx] updated from transifex 2023-09-08 00:39:40 +00:00
jkoberg
bd716156fc let ocis init set the serviceaccounts
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-31 12:11:44 +02:00
jkoberg
ab10e5e152 use service accounts for notifications
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-31 12:11:43 +02:00
ownClouders
0324b6d065 [tx] updated from transifex 2023-08-29 00:48:42 +00:00
ownClouders
c2e09accc9 [tx] updated from transifex 2023-08-24 00:44:32 +00:00
Christian Richter
d7139d4127 remove deprecated variables
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
ownClouders
e94ddbf3bc [tx] updated from transifex 2023-08-19 00:22:40 +00:00
jkoberg
49cdcad129 unify eventstream creation
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-16 10:14:12 +02:00
ownClouders
712d98e0a2 [tx] updated from transifex 2023-08-08 01:27:09 +00:00
ownClouders
13708c59e9 [tx] updated from transifex 2023-08-04 00:41:13 +00:00
Daniel Swärd
6a5e21eff4 Replacing implicit grpc client initialization with explicit package local variables. 2023-07-31 12:57:59 +02:00
ownClouders
bdddf85249 [tx] updated from transifex 2023-07-29 00:50:03 +00:00
Daniel Swärd
8c5ce6279a Separate out grpc client to package local for notifications service. 2023-07-26 11:23:38 +02:00
Roman Perekhod
f3484c3cdd Improve the notification logs when the user has no email address 2023-07-24 10:41:32 +02:00
ownClouders
b505e334ee [tx] updated from transifex 2023-07-19 00:20:06 +00:00
Daniël Franke
91b46e32fc Add tracing to notifications service. (#6808)
* Add tracing to notifications service.

This enables tracing to the notifications service.

* Update services/notifications/pkg/config/tracing.go

---------

Co-authored-by: Jörn Friedrich Dreyer <jfd@owncloud.com>
2023-07-14 16:11:49 +02:00
ownClouders
286350616c [tx] updated from transifex 2023-07-12 04:28:47 +00:00
mmattel
6ad53971ef [docs-only] Increase readability for log level values in the description 2023-07-07 10:33:42 +02:00
mmattel
d7b447b791 [docs-only] Increase readability for tracing values in the description 2023-07-07 09:50:39 +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
ownClouders
164b24cc41 [tx] updated from transifex 2023-06-28 10:06:47 +00:00
ownClouders
d1d36e6f5a [tx] updated from transifex 2023-06-28 04:02:17 +00:00
Roman Perekhod
5d5ef12e7c Skip the error if the simulink is pointed to a directory 2023-06-21 15:14:18 +02:00
ownClouders
7a2afee440 [tx] updated from transifex 2023-06-19 00:16:27 +00:00
Daniel Swärd
a3ee6f3648 notifications: Fix nullpointer problems
Closes: #6541
2023-06-16 13:41:57 +02:00
Florian Schade
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
kobergj
f2e6556549 Merge pull request #6428 from kobergj/RefactorOcisPKG
[tests-only][full-ci] Cleanup ocis runtime
2023-06-05 14:40:29 +02:00
jkoberg
d347448ec0 remove duplicated sutureservice code
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-02 12:02:27 +02:00
Roman Perekhod
cd39dd4073 Fix to prevent the email notification X-Site scripting 2023-06-02 09:47:06 +02:00
ownClouders
7094891f4d [tx] updated from transifex 2023-05-30 00:03:06 +00:00
jkoberg
70391a0bf2 unify CACERT envvars
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-05-25 13:32:37 +02:00
Roman Perekhod
53f71bea13 remove the email logo 2023-05-22 15:29:44 +02:00
ownClouders
13ebe0b0d5 [tx] updated from transifex 2023-05-09 14:05:44 +00:00
ownClouders
33d9be3832 [tx] updated from transifex 2023-05-04 00:25:45 +00:00
Roman Perekhod
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
ownClouders
01f6604182 [tx] updated from transifex 2023-05-01 00:16:24 +00:00
kobergj
0c1efbd626 Merge pull request #6137 from kobergj/DisableEmailNotifications
Disable Email Notifications
2023-04-27 13:35:11 +02:00
Christian Richter
c39a7f45ed add debug server to notifications (#6155)
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-04-27 09:56:09 +02:00
ownClouders
7cb622f4b2 [tx] updated from transifex 2023-04-27 00:19:23 +00: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
Roman Perekhod
5f4c0689cb Merge pull request #6089 from 2403905/issue-6087
Determine the users preferred language to translate emails via Transi…
2023-04-24 12:13:29 +02:00
ownClouders
169a3abe07 [tx] updated from transifex 2023-04-23 00:35:11 +00:00
Roman Perekhod
6cf09321c9 Determine the users preferred language to translate emails via Transifex. #6087 2023-04-21 16:30:48 +02:00