Граф коммитов

192 Коммитов

Автор SHA1 Сообщение Дата
SebastianKrupinski e8578edef2 feat: add iMip Request Handling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-08 00:56:47 -05:00
Daniel Kesselberg d74c401e66
feat: mail filters
Co-authored-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-16 13:03:39 +02:00
Daniel Kesselberg 3906f272cb
refactor: move imap flag encoding to helper
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-16 12:05:15 +02:00
Daniel Kesselberg 1874205dda
style: apply coding-standard 1.3.1
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-10 20:17:23 +02:00
Daniel Kesselberg 0cae3ce647
refactor: drop fallback for availability coordinator
Fallback can go because Mail 4.0 requires at least Nextcloud 30.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-10 20:01:02 +02:00
Christoph Wurst 353200620f
refactor: Add void to PHPUnit test methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-17 23:25:09 +02:00
SebastianKrupinski 57389ba85c fix: use single connection to sync all mailboxes
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-09-15 11:25:41 -04:00
Daniel Kesselberg 39713c5782 test: update attachment tests to avoid deprecation warning
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-09 21:16:26 +02:00
Daniel Kesselberg e3524c810a fix: set content type parameters for attachments
Horde_Mime_Part.setType takes the mimetype (e.g. text/calendar) and discards additional parameters (like method=REQUEST).

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-09 20:53:27 +02:00
Hamza 629a9fa693
Merge pull request #10075 from nextcloud/enh/unit-tests-link-checking
feat: unit tests for link checking
2024-09-04 10:59:56 +02:00
Hamza Mahjoubi db5f8ec8e2 test: unit tests for link checking
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-09-04 10:09:50 +02:00
Daniel Kesselberg b76e68f373 perf: don't loop the users without any provisioning configurations
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-03 20:15:57 +02:00
Daniel Kesselberg 94ac6cf8c6
style: apply coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-26 11:50:26 +02:00
Daniel Kesselberg 1f54a38748
fix: line ending for sieve scripts should be clrf
Ref https://www.rfc-editor.org/rfc/rfc5228#section-2.2

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-16 15:47:10 +02:00
Hamza 3f0a1b1cd2
Merge pull request #9994 from nextcloud/feat/link-checking
Feat: link checking for phishing detection
2024-08-13 17:56:48 +02:00
Hamza Mahjoubi c791095a3d Feat: link checking for phishing detection
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-08-13 17:48:54 +02:00
Richard Steinmetz 846c85301e
Merge pull request #9788 from nextcloud/fix/integration/nextcloud-sharing-groups-restriction
fix(integration): Honor sharing to group members restriction
2024-08-13 15:06:21 +02:00
Hamza Mahjoubi 30d55f79a9 fix: case insesitive comparison for contact emails
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-08-13 12:50:53 +02:00
Christoph Wurst 56faa48b26
fix(autoconfig): Refactor DNS query for testing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-05 19:02:18 +02:00
Christoph Wurst bd75d0abc4
perf: Use local caches for avatars
Local caches are faster. Distributed caches are only needed if cache is
used for consistency. Populating avatar/provisioning caches for each
application server should be cheaper than the remote cache access for a
lot of requests reading avatars.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-07-02 10:45:34 +02:00
Micke Nordin 43ee642801
fix(provisioning): Set master password for passwordless sessions
Signed-off-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-07-02 09:54:46 +02:00
Christoph Wurst fb4ae5e5d4
fix(integration): Honor sharing to group members restriction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-07-01 18:19:18 +02:00
Hamza Mahjoubi 9b87b23bc2 Feat: phishing detection
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-06-27 20:45:52 +02:00
Anna Larch 3955d514f5 fix: declare all properties in unit tests
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-06-26 19:33:34 +02:00
Richard Steinmetz 221ff11205
feat: follow up reminders
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-25 16:47:20 +02:00
Andy Scherzinger 432e10ffd8
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-24 18:46:58 +02:00
Andy Scherzinger e86d0299cf
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-24 12:22:29 +02:00
Hamza Mahjoubi f0e072edaa enh: add backend check for download permission for cloud attachements
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-06-05 16:21:10 +02:00
Richard Steinmetz a93b48eacf
fix: inconsistent encoding in saved sent messages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-31 12:17:59 +02:00
Patrick Bender c6e28fd591
fix(smime): use whole certificate chain
Upload whole certificate chain when uploading a certificate for S/MIME in pkcs12 format. Include whole certificate chain in signed messages. Use whole certificate chain to verify certificates.

