]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
17 months agoexplicitly handle /files_ecryption/... paths when setting up mounts files-external-setup-path 38547/head
Robin Appelman [Wed, 31 May 2023 12:29:31 +0000 (14:29 +0200)]
explicitly handle /files_ecryption/... paths when setting up mounts

Signed-off-by: Robin Appelman <robin@icewind.nl>
17 months agoMerge pull request #38516 from nextcloud/chore/deps/drop-swiftmailer
Joas Schilling [Wed, 31 May 2023 10:08:12 +0000 (12:08 +0200)]
Merge pull request #38516 from nextcloud/chore/deps/drop-swiftmailer

chore(deps): Drop swiftmailer/swiftmailer

17 months agoMerge pull request #38513 from nextcloud/bugfix/noid/csp-doc-typos
Joas Schilling [Wed, 31 May 2023 07:47:27 +0000 (09:47 +0200)]
Merge pull request #38513 from nextcloud/bugfix/noid/csp-doc-typos

fix(docs): Fix language and copy-paste class name in docs of CSP

17 months agoMerge pull request #38534 from nextcloud/automated/noid/master-update-ca-cert-bundle
Joas Schilling [Wed, 31 May 2023 07:25:18 +0000 (09:25 +0200)]
Merge pull request #38534 from nextcloud/automated/noid/master-update-ca-cert-bundle

[master] Update ca-cert bundle

17 months agoMerge pull request #38537 from nextcloud/ci/cacert/conventional-commits
Joas Schilling [Wed, 31 May 2023 07:23:28 +0000 (09:23 +0200)]
Merge pull request #38537 from nextcloud/ci/cacert/conventional-commits

ci: Use conventional commits for CA bundle updates

17 months agoci: Use conventional commits for CA bundle updates 38537/head
Christoph Wurst [Wed, 31 May 2023 06:21:14 +0000 (08:21 +0200)]
ci: Use conventional commits for CA bundle updates

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
17 months agoUpdate CA certificate bundle 38534/head
nextcloud-command [Wed, 31 May 2023 02:33:48 +0000 (02:33 +0000)]
Update CA certificate bundle

Signed-off-by: GitHub <noreply@github.com>
17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 31 May 2023 00:17:39 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoMerge pull request #38520 from nextcloud/Jerome-Herbinet-improved-display-of-app...
Simon L [Tue, 30 May 2023 15:44:17 +0000 (17:44 +0200)]
Merge pull request #38520 from nextcloud/Jerome-Herbinet-improved-display-of-app-links

Improved display of app links

17 months agonpm run build 38520/head
Jérôme Herbinet [Tue, 30 May 2023 14:39:02 +0000 (16:39 +0200)]
npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
17 months agoImproved display of app links
Jérôme Herbinet [Tue, 30 May 2023 14:35:45 +0000 (16:35 +0200)]
Improved display of app links

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
17 months agochore(deps): Drop swiftmailer/swiftmailer 38516/head
Christoph Wurst [Tue, 30 May 2023 12:47:24 +0000 (14:47 +0200)]
chore(deps): Drop swiftmailer/swiftmailer

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
17 months agofix(docs): Fix language and copy-paste class name in docs of CSP 38513/head
Joas Schilling [Tue, 30 May 2023 11:39:33 +0000 (13:39 +0200)]
fix(docs): Fix language and copy-paste class name in docs of CSP

Signed-off-by: Joas Schilling <coding@schilljs.com>
17 months agoMerge pull request #38469 from nextcloud/artonge/fix/versions_init
Louis [Tue, 30 May 2023 11:38:51 +0000 (13:38 +0200)]
Merge pull request #38469 from nextcloud/artonge/fix/versions_init

Fix initialisation of versions in the DB

17 months agoMerge pull request #38496 from nextcloud/preview-mp3-catch-errors
Simon L [Tue, 30 May 2023 08:51:33 +0000 (10:51 +0200)]
Merge pull request #38496 from nextcloud/preview-mp3-catch-errors

