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

24 Коммитов

Автор SHA1 Сообщение Дата
Richard Steinmetz c55089baf9
perf: bundle with vite
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-10-01 11:17:04 +02:00
Christoph Wurst 3a2cefa509
refactor: Apply PHP7.3 sets
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-17 22:46:41 +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
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
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
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
Richard Steinmetz a1e5a3770a
chore: composer run cs:fix
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-04-19 14:59:20 +02:00
Christoph Wurst 5ffd2d5259
refactor(php): Use attribute instead of annotation for TrapError
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-26 14:41:51 +01:00
Christoph Wurst 58ed7acbf8
Fix deprecated constructor null message
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-22 17:09:32 +01:00
Daniel Kesselberg 93b7c72b25
Update codestyle
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-03 15:37:58 +02:00
Anna Larch 8ae7b9ae67 Consider passwordless signings when provisioning
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-05-12 17:10:58 +02:00
Anna Larch 537a766a12
Add option to use multiple configs for mail provisioning
Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-28 09:17:14 +02:00
Christoph Wurst 217bac0ab5
Clean up HTML response
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-06 15:47:05 +01:00
Richard Steinmetz 237ce80d4a
Responsive mail iframe
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-11-06 13:22:02 +01:00
Christoph Wurst 6242017fd8
Migrate middlewares to the PSR logger interface
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-04 15:09:44 +02:00
Julius Härtl ef80bfaee9
Inject styles for using native fonts in html mails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-21 17:18:46 +02:00
Christoph Wurst 7f32cfe657
Update to nextcloud coding standard v0.3.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-14 16:06:46 +02:00
Christoph Wurst 265c18ace7
Treat temporary IMAP errors as warnings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-11 09:53:35 +01:00
Christoph Wurst 528e66d1d7
Fix automatic provisioning (for new users)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-27 14:54:13 +01:00
Christoph Wurst f14311e288
Return full exception trace
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-21 14:18:36 +01:00
Christoph Wurst ad29c8a46c
Persist provisioned accounts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-04 08:49:38 +01:00
dependabot-preview[bot] 2c76665cf4
Bump christophwurst/nextcloud_testing from 0.7.0 to 0.9.1
Bumps [christophwurst/nextcloud_testing](https://github.com/ChristophWurst/nextcloud_testing) from 0.7.0 to 0.9.1.
- [Release notes](https://github.com/ChristophWurst/nextcloud_testing/releases)
- [Commits](https://github.com/ChristophWurst/nextcloud_testing/compare/0.7.0...0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-02 19:18:28 +01:00
Christoph Wurst eb833767e8
Move unit tests to tests/Unit
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-22 16:07:30 +01:00