Fixes #9190

Signed-off-by: Patrick Bender <patrick@bender-it-services.de>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-28 21:00:16 +02:00
Richard Steinmetz c3e24f01f8
chore: remove legacy Account::newMessage() method
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-15 12:15:38 +02:00
Richard Steinmetz 96c12592e8
feat: implement admin setting to disable classification by default
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-04-30 08:48:35 +02:00
Richard Steinmetz 003cdf2681
chore: merge duplicated tagging code
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-04-15 15:47:41 +02:00
Hamza Mahjoubi 5f1ab3431c Fix: generate event data fails for threads across multiple mailboxes
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-04-11 20:03:04 +02:00
Anna Larch d62ac040c4 fix: PHP deprecations
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-04-09 22:22:51 +02:00
Anna Larch 7c59040785 fix(outbox): add status for messages
and try resending failed messages at POF

Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-04-09 13:42:39 +02:00
Hamza Mahjoubi 5d835daf5f Fix: Thread summaries fail for threads across multiple mailboxes
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-03-05 23:50:50 +01:00
Christoph Wurst 66fdc0bbe0
fix(db): Avoid dirty read for collected addresses
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-29 07:44:15 +01:00
Christoph Wurst a537687c89
Merge pull request #9366 from nextcloud/feat/integration/llm-events
feat(integration): Use LLM to fill event details
2024-02-27 12:13:59 +01:00
Christoph Wurst eab26c4773
feat(integration): Use LLM to fill event details
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-26 12:56:08 +01:00
Richard Steinmetz 611121620e
feat(smime): allow selection of untrusted certs
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-26 11:24:11 +01:00
Richard Steinmetz 4db6264210
test: update smime certificates
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-20 11:47:06 +01:00
Christoph Wurst 736731f1b0
fix(deps): Switch KItinerary vendor
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-22 12:48:35 +01:00
hamza221 b8e09a29b8 Feature: smart replies
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: hamza mahjoubi <hamzamahjoubi221@gmail.com>
2024-01-12 13:51:30 +01:00
Richard Steinmetz 60b199ebcb
fix: add command to repair broken autoresponders
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-01-10 19:00:43 +01:00
Richard Steinmetz c69c7d724f
fix: cache accounts by userId in AccountService
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-01-08 11:52:14 +01:00
Richard Steinmetz f0847be20a
fix: improve autoresponder time zone handling
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-12-12 13:10:26 +01:00
Richard Steinmetz 3cbdf1f302
feat: apply personal out-of-office data to the auto responder
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-24 10:37:47 +01:00
Christoph Wurst 76c2dad248
Merge pull request #9008 from nextcloud/feat/master-password
feat(provisioning): Master password support
2023-11-09 16:49:41 +01:00
Micke Nordin ae748475f3
Allow SSO users to send and recieve mail via master password
SSO users do not have a password set, and the auto provisioning of mail
does not work for SSO user. It is also inconvenient to synchronize the
password database between Nextcloud and the mail server used.

So to allow SSO user to use the mail app we can instead configure a
shared password for all users, this will work well with for example
Dovecot that has a concept of a "master password"[0] that can be used to
authenticate users. To use this feature we must convince the mail app
that the user has a password available, which we can set with occ like
so:
```
  ./occ config:app:set mail master_password --value 'very-secret-master-password'
```
We can then configure dovecot to allow this password from the Nextcloud
server, in this example 89.46.21.198:
```
passdb {
  args = password=very-secret-master-password allow_nets=89.46.21.198/32
  driver = static
}
```
If we configure postfix to use SASL auth against dovecot, we can then
both send and recieve mail from Nextcloud mail app, for SSO users.

0. https://doc.dovecot.org/configuration_manual/authentication/master_users/

Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 22:11:22 +01:00