fix: catch errors in id3parser library

17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 30 May 2023 00:17:33 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agofix: catch errors in id3parser library 38496/head
Daniel Kesselberg [Sat, 27 May 2023 22:30:47 +0000 (00:30 +0200)]
fix: catch errors in id3parser library

We use a forked version of getID3 to read embedded images from mp3 files to use them as previews.

If the library is unable to extract a image or fails on something different we should handle it properly.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 28 May 2023 00:17:29 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoMerge pull request #38492 from nextcloud/dependabot/npm_and_yarn/puppeteer-20.4.0
John Molakvoæ [Sat, 27 May 2023 07:53:18 +0000 (09:53 +0200)]
Merge pull request #38492 from nextcloud/dependabot/npm_and_yarn/puppeteer-20.4.0

17 months agochore(deps-dev): Bump puppeteer from 19.10.1 to 20.4.0 38492/head
dependabot[bot] [Sat, 27 May 2023 03:34:31 +0000 (03:34 +0000)]
chore(deps-dev): Bump puppeteer from 19.10.1 to 20.4.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 19.10.1 to 20.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.10.1...puppeteer-v20.4.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 27 May 2023 00:17:51 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoMerge pull request #38333 from nextcloud/fix/weather-star-contrast
Simon L [Fri, 26 May 2023 13:25:58 +0000 (15:25 +0200)]
Merge pull request #38333 from nextcloud/fix/weather-star-contrast

weather_status: Improve contrast of favorite icon

17 months agofix(weather_status): Improve contrast of favorite icon 38333/head
Ferdinand Thiessen [Wed, 17 May 2023 02:22:15 +0000 (04:22 +0200)]
fix(weather_status): Improve contrast of favorite icon

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
17 months agoMerge pull request #38481 from nextcloud/bugfix/noid/avatar-size-in-sab
Joas Schilling [Fri, 26 May 2023 09:04:14 +0000 (11:04 +0200)]
Merge pull request #38481 from nextcloud/bugfix/noid/avatar-size-in-sab

fix(dav): Fix avatar size in system address book

17 months agoMerge branch 'master' into artonge/fix/versions_init 38469/head
Louis [Fri, 26 May 2023 08:52:16 +0000 (10:52 +0200)]
Merge branch 'master' into artonge/fix/versions_init

17 months agofix(dav): Fix avatar size in system address book 38481/head
Joas Schilling [Fri, 26 May 2023 08:03:58 +0000 (10:03 +0200)]
fix(dav): Fix avatar size in system address book

