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

78119 Коммитов

Автор SHA1 Сообщение Дата
Thomas Lehmann e4c013d86d feat(Mailer): add "null" SMTP transport mode
== Goal

Allow disabling mail delivery altogether.

== Usecase

If mails ought to be send by other means than rendering messages from
templates and sending them via SMTP-like protocols.

Example: listening to specific Nextcloud events and pass parameters to
a centralized (i.e. REST-based) API that sends e-mails.

Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
2024-11-19 11:32:39 +01:00
Thomas Lehmann 40211f3d07 chore(Mailer): remove no-op local variable initilization
The IDE hinted the value is immediately overwritten.

Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
2024-11-19 11:32:39 +01:00
Thomas Lehmann 46d8a7333b feat(Mailer): implement caching
Currently $this->instance is never set, so the code is no-op. This
brings back caching of the instance.

Caching broke with

   be7db1573d

   Swift to \Swift_Mailer as abstraction

Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
2024-11-19 11:32:39 +01:00
John Molakvoæ 6559c2075e
Merge pull request #49361 from nextcloud/fix/fix-share-creation-error-messages 2024-11-19 11:17:30 +01:00
John Molakvoæ 47322e8b9e
Merge pull request #49346 from nextcloud/fix/drop-v-html 2024-11-19 10:46:16 +01:00
nextcloud-command 2887c166f9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-19 09:37:28 +00:00
Ferdinand Thiessen 52769a47ed fix(core): Do not use `v-html` for translation output
The content that can be renderered does *not* include HTML (see
`recommended` object).
But `v-html` was used, this is potentially dangerous, even though we
sanitize the translation values, so no urgent harm but better safe than
sorry.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:35:23 +00:00
John Molakvoæ fb75e2de78
Merge pull request #49342 from nextcloud/chore/force-style-lint 2024-11-19 10:14:52 +01:00
skjnldsv dd5a344f5e chore: lint fix
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 09:56:30 +01:00
Ferdinand Thiessen 2cb2abf1a9 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:42:13 +01:00
Ferdinand Thiessen f6e6ba4851 refactor(styles): Adjust code style in SCSS sources to match our stylelint config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:42:13 +01:00
Ferdinand Thiessen 212cac9469 ci: Enforce SCSS/CSS rules - add stylelint workflow
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:42:13 +01:00
Côme Chilliet f44a192613
fix(files_sharing): Fix error messages from password policy
Exceptions thrown from password_policy may bubble up in share creation
 or update when a password is used. Their message is meant to be shown
 to the user. This always the case for HintException so we catch that
 instead of the subclass GenericShareException.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-11-19 09:40:26 +01:00
John Molakvoæ 899b65111d
Merge pull request #47658 from nextcloud/enh/noid/user-preferences 2024-11-19 09:31:17 +01:00
Nextcloud bot ecc16c242d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-19 00:21:11 +00:00
Maxence Lange 5b4f1904c0 feat(user-prefs): renaming to IUserConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-18 20:11:31 -01:00
Maxence Lange 6afc8552b7 feat(user-prefs): switching to NCU/
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-18 20:11:31 -01:00
Maxence Lange 7c04818c5c feat(user-prefs): iterator instead of array on search
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-18 20:11:31 -01:00
Maxence Lange e73513bdd1 fix(user-prefs): adding sensitive and indexed as flags
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-18 20:11:31 -01:00
Maxence Lange 65e24f7def feat(user-prefs): IUserPreferences
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-18 20:11:31 -01:00
Joas Schilling 4b769f661d
Merge pull request #49343 from nextcloud/fix/ai-settings
fix(settings): Add nextTick to saveChanges
2024-11-18 22:10:24 +01:00
nextcloud-command 7a4cd423fd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-18 17:15:04 +00:00
Marcel Klehr 58161f38df fix(settings): Add nextTick to saveChanges
to alleviate race condition