Signed-off-by: Joas Schilling <coding@schilljs.com>
17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 26 May 2023 00:18:10 +0000 (00:18 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoMerge pull request #38467 from nextcloud/artonge/fix/files_versions_preview
Louis [Thu, 25 May 2023 23:14:56 +0000 (01:14 +0200)]
Merge pull request #38467 from nextcloud/artonge/fix/files_versions_preview

Add fallback when a there is no preview for a version

17 months agoMerge pull request #38429 from tanganellilore/fix_delete_user_syslink
Simon L [Thu, 25 May 2023 23:12:34 +0000 (01:12 +0200)]
Merge pull request #38429 from tanganellilore/fix_delete_user_syslink

Fix deletion of User when system link are used in him user folder

17 months agoMerge pull request #38300 from nextcloud/fix/better-error-message
Simon L [Thu, 25 May 2023 23:10:31 +0000 (01:10 +0200)]
Merge pull request #38300 from nextcloud/fix/better-error-message

fix: better error message on missing user files dir

17 months agoAdd fallback when a there is no preview for a version 38467/head
Louis Chemineau [Thu, 25 May 2023 13:38:12 +0000 (15:38 +0200)]
Add fallback when a there is no preview for a version

Signed-off-by: Louis Chemineau <louis@chmn.me>
17 months agoImprove handling of undefined version label
Louis Chemineau [Thu, 25 May 2023 13:37:22 +0000 (15:37 +0200)]
Improve handling of undefined version label

Signed-off-by: Louis Chemineau <louis@chmn.me>
17 months agoFix initialisation of versions in the DB
Louis Chemineau [Thu, 25 May 2023 15:32:35 +0000 (17:32 +0200)]
Fix initialisation of versions in the DB

Broken after https://github.com/nextcloud/server/pull/36690

Signed-off-by: Louis Chemineau <louis@chmn.me>
17 months agoMerge pull request #38460 from nextcloud/enh/noid/adjust-sidebar-visiblity
Simon L [Thu, 25 May 2023 21:19:55 +0000 (23:19 +0200)]
Merge pull request #38460 from nextcloud/enh/noid/adjust-sidebar-visiblity

adjust active element visibility in the sidebar

17 months agoMerge pull request #38459 from nextcloud/enh/noid/adjust-usermenu-visibility
Simon L [Thu, 25 May 2023 20:40:45 +0000 (22:40 +0200)]
Merge pull request #38459 from nextcloud/enh/noid/adjust-usermenu-visibility

adjust active element visibility in the usermenu

17 months agofix: better error message on missing user files dir 38300/head
John Molakvoæ [Tue, 16 May 2023 08:31:52 +0000 (10:31 +0200)]
fix: better error message on missing user files dir

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agoadjust active element visibility in the sidebar 38460/head
Simon L [Thu, 25 May 2023 10:44:56 +0000 (12:44 +0200)]
adjust active element visibility in the sidebar

Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
17 months agoMerge pull request #38206 from nextcloud/fix/increase-iterations-for-pbkdf2
Simon L [Thu, 25 May 2023 18:18:22 +0000 (20:18 +0200)]
Merge pull request #38206 from nextcloud/fix/increase-iterations-for-pbkdf2

Increase from 100000 to 600000 iterations for hash_pbkdf2

17 months agoadjust active element visibility in the usermenu 38459/head
Simon L [Thu, 25 May 2023 10:37:28 +0000 (12:37 +0200)]
adjust active element visibility in the usermenu

Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
17 months agoMerge pull request #38448 from nextcloud/fix/carddav/no-sab-guest-users
Arthur Schiwon [Thu, 25 May 2023 15:26:46 +0000 (17:26 +0200)]
Merge pull request #38448 from nextcloud/fix/carddav/no-sab-guest-users

fix(carddav): Don't show system address book cards to guests

17 months agoAdapt encryption test to change in generateHeader 38206/head
Côme Chilliet [Thu, 25 May 2023 14:31:27 +0000 (16:31 +0200)]
Adapt encryption test to change in generateHeader

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
17 months agoMerge pull request #38454 from nextcloud/fix/capitalization-other-tel
Christoph Wurst [Thu, 25 May 2023 13:56:08 +0000 (15:56 +0200)]
Merge pull request #38454 from nextcloud/fix/capitalization-other-tel

fix(carddav): Make system contact phone number RFC compliant

17 months agoMerge pull request #38458 from nextcloud/revert/37870-Fix_table_view
Julia Kirschenheuter [Thu, 25 May 2023 13:26:55 +0000 (15:26 +0200)]
Merge pull request #38458 from nextcloud/revert/37870-Fix_table_view

Revert "Fix table view"

17 months agofix(carddav): Don't show system address book cards to guests 38448/head
Christoph Wurst [Wed, 24 May 2023 20:27:51 +0000 (22:27 +0200)]
fix(carddav): Don't show system address book cards to guests

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
17 months agoRevert "Fix table view" 38458/head
julia.kirschenheuter [Thu, 25 May 2023 09:49:24 +0000 (11:49 +0200)]
Revert "Fix table view"

This reverts commit cb852ef6

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
17 months agofix(carddav): Make system contact phone number RFC compliant 38454/head
greta [Thu, 25 May 2023 08:01:49 +0000 (10:01 +0200)]
fix(carddav): Make system contact phone number RFC compliant

Signed-off-by: greta <gretadoci@gmail.com>
17 months agoMerge pull request #38423 from nextcloud/fix/carddav/check-system-address-book-enumer...
Christoph Wurst [Thu, 25 May 2023 08:15:34 +0000 (10:15 +0200)]
Merge pull request #38423 from nextcloud/fix/carddav/check-system-address-book-enumeration

fix(carddav): Check enumeration settings for all SAB methods

17 months agofix(carddav): Check enumeration settings for all SAB methods 38423/head
Christoph Wurst [Tue, 23 May 2023 15:51:44 +0000 (17:51 +0200)]
fix(carddav): Check enumeration settings for all SAB methods

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 25 May 2023 00:19:49 +0000 (00:19 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoMerge pull request #38441 from nextcloud/feat/make-open-folder-action
Andy Scherzinger [Wed, 24 May 2023 17:11:40 +0000 (19:11 +0200)]
Merge pull request #38441 from nextcloud/feat/make-open-folder-action

fix(files): make open folder a default action

17 months agoMerge pull request #38438 from nextcloud/feature/openapi/specs
Kate [Wed, 24 May 2023 15:45:12 +0000 (17:45 +0200)]
Merge pull request #38438 from nextcloud/feature/openapi/specs

Add OpenAPI specs

17 months agofix(files): make open folder a default action 38441/head
John Molakvoæ [Wed, 24 May 2023 15:20:35 +0000 (17:20 +0200)]
fix(files): make open folder a default action

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agoAdd OpenAPI specs 38438/head
jld3103 [Wed, 24 May 2023 14:34:27 +0000 (16:34 +0200)]
Add OpenAPI specs

Signed-off-by: jld3103 <jld3103yt@gmail.com>
17 months agoMerge pull request #38374 from nextcloud/pulsejet/patch-ubr-nonce
Varun Patil [Wed, 24 May 2023 11:19:46 +0000 (04:19 -0700)]
Merge pull request #38374 from nextcloud/pulsejet/patch-ubr-nonce

webpack: add nonce to unsupported-browser-redirect chunk

17 months agoMerge pull request #38415 from nextcloud/object-store-init-root
Arthur Schiwon [Wed, 24 May 2023 11:06:14 +0000 (13:06 +0200)]
Merge pull request #38415 from nextcloud/object-store-init-root

don't always check if we need to setup the object store root

17 months agowebpack: add nonce to unsupported-browser-redirect chunk 38374/head
Varun Patil [Sat, 20 May 2023 06:23:30 +0000 (23:23 -0700)]
webpack: add nonce to unsupported-browser-redirect chunk

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
17 months agoMerge pull request #37458 from Fenn-CS/fix/37424/better-501-error-logging
F. E Noel Nfebe [Wed, 24 May 2023 07:46:03 +0000 (08:46 +0100)]
Merge pull request #37458 from Fenn-CS/fix/37424/better-501-error-logging

Avoid db connections when logging db connection errors

17 months agoMerge pull request #38329 from nextcloud/pulsejet/patch-webpack
John Molakvoæ [Wed, 24 May 2023 07:02:59 +0000 (09:02 +0200)]
Merge pull request #38329 from nextcloud/pulsejet/patch-webpack

17 months agoinvert elseif on rmdir for local storage 38429/head
Lorenzo Tanganelli [Wed, 24 May 2023 06:22:50 +0000 (08:22 +0200)]
invert elseif on rmdir for local storage
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
18 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 24 May 2023 00:17:47 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
18 months agoMerge pull request #36316 from nextcloud/improve-fatal-logging
Simon L [Tue, 23 May 2023 21:02:18 +0000 (23:02 +0200)]
Merge pull request #36316 from nextcloud/improve-fatal-logging

Log to `error_log` in fatal case

18 months agoIncrease from 100000 to 600000 iterations for hash_pbkdf2
Côme Chilliet [Thu, 11 May 2023 15:20:44 +0000 (17:20 +0200)]
Increase from 100000 to 600000 iterations for hash_pbkdf2

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
18 months agochore: recompile 38329/head
Daniel Kesselberg [Tue, 23 May 2023 20:36:14 +0000 (22:36 +0200)]
chore: recompile

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
18 months agoFix lint errors
Varun Patil [Wed, 17 May 2023 16:56:50 +0000 (09:56 -0700)]
Fix lint errors

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
18 months agoOptimize webpack chunks
Varun Patil [Tue, 16 May 2023 23:22:15 +0000 (16:22 -0700)]
Optimize webpack chunks

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
18 months agoUse consistent imports for Vue components
Varun Patil [Tue, 16 May 2023 22:50:25 +0000 (15:50 -0700)]
Use consistent imports for Vue components

This makes tree shaking possible

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
18 months agoMerge pull request #37665 from fsamapoor/patch-2
Arthur Schiwon [Tue, 23 May 2023 18:56:18 +0000 (20:56 +0200)]
Merge pull request #37665 from fsamapoor/patch-2

Refactors Command/Encryption/Enable.php to improve code readability.

18 months agodon't always check if we need to setup the object store root 38415/head
Robin Appelman [Tue, 23 May 2023 12:28:37 +0000 (14:28 +0200)]
don't always check if we need to setup the object store root

Signed-off-by: Robin Appelman <robin@icewind.nl>
18 months agoLog to error_log in fatal case 36316/head
Robin Windey [Mon, 23 Jan 2023 17:12:15 +0000 (17:12 +0000)]
Log to error_log in fatal case

Signed-off-by: Robin Windey <ro.windey@gmail.com>
18 months agoMerge pull request #38413 from nextcloud/fix/38412/save-avatar-SAB
Johannes [Tue, 23 May 2023 13:55:26 +0000 (15:55 +0200)]
Merge pull request #38413 from nextcloud/fix/38412/save-avatar-SAB

fix(SAB): Save avatar to SAB

18 months agoMerge pull request #38075 from nextcloud/fix/36923-The_Default_quota_input_field_in_t...
Julia Kirschenheuter [Tue, 23 May 2023 13:33:48 +0000 (15:33 +0200)]
Merge pull request #38075 from nextcloud/fix/36923-The_Default_quota_input_field_in_the_Settings_section_is_not_programmatically_linked_to_its_visual_label

Add label to "default quota" multiselect

18 months agoMerge pull request #38308 from nextcloud/fix/check-for-php-auth-server-variables
Simon L [Tue, 23 May 2023 12:33:49 +0000 (14:33 +0200)]
Merge pull request #38308 from nextcloud/fix/check-for-php-auth-server-variables

fix(carddav): Check if SERVER variables are set before accessing them

18 months agoAdd label to "default quota" multiselect 38075/head
julia.kirschenheuter [Tue, 23 May 2023 10:02:13 +0000 (12:02 +0200)]
Add label to "default quota" multiselect

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
18 months agofix(SAB): Save avatar to SAB 38413/head
Johannes Merkel [Tue, 23 May 2023 09:15:34 +0000 (11:15 +0200)]
fix(SAB): Save avatar to SAB

Signed-off-by: Johannes Merkel <mail@johannesgge.de>
18 months agoMerge pull request #38393 from nextcloud/enh/noid/improve-issue-template
Simon L [Tue, 23 May 2023 09:01:15 +0000 (11:01 +0200)]
Merge pull request #38393 from nextcloud/enh/noid/improve-issue-template

bug-report-template - move `Official All-in-One appliance` to the bottom

18 months agofix(carddav): Check if SERVER variables are set before accessing them 38308/head
Anna Larch [Tue, 16 May 2023 11:09:26 +0000 (13:09 +0200)]
fix(carddav): Check if SERVER variables are set before accessing them

Signed-off-by: Anna Larch <anna@nextcloud.com>
18 months agoMerge pull request #38400 from nextcloud/cleanup/drop-oc-appsettings
John Molakvoæ [Tue, 23 May 2023 08:38:16 +0000 (10:38 +0200)]
Merge pull request #38400 from nextcloud/cleanup/drop-oc-appsettings

18 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 23 May 2023 00:17:26 +0000 (00:17 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
18 months agoMerge pull request #38365 from JanisPlayer/patch-3
Louis [Mon, 22 May 2023 21:39:26 +0000 (23:39 +0200)]
Merge pull request #38365 from JanisPlayer/patch-3

add imaginary_key

18 months agoAllow to specify an imaginary key 38365/head
JanisPlayer [Mon, 22 May 2023 16:10:49 +0000 (18:10 +0200)]
Allow to specify an imaginary key

Signed-off-by: JanisPlayer <54918417+JanisPlayer@users.noreply.github.com>
18 months agoMerge pull request #38259 from nextcloud/webui-share-reload
Robin Appelman [Mon, 22 May 2023 14:53:16 +0000 (16:53 +0200)]
Merge pull request #38259 from nextcloud/webui-share-reload

reload filelist when adding or removing shares

18 months agoMerge pull request #38291 from nextcloud/fix-loading-themed-logo
Robin Appelman [Mon, 22 May 2023 14:39:38 +0000 (16:39 +0200)]
Merge pull request #38291 from nextcloud/fix-loading-themed-logo

fix loading custom logo image

18 months agoAvoid db connection when logging db connection errors 37458/head
fenn-cs [Fri, 14 Apr 2023 15:20:56 +0000 (16:20 +0100)]
Avoid db connection when logging db connection errors

`\OC\Log\LogDetails::logDetails` depends on `\OC_App::getAppVersions()`
which makes a database connection causing the logger to break when the database
service is unavaiable.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
18 months agoReplace ILogger method calls index.php
fenn-cs [Tue, 28 Mar 2023 20:20:08 +0000 (21:20 +0100)]
Replace ILogger method calls index.php

This commit replaces more ILogger method calls with
 `Psr\Log\LoggerInterface` as we gradually move away from the
 custom ILogger.

This commit aslo, sets the customPsrLogger to not depend on the
 database to `logfile` config value.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
18 months agoreload filelist when adding or removing shares 38259/head
Robin Appelman [Mon, 15 May 2023 11:03:13 +0000 (13:03 +0200)]
reload filelist when adding or removing shares

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
18 months agofix loading custom logo image 38291/head
Robin Appelman [Mon, 15 May 2023 15:38:43 +0000 (17:38 +0200)]
fix loading custom logo image

Signed-off-by: Robin Appelman <robin@icewind.nl>
18 months agoMerge pull request #38162 from nextcloud/automated/noid/master-update-psalm-baseline
Côme Chilliet [Mon, 22 May 2023 12:30:10 +0000 (14:30 +0200)]
Merge pull request #38162 from nextcloud/automated/noid/master-update-psalm-baseline

[master] Update psalm-baseline.xml

18 months agoMerge pull request #38164 from nextcloud/show-pending-popover-menu-when-password...
Joas Schilling [Mon, 22 May 2023 12:17:27 +0000 (14:17 +0200)]
Merge pull request #38164 from nextcloud/show-pending-popover-menu-when-password-is-enabled-by-default

Show pending popover menu when password is enabled by default

18 months agoMerge pull request #38227 from nextcloud/allow-enforcing-share-passwords-only-when...
Joas Schilling [Mon, 22 May 2023 12:06:18 +0000 (14:06 +0200)]
Merge pull request #38227 from nextcloud/allow-enforcing-share-passwords-only-when-already-asking-for-a-password

Allow enforcing share passwords only when already asking for a password

18 months agochore(assets): Recompile JS 38164/head
Joas Schilling [Mon, 22 May 2023 10:53:21 +0000 (12:53 +0200)]
chore(assets): Recompile JS

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agoShow pending popover menu when password is enabled by default
Daniel Calviño Sánchez [Tue, 9 May 2023 23:54:32 +0000 (01:54 +0200)]
Show pending popover menu when password is enabled by default

When "Enforce password protection" is enabled in the sharing settings a
popover menu is shown to set a password before the share is created. On
the other hand, when "Always ask for a password" was enabled in the
sharing settings and a new link share was created the share was
immediately created with a default password; the user was not able to
specify a password (nor create the share without password).

The component template already provided the needed elements to also ask
for the password without enforcing it, but the popover menu was not
shown due to "enableLinkPasswordByDefault" being missing in "if"
conditions.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
18 months agoRename "pendingPassword" to "pendingEnforcedPassword"
Daniel Calviño Sánchez [Tue, 9 May 2023 23:51:50 +0000 (01:51 +0200)]
Rename "pendingPassword" to "pendingEnforcedPassword"

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
18 months agochore(assets): Recompile JS 38227/head
Joas Schilling [Mon, 22 May 2023 10:46:59 +0000 (12:46 +0200)]
chore(assets): Recompile JS

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agoDisable "Enforce password protection" if not asking for a password
Daniel Calviño Sánchez [Fri, 12 May 2023 12:54:59 +0000 (14:54 +0200)]
Disable "Enforce password protection" if not asking for a password

"Enforce password protection" is a subcase of "Always ask for a
password", so it should be disabled if its parent option is unchecked.
Although other dependant options in the sharing settings are fully
hidden instead of just disabled this option is disabled but shown to
avoid confusion when updating from a previous Nextcloud version where
"Always ask for a password" was unchecked and "Enforce password
protection" was checked.

Besides that, due to their dependency the enforced password protection
is now automatically unchecked too if its parent option is unchecked.

Finally, the groups excluded from password requirements are also
disabled when "Always ask for a password" is unchecked, as they might be
still shown if "Enforce password protection" was checked due to an
update from a previous version.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
18 months agoSplit long line
Daniel Calviño Sánchez [Fri, 12 May 2023 15:51:13 +0000 (17:51 +0200)]
Split long line

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
18 months agoIndent "Enforce password protection"
Daniel Calviño Sánchez [Fri, 12 May 2023 04:13:35 +0000 (06:13 +0200)]
Indent "Enforce password protection"

"Enforce password protection" is a subcase of "Always ask for a
password", so it should be indented to visually show the dependency.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
18 months agoReplace "div" with "span" inside "p"
Daniel Calviño Sánchez [Fri, 12 May 2023 03:53:56 +0000 (05:53 +0200)]
Replace "div" with "span" inside "p"

The permitted contents of a paragraph are only phrasing contents, so
"div" elements can not be used, although "span" can. Besides being
invalid HTML it seems that the browser ends the paragraph at the div, so
the label/input that appears after it is treated as being in a new
paragraph, which is not indented by default, and thus is not aligned
with the rest of its sibling inputs.

Note that an additional div is nevertheless added once the page is
loaded to be able to select the groups, but this one does not break its
parent paragraph (maybe due to being added after the page load, but I do
not really know). Nevertheless, it needs to be explicitly indented, and
the second indentend wrapper needs to be removed, as it affects only the
label but not the div/input, and therefore the label had an extra
indentation over the input.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
18 months agoMove "br" immediately after "label" for consistency with other elements
Daniel Calviño Sánchez [Fri, 12 May 2023 03:50:56 +0000 (05:50 +0200)]
Move "br" immediately after "label" for consistency with other elements

The rest of "<br/>" elements in the file appear immediately after their
previous "</label>" rather than in a new line.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
18 months agoAdd missing end tag for "label"
Daniel Calviño Sánchez [Fri, 12 May 2023 03:49:41 +0000 (05:49 +0200)]
Add missing end tag for "label"

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
18 months agobug-report-template - move archive to the top 38393/head
Simon L [Mon, 22 May 2023 09:16:38 +0000 (11:16 +0200)]
bug-report-template - move archive to the top

Signed-off-by: Simon L <szaimen@e.mail.de>