fixes #49335

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-11-18 18:08:28 +01:00
dependabot[bot] 8995272f60
Merge pull request #49329 from nextcloud/dependabot/npm_and_yarn/vue-material-design-icons-5.3.1 2024-11-18 13:44:56 +00:00
Ferdinand Thiessen e5932c063d
Merge pull request #48855 from nextcloud/fix/app-store-remove-force-enable
fix(apps-store): Remove apps from force-enabled state when uninstalled
2024-11-18 14:37:16 +01:00
John Molakvoæ 6ff7db6ad4
Merge pull request #49337 from nextcloud/fix/sass 2024-11-18 14:32:28 +01:00
nextcloud-command 475c691cfd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-18 13:24:33 +00:00
dependabot[bot] 330bed4e52
chore(deps): bump vue-material-design-icons from 5.3.0 to 5.3.1
---
updated-dependencies:
- dependency-name: vue-material-design-icons
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-18 14:15:32 +01:00
Ferdinand Thiessen 9e327a5890
fix(apps-store): Remove apps from force-enabled state when uninstalled
If an app is force-enabled and then uninstalled the force-enabled state was kept.
This is now removed, so when the app should be re-installed the compatibility should be reevaluated.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-18 14:09:54 +01:00
Ferdinand Thiessen c74ba567ec
Merge pull request #49300 from nextcloud/refactor/files-deprecated-share-types
refactor(files): Replace deprecated `Types` enum for share types
2024-11-18 12:40:30 +01:00
Ferdinand Thiessen 7e55c875b1
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-18 12:27:07 +01:00
Ferdinand Thiessen bb26289ef3
refactor(files): Replace deprecated `Types` enum for share types
Replace with `ShareType` enum.
Also fix some small Typescript issues in `FilesList.vue`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-18 12:25:56 +01:00
Joas Schilling ad40841ae8
Merge pull request #49341 from nextcloud/bugfix/noid/add-missing-blurhash
fix(richtextvalidator): Add missing blurhash
2024-11-18 11:20:32 +01:00
Joas Schilling e8c921461f
fix(richtextvalidator): Add missing blurhash
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-18 10:40:49 +01:00
Nextcloud bot 4d138a11f9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-18 00:20:43 +00:00
Ferdinand Thiessen 5360ddb6e7
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-17 02:02:28 +01:00
Ferdinand Thiessen f6779e6766
fix: Replace deprecated SASS rules
- global color functions are now deprecated - use color namespace
- `@import` is deprecated and will be removed (will be native CSS import
  in future)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-17 02:00:46 +01:00
Nextcloud bot 714fc63c40
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-17 00:20:47 +00:00
dependabot[bot] 177b6ba172
Merge pull request #49324 from nextcloud/dependabot/npm_and_yarn/sass-1.81.0 2024-11-16 23:24:46 +00:00
Ferdinand Thiessen 46134fc23f
Merge pull request #49331 from nextcloud/dependabot/npm_and_yarn/workbox-webpack-plugin-7.3.0
bump workbox-webpack-plugin from 7.1.0 to 7.3.0
2024-11-16 23:53:57 +01:00
dependabot[bot] 0444289376
chore(deps): bump workbox-webpack-plugin from 7.1.0 to 7.3.0
---
updated-dependencies:
- dependency-name: workbox-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Co-authored-by: dependabot[bot] <support@github.com>
Co-authored-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-16 23:44:49 +01:00
Ferdinand Thiessen 30689fc9af
Merge pull request #49301 from nextcloud/refactor/files-required-navigation
refactor(files): Adjust `useNavigation` composable to enforce active view
2024-11-16 22:10:52 +01:00
nextcloud-command ec1c4d8037
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-16 22:00:39 +01:00
Ferdinand Thiessen c06723c44a
refactor(files): Adjust `useNavigation` composable to enforce active view
In some cases it is guaranteed that we have a proper active view,
e.g. when the file list is loaded (so within FileEntry* components).
This does not change anything but the Typescript types,
so the `currentView` is typed as `View` instead of `View | null´.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-16 22:00:30 +01:00
Kate 67a02fa611
Merge pull request #49333 from nextcloud/revert/openapi-extractor 2024-11-16 11:10:33 +01:00
provokateurin 3d822dddb0
Revert "build(deps): bump nextcloud/openapi-extractor"
This reverts commit 03f438d1b7.

Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-16 09:49:02 +01:00
dependabot[bot] 7ffbc81b7f
Merge pull request #49325 from nextcloud/dependabot/npm_and_yarn/vitest/coverage-v8-2.1.5 2024-11-16 05:21:00 +00:00
dependabot[bot] 747e1f0fa1
build(deps-dev): bump @vitest/coverage-v8 from 2.1.1 to 2.1.5
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 2.1.1 to 2.1.5.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.5/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-16 05:09:08 +00:00
dependabot[bot] 1dad88e258
Merge pull request #49322 from nextcloud/dependabot/composer/vendor-bin/openapi-extractor/nextcloud/openapi-extractor-1.2.2 2024-11-16 05:09:04 +00:00
dependabot[bot] 631ccea578
Merge pull request #49326 from nextcloud/dependabot/npm_and_yarn/zip.js/zip.js-2.7.53 2024-11-16 05:05:46 +00:00