Compare commits

..

6850 Commits

Author SHA1 Message Date
Maxence Lange a969cfad8a syntactic migration
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-08-18 10:17:48 -01:00
Maxence Lange 40584f1dee admin have no special rights on users' entries
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-08-18 10:13:11 -01:00
Robin Appelman c7035eec05 Merge pull request #39903 from nextcloud/no-dav-acl-files
don't bother checking dav acl's in files
2023-08-18 09:52:42 +02:00
Nextcloud bot f5f3d68eb8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-18 00:35:47 +00:00
max-nextcloud 4b7aa65192 Merge pull request #39770 from nextcloud/fix/always-use-displayname-from-correct-backend
fix: always use display name from correct backend
2023-08-17 23:10:38 +02:00
Joas Schilling a98748e519 Merge pull request #39910 from nextcloud/bugfix/noid/fix-memcache-class-handling
fix(memcache): Fix comparison of Memcache configs to classes
2023-08-17 22:53:55 +02:00
John Molakvoæ a8fc62f0b1 Merge pull request #39808 from nextcloud/feat/f2v/files 2023-08-17 20:00:15 +02:00
John Molakvoæ 74c2f61cbd chore: remove outdated acceptance tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 19:55:36 +02:00
John Molakvoæ 266fb31180 fix(tests): preview phpunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:58:21 +02:00
John Molakvoæ 1b67542e0b fix(files): trashbin redirect and default fileid Sidebar open
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:58:20 +02:00
John Molakvoæ 6da9813ced chore: update openapi
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
John Molakvoæ fdf07fc759 fix(cypress): adjust selectors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
John Molakvoæ 9a5b26675c fix(files): window.caches check
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
John Molakvoæ 2cdb074771 chore: compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
John Molakvoæ 5098a2d7db fix(tests): actions adjust and jest fetch mock
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ f6a6e0b991 fix(files): sidebar favorite event sync
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 96d5971083 fix(files): navigation quota alignments
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ af44cc79fa fix(files): unnecessary navigation change detection
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ c08d5e6240 fix(files): dir contents variables
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 52f2dddcc6 fix(files): router and fileid sidebar open
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 6214fe7724 fix(files): active and open sidebar on mount
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 267cea8153 fix: FileEntry boundariesElement and right click menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 28725c46a8 feat: redirect to the mime icon if no preview available
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 9df5212a40 perf(files): reuse vnode with unique key
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 0f68d08b14 feat: virtual scrolling update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ 3344f0f121 fix(files): service worker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ 410f58e43e chore(files): add Headers, remove legacy methods and cleanup
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ 998b3a2581 feat(f2v): migrate Files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
Ferdinand Thiessen a820e3d036 Merge pull request #39599 from nextcloud/fix/l10n-password-header
fix(l10n): Password column header
2023-08-17 15:49:08 +02:00
Ferdinand Thiessen 59ba768821 Merge pull request #39927 from nextcloud/Jerome-Herbinet-better-design-for-update-channel-selector
A better design for update channel selector
2023-08-17 14:30:57 +02:00
Julius Härtl 45595a8417 Merge pull request #39481 from nextcloud/fix/transfer-ownersip 2023-08-17 13:23:04 +02:00
Christopher Ng ffc497849d fix(l10n): Password column header
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-17 13:05:10 +02:00
Ferdinand Thiessen 1406eecf6c Merge pull request #39906 from nextcloud/fix/prevent-warnings-if-attr-unset
Prevent PHP warning when CacheEntry extension keys are not set
2023-08-17 11:31:53 +02:00
Jérôme Herbinet bf35ef1ecb npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-17 11:18:02 +02:00
Jérôme Herbinet 86e1e82856 Remove extra tab
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-17 11:14:08 +02:00
Jérôme Herbinet 485f570e13 npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-17 10:53:11 +02:00
Jérôme Herbinet 4de250eede A better design for update channel selector
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-17 10:42:56 +02:00
Anna Larch 556f29bef5 fix: don't emit Hooks when hookpaths are empty
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-17 09:32:14 +02:00
Nextcloud bot daf3b29572 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-17 00:33:49 +00:00
dependabot[bot] 2693bdf4c1 Merge pull request #39095 from nextcloud/dependabot/github_actions/skjnldsv/read-package-engines-version-actions-2.2 2023-08-16 23:42:06 +00:00
dependabot[bot] 00a3ab9599 Merge pull request #39833 from nextcloud/dependabot/npm_and_yarn/puppeteer-21.0.3 2023-08-16 23:29:51 +00:00
Pytal db3e60c448 Merge pull request #39909 from nextcloud/fix/a11y-users-list-select-focus-on-tag-delete 2023-08-16 15:22:14 -07:00
Ferdinand Thiessen 3ff9e72964 Merge pull request #39916 from nextcloud/enh/noid/fix-public-file-upload-button
try to fix regression with public file upload button
2023-08-16 23:38:25 +02:00
Kate f85e751688 Merge pull request #39125 from nextcloud/refactor/csrf-ocs-check
Rewrite OCS CSRF check to be readable
2023-08-16 19:29:57 +02:00
Simon L 372f9c9bad try to fix regression with public file upload button
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-16 16:54:38 +00:00
Julia Kirschenheuter 3c43ff67ea Merge pull request #39332 from nextcloud/fix/36981-fix-focus-style-on-status-radio-buttons
Set double outline on checked state for radio buttons
2023-08-16 17:44:26 +02:00
Robin Appelman 6f6e24431a Merge pull request #39860 from nextcloud/metadata-dont-preload-subfolders
don't preload metadata for the sub-childen
2023-08-16 17:14:07 +02:00
Simon L 12805eeaf3 Merge pull request #39884 from nextcloud/enh/37207/adjust-add-button
adjust add button
2023-08-16 17:11:17 +02:00
Joas Schilling 93f0399a92 fix(memcache): Fix comparison of Memcache configs to classes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-16 16:05:50 +02:00
jld3103 12f8543815 Rewrite OCS CSRF check to be readable
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-16 15:52:36 +02:00
Grigorii K. Shartsev d8d9567bdb chore(assets): build assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +02:00
Grigorii K. Shartsev a428814c93 fix(settings): fix "Set user manager" label in users settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +02:00
Grigorii K. Shartsev 4b39a27caf fix(settings): fix set manager loading indicator in users settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +02:00
Grigorii K. Shartsev 233b2aaf74 fix(settings): do not disable select on loading in users settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +02:00
Ferdinand Thiessen 9c04c07622 fix: Prevent PHP warnings when optional CacheEntry attributes are unset
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-16 14:12:51 +02:00
Ferdinand Thiessen 5b37d6d9ff tests: Add test for CacheEntry getters
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-16 14:00:21 +02:00
julia.kirschenheuter 9545826fc4 Set double outline on checked state for radio buttons
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-16 13:22:13 +02:00
Simon L 7926b63d05 address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-16 11:20:06 +00:00
Ferdinand Thiessen f3fa006484 Merge pull request #39686 from nextcloud/fix/modern-mimetype
fix(core): Modernize JS for mimetype handling
2023-08-16 13:16:08 +02:00
Robin Appelman 1a9dcc5725 don't bother checking dav acl's in files
any permissions for files is handled in the filesystem layer anyway

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-16 12:13:04 +02:00
Thomas Citharel 6d0dabedd8 Merge pull request #39525 from nextcloud/fix/set-owner-principal-for-SAB
fix(CardDAV): set owner-principal, displayname properties for SAB
2023-08-16 10:17:19 +02:00
Ferdinand Thiessen 717276d1ab fix(core): Modernize the mimetype handling
No need for jQuery or lodash as standard ECMA is supported by all of our supported browsers

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-16 10:08:45 +02:00
Anna Larch 6bd78917d3 fix(CardDAV): set owner-principal, displayname properties for SAB
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-16 09:11:01 +02:00
Nextcloud bot 091c1edd21 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-16 00:25:37 +00:00
Pytal 3c13efdaf2 Merge pull request #39876 from nextcloud/fix/files-reminders 2023-08-15 08:40:46 -07:00
Andy Scherzinger 892f770330 Merge pull request #39885 from nextcloud/chore/noid/bumpHubNext
Bump Hub 5 -> Hub 6
2023-08-15 17:01:14 +02:00
Andy Scherzinger 84189b060c BUmp Hub 5 -> Hub 6
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-08-15 17:00:05 +02:00
Simon L cec498605f adjust add button
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-15 14:38:54 +00:00
Daniel 89f66a5a4b Merge pull request #39866 from nextcloud/enh/fix-php-8.3-support-in-tests 2023-08-15 15:08:28 +02:00
Max 99a4a9cd09 fix: always use display name from correct backend
Overwrite the display name after the account is initialized
when using an instacne of IGetDisplayNameBackend.

Before when using a variation of user_oidc and registering
a Backend.php implementing IGetDisplayNameBackend
the personal setting page shows 'uid'.

The UserManager/AccountManager seems not to use consistently
the correct backend.

The correct backend is used in this sequence:

server/lib/private/TemplateLayout.php

          $userDisplayName = \OC_User::getDisplayName();
          $this->assign(user_displayname, $userDisplayName);

In the settings page, it definitely not calls the registered backend,
but seems to fall back to default Backend and shows (usually) uid
or a value from the standard account property table.

Signed-off-by: Max <max@nextcloud.com>
2023-08-15 14:55:03 +02:00
Christopher Ng be6c4c4058 fix(files_reminders): Delete reminders on node deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-14 18:09:24 -07:00
Christopher Ng 6d2292fe1d fix(files_reminders): Always respect json output option
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-14 18:07:03 -07:00
Christopher Ng 0d3297db28 fix(files_reminders): Allow non-admin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-14 18:05:14 -07:00
Nextcloud bot 240e8ab099 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-15 00:32:24 +00:00
Julius Härtl 2b7d03778f Merge pull request #39786 from nextcloud/bugfix/version-expire-cleanup 2023-08-14 22:49:43 +02:00
Robin Appelman aefc3f8759 Merge pull request #38714 from nextcloud/cache-imcomplete-id-first
select the fileid first when looking for incomplete files
2023-08-14 20:49:45 +02:00
Robin Appelman 054b5130ed Merge pull request #39868 from nextcloud/files-ext-builder-reuse
Remove query builder reuse in files_external
2023-08-14 19:42:36 +02:00
Julius Härtl bbb7172220 fix: Also cleanup version metadata if expiring
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-14 19:31:41 +02:00
Côme Chilliet f57c12b14e Fix various deprecation warnings in tests on PHP 8.3
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-14 18:13:12 +02:00
Robin Appelman 658aed27ea select the fileid first when looking for incomplete files
this seems to improve mariadbs index selection

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 18:08:01 +02:00
Robin Appelman fb647e29b1 use fresh builders when deleting storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 18:03:20 +02:00
Côme Chilliet 8857599656 DateRangeError in PHP>=8.3 is not a ValueError anymore
Fixing 32bit CI on PHP>=8.3

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-14 16:28:28 +02:00
Côme Chilliet ee756579a7 Fix setting static property in tests on PHP 8.3
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-14 16:27:56 +02:00
Robin Appelman 76acc3ada7 only triger metadata preload logic when at least one metadata is requested
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 13:01:14 +02:00
Robin Appelman fce1a164a0 don't preload metadata for the sub-childen
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 12:58:46 +02:00
Daniel 2ea6c5364d Merge pull request #39644 from nextcloud/fix/noid/copy-delete-fallback-for-files
fix: copy-and-delete fallback should use unlink
2023-08-14 12:29:40 +02:00
Daniel 433cb70738 Merge pull request #39850 from nextcloud/nulCoalSimpl
Code simplification using null coalescing
2023-08-14 12:02:37 +02:00
Nextcloud bot 73977a0cb1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-14 09:05:49 +00:00
Robin Appelman 30e9f520f3 Merge pull request #39568 from nextcloud/caldav-share-preload
Calendar optimizations
2023-08-14 10:27:35 +02:00
Joas Schilling 2472d847db Merge pull request #39820 from nextcloud/l10n-files-reminders
Add l10n for files_reminders
2023-08-14 10:15:43 +02:00
Nextcloud bot dfbc0d8572 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-14 00:25:59 +00:00
F. E Noel Nfebe b7d0c6031f Merge pull request #39218 from nextcloud/32127-migrate-parts-of-files-from-ilogger
Migrate parts of files app away from depecrated Ilogger
2023-08-13 16:47:12 +01:00
Git'Fellow 6083fe3c9b Code simplification using null coalescing
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-13 16:26:24 +02:00
Daniel 51a73d8e80 Merge pull request #39846 from nextcloud/pgSQLCheckRemove
Remove check for very old PGsql version
2023-08-13 14:49:59 +02:00
Simon L 6fcd00a2b2 Merge pull request #39848 from nextcloud/39804-wrap-org-name-login-form
Wrap long productName on login form
2023-08-13 13:43:31 +02:00
fenn-cs 77aa4cf7f4 Wrap long productName on login form
Resolves : https://github.com/nextcloud/server/issues/39804

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-13 11:10:26 +00:00
fenn-cs dc8d25c274 Migrate parts of files app away from depecrated Ilogger
- Migrate some backgrounds jobs, `TransferOwnership` & `DeleteOrphanedItems`
- Migrate `DirectEditingController`

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-08-13 11:37:34 +01:00
Nextcloud bot 4a2fbf7280 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-13 00:24:58 +00:00
Git'Fellow 7306960f2c Fix lint
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-13 00:21:54 +02:00
Git'Fellow 9237fba27b Remove check for very old PGsql
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-13 00:15:18 +02:00
dependabot[bot] 50d1f530cb Merge pull request #39836 from nextcloud/dependabot/npm_and_yarn/babel/node-7.22.10 2023-08-12 04:44:11 +00:00
dependabot[bot] cadf9a8d7c Merge pull request #39834 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-cypress-2.14.0 2023-08-12 04:43:02 +00:00
dependabot[bot] e96fce5244 chore(deps-dev): Bump @babel/node from 7.22.6 to 7.22.10
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.22.6 to 7.22.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.10/packages/babel-node)

---
updated-dependencies:
- dependency-name: "@babel/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-12 01:25:48 +00:00
dependabot[bot] b00aaea6b2 chore(deps-dev): Bump eslint-plugin-cypress from 2.13.3 to 2.14.0
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.13.3 to 2.14.0.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.13.3...v2.14.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-12 01:25:10 +00:00
dependabot[bot] c9efaf7e65 chore(deps-dev): Bump puppeteer from 20.9.0 to 21.0.3
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 20.9.0 to 21.0.3.
- [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-v20.9.0...puppeteer-v21.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-12 01:24:40 +00:00
Nextcloud bot 5dfef033b5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-12 00:27:39 +00:00
Joas Schilling 6cdad2d4ce Merge pull request #39806 from nextcloud/fix/update-check-no-internet
fix(updatenotification): Skip update check
2023-08-11 21:19:17 +02:00
Christopher Ng 2909f2c6df Add l10n for files_reminders
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-11 11:42:55 -07:00
Christopher Ng de4bc44f95 test(updatenotification): No internet
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-11 11:23:30 -07:00
Christopher Ng b63dbae68a fix(updatenotification): Skip update check
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-11 10:40:49 -07:00
Joas Schilling 03f5bb68a3 Merge pull request #39700 from nextcloud/debt/noid/invitation-response-close-cursor
fix: close cursor after reading the invitation
2023-08-11 18:00:11 +02:00
Ferdinand Thiessen 74dac12be6 Merge pull request #39575 from nextcloud/Jerome-Herbinet-better-untested-app-button-wording-1
"Allow untested app" wording
2023-08-11 15:59:18 +02:00
Joas Schilling 9fb08f506f Merge pull request #38082 from nextcloud/allow-wasm-unsafe-eval-in-csp
Allow "wasm-unsafe-eval" in CSP
2023-08-11 14:04:49 +02:00
Jérôme Herbinet c65407398a "Allow untested app" wording
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-11 13:58:15 +02:00
Julien Veyssier 833489d754 Merge pull request #39716 from nextcloud/feature/openapi/ci
Add OpenAPI CI
2023-08-11 13:48:33 +02:00
jld3103 8efdb75f4e Add OpenAPI CODEOWNERS
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 13:31:34 +02:00
jld3103 2b719c7a7b Add OpenAPI CI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 13:31:34 +02:00
jld3103 11fd1f0ac1 Add OpenAPI checker
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 13:31:34 +02:00
jld3103 17c63ff735 Install openapi-extractor
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 13:31:34 +02:00
Julien Veyssier 756cb045a6 Merge pull request #39809 from nextcloud/fix/openapi/core
Fix text processing OpenAPI
2023-08-11 13:30:23 +02:00
jld3103 902e0396e0 Fix text processing OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 11:37:56 +02:00
Nextcloud bot f0db3d0de1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-11 00:30:07 +00:00
Andy Scherzinger f2353a66ba Merge pull request #39798 from nextcloud/enh/reminder-options
enh(files_reminders): Adjust reminder options
2023-08-10 23:21:41 +02:00
Daniel Kesselberg 378a0f9837 fix: close cursor after reading the invitation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-10 21:45:57 +02:00
Christopher Ng 23a581dbb3 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-10 11:27:46 -07:00
Christopher Ng acd338beba enh(files_reminders): Adjust reminder options
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-10 11:16:08 -07:00
Andy Scherzinger a38a86e5c4 Merge pull request #39655 from nextcloud/appecosystem-auth
AppEcosystem Authentification
2023-08-10 19:11:43 +02:00
Daniel 51833a50b8 Merge pull request #39723 from nextcloud/removed-apc-extension-version-check
chore: remove version check for apc extension
2023-08-10 18:17:31 +02:00
Côme Chilliet 7d01b964b5 Merge pull request #39446 from nextcloud/enh/user_ldap-refactor-group-membership-cache
Refactor user_ldap group membership cache and add check-group command
2023-08-10 17:22:54 +02:00
Andrey Borysenko f7b2dc8ccc Merge branch 'master' into appecosystem-auth 2023-08-10 17:21:35 +03:00
Andy Scherzinger 5408dbfd62 Merge pull request #39449 from nextcloud/cleanup-2fa-manager
docs: remove superfluous phpdocs
2023-08-10 15:23:19 +02:00
Daniel Kesselberg 7cab58237d chore: remove version check for apc extension
APC is gone since PHP 7.0.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-10 15:02:19 +02:00
Daniel Kesselberg 32303b6ed5 docs: remove superfluous phpdocs
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-10 15:01:56 +02:00
Simon L b53d54ce25 Merge pull request #39780 from nextcloud/enh/noid/imaginary
log imaginary errors as info to not spam the server logs
2023-08-10 14:31:56 +02:00
Julius Härtl 84366949d4 Merge pull request #39789 from nextcloud/bugfix/noid/version-subdirectory 2023-08-10 13:44:01 +02:00
nextcloud-command 7c89bdb3ed chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-10 10:51:09 +00:00
Julius Härtl 2c8753a939 fix: Pass proper viewer filename
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-10 12:43:34 +02:00
Joas Schilling 9533dcfe41 Merge pull request #38546 from nextcloud/techdebt/noid/upgrade-symfony/event-dispatcher
fix(deps)!: Upgrade symfony/event-dispatcher to supported version 5.4.26
2023-08-10 11:48:41 +02:00
Côme Chilliet a0808111b4 Add unique index for user_ldap group memberships
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:37 +02:00
Côme Chilliet b8a0954f55 Fix check-group --update for deleted groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:37 +02:00
Côme Chilliet 5425f7d3bd Use BIGINT for new table id field
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:36 +02:00
Côme Chilliet 7732de75ee Removed GroupCreatedEvent/GroupDeletedEvent from UpdateGroupsService
This should be handled when mapping groups, not when registering their
 members. An empty group may still exist.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:36 +02:00
Côme Chilliet ad1e487f67 Dispatch UserRemovedEvents for removed groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:35 +02:00
Côme Chilliet c33c40f677 [user_ldap] Small perf improvements suggestion from review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:35 +02:00
Côme Chilliet 1026b2131c Fix check-group command for new groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet 42448c0d78 Fix getKnownGroups return value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet 7a14aa748e Add output to check-group --update command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet ce5a4e5b66 Always empty cache before updating a group
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet 1b102ca9b3 Fix errors in UpdateGroupsService.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet ec13f22ae3 Add missing primary key for ldap_group_membership
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet f9ed48eab9 Add check-group command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet 2c19aac9e1 Move UpdateGroups methods to a service
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet 34fa4138fb Add group events to UpdateGroups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:32 +02:00
Côme Chilliet d9b368062e Update autoloader mapping for user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:32 +02:00
Côme Chilliet d8142b6a5a Refactor user_ldap group membership to use flat DB
Move away from serialized arrays. Also use a QBMapper class for the new table.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:25 +02:00
Joas Schilling 63b6fb7abf fix(deps)!: Upgrade symfony/event-dispatcher to supported version 5.4.26
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-10 09:36:25 +02:00
Simon L ca4c993ca3 Merge pull request #39778 from nextcloud/acceptance-test-files
test: remove broken steps from files acceptance test
2023-08-10 08:45:03 +02:00
Daniel Calviño Sánchez 41f2d912d2 Allow "wasm-unsafe-eval" in CSP
If a page has a Content Security Policy header and the `script-src` (or
`default-src`) directive does not contain neither `wasm-unsafe-eval` nor
`unsafe-eval` loading and executing WebAssembly is blocked in the page
(although it is still possible to load and execute WebAssembly in a
worker thread).

Although the Nextcloud classes to manage the CSP already supported
allowing `unsafe-eval` this affects not only WebAssembly, but also the
`eval` operation in JavaScript.

To make possible to allow WebAssembly execution without allowing
JavaScript `eval` this commit adds support for allowing
`wasm-unsafe-eval`.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-08-10 02:38:41 +02:00
Nextcloud bot 9fda40f92a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-10 00:26:45 +00:00
Pytal 7c7a3be566 Merge pull request #39685 from nextcloud/feat/integrate-files-reminders 2023-08-09 12:16:46 -07:00
Daniel Kesselberg d56e2aad74 test: remove broken steps from files acceptance test
The acceptance tests using the recent view fail since the vue migration.

`And I open the details view for "welcome.txt"`

Is looking for a row in the filelist with a span having the class nametext, matching the file name "welcome.txt" and button inside having the class action-menu.

The markup for the files list looks very different after the vue migration and therefor the test is failing.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-09 20:58:29 +02:00
Christopher Ng 1d2ec6bb0b chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:45:02 -07:00
Christopher Ng 9d43583b47 enh: set later today to 6pm
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 86db2d7f15 enh: pass params in subject
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 38e4ba211d chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng ffd68a80fc enh: move to 8am
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng ce3119ef07 enh: en dash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 597abe0a1e feat: custom date & time
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng d086fe38cc enh: remove icons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng dbe8ba2b1d refactor: format options
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 893da9c395 enh: use alarm icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 0b15feec7f fix: remove non-existing reminder notification
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 89692cf8a1 fix: load script
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 683041cdb8 fix: eslint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 18fb955a41 enh: add clean up buffer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 7af30fcf87 feat(files_reminders): v1.0.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 7a4c200db3 fix: composer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng d1367ec779 enh: use vue-material-design-icons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 41856fb8ca fix: indent with tabs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 440959a014 enh: shorten date string if same day
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng c2dfc42899 enh: rename to saturday sunday
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 07c0f7e25b enh: later today 3 hours later
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 5e4881b90c feat(files_reminders): add set reminder actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 419bea67dd feat(files_reminders): add verbose date string util
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 10a921ea33 fix: prevent sidebar from opening
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 10b0d6737e feat(files_reminders): mount set reminder actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng fdfdb2ac3b feat(files_reminders): add types
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 2089fbaf82 feat(files_reminders): add webpack module
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 5ca3770fb0 feat(files_reminders): add logger
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng e6cbb38175 fix: action icon color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng 1acdb73a7d feat(files_reminders): emit action menu opened
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng d6bf9e3c10 feat(files_reminders): register file action
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng e97206bb06 feat(files_reminders): add datetime utils
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng 00da82aa47 fix: frontend ocs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng efed517976 fix: due date nullable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng 71943eb1a4 feat(files_reminders): add reminder service
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng dec011180a feat(files_reminders): integrate load scripts
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christoph Wurst 42d1568b6b Merge pull request #39741 from jmcclelland/optimize-cal-query
optimize calendar search query
2023-08-09 18:17:04 +02:00
Christoph Wurst df304bdac8 Merge pull request #39753 from nextcloud/feat/caldav/linkify-location-in-email
feat(caldav): linkify location in scheduling mails
2023-08-09 18:11:35 +02:00
Simon L 46dfb84bca log imaginary errors as info to not spam the server logs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-09 16:10:27 +02:00
Richard Steinmetz 2ac24d525c feat(caldav): linkify location in scheduling mails
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-09 10:50:35 +02:00
Pytal 5fcb19c398 Merge pull request #39682 from nextcloud/fix/cypress-users 2023-08-08 18:05:42 -07:00
Nextcloud bot 40af8c0f93 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-09 00:25:21 +00:00
Christopher Ng 0f90c94232 fix(cypress): Show and hide columns
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-08 17:20:34 -07:00
Christopher Ng cd38017724 fix(cypress): Can delete a user
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-08 17:20:25 -07:00
Julius Härtl 780ece032f Merge pull request #39171 from nextcloud/artonge/feat/allow_to_open_versions_in_viewer 2023-08-08 22:25:42 +02:00
nextcloud-command 7d82aeafd5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-08 19:42:21 +00:00
Louis Chemineau 5902325e23 feat: Use viewer to open and compare versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-08-08 21:19:03 +02:00
Côme Chilliet e232cd8158 Merge pull request #39065 from nextcloud/fix/remove-ilogger-uses-in-encryption
Migrate away from ILogger in encryption
2023-08-08 16:52:32 +02:00
Robin Appelman bbd0deb80a Merge pull request #39694 from nextcloud/gps
expose gps data via webdav
2023-08-08 14:36:01 +02:00
Simon L f1010ecd66 Merge pull request #39715 from nextcloud/Jerome-Herbinet-blog-url-update
Update blog URL (formerly "/news")
2023-08-08 14:18:50 +02:00
Côme Chilliet b155f87a84 Merge pull request #39058 from nextcloud/fix/fix-ldap-filters-for-empty-search
Avoid adding (attribute=) part to filter which will confuse LDAP servers
2023-08-08 09:21:20 +02:00
Côme Chilliet 3e176f58af Improve typing as suggested by review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-08 09:14:16 +02:00
Côme Chilliet 487f5963a1 Use Server::get instead of new to avoid troubles with encryption constructors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-08 09:14:16 +02:00
Côme Chilliet 1e06b61f59 Migrate away from ILogger in encryption
And modernize code a bit

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-08 09:14:16 +02:00
Nextcloud bot d7e2813eca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-08 00:29:26 +00:00
Julius Härtl eb2f3bcb64 Merge pull request #39680 from nextcloud/enh/tp-list-tasks-by-app-and-identifier 2023-08-07 21:50:14 +02:00
Jamie McClelland 4a98bb9972 ensure outerquery ->where() function doesn't clobber earier ->andWhere()
Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-07 14:43:23 -04:00
Jamie McClelland ece685d6f5 optimize calendar search query
see https://github.com/nextcloud/calendar/issues/4758

Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-07 14:43:23 -04:00
Julien Veyssier f154fe7f8e fix psalm issue
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 18:28:58 +02:00
Robin Appelman 65c2d13f4c preload all requested metadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-07 13:40:01 +02:00
Julien Veyssier e9e7db997a bump server version to 28.0.0.2 to trigger new migration step
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:29:14 +02:00
Julius Härtl fca1c309a0 feat: Add delete task API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-07 13:27:53 +02:00
Julien Veyssier 05a6a799a7 change sql where order to match index order
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:27:53 +02:00
Julien Veyssier 41b19cf969 allow anon text processing scheduling
add a textprocessing_tasks index
convert anotations to method attributes
refactor TP manager
add mapper methods

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:27:53 +02:00
Julien Veyssier 9986e02097 start implementing ocs endpoint to get task list from user+appId+identifier
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:27:53 +02:00
Julien Veyssier b4a3f8088a Merge pull request #39660 from nextcloud/fix/llm-migration-not-executed
bump oc_version to 28.0.0.1
2023-08-07 13:27:19 +02:00
Julien Veyssier f099aa2714 Merge branch 'master' into fix/llm-migration-not-executed 2023-08-07 13:26:39 +02:00
Julien Veyssier 787caefc9a Merge pull request #39717 from nextcloud/fix/openapi/files_external
files_external: Fix OpenAPI
2023-08-07 12:10:19 +02:00
Marcel Klehr f62711d2ae Fix TextProcessing test for 32bit
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-07 12:03:11 +02:00
Côme Chilliet bfe42de8f8 Merge pull request #38604 from fsamapoor/replace_strpos_calls_in_workflowengine_app
Refactors "strpos" calls in /apps/workflowengine
2023-08-07 09:10:43 +02:00
jld3103 a7808f0115 files_external: Fix OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-07 08:42:19 +02:00
Nextcloud bot 97ad1fbd96 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-07 00:30:25 +00:00
Nextcloud bot c5f72f0761 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-06 00:25:27 +00:00
John Molakvoæ b27a2e9ec5 Merge pull request #39698 from joshtrichards/invalid-source-storage-path-catch 2023-08-05 12:17:33 +02:00
John Molakvoæ 7b7d1e3c09 fix: simplify sourceData check
Co-authored-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-08-05 12:05:36 +02:00
Nextcloud bot 38278fc1e5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-05 00:29:37 +00:00
Joas Schilling 8606f162c5 Merge pull request #39708 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-08-04 11:53:15 +02:00
Jérôme Herbinet af7783b863 Update blog URL (formerly "/news")
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-04 10:47:29 +02:00
Joas Schilling 7d9a321c9b Merge pull request #39662 from nextcloud/3rdparty-bump-symfony-mailer
chore(3rdparty): update symfony/mailer to 5.4.22
2023-08-04 10:42:31 +02:00
Joas Schilling 3bd8f8c1db Merge pull request #39705 from nextcloud/fix/noid/adjust-integrity-test-for-updated-mime-mappings
fix: adjust test for font icon
2023-08-04 10:42:08 +02:00
Joas Schilling 44b4c16a09 Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanup
fix!: Final round of moving to IEventDispatcher
2023-08-04 10:39:57 +02:00
tobiasKaminsky b8b4a0e6ce expose gps data via webdav 2023-08-04 10:32:08 +02:00
Joas Schilling f8bd676154 Merge pull request #39689 from nextcloud/bugfix/39135/remove-share-notifications-for-deleted-nodes
fix(notifications): Remove share notification when the node is deleted
2023-08-04 09:39:24 +02:00
nextcloud-command 988cdda806 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-08-04 02:21:49 +00:00
Nextcloud bot 149ddf43aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-04 00:30:13 +00:00
Pytal 777f8c9870 Merge pull request #39651 from nextcloud/feat/files-reminders 2023-08-03 16:38:47 -07:00
Christopher Ng a806bd0d3c enh: handle user deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:43:35 -07:00
Christopher Ng 5a11535c51 fix: set endpoint description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng af98c702e0 fix(ci): add to enabled apps
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 2c4b562cdc fix: ignore non-existing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng e320166b15 enh: add json output to command
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 113d061919 enh: add codeowner
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng d61916621d fix: return null if table exists
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 7381c80caf fix: remove unnecessary parsed subject
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 7beef657e4 enh: highlight filename
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng c4b7056f58 fix: catch NodeNotFoundException in notifier
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 9e8354e0ac fix: exit on reminder not found
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng f865c3ad21 enh: handle node deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 7617519502 fix: construct background jobs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 7daf11f8f6 fix: remove throwable handling
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 3ade06cd9c fix: return ocs data
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 9bd7ddd074 enh: does not exist return null
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng db7f5a29f3 enh: serialize path
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng b04d1a70e2 enh: comment interval
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng bdf07413d0 enh: return created status code
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng d31302e72c fix: create only if file exists
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 777a791e72 feat(files_reminders): add remove endpoint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 05e454ee61 fix: update find due query
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 887058591c feat(files_reminders): create or update
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 5ff178a753 enh: add updated at
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 7637bf2ae0 fix: catch Throwable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng fa77564152 enh: rename to due date
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng beb8a27d94 enh: add to shipped
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng cfbac9b73c fix: add composer autoload
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng a7892fb682 feat(files_reminders): add api controller
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 774e3e6d4b enh: implement JsonSerializable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 4fabd77432 enh: add created at
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 163b059c11 enh: use datetime
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng c8a32a70cd feat(files_reminders): add list command
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng ea5e128fef feat(files_reminders): add service and notifier
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng a3ac1b82da feat(files_reminders): add background jobs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng b75fac31aa feat(files_reminders): add info xml
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 59a2ef4ea1 feat(files_reminders): add Application
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:10 -07:00
Christopher Ng e16001b8eb feat: init files_reminders migration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:10 -07:00
Daniel Kesselberg e0c8d58dd1 fix: adjust test for font icon
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-04 00:01:25 +02:00
Josh Richards deecb48e54 Catch more invalid cache source storage paths
OC\Files\Cache\Cache::get can return string|false|null, not just string|false.

- nextcloud/server#26270 added handling of false, but null is needed too.
- Well, or we change the default $resullt to false, but I'm not sure if that has other ramifications and the real need here is to simply catch situations where the cache source storage path is not valid for whatever reason

Related: nextcloud/server#19009

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-08-03 09:53:46 -04:00
Daniel Kesselberg 6c67554988 chore(3rdparty): update symfony/mailer to 5.4.22
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-03 15:34:56 +02:00
Ferdinand Thiessen 9a7e2b1558 Merge pull request #34419 from Dany1718/fix-icons
Changed mapping to font
2023-08-03 15:26:21 +02:00
Andy Scherzinger 87678605c9 Merge pull request #39696 from nextcloud/enh/noid/pr-feedback
chore: add pr-feedback workflow
2023-08-03 15:21:25 +02:00
Daniel Kesselberg 8c0e96c38e chore: add pr-feedback workflow
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-03 15:15:47 +02:00
Julien Veyssier 9e096ef430 Merge pull request #39684 from nextcloud/fix/noid/missing-argument-for-text-processing-test
fix: missing argument for TextProcessing Manager
2023-08-03 13:03:41 +02:00
John Molakvoæ 2e030582b3 Merge pull request #39673 from nextcloud/feat/theming-admin-image-mime 2023-08-03 12:22:46 +02:00
Julien Veyssier 15e2ca20a9 Merge pull request #39641 from nextcloud/fix/openapi
Fix OpenAPI specs
2023-08-03 11:52:25 +02:00
John Molakvoæ 0a046844f6 feat(theming): add mime accept in Theming image file picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-03 11:49:45 +02:00
John Molakvoæ c7c94a39f7 Merge pull request #39656 from nextcloud/fix/filename-files/master 2023-08-03 11:47:48 +02:00
Joas Schilling c3acd03a8e fix(notifications): Remove share notification when the node is deleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-03 11:25:26 +02:00
jld3103 89c941f65e Fix OpenAPI specs
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-03 10:58:16 +02:00
Côme Chilliet 90bb0a26f4 Merge pull request #39219 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-08-03 10:15:03 +02:00
Côme Chilliet 26049cb49c Merge pull request #39150 from fsamapoor/refactor_files_app_commands
Refactors files app commands
2023-08-03 10:14:23 +02:00
Ferdinand Thiessen 2068d78213 fix: Add icon for font files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-03 04:54:07 +02:00
Dany1718 4c7495fc2d Changed mapping to font
* Updated mimetypelist icon mapping

Signed-off-by: Dany1718 <daniel.dossantos@ufl.edu>
2023-08-03 04:53:47 +02:00
Nextcloud bot 3f86b84429 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-03 00:28:38 +00:00
Daniel Kesselberg 0098af3b98 fix: missing argument for TextProcessing Manager
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-03 00:33:00 +02:00
John Molakvoæ (skjnldsv) 77446325b2 fix(files): fix extension with custom displayName
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-02 17:18:48 +02:00
Andrey Borysenko d3583d3f30 Fix psalm ci (stub). Wrap server container with try-catch
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-08-02 17:40:58 +03:00
John Molakvoæ 8fa9607f0f Merge pull request #39540 from nextcloud/feat/migrate-nc-vue-8 2023-08-02 15:36:42 +02:00
Ferdinand Thiessen 650312580f fix(cypress): Really mock the initial state instead of trying to stub a module
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:21:34 +02:00
John Molakvoæ 9bf42fc3bf fix(jest): also mock initial-state
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-02 15:21:34 +02:00
Ferdinand Thiessen e457572f6b fix: Acceptance tests adjusted to find new style sidebar tabs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:21:34 +02:00
Ferdinand Thiessen fab9f48efe chore: Build assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:21:30 +02:00
Ferdinand Thiessen 5eb2a5df7e fix(dav): Update jest snapshot for changed vue sidebar tab
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +02:00
Ferdinand Thiessen ee18e43d97 fix(cypress): Make sure cypress can preprocess files corrently (this drops 78 dependencies)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +02:00
Ferdinand Thiessen 4c306a3a55 fix: Resolve code linting issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +02:00
Ferdinand Thiessen 663db2bb34 chore: Update nextcloud-vue to v8 beta2 and renamed changed properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:26 +02:00
Julien Veyssier 114cad3812 Merge pull request #39567 from nextcloud/enh/ai-admin-settings
AI admin settings
2023-08-02 14:55:00 +02:00
Arthur Schiwon 454c61fdd2 Merge pull request #39672 from nextcloud/fix/s3-chunk-upload-quota
fix(dav): use quota of destination in s3 chunk upload
2023-08-02 13:42:57 +02:00
Julien Veyssier b13ca8620f compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:40:29 +02:00
Julien Veyssier 8d6a6e5242 fix composer autoload files
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +02:00
Julien Veyssier a877865fba fix wrong NcSelect event in AI admin settings
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +02:00
Julien Veyssier 0ace67c762 polish AI admin settings UI
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +02:00
Julien Veyssier 601679bd25 use DB type constants
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +02:00
Julien Veyssier 577640663b move long click handlers into methods
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr 7adb2ce819 Admin AI settings: Use ContainerInterface instead of IServerContainer
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr 830692cebd Admin AI settings: Improve a11y of machine translation precendence
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr ff39466e4f Update apps/settings/src/components/AdminAI.vue
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr 3ca44282d0 Update apps/settings/src/components/AdminAI.vue
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr a0eaed0296 Fix typo
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr ad3f353335 Migration: Drop llm_tasks table and add textprocessing_tasks
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr be7487b559 AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr a193458e38 AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 112268a48a AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 4ec150c9b6 AI admin settings: cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr f72f3f7df4 AI admin settings: strict_types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr aa74d6fd31 AI admin settings: Update composer autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 2d29413d5d AI admin settings: Add a draggable icon in UI for translation provider precedence
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 2a3ef102f7 AI admin settings: Use config values in AI feature managers
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr a840e8c6e5 AI admin settings: Add save mechanism
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 8ec1926aba fix(TextProcessing): Inject L10N\IFactory instead of IL10N
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 4e33d04444 AI Admin settings: Implement mt settings, stt settings and tp settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr fc9780a41d First pass at ai admin settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
John Molakvoæ 78856f354f Merge pull request #39613 from nextcloud/feat/f2v/recent 2023-08-02 10:45:44 +02:00
Max 2124fb9ff2 fix(dav): use quota of destination in s3 chunk upload
Resolves: #39228.
Check the free space on the destination.

Before it was checking the free space on `$storage`
which is the upload storage of the user who triggered the upload.
This led to user quota being applied
even when uploading to a share with unlimited space.

Signed-off-by: Max <max@nextcloud.com>
2023-08-02 10:09:13 +02:00
John Molakvoæ (skjnldsv) 87b1719c88 feat(files): migrate recent view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-08-02 09:57:27 +02:00
Ferdinand Thiessen 6ec35e3799 Merge pull request #39609 from nextcloud/fix/focus-outline-favorites-view
fix(files): Remove duplicated outline on file name of vue file list
2023-08-02 03:28:42 +02:00
Ferdinand Thiessen 88bbf383dc fix(files): Remove duplicated outline on vue files entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 02:56:34 +02:00
Nextcloud bot 0ec6efdf3d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-02 00:53:28 +00:00
Ferdinand Thiessen f6fcaf7582 Merge pull request #39475 from nextcloud/rakekniven-patch-3
fix(i18n) Fixed grammar
2023-08-02 02:22:02 +02:00
rakekniven 9a9e04fe4f fix(i18n) Fixed grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-01 23:38:37 +00:00
John Molakvoæ 26779128a7 Merge pull request #39577 from nextcloud/feat/f2v/files_external 2023-08-01 17:58:22 +02:00
hamza221 af113ddad4 bump oc_version to 28.0.0.1
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-08-01 17:08:16 +02:00
John Molakvoæ 38480fda3c feat(files_external): migrate to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-01 16:38:06 +02:00
Joas Schilling 385f987a28 Merge pull request #39400 from nextcloud/rakekniven-patch-1
fix(i18n) Changed case of "Files"
2023-08-01 16:12:28 +02:00
Andy Scherzinger 4c9d589cac Merge pull request #39480 from nextcloud/fix/migrate-to-psr-logger-interface-files_external
Migrate files external to PSR LoggerInterface
2023-08-01 15:47:54 +02:00
Côme Chilliet beef22ba92 Merge pull request #39587 from nextcloud/fix/bump-deepdiver1975/tarstreamer-to-2.1.0-in-master
Bump deepdiver1975/tarstreamer to 2.1.0 in master
2023-08-01 15:45:37 +02:00
John Molakvoæ 961c03c77f Merge pull request #39652 from nextcloud/fix/fix-update-3rdparty-command 2023-08-01 15:41:45 +02:00
Joas Schilling 4c3aad8986 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-01 15:13:01 +02:00
rakekniven 0522da7001 fix(i18n) Changed case of "Files"
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-08-01 15:13:00 +02:00
Alexander Piskun ca76ab98bd added Application Ecosystem V2 login handler
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-08-01 14:50:59 +03:00
Faraz Samapoor b353b3f425 Merge branch 'master' into refactor_files_app_commands
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-08-01 12:39:10 +03:30
Côme Chilliet ebd992ade2 Fixes in update-3rdparty command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-01 10:34:50 +02:00
Côme Chilliet 41373b8bf1 Bump deepdiver1975/tarstreamer to 2.1.0 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-01 10:22:48 +02:00
Joas Schilling 9241a38fc2 Merge pull request #37481 from nextcloud/ci/checkers/require-autoloader-shipped-apps
ci(checkers): Require composer autoloaders for all shipped apps
2023-08-01 10:19:35 +02:00
Kate 30345f86dc Merge pull request #39330 from nextcloud/feature/openapi/files_sharing
files_sharing: Add OpenAPI spec
2023-08-01 10:04:13 +02:00
John Molakvoæ 662e73b901 Merge pull request #39649 from nextcloud/fix/sharing-l10n 2023-08-01 09:57:56 +02:00
Benjamin Gaussorgues 9b03dc52a4 Migrate files external to PSR LoggerInterface
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-08-01 09:44:57 +02:00
Nextcloud bot 2ea7719bfa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-01 00:29:41 +00:00
Christopher Ng 8a51d64b09 fix(files_sharing): String translations
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-31 23:17:23 +00:00
Pytal 8e287a4d92 Merge pull request #38581 from nextcloud/fix-hint-posix 2023-07-31 15:15:05 -07:00
Daniel Kesselberg cd0331320b fix: correct hint for missing posix extension
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-31 22:04:44 +02:00
Daniel Kesselberg f1d4f7c7e4 fix: copy-and-delete fallback should use unlink
because rmdir does not work for files.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-31 21:41:25 +02:00
Daniel 27916deb95 Merge pull request #38623 from nextcloud/fix/14743/rename-fallback-copy-unlink
fix(storage): fallback to copy and unlink when rename fails
2023-07-31 21:04:07 +02:00
Julius Härtl 48f0e44213 Merge pull request #39588 from nextcloud/fix/files-api-url 2023-07-31 20:25:47 +02:00
Daniel Kesselberg b4ff557b8c fix(storage): fallback to copy and unlink when rename fails
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-31 18:54:21 +02:00
Max db5e2f0065 fix(files): url used to retrive storage stats
Signed-off-by: Max <max@nextcloud.com>
2023-07-31 18:46:57 +02:00
Julius Härtl 286cceebc3 Merge pull request #39629 from ir0nhide/fix/sse-c 2023-07-31 18:05:48 +02:00
jld3103 c6806684d2 files_sharing: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 16:58:49 +02:00
Julien Veyssier 752299d063 Merge pull request #39313 from nextcloud/feature/openapi/user_ldap
user_ldap: Add OpenAPI spec
2023-07-31 15:37:25 +02:00
Kate 05f02fd5c5 Merge pull request #39634 from nextcloud/feature/openapi/core/text-processing-api
core: Document text processing API
2023-07-31 15:24:45 +02:00
jld3103 dca22c1d2c core: Document text processing API
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 14:09:12 +02:00
Andy Scherzinger 8c846ce103 Merge pull request #39586 from nextcloud/feat/supported-apps
feat(settings): Show supported apps on app settings if subscribed
2023-07-31 12:34:39 +02:00
jld3103 61a13bed4d user_ldap: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 12:17:42 +02:00
Ferdinand Thiessen c1975a634c feat(settings): Show supported apps on app settings if subscribed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-31 09:17:32 +00:00
Kate 79316e1169 Merge pull request #39223 from nextcloud/feature/openapi/provisioning_api
provisioning_api: Add OpenAPI spec
2023-07-31 11:05:07 +02:00
jld3103 38db3873a2 provisioning_api: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 10:29:08 +02:00
Nextcloud bot 0de805b2a7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-31 00:29:59 +00:00
Tobias Zimmerer 23f85b5ac2 fix(s3): add SSE-C parameters to headObject call
Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
2023-07-30 22:54:58 +02:00
Nextcloud bot 4c10dc2794 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-30 00:25:19 +00:00
rakekniven 0c25cda745 Merge pull request #39474 from nextcloud/rakekniven-patch-2
fix(i18n) Fixed grammar
2023-07-29 11:55:23 +02:00
rakekniven 7c82c7a4b2 Merge branch 'master' into rakekniven-patch-2
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-07-29 10:26:56 +02:00
Nextcloud bot 2b13f50f4a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-29 00:32:08 +00:00
Robin Appelman 6a467ecd31 Merge pull request #38179 from nextcloud/dav-permissions-share-root-write
fix share roots always being marked as writable
2023-07-28 20:24:21 +02:00
Robin Appelman 8af60b915b fix share roots always being marked as writable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-28 17:34:54 +02:00
Robin Appelman fda820a64d expose MovableMount in public interface
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-28 14:42:09 +02:00
Joas Schilling 3962cd0aa8 fix!: Move getEventDispatcher usage to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:22 +02:00
Joas Schilling b9e2f494a1 chore!: Remove legacy SymfonyAdapter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:22 +02:00
Joas Schilling c5dcf3c849 fix!: Remove LegacyBeforeTemplateRenderedListener from files_sharing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:21 +02:00
Joas Schilling 0c5d0c2127 fix: Migrate collaboration listener and remove legacy adapter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:21 +02:00
Joas Schilling ead47610c1 fix!: Remove LegacyLoadAdditionalScriptsAdapter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:21 +02:00
Joas Schilling cebf93d4d2 fix: Remove legacy dispatcher from share manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:20 +02:00
Joas Schilling 22e033b628 feat!: Migrate Share accepted event to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:20 +02:00
Joas Schilling 8ad94cbfda feat!: Migrate unShare events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:20 +02:00
Joas Schilling 44b810bfbd feat!: Migrate Sharing events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:19 +02:00
Joas Schilling 68fc9b48c2 feat!: Migrate AccountManager event to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:19 +02:00
Joas Schilling 9bf812ac6c feat!: Migrate TagService events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:18 +02:00
Joas Schilling 53392861ff Merge pull request #39473 from nextcloud/fix/parallel-aware-job
fix(IParallelAwareJob): Check for other reserved jobs before setting new ones as reserved
2023-07-28 13:15:10 +02:00
Arthur Schiwon ff2b36ad52 Merge pull request #37624 from nextcloud/fix/logging-for-failed-fopen
fix: log fopen calls when stream isn't available
2023-07-28 12:59:52 +02:00
Marcel Klehr 7e790a3297 JobTest: Remove outdated tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +02:00
Marcel Klehr 2b96760dc6 Remove allowParallelRuns check in OCP\BackgroundJob\Job
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +02:00
Marcel Klehr 3d8fd2d99e cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +02:00
Marcel Klehr 9f4b3de03c Fix ParallelAwareJob tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +02:00
Marcel Klehr 449a731375 Add test for ParallelAwareJob
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +02:00
Joas Schilling f3bdcfd427 Merge pull request #39595 from nextcloud/bugfix/noid/remove-symfony-event-from-user
fix!: Remove symfony EventDispatcherInterface from OC\User and OC\Group
2023-07-28 10:40:50 +02:00
Nextcloud bot 67e1f5d9f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-28 00:30:43 +00:00
Ferdinand Thiessen 06e2029e39 Merge pull request #39409 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-07-28 00:26:42 +02:00
Joas Schilling 030e8d8916 fix: Align doc type with creation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 23:13:38 +02:00
Joas Schilling 80f79e170d fix!: Remove symfony EventDispatcherInterface from Group
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 23:13:37 +02:00
Joas Schilling ad12a740cb fix!: Remove symfony EventDispatcherInterface from User
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 23:13:37 +02:00
Alexander Piskun b93f101d62 Merge pull request #39537 from nextcloud/ocs-update-group
`/ocs/v1.php/cloud/groups` `UPDATE` method - correct status when group not found
2023-07-27 20:44:35 +03:00
Joas Schilling 6b7221756c Merge pull request #39571 from nextcloud/bugfix/noid/move-lib-to-IEventDispatcher
Move lib/ events to IEventDispatcher where possible
2023-07-27 18:59:42 +02:00
Joas Schilling 5fb5d85067 Merge pull request #38667 from nextcloud/fix/systemtagmanager-gettag-updatetag
fix(SystemTagManager): Use truncated tagName in getTag and updateTag
2023-07-27 18:50:31 +02:00
Andy Scherzinger 767c42f459 Merge pull request #39486 from nextcloud/3rdparty-bump-punic
chore(3rdparty): update punic to 3.8.1
2023-07-27 17:16:30 +02:00
Ferdinand Thiessen fbe5d06720 Merge pull request #39483 from nextcloud/fix/files-vue-favorite-icon
fix(files): Adjust files favorite marker for vue file list being cropped
2023-07-27 17:04:57 +02:00
Daniel Kesselberg 68eecca4d4 chore: update expected results for CLDR 42
Punic 3.8.0 / CLDR 42 added a narrow no-break space unicode character for the time formats and a new default pattern for datetime.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-27 13:57:02 +02:00
Daniel Kesselberg 06248cda0a chore: update expected timezone from GMT+0 to UTC
Punic 3.2.0 added support for timezone translations and returns UTC instead of GMT+0 now.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-27 13:57:02 +02:00
Daniel Kesselberg 22c7d3f6a3 chore(3rdparty): update punic to 3.8.1
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-27 13:57:02 +02:00
Marcel Klehr 424937fd39 fix(SystemTagManager): Use truncated tagName in getTag and updateTag
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-27 13:56:11 +02:00
Joas Schilling 35c313e280 fix!: Remove User events which have a typed event replacement
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:54 +02:00
Joas Schilling c67c067ee7 fix: Move Sharing events to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:53 +02:00
Joas Schilling 44a0a62107 fix: Move Node HookConnecter events to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:53 +02:00
Joas Schilling 6953e14580 fix: Move SystemTags events to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:52 +02:00
Joas Schilling dac31ad101 fix!: Remove legacy event dispatching Symfony's GenericEvent from 2FA Manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:52 +02:00
Joas Schilling 1b387bb341 fix!: Remove legacy event dispatching Symfony's GenericEvent from AdditionalScripts
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:52 +02:00
Joas Schilling 5bb6a7804f fix: Move AppManager events to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:51 +02:00
Joas Schilling 4f7de8ed60 fix!: Remove legacy event dispatching Symfony's GenericEvent
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:51 +02:00
Nextcloud bot 582e655c01 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-27 00:25:58 +00:00
Joas Schilling b76b0bbc1c Merge pull request #39485 from nextcloud/bugfix/noid/move-remaining-easy-usages-to-IEventDispatcher
fix(dispatcher): Move remaining simple cases in apps/ folder to IEven…
2023-07-26 17:29:22 +02:00
Robin Appelman 7c02eedabb cache calendar objects from calendarQuery
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-26 14:36:39 +02:00
Robin Appelman 31c483b759 preload shares for calendars when listing calendars
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-26 14:36:37 +02:00
nextcloud-command c42da02a92 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-07-26 02:31:14 +00:00
Nextcloud bot 19e7704c85 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-26 00:57:25 +00:00
Joas Schilling f824d87fc1 Merge pull request #39487 from nextcloud/feat/noid/typed-events-for-db_add-missing
Feat/noid/typed events for db add missing
2023-07-25 13:37:51 +02:00
John Molakvoæ 468fb5c8db Merge pull request #39317 from nextcloud/fix/4193-change-color-primary-hover
Change color for primary element on hover
2023-07-25 12:04:53 +02:00
Joas Schilling 77bc6c32d8 fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-25 11:19:26 +02:00
Nextcloud bot 43ab741f9c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-25 00:25:30 +00:00
julia.kirschenheuter ddb808e136 Change color for primary element on hover
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-24 15:56:30 +02:00
Joas Schilling ab70bbd3ff fix(db)!: Remove private legacy event because we can not keep it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:35 +02:00
Joas Schilling 86310a35b2 fix(db): Move missing core indices to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:34 +02:00
Joas Schilling 00d483585b fix: Add options to support all used features by core
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:34 +02:00
Joas Schilling f73f14207c fix(db): Move missing core columns to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:33 +02:00
Joas Schilling 77c2b169a5 fix(db): Move missing core primary keys to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:33 +02:00
Joas Schilling bd0a149a4f feat(dispatcher): Add typed event for "db:add-missing-primary-keys"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:32 +02:00
Joas Schilling 2eded24eff feat(dispatcher): Add typed event for "db:add-missing-columns"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:32 +02:00
Joas Schilling 7548e62181 Merge pull request #39506 from nextcloud/techdebt/39488/ensure-index-name-uniqueness
feat(db): Ensure that index names are unique across the database
2023-07-24 14:44:37 +02:00
Christoph Wurst 821ad805d2 ci(checkers): Require composer autoloaders for all shipped apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-24 13:58:37 +02:00
Daniel 0411cc64aa Merge pull request #38606 from fsamapoor/replace_strpos_calls_in_settings_app
Refactors "strpos" calls in /apps/settings
2023-07-24 12:52:21 +02:00
Nextcloud bot bef40531f0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-24 00:25:32 +00:00
nextcloud-command e2c82a2640 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-07-23 02:54:46 +00:00
Nextcloud bot e6a00f5a74 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-23 00:28:01 +00:00
rakekniven f4981413fa fix(i18n) Fixed grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-22 23:38:23 +00:00
Alexander Piskun bd19cd6cf9 to return correct code when group not found
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-07-22 13:18:43 +03:00
Nextcloud bot bbb0827417 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-22 00:31:23 +00:00
Pytal 608ba174a3 Merge pull request #39402 from nextcloud/enh/a11y-users-settings 2023-07-21 11:18:56 -07:00
Julien Veyssier d255b89d77 Merge pull request #39527 from nextcloud/fix/39526/dashboard-hide-weather-credits
Only show weather credits if necessary
2023-07-21 18:29:34 +02:00
Julien Veyssier 1b9593b4ce Merge branch 'master' into fix/39526/dashboard-hide-weather-credits 2023-07-21 17:29:14 +02:00
Simon L d0957ffd97 Merge pull request #39008 from nextcloud/enh/noid/reorder-fonts
switch to bootstrap font-stack
2023-07-21 14:06:04 +02:00
Julien Veyssier 41af382d68 only show weather credits if the app is enabled and the weather status is enabled
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-07-21 13:39:18 +02:00
Joas Schilling b80692d323 fix(tests): Adjust unit tests to outline the schema is checked twice now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-21 12:17:36 +02:00
Simon L d891a0a83a fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-21 11:25:16 +02:00
Marcel Klehr 7c80d66ee5 Merge pull request #38854 from nextcloud/enh/llm-api 2023-07-21 11:20:31 +02:00
Benjamin Gaussorgues e9b8a34cce Merge pull request #39264 from nextcloud/feat/add-instance-category
Add instance category while checking new updates
2023-07-21 11:04:32 +02:00
Julia Kirschenheuter fefc079bd6 Merge pull request #39476 from nextcloud/fix/36975-increase_contrast_on_action_buttons
Remove opacity on federation control action buttons
2023-07-21 10:47:42 +02:00
Julia Kirschenheuter ac745ab059 Merge pull request #39460 from nextcloud/fix/39413-add-more-space-belowitem-preview-explanation
Add more space below item preview explanation
2023-07-21 10:44:42 +02:00
Pytal 502f1c8fb4 Merge pull request #39382 from nextcloud/enh/a11y-aria-modal 2023-07-20 19:22:57 -07:00
Nextcloud bot 9bdb78f6cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-21 00:24:21 +00:00
Christopher Ng b3e5269963 enh(a11y): Add aria-modal to dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-20 17:13:55 -07:00
Anna af6bb98b14 Merge pull request #39504 from nextcloud/fix/caldav/access-typed-searchquery-property-without-init
fix(caldav): Assign initial value to typed CalendarQuery properties
2023-07-20 23:49:12 +02:00
Robin Appelman 31f1ff87d0 Merge pull request #39367 from nextcloud/s3-fopen-exception
handle more exceptions in AmazonS3::fopen
2023-07-20 19:32:03 +02:00
Robin Appelman 70a9d66aa8 Merge pull request #39275 from nextcloud/log-backtrace
Add optional to add backtrace to log items
2023-07-20 19:30:21 +02:00
Robin Appelman 6cf3e4b82c Merge pull request #38930 from nextcloud/chunk-clean-failed
clean failed upload chunks
2023-07-20 19:29:42 +02:00
Robin Appelman c912a3f0f6 Merge pull request #38860 from nextcloud/scanner-change-summary
add summary of detected changes to files:scan output
2023-07-20 18:37:07 +02:00
Anna 41323b0388 Merge branch 'master' into fix/caldav/access-typed-searchquery-property-without-init 2023-07-20 18:00:06 +02:00
Anna Larch 70a6eeed3e fix: log fopen calls when stream isn't available
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-07-20 17:28:25 +02:00
julia.kirschenheuter 913083d67b Add more space below item of preview explanation
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-20 16:21:44 +02:00
Matthieu Gallien ec4ae84f96 Merge pull request #39221 from nextcloud/bugfix/bulkUploadEmptyFiles
Bugfix/bulk upload empty files
2023-07-20 15:49:09 +02:00
Simon L 8ed35de5f4 add missing places and address review.
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-20 15:30:05 +02:00
Joas Schilling 0bf738d8cb feat(db): Ensure that index names are unique across the database
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-20 14:27:26 +02:00
Matthieu Gallien 906a6612e4 when reading an empty file getting EOF is not an error
will allow uploading empty files via bulk upload

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-20 13:41:47 +02:00
Christoph Wurst 2d3d396dd3 fix(caldav): Assign initial value to typed CalendarQuery properties
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-20 13:28:52 +02:00
Joas Schilling a4dd35e442 Merge pull request #39490 from nextcloud/bugfix/noid/fix-loading-infoxml
fix(apps): Fix loading info.xml file
2023-07-20 12:08:18 +02:00
Julius Härtl 77f249726d Merge pull request #38934 from nextcloud/bugfix/noid/ssec-multipart 2023-07-20 11:00:08 +02:00
Joas Schilling 2014e7b836 fix(apps): Fix loading info.xml file
Ref: https://bugs.php.net/bug.php?id=62577

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-20 10:40:09 +02:00
Nextcloud bot 3da48c2adb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-20 00:26:12 +00:00
Daniel b1683256de Merge pull request #39477 from nextcloud/3rdparty-bump-symfony-http-routing-translation
chore(3rdparty): update symfony http-foundation, routing and translat…
2023-07-19 23:57:09 +02:00
Daniel Kesselberg cc2fae5bbd chore(3rdparty): update symfony http-foundation, routing and translation to 5.4.24
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-19 23:20:16 +02:00
Ferdinand Thiessen b54542ca88 fix(files): Adjust files favorite marker for vue file list to not overflow
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-19 21:47:16 +02:00
Joas Schilling 2e175fb7a2 Merge pull request #39222 from nextcloud/bugfix/noid/more-event-dispatchers
Migrate more apps to IEventDispatcher
2023-07-19 20:59:53 +02:00
Simon L c4893e9641 address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 20:09:14 +02:00
Simon L 9352869f52 switch to bootstrap font-stack
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 19:50:19 +02:00
Joas Schilling aa039c986a fix(workflowengine): Remove legacy event (deprecated since 17)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-19 17:37:34 +02:00
Joas Schilling 4877d0b62e fix(loopup_server_connector): Migrate to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-19 17:37:33 +02:00
Joas Schilling a6bf93501d fix(files_trashbin): Migrate to IEventDispatcher and emit as typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-19 17:37:33 +02:00
Marcel Klehr 6d568b0d32 Fix tests: Adjust constructor signature
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-19 17:33:11 +02:00
Marcel Klehr fd0fd97a65 Fix tests: Adjust constructor signature
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-19 17:32:28 +02:00
Joas Schilling 489b4807db Merge pull request #39304 from nextcloud/bugfix/noid/typed-event-comments-entity
fix(comments): Emit CommentsEntityEvent as typed event
2023-07-19 17:25:57 +02:00
julia.kirschenheuter 8fca19325b Remove opacity on federation control action buttons
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-19 14:37:08 +02:00
Daniel 8b3b5ff8d8 Merge pull request #39455 from nextcloud/3rdparty-bump-symfony-console
chore(3rdparty): update symfony/console to 5.4.24
2023-07-19 14:20:07 +02:00
Marcel Klehr 7389567c7d Remove Task::factory method
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-19 13:15:14 +02:00
Christopher Ng 8695e7cdc6 test(settings): User management settings dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-18 20:28:15 -07:00
Christopher Ng 21ded94a85 chore: Compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-18 20:28:15 -07:00
Christopher Ng 26dbb12f40 enh(a11y): User management settings dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-18 20:28:10 -07:00
Pytal eaf19c4829 Merge pull request #39229 from nextcloud/fix/default-empty-content-files 2023-07-18 17:33:16 -07:00
Nextcloud bot 46d80b4f70 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-19 00:26:31 +00:00
John Molakvoæ bb9c7ee75c fix(files): default emptycontent message
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-18 23:53:04 +02:00
Daniel d3393af978 Merge pull request #39444 from nextcloud/fix/l10n-manager
fix(l10n): User manager
2023-07-18 18:40:44 +02:00
Ferdinand Thiessen 6e41ebcc12 Merge pull request #39456 from nextcloud/fix/script-tag-for-module-js-with-version
fix: Correctly add `module` content type to script tags with versions
2023-07-18 17:39:44 +02:00
Daniel Kesselberg 4f75aa270a chore(3rdparty): update symfony/console to 5.4.24
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-18 17:10:49 +02:00
Daniel aa5dcb0952 Merge pull request #38397 from nextcloud/enh/contacts/hide-adressbook-option
enh(contacts): show/hide addressbooks for all
2023-07-18 17:05:12 +02:00
Joas Schilling c3bc575d99 fix(comments): Emit CommentsEntityEvent as typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-18 16:19:01 +02:00
Joas Schilling 705ccd50c5 Merge pull request #39441 from nextcloud/3rdparty-bump-symfony-process
chore(3rdparty): update symfony/process to 5.4.24
2023-07-18 15:44:23 +02:00
Benjamin Gaussorgues 31f1354777 Add instance category while checking new updates
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-07-18 15:39:23 +02:00
Joas Schilling 8e90cc056b Merge pull request #39305 from nextcloud/bugfix/noid/sabre-plugin-events
feat(dav): Emit a typed event to deprecate OCA\DAV\Connector\Sabre::addPlugin
2023-07-18 15:30:30 +02:00
Ferdinand Thiessen 3b057600d0 fix: Correctly add module content type to script tags when scripts with versions are used
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-18 13:10:37 +02:00
Daniel Kesselberg 4393a167fd chore(3rdparty): update symfony/process to 5.4.24
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-18 12:27:32 +02:00
Côme Chilliet 0e69a6a846 Merge pull request #39447 from nextcloud/fix/fix-encryption-share
Fix sharing of encrypted files
2023-07-18 11:49:32 +02:00
Johannes 6d150c0700 Merge pull request #38907 from nextcloud/mail/fix/8551/contact-manager-search
Fix: ContactManager search with fullmatch
2023-07-18 10:40:43 +02:00
Simon L 61f0d07822 Merge pull request #39442 from nextcloud/2fa-codeowners
chore: update codeowners for 2fa
2023-07-18 10:25:48 +02:00
Côme Chilliet bd08849866 Fix sharing of encrypted files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-07-18 09:42:57 +02:00
Julius Härtl 1addad98bf Merge pull request #39378 from nextcloud/bugfix/noid/sidebar-fullscreen 2023-07-18 08:56:53 +02:00
Nextcloud bot 19e39d0f57 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-18 00:24:05 +00:00
Christopher Ng af120f6b42 fix(l10n): Manager
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-17 16:35:40 -07:00
dependabot[bot] 609ff63ff1 Merge pull request #39403 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.10 2023-07-17 22:38:06 +00:00
Pytal dea8768d33 Merge pull request #39405 from nextcloud/dependabot/npm_and_yarn/dompurify-3.0.5 2023-07-17 15:19:07 -07:00
nextcloud-command 3b831f630f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-17 20:10:18 +00:00
Julius Härtl ac13226e1b fix: Always apply fullscreen styling to sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-17 21:26:07 +02:00
dependabot[bot] 95aadc7be9 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.8 to 9.6.10.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.10/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.8...9.6.10)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 19:04:46 +00:00
Daniel Kesselberg 17d01749f3 chore: update codeowners for 2fa
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-17 20:44:49 +02:00
Julius Härtl 6f0086a783 Merge pull request #39432 from nextcloud/objectstore-without-multipart 2023-07-17 20:24:18 +02:00
Joas Schilling 72667a667d feat(dav): Emit a typed event to deprecate OCA\DAV\Connector\Sabre::addPlugin
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-17 16:06:15 +02:00
Arthur Schiwon f840c08dd6 docs(config): inform about log.backtrace
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-17 15:08:08 +02:00
Côme Chilliet de4c2196a1 Merge pull request #39309 from nextcloud/bug/35766/fix-get-uid-on-nullable
fix(profile): fix getUID on nullable user variable
2023-07-17 14:45:00 +02:00
Daniel Kesselberg 9e50f149a3 fix: check that object store backend supports multi part uploads
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-17 14:09:23 +02:00
Joas Schilling 911450b442 Merge pull request #39416 from nextcloud/bugfix/noid/add-password-confirmation-requirement-for-getapppassword
fix(core): Add password confirmation requirement for getapppassword
2023-07-17 13:55:07 +02:00
Marcel Klehr d63c122ec0 Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-17 13:30:20 +02:00
Joas Schilling 0d51d8fbcb fix(core): Add password confirmation requirement for getapppassword
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-17 12:07:22 +02:00
Marcel Klehr 2811932247 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-17 11:34:16 +02:00
Marcel Klehr add5962b4c Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-17 11:20:58 +02:00
Marcel Klehr 590eefea70 Apply suggestions from code review
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-17 11:11:16 +02:00
dependabot[bot] 0b927661f6 chore(deps): Bump dompurify from 2.4.5 to 3.0.5
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.4.5 to 3.0.5.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.4.5...3.0.5)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-17 10:39:02 +02:00
Nextcloud bot ab27e9508b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-17 00:25:33 +00:00
Nextcloud bot 687d7686c1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-16 00:25:05 +00:00
F. E Noel Nfebe 1797d9f400 Merge pull request #39401 from nextcloud/rakekniven-patch-2
fix(i18n) Changed grammar related to "login"
2023-07-15 15:34:32 +01:00
rakekniven 9646474e9a fix(i18n) Changed grammar related to "login"
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-07-15 15:51:53 +02:00
Nextcloud bot b5096b0eb6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-15 00:27:01 +00:00
Arthur Schiwon 27f76dc522 Merge pull request #39132 from nextcloud/fix/correct-exceptions-for-SAB
fix(CardDAV): catch right exception when checking for federated app classes
2023-07-14 19:30:42 +02:00
Marcel Klehr df1cf18f36 Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-14 16:27:06 +02:00
Marcel Klehr 95d2d3af5c Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-14 16:10:39 +02:00
Marcel Klehr ffe27ce14c Massive refactoring: Turn LanguageModel OCP API into TextProcessing API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-14 16:00:31 +02:00
Julius Härtl 2601db240f Merge pull request #39389 from nextcloud/enh/add-missing-indices-event 2023-07-14 14:21:39 +02:00
Anna 49b6541498 Merge branch 'master' into fix/correct-exceptions-for-SAB 2023-07-14 14:08:57 +02:00
Julius Härtl 925bcebcb6 feat: Add public event for missing indices
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-14 13:11:22 +02:00
Arthur Schiwon 623dbf899a Merge pull request #39380 from nextcloud/fix/39379/systag_by_tagid-not-created
fix(db): no hardcoded table prefix is expected
2023-07-14 13:05:11 +02:00
Nextcloud bot 99aefbd75a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-14 00:29:55 +00:00
Arthur Schiwon e5160e0c1c fix(db): no hardcoded table prefix is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-13 23:34:39 +02:00
Joas Schilling d5ee076017 Merge pull request #39329 from nextcloud/feat/phpunit-for-css-generated-file
fix: also run phpunit on `apps/theming/css` modified files
2023-07-13 17:58:26 +02:00
Marcel Klehr 1d40f86d58 Merge pull request #39339 from nextcloud/fix/noid/d404-nosearch 2023-07-13 16:09:45 +02:00
Robin Appelman c3c58b66f2 Merge pull request #39321 from nextcloud/feature/openapi/files_external
files_external: Add OpenAPI spec
2023-07-13 16:01:58 +02:00
Robin Appelman b0e663fa28 fix SeekableHttpStream::stream_stat errors on failed open
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-13 15:38:58 +02:00
Robin Appelman 7c9edbff32 handle more exceptions in AmazonS3::fopen
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-13 15:37:42 +02:00
Robin Appelman c988d782eb Merge pull request #39331 from nextcloud/feature/openapi/core
core: Add OpenAPI spec
2023-07-13 15:36:51 +02:00
Simon L c5a6c7e0dd Merge pull request #39210 from nextcloud/chore/clean-core-main-entry
Remove jQuery from main entry point where not needed
2023-07-13 13:53:27 +02:00
Maxence Lange a82291f179 Merge pull request #39323 from nextcloud/fix/noid/getstorge-before-rm
files_external: getStorage before remove
2023-07-13 10:52:59 -01:00
Andy Scherzinger 7c9e5ee397 Merge pull request #39343 from nextcloud/ci/sign-drone-master
chore(CI): Sign .drone.yml file
2023-07-13 12:50:15 +02:00
Kate 686ad69133 Merge pull request #39341 from nextcloud/fix/openapi/cloud_federation_api
cloud_federation_api: Fix OpenAPI spec
2023-07-13 12:03:19 +02:00
Joas Schilling 13cd441fb2 chore(CI): Sign .drone.yml file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-13 11:48:18 +02:00
jld3103 5b6c48f8c7 cloud_federation_api: Fix OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 10:38:14 +02:00
Kate f1fa15e423 Merge pull request #39316 from nextcloud/feature/openapi/oauth2
oauth2: Add OpenAPI spec
2023-07-13 10:33:20 +02:00
Kate 4991d2ee43 Merge pull request #39328 from nextcloud/feature/openapi/federatedfilesharing
federatedfilesharing: Add OpenAPI spec
2023-07-13 10:28:24 +02:00
Julien Veyssier 402338c0ab Merge pull request #39319 from nextcloud/feature/openapi/files_versions
files_versions: Add OpenAPI spec
2023-07-13 10:20:46 +02:00
jld3103 3dff41786d files_versions: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 10:20:09 +02:00
Ferdinand Thiessen 0fd567a8d3 fix: Remove jQuery from main entry point
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-13 10:18:11 +02:00
John Molakvoæ c35c42f802 Merge pull request #39106 from nextcloud/fix/update-notification--remove-deprecated-ncpopupmenu 2023-07-13 10:18:00 +02:00
Ferdinand Thiessen 8e58c34eae chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-13 10:06:23 +02:00
Ferdinand Thiessen c9670870a9 fix(updatenotification): Remove deprecated NcPopoverMenu and cleanup
* Replace `NcPopoverMenu` with `NcActions` and cleanup related code
* Move text under related heading for better content structure
* Fix some eslint warnings

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-13 10:05:01 +02:00
Ferdinand Thiessen 2d1b5c8e77 fix(updatenotification): Use @nextcloud/l10n to avoid deprecation warnings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-13 10:05:01 +02:00
Kate b6e73c82ba Merge pull request #39318 from nextcloud/feature/openapi/cloud_federation_api
cloud_federation_api: Add OpenAPI spec
2023-07-13 08:17:59 +02:00
Pytal 41540ad4c3 Merge pull request #39050 from nextcloud/enh/a11y-users-table 2023-07-12 22:29:05 -07:00
jld3103 1be836273d core: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 07:24:15 +02:00
jld3103 6843bcd029 cloud_federation_api: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 07:20:55 +02:00
jld3103 3e757b5b81 cloud_federation_api: Fix bad request responses
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 07:20:40 +02:00
Kate 287a1d0562 Merge pull request #39320 from nextcloud/feature/openapi/files_trashbin
files_trashbin: Add OpenAPI spec
2023-07-13 07:17:33 +02:00
Christopher Ng faf2b2339d test(settings): Users table
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 21:35:55 -07:00
Christopher Ng 8faa1a4fe7 fix(acceptance): UsersSettingsContext
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 21:35:55 -07:00
jld3103 99dc010670 files_trashbin: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 06:26:58 +02:00
Christopher Ng ce99dd9eec fix(cypress): users
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Christopher Ng b65eb0c03d fix(cypress): users_modify
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Christopher Ng 957dbee1b0 fix(cypress): users_disable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Christopher Ng 821fcc6d8e chore: Compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Christopher Ng cbfe0c67e9 enh(a11y): Users table
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Nextcloud bot 97a93c73ce Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-13 00:29:31 +00:00
Arthur Schiwon f2642fcceb fix(node): non-existing folder is not searchable
the previosuly introduced searchBySystemTag was not overwritten in
NonExistingFolder and could run the inherited method.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-13 00:01:32 +02:00
Joas Schilling e9ac0287f2 Merge pull request #39297 from nextcloud/fix/dav/close-cursor
fix(dav): close cursor when fetching max id
2023-07-12 20:35:54 +02:00
Ferdinand Thiessen 4882e5c15a Merge pull request #39337 from nextcloud/fix/workflowengine-ncmultiselect
fix(workflowengine): Migrate from deprecated `NcMultiselect` to `NcSelect`
2023-07-12 20:11:54 +02:00
Arthur Schiwon 51829622ae Merge pull request #36830 from nextcloud/bugfix/noid/flow-mime-share
fix: Avoid failing with duplicate checks
2023-07-12 19:12:46 +02:00
Ferdinand Thiessen abb583a2ba Merge pull request #39336 from nextcloud/dependabot/npm_and_yarn/pinia/testing-0.1.2
chore(deps-dev): Bump @pinia/testing from 0.0.16 to 0.1.2
2023-07-12 18:04:02 +02:00
Ferdinand Thiessen 71c3be4fc6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-12 17:58:46 +02:00
Ferdinand Thiessen 33a62681d9 fix(workflowengine): Migrate from deprecated NcMultiselect to NcSelect component
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-12 17:53:50 +02:00
Faraz Samapoor 270035ff44 Fixes Psalm's "InvalidArgument" error.
I just removed the return type from the "exceptionErrorHandler". There is in fact a hacky solution, that I didn't like:
https://github.com/vimeo/psalm/issues/3571

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Faraz Samapoor b8870658fb Fixes Psalm's "LessSpecificReturnStatement" error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Faraz Samapoor 5d242aa2f8 Refactors files app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Ferdinand Thiessen 8a10f30e70 Merge pull request #38366 from nextcloud/file-command-copy-move
add commands to copy/move files
2023-07-12 16:58:50 +02:00
dependabot[bot] 5d5021ec07 chore(deps-dev): Bump @pinia/testing from 0.0.16 to 0.1.2
Bumps [@pinia/testing](https://github.com/vuejs/pinia) from 0.0.16 to 0.1.2.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/@pinia/testing@0.0.16...@pinia/testing@0.1.2)

---
updated-dependencies:
- dependency-name: "@pinia/testing"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 14:57:24 +00:00
Julius Härtl 06d80ba809 fix: Avoid failing with duplicate checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-12 16:54:13 +02:00
Robin Appelman 38640bf816 add commands to copy/move files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-12 15:01:29 +02:00
Kate 706c141fff Merge pull request #39327 from nextcloud/feature/openapi/files
files: Add OpenAPI spec
2023-07-12 10:50:59 +02:00
John Molakvoæ 48e47c6a46 fix: also run phpunit on apps/theming/css modified files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-12 09:25:39 +02:00
Simon L 329d14264f Merge pull request #39324 from nextcloud/ci/noid/fix-32bit-test
ci(32bit): fix failing test setup
2023-07-12 09:24:28 +02:00
jld3103 4ead6e64a4 federatedfilesharing: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-12 09:21:01 +02:00
jld3103 259264b966 files: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-12 09:06:10 +02:00
jld3103 1c19c567fe oauth2: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-12 07:32:30 +02:00
Joas Schilling 46284f1696 Merge pull request #39268 from nextcloud/bugfix/noid/request-time-flow
fix(flow): Revert invalid rename of check class for RequestTime
2023-07-12 07:10:21 +02:00
Nextcloud bot ac5b2d47ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-12 00:22:03 +00:00
Arthur Schiwon 55dbb86fc6 ci(32bit): fix failing test setup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-11 23:32:34 +02:00
Andy Scherzinger f55c4f9601 Merge pull request #39104 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-07-11 23:27:55 +02:00
Maxence Lange b99020a6f7 getStorage before remove
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-07-11 17:36:17 -01:00
Kate 46247e670a Merge pull request #39315 from nextcloud/feature/openapi/dav
dav: Add OpenAPI spec
2023-07-11 20:13:52 +02:00
Kate ee1ba9af47 Merge pull request #39312 from nextcloud/feature/openapi/updatenotification
updatenotification: Add OpenAPI spec
2023-07-11 19:47:35 +02:00
nextcloud-command cca6cc0c32 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-07-11 16:07:49 +00:00
jld3103 bb1e73de97 files_external: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 17:22:35 +02:00
Julia Kirschenheuter a756600b91 Merge pull request #39277 from nextcloud/test/4193-Buttons_accessibility_improvements
Set double outline to buttons in focus state
2023-07-11 16:52:48 +02:00
jld3103 cbe3c578e1 dav: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 16:37:40 +02:00
jld3103 0c2bff63e4 updatenotification: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 16:28:01 +02:00
Marcel Klehr bd45c436eb Update core/Controller/LanguageModelApiController.php
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-11 15:28:37 +02:00
Marcel Klehr d430cbbfca Update core/Controller/LanguageModelApiController.php
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-11 15:28:22 +02:00
John Molakvoæ 2cf8d6d965 Merge pull request #39196 from nextcloud/feat/f2v/sharing 2023-07-11 15:06:03 +02:00
Thomas Citharel cd9dac1d20 fix(profile): fix getUID on nullable user variable
As per method signature, $visitingUser is nullable, so we can't be sure calling getUid() on it will
work.

Closes #35766

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-07-11 14:41:58 +02:00
Marcel Klehr 48c8206538 Fix openapi docs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-11 14:37:14 +02:00
John Molakvoæ 74763e8757 feat(files_sharing): add openInFiles action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:55:10 +02:00
John Molakvoæ 8e1c693be5 fix(files_sharing): error and size/mtime for deleted shares
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:55:10 +02:00
John Molakvoæ b766589d6c fix(files): empty default action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:55:10 +02:00
John Molakvoæ 71cfc7ddba chore: compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:55:08 +02:00
John Molakvoæ 1a46104d50 chore: add actions testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ 2d6e50a8db fix: legacy files favorite event node type
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ f5f142d31b fix: adjust testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ b0418f730f fix: drop legacy sharing files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ a9f7e66d3d fix(files): actions permissions requirements
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ 6f54f72bb4 feat(sharing): add sharing overview view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:27 +02:00
Louis 5c6ed30369 Merge pull request #39296 from nextcloud/dependabot/npm_and_yarn/semver-5.7.2
chore(deps): Bump semver from 5.7.1 to 5.7.2
2023-07-11 12:55:53 +02:00
Marcel Klehr b7c3b50e41 Update core/Controller/LanguageModelApiController.php
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-11 12:41:31 +02:00
Kate 2ca7f39fd2 Merge pull request #39280 from nextcloud/feature/openapi/federation
federation: Add OpenAPI spec
2023-07-11 12:13:59 +02:00
Joas Schilling e285d72c10 Merge pull request #38561 from nextcloud/feat/noid/allow-to-match-client-versions-with-regex
feat(request): Allow to match the client version with the IRequest::U…
2023-07-11 11:36:54 +02:00
julia.kirschenheuter 34bbb4ed48 Set double outline to buttons in focus state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-11 11:22:39 +02:00
Benjamin Gaussorgues 12ee2581aa Merge pull request #39169 from nextcloud/fix/migrate-to-psr-logger-interface-files_sharing
Migrate files sharing to PSR LoggerInterface
2023-07-11 11:15:26 +02:00
Benjamin Gaussorgues 65c26c2fe0 Merge pull request #39160 from nextcloud/fix/migrate-to-psr-logger-interface-federatedfilesharing
Migrate federated file sharing to PSR LoggerInterface
2023-07-11 11:12:50 +02:00
Kate 5661fe9719 Merge pull request #39286 from nextcloud/feature/openapi/dashboard
dashboard: Add OpenAPI spec
2023-07-11 10:57:14 +02:00
dependabot[bot] 233cefbbed chore(deps): Bump semver from 5.7.1 to 5.7.2
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-11 06:59:16 +00:00
John Molakvoæ 2dfd9ee3c9 Merge pull request #39190 from nextcloud/bugfix/noid/move-dav-app-to-non-deprecated-dispatcher 2023-07-11 08:27:30 +02:00
Richard Steinmetz 9206c0f473 fix(dav): close cursor when fetching max id
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-11 08:05:34 +02:00
Kate 428153c8ba Merge pull request #39272 from nextcloud/feature/openapi/sharebymail
sharebymail: Add OpenAPI spec
2023-07-11 07:43:52 +02:00
Joas Schilling 33913ebc34 fix(workflowengine): Fix tested user agents of Android and iOS to match real ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 07:40:22 +02:00
Joas Schilling 308fc8d8ed fix(dav): Use IRequest constant to match version
The pattern matches since a 10 year old client version

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 07:35:50 +02:00
Joas Schilling 2c6f32cb28 feat(request): Allow to match the client version with the IRequest::USER_AGENT_* regex
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 07:35:50 +02:00
Joas Schilling 7457431f16 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 07:30:59 +02:00
Julius Härtl cae07aeda2 fix(flow): Revert invalid rename of check class for RequestTime
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-11 07:28:10 +02:00
jld3103 f8bed12cfb dashboard: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 07:23:00 +02:00
Nextcloud bot de3b6a2219 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-11 00:32:22 +00:00
Kate 0f2509e60c Merge pull request #39287 from nextcloud/feature/openapi/theming
theming: Add OpenAPI spec
2023-07-11 00:13:03 +02:00
Kate ed27f04307 Merge pull request #39284 from nextcloud/feature/openapi/settings
settings: Add OpenAPI spec
2023-07-10 23:10:25 +02:00
Robin Appelman f152aefce7 Merge pull request #39248 from nextcloud/custom-properties-preload
preload custom properties when propfinding folders
2023-07-10 21:55:37 +02:00
Kate ed55c54f05 Merge pull request #39274 from nextcloud/feature/openapi/weather_status
weather_status: Add OpenAPI spec
2023-07-10 18:54:44 +02:00
jld3103 b58ef2c0b1 theming: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 17:25:58 +02:00
jld3103 da7062b939 settings: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 17:06:32 +02:00
Kate c0f3588098 Merge pull request #39263 from nextcloud/feature/ignore-api-attribute
Add IgnoreOpenAPI attribute
2023-07-10 16:54:13 +02:00
jld3103 d8ce744403 federation: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 15:29:07 +02:00
Robin Appelman 61167e3149 Add optional to add backtrace to log items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 15:27:31 +02:00
jld3103 a353b78bda weather_status: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 15:17:59 +02:00
jld3103 9b822a5722 sharebymail: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 15:14:22 +02:00
jld3103 2d6a62ccee Add IgnoreOpenAPI attribute
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 14:25:22 +02:00
Johannes Merkel bb802956a2 enh(contacts): show/hide addressbooks for all
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-07-10 13:39:15 +02:00
Robin Appelman a84fa17c73 Merge pull request #39170 from nextcloud/orphan-share-command
add command do delete orphan shares
2023-07-10 13:17:17 +02:00
Kate 0d78334c7d Merge pull request #39257 from nextcloud/feature/openapi/comments
comments: Add OpenAPI spec
2023-07-10 10:48:30 +02:00
Richard Steinmetz ba2e243ed1 Merge pull request #39146 from nextcloud/fix/hide-circle-download-permission
fix(files_sharing): hide download permission for circle shares
2023-07-10 09:28:37 +02:00
jld3103 58746575dc comments: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 09:20:14 +02:00
Richard Steinmetz 270d3a4269 fix(files_sharing): hide download permission for circle shares
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-10 08:51:49 +02:00
Nextcloud bot 3fb8aad35b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-10 00:28:45 +00:00
Robin Appelman 95c3b8131a preload custom properties when propfinding folders
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-09 02:55:57 +02:00
Nextcloud bot 148c2a8da8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-09 00:35:19 +00:00
Nextcloud bot a62a8fab97 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-08 00:30:07 +00:00
Marcel Klehr 069962d04f Since 27.1.0
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:46:34 +02:00
Marcel Klehr 49ea56b306 LanguageModelApiController: Use jsonSerialize method to help psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr a4578cd995 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr bf2dcd67f3 LLM OCP API: Change Tests to use EventDispatcher mock
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 9f405a19f7 LLM OCP API: Improve scheduleTask docblock
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr ea4dc4cba8 LLM OCP API: Fix OpenApi docs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr de1cfaae9c LLM OCP API: Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 8f1a4f4255 LLM OCP API: Avoid using OC in OCP
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 3974953464 OCP\Common\NotFoundException: Add param type
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 9ccc65d68c LLM OCP API: Simplify TaskBackgroundJob#run catch block
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr e810a8b66b LLM OCP API: Explain TaskBackgroundJob#setAllowParallelRuns
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 05fcf31987 LLM OCP API: Don't lose trace of wrapped exceptions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 945522768e LLM OCP API: Simplify LanguageModelManager#canHandleTask
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr d56286b8ac LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr a28d8fac2f LLM OCP API: Add missing copyright and strict types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 0909657ea0 LLM Migration: Return null if nothing changed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr bad124c07b Update lib/public/LanguageModel/Events/TaskFailedEvent.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr ba950f7e34 Update lib/public/LanguageModel/ILanguageModelProvider.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 95d2bd50da Apply suggestions from code review
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 61b9b4f474 LLM OCS API: Add OpenAPI docs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr d33b7a8da4 LLM OCS API: s/tasks/tasktypes/
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 0a0e812453 LLM OCP API: Fix psam error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr d6d4e0ffe3 LLM OCP API: Fix psam errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr f7e1e79880 LLM OCP API: Fix security issue
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 62b19e0675 LLM OCP API: Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr f6f8cb4331 LLM OCP API: Add identifier param
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 5b772468ad Apply suggestions from code review
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr fb657bfff8 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 1747068e51 Fix LanguageModelManager#runTask: Insert task into db if it doesn't exist
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr c568c4a464 Add test for task cleanup
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 66c0e6b9f7 Make tests pass
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 20cb9935ca Fix tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr ebc7631544 Add preliminary tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 27e1c86652 ILanguageModelTask: Use php type checking along with psalm parameterized types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 0a94525042 ILanguageModelManager: Add docblock description
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 1623ad9eda TaskMapper#update: Use time factory
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr cb0f918d21 Add tasks::last_updated column and vacate tasks after a week
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 1d3661ded9 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 94fcf88892 LLM OCP API: Fix copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr b00a9a6eae LLM OCP API: Use OCP\Common\Exception\NotFoundException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr a7cd6bf5b8 OCP: Introduce OCP\Common\Exception\NotFoundException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 83db23ea48 LLM OCP API: strict types and copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 906e9b7014 LLM OCP API: Type shenanigans for Visitor pattern
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 8e4aa92167 Apply suggestions from code review
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr fb55afc9ff Update lib/public/AppFramework/Bootstrap/IRegistrationContext.php
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 5bc6180b38 LLM OCP API: Commit autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr fb4de16c11 LLM OCP API: Add task definitions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 249dd5cce4 Update lib/public/LanguageModel/ITopicsProvider.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 72ea76178a LLM OCP API: Fix coding style and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 75d7af86ac LLM OCP API: cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr fac83ce4b6 LLM OCP API: Fix static analysis
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 9935034480 LLM OCP API: Add @since
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr b6a95e35b0 LLM OCP API: Fix type errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr b8a9f08d83 LLM OCP API: Make linters happy
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr b6941aa5c3 LLM OCP API: cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 795b097122 LLM OCP API: Implement ocs API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 9d5717d239 LLM OCP API: ADd topics and headline tasks
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 9e9fc1d99b Fix Copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 82d3b00ab1 LLM OCP API: Add to RegistrationContext
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 6fc4cb63ef LLM OCP API: Add db migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 3413873653 LLM OCP API: Implement private backend code + add ILanguageModelTask
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 01dd1a894d LLM OCP API: Rework to use Task objects
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 70d5bf79e3 Initial work on lm OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Anna 42aabd2d8b Merge branch 'master' into fix/correct-exceptions-for-SAB 2023-07-07 12:45:31 +02:00
Joas Schilling e1d4b82111 fix(CI): Fix type confusion with Psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:55:17 +02:00
Joas Schilling 2bf339e2a7 fix(dav): Remove listener for events that never existed anywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:53:20 +02:00
Joas Schilling 80ee81faa1 fix(dav): Move listener to actually existing event
The legacy event was removed in 4bb31c021e

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:53:20 +02:00
Joas Schilling f59c74062a fix(dav): Move DAV app to non deprecated event dispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:53:19 +02:00
Arthur Schiwon 9bf6911559 Merge pull request #39133 from nextcloud/feature/openapi/user_status
user_status: Add OpenAPI spec
2023-07-07 10:43:06 +02:00
Benjamin Gaussorgues 45b3f6e2b3 Migrate federated file sharing to PSR LoggerInterface
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-07-07 09:00:35 +02:00
Nextcloud bot a9ba19d3d4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-07 00:27:34 +00:00
Daniel 5640246012 Merge pull request #39204 from nextcloud/docs/noid/rem-outdated-comment
docs(dav): remove outdated comment
2023-07-06 23:27:13 +02:00
John Molakvoæ 125b56f42b Merge pull request #39203 from nextcloud/fix/cypress-only-revert 2023-07-06 22:34:26 +02:00
Arthur Schiwon 5596af2b96 docs(dav): remove outdated comment
The method was added actually to PHP API in 28 and the mentioned check
is not in place anymore.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:57:08 +02:00
John Molakvoæ 93096a9a9b fix(cypress): revert only toggle
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-06 21:27:17 +02:00
Christoph Wurst ebd0fcc959 Merge pull request #39200 from nextcloud/fix/remove-already-removed-api-deprecation
fix: Remove deprecation warning for already removed API
2023-07-06 20:20:31 +02:00
Côme Chilliet d783728c8f Merge pull request #39189 from nextcloud/bugfix/noid/cleanup
fix: Cleanup unused imports and some type deprecations
2023-07-06 18:02:00 +02:00
Ferdinand Thiessen a5630abedc fix: Remove deprecation warning for already removed API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-06 17:40:31 +02:00
Christoph Wurst fc0bcaa282 Merge pull request #38663 from nextcloud/chore/oc-server-query-to-ocp-server-get-lib
chore: Replace \OC::$server->query with \OCP\Server::get in /lib
2023-07-06 17:04:23 +02:00
Christoph Wurst 14719110b9 chore: Replace \OC::$server->query with \OCP\Server::get in /lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-06 15:21:22 +02:00
Benjamin Gaussorgues 29c1848eda Migrate files sharing to PSR LoggerInterface
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-07-06 14:08:42 +02:00
Louis 5538a40029 Merge pull request #39165 from nextcloud/artonge/feat/enable_versions_features_with_groupfolders_enabled
Enable all files_versions features when groupfolders is enabled
2023-07-06 13:11:42 +02:00
Anna Larch 558e386e46 fix(CardDAV): catch right exception when checking for federated app classes
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-07-06 13:07:14 +02:00
Louis 3a504916cf Merge pull request #39164 from nextcloud/artonge/feat/add_411_ocs_error
Add OCSPreconditionFailedException
2023-07-06 12:33:41 +02:00
Joas Schilling abc8ff38cb fix: Cleanup unused imports and some type deprecations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-06 10:37:40 +02:00
Nextcloud bot 6d84160ba7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-06 00:30:35 +00:00
Louis Chemineau 407c361b91 Add OCSPreconditionFailedException
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-05 20:01:45 +02:00
Robin Appelman 50501f8515 add command do delete orphan shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-05 18:33:11 +02:00
John Molakvoæ 6862ff2800 Merge pull request #38950 from nextcloud/feat/f2v/favorites 2023-07-05 18:27:10 +02:00
John Molakvoæ 7f8a390b60 fix(files): show a border around the favorite icon for better contrast
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:49:44 +02:00
John Molakvoæ 19e2aaa5b4 fix: favorites colour, icon, unwanted eslint-disable, typing and preview
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:48:26 +02:00
John Molakvoæ 9b0e3a97cb fix(files): invalid default actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ 3e99d81574 chore: compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ e3bac437c2 chore: remove old favorites view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ 7929ad4a93 feat: add caption prop
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ 047218b5b0 feat: add favorites view testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ 18f88a7042 chore: update webdav to 5.2.2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 28c2d9e906 fix(files): sanitize name and ext display
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ fb61e3a761 feat: add modified column
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 7f76801220 fix(files): fix actions svg
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 0c407d28af feat: add view in folder action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 97d69c356f fix(files): hidden default actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ fa50f6ce14 fix(files): restore action tslint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 96face57a7 feat(files): import all actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ b9e6f4d259 feat(files): implement built-in renaming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ a0597da460 feat(files): sort favorites first
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ f029c8bd82 fix(files): fix favorites legacy to vue handling and sorting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 0984970cd8 feat(files): favorites
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:32 +02:00
Arthur Schiwon 79d24bfb8e Merge pull request #38176 from danialRahimy/master
Admin audit app: optimization according to PHP 8
2023-07-05 15:53:00 +02:00
Arthur Schiwon 86e7af1d82 Merge pull request #38978 from fsamapoor/refactor_lib_private_accounts
Refactors lib/private/Accounts classes
2023-07-05 15:52:34 +02:00
Louis Chemineau eb71ee950d Enable all files versions features when groupfolders is enabled
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-05 15:52:13 +02:00
Arthur Schiwon fc7944fc73 Merge pull request #39062 from nextcloud/fix/tag-search-short-circuit-master
fix(TagSearchProvider): Short circuit if no tag matches the query
2023-07-05 15:15:00 +02:00
Joas Schilling 75a15dcfe4 Merge pull request #38955 from nextcloud/bugfix/noid/dont-use-or
fix(eventdispatcher): Don't use all evaluating "or"
2023-07-05 14:40:10 +02:00
Danial Rahimi 91d50c595f Admin audit app: optimization according to PHP 8
Signed-off-by: Danial Rahimi <daniel_rahimi@outlook.com>
2023-07-05 14:16:37 +02:00
Faraz Samapoor 0133515644 Renames the property to improve the code readbility/clarity.
Based on:
 https://github.com/nextcloud/server/pull/38978#pullrequestreview-1514202944

Co-authored-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-05 14:23:09 +03:30
Christoph Wurst 247193f912 Merge pull request #39043 from nextcloud/fix/ocp/dashboard-widgetitems-see-widget-getitems
fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
2023-07-05 12:09:42 +02:00
Arthur Schiwon c5285d68b1 Merge pull request #39086 from nextcloud/bugfix/noid/migrate-admin_audit-to-IEventDispatcher
feat(admin_audit): Migrate to non-deprecated IEventDispatcher
2023-07-05 12:05:11 +02:00
Arthur Schiwon 74d78fb656 Merge pull request #39012 from fsamapoor/refactor_lib_private_security_part2
[2/3] Refactors lib/private/Security
2023-07-05 12:02:27 +02:00
Joas Schilling 21821d8303 Merge pull request #38910 from nextcloud/fix/nullish-trim-deprecation-warning
Cast string type for trim()
2023-07-05 07:53:25 +02:00
Nextcloud bot f78e415039 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-05 00:26:45 +00:00
Arthur Schiwon bacd14a790 Merge pull request #39115 from nextcloud/fix/unecrypted-size-part-files
fix(sse): don't update uncached files
2023-07-04 22:12:33 +02:00
Robin Appelman a8e2256114 Merge pull request #38975 from fsamapoor/constructor_property_promotion_in_remaining_core_classes
Uses PHP8's constructor property promotion in remaining /core classes
2023-07-04 17:44:43 +02:00
Robin Appelman dfefe7c2c8 Merge pull request #38974 from fsamapoor/constructor_property_promotion_in_core_migrations
Uses PHP8's constructor property promotion in core/Migrations
2023-07-04 17:33:30 +02:00
jld3103 6f9cf8817c user_status: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-04 15:47:22 +02:00
Richard Steinmetz c4eccbb304 fix(sse): don't update uncached files
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-04 12:42:29 +02:00
Joas Schilling eb09053897 feat(admin_audit): Migrate to non-deprecated IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-04 12:36:30 +02:00
Marcel Klehr 2c71a77f4b Merge pull request #39127 from nextcloud/fix/password-confirmation-master 2023-07-04 11:14:50 +02:00
Marcel Klehr 3036f467a8 Fix(OC/password-confirmation): Hide the correct button
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-04 09:55:46 +02:00
Kate 3117ec82f9 Merge pull request #39116 from nextcloud/feature/psalm-enable-more-less-specific
psalm: Enable more/less specific errors
2023-07-04 08:05:27 +02:00
Nextcloud bot c76fa68d39 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-04 00:29:17 +00:00
Johannes c3dcd70b91 Merge pull request #38969 from nextcloud/enh/38944/add-profile-url-to-sab
enh(sab): Add profileUrl to SAB
2023-07-03 19:11:25 +02:00
jld3103 cd91b77193 psalm: Enable more/less specific errors
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-03 18:09:27 +02:00
Johannes Merkel eda3824d91 enh(sab): Add profileUrl to SAB
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-07-03 17:55:18 +02:00
Daniel 646dfd2a40 Merge pull request #39070 from nextcloud/fix/bump-sabre/dav-to-4.4.0-in-master
Bump sabre/http to 5.1.7 in master
2023-07-03 16:35:34 +02:00
Joas Schilling 75d5fa4115 Merge pull request #39089 from nextcloud/bugfix/39087/fix-2fa-event-names
Fix event names of 2FA related typed events
2023-07-03 15:38:28 +02:00
Côme Chilliet 3719e7d2eb Bump sabre/dav to 4.4.0 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-07-03 15:23:49 +02:00
Joas Schilling 05aa39d777 Fix event names of 2FA related typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-03 14:25:01 +02:00
Kate fe8e2ff64b Merge pull request #39120 from nextcloud/fix/psalm-disable-cache
psalm: Disable cache
2023-07-03 14:20:12 +02:00
Faraz Samapoor 9d15e6e21d Fixes "PossiblyFalseArgument" notices.
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-03 13:13:11 +03:30
Faraz Samapoor 5db241b942 Refactors "strpos" calls in /apps/workflowengine to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-03 13:13:11 +03:30
Christoph Wurst 67709b390a Merge pull request #39057 from nextcloud/feat/ocp/type-icapabilities
feat(ocp): More specific type for ICapabilities::getCapabilities
2023-07-03 11:29:58 +02:00
jld3103 ab738a5b81 psalm: Disable cache
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-03 11:26:30 +02:00
John Molakvoæ 1d5beb3688 Merge pull request #39103 from nextcloud/fix/remove-orphaned-file 2023-07-03 11:18:29 +02:00
Côme Chilliet d86514ad48 Merge pull request #39096 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-07-03 10:34:32 +02:00
Côme Chilliet b2f01b72fe Merge pull request #34443 from nextcloud/feat/add-enabled-user-backend
Add IProvideEnabledStateBackend interface
2023-07-03 10:19:32 +02:00
Christoph Wurst 19499964d0 doc(ocp): Upgrade capability registration recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-03 10:03:45 +02:00
Christoph Wurst 95145ee0c9 feat(ocp): More specific type for ICapabilities::getCapabilities
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-03 10:03:45 +02:00
Nextcloud bot 5d9d37e2c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-03 00:30:37 +00:00
John Molakvoæ ac80328648 Merge pull request #39102 from nextcloud/fix/migrate-deprecated-ncappnavigationcounter 2023-07-02 17:30:44 +02:00
Faraz Samapoor 8cb078b58c Fixes testcase errors.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-02 12:01:11 +03:30
Nextcloud bot 1c7c75c253 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-02 00:31:00 +00:00
Ferdinand Thiessen 0d2bcb3701 chore(files_sharing): Remove orphaned file with deprecated imports
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-01 23:40:14 +02:00
Ferdinand Thiessen 215b3bbc9d fix(settings): Migrate away from NcAppNavigationCounter
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-01 23:12:06 +02:00
Git'Fellow 914cb809b4 Merge pull request #39093 from nextcloud/imageCreateFromString
Silent `imagecreatefromstring()` errors
2023-07-01 16:34:01 +02:00
Faraz Samapoor a1acacf032 Fixes Psalm error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-01 13:57:46 +03:30
Faraz Samapoor ed972439fc Refactors lib/private/Accounts.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-01 13:57:46 +03:30
nextcloud-command 372236ad63 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-07-01 03:44:28 +00:00
dependabot[bot] dbc0b75a5e chore(deps): Bump skjnldsv/read-package-engines-version-actions
Bumps [skjnldsv/read-package-engines-version-actions](https://github.com/skjnldsv/read-package-engines-version-actions) from 2.1 to 2.2.
- [Release notes](https://github.com/skjnldsv/read-package-engines-version-actions/releases)
- [Commits](https://github.com/skjnldsv/read-package-engines-version-actions/compare/v2.1...8205673bab74a63eb9b8093402fd9e0e018663a1)

---
updated-dependencies:
- dependency-name: skjnldsv/read-package-engines-version-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 02:16:34 +00:00
Nextcloud bot 2584786f31 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-01 00:25:13 +00:00
Pytal cb118d5bd6 Merge pull request #39073 from nextcloud/fix/setting_migrate-from-deprecated-ncpopovermenu 2023-06-30 15:51:15 -07:00
Git'Fellow 9d70fd3e64 Silent imagecreatefromstring() errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-30 21:58:44 +02:00
Ferdinand Thiessen e36fc974e0 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-30 11:38:11 -07:00
Ferdinand Thiessen 97683a5b66 fix(settings): Migrate away from deprecated NcPopoverMenu
* Replace popover menu with `NcActions`
* Deduplicate user actions code between `UserRow` and `UserRowSimple`
* Fix user action to cover whole row heigh to prevent dropdown from shining through the actions
* Fix user action popover to be overlayed by current edited row actions

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-30 11:38:11 -07:00
Louis d76f39889a Merge pull request #38905 from nextcloud/artonge/feat/improve_files_versions_preview_logic
Reduce load of files versions preview loading
2023-06-30 20:32:24 +02:00
Ferdinand Thiessen 83eb6c3205 Merge pull request #39049 from nextcloud/no-issue/accessibility/aria-labels-on-apps-slide-toggles
Update aria-expanded attribute for sidebar apps-slide-toggles
2023-06-30 14:31:50 +02:00
fenn-cs b83aaed283 Update aria-expanded attribute for sidebar apps-slide-toggles
Some apps which use the machanism provided in `core/src/OC/apps.js`
for toggle slide up/down in the side bar would equally rely on same for
`aria-expanded` state change.

For example : https://github.com/nextcloud/activity/pull/1230

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-30 11:47:21 +00:00
Marcel Klehr 29c0e078a1 Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-30 12:32:25 +02:00
Marcel Klehr 2951ae277d fix(TagSearchProvider): Short circuit if no tag matches the query
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-30 12:32:25 +02:00
Julius Härtl b179784278 Merge pull request #39025 from nextcloud/bugfix/noid/actions-empty-files 2023-06-30 10:12:41 +02:00
Kate 90a78d7caa Merge pull request #38802 from nextcloud/feature/type-responses
Add types to responses
2023-06-30 10:12:28 +02:00
jld3103 b0001c6010 Add template types to responses
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-30 09:33:29 +02:00
dependabot[bot] 794d511774 Merge pull request #38863 from nextcloud/dependabot/github_actions/cypress-io/github-action-5.8.3 2023-06-30 06:49:57 +00:00
dependabot[bot] b0c3f7aa96 chore(deps): Bump cypress-io/github-action from 5.8.1 to 5.8.3
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.8.1 to 5.8.3.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Commits](https://github.com/cypress-io/github-action/compare/db1693016f23ccf9043f4b2428f9b04e5d502a73...d69252d52b9a31bad4f418f05ba2bc83687a02eb)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 05:59:08 +00:00
John Molakvoæ 325e1bb035 Merge pull request #39076 from nextcloud/backport/39067/master 2023-06-30 07:58:06 +02:00
Nextcloud bot bb8b896254 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-30 00:29:43 +00:00
John Molakvoæ cfc88eac8c fix(cypress): branch definition and update from template
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-29 21:45:58 +02:00
Julius Härtl 40b380bb99 fix(files): Only render the menu if there are actions to show
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-29 20:26:54 +02:00
John Molakvoæ 5b7f81b1b5 Merge pull request #38900 from tanganellilore/add_theming_doc_url 2023-06-29 16:58:10 +02:00
Johannes Merkel 846754ed1a fix(mail): ContactManager search with fullmatch
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-06-29 16:48:56 +02:00
Côme Chilliet 189ccc2d72 Add method to list disabled users to IProvideEnabledStateBackend
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-29 16:15:12 +02:00
Côme Chilliet c7ea6cec56 Merge pull request #39018 from nextcloud/fix/migrate-to-loggerinterface-federation
Migrate federation application to LoggerInterface
2023-06-29 15:45:02 +02:00
Arthur Schiwon 7b7148c206 Merge pull request #35915 from nextcloud/enh/noid/display-name-federated-shares
display displayname on federated shares
2023-06-29 14:40:26 +02:00
Louis Chemineau 05acd916b5 Base versions' has-preview on mimetype
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-29 12:08:59 +02:00
Côme Chilliet 4a0351878c Avoid adding (attribute=) part to filter which will confuse LDAP servers
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-29 10:42:59 +02:00
Côme Chilliet fc3ac4d974 Merge pull request #38605 from fsamapoor/replace_strpos_calls_in_comments_app
Refactors "strpos" calls in /apps/comments
2023-06-29 10:32:08 +02:00
Christoph Wurst f43c24b0b1 Merge pull request #31790 from nextcloud/fix-events-with-old-lastoccurence
Fix creating events with old (< unix time) lastoccurence
2023-06-29 09:42:55 +02:00
Pytal ba25c66f3d Merge pull request #38839 from nextcloud/fix/36976-_9.1.4.11/8.2_-_The_frames_of_the_input_fields_do_not_meet_the_contrast_requirements 2023-06-28 17:33:37 -07:00
Ferdinand Thiessen 5e81a9e53d fix: Add cypress test for changing password in the users list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-29 00:08:21 +02:00
julia.kirschenheuter 3fba4c5529 Replace plain input fields with NcTextField fields and NcMultiSelect fields with NcSelect fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-28 21:53:12 +02:00
Christoph Wurst 6d81147dc4 Merge pull request #39042 from nextcloud/fix/ocp/timed-job-joblist-type
fix(ocp): TimedJob can't have a more specific argument than Job
2023-06-28 21:51:53 +02:00
Maksim Sukharev 8c73fedf95 Merge pull request #38832 from nextcloud/fix/38817/correct-user-status-save
Adjust saving of status messages
2023-06-28 19:35:28 +02:00
Louis Chemineau 505a11b3e7 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-28 17:00:23 +02:00
Louis Chemineau 6eb93c652a Do not load preview if version tab is not active
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-28 17:00:23 +02:00
julia.kirschenheuter 04d4fb6286 Replace plain input fields with NcTextField fields and NcMultiSelect fields with NcSelect fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-28 16:55:16 +02:00
Louis Chemineau 36c3846475 Provide hasPreview in files_versions DAV API
This allow to no request non existing previews
I also set some properties to the img element to reduce preview loading to what the browser think is necessary

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-28 16:46:48 +02:00
F. E Noel Nfebe 0d9abed754 Merge pull request #38498 from nextcloud/feat-replace-id3parser-with-mp3info
Replace id3parser with mp3info
2023-06-28 15:15:17 +01:00
Maksim Sukharev bcb074a90d wrap user status message input and buttons with native form
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-06-28 15:38:17 +02:00
Christoph Wurst c7c28a81d5 fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-28 15:07:23 +02:00
Christoph Wurst cb78805282 fix(ocp): TimedJob can't have a more specific argument than Job
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-28 14:59:36 +02:00
Daniel Kesselberg 3757f390c3 feat: replace id3parser with mp3info
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-28 14:58:59 +02:00
Maxence Lange d2efd0e03c displayname on federated shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-06-28 09:28:03 -01:00
Joas Schilling fbc63fe57c Merge pull request #38613 from nextcloud/feat/35959/async-guzzle-requests
feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
2023-06-28 09:04:36 +02:00
John Molakvoæ 7f3c26a65a Merge pull request #39038 from nextcloud/fix/replace-deprecated-vue-code 2023-06-28 08:10:27 +02:00
Julius Härtl eddb64f8c3 Merge pull request #37969 from nextcloud/poc/noid/systemtags-perf-tag-endpoint 2023-06-28 07:53:35 +02:00
Nextcloud bot 918aacdf1a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-28 00:30:40 +00:00
Arthur Schiwon d9487103c9 fix: cannot apply limit+offset on multi-tag-search
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-27 23:06:39 +02:00
Ferdinand Thiessen b74f0dcfe0 fix(core): Migrate from deprecated excludeClickOutsideClasses to excludeClickOutsideSelectors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-27 21:38:06 +02:00
John Molakvoæ c3982b7994 Merge pull request #39029 from nextcloud/feat/eslint-ts 2023-06-27 19:36:26 +02:00
Pytal fa37574006 Merge pull request #39020 from fsamapoor/refactor_lib_private_mail 2023-06-27 10:18:03 -07:00
John Molakvoæ cd54f7c7f4 chore: upgrade typescript, eslint and fix lint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-27 16:16:41 +02:00
Joas Schilling ec6728d710 feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-27 15:53:57 +02:00
Christoph Wurst 266436b767 Merge pull request #38990 from fsamapoor/refactor_lib_private_calendar
Refactor lib/private/Calendar
2023-06-27 13:38:59 +02:00
Thomas Citharel 1e390e1982 style(caldav): improve getDenormalizedData method
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-27 11:16:47 +00:00
Thomas Citharel 3886b00a33 Fix creating events with old (< unix time) lastoccurence
Closes #20804

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-27 11:16:47 +00:00
Simon L 06c99e0256 Merge pull request #39005 from nextcloud/fix/dav/upgrade-catch-sab-sync-errors
fix(dav): Catch SAB sync errors during upgrade
2023-06-27 13:01:39 +02:00
Faraz Samapoor a449bd1a0c Adds same object return annotations.
Based on: https://github.com/nextcloud/server/pull/38987#discussion_r1241866676

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-27 10:45:39 +02:00
Nextcloud bot 4cfab4b838 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-27 00:32:05 +00:00
Simon L 55afc26c98 Merge pull request #39015 from nextcloud/Jerome-Herbinet-qr-code-generation-button
Add "button" class to the QR code link
2023-06-26 20:38:02 +02:00
Côme Chilliet 2d81c04514 Merge pull request #38881 from nextcloud/fix/logcondition-user
Fix user log.condition feature
2023-06-26 17:25:45 +02:00
Côme Chilliet d34662f1a3 Migrate federation application to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-26 17:20:08 +02:00
Robin Appelman 39a0554c09 Merge pull request #38858 from nextcloud/scanner-performance3
file scanner performance improvements
2023-06-26 17:01:18 +02:00
Jérôme Herbinet e66271a0cd npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-26 14:54:59 +02:00
Jérôme Herbinet a07321f093 Add "button" class to the QR code link
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-26 14:48:42 +02:00
Daniel 9751303182 Merge pull request #38679 from nextcloud/feat/add-spec-to-preview-fetched-event
feat: add width, height, crop and mode to BeforePreviewFetchedEvent
2023-06-26 13:53:27 +02:00
Faraz Samapoor e73757b4a5 Refactors lib/private/Security.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-26 15:03:13 +03:30
Christoph Wurst 92c18b252c fix(dav): Catch SAB sync errors during upgrade
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-26 10:52:07 +02:00
Côme Chilliet 783f1b9a2a Merge pull request #38775 from fsamapoor/constructor_property_promotion_in_core_command_part9
Uses PHP8's constructor property promotion in core/Command and /
2023-06-26 10:38:06 +02:00
Simon L f7183c9dcf Merge pull request #38958 from nextcloud/enh/noid/use-getsystemvalue-mailer
use getsystemvalue-functions in Mailer.php
2023-06-26 10:23:29 +02:00
Côme Chilliet 8ed6086a82 Fix user log.condition feature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-26 10:07:22 +02:00
Nextcloud bot 7d7df35c2e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-26 00:27:54 +00:00
F. E Noel Nfebe 2de859d6c7 Merge pull request #38987 from fsamapoor/refactor_lib_private_mail
Refactors lib/private/Mail.
2023-06-25 18:56:10 +01:00
Simon L 72156d79f9 Merge pull request #38988 from nextcloud/fix/data-apps-slide-toggle
fix: restore AppsSlideToggle feature
2023-06-25 16:16:13 +02:00
John Molakvoæ adff75d559 fix: restore AppsSlideToggle feature
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-25 15:39:32 +02:00
Ferdinand Thiessen e5245da74a Merge pull request #38665 from nextcloud/fix/weather_status-osm-api
fix(weather_status): Pass address as param to OSM API
2023-06-25 14:14:11 +02:00
John Molakvoæ 31663ac56e Merge pull request #38986 from fsamapoor/refactor_lib_private_contacts 2023-06-25 12:42:18 +02:00
Faraz Samapoor c6ebdca488 Refactors lib/private/Calendar.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-25 13:58:30 +03:30
John Molakvoæ 6abb3ddb05 Merge pull request #38869 from nextcloud/automated/noid/master-fix-npm-audit 2023-06-25 12:20:54 +02:00
Faraz Samapoor ba4f998b53 Refactors lib/private/Mail.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-25 13:18:09 +03:30
Faraz Samapoor 9f2487d14b Refactors lib/private/Contacts.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-25 11:56:58 +03:30
nextcloud-command c9f8902b0c chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-06-25 03:30:40 +00:00
Nextcloud bot ec3289d1e3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-25 00:31:30 +00:00
Simon L 3f4b764911 Merge pull request #38844 from nextcloud/enh/add-detected-mime-type-to-exception
feat: add detected mime type to exception
2023-06-25 01:49:25 +02:00
Faraz Samapoor fd0e2f711a Fixes testcase error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-24 23:14:23 +02:00
Faraz Samapoor faaa8cc4e1 Update core/Command/TwoFactorAuth/Cleanup.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor 6e33efa543 Update core/Command/TwoFactorAuth/Enable.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor 34e8887ddb Update core/Command/TwoFactorAuth/Disable.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor 9bd9c09aae Update core/Command/TwoFactorAuth/State.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor 116b8c68a6 Update core/Command/TwoFactorAuth/Enforce.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor cb8850dc8f Update core/Command/Check.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor 0db0572626 Adds constructor to the Based class.
Based on:
https://github.com/nextcloud/server/pull/38775#discussion_r1227641788

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-24 23:14:23 +02:00
Faraz Samapoor c01129947e Uses PHP8's constructor property promotion.
in core/Command and /TwoFactorAuth classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-24 23:14:23 +02:00
Daniel Kesselberg f21cbfff64 feat: add detected mime type to exception
The mimetype may not match the file extension.
Helps the user to find out why a provided image is not accepted.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-24 22:38:57 +02:00
John Molakvoæ 10d563a873 Merge pull request #38852 from nextcloud/enh/noid/move-deprecation-warnings 2023-06-24 17:16:44 +02:00
Simon L 95deec130a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-24 15:00:15 +00:00
Simon L 908adb339b fix one more place
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Simon L 872483f279 only print deprecation logs if debug mode is enabled
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Simon L 1afc82327a Move deprecation warnings to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Nextcloud bot 99cbf778f3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-24 00:26:10 +00:00
Arthur Schiwon 17515995fa Merge pull request #38625 from nextcloud/fix/noid/querysearchehelper-narrow-type
fix: expect interface, not a specific implementation
2023-06-24 00:13:43 +02:00
Faraz Samapoor e98cf3c374 Uses PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-23 23:03:56 +03:30
Faraz Samapoor 04b12d9d27 Uses PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-23 22:50:49 +03:30
Arthur Schiwon 877ddd2827 Merge pull request #38965 from nextcloud/dav-directory-clean-cache-path
dav: clean path before putting it in the statcache
2023-06-23 18:48:56 +02:00
Simon L 1cb81ae625 try to fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-23 17:12:45 +02:00
Daniel Kesselberg 440f882322 feat: add width, height, crop and mode to BeforePreviewFetchedEvent
user_usage_report keeps a counter for files read.

The app uses

- OC_Filesystem::read hook
- Event listener (the legacy one) for IPreview::EVENT

Request for previews do not trigger the hook, hence the additional event listener.
The thumbnails for a list or grid view should not count, so we need the width and height.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-23 16:27:35 +02:00
John Molakvoæ ff5ed3f298 Merge pull request #38948 from nextcloud/Jerome-Herbinet-collaborative-tags-alignment-change 2023-06-23 16:01:52 +02:00
Robin Appelman 493e151be0 dav: clean path before putting it in the statcache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-23 14:39:17 +02:00
Simon L 76bedb8843 use getsystemvalue-functions in Mailer.php
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-23 11:16:02 +02:00
Jérôme Herbinet d12fbc518d Align collaborative tags differently
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Align collaborative tags differently

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Following @skjnldsv suggestion

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-23 11:07:49 +02:00
Julius Härtl 05f360c5ec Merge pull request #38800 from nextcloud/bugfix/noid/version-update-or-insert 2023-06-23 10:40:32 +02:00
Joas Schilling 19a0425aeb fix(eventdispatcher): Don't use all evaluating "or"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-23 09:14:34 +02:00
dependabot[bot] 82bb7a8a2a Merge pull request #38951 from nextcloud/dependabot/npm_and_yarn/fast-xml-parser-and-webdav-4.2.5 2023-06-22 21:08:17 +00:00
dependabot[bot] f89a4fcaa8 chore(deps): Bump fast-xml-parser and webdav
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) to 4.2.5 and updates ancestor dependency [webdav](https://github.com/perry-mitchell/webdav-client). These dependencies need to be updated together.

Updates `fast-xml-parser` from 4.2.4 to 4.2.5
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.2.4...v4.2.5)

Updates `webdav` from 5.1.0 to 5.2.1
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v5.1.0...v5.2.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
- dependency-name: webdav
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-22 20:26:31 +00:00
John Molakvoæ 6234b090cd Merge pull request #38939 from nextcloud/feat/f2v/more-actions 2023-06-22 22:08:31 +02:00
Arthur Schiwon 2e81a1d839 Merge pull request #38457 from nextcloud/fix/improve-ldap-offset-search-perf
Use default page size for jumping to desired offset
2023-06-22 21:46:03 +02:00
nextcloud-command cbc0f5e3b1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-22 17:09:57 +00:00
John Molakvoæ 135929c38c feat: add rename action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +02:00
John Molakvoæ 05bfab243a fix(files): action default is false if not set
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +02:00
John Molakvoæ 723edb5654 feat: add favorite action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +02:00
Robin Appelman 7fa941e76f Merge pull request #38945 from nextcloud/dav-meta-directory-content
implement optimized getDirectoryContent for DAV
2023-06-22 18:14:24 +02:00
Louis Chemineau 7fec07196d Do not create a new version if previousNode has the same mtime
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-22 17:49:49 +02:00
Robin Appelman 279822c217 implement optimized getDirectoryContent for DAV
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-22 16:34:32 +02:00
Louis cbebc50987 Merge pull request #38771 from fsamapoor/constructor_property_promotion_in_core_command_part7
Uses PHP8's constructor property promotion core/Command/Info, /Integrity, and /Preview
2023-06-22 14:09:06 +02:00
Johannes 199b9788e6 Merge pull request #38856 from nextcloud/fix/contacts/3404/put-location-in-proper-place
fix(sab): put location in proper address field
2023-06-22 11:51:33 +02:00
Marcel Klehr 618c3a4817 Merge pull request #38928 from nextcloud/fix/missing-systemtags-index 2023-06-22 11:21:06 +02:00
John Molakvoæ 1112963385 feat: add edit locally action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 10:47:08 +02:00
Marcel Klehr e774708482 fix(systemtags): Keep non-existing index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-22 10:12:15 +02:00
Marcel Klehr ee9ad9c9de fix(systemtags): Move index creation from new migration to existing original migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-22 09:49:53 +02:00
Joas Schilling a3fe1adb03 Merge pull request #38917 from nextcloud/bugfix/talk-9558/plural-issue-with-some-language-locale-combinations
fix(l10n): Fix plural issue with different locale and language
2023-06-22 09:17:48 +02:00
Joas Schilling e9d8dbf53c Merge pull request #38747 from nextcloud/perf/early-exit-mkcol
perf: skip request without write permission
2023-06-22 09:02:55 +02:00
Nextcloud bot 44850c27a0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-22 00:30:16 +00:00
Pytal 956eece9d4 Merge pull request #38826 from nextcloud/enh/a11y-new-user 2023-06-21 16:13:25 -07:00
Arthur Schiwon 00b396a674 refactor: save unnecessary method_exists
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:35:41 +02:00
Arthur Schiwon a0b683477f fix: use array_unitersect against objects
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:02 +02:00
Arthur Schiwon 27f6f86d75 fix: obey offset and limit for results from favs and circles
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +02:00
Arthur Schiwon a0f9556f7c fix: cominbation of small fixes
- possible null return
- parameter name mismatch in implementation
- incomplete unit test

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +02:00
Arthur Schiwon 49db546f78 fix: include invisible tags for admins
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +02:00
Arthur Schiwon 29f59a54b4 fix: search with more than one search tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:00 +02:00
Christopher Ng 84ff000767 enh(a11y): New user modal
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-21 11:12:40 -07:00
F. E Noel Nfebe 3a557a88ce Merge pull request #38924 from nextcloud/automated/update-engines/default
chore: update node engines to next LTS
2023-06-21 17:57:12 +01:00
Julius Härtl ea575e342f fix(s3): Pass SSE-C parameters for multipart upload
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-21 18:32:24 +02:00
Arthur Schiwon 221562d45d feat: add searchBySystemTag as PHP API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +02:00
Arthur Schiwon 30028bb9ac fix: no search when LazyFolder was provided
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +02:00
Arthur Schiwon ddb65be58f chore: cleanup unused code
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +02:00
Arthur Schiwon be50bd1b0f fix: ensure searchBySystemTag() is available
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +02:00
Arthur Schiwon 783e32a64d fix: favorites view and universal search against tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +02:00
Arthur Schiwon b0d1cf5730 fix: change if with conditionless else to switch; and a parameter value
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +02:00
Arthur Schiwon 58f7fd2370 use efficient tag retrieval on DAV report request
- uses DAV search approach against valid files joined by systemtag selector
- reduced table join for tag/systemtag search
- supports pagination
- no changes to the output formats or similar

Example request body:

<?xml version="1.0"?>
<oc:filter-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns" xmlns:ocs="http://open-collaboration-services.org/ns">
  <d:prop>
    <d:getcontentlength/>
    <d:getcontenttype/>
    <d:getetag/>
    <d:getlastmodified/>
    <d:resourcetype/>
    <nc:face-detections/>
    <nc:file-metadata-size/>
    <nc:has-preview/>
    <nc:realpath/>
    <oc:favorite/>
    <oc:fileid/>
    <oc:permissions/>
    <nc:nbItems/>
  </d:prop>
  <oc:filter-rules>
    <oc:systemtag>32</oc:systemtag>
  </oc:filter-rules>
  <d:limit>
    <d:nresults>50</d:nresults>
    <nc:firstresult>0</nc:firstresult>
  </d:limit>
</oc:filter-files>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +02:00
Arthur Schiwon 088a0eea29 ci: pro forma check of existence of internal method
createNode() is protected and used by Folder, but being an internal-only
method it shall not be exposed in the Folder or IRootFolder interface.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 16:53:20 +02:00
Arthur Schiwon 71e41ffeeb refactor: declare getMount() and getMountsIn() at IRootFolder
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 16:53:20 +02:00
Arthur Schiwon f6ac874dbf chore: ugly type juggling
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 16:53:20 +02:00
Arthur Schiwon 167a5f394d fix: add typehine for IRootFolder
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 16:53:19 +02:00
Arthur Schiwon eb50b6c6aa fix: expect interface, not a specific implementation
- fixes a regression when deleting folders while music app was enabled,
  for a LazyRoot was passed to this method.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 16:53:13 +02:00
John Molakvoæ a17d01951f Merge pull request #38927 from nextcloud/bugfix/noid/package.json-editorconfig 2023-06-21 16:41:05 +02:00
Robin Appelman 58a4a222d0 clean failed upload chunks
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-21 15:32:27 +02:00
Marcel Klehr fcf1c3033b fix(systemtags): Add missing systemtags index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-21 15:20:30 +02:00
Joas Schilling 41267873b6 chore: Adjust editorconfig for package.json and package-lock.json
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-21 14:57:48 +02:00
John Molakvoæ f5120fb497 chore: update node engines to next LTS (node 20 / npm 9)
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 12:47:16 +02:00
John Molakvoæ 32bbe3db81 Merge pull request #38806 from nextcloud/feat/f2v/actions-1 2023-06-21 11:36:11 +02:00
Julius Härtl b94145f6bd fix: Add logging statement for cases when updating the version fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-21 10:35:12 +02:00
John Molakvoæ a70aa61dff chore: add __tests__ and __mocks__ to file checker and fix updated names
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 10:14:34 +02:00
Louis Chemineau ecdcc72e4d Handle previousNode size === 0 on version creation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-21 09:56:20 +02:00
John Molakvoæ 89711482c5 chore: update old codecov config
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:27:56 +02:00
John Molakvoæ 45ecd55d89 feat: prepare jest coverage support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ 70ee8de0ab fix(jest): replace mock with jest.spyOn
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ 809631539e feat: add open folder action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ 1b0848a7dd feat: add download action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ 9fbdc00274 feat: add delete action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
John Molakvoæ c31b2329dc feat: add sidebar action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
John Molakvoæ f8e697ce4d feat: prepare jest upgrade and ts testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
John Molakvoæ 8b5ef98495 fix: delete action import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
Joas Schilling ab8205fd35 fix(l10n): Fix plural issue with different locale and language
We need to use the language code here instead of the locale,
because Symfony does not distinguish between the two and would
otherwise e.g. with locale "Czech" and language "German" try to
pick a non-existing plural rule, because Czech has 4 plural forms
and German only 2.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-21 07:14:56 +02:00
Simon L 5fb7ea22be Merge pull request #38915 from nextcloud/enh/noid/increase-https-warning
adjust admin setup check to increase warning to configure https
2023-06-21 04:41:14 +02:00
Nextcloud bot 5474387209 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-21 00:37:42 +00:00
Simon L d25d5d34f7 adjust admin setup check to increase warning to set up https
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 22:54:48 +02:00
Louis 358ce60b10 Merge pull request #38762 from fsamapoor/constructor_property_promotion_in_core_command_part1
Uses PHP8's constructor property promotion in core/Command/Encryption
2023-06-20 18:56:39 +02:00
dartcafe 2211721c2b fixed quotes
Signed-off-by: dartcafe <github@dartcafe.de>
2023-06-20 18:35:10 +02:00
dartcafe ed294f6e43 add type #38909
Signed-off-by: dartcafe <github@dartcafe.de>
2023-06-20 18:35:10 +02:00
Côme Chilliet d1d2542c79 Throw if creation date is read before inserting into database
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: dartcafe <github@dartcafe.de>
2023-06-20 18:35:10 +02:00
Carl Schwan 854836c56a Improve typing in ICommentsManager
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: dartcafe <github@dartcafe.de>
2023-06-20 18:35:10 +02:00
Carl Schwan 8f94fd0102 Cleanup comments code
- Fix various psalm issues
- Add as much typing as possible while preserving stable API

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: dartcafe <github@dartcafe.de>
2023-06-20 18:35:09 +02:00
Louis 6d33356ede Merge pull request #38768 from fsamapoor/constructor_property_promotion_in_core_command_part5
Uses PHP8's constructor property promotion in core/Command/Config and Group
2023-06-20 17:49:32 +02:00
Simon L 56c16b306f Merge pull request #38639 from charno/bugfix/36644-pruneOutdatedSyncTokens-deletes-all-entries
Bugfix/36644 pruneOutdatedSyncTokens deletes all entries
2023-06-20 16:36:28 +02:00
Faraz Samapoor 90035e98c1 Update core/Command/Encryption/DecryptAll.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 16:24:46 +02:00
Faraz Samapoor 9c2abae59c Update core/Command/Encryption/EncryptAll.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 16:24:46 +02:00
Faraz Samapoor bcfbcbb91c Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 16:24:46 +02:00
Faraz Samapoor 2ace19fc54 Fixes php-cs error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 16:24:46 +02:00
Faraz Samapoor f9a9ad50c3 Uses PHP8's constructor property promotion in core/Command/Encryption classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 16:24:46 +02:00
Johannes Merkel 3cb8968808 fix(sab): put location in proper address field
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-06-20 16:18:09 +02:00
Côme Chilliet b980722e89 Fix paged search when offset is not a multiple of default page size
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 16:13:59 +02:00
Côme Chilliet 14ac281acf Merge pull request #38638 from fsamapoor/constructor_property_promotion_part3
[3/3] Refactors /core controllers using constructor property promotion.
2023-06-20 15:33:53 +02:00
Côme Chilliet 1603cdc8d2 Fix since annotations and add boolean return type for setUserEnabled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 15:10:39 +02:00
Côme Chilliet d9e9d4e123 Merge pull request #35424 from nextcloud/cleanup/comments
Cleanup comments code
2023-06-20 14:50:04 +02:00
Côme Chilliet 7aa97dcc23 Throw if creation date is read before inserting into database
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 12:14:57 +02:00
Carl Schwan 77355a8a79 Improve typing in ICommentsManager
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-06-20 10:55:26 +02:00
Carl Schwan 9725d00329 Cleanup comments code
- Fix various psalm issues
- Add as much typing as possible while preserving stable API

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-06-20 10:55:20 +02:00
Faraz Samapoor 4ce7173f7e Update core/Controller/SetupController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 10:38:46 +02:00
Faraz Samapoor 2800436948 Applies agreed-upon indentation convention to the changed controllers.
Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 10:38:46 +02:00
Faraz Samapoor 9eedeb4012 Refactors controllers by using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 10:38:46 +02:00
Côme Chilliet 5063bf37ed Merge pull request #38774 from fsamapoor/constructor_property_promotion_in_core_command_part8
Uses PHP8's constructor property promotion in core/Command/Log, /Security, and /SystemTag
2023-06-20 10:12:52 +02:00
Faraz Samapoor b590059c26 Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:30:21 +02:00
Faraz Samapoor c0a5bdea5e Uses PHP8's constructor property promotion.
in core/Command/Info, /Integrity, and /Preview classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:30:21 +02:00
Faraz Samapoor 51aae7866c Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:29:50 +02:00
Faraz Samapoor 3519689d50 Uses PHP8's constructor property promotion in core/Command/Config and core/Command/Group classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:29:50 +02:00
Nextcloud bot 64c19ce3aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-20 00:22:52 +00:00
Simon L 892a837ecb Merge pull request #38888 from nextcloud/artonge/fix/dont_disable_action_during_save
Don't disable actions when saving share permissions
2023-06-20 00:32:54 +02:00
Julius Härtl bec4f76e6b Merge pull request #38890 from nextcloud/obj-store-copy-list-source-cache 2023-06-19 22:40:55 +02:00
Lorenzo Tanganelli cc239f5059 add getDocBaseUrl that exted default
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
2023-06-19 20:18:10 +00:00
Louis d9bf410762 Merge pull request #38769 from fsamapoor/constructor_property_promotion_in_core_command_part6
Uses PHP8's constructor property promotion core/Command/App,/Background, and /Broadcast
2023-06-19 21:09:24 +02:00
Simon L f8cf61addf Merge pull request #38876 from Freiheitswolke/style/config/alphabetise-preview-providers
style(config): alphabetise preview providers
2023-06-19 20:24:02 +02:00
Faraz Samapoor f63c52a396 Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 17:44:48 +02:00
Faraz Samapoor d83944fd10 Uses PHP8's constructor property promotion.
in core/Command/Log, /Security, and /SystemTag classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 17:44:48 +02:00
Louis 81bb3362b2 Merge pull request #38767 from fsamapoor/constructor_property_promotion_in_core_command_part4
Uses PHP8's constructor property promotion in core/Command/Maintenance
2023-06-19 17:43:12 +02:00
Louis 98ea74bb40 Merge pull request #38764 from fsamapoor/constructor_property_promotion_in_core_command_part2
Uses PHP8's constructor property promotion in core/Command/Db classes.
2023-06-19 17:27:10 +02:00
Louis c24e05f9c0 Merge pull request #38766 from fsamapoor/constructor_property_promotion_in_core_command_part3
Uses PHP8's constructor property promotion in core/Command/User classes.
2023-06-19 17:09:08 +02:00
Robin Appelman de85610385 use source cache when listing folder during recursive copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-19 16:40:15 +02:00
Daniel Kesselberg debd03f30d perf: skip request without write permission
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-19 13:42:13 +00:00
Louis 4bfd7ee9eb Merge pull request #38865 from nextcloud/dependabot/npm_and_yarn/nextcloud/files-3.0.0-beta.10
bump @nextcloud/files from 3.0.0-beta.9 to 3.0.0-beta.10
2023-06-19 14:09:01 +02:00
Julien Veyssier 247c874b51 Merge pull request #38773 from nextcloud/fix/noid/protect-oauth2-api-controller
Add bruteforce protection in OauthApiController
2023-06-19 13:46:18 +02:00
Joda Stößer a4a7971f11 style(config): alphabetise preview providers
Signed-off-by: Joda Stößer <git@simjo.st>
2023-06-19 13:32:03 +02:00
Faraz Samapoor cda0f74e0b Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:27 +02:00
Faraz Samapoor ea844ca5fb Uses PHP8's constructor property promotion.
in core/Command/App, /Background, and /Broadcast classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:27 +02:00
Faraz Samapoor d60bedfeee Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:22 +02:00
Faraz Samapoor ec63264153 Uses PHP8's constructor property promotion in core/Command/Maintenance classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:22 +02:00
Faraz Samapoor 1e8ec53b8c Update core/Command/Db/ConvertType.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +02:00
Faraz Samapoor 73d7c45ae1 Update core/Command/Db/ConvertFilecacheBigInt.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +02:00
Faraz Samapoor d34cafc58c Update core/Command/Db/Migrations/MigrateCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +02:00
Faraz Samapoor f1a19a10fc Update core/Command/Db/Migrations/StatusCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +02:00
Faraz Samapoor b5cbba7fc1 Uses PHP8's constructor property promotion in core/Command/Db classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:15 +02:00
Faraz Samapoor 9dc4efc52a Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:10 +02:00
Faraz Samapoor 99f117146d Uses PHP8's constructor property promotion in core/Command/User classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:10 +02:00
Louis ceee417d2c Merge pull request #38637 from fsamapoor/constructor_property_promotion_part2
[2/3] Refactors /core controllers using constructor property promotion.
2023-06-19 12:22:07 +02:00
dependabot[bot] f3f9e76684 bump @nextcloud/files from 3.0.0-beta.9 to 3.0.0-beta.10
---
updated-dependencies:
- dependency-name: "@nextcloud/files"
  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>
2023-06-19 10:20:57 +00:00
Louis Chemineau fbde8f91b6 Don't disable actions when saving share permissions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-19 12:13:19 +02:00
Simon L b33cbecb47 Merge pull request #38868 from nextcloud/enh/noid/fix-mail-confusion
fix confusion around mail settings and improve layout a bit
2023-06-19 11:35:19 +02:00
Kate 885dc63737 Merge pull request #38878 from nextcloud/cleanup/controller-service-aliases
Cleanup controller service aliases
2023-06-19 11:20:02 +02:00
Julien Veyssier 629adc318f add bruteforce protection in OauthApiController
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-19 11:18:06 +02:00
Hephi2 59f63a72cb Merge pull request #38776 from nextcloud/fix/app-menu-do-not-invert-text
fix(core): Do not invert app menu text color
2023-06-19 11:09:06 +02:00
Jonas 0397e9de44 Compile JS assets
Signed-off-by: Jonas <jonas@freesources.org>
2023-06-19 09:52:14 +02:00
Ferdinand Thiessen 7f861980a3 fix(core): Do not invert app menu text color
* Also fixes other cypress test
* Build assets

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-19 09:49:36 +02:00
jld3103 efb7448cd2 workflowengine: Stop using a service alias for controller
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-19 09:43:44 +02:00
jld3103 4cd07d79a7 comments: Stop using a service alias for controller
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-19 08:12:25 +02:00
Nextcloud bot 7250b98791 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-19 00:18:02 +00:00
Nextcloud bot 79aca5520e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-18 00:17:49 +00:00
Simon L 7918bb14c8 fix confusion around mail settings
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-17 18:26:34 +02:00
Nextcloud bot bd3f3afcf7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-17 00:17:53 +00:00
Faraz Samapoor d64aa85b04 Applies agreed-upon indentation convention to the changed controllers.
Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-16 19:29:40 +02:00
Faraz Samapoor 73b7096850 Fixes psalm error.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-16 19:29:40 +02:00
Faraz Samapoor 468aefc649 Fixes php-cs-fixer error.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-16 19:29:40 +02:00
Faraz Samapoor 4bf610ebaf Refactors controllers by using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-16 19:29:40 +02:00
Robin Appelman d820ab2ca8 Merge pull request #38843 from nextcloud/message-log-event-type
fix type in BeforeMessageLoggedEvent
2023-06-16 17:57:24 +02:00
Robin Appelman 292c0e53f8 add summary of detected changes to files:scan output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-16 17:56:34 +02:00
Robin Appelman 561536fc58 file scanner performance improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-16 16:31:48 +02:00
Simon L b288d27c51 Merge pull request #38823 from nextcloud/enh/noid/fix-icons
generate user themed favicon and touchicon
2023-06-16 13:05:45 +02:00
Louis 7afcc44827 Merge pull request #38793 from Jenandra/fix-subadminsgroups-css-name
align subadmins css class name
2023-06-16 10:09:05 +02:00
Nextcloud bot f815190afa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-16 00:18:00 +00:00
Simon L 734b8c26db generate user themed favicon and touchicon
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 00:24:27 +02:00
Andy Scherzinger b7ee7e745a Merge pull request #38841 from nextcloud/fix/code-ownders-vitor
fix: Removed invalid user from CODEOWNERS file
2023-06-16 00:06:54 +02:00
Robin Appelman 53443e836f fix type in BeforeMessageLoggedEvent
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-15 17:29:11 +02:00
Christoph Wurst 1cc45d4a00 fix: Removed invalid user from CODEOWNERS file
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-15 16:33:58 +02:00
Kate 6cb75e8bf5 Merge pull request #38830 from nextcloud/fix/files-api-route-names
Fix files API route names
2023-06-15 16:18:59 +02:00
Côme Chilliet 645d9a93f7 Merge pull request #38827 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-06-15 16:11:47 +02:00
Silke Suck 1442cfbfe9 duplicate css for subadmins to allow for both class names being used
Signed-off-by: Silke Suck <silke.suck@adacor.com>
2023-06-15 15:39:42 +02:00
Silke Suck 04b0f2450f align subadmins css class name with actually used class name subAdminsGroups to fix display issue when users are in many groups
Signed-off-by: Silke Suck <silke.suck@adacor.com>
2023-06-15 15:39:42 +02:00
jld3103 bf32430891 Fix files API route names
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-15 10:21:35 +02:00
nextcloud-command fe8d29236f Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-06-15 02:40:26 +00:00
Nextcloud bot b961171b60 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-15 00:18:00 +00:00
Julien Veyssier 8c7e2cd567 Merge pull request #38770 from nextcloud/fix/38398/oauth-encrypted-secret-length
Make oauth2 client secret column larger
2023-06-14 17:21:51 +02:00
Julien Veyssier 578bf8cc0b add extra migration that sets the secret column length in case the previous step has run when it was setting it to 256
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-14 17:21:38 +02:00
Julien Veyssier 24e517c5b3 make oauth2 client secret column larger
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-14 17:21:38 +02:00
Julien Veyssier 8086d7e41b add test that inserts a long oauth client secret
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-14 17:21:38 +02:00
Kate bfeb741bb3 Merge pull request #36214 from nextcloud/techdebt/noid/define-parameters-of-federated-file-sharing
Specify the parameters of FederatedFileSharing controllers
2023-06-14 16:00:55 +02:00
Simon L b8c3f6bd2d Merge pull request #38742 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-06-14 15:26:43 +02:00
Joas Schilling bf4c5bd556 Specify the parameters of FederatedFileSharing controllers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-14 14:54:44 +02:00
nextcloud-command 3ab1b05895 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-06-14 12:16:26 +00:00
Simon L e4927cd915 Merge pull request #38804 from nextcloud/fix/38798/show-button-only-one-time
make sure to show download button only one time
2023-06-14 13:40:01 +02:00
Robin Appelman e6959bd5ec Merge pull request #38490 from nextcloud/log-dispatch-event
emit an event when a message is logged
2023-06-14 13:17:42 +02:00
Simon L 7d851fb3e2 Merge pull request #38803 from nextcloud/deps/nc
Bump @nextcloud/auth @nextcloud/axios @nextcloud/calendar-availability-vue @nextcloud/dialogs @nextcloud/files and @nextcloud/router
2023-06-14 11:42:09 +02:00
Simon L 315c7d3646 make sure to show download button only one time
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-14 11:39:49 +02:00
John Molakvoæ eff14a2382 Bump @nextcloud/auth @nextcloud/axios @nextcloud/calendar-availability-vue @nextcloud/dialogs @nextcloud/files and @nextcloud/router
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-14 10:47:19 +02:00
Nextcloud bot c12a64fa52 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-14 00:17:56 +00:00
Julius Härtl e76c96be5c fix: Avoid failing to update the current version entry if there is none
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-13 22:10:13 +02:00
Louis 69f6585e36 Merge pull request #38794 from bensmrs/master
Enable version features again with S3 versioning
2023-06-13 21:45:23 +02:00
Robin Appelman d9fa7b1e28 emit an event when a message is logged
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-13 18:45:48 +02:00
Benjamin Somers 75e04614c1 Enable version features again with S3 versioning
Signed-off-by: Benjamin Somers <bsomers@resel.fr>
2023-06-13 15:06:36 +02:00
Daniel Kesselberg aedb4bef1e chore: don't copy additional configuration files to integration test container
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-13 14:25:43 +02:00
Kate 38d64f45be Merge pull request #38745 from nextcloud/feature/ocs-xml-stdclass
Allow stdClass in XML responses
2023-06-13 13:30:55 +02:00
Christoph Wurst 3f766e90af Merge pull request #38777 from nextcloud/fix/carddav/system-address-book-nullable-groupmanager
fix(carddav): Make SystemAddressBook::__construct $groupManager argument nullable
2023-06-13 12:40:06 +02:00
Simon L 4b3c552508 Merge pull request #38292 from dfuchss/feature/configurabe_timeout
Add config variable for curl timeout
2023-06-13 12:18:08 +02:00
jld3103 7f4651637a Allow stdClass in XML responses
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-13 11:44:47 +02:00
Dominik Fuchß e3f6a13e14 Fix deprecated method call
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-13 10:31:33 +02:00
Dominik Fuchß a4a57409db Changes after code review.
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-13 10:31:33 +02:00
Dominik Fuchß c3ba871f36 Add config variable for curl timeout
Add the config variable for curl calls ("remote_curl_timeout"). E.g., needed for nextcloud federation.

Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-13 10:31:33 +02:00
John Molakvoæ 39b716cc78 Merge pull request #38781 from nextcloud/ci/noid/pin-setup-php 2023-06-13 09:29:56 +02:00
John Molakvoæ 46c1d97ccb Merge pull request #38787 from nextcloud/dependabot/github_actions/actions/setup-node-3 2023-06-13 09:18:05 +02:00
John Molakvoæ da7b4079ee Merge pull request #38786 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3 2023-06-13 09:17:37 +02:00
John Molakvoæ 14ae779d62 Merge pull request #38788 from nextcloud/dependabot/github_actions/actions/upload-artifact-3 2023-06-13 09:17:27 +02:00
John Molakvoæ 042003ac3d Merge pull request #38785 from nextcloud/dependabot/github_actions/skjnldsv/read-package-engines-version-actions-2.2
chore(deps): Bump skjnldsv/read-package-engines-version-actions from 1.1 to 2.2
2023-06-13 09:16:22 +02:00
Nextcloud bot ee45b13327 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-13 00:18:06 +00:00
dependabot[bot] 89eecf93f7 chore(deps): Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...0b7f8abb1508181956e8e162db84b466c27e18ce)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:48 +00:00
dependabot[bot] 30639c9276 chore(deps): Bump actions/setup-node from 2 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:45 +00:00
dependabot[bot] acf0f16491 chore(deps): Bump peter-evans/create-or-update-comment from 2 to 3
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 2 to 3.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v2...c6c9a1a66007646a28c153e2a8580a5bad27bcfa)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:42 +00:00
dependabot[bot] 874d7917db chore(deps): Bump skjnldsv/read-package-engines-version-actions
Bumps [skjnldsv/read-package-engines-version-actions](https://github.com/skjnldsv/read-package-engines-version-actions) from 1.1 to 2.2.
- [Release notes](https://github.com/skjnldsv/read-package-engines-version-actions/releases)
- [Commits](https://github.com/skjnldsv/read-package-engines-version-actions/compare/v1.1...8205673bab74a63eb9b8093402fd9e0e018663a1)

---
updated-dependencies:
- dependency-name: skjnldsv/read-package-engines-version-actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:36 +00:00
Simon L 7903b42d71 Merge pull request #38737 from kurtmckee/add-dependabot-for-actions
Add a Dependabot configuration to autoupdate GitHub action versions
2023-06-13 00:05:57 +02:00
Arthur Schiwon 8d8c8654cf ci: pin setup-php to avoid a regression
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-12 23:55:02 +02:00
Christoph Wurst 62c41967e8 fix(carddav): Make SystemAddressBook::__construct $groupManager argument nullable
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-12 18:44:25 +02:00
Faraz Samapoor 8778f2912f Merge branch 'master' into replace_strpos_calls_in_settings_app
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-12 16:52:06 +03:30
Simon L 63bf207ca7 Merge pull request #38642 from nextcloud/chore/appframework/drop-emptycontentsecuritypolicy-allowinlinescript
chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript
2023-06-12 14:20:11 +02:00
Simon L 83faba5e61 Merge pull request #38591 from nextcloud/fix/caching/avoid-haskey-get
fix(caching): Avoid checking existence before fetching
2023-06-12 13:53:37 +02:00
Simon L e390a3569e Merge pull request #38735 from nextcloud/enh/noid/update-disabled-updater-wording
allow to specify upgrade.cli-upgrade-link in order to link to the correct documentation
2023-06-12 12:58:59 +02:00
Simon L 0d18929b3d Merge pull request #38636 from fsamapoor/constructor_property_promotion_part1
[1/3] Refactors /core controllers using constructor property promotion.
2023-06-12 11:18:42 +02:00
Christof Arnosti 73fb2997f4 Issue #36644: Fix pruneOutdatedSyncTokens for CalDAV
pruneOutdatedSyncTokens accidentally deletes all entries of the calendarchanges table
instead of leaving $limit elements in the table

Signed-off-by: Christof Arnosti <charno@charno.ch>
2023-06-12 08:35:35 +00:00
Christoph Wurst 08a3f37695 chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-12 10:03:59 +02:00
Simon L 1001adc390 Merge pull request #38725 from nextcloud/dropMetaRobots
Drop meta robots header
2023-06-12 09:47:24 +02:00
Simon L ac57cf9f6b Merge pull request #38619 from fsamapoor/replace_strpos_calls_in_files_external_app
Refactors "strpos" calls in /apps/files_external
2023-06-12 09:46:43 +02:00
Faraz Samapoor 7e33e59730 Refactors "strpos" calls in /apps/comments to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-12 09:45:12 +02:00
Christoph Wurst b8c61b3515 fix(caching): Avoid checking existence before fetching
The cache might expire between checking for key existence and fetching
the value. In this rare case the code continues with a null value when
it doesn't expect one.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-12 09:44:48 +02:00
Simon L c93be182dc Merge pull request #38543 from fsamapoor/use_null_coalescing_operator
Uses "Null Coalescing Operator" to improve code readability.
2023-06-12 09:42:43 +02:00
Nextcloud bot a85831a597 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-12 00:17:56 +00:00
Louis 38aaab3fbf Merge pull request #38734 from nextcloud/dependabot/npm_and_yarn/nextcloud/event-bus-3.1.0
chore(deps): Bump @nextcloud/event-bus from 3.0.2 to 3.1.0
2023-06-11 10:41:05 +02:00
dependabot[bot] d4bebc5d29 chore(deps): Bump @nextcloud/event-bus from 3.0.2 to 3.1.0
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v3.0.2...v3.1.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/event-bus"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-11 08:04:17 +00:00
Nextcloud bot 2259eedf76 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-11 00:34:31 +00:00
Kurt McKee 0164dd0269 Add a Dependabot configuration to autoupdate GitHub action versions
Signed-off-by: Kurt McKee <contactme@kurtmckee.org>
2023-06-10 15:03:58 -05:00
Simon L 918859cafd allow to specify upgrade.cli-upgrade-link in order to link to the correct documentation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-10 10:05:36 +02:00
dependabot[bot] 99e1014ff1 Merge pull request #38733 from nextcloud/dependabot/composer/build/integration/dms/phpunit-arraysubset-asserts-0.5.0 2023-06-10 05:47:13 +00:00
dependabot[bot] e2c13eae76 chore(deps-dev): Bump dms/phpunit-arraysubset-asserts
Bumps [dms/phpunit-arraysubset-asserts](https://github.com/rdohms/phpunit-arraysubset-asserts) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/rdohms/phpunit-arraysubset-asserts/releases)
- [Commits](https://github.com/rdohms/phpunit-arraysubset-asserts/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: dms/phpunit-arraysubset-asserts
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-10 03:39:24 +00:00
Nextcloud bot 689936020d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-10 00:17:36 +00:00
Robin Appelman 3ef5090084 Merge pull request #38226 from nextcloud/file-object-utils
add utility command for object store objects
2023-06-09 20:53:29 +02:00
Robin Appelman ea88ec1350 add utility command for object store objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-09 18:08:18 +02:00
Git'Fellow 5b5895a130 Drop meta robots tag
Revert mistake

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-09 18:06:37 +02:00
Julius Härtl 76d4487f63 Merge pull request #38645 from nextcloud/enh/noid/link-ref-provider-local-image-uri 2023-06-09 17:16:51 +02:00
Julien Veyssier 3621a6b4ec avoid requests to opengraph image if no host detected
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-09 10:37:58 +02:00
John Molakvoæ a719b433a1 Merge pull request #38703 from nextcloud/fix/trashbin-types-for-32bits 2023-06-09 08:33:53 +02:00
Pytal 02a671ffb0 Merge pull request #38715 from nextcloud/deps/nextcloud/vue-7.12.0 2023-06-08 17:20:16 -07:00
Christopher Ng 21382099d0 chore(deps): Bump @nextcloud/vue from 7.11.6 to 7.12.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-08 10:17:40 -07:00
Simon L ca9d6db652 Merge pull request #38710 from nextcloud/enh/noid/fix-issue-template
fix wrong link in issue template
2023-06-08 16:34:46 +02:00
Côme Chilliet c4281fe135 Correctly react to bad configuration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-08 14:52:30 +02:00
Simon L 8e34153145 fix false link in issue template
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-08 14:45:46 +02:00
Daniel faf0e634db Merge pull request #38701 from nextcloud/fix/noid/oauth2-tests
Fix oauth2 tests
2023-06-08 14:10:43 +02:00
John Molakvoæ 12be9c5aa2 Merge pull request #38700 from nextcloud/bugRepoFix 2023-06-08 13:38:46 +02:00
Côme Chilliet b234b9637e Do not cast sizes to int in Trashbin class
This helps with 32bits support

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-08 13:07:57 +02:00
Julien Veyssier 808819a4d0 fix oauth2 tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-08 13:02:40 +02:00
Louis 9ebeb5e736 Merge pull request #38695 from nextcloud/dependabot/npm_and_yarn/css-loader-6.8.1
chore(deps-dev): Bump css-loader from 6.7.3 to 6.8.1
2023-06-08 12:09:04 +02:00
dependabot[bot] ab3fed84cc Merge pull request #38696 from nextcloud/dependabot/npm_and_yarn/tslib-2.5.3 2023-06-08 10:08:17 +00:00
Git'Fellow 0b8865071d Remove 32bit question
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-08 11:36:49 +02:00
Git'Fellow b12dc65392 v25 supports php7.4
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-08 11:34:44 +02:00
Git'Fellow 811f313aa3 Add links
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-08 11:33:59 +02:00
Git'Fellow afadf779b1 Update bug report issue template
- Remove v24 / add v27 (already at RC state, so `master` will be v28)
- Add PHP 8.2, remove 7.3/7.4
- Some minor adds/fixes

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-08 11:28:36 +02:00
Simon L d682d5752f Merge pull request #38694 from nextcloud/fix/cypress-context
fix(actions): cypress
2023-06-08 09:59:29 +02:00
dependabot[bot] d889c8629d chore(deps-dev): Bump tslib from 2.5.0 to 2.5.3
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.0 to 2.5.3.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.5.0...v2.5.3)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 07:52:24 +00:00
dependabot[bot] 889b0c357b chore(deps-dev): Bump css-loader from 6.7.3 to 6.8.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.3 to 6.8.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.3...v6.8.1)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 07:52:10 +00:00
John Molakvoæ 7cb6a3df33 fix(actions): cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-08 08:45:09 +02:00
Nextcloud bot df2727ae44 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-08 00:18:55 +00:00
Ferdinand Thiessen e140d2b832 Merge pull request #38664 from nextcloud/fix/a11y-favorites-weather_status
fix(weather_status): Always show all favorite locations
2023-06-07 21:13:10 +02:00
Daniel 42a1e82680 Merge pull request #38688 from nextcloud/fix/serve-mjs-as-static-file
fix(apache): Serve `mjs` (module javascript) as static files
2023-06-07 18:41:03 +02:00
Ferdinand Thiessen bab7cc9853 fix(weather_status): Always show all favorite locations
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-07 17:47:49 +02:00
Ferdinand Thiessen e532419b15 fix(apache): Serve mjs (module javascript) as static files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-07 15:19:44 +02:00
Julien Veyssier 5bf1fc6535 Merge pull request #38398 from nextcloud/fix/noid/oauth2-encrypt-client-secret
Store encrypted OAuth2 client secrets
2023-06-07 12:40:15 +02:00
Julien Veyssier 18c742a901 encrypt oauth2 client secrets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-07 11:36:08 +02:00
Nextcloud bot 67f1533915 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-07 00:17:55 +00:00
Pytal 80a3507360 Merge pull request #38662 from nextcloud/Jerome-Herbinet-disable-bg-color-on-group-header-line-1 2023-06-06 15:52:55 -07:00
Pytal 5a6fb358db Merge pull request #38655 from nextcloud/fix/loading-system-tags 2023-06-06 12:22:14 -07:00
Christopher Ng 5acbe6fd80 Show loading icon when loading tags
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-06 11:01:46 -07:00
Christopher Ng bf10f3c9d1 Reset show tags on close
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 10:59:17 -07:00
Pytal 3ef53a2324 Merge pull request #38211 from nextcloud/enh/a11y-ryg-color 2023-06-06 10:30:00 -07:00
Christopher Ng 27f9154594 enh(theming): Info contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:57 -07:00
Christopher Ng 187ff83584 enh(theming): Success contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:57 -07:00
Christopher Ng fe098ff6fb enh(theming): Warning contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:56 -07:00
Christopher Ng 27ebaea10c enh(theming): Error contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:56 -07:00
Daniel fd7d0e2fd2 Merge pull request #38631 from nextcloud/theming-set-background-color-via-occ
feat: set background = backgroundColor via occ
2023-06-06 15:55:31 +02:00
Julien Veyssier b05c5e7262 Merge pull request #38577 from nextcloud/enh/noid/improve-oauth-migration-from-oc
Improve oauth2 database migration from ownCloud
2023-06-06 15:34:10 +02:00
Christoph Wurst 4d8c963972 Merge pull request #38648 from nextcloud/fix/caldav/reminder-index-int-id-cast
fix(caldav): Cast calendar objects id to int when building index
2023-06-06 15:33:16 +02:00
Julien Veyssier 633e9513e2 shorten oauth2 client names before resizing the column
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-06 15:27:46 +02:00
Julien Veyssier b2a75fcbfb drop the oauth2_clients trusted column, delete unsupported clients and their access tokens
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-06 15:27:46 +02:00
Christoph Wurst f96afcf85e Merge pull request #38590 from nextcloud/chore/sass-no-external-apps
chore: Do not sass-compile external apps
2023-06-06 14:56:28 +02:00
Ferdinand Thiessen 9ed4040d73 Merge pull request #38370 from nextcloud/fix/a11y-files-favorite
Adjust files favorite marker to fulfill A11Y contrast requirements
2023-06-06 14:19:27 +02:00
Christoph Wurst 8673d035f5 Merge pull request #38652 from nextcloud/chore/dead-private-methods
chore: Drop dead private methods in /lib
2023-06-06 14:17:20 +02:00
Ferdinand Thiessen 0519bc0726 fix(weather_status): Pass address as param
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-06 12:44:34 +02:00
Ferdinand Thiessen 35da64a51c fix(files): Add border around favorite marker to ensure contrast requirements are met
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-06 11:29:43 +02:00
Ferdinand Thiessen f57cf4706e fix: Adjust color of icon-starred-yellow to fulfill A11Y contrast requirements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-06 11:29:43 +02:00
Christoph Wurst 872c181c74 chore: Drop dead private methods in /lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-06 11:01:58 +02:00
Ferdinand Thiessen d80277c340 Merge pull request #38519 from nextcloud/fix/36967-increase-contrast-of-inactive-elements
Fix contrast for inactive elements of the main navigation
2023-06-06 10:46:45 +02:00
Jérôme Herbinet fb945bc53c npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-06 10:04:48 +02:00
Jérôme Herbinet 2264483e1c Disable background color on group-header line (on hover, focus, active)
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-06 10:00:57 +02:00
Christoph Wurst a213650b71 fix(caldav): Cast calendar objects id to int when building index
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-06 09:45:39 +02:00
Richard Steinmetz fec2cc69f4 Merge pull request #38649 from nextcloud/fix/caldav/close-reminder-index-job-cursor
fix(caldav): Close DB cursor in reminder index background job
2023-06-06 08:57:59 +02:00
Julius Härtl 3846ec2899 Merge pull request #38322 from nextcloud/bugfix/noid/throw-early-app-container 2023-06-06 08:41:08 +02:00
Andy Scherzinger 958096aed4 Merge pull request #38656 from nextcloud/fix/openapi-core-paths
Fix OpenAPI core paths
2023-06-06 06:44:54 +02:00
jld3103 1d32dc8f1a Fix OpenAPI core paths
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-06 06:28:48 +02:00
Nextcloud bot 8b2ec1ec55 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-06 00:17:40 +00:00
Simon L 702196dd86 Merge pull request #38478 from nextcloud/backport/38440/master
[master] fix: Catch Deadlock properly as execute throws Doctrine exceptions not our wrapped ones
2023-06-05 23:22:40 +02:00
Christof Arnosti 5ad24991d7 Issue #36644: Test cases
Signed-off-by: Christof Arnosti <charno@charno.ch>
2023-06-05 20:40:34 +02:00
Daniel a6a40f823c Merge pull request #38635 from nextcloud/remove-check-openssl-version
feat: remove check for OpenSSL 1.0.1d and 1.0.2b
2023-06-05 20:01:32 +02:00
Christoph Wurst 6f3f84e955 fix(caldav): Close DB cursor in reminder index background job
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-05 18:47:24 +02:00
Arthur Schiwon ffa30ce89b Merge pull request #38524 from nextcloud/chore/app/clear-unused-cache-key
chore(app): Do not clear unused cache key
2023-06-05 17:48:44 +02:00
Faraz Samapoor fc0e2a938f Applies agreed-upon indentation convention to the changed controllers.
Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 18:35:32 +03:30
Faraz Samapoor 25cdc35473 Update core/Controller/AppPasswordController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 18:26:27 +03:30
Faraz Samapoor 05784c3244 Update core/Controller/CollaborationResourcesController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 16:45:21 +03:30
Faraz Samapoor 2713ab023f Update core/Controller/AppPasswordController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 16:45:01 +03:30
Faraz Samapoor 94f2f57519 Update apps/files_external/lib/Lib/Storage/SMB.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 16:21:14 +03:30
julia.kirschenheuter 1d6121be4d Fix contrast for inactive elements of the main navigation
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-05 14:46:48 +02:00
Côme Chilliet 2e111e862f Merge pull request #38611 from fsamapoor/replace_strpos_calls_in_theming_app
Refactors "strpos" calls in /apps/theming
2023-06-05 14:41:04 +02:00
Faraz Samapoor ff0b3feb2e Refactors "strpos" calls in /apps/settings to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 14:39:40 +02:00
Côme Chilliet 91686e014e Merge pull request #38260 from fsamapoor/replace_strpos_calls_in_lib_public
Refactors "strpos" calls in  lib/public to improve code readability.
2023-06-05 14:37:28 +02:00
Louis fbf9ac0cd5 Merge pull request #38627 from nextcloud/dependabot/npm_and_yarn/marked-5.0.4
bump marked from 4.3.0 to 5.0.4
2023-06-05 14:00:49 +02:00
dependabot[bot] ef4226a038 bump marked from 4.3.0 to 5.0.4
---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-05 12:08:38 +02:00
Côme Chilliet dea2f7dd42 Merge pull request #38620 from fsamapoor/replace_strpos_calls_in_files_sharing_app
Refactors "strpos" calls in /apps/files_sharing
2023-06-05 11:19:46 +02:00
Faraz Samapoor bf38c0a3d1 Refactors "strpos" calls in lib/public to improve code readability.
Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
2023-06-05 11:14:52 +02:00
Côme Chilliet 6a8c25f64e Merge pull request #38608 from fsamapoor/replace_strcalls_in_user_ldap_app
Refactors "strpos" calls in /apps/user_ldap
2023-06-05 11:01:03 +02:00
Andy Scherzinger e46444648a Merge pull request #38640 from nextcloud/fix/openapi-ocs-wrap
openapi: Fix wrapping OCS responses that are not DataResponse
2023-06-05 08:59:39 +02:00
jld3103 c435722236 openapi: Fix wrapping OCS responses that are not DataResponse
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-05 08:30:12 +02:00
Nextcloud bot 7fd9b62fe3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-05 00:17:29 +00:00
Faraz Samapoor 450bf5c99e Refactors controllers by using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-04 23:20:35 +03:30
Daniel Kesselberg 5a23b429dd feat: remove check for OpenSSL 1.0.1d and 1.0.2b
OpenSSL 1.0.1d: 2013-02-05
OpenSSL 1.0.2b: 2015-06-11

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-04 18:44:47 +02:00
F. E Noel Nfebe cf75c2eaae Merge pull request #38602 from fsamapoor/replace_strpos_calls_in_core
Refactors "strpos" calls in /core to improve code readability.
2023-06-04 17:11:51 +01:00
Nextcloud bot 0357e58e3e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-04 00:17:36 +00:00
Robin Appelman f5932eb144 Merge pull request #38386 from nextcloud/dept-use-di-for-event-source
refactor: migrate OC_EventSource to dependency injection
2023-06-03 22:17:34 +02:00
Daniel Kesselberg a2afc7b6a9 refactor: migrate OC_EventSource to dependency injection
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-03 21:42:51 +02:00
Daniel Kesselberg 8759e307f2 feat: set background = backgroundColor via occ
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-03 16:07:36 +02:00
Simon L 2fd7febffd Merge pull request #38497 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-06-03 13:01:32 +02:00
Nextcloud bot d8f3387735 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-03 00:17:50 +00:00
Faraz Samapoor 12e3594299 Refactors "strpos" calls in /apps/files_sharing to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 20:08:40 +03:30
Faraz Samapoor cfb921b26c Refactors "strpos" calls in /apps/files_external to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 19:54:49 +03:30
Daniel 2188505837 Merge pull request #38595 from nextcloud/remove-suhosin-check
chore: remove check for suhosin.executor.func.blacklist
2023-06-02 18:00:44 +02:00
nextcloud-command 438d86eaec chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-06-02 15:25:04 +00:00
Daniel Kesselberg 3d3c49774f chore: remove check for suhosin.executor.func.blacklist
Suhosin is/was a PHP extension.
The last release was 2015-05-21.
Suhosin does not support PHP 8.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-02 15:47:26 +02:00
Faraz Samapoor 437631a334 Refactors "strpos" calls in /apps/theming to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 15:43:47 +03:30
Faraz Samapoor b0938b9083 Refactors "strpos" calls in /apps/user_ldap to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 15:26:55 +03:30
Faraz Samapoor a1ef0285f8 Refactors "strpos" calls in /core to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 13:13:19 +03:30
Christoph Wurst 09c5f997c6 Merge pull request #38593 from nextcloud/chore/ocp/drop-util-linktopublic
chore(ocp)!: Drop \OCP\Util::linkToPublic
2023-06-02 10:23:37 +02:00
Joas Schilling fa4f476f01 Merge pull request #38545 from nextcloud/bugfix/noid/symfony/event-dispatcher-upgrade-preparation
fix(dispatcher): Migrate to OCP event dispatcher before symfony/event…
2023-06-02 09:50:58 +02:00
Christoph Wurst c0263b91d4 Merge pull request #38585 from nextcloud/feature/ocp/send-message-with-subject-body
feat(ocp): Allow sending emails with subject and body
2023-06-02 09:14:46 +02:00
Joas Schilling 6793fe134a fix(CI): Add empty eslint and node when unrelated (PHP only)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 08:34:54 +02:00
Joas Schilling 6d076c1ee9 fix(dispatcher): Migrate to OCP event dispatcher before symfony/event-dispatcher upgrade
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 08:08:24 +02:00
Joas Schilling 5591da0b33 Merge pull request #38486 from nextcloud/automated/update-workflows
chore: update workflows from templates
2023-06-02 07:11:36 +02:00
Nextcloud bot c9fbfe2631 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-02 00:17:26 +00:00
Joas Schilling e786411da8 fix(CI): Update oracle image and config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 00:44:42 +02:00
John Molakvoæ 5f8fefcfc2 chore: update workflows from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-02 00:26:03 +02:00
Joas Schilling 07dee9788a Merge pull request #38597 from nextcloud/techdebt/noid/run-psalm-ci-with-1-thread
fix(CI): Temporary workaround - Run Psalm CI with 1 thread only so it…
2023-06-02 00:25:19 +02:00
Joas Schilling d6ce50082e fix(psalm): Install apcu, ftp and ldap extension like in static-code-analysis-security
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 00:19:25 +02:00
Joas Schilling 373147ac02 fix(CI): Temporary workaround - Run Psalm CI with 1 thread only so it finishes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-01 23:47:21 +02:00
Robin Appelman 9f1d497a0b Merge pull request #38261 from fsamapoor/replace_strpos_calls_in_lib_private
Refactors "strpos" calls in  lib/private to improve code readability.
2023-06-01 23:10:00 +02:00
Robin Appelman e81fdfefab Merge pull request #38568 from rawtaz/fix-redis-empty-password
redis: Do not try to authenticate with non-string password/user
2023-06-01 22:11:55 +02:00
Christoph Wurst f04ff2c6d7 chore(ocp)!: Drop \OCP\Util::linkToPublic
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 20:32:59 +02:00
Christoph Wurst ff661045ed Merge pull request #38567 from nextcloud/chore/remove-deprecated-legacy-loader
Remove deprecated legacy loader from `OC`
2023-06-01 19:52:32 +02:00
Christoph Wurst 1ea2082dcf chore: Do not sass-compile external apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 19:43:11 +02:00
Andy Scherzinger 1d040f94af Merge pull request #38586 from nextcloud/fix/ocp/imessage-attachinline-since
fix(ocp): Mark IMessage::attachInline as @since 27
2023-06-01 18:34:57 +02:00
Christoph Wurst 0f534936b3 fix(ocp): Mark IMessage::attachInline as @since 27
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 18:15:19 +02:00
Christoph Wurst 7f8f792558 feat(ocp): Allow sending emails with subject and body
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 18:10:05 +02:00
Joas Schilling 1a3bb23a37 Merge pull request #38566 from nextcloud/chore/drop-oc-app-methods
Drop \OC_App methods deprecated in Nextcloud 14
2023-06-01 16:45:45 +02:00
Leo R. Lundgren c52aaa3647 redis: Do not try to authenticate with non-string password/user
Signed-off-by: Leo R. Lundgren <leo@finalresort.org>
2023-06-01 13:08:57 +02:00
Arthur Schiwon 63e7ac4f3a Merge pull request #38301 from nextcloud/fix/carddav/catch-invalid-event-reminder-service
fix(caldav): Ignore invalid events for reminder generation
2023-06-01 11:37:18 +02:00
Christoph Wurst 999aec366a chore: Drop \OC_App::getSettingsNavigation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:27 +02:00
Christoph Wurst 167763d312 chore: Drop \OC_App::getNavigation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:27 +02:00
Christoph Wurst e76d525a43 chore: Drop \OC_App::getAppInfo
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:27 +02:00
Christoph Wurst cf6e2fa1b7 chore: Drop \OC_App::getAppVersion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:26 +02:00
Arthur Schiwon 2be74ee175 Merge pull request #38355 from nextcloud/fix/trashbin-long-filenames
fix(trashbin): Truncate long filenames
2023-06-01 11:30:41 +02:00
Christopher Ng 7c430a8afc fix(trashbin): Truncate long filenames
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-31 19:06:42 -07:00
Nextcloud bot aaa226df1c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-01 00:17:56 +00:00
Ferdinand Thiessen dd1f437ad0 chore(OC): Remove deprecated legacy loader from OC (OC.loadScript and OC.loadStyle)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-31 23:15:36 +02:00
Christoph Wurst 990775d5a2 Merge pull request #38550 from nextcloud/chore/app-checker-test-data
chore: Drop app code checker test data
2023-05-31 20:43:27 +02:00
Simon L 81463eadac Merge pull request #38549 from ZetaTom/master
Fix app menu flicker
2023-05-31 20:18:02 +02:00
Joas Schilling 90a628d23d Merge pull request #38514 from nextcloud/bump/giggsey/libphonenumber-for-php_to_lite-version
chore(libphonenumber): Bump giggsey/libphonenumber-for-php to giggsey…
2023-05-31 17:57:46 +02:00
Joas Schilling 56ece0c6f3 Merge pull request #38552 from nextcloud/chore/drop-oc-defaults-getlogoclaim
chore!: Drop \OC_Defaults::getLogoClaim
2023-05-31 17:33:56 +02:00
Joas Schilling f0238fa0a2 Merge pull request #38551 from nextcloud/chore/drop-oc-app-isenabled
chore!: Drop \OC_App::isEnabled
2023-05-31 16:50:50 +02:00
Robin Appelman 496a8d2b80 Merge pull request #38468 from nextcloud/log-cert-list-errors
log failures to read certificates during listing
2023-05-31 16:16:15 +02:00
ZetaTom d17fd1910c Fix app menu flicker
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-05-31 15:48:28 +02:00
Joas Schilling 4809e8d9a9 fix(CI): Satisfy psalm by removing a now obsolete type check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-31 15:42:15 +02:00
Joas Schilling 6f9ba4e60e chore(libphonenumber): Bump giggsey/libphonenumber-for-php to giggsey/libphonenumber-for-php-lite
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-31 15:42:12 +02:00
Christoph Wurst 9a89e9086f chore!: Drop \OC_Defaults::getLogoClaim
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 15:17:20 +02:00
Christoph Wurst dd2d50471e chore!: Drop \OC_App::isEnabled
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 15:06:25 +02:00
Christoph Wurst 315f7f286f chore: Drop app code checker test data
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 14:57:57 +02:00
Robin Appelman 223612b15a log failures to read certificates during listing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-31 14:40:45 +02:00
Faraz Samapoor 716a659468 Uses "Null Coalescing Operator" to improve code readability.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-05-31 14:51:52 +03:30
Christoph Wurst 4033154302 fixup! fix(caldav): Ignore invalid events for reminder generation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 13:08:30 +02:00
Joas Schilling 2845a04827 Merge pull request #38516 from nextcloud/chore/deps/drop-swiftmailer
chore(deps): Drop swiftmailer/swiftmailer
2023-05-31 12:08:12 +02:00
Christoph Wurst b7e7d80173 fix(caldav): Ignore invalid events for reminder generation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 09:49:04 +02:00
Joas Schilling 4746ede28a Merge pull request #38513 from nextcloud/bugfix/noid/csp-doc-typos
fix(docs): Fix language and copy-paste class name in docs of CSP
2023-05-31 09:47:27 +02:00
Joas Schilling eb08dcbdf0 Merge pull request #38534 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] Update ca-cert bundle
2023-05-31 09:25:18 +02:00
Joas Schilling 581e5e3f05 Merge pull request #38537 from nextcloud/ci/cacert/conventional-commits
ci: Use conventional commits for CA bundle updates
2023-05-31 09:23:28 +02:00
Christoph Wurst ae69a907bc ci: Use conventional commits for CA bundle updates
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 08:21:14 +02:00
nextcloud-command 4f624b29f3 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-05-31 02:33:48 +00:00
Nextcloud bot 6a3a040919 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-31 00:17:39 +00:00
Christoph Wurst 3d1acca1f3 chore(app): Do not clear unused cache key
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-30 17:48:20 +02:00
Simon L 41314d32ec Merge pull request #38520 from nextcloud/Jerome-Herbinet-improved-display-of-app-links
Improved display of app links
2023-05-30 17:44:17 +02:00
Jérôme Herbinet ec44d58bcd npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-05-30 16:39:02 +02:00
Jérôme Herbinet e25fb29975 Improved display of app links
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-05-30 16:35:45 +02:00
Christoph Wurst 7e7db1dbc9 chore(deps): Drop swiftmailer/swiftmailer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-30 16:14:27 +02:00
Joas Schilling 5b2d5767e1 fix(docs): Fix language and copy-paste class name in docs of CSP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-30 13:39:33 +02:00
Louis 3053df7b7c Merge pull request #38469 from nextcloud/artonge/fix/versions_init
Fix initialisation of versions in the DB
2023-05-30 13:38:51 +02:00
Simon L 1e1e2fec64 Merge pull request #38496 from nextcloud/preview-mp3-catch-errors
fix: catch errors in id3parser library
2023-05-30 10:51:33 +02:00
Nextcloud bot 45d7cee7f8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-30 00:17:33 +00:00
Daniel Kesselberg 0670ae607b 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>
2023-05-28 17:01:23 +02:00
Nextcloud bot fa23698c23 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-28 00:17:29 +00:00
John Molakvoæ b953fd7b0a Merge pull request #38492 from nextcloud/dependabot/npm_and_yarn/puppeteer-20.4.0 2023-05-27 09:53:18 +02:00
dependabot[bot] cfe923c575 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>
2023-05-27 03:34:31 +00:00
Nextcloud bot eaff926732 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-27 00:17:51 +00:00
Simon L a3baad1a7d Merge pull request #38333 from nextcloud/fix/weather-star-contrast
weather_status: Improve contrast of favorite icon
2023-05-26 15:25:58 +02:00
Ferdinand Thiessen b4ec3a3124 fix(weather_status): Improve contrast of favorite icon
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-26 14:15:00 +02:00
Joas Schilling 37f387b239 Merge pull request #38481 from nextcloud/bugfix/noid/avatar-size-in-sab
fix(dav): Fix avatar size in system address book
2023-05-26 11:04:14 +02:00
Louis 9fa42c0b4f Merge branch 'master' into artonge/fix/versions_init 2023-05-26 10:52:16 +02:00
Joas Schilling ef93bb926c fix(dav): Fix avatar size in system address book
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-26 10:03:58 +02:00
Julius Härtl 9453c2d40d fix: execute throws docrine exceptions not our wrapped ones
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-26 06:56:55 +00:00
Nextcloud bot 7d9d99d5e6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-26 00:18:10 +00:00
Louis fe146a9739 Merge pull request #38467 from nextcloud/artonge/fix/files_versions_preview
Add fallback when a there is no preview for a version
2023-05-26 01:14:56 +02:00
Simon L f29aa2997e Merge pull request #38429 from tanganellilore/fix_delete_user_syslink
Fix deletion of User when system link are used in him user folder
2023-05-26 01:12:34 +02:00
Simon L 477d6444b8 Merge pull request #38300 from nextcloud/fix/better-error-message
fix: better error message on missing user files dir
2023-05-26 01:10:31 +02:00
Louis Chemineau e8eb8a9f74 Add fallback when a there is no preview for a version
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-25 23:46:04 +02:00
Louis Chemineau c40de8b88f Improve handling of undefined version label
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-25 23:46:04 +02:00
Louis Chemineau c3475f4dbb Fix initialisation of versions in the DB
Broken after https://github.com/nextcloud/server/pull/36690

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-25 23:43:40 +02:00
Simon L cc525094b2 Merge pull request #38460 from nextcloud/enh/noid/adjust-sidebar-visiblity
adjust active element visibility in the sidebar
2023-05-25 23:19:55 +02:00
Simon L 3e293b7c7b Merge pull request #38459 from nextcloud/enh/noid/adjust-usermenu-visibility
adjust active element visibility in the usermenu
2023-05-25 22:40:45 +02:00
John Molakvoæ 7d06dc3474 fix: better error message on missing user files dir
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-25 20:31:14 +02:00
Simon L 56aa4c79e2 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>
2023-05-25 18:19:24 +00:00
Simon L 0ad56e5752 Merge pull request #38206 from nextcloud/fix/increase-iterations-for-pbkdf2
Increase from 100000 to 600000 iterations for hash_pbkdf2
2023-05-25 20:18:22 +02:00
Simon L 8424b2a6eb 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>
2023-05-25 18:16:55 +00:00
Arthur Schiwon cd5bd11771 Merge pull request #38448 from nextcloud/fix/carddav/no-sab-guest-users
fix(carddav): Don't show system address book cards to guests
2023-05-25 17:26:46 +02:00
Côme Chilliet 99bdb15398 Adapt encryption test to change in generateHeader
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 16:31:27 +02:00
Christoph Wurst 9780472a02 Merge pull request #38454 from nextcloud/fix/capitalization-other-tel
fix(carddav): Make system contact phone number RFC compliant
2023-05-25 15:56:08 +02:00
Côme Chilliet 367b4fe9f2 Fix User_Proxy tests as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 15:55:04 +02:00
Julia Kirschenheuter 3d36420736 Merge pull request #38458 from nextcloud/revert/37870-Fix_table_view
Revert "Fix table view"
2023-05-25 15:26:55 +02:00
Christoph Wurst e524631ce3 fix(carddav): Don't show system address book cards to guests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-25 12:26:26 +02:00
Côme Chilliet add59d2309 Use DI for DeletedUsersIndex and fix tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 12:18:28 +02:00
julia.kirschenheuter 94e1a429e5 Revert "Fix table view"
This reverts commit cb852ef6

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-25 11:49:24 +02:00
Côme Chilliet 47bb12b226 Fix autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 11:40:40 +02:00
Côme Chilliet b186cffdbe Use default page size for jumping to desired offset
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 11:31:29 +02:00
greta 50b61c8b7b fix(carddav): Make system contact phone number RFC compliant
Signed-off-by: greta <gretadoci@gmail.com>
2023-05-25 11:10:25 +02:00
Christoph Wurst b6d7343754 Merge pull request #38423 from nextcloud/fix/carddav/check-system-address-book-enumeration
fix(carddav): Check enumeration settings for all SAB methods
2023-05-25 10:15:34 +02:00
Christoph Wurst 5cfbd4c535 fix(carddav): Check enumeration settings for all SAB methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-25 09:11:26 +02:00
Nextcloud bot 1f2a9de112 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-25 00:19:49 +00:00
Andy Scherzinger b8ae166eb2 Merge pull request #38441 from nextcloud/feat/make-open-folder-action
fix(files): make open folder a default action
2023-05-24 19:11:40 +02:00
Kate 115689f167 Merge pull request #38438 from nextcloud/feature/openapi/specs
Add OpenAPI specs
2023-05-24 17:45:12 +02:00
John Molakvoæ d9f9a7280e fix(files): make open folder a default action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-24 17:44:52 +02:00
jld3103 4218f719ea Add OpenAPI specs
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-24 16:51:38 +02:00
Varun Patil e6038268d8 Merge pull request #38374 from nextcloud/pulsejet/patch-ubr-nonce
webpack: add nonce to unsupported-browser-redirect chunk
2023-05-24 04:19:46 -07:00
Arthur Schiwon b2e34267cd Merge pull request #38415 from nextcloud/object-store-init-root
don't always check if we need to setup the object store root
2023-05-24 13:06:14 +02:00
Varun Patil 60a7610ca6 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>
2023-05-24 10:38:43 +00:00
F. E Noel Nfebe 4220442fa1 Merge pull request #37458 from Fenn-CS/fix/37424/better-501-error-logging
Avoid db connections when logging db connection errors
2023-05-24 08:46:03 +01:00
John Molakvoæ 4811a02740 Merge pull request #38329 from nextcloud/pulsejet/patch-webpack 2023-05-24 09:02:59 +02:00
Lorenzo Tanganelli 6b55e92e33 invert elseif on rmdir for local storage
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
2023-05-24 08:22:50 +02:00
Nextcloud bot 294035f523 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-24 00:17:47 +00:00
Simon L 3a9abb256e Merge pull request #36316 from nextcloud/improve-fatal-logging
Log to `error_log` in fatal case
2023-05-23 23:02:18 +02:00
Côme Chilliet 2a6f347430 Increase from 100000 to 600000 iterations for hash_pbkdf2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 20:53:33 +00:00
Daniel Kesselberg 7d02d98d9e chore: recompile
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-05-23 22:36:14 +02:00
Varun Patil ace6df86d8 Fix lint errors
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:15 +02:00
Varun Patil 48e1a58345 Optimize webpack chunks
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:14 +02:00
Varun Patil 66a8a9fba1 Use consistent imports for Vue components
This makes tree shaking possible

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:14 +02:00
Arthur Schiwon 0fca8238dd Merge pull request #37665 from fsamapoor/patch-2
Refactors Command/Encryption/Enable.php to improve code readability.
2023-05-23 20:56:18 +02:00
Robin Appelman cc0ad25c98 don't always check if we need to setup the object store root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-23 17:44:40 +02:00
Côme Chilliet 285c42ab14 Fix user tests, avoid setting enabled state to the same value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 17:18:19 +02:00
Robin Windey 1dcc8559cf Log to error_log in fatal case
Signed-off-by: Robin Windey <ro.windey@gmail.com>
2023-05-23 17:11:52 +02:00
Côme Chilliet 50ccfb4f5b [user_ldap] Add per-connection setting for marking remnants as disabled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 16:03:17 +02:00
Johannes 7ec1ceb79a Merge pull request #38413 from nextcloud/fix/38412/save-avatar-SAB
fix(SAB): Save avatar to SAB
2023-05-23 15:55:26 +02:00
Julia Kirschenheuter ea46959ef8 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
2023-05-23 15:33:48 +02:00
Simon L 3894a86e74 Merge pull request #38308 from nextcloud/fix/check-for-php-auth-server-variables
fix(carddav): Check if SERVER variables are set before accessing them
2023-05-23 14:33:49 +02:00
julia.kirschenheuter 1c90d7faf1 Add label to "default quota" multiselect
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-23 14:12:45 +02:00
Côme Chilliet 684a81e4bd Use the new IProvideEnabledStateBackend interface in user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 11:25:22 +02:00
Côme Chilliet 3af1ab2b2a Add user enabled state backend feature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 11:25:03 +02:00
Johannes Merkel 5983ef001d fix(SAB): Save avatar to SAB
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-05-23 11:15:34 +02:00
Simon L 0713c1c4c6 Merge pull request #38393 from nextcloud/enh/noid/improve-issue-template
bug-report-template - move `Official All-in-One appliance` to the bottom
2023-05-23 11:01:15 +02:00
Anna Larch 3c93ce9c25 fix(carddav): Check if SERVER variables are set before accessing them
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-23 10:58:29 +02:00
John Molakvoæ 4e9e91a215 Merge pull request #38400 from nextcloud/cleanup/drop-oc-appsettings 2023-05-23 10:38:16 +02:00
Nextcloud bot 79334ebf90 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-23 00:17:26 +00:00
Louis c8e85a4ecf Merge pull request #38365 from JanisPlayer/patch-3
add imaginary_key
2023-05-22 23:39:26 +02:00
JanisPlayer c71a3065a7 Allow to specify an imaginary key
Signed-off-by: JanisPlayer <54918417+JanisPlayer@users.noreply.github.com>
2023-05-22 22:19:51 +02:00
Robin Appelman b253fe4a6b Merge pull request #38259 from nextcloud/webui-share-reload
reload filelist when adding or removing shares
2023-05-22 16:53:16 +02:00
Robin Appelman 5479eb3cc2 Merge pull request #38291 from nextcloud/fix-loading-themed-logo
fix loading custom logo image
2023-05-22 16:39:38 +02:00
fenn-cs d0fc159975 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>
2023-05-22 15:17:04 +01:00
fenn-cs bb2c2bb7f0 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>
2023-05-22 15:17:04 +01:00
Robin Appelman 8de2984349 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>
2023-05-22 13:22:52 +00:00
Robin Appelman 51984dc273 fix loading custom logo image
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-22 15:10:54 +02:00
Côme Chilliet b313e2a507 Merge pull request #38162 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-05-22 14:30:10 +02:00
Joas Schilling f74143be4b 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
2023-05-22 14:17:27 +02:00
Joas Schilling fdf7fd45be 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
2023-05-22 14:06:18 +02:00
Joas Schilling 9f8fa4802b chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-22 12:53:21 +02:00
Daniel Calviño Sánchez d4631921b4 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>
2023-05-22 12:49:23 +02:00
Daniel Calviño Sánchez d80f8fc84f Rename "pendingPassword" to "pendingEnforcedPassword"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:49:15 +02:00
Joas Schilling c1f3bcff70 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-22 12:46:59 +02:00
Daniel Calviño Sánchez 2c1a1b1779 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>
2023-05-22 12:44:34 +02:00
Daniel Calviño Sánchez 6daf962b4c Split long line
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:18 +02:00
Daniel Calviño Sánchez 2c97bca5d0 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>
2023-05-22 12:44:17 +02:00
Daniel Calviño Sánchez f9039b4fbd 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>
2023-05-22 12:44:17 +02:00
Daniel Calviño Sánchez 8fa09bec09 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>
2023-05-22 12:44:17 +02:00
Daniel Calviño Sánchez 74bddb7a1a Add missing end tag for "label"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:16 +02:00
Simon L f7a6ed0389 bug-report-template - move archive to the top
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-22 11:21:33 +02:00
nextcloud-command 753cf1688c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-22 02:29:09 +00:00
Nextcloud bot 30e445773d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 00:17:43 +00:00
Nextcloud bot 96f0118312 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-21 00:17:10 +00:00
Ferdinand Thiessen a08b098476 chore: Remove deprecated OC.appSettings
Was deprecated since NC17 and scheduled for removal on NC18.
No apps use it and neither do core.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-20 15:28:23 +02:00
dependabot[bot] 428366cc7c Merge pull request #38372 from nextcloud/dependabot/npm_and_yarn/tar-6.1.15 2023-05-20 03:54:51 +00:00
dependabot[bot] bb7c7fd862 chore(deps-dev): Bump tar from 6.1.14 to 6.1.15
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.14 to 6.1.15.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.14...v6.1.15)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-20 03:05:38 +00:00
Nextcloud bot 1c1c9075c1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-20 00:17:12 +00:00
Simon L 6fc80a4c53 Merge pull request #38354 from nextcloud/pulsejet/patch-ubr
Make unsupported browser check asynchronous
2023-05-20 00:56:07 +02:00
Varun Patil 98ddb81e82 Make unsupported browser check asynchronous
This check is very expensive, and will pass almost 100% of the time.

Related #36728
Depends on #38329

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 22:00:10 +00:00
Simon L 3d2d1c171e Merge pull request #37758 from nextcloud/redis-atomic
redis: use atomic operations everywhere
2023-05-19 23:29:24 +02:00
Simon L 8cca865d80 Merge pull request #38332 from nextcloud/pulsejet/patch-dead1
Remove some dead code in files app
2023-05-19 23:27:12 +02:00
Marcel Klehr b3e8e0c55b Merge pull request #32775 from nextcloud/fix/23877/unread-comments 2023-05-19 14:39:52 +02:00
nextcloud-command dfa01c4fa5 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 10:22:21 +00:00
Christopher Ng 94af306c27 fix(comments): Mark comments as read
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 12:02:10 +02:00
Simon L 822c872c75 Merge pull request #38306 from nextcloud/enh/noid/migrate-to-ncselect
migrate a few components to NcSelect
2023-05-19 11:58:22 +02:00
Simon L ed5d8d5c4e address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 08:29:55 +00:00
Simon L 06d8a03315 migrate a few components to NcSelect
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 10:14:39 +02:00
Nextcloud bot 60baf8859f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-19 00:17:21 +00:00
Nextcloud bot 99f8a7ff71 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-18 18:46:31 +00:00
F. E Noel Nfebe 16f13311cd Merge pull request #38344 from nextcloud/38340-fix-add-group-broken
38340 fix add group broken
2023-05-18 10:26:11 +01:00
fenn-cs ec915474f0 Fix add new group event
1ee8fbaad1 broke the addgroup functionality
by not updating the event to reflect the one in
https://github.com/nextcloud/nextcloud-vue/blob/master/src/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue

Resolves : https://github.com/nextcloud/server/issues/38340

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-18 07:49:27 +00:00
F. E Noel Nfebe c9aadb1d5b Merge pull request #38294 from nextcloud/fix/37137/add-aria-expanded-to-toggler-user-options
Use aria-expanded correctly on toggle user actions
2023-05-18 08:08:16 +01:00
dependabot[bot] 1f9331ef5d Merge pull request #38232 from nextcloud/dependabot/npm_and_yarn/cypress-12.12.0 2023-05-18 03:54:03 +00:00
dependabot[bot] 3f2a0ce798 Merge pull request #38234 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.8 2023-05-18 01:57:31 +00:00
Nextcloud bot b24bb42ef7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-18 00:17:49 +00:00
dependabot[bot] 55eb6be474 chore(deps-dev): Bump cypress from 12.11.0 to 12.12.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.11.0 to 12.12.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v12.11.0...v12.12.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 23:44:07 +00:00
Varun Patil 545b3b392f Merge pull request #38323 from nextcloud/pulsejet/focus-visible
Remove focus-visible polyfill
2023-05-17 16:42:53 -07:00
fenn-cs a39f0de237 Use aria-expanded correctly on toggle user actions
The aria-expanded attribute was added on the expandable item rather
Than the button that triggers the expand.

Resolves : #37137

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-17 23:15:15 +00:00
dependabot[bot] 28fea3f07b chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.7 to 9.6.8.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.8/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.7...9.6.8)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 21:45:09 +00:00
dependabot[bot] 4979b1f1b4 Merge pull request #38346 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.6.1 2023-05-17 21:44:26 +00:00
Faraz Samapoor fa31c707c0 Update TemplateLayout.php
https://github.com/nextcloud/server/pull/38261#discussion_r1196711637

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-05-17 20:41:05 +03:30
Faraz Samapoor 9f6f4b105f Update Detection.php
The latter implies the former.

https://github.com/nextcloud/server/pull/38261#discussion_r1196708412

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-05-17 20:37:35 +03:30
Varun Patil 262c84adfa Remove some dead code in files app
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-17 09:57:23 -07:00
Varun Patil db8d0b538e Remove focus-visible polyfill
Supercedes and closes #35384

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-17 18:21:57 +02:00
Simon L fa3bbb2653 Merge pull request #38330 from nextcloud/fix/alt-login-box-design
Adjust style of passwordless login
2023-05-17 17:04:26 +02:00
dependabot[bot] ba7fa6e93c chore(deps-dev): Bump guzzlehttp/guzzle in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.5.1 to 7.6.1.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.6/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.5.1...7.6.1)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 14:01:20 +00:00
Joas Schilling 3fc43bc91a Merge pull request #38336 from nextcloud/master-is-now-28
Master is now 28
2023-05-17 15:59:38 +02:00
Joas Schilling 22e5741138 Merge pull request #38337 from nextcloud/enh/noid/disable-some-contactsmenu-tests
disable contacts menu features that regularly fail on drone
2023-05-17 12:01:39 +02:00
Andy Scherzinger c200fd4c85 Merge pull request #38328 from nextcloud/fix/codeowners
Fix codeowners named Χριστόφορος
2023-05-17 11:39:14 +02:00
Andy Scherzinger f27210922f Update CODEOWNERS
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-17 11:38:45 +02:00
Simon L 3b38b12a0f Merge pull request #38327 from nextcloud/fix/dashboard-adjust-border
dashboard: Adjust border radius of panels to match main content container
2023-05-17 11:07:38 +02:00
Simon L 2cb7dd2d84 disable contacts menu features that regularly fail on drone
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-17 10:51:24 +02:00
Joas Schilling 7e45fdf867 chore(release): Bump requirements and versions in apps/
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:44:23 +02:00
Joas Schilling e82cd99d69 chore(release): Bump Major version in master branch to 28
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:36:15 +02:00
Joas Schilling 9a7870bce6 chore(CI): Update psalm baseline also on stable27
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:34:27 +02:00
Joas Schilling cf0a59eaf4 chore(CI): Backport the CA Cert update to stable27
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:33:16 +02:00
Joas Schilling e038560606 chore(security): Bump "Expires" of well-known/security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:32:16 +02:00
Joas Schilling 511fbb3f10 chore(CI): Add stable26 to dependabot config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:30:46 +02:00
Simon L 288742d55c Merge pull request #38295 from nextcloud/deps/webdav-5.0.0
chore(deps): Bump webdav from 5.0.0-r3 to 5.0.0
2023-05-17 04:29:11 +02:00
Ferdinand Thiessen 5be82f2143 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:36:20 +02:00
Ferdinand Thiessen 687b95519f feat(login): Improve passwordless login box
* Remove wrong background of error message boxes
* Use `NcTextInput` for username or mail to align with login box
* Add a heading for better overview where you (as a user) are currently

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:33:48 +02:00
Ferdinand Thiessen 57e50e04bf feat(login): Use tertiary button for "back to login"
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:33:48 +02:00
Christopher Ng cdf249173a chore(deps): Bump webdav from 5.0.0-r3 to 5.0.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-16 17:35:49 -07:00
Nextcloud bot 85df0f67b7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-17 00:17:37 +00:00
Christopher Ng 611b23f666 Fix codeowners named Χριστόφορος
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-16 16:55:48 -07:00
Pytal 8bcb01d72f Merge pull request #38316 from nextcloud/deps/nextcloud/vue-7.11.6 2023-05-16 16:41:59 -07:00
Ferdinand Thiessen 902d00d980 fix(dashboard): Adjust border radius of panels to match main content container
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 00:57:50 +02:00
Christopher Ng b4caff393c chore(deps): Bump @nextcloud/vue from 7.11.4 to 7.11.6
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-16 15:49:11 -07:00
Simon L 6608f84a46 Merge pull request #36692 from nextcloud/throw-exception-to-avoid-division-by-zero
fix(preview-generator): Throw exception before dividing by zero when generating previews
2023-05-17 00:14:42 +02:00
Simon L f01d30ad11 Merge pull request #38131 from nextcloud/fix/login-footer-design
fix(login): Make login form and footer look like a dashboard panel
2023-05-16 23:36:10 +02:00
Simon L 3f786781ef Merge pull request #31001 from takahiro-blab/master
Fixed 'overwritewebroot' not work with 'overwritecondaddr'.
2023-05-16 23:32:15 +02:00
Simon L 0b1444357b Merge pull request #38321 from nextcloud/pulsejet/patch-dbtableprefix
docs: add dbtableprefix to sample config
2023-05-16 22:50:37 +02:00
Ferdinand Thiessen 79239eaded chore: Build compiled assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 22:31:10 +02:00
Julius Härtl 6f43ab82fd fix: Throw early when a service cannot be found in the app container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-16 20:32:39 +02:00
Varun Patil 8102c88c2e Add dbtableprefix to sample config
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-16 11:20:13 -07:00
Ferdinand Thiessen b30bfb57f3 feat(theming): Add border radius rounded css variable so body-container-radius can be used on mobile devices
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 19:47:10 +02:00
Ferdinand Thiessen 8d0fd6fa9d fix(login): Make login form and footer look like a dashboard panel
Also adjust border radius to match new main content box.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 19:47:10 +02:00
Joas Schilling 1ce8fc6b31 Merge pull request #38310 from nextcloud/followup/38170/remove-former-track-by-property
fix(workflowengine): Remove unused property track-by
2023-05-16 19:40:05 +02:00
Simon L 10ceae3020 Merge pull request #38101 from nextcloud/Jerome-Herbinet-share-expire-after-n-days-width-patch-1
Fix : Share Expire After N Days width
2023-05-16 19:29:29 +02:00
Simon L e8cad555cf Merge pull request #38303 from nextcloud/fix/loadmore
fix(search): fix load more
2023-05-16 19:24:17 +02:00
Simon L fa4d153610 Merge pull request #38115 from DerGenaue/patch-1
Rename `numericStorageId` to `numericExternalStorageId` in PersonalMount.php
2023-05-16 19:08:39 +02:00
Simon L dc1b68c59d Merge pull request #37326 from nextcloud/add-IMoveTarget-support-to-addressbooks
feat(CardDAV): Add Sabre\DAV\IMoveTarget support to OCA\DAV\CardDAV\AddressBook
2023-05-16 19:01:50 +02:00
Jérôme Herbinet 8620640abc Finally no with seams better to be relevant with other fields
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-16 14:21:54 +00:00
Joas Schilling 96a4274858 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-16 15:23:28 +02:00
Joas Schilling ae586e25f8 fix(workflowengine): Remove unused property track-by
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-16 15:22:55 +02:00
Simon L 75b7c13cae Merge pull request #38205 from nextcloud/feat/css-add-info-color
Add css variables for info colors (`--color-info`)
2023-05-16 15:13:22 +02:00
Simon L 2bd08c8198 Merge pull request #38030 from nextcloud/enh/retry-transaction
Wrapper method to easily retry deadlock exceptions
2023-05-16 11:53:30 +02:00
John Molakvoæ 7e51305ae4 fix(search): fix load more
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-16 11:45:50 +02:00
Jérôme Herbinet ebe14b1d97 Fix : Share Expire After N Days width
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-05-16 11:45:36 +02:00
Simon L d293293cda Fixed bug which 'overwritewebroot' does not work with 'overwritecondaddr'.
Signed-off-by: Takahiro Nagai <78393959+takahiro-blab@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-16 11:39:39 +02:00
Thomas Citharel 13a3ebd4cc feat(CardDAV): Add Sabre\DAV\IMoveTarget support to OCA\DAV\CardDAV\AddressBook
This allows to just UPDATE the card row instead of deleting it and reinsert it. It's very similar to https://github.com/nextcloud/server/pull/30120 for calendars.

As we need the addressbookid exposed, this introduces OCA\DAV\CardDAV\Card that extends Sabre's.

I chose specifically NOT to auto-inject LoggerInterface in Addressbook like in #30120 because the chain of DI is huge just for ONE simple call and it would break an existing dirty call (OCA\Contacts calling OCA\DAV) of ContactsManager in Contacts: https://github.com/nextcloud/contacts/pull/1722 (in SocialApiService), but this is debatable.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-05-16 11:38:57 +02:00
Simon L 48521d67e1 Merge pull request #38143 from nextcloud/fix/generated-avatars-cache
Fix generated avatars cache
2023-05-16 11:37:49 +02:00
Simon L 25dd264965 Merge pull request #37965 from nextcloud/fix/transactional-system-addressbook-sync
fix(dav): Run system address book create-if-not-exists in transaction
2023-05-16 11:33:09 +02:00
Ferdinand Thiessen 4f9472a323 feat(css): Add css variables for info colors (--color-info)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 09:31:33 +00:00
Simon L ab848244fe Merge pull request #38065 from nextcloud/fix-result-mimetype-loader
fix(mimetype): Fix returning value when finding existing mimetype in MimeType Loader
2023-05-16 11:30:13 +02:00
Joas Schilling 5e02def3f4 Merge pull request #38274 from nextcloud/bugfix/noid/reach-max-delay-in-afterController
fix(middleware): Also abort the request when reaching max delay in af…
2023-05-16 11:07:04 +02:00
Louis 128cd7030e Merge pull request #38293 from nextcloud/fix/users-table-alignment
fix(settings): Fix `UserList` styles set to css but scss is used
2023-05-16 09:30:38 +02:00
Julius Härtl 050c6d53b3 enh: Provide atomicRetry method to retry transactions if possible
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-16 08:13:20 +02:00
Joas Schilling b56445b9ad Merge pull request #38267 from nextcloud/bugfix/noid/fix-missing-bruteforce-protection
fix(lostpassword): Also rate limit the setPassword endpoint
2023-05-16 06:35:15 +02:00
Nextcloud bot 816c33c391 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-16 02:28:27 +00:00
Simon L be7c9cee39 Merge pull request #38225 from nextcloud/enh/noid/disable-pull-to-refresh
disable pull-down-to-refresh for mobile
2023-05-16 02:50:38 +02:00
F. E Noel Nfebe e7ba25574b Merge pull request #38202 from nextcloud/fix/37135/addgroup-link-to-button
Convert Add group link to button
2023-05-16 01:23:37 +01:00
Ferdinand Thiessen 02853fdae6 fix(settings): Fix UserList styles set to css but scss is used
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 00:55:03 +02:00
Robin Appelman f1a1361e0d Merge pull request #38265 from nextcloud/session-auth-check-username
check the username when doing external storage session auth
2023-05-15 23:48:34 +02:00
Ferdinand Thiessen 864aa1b61a Merge pull request #38256 from nextcloud/fix/noid/file-smart-picker-padding
Adjust file custom picker component padding
2023-05-15 23:27:33 +02:00
Simon L 3974fece7a disable pull-down-to-refresh for mobile
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-15 20:09:52 +00:00
Maksim Sukharev 77efa2e0ec Merge pull request #38127 from nextcloud/fix/a11y-status-modal
[user_status] Improve user online status modal
2023-05-15 22:01:16 +02:00
jld3103 2a19753cf7 Clear generated avatar caches
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-15 18:18:21 +02:00
jld3103 e294045223 Properly clear cached avatars
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-15 18:18:21 +02:00
Côme Chilliet 8362eea14e Merge pull request #38196 from nextcloud/fix/fix-32bits-freespace-and-sizes
Get rid of more int casts in file size manipulations
2023-05-15 17:05:46 +02:00
Joas Schilling 3a6bc7aba2 fix(middleware): Also abort the request when reaching max delay in afterController
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-15 16:20:19 +02:00
Joas Schilling 33385d7ecb fix(tests): Adjust unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-15 16:12:14 +02:00
nextcloud-command 457a212219 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-15 13:39:52 +00:00
nextcloud-command c588c1daf5 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-15 14:36:32 +02:00
Ferdinand Thiessen 8506d9018a fix(user_status): Remove redundant styling, use global class instead
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Ferdinand Thiessen e93b20c656 fix(user_status): Use native radio buttons for online status selection
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Ferdinand Thiessen 349e12eb56 fix(user_status): Add missing radiogroup role to online status selector
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Ferdinand Thiessen a99265bfbe fix(user_status): Group custom message input elements and assign label to emoji selector
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Ferdinand Thiessen 2133b0ecdd fix(user_status): Use role=radio for predefined statuses in online status modal
* Instead of tabable DIVs properly assign the radio role
* Set role to radiogroup of list container to group the predefined statuses

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Christoph Wurst b9026acf3f Merge pull request #38247 from nextcloud/fix/read-only-system-addres-book-acls
fix(carddav): Mark system address book as read-only
2023-05-15 14:01:41 +02:00
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability.
Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
2023-05-15 15:17:19 +03:30
Côme Chilliet ae525e1935 Fix return types in phpdoc
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-15 12:24:42 +02:00
Côme Chilliet 24690a3a48 Merge pull request #38231 from nextcloud/dependabot/npm_and_yarn/tar-6.1.14
bump tar from 6.1.13 to 6.1.14
2023-05-15 12:10:26 +02:00
Julien Veyssier 73f3c0aef7 adjust file custom picker component padding as the smart picker does not have padding anymore
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-05-15 12:08:26 +02:00
Simon L 778dd89160 Merge pull request #38242 from nextcloud/fix/35286/fix-scrolling
Fix incosistent scrolling in Firefox
2023-05-15 12:08:14 +02:00
Côme Chilliet 3bf19f76e6 Merge pull request #32961 from nextcloud/more-debug-lazyuserfolder
Make it easier to debug issue #32304
2023-05-15 11:42:06 +02:00
Louis 2f467d936c Merge pull request #38224 from nextcloud/versionEntityisSet
Check if version has entity before trying to access it
2023-05-15 11:26:27 +02:00
Christoph Wurst 5d038a2dc1 fix(carddav): Mark system address book as read-only
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-15 10:27:53 +02:00
Côme Chilliet 7fd453eb10 Merge pull request #38080 from nextcloud/enh/add-occ-command-for-legacy-filekey
Add an occ command to scan files for legacy file key in use and get rid of those
2023-05-15 10:20:34 +02:00
Joas Schilling 7ee81b6555 fix(lostpassword): Also rate limit the setPassword endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-15 09:21:07 +02:00
Julius Härtl 25f3678e24 Merge pull request #38237 from nextcloud/bugfix/noid/no-combine-l10n 2023-05-15 09:17:30 +02:00
Côme Chilliet 2a4af880c1 Merge pull request #38195 from nextcloud/fix/update-icewind-streams-in-files-external
Update icewind/streams to 0.7.7 in files_external
2023-05-15 09:12:04 +02:00
Julius Härtl 0ebb00d01d fix: Do not attempt to use l10n files as sources for combined js files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-15 08:29:05 +02:00
Nextcloud bot 8bdb50fd50 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-15 02:28:25 +00:00
Simon L 2730f48180 Fix incosistent scrolling in Firefox
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-14 18:37:01 +00:00
Nextcloud bot d454fe4b8c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-14 02:27:40 +00:00
fenn-cs 1ee8fbaad1 Convert Add group link to button
The "Add group" peforms an on-page action and does not route or link to
anywhere else hence, not semantically a link but a button.

This commit implements the ehancement described at the respository level.

A change would be required in [@nextcloud/nextcloud-vue](https://github.com/nextcloud/nextcloud-vue/issues/4108)
since the `NcAppNavigationNewItem` is an out-of-repo dependency.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-05-14 01:01:12 +01:00
Julius Härtl e18f97fc95 Merge pull request #37709 from nextcloud/bugfix/deadlock 2023-05-13 13:13:04 +02:00
Julius Härtl 8cab1d73ac Merge pull request #37621 from nextcloud/enh/lock-readable-path 2023-05-13 13:11:37 +02:00
Simon L 7ba6323db5 Merge pull request #38223 from nextcloud/enh/noid/use-primary-element-variables
Use the color-primary-element* variables
2023-05-13 13:10:28 +02:00
Simon L f5e8268ced Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-13 10:15:33 +00:00
dependabot[bot] 0ee7a51b9e Merge pull request #38235 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/parser-5.59.5 2023-05-13 08:44:11 +00:00
dependabot[bot] ce8e749334 bump @typescript-eslint/parser from 5.59.2 to 5.59.5
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-13 03:00:46 +00:00
Nextcloud bot 701e409c4c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-13 02:27:57 +00:00
dependabot[bot] 21c247c8e1 bump tar from 6.1.13 to 6.1.14
---
updated-dependencies:
- dependency-name: tar
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-13 02:06:02 +00:00
Git'Fellow d6eb48c436 Check if version has entity before trying to access it
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-05-12 16:00:16 +02:00
Arthur Schiwon ba867b6257 Merge pull request #38222 from nextcloud/27b2-version
re-add version number
2023-05-12 15:45:18 +02:00
Robin Appelman 4efcddf20f re-add version number
turns out those are quite important

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-12 15:37:34 +02:00
Robin Appelman 1f4dd62b4e Merge pull request #36592 from nextcloud/groupmanager-search-typing
fix default values and type hints for GroupManager::search
2023-05-12 15:25:32 +02:00
Arthur Schiwon b83432f92f Merge pull request #38139 from nextcloud/release/27.0.0_beta_2
27.0.0 beta 2
2023-05-12 15:02:39 +02:00
Christoph Wurst 24403148a9 Merge pull request #38013 from nextcloud/feat/users/store-load-manager-uid
feat(users): Store and load a user's manager
2023-05-12 15:01:14 +02:00
Christoph Wurst 2cc672d26b fix(dav): Run system address book create-if-not-exists in transaction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 14:15:02 +02:00
Christoph Wurst 7e3d5d6c70 Merge pull request #37933 from nextcloud/fix/contactsinteraction/transactional-read-update-insert
fix(contactsinteraction): Read, update or insert in DB transaction
2023-05-12 14:02:10 +02:00
Christoph Wurst 3aa3d7fa2f Merge pull request #38169 from nextcloud/doc/config/rearrange-sample-config
doc(config): Rearrange sample config into appropriate sections
2023-05-12 14:00:22 +02:00
Christoph Wurst 1381c4c157 feat(users): Store and load a user's manager
Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 13:56:48 +02:00
Joas Schilling b520a1368a Merge pull request #38200 from nextcloud/codeowners-patch
Update CODEOWNERS
2023-05-12 13:36:18 +02:00
Andy Scherzinger ca139f7e7e Merge pull request #38218 from nextcloud/chore/nextcloud-27-authors-file
chore: Update AUTHORS for Nextcloud 27
2023-05-12 13:13:21 +02:00
Christoph Wurst ad9ee7435a chore: Update AUTHORS for Nextcloud 27
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 12:09:32 +02:00
Joas Schilling dc190f4fc4 Fix more Christoph(er) mixups
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2023-05-12 12:02:38 +02:00
Joas Schilling 1399c88ee1 Merge pull request #38214 from nextcloud/bugfix/noid/bump-vue
fix(deps): Bump @nextcloud/vue to 7.11.4
2023-05-12 11:35:40 +02:00
Joas Schilling 2ad2fdd953 Order owner groups
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-12 10:58:26 +02:00
Alexander Piskun fa4bd1628b Update CODEOWNERS
task from @DaphneMuller 

Signed-off-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
2023-05-12 10:58:25 +02:00
John Molakvoæ 174c226c28 Merge pull request #38207 from nextcloud/fix/jsresourcelocator-l10n-handling 2023-05-12 10:47:46 +02:00
Joas Schilling 8bdd31bf27 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-12 09:58:14 +02:00
Joas Schilling ebdb1c6eae fix(deps): Bump @nextcloud/vue to 7.11.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-12 09:55:16 +02:00
Julia Kirschenheuter 0d3df2c795 Merge pull request #37870 from nextcloud/fix/36921-fix-table-for-users-app
Fix table view
2023-05-12 09:33:34 +02:00
Christoph Wurst d5c2e75db6 Merge pull request #37734 from nextcloud/enh/expose-system-address-book
feat(dav): expose system address book
2023-05-12 08:48:48 +02:00
Nextcloud bot b85c2dab27 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-12 02:28:13 +00:00
Simon L 83dcb2061d Merge pull request #38159 from nextcloud/enh/noid/fix-themed-icons
fix too dark or bright primary element color
2023-05-11 23:58:53 +02:00
Anna Larch 5c2eb732f1 fix(carddav): expose system address book
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-11 18:59:30 +02:00
Pytal d5588f366b Merge pull request #38147 from nextcloud/fix/36945-input_fields_do_not_convey_the_purpose_of_each_field_through_a_language 2023-05-11 09:34:43 -07:00
Ferdinand Thiessen 31c01fa3da fix(JSResourceLocator): Handle missing translations silently
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-11 18:22:24 +02:00
Côme Chilliet 49108880d2 Add fclose on opened resources
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 17:53:19 +02:00
Robin Appelman 2466724b01 check the username when doing external storage session auth
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:47:56 +02:00
John Molakvoæ 4a86487859 fix: getGroups limit check syntax
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-05-11 17:30:04 +02:00
Robin Appelman 13b06ba4e2 revert public interface back to the original types, just cast them before passing the nulls to the backends
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:30:03 +02:00
Robin Appelman 7ad3574d71 also update groupinterface and database backend
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:30:03 +02:00
Robin Appelman e4b9ecd8f2 fix default values and type hints for GroupManager::search
ints really are ints

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:30:01 +02:00
julia.kirschenheuter cb852ef63b Fix table view
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-11 16:36:37 +02:00
Côme Chilliet b0f072da60 Require icewind/streams to get the same version as 3rdparty
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 15:38:08 +02:00
Simon L 4a89b7ea22 adjust tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-11 14:15:47 +02:00
Robin Appelman 9d2d3d482b Merge pull request #38148 from nextcloud/file-info-etag
also show file etag in file info
2023-05-11 13:21:48 +02:00
Côme Chilliet a90581b405 Get rid of more int casts in file size manipulations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 12:46:16 +02:00
Côme Chilliet 1a12f14a19 Update icewind/streams to 0.7.7, and remove it from explicit deps in files_external
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 12:05:12 +02:00
Côme Chilliet a92028f5cd Rename command to drop-legacy-filekey and remove comment about legacy mode.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 11:56:14 +02:00
Côme Chilliet 36fc5dc8ae Copy data back instead of renaming to avoid changing the fileid
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 11:24:16 +02:00
John Molakvoæ 979f4033ca Merge pull request #33381 from luzpaz/fix/lib-public-typos 2023-05-11 10:26:50 +02:00
julia.kirschenheuter b54afad28e Add autocomplete attrs to input fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-11 10:16:28 +02:00
Arthur Schiwon b6c034ac57 Merge pull request #37961 from nextcloud/poc/noid/systemtags-perf
SystemTags endpoint to return tags used by a user with meta data
2023-05-11 10:16:03 +02:00
John Molakvoæ e1768485db Merge pull request #38194 from nextcloud/fix/unsupported-redirect 2023-05-11 10:15:41 +02:00
Arthur Schiwon 2d41f0c064 Merge pull request #38067 from nextcloud/fix/noid/sortTags
fix: sort tags by name
2023-05-11 09:54:15 +02:00
John Molakvoæ 68abba8d73 fix: prevent malicious url in unsupported browser redirect
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-11 08:56:15 +02:00
John Molakvoæ db02684008 Merge pull request #37691 from nextcloud/object-store-background-scan 2023-05-11 08:15:41 +02:00
Varun Patil c6cee282b3 redis: move lua scripts to class and add type hints
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-10 17:37:02 -07:00
Pytal 83ed1fb004 Merge pull request #38163 from nextcloud/show-loading-spinner-until-share-settings-are-fully-loaded 2023-05-10 17:20:56 -07:00
Robin Appelman 2ea41dab93 repair -1 folder sizes for object store background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-10 19:33:26 +02:00
Arthur Schiwon e20e18f45f fix: use interface instead of implementation as type hint
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-10 19:06:29 +02:00
Arthur Schiwon df662f50bd refactor: remove where specification from SELECT getter
- search constraints are now fully in control of
  SystemTagsInFilesDetector::detectAssignedSystemTagsIn(), avoids
  duplication of a WHERE statement

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-10 18:48:06 +02:00
Simon L 928b3b31b4 Merge pull request #38174 from nextcloud/enh/template-picker
feat: Enhance template picker size and layout depending on aspect ratio
2023-05-10 18:13:32 +02:00
Joas Schilling 1085598fd1 Merge pull request #38170 from nextcloud/bugfix/38165/workflow-engine-ui
fix(workflowengine): Fix multiple UI issues in workflow engine admin settings
2023-05-10 17:16:21 +02:00
Simon L eb8770584e use brighten and darken instead of grey
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-10 16:35:11 +02:00
Joas Schilling b70b1f66c9 fix(theming): Cut of the brightness into both directions if unknown
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-10 15:41:32 +02:00
Julius Härtl 032e3d3ad5 feat: Enhance template picker size and layout depending on aspect ratio
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-10 15:33:57 +02:00
Robin Appelman 4822f104f7 Merge pull request #37971 from nextcloud/info-file-get
Add commands for basic file actions
2023-05-10 13:40:06 +02:00
Anna 9e53934498 Merge pull request #36118 from nextcloud/fix/caldav/invitation-outlook-compatibilty
Fix calendar emails to be outlook compatible
2023-05-10 12:10:42 +02:00
Joas Schilling 0983572e65 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-10 12:03:15 +02:00
Joas Schilling c20fd9f91f fix(workflowengine): Fix multiple UI issues in workflow engine admin settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-10 11:59:29 +02:00
Simon L d55a7c619d Fix typos in lib/public subdirectory
Found via `codespell -q 3 -S l10n -L jus ./lib/public`

Signed-off-by: luz paz <luzpaz@github.com>

Update lib/public/Accounts/IAccount.php

Signed-off-by: luz paz <luzpaz@github.com>

Signed-off-by: Simon L <szaimen@e.mail.de>
Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-05-10 11:56:34 +02:00
John Molakvoæ 14cb58c0e5 Merge pull request #31469 from nextcloud/feat/workflow-auto-update-lint-eslint.yml 2023-05-10 11:41:29 +02:00
Christoph Wurst f63c2db6a1 Merge pull request #38152 from nextcloud/chore/psalm-baseline-editorconfig
chore: Fine-tune editorconfig for build/psalm-baseline.xml
2023-05-10 11:08:59 +02:00
Christoph Wurst 1fd8f41e33 Merge pull request #38048 from nextcloud/enh/add-x-nc-scope-property
feat(dav): store scopes for properties and filter locally scoped properties for federated address book sync
2023-05-10 11:05:41 +02:00
Louis 5993a4b3e3 Merge pull request #37954 from nextcloud/artonge/fix/do_not_allow_to_show_pwd_in_sharing
Do not allow to toggle between password and text in sharing
2023-05-10 10:23:52 +02:00
Christoph Wurst 00d6a6f514 doc(config): Rearrange sample config into appropriate sections
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-10 09:05:28 +02:00
Julia Kirschenheuter 90345ddc7d Merge pull request #38144 from nextcloud/fix/36922-9.1.3.1h/8.1_-_When_editing_a_user_in_the_table,_input_fields_appear_in_the_cells_that_can_be_used_to_edit_the_data
Add hidden labels for inputs while editing user row
2023-05-10 08:41:55 +02:00
Julius Härtl b935725b70 Merge pull request #38100 from tanganellilore/fix_delete_ChunkingV2Plugin 2023-05-10 08:34:25 +02:00
Nextcloud bot 46bb952ba5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-10 02:31:27 +00:00
Daniel Calviño Sánchez b677d3e27d Show loading spinner until share settings are fully loaded
The inputs of the sharing settings are generated in a template in the
server, but the listeners to react to changes in the elements and save
the values in the server are loaded in the client once the DOM finishes
loading. If the DOM takes long to load the user can start to interact
with the settings before the listeners were set up and, therefore, the
changes would not be saved in the server. However, as the inputs are
modified the user would think that the changes were already saved.

To address that now when the sharing settings are open a loading spinner
is shown instead of the contents of the sharing settings, and only once
the listeners to save the changes were set up the spinner is removed and
the contents shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-10 03:00:37 +02:00
Arthur Schiwon dbfd2f936a refactor: remove SystemTag logic from Folder into QuerySearchHelper
- adds OC\SystemTag\SystemTagsInFilesDetector where the search logic is
  moved to

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:52 +02:00
Arthur Schiwon 7f3725c962 chore: polish SystemTagsInUseCollection
- DI SystemTagManager
- add some comments and doc
- catch NoUserException
- add return type hints

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:52 +02:00
Arthur Schiwon b07c5dff72 fix: improve naming of new systemtags endpoint to systemtags-assigned
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:51 +02:00
Arthur Schiwon 2489a2d63a feat: specify media type via url path: systemtags-current/$mediaType
- only the media part of the mime type can be search, but not the full
  mime type. It can be added, should it become necessary.
- thus fixes previously hardcoded selector for image/ types
- also fixes a return type hint
- adds a return type hint

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:51 +02:00
Arthur Schiwon 6bff6a5667 PoC: SystemTags endpoint to return tags used by a user with meta data
Target case is photos app: when visiting the tags category, all systemtags
of the whole cloud are retrieved. In subequent steps the next tag is
requested until the browser view is filled with tag tiles (i.e. previews
are requested just as well).

With this approach, we incorpoate the dav search and look for user related
tags that are used by them, and already returns the statistics (number of
files tagged with the respective tag) as well as a file id for the purpose
to load the preview. This defaults to the file with the highest id.

Call:
curl -s -u 'user:password' \
  'https://my.nc.srv/remote.php/dav/systemtags-current' \
  -X PROPFIND -H 'Accept: text/plain' \
  -H 'Accept-Language: en-US,en;q=0.5'  -H 'Depth: 1' \
  -H 'Content-Type: text/plain;charset=UTF-8' \
  --data @/home/doe/request-systemtag-props.xml

With request-systemtag-props.xml:
<?xml version="1.0" encoding="UTF-8"?>
<d:propfind xmlns:d="DAV:">
        <d:prop xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
                <oc:id/>
                <oc:display-name/>
                <oc:user-visible/>
                <oc:user-assignable/>
                <oc:can-assign/>
                <nc:files-assigned/>
                <nc:reference-fileid/>
        </d:prop>
</d:propfind>

Example output:
  …
  <d:response>
    <d:href>/master/remote.php/dav/systemtags/84</d:href>
    <d:propstat>
      <d:prop>
        <oc:id>84</oc:id>
        <oc:display-name>Computer</oc:display-name>
        <oc:user-visible>true</oc:user-visible>
        <oc:user-assignable>true</oc:user-assignable>
        <oc:can-assign>true</oc:can-assign>
        <nc:files-assigned>42</nc:files-assigned>
        <nc:reference-fileid>924022</nc:reference-fileid>
      </d:prop>
      <d:status>HTTP/1.1 200 OK</d:status>
    </d:propstat>
  </d:response>
  <d:response>
    <d:href>/remote.php/dav/systemtags/97</d:href>
    <d:propstat>
      <d:prop>
        <oc:id>97</oc:id>
        <oc:display-name>Bear</oc:display-name>
        <oc:user-visible>true</oc:user-visible>
        <oc:user-assignable>true</oc:user-assignable>
        <oc:can-assign>true</oc:can-assign>
        <nc:files-assigned>1</nc:files-assigned>
        <nc:reference-fileid>923422</nc:reference-fileid>
      </d:prop>
      <d:status>HTTP/1.1 200 OK</d:status>
    </d:propstat>
  </d:response>
  …

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:48 +02:00
Anna Larch bd80a1b2dd feat(dav): store scopes for properties and filter locally scoped properties for federated address book sync
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-09 19:17:39 +02:00
Côme Chilliet fc076271c7 Merge pull request #37944 from nextcloud/enh/allow-filescan-to-continue-on-error
Do not stop at the first PHP error/warning in files:scan
2023-05-09 17:52:09 +02:00
Côme Chilliet 185fe5378b Merge pull request #36893 from nextcloud/fix/avoid-file-events-on-null-path
Make sure to never trigger files hooks on a null path
2023-05-09 17:44:14 +02:00
Robin Appelman ddc53a9046 minor fixes for get/put
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-09 17:38:43 +02:00
Louis 20edd4b5ca Merge pull request #38140 from nextcloud/enh/noid/adjust-wording-update-hint
adjust wording for update hint when files of a specific app are not there
2023-05-09 17:35:03 +02:00
Louis Chemineau 6faf8b85d6 Do not allow to toggle between password and text in sharing
This does not makes sense as we do not have the clear text value.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-09 17:33:53 +02:00
John Molakvoæ 31302c4528 Merge pull request #38095 from nextcloud/artonge/fix/file_metadata_scan 2023-05-09 17:28:47 +02:00
Christoph Wurst cfe81050f5 chore: Fine-tune editorconfig for build/psalm-baseline.xml
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-09 17:26:35 +02:00
Pytal 972b2097d0 Merge pull request #38104 from nextcloud/feat/um-32-bit 2023-05-09 08:20:41 -07:00
John Molakvoæ 0048071438 Merge pull request #38069 from nextcloud/list-supported-db 2023-05-09 17:16:26 +02:00
Robin Appelman 904fdf3aa3 Merge pull request #37838 from nextcloud/event-logger-http
log performance events for http requests
2023-05-09 17:15:27 +02:00
John Molakvoæ 416f632280 Merge pull request #38125 from nextcloud/versionEntityCheck 2023-05-09 17:11:57 +02:00
Robin Appelman cdcd6f2872 also show file etag in file info
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-09 14:56:37 +02:00
julia.kirschenheuter da36d19580 Add hidden labels for inputs while editing user row
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-09 12:48:15 +02:00
Côme Chilliet f734a76466 Merge pull request #38109 from nextcloud/dependabot/npm_and_yarn/jsdom-22.0.0
build(deps-dev): Bump jsdom from 21.1.1 to 22.0.0
2023-05-09 12:22:23 +02:00
Côme Chilliet 725403cb0d Copy and move files to migrate them to the new key
We have to rewrite the header, so the whole file needs to be rewritten,
 so we just use the same strategy as DecryptAll.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-09 12:02:57 +02:00
Arthur Schiwon d946256ff9 Merge pull request #38088 from nextcloud/fix/38053/change-display-name
fix(user): Can change display name
2023-05-09 11:48:10 +02:00
Louis Chemineau b67e34f78f Restrict EXIF extracting to a subset of formats
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-09 11:43:56 +02:00
Louis Chemineau 157be42a83 Prevent error on files scan if metadata exists
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-09 11:43:56 +02:00
Simon L 84b88c01c7 adjust wording
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-09 11:19:48 +02:00
Côme Chilliet 1cc1866ba3 Add back missing slash in LazyUserFolder path
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-05-09 10:59:31 +02:00
Simon L 6e5a307757 adjust wording for update hint when files of a specific app are not there
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-09 10:56:02 +02:00
John Molakvoæ ca88a1876b Merge pull request #38133 from nextcloud/feat/setupcheck-debug 2023-05-09 10:14:21 +02:00
John Molakvoæ 671c4cbbee 27.0.0 beta 2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-09 10:13:35 +02:00
John Molakvoæ 14a468f326 Merge pull request #38099 from nextcloud/fix/missing-clear-status-route 2023-05-09 08:24:01 +02:00
Julius Härtl a6966c0b2d feat: Add setup check warning if instance is in debug mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-09 07:34:03 +02:00
Nextcloud bot 158405127b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-09 02:19:48 +00:00
Arthur Schiwon c7bb540d08 Merge pull request #36895 from apasov/patch-1
Fix json_decode expecting a string
2023-05-08 21:20:38 +02:00
Joas Schilling 53957cf35b Merge pull request #38124 from nextcloud/dependajulia/update-nc-vue-to-v7.11.3
Bump @nextcloud/vue to 7.11.3
2023-05-08 14:31:03 +02:00
Git'Fellow 7cd5cbe6e9 Check if version entity is not null before delete
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-05-08 14:24:58 +02:00
jld3103 e6e2b873a3 Remove unreachable UserStatus#clearStatus route
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-08 14:16:54 +02:00
julia.kirschenheuter 79fa17b438 Bump @nextcloud/vue to 7.11.3
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-08 13:01:44 +02:00
Joas Schilling 598859d969 Merge pull request #38097 from nextcloud/bugfix/38087/dont-translate-when-from-and-to-are-equal
fix(translation): Don't use translation providers when from and to ar…
2023-05-08 09:40:22 +02:00
Joas Schilling b1c6b940a6 Merge pull request #38102 from nextcloud/feature/noid/add-messageid-to-talk-richobject-definition
Add messageId to richObject definition of Talk
2023-05-08 09:26:04 +02:00
Nextcloud bot cfbb80a8c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-08 02:28:13 +00:00
Daniel 55d7add92f Rename numericStorageId to numericExternalStorageId in PersonalMount.php
so that it doesn't override `numericStorageId` in the `MountPoint` baseclass

fixes https://github.com/nextcloud/server/issues/37473
fixes https://github.com/nextcloud/server/issues/37414

Signed-off-by: Daniel <7558512+DerGenaue@users.noreply.github.com>
2023-05-07 04:47:44 +02:00
Nextcloud bot b3ab8859fb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-07 02:28:17 +00:00
dependabot[bot] e785ae345e Merge pull request #38112 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.17 2023-05-06 08:01:18 +00:00
dependabot[bot] 44f9788d7c build(deps-dev): Bump @types/dockerode from 3.3.16 to 3.3.17
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.16 to 3.3.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

---
updated-dependencies:
- dependency-name: "@types/dockerode"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 06:52:00 +00:00
dependabot[bot] e5b7ec61dc Merge pull request #38111 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.59.2 2023-05-06 06:50:35 +00:00
dependabot[bot] 2dcd9776fd Merge pull request #38107 from nextcloud/dependabot/npm_and_yarn/webpack-cli-5.0.2 2023-05-06 05:38:48 +00:00
dependabot[bot] 228bb100d8 bump @typescript-eslint/eslint-plugin from 5.59.1 to 5.59.2
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 03:45:32 +00:00
Nextcloud bot 737e79854e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-06 02:27:44 +00:00
dependabot[bot] 2b42085fe0 build(deps-dev): Bump jsdom from 21.1.1 to 22.0.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 21.1.1 to 22.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/21.1.1...22.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 01:59:35 +00:00
dependabot[bot] e27309feab build(deps-dev): Bump webpack-cli from 5.0.1 to 5.0.2
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@5.0.1...webpack-cli@5.0.2)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 01:58:27 +00:00
Christopher Ng 4e51f5224c feat(UserMigration)!: 32-bit support
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-05 17:59:57 -07:00
Kate c40d1b7dbc Merge pull request #38077 from nextcloud/fix/libxml-version
Remove version check for ancient libxml version
2023-05-05 21:44:25 +02:00
jld3103 04d840211f Remove version check for ancient libxml version
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-05 19:07:55 +02:00
Marcel Müller 484f7a6641 Add messageId to richObject definition of Talk
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-05-05 17:51:53 +02:00
Andy Scherzinger 236f9a2dfe Merge pull request #38068 from nextcloud/hubNumberBumper
Bump hub number
2023-05-05 17:09:04 +02:00
Lorenzo Tanganelli d920e65dc5 fix error on delete in ChunkingV2Plugin
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
2023-05-05 13:07:58 +00:00
Joas Schilling 505e467cc4 fix(translation): Don't use translation providers when from and to are the same
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-05 14:03:14 +02:00
John Molakvoæ 263a6910c4 Merge pull request #38063 from nextcloud/fix/theming 2023-05-05 13:57:55 +02:00
Simon L a1ed1db01b Merge pull request #31660 from dzatoah/pr/rename-sendEventRemindersToSharedGroupMembers-to-sendEventRemindersToSharedUsers
Rename setting 'sendEventRemindersToSharedGroupMembers' -> 'sendEventRemindersToSharedUsers'.
2023-05-05 08:12:04 +02:00
Nextcloud bot f997b8a2a3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-05 02:28:12 +00:00
Christoph Wurst e127375dd4 Merge pull request #38085 from nextcloud/chore/federation/address-book-sync-logging
fix(federation): Log address book sync exceptions
2023-05-05 03:18:48 +02:00
Christoph Wurst d2606a9b7d Merge pull request #38073 from nextcloud/feat/caldav/map-additional-emails-system-addres-book
feat(carddav): Map user's additional emails into the SAB card
2023-05-04 23:50:37 +02:00
John Molakvoæ 46459ae93f Merge pull request #35092 from Messj1/bugfix/type-error-cert-manager-cache-path 2023-05-04 21:53:49 +02:00
John Molakvoæ f4e5d3d4e7 Merge pull request #38038 from nextcloud/release/27.0.0_beta_1 2023-05-04 20:52:00 +02:00
Christopher Ng 4ecae83385 fix(user): Can change display name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-04 11:14:49 -07:00
Côme Chilliet 6034cc6893 Make sure to never trigger files hooks on a null path
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:55:09 +00:00
Robin Appelman 36221a8865 add command to write a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:58 +02:00
Robin Appelman f9fb102f0b move get/delete commands to files namespace, make get take the output as argument instead of option
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:58 +02:00
Robin Appelman ad81a5f333 add command to delete a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:57 +02:00
Robin Appelman b80e554464 add command to get a file from the filesystem
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:55 +02:00
Christoph Wurst 48b03b6c20 fix(federation): Log address book sync exceptions
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-04 18:21:39 +02:00
Robin Appelman f8b4e0025b Merge pull request #37865 from nextcloud/info-file-space
add command to summarize space usage
2023-05-04 18:21:11 +02:00
Côme Chilliet c9c49bfef8 Log failures to delete legacy file key
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:50:51 +02:00
Côme Chilliet 146284f170 Fix fopen mode
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:50:34 +02:00
Côme Chilliet 8ada0cec2c Merge pull request #38057 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-05-04 17:15:22 +02:00
Côme Chilliet 88405d320e Add an error counter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:06:46 +02:00
Côme Chilliet 5663f9b31e Add an occ command to scan files for legacy file key in use and get rid of those
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 16:53:25 +02:00
Christoph Wurst 8c727f2285 feat(carddav): Map user's additional emails into the SAB card
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-04 15:03:01 +02:00
Robin Appelman cd3e7fd1b0 list supported databases when provided db isn't supported
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 14:43:48 +02:00
John Molakvoæ 20e5e37ab5 27.0.0 beta 1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 14:41:44 +02:00
John Molakvoæ 4c71d8f8a4 fix(theming): replace elementColor dark value with better contrast #8c8c8c
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 14:41:19 +02:00
Andy Scherzinger bfa16fb3d7 bump hub number
Bump the hub number 4->5 for v27

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-04 13:36:03 +02:00
Arthur Schiwon badee49b4b fix: sort tags by name
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-04 13:21:14 +02:00
Carl Schwan 85770f3b9f Make it easier to debug issue #32304
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-05-04 11:11:52 +00:00
Robin Appelman 5c31c35d40 add option to list all files instead of limiting
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 13:10:26 +02:00
Robin Appelman 2b4bd02be9 add command to summarize space usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 13:10:25 +02:00
Daniel Teichmann 56f36b94e5 Rename setting 'sendEventRemindersToSharedGroupMembers' to 'sendEventRemindersToSharedUsers'.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
2023-05-04 13:05:00 +02:00
John Molakvoæ b603a3eac7 fix(theming): do not show the image default background on user theming if disabled
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:04:15 +02:00
John Molakvoæ 9ab7a19b09 fix(theming): remove unnecessary color-primary-element-default-hover variable
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:04:15 +02:00
John Molakvoæ 4d3b49b09a fix(theming): replace color-primary-text-dark with color-primary-element-text-dark
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:02:53 +02:00
John Molakvoæ 74461a9479 fix(theming): ensure image background is not defined if admin disabled it
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:02:49 +02:00
John Molakvoæ c6ebb0d786 fix(theming): calc primary element from current main background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:02:49 +02:00
Simon L 527de8ac9d Merge pull request #37148 from nextcloud/enh/noid/increase-imaginary-timeouts
increase imaginary timeouts as for big files the processing could take very long
2023-05-04 12:44:52 +02:00
Ferdinand Thiessen 5938808229 Merge pull request #38028 from nextcloud/fix/36958
fix(settings): Increase "Edit your profile visibility button" contrast
2023-05-04 12:24:43 +02:00
Thomas Citharel 375466819e fix(mimetype): Fix returning value when finding existing mimetype in MimeType Loader
Also, only return the ID from the transaction as the mimetype string is
already used from the function argument value

Fixes https://github.com/nextcloud/server/pull/35744/files#r1184644610

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-05-04 11:15:50 +02:00
Ferdinand Thiessen 1a00d99015 Merge pull request #38050 from nextcloud/fix/skip-content-buttons
Fix "skip content"-buttons on small screen sizes
2023-05-04 11:04:48 +02:00
Ferdinand Thiessen 5a524763fe Merge pull request #38051 from nextcloud/fix/weather-menu-aria
fix(weather_status): Override the default `NcActions` aria-label
2023-05-04 10:55:12 +02:00
Joas Schilling b44de9ccb8 Merge pull request #38046 from nextcloud/bugfix/noid/abort-dav-requests-with-429
fix(dav): Also throw in basic auth requests
2023-05-04 09:06:57 +02:00
dependabot[bot] d057588bdf Merge pull request #38056 from nextcloud/dependabot/npm_and_yarn/engine.io-6.4.2 2023-05-04 02:39:39 +00:00
Nextcloud bot 4b806a00fa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-04 02:28:08 +00:00
nextcloud-command 642536f04e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-04 02:24:42 +00:00
dependabot[bot] 55f28280ce build(deps): Bump engine.io from 6.4.1 to 6.4.2
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.4.1...6.4.2)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 01:56:55 +00:00
Daniel 3b2e490e38 Merge pull request #38034 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-05-03 23:13:16 +02:00
Daniel db73534e09 Merge pull request #38016 from nextcloud/oracle-limit-workaround
fix: add workaround for oci and limit queries
2023-05-03 23:06:59 +02:00
Joas Schilling b91957e3df fix(dav): Abort requests with 429 instead of waiting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-03 22:43:36 +02:00
nextcloud-command d68afb6e49 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-03 18:42:06 +00:00
Ferdinand Thiessen 0a0740a5a9 chore: Build css assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-03 19:50:26 +02:00
Ferdinand Thiessen 5bf4b1d6b8 fix(core): Show skip content buttons on lowres displays correctly
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-03 19:49:01 +02:00
Julius Härtl e5ba7eb3d5 Merge pull request #38045 from nextcloud/fix/35760
Fix app overflow menu on bright color theme
2023-05-03 19:45:02 +02:00
Ferdinand Thiessen 1fa63ae431 fix(weather_status): Override the default NcActions aria-label
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-03 19:39:27 +02:00
Pytal 5a7c8b3751 Merge pull request #38012 from nextcloud/fix/a11y-share-input 2023-05-03 10:28:35 -07:00
Ferdinand Thiessen 88f344339d fix(AppMenu): On bright color theme the app icons in the overflow menu must be inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-03 14:42:14 +00:00
Julia Kirschenheuter df5283ad05 Merge pull request #37967 from nextcloud/fix/36926-The_visually_hidden_elements_of_the_navigation_on_the_left_are_always_read_by_screen_readers
Add `aria-hidden` attr to the whole navigation depending on a sidebar state
2023-05-03 15:42:29 +02:00
Johannes ed48a471d4 Merge pull request #38025 from nextcloud/enh/37800/write-profile-prop-to-system-adressbook
enh(contacts): write profile prop and backend prop to system addressbook
2023-05-03 15:37:01 +02:00
Julius Härtl 2c60ad8df0 Merge pull request #37787 from nextcloud/fix/rollback-files-locked-by-apps
fix: catch ManuallyLockedException and use app context
2023-05-03 13:18:36 +02:00
Arthur Schiwon 7a7578cb86 Merge pull request #37937 from nextcloud/artonge/feat/remove_non_existing_jobs
Remove job from oc_jobs when the file is not findable
2023-05-03 12:51:11 +02:00
julia.kirschenheuter ad7264ee5a Add aria-hidden attr to the whole navigation depending on a sidebar state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-03 11:56:48 +02:00
Joas Schilling 9ace8e561d Merge pull request #38003 from nextcloud/bugfix/noid/improve-translations-api
Improve translations api with detecting languages
2023-05-03 11:07:30 +02:00
Joas Schilling 8013bc91c8 Merge pull request #37385 from nextcloud/bugfix/noid/dont-allow-adding-the-same-email-multiple-times
fix(provisioning_api): Don't allow to configure the same additional e…
2023-05-03 11:06:41 +02:00
Marcel Klehr 545de25eec Merge pull request #37802 from nextcloud/fix/37729 2023-05-03 10:57:41 +02:00
Louis Chemineau 8ad2f34045 Remove job from oc_jobs when the file is not findable
When an application is disabled, or when a background jobs is removed by the app developer, then the job won't be found. In those cases, it makes sense to remove those jobs from oc_job.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-03 10:39:38 +02:00
Arthur Schiwon d95ccfd3ae Merge pull request #37958 from nextcloud/artonge/fix/better_handle_expireDate_for_share
Mutualize expireDate handling when creating and updating a share
2023-05-03 10:37:48 +02:00
Arthur Schiwon 997efe44ff Merge pull request #37943 from nextcloud/fix/fix-getcontent-return-type
Fix file_get_content signatures to make it clear it can return false
2023-05-03 10:34:51 +02:00
Arthur Schiwon 7fcf42ad3f Merge pull request #38024 from nextcloud/fix/fix-32bits-ci
Fix 32bits ci
2023-05-03 10:34:04 +02:00
Arthur Schiwon ef87dfc478 Merge pull request #33106 from nextcloud/feature/update-expire-date
Update expire_date column of table comments
2023-05-03 10:26:28 +02:00
Max 337fc110ec fix: catch ManuallyLockedException and use app context
The files_lock app may throw ManuallyLockedExceptions
when attempting to revert a file that is currently opened.
This would prevent the user from rolling back a opened file.

Text and Richdocuments handle changes of the file while editing.
Allow reverting files even when they are locked by these apps
and let the apps handle the conflict.

Signed-off-by: Max <max@nextcloud.com>
2023-05-03 09:52:36 +02:00
Nextcloud bot 8873960bcf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-03 02:28:00 +00:00
nextcloud-command f94e013880 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-03 02:23:15 +00:00
Ferdinand Thiessen 6f798b7dee fix(settings): Increase "Edit your profile visibility button" contrast
Before this the contrast of the button was too low in terms of accessibility.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-02 18:10:15 +00:00
Julius Härtl 3bdd770129 fix: Check for wrapped retriable exceptions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-02 19:42:11 +02:00
Julius Härtl 11c5bc6a2a fix: Wrap filesystem LockedExceptions for holding the readable path
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-02 19:40:27 +02:00
Côme Chilliet c995428431 Merge pull request #37903 from nextcloud/fix/user_ldap-fix-multiple-ldap-support
Fix multiple LDAP configuration support by fixing AccessFactory
2023-05-02 17:11:01 +02:00
Côme Chilliet f7632f2fc4 Merge pull request #32866 from nextcloud/performance/searchInGroup-displayname-cache
Optimize retrieving display name when searching for users in a group
2023-05-02 16:42:09 +02:00
Joas Schilling 9d6ec68b59 feat(translation): Return the detected language so clients can show more details
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-02 16:38:33 +02:00
Joas Schilling dc67b48c28 fix(translation): Detect the language first and then ask all providers for translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-02 16:38:33 +02:00
Daniel ac56be10fb Merge pull request #37962 from JL102/scrollbars
Stopped scrollbar being hidden by rounded corners
2023-05-02 16:33:17 +02:00
Johannes Merkel ab76b086aa enh(contacts): write profile prop and backend prop to system addressbook
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-05-02 16:31:11 +02:00
Simon L 4dfadcabb9 Merge pull request #38014 from nextcloud/norm-logic
Normalize logical operators
2023-05-02 16:27:58 +02:00
Côme Chilliet e252182d80 Put back file cleanups, and remove dead code in tests/lib/Template/JSResourceLocatorTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 16:24:28 +02:00
Côme Chilliet 95d98b57ec Run 32bit CI on workflow modifications and new releases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 16:10:20 +02:00
Côme Chilliet adf743b141 Remove the array_pop failing tests on 32bit CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 16:09:37 +02:00
nextcloud-command ff1e792ec2 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-02 14:03:57 +00:00
Robin Appelman 8f1e711858 Merge pull request #32877 from nextcloud/mount-cache-unique-mountpoint
allow storing multiple mounts for the same rootid in the mount cache
2023-05-02 15:40:47 +02:00
Marcel Klehr af665378f8 fix(files_sharing): Don't show copy action when !canDownload and no update permissions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-05-02 13:08:30 +00:00
Kate 436a08893b Merge pull request #37390 from nextcloud/update/psalm-5
Update to psalm 5
2023-05-02 14:55:43 +02:00
Daniel Kesselberg eecdb62e92 fix: add workaround for oci and limit queries
DBAL uses a helper column "doctrine_rownum" for top-n queries

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-05-02 14:26:28 +02:00
Simon L 40b6ce86f8 Merge pull request #38019 from nextcloud/enh/noid/disable-contactsmenu-tests
disable contacts menu features that regularly fail on drone
2023-05-02 13:42:10 +02:00
dependabot[bot] 3e2680b461 Merge pull request #37985 from nextcloud/dependabot/npm_and_yarn/vue/vue2-jest-29.2.4 2023-05-02 11:25:10 +00:00
jld3103 9fddbeaa54 Use psalm 5
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-02 13:24:30 +02:00
Simon L dcd723ee23 disable contacts menu features that regularly fail on drone
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-02 12:30:35 +02:00
dependabot[bot] d5bc83d8d2 bump @vue/vue2-jest from 29.2.3 to 29.2.4
---
updated-dependencies:
- dependency-name: "@vue/vue2-jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 10:09:50 +00:00
John Molakvoæ 31f0bf3efb Merge pull request #38008 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/parser-5.59.2 2023-05-02 12:08:24 +02:00
John Molakvoæ a889c0f922 Merge pull request #37938 from nextcloud/feat/tags-files-inline 2023-05-02 12:07:43 +02:00
Côme Chilliet e8112eda76 Merge pull request #37980 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-05-02 11:44:19 +02:00
Côme Chilliet 10296ba7e5 Fix tests, and fix Group::searchUsers to avoid duplicates
Also went back to searchUsers indexing the array by uid as it was the
 previous behavior and the IGroup phpdoc does not say anything about the
 keys.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 11:35:41 +02:00
John Molakvoæ cab8a07b3c feat(system-tags): show inline in files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-02 10:36:07 +02:00
Git'Fellow 951c5b973e Normalize logical operators
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-05-02 10:10:02 +02:00
Côme Chilliet 2ffa9fc797 Only show error stack trace on very verbose level
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 10:01:38 +02:00
Nextcloud bot 08e1bcd2c9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-02 02:27:47 +00:00
nextcloud-command 1eb62b7786 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-02 02:25:04 +00:00
Christopher Ng 8960df2d6a Fix share input id
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-02 02:22:29 +00:00
dependabot[bot] ca815912ec chore(deps-dev): bump @typescript-eslint/parser from 5.59.0 to 5.59.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.0 to 5.59.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 17:25:38 +00:00
Nextcloud bot 193e096813 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-01 02:29:22 +00:00
Nextcloud bot f8e57acab5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-30 02:29:19 +00:00
dependabot[bot] 27a4deee2a Merge pull request #37979 from nextcloud/dependabot/npm_and_yarn/cypress-12.11.0 2023-04-29 09:00:09 +00:00
dependabot[bot] a6b8d77b61 chore(deps-dev): bump cypress from 12.10.0 to 12.11.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.10.0 to 12.11.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v12.10.0...v12.11.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-29 07:09:33 +00:00
dependabot[bot] 37dfc589e0 Merge pull request #37989 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-cypress-2.13.3 2023-04-29 07:08:34 +00:00
dependabot[bot] 0240c96274 Merge pull request #37988 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.59.1 2023-04-29 07:08:29 +00:00
dependabot[bot] 62c07bd884 Merge pull request #37987 from nextcloud/dependabot/npm_and_yarn/sass-1.62.1 2023-04-29 07:06:22 +00:00
dependabot[bot] 90916914c2 Merge pull request #37981 from nextcloud/dependabot/npm_and_yarn/nextcloud/webpack-vue-config-5.5.1 2023-04-29 06:49:41 +00:00
dependabot[bot] 24174cc204 bump eslint-plugin-cypress from 2.13.2 to 2.13.3
---
updated-dependencies:
- dependency-name: eslint-plugin-cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-29 03:56:00 +00:00
dependabot[bot] e1b06da094 bump @typescript-eslint/eslint-plugin from 5.59.0 to 5.59.1
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-29 03:55:59 +00:00
dependabot[bot] 9688cc9c93 chore(deps-dev): bump sass from 1.62.0 to 1.62.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.62.0 to 1.62.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.62.0...1.62.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-29 03:42:58 +00:00
dependabot[bot] 763a9951ce bump @nextcloud/webpack-vue-config from 5.5.0 to 5.5.1
---
updated-dependencies:
- dependency-name: "@nextcloud/webpack-vue-config"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-29 03:03:36 +00:00
Nextcloud bot cd064017ca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-29 02:28:29 +00:00
JL102 f0716abf96 Update autogenerated files
Signed-off-by: JL102 <jordanlees@mailbox.org>
2023-04-28 14:02:18 -04:00
Simon L d6847a9757 Merge pull request #37975 from nextcloud/enh/noid/update-npm-audit-fix
update npm-audit-fix
2023-04-28 19:36:00 +02:00
Simon L d2a242de07 update npm-audit-fix
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-28 18:58:54 +02:00
John Molakvoæ 05573be4fc Merge pull request #37968 from nextcloud/enh/noid/add-npm-audit-fix 2023-04-28 18:40:10 +02:00
Simon L f4bef823eb add npm-audit-fix
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-28 16:01:46 +02:00
Robin Appelman e7ab30f5d8 log performance events for http requests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 15:37:57 +02:00
Robin Appelman db43d90387 add new index in repair step instead of on-migrate
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 15:08:08 +02:00
Robin Appelman f5e2b0b22f allow storing multiple mounts for the same rootid in the mount cache
currently `[$userId, $rootId]` is used as the unique key for storing mounts in the mount cache,
however there are cases where the same rootid is mounted in multiple places for a user which currently leads to not all of those mounts being added to the cache.

Previously this didn't matter as the mount cache was only used to list users with access to a specific file, so a user having access to the file multiple times didn' change anything.

With 24 the mount cache is used for more cases and multiple mounts for the same id becomes relevant.
While I think there isn't a real negative effect atm besides missing the optimized path we should ensure that the mounts are properly listed

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 15:08:08 +02:00
John Molakvoæ 74f31bac8c Merge pull request #37609 from nextcloud/showTags 2023-04-28 13:37:16 +02:00
John Molakvoæ 20df0019f1 fix(psalm): systemtags
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-28 12:23:52 +02:00
Robin Appelman 74ced3d2eb expose system tags as dav property for files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 10:46:38 +02:00
JL102 8956328363 Stopped scrollbar being hidden by rounded corners
* I didn't include the compiled apps.css, server.css, etc. because I'm
not sure what the procedure for those autogenerated files are *

Signed-off-by: JL102 <jordanlees@mailbox.org>
2023-04-27 22:29:23 -04:00
Nextcloud bot a9798a359a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-28 02:28:37 +00:00
Pytal 0d60f44473 Merge pull request #37879 from nextcloud/enh/a11y-grid-modified 2023-04-27 16:47:50 -07:00
Pytal c4aabd4131 Merge pull request #37955 from nextcloud/bugfix/noid/action-label-default 2023-04-27 09:49:53 -07:00
Arthur Schiwon 05da4cb994 Merge pull request #37781 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-04-27 17:45:49 +02:00
Louis Chemineau 6b53e4b13a Mutualize expireDate handling when creating and updating a share
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-27 16:26:24 +02:00
Julius Härtl a6fe9130b9 fix: Empty fallback for template creator action label
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-27 15:52:08 +02:00
Simon L da274d18ff Merge pull request #37948 from nextcloud/artonge/fix/dont_show_tags_action_when_systemtag_is_disabled
Do not show Tags action when systemtag is disabled
2023-04-27 15:28:54 +02:00
Côme Chilliet 876c162df8 Use the searchDisplayName recommended method in user:list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 15:25:13 +02:00
Louis Chemineau f9c427ce63 Do not show Tags action when systemtag is disabled
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-27 13:53:21 +02:00
Côme Chilliet 346344c153 Update version number in since and deprecated annotations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:04:32 +02:00
Côme Chilliet b6c17c6ce7 Clear up return types
usersInGroup index by int for BC, searchInGroup index by uid (string).

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:00:45 +02:00
Côme Chilliet 6385a5af36 Let OC\Group\Group handle the fallback and remove default implementation from ABackend
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:00:43 +02:00
Côme Chilliet 3c2b126eba Make code clearer and bump @ deprecated annotations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:00:07 +02:00
Carl Schwan a4c599c1c9 Split new method in a new group backend interface
Better for backward compatibility, also move new interfaces to nc 26

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-04-27 12:00:01 +02:00
Carl Schwan 35dc223500 Optimize retrieving display name when searching for users in a group
This is recurrent scenario that we are searching for users and then for
each users we fetch the displayName. This is inefficient, so instead try
to do one query to fetch everything (e.g. Database backend) or use the
already existing DisplayNameCache helper.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-04-27 11:57:45 +02:00
Côme Chilliet 967955358c Add comment about Manager instance not being shared
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 11:21:53 +02:00
Côme Chilliet 1f83979699 Do not stop at the first PHP error/warning in files:scan
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 10:46:37 +02:00
Côme Chilliet 546d94c3ec Fix file_get_content signatures to make it clear it can return false
In File::getContent, which must return a string, throw an Exception
 instead of returning false.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 09:56:05 +02:00
Joas Schilling 5e96228eb1 Merge pull request #37846 from nextcloud/bump/guzzle-psr7/master
[master] sec(deps): Update guzzlehttp/psr7
2023-04-27 09:39:04 +02:00
Côme Chilliet 802363f0f6 Adapt Sync job tests to the constructor change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 09:08:57 +02:00
Julius Härtl 2646fd5884 Merge pull request #37929 from nextcloud/enh/a11y-create-new-label
Create new file/folder labels
2023-04-27 09:06:05 +02:00
Christopher Ng 966bc06e8d Create new file/folder labels
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-27 03:20:12 +00:00
Nextcloud bot 63912cc5c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-27 02:28:35 +00:00
nextcloud-command de0348abce Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-04-27 02:25:39 +00:00
Vitor Mattos 5ed6722dd2 Cover expire_date with unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-26 13:21:08 -03:00
Simon L 4df145a6bc Merge pull request #37806 from nextcloud/fix/37410
Fix profile view edit button overlapping status text
2023-04-26 17:05:04 +02:00
Vitor Mattos 7ab50ab010 Update expire_date column of table comments
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-26 11:29:56 -03:00
Christoph Wurst defbd23cbf Merge pull request #37206 from nextcloud/fix-skip-recommended-apps-wrong-url
fix: wrong redirect when skipping recommended apps
2023-04-26 15:43:35 +02:00
Joas Schilling 2a9b69272d sec(deps): Update guzzlehttp/psr7
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 15:42:56 +02:00
Joas Schilling 4c34be3d50 Merge pull request #37935 from nextcloud/bugfix/noid/fix-title-of-federation-options
Fix title of federation scope options
2023-04-26 15:39:03 +02:00
Marcel Klehr 32219ec880 Merge pull request #37932 from nextcloud/fix/404-page
chore(404): Extend 404 error message to mention possibly missing permissions
2023-04-26 14:19:48 +02:00
Daniel 81e4390e32 Merge pull request #37925 from nextcloud/feat-update-maintenance-mode-hint
fix: change maintenance mode info wording
2023-04-26 13:55:22 +02:00
nextcloud-command 6d95d7b85c Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-26 11:48:52 +00:00
Ferdinand Thiessen f79131aea3 fix(core): Fix profile view edit button overlapping status text
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-04-26 13:01:33 +02:00
Joas Schilling 56c86c0be6 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 12:24:11 +02:00
Joas Schilling 58a4861390 fix(settings): Fix title of profile scope options
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 12:23:51 +02:00
Christoph Wurst ea67129b64 Merge pull request #37480 from nextcloud/fix/ocp/ilogfactor-getcustomlogger-deprecation-version
fix(ocp): Add deprecation version to ILogFactory::getCustomLogger
2023-04-26 11:58:40 +02:00
Daniel Kesselberg 155ea6a54c fix: change maintenance mode info wording
In maintenance mode the database is accessible and it's possible to execute other commands then maintenance:mode

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-26 11:58:37 +02:00
Christoph Wurst 48edc27d25 chore: Improve possibly null getters
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-26 11:54:28 +02:00
Christoph Wurst 8f0025ced3 fix(contactsinteraction): Read, update or insert in DB transaction
The transaction guarantees there are no two concurrent inserts for the
same interaction.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-26 11:41:47 +02:00
Marcel Klehr 73d21c6c47 chore(404): Extend 404 error message to mention possibly missing permissions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-26 11:21:56 +02:00
Christoph Wurst 5d29a96b1c Merge pull request #35121 from nextcloud/feat/dav-wrap-app-calendars
Feature: Provide access to app generated calendars through CalDAV
2023-04-26 11:15:01 +02:00
Simon L 222d9edc59 Merge pull request #37904 from nextcloud/bugfix/noid/file-widget-click
fix: Use proper link for navigating to files on click handler
2023-04-26 11:03:17 +02:00
Joas Schilling 41fc6787bc fix(tests): Fix new integration tests
The integration tests are not isolated, so we can not reuse previously used data

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 10:05:04 +02:00
Joas Schilling 1c0aae9c54 fix(provisioning_api): Don't allow to configure the same additional email multiple times
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 08:41:37 +02:00
Nextcloud bot 278f6413c9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-26 02:28:10 +00:00
Christopher Ng 7dd2c72dea Show modified in filepicker grid
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-25 17:21:12 -07:00
Simon L 9b7c360346 Merge pull request #33161 from vincentdh/master
Fix: External storage - exception for the handler whenSelectAuthMechanism
2023-04-26 00:14:07 +02:00
Ferdinand Thiessen 62c4ae78df Feature: Provide access to app generated calendars through CalDAV
This adds CalDAV support for app generated calendars,
which are registered to the nextcloud core.
This is done by adding a dav plugin which wraps
all ICalendarProviders into a Sabre plugin (inspired by the deck app).

Add unit test for AppCalendar wrapper plugin and calendar object implementation.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-25 18:11:49 +02:00
Joas Schilling 75f17b6094 Merge pull request #37905 from nextcloud/techdebt/noid/add-attributes-for-remaining-security-annotations
feat(security): Add PHP \Attribute for remaining security annotations
2023-04-25 17:13:53 +02:00
Joas Schilling ecb8b55c5c feat(security): Add PHP \Attribute for remaining security annotations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-25 14:50:32 +02:00
Robin Appelman d60172567f Merge pull request #37818 from nextcloud/dav-ext-storage-log
debug log requests made by dav external storage/shares
2023-04-25 14:12:57 +02:00
Côme Chilliet 7250f54ca3 Merge pull request #37835 from nextcloud/feat/background-allow-parallel-runs
feat(BackgroundJobs): Allow preventing parallel runs for a job class
2023-04-25 12:10:43 +02:00
Julius Härtl b7d574807c fix: Use proper link for navigating to files on click handler
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-25 09:08:01 +00:00
Joas Schilling 77bb867ad5 Merge pull request #37868 from nextcloud/bugfix/noid/fix-phpunit-version-check
fix(autotest): Fix PHPUNIT version check in autotest files
2023-04-25 11:06:10 +02:00
Arthur Schiwon 3aa17672a1 Merge pull request #37909 from nextcloud/updateCrl
Update crl after revoke shifts.csr
2023-04-25 10:25:31 +02:00
Joas Schilling af214b6c13 Merge pull request #36378 from nextcloud/fix/improve-taint-analysis
Add missing taint analysis docblock comments, and improve escaping in…
2023-04-25 08:51:54 +02:00
Nextcloud bot e9aefb5251 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-25 02:22:46 +00:00
Pytal 721de348ec Merge pull request #37780 from nextcloud/enh/a11y-focus-dialog 2023-04-24 17:05:42 -07:00
Christopher Ng 79310bd545 Trap focus in dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-24 15:45:40 -07:00
Christopher Ng 87ae9bbc12 Add focus-trap
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-24 15:40:05 -07:00
Vitor Mattos 95b7bf38f0 Update crl after revoke shifts.csr
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-24 22:21:36 +00:00
Marcel Klehr 06d6cf4ebc JobListTest: Fix JobList constructor call
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-24 19:07:13 +02:00
Carl Schwan b1ec7ff51f Add missing taint analysis docblock comments, and improve escaping in some methods
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-24 17:17:53 +02:00
Marcel Klehr 524d053eb2 JobList: add debug log when hasReservedJob query fails
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-24 17:16:32 +02:00
Robin Appelman 6d9f785afb Merge pull request #37622 from nextcloud/group-list-numeric-userid
fix output for group:list command with numeric user ids
2023-04-24 17:14:11 +02:00
Robin Appelman 05dc96f60d debug log requests made by dav external storage/shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-24 17:13:20 +02:00
Daniel 2abefff289 Merge pull request #36784 from nextcloud/fix/user_ldap-update-groups-fail-get
Properly test and log when a group is not found
2023-04-24 16:26:30 +02:00
Côme Chilliet 429db14a00 Fix multiple LDAP configuration support by fixing AccessFactory
It must not reuse the same OCA\User_LDAP\User\Manager instance for
 several Access instances.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-24 16:03:40 +02:00
Robin Appelman 4953296b9e Merge pull request #36857 from nextcloud/scan-repair-unencrypted-size
fix unencrypted_size for folders when scanning the filesystem with encryption enabled
2023-04-24 15:24:50 +02:00
Côme Chilliet e8a48b51dc Merge pull request #37856 from march42/bugfix/ldap_profiledata_removed
removed profile data from LDAP will get removed
2023-04-24 14:11:16 +02:00
Joas Schilling 0f0be52be8 Merge pull request #37864 from nextcloud/feat/noid/ratelimit-with-attributes
feat(ratelimit): Add Attributes support to rate limit middleware
2023-04-24 13:55:52 +02:00
Marcel Klehr 6148c5e0a1 Update tests/lib/BackgroundJob/DummyJobList.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-24 12:35:52 +02:00
Joas Schilling 89c3c31402 feat(ratelimit): Add Attributes support to rate limit middleware
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 12:24:48 +02:00
Joas Schilling 95c098170d Merge pull request #37763 from nextcloud/techdebt/36014/require-scour-0.38.2-for-svg-optimization
chore(assets): Require scour 0.38.2 (Ubuntu LTS 22.04+) for SVG optimization
2023-04-24 11:53:37 +02:00
Simon L 51aa9e6fb6 Merge pull request #37895 from nextcloud/fix-make-grid-toggle-sticky
fix: make grid view button sticky
2023-04-24 11:43:33 +02:00
Louis c0076d9cc0 Merge pull request #37717 from nextcloud/artonge/fix/dont_override_stored_credentials_with_saml
Do not override stored credentials when login in with SAML
2023-04-24 11:30:43 +02:00
Christoph Wurst dcde970bd5 Merge pull request #37816 from nextcloud/fix/events/info-to-debug-log-legacy-events
fix(events): Log deprecated events as debug, not info
2023-04-24 11:14:41 +02:00
Marc Hefter 621c6c3c56 code styling
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@march42.net>
2023-04-24 10:21:45 +02:00
Marc Hefter aa210365ec Update apps/user_ldap/lib/User/User.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@march42.net>
2023-04-24 10:14:17 +02:00
Joas Schilling 1917115301 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 10:04:01 +02:00
Joas Schilling f82c3d73e5 fix(assets): Optimize JPGs with jpegoptim 1.4.7
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 09:03:42 +02:00
Joas Schilling db55d5ba58 fix(assets): Optimize PNGs with optipng 0.7.7
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 09:01:38 +02:00
Joas Schilling f2afccfd56 fix(assets): Optimize SVGs with scour 0.38.2
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 08:59:38 +02:00
Joas Schilling 6368032257 fix(assests): Ignore some more directories from optimization
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 08:59:38 +02:00
Joas Schilling 7391881abe chore(assets): Require scour 0.38.2 (Ubuntu LTS 22.04+) for SVG optimization
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 08:59:38 +02:00
Nextcloud bot 8eda51de15 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-24 02:29:12 +00:00
Daniel Kesselberg e025cf067f fix: wrong redirect when skipping recommended apps
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-23 22:15:51 +02:00
Daniel Kesselberg 9aaff3ab22 fix: make grid view button sticky
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-23 21:02:43 +02:00
Marcel Klehr d1e4a7a750 Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 13:36:47 +02:00
Marcel Klehr 5a7f023bfc JobList#hasReservedJobs: Close cursor
so Joas doesn't die

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr a0c722ad69 Run cs:Fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 5608b50778 Fix BackgroundJob tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 94038e0673 IParallelAwareJob: Add missing boilerplate
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 281c8047b6 JobListTest: clearJobsList before testHasReservedJobs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 0f3211c4e4 Add IParallelAwareJob interface
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 6f9a3218d0 Update lib/private/BackgroundJob/JobList.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 56cb5d1d13 fix(tests): Remove duplicated method
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 1296f3612e test(BackgroundJobs): Add tests for allowParallelRuns and hasReservedJobs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr ef27bd6e55 fix(SpeechToText): Prevent parallel runs of TranscriptionJob
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr c01c516323 feat(BackgroundJobs): Allow preventing parallel runs for a job class
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Nextcloud bot f4f6431d4d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-23 02:28:42 +00:00
John Molakvoæ 504e1871a6 Merge pull request #37032 from nextcloud/dependabot/npm_and_yarn/query-string-8.1.0
chore(deps): Bump query-string from 7.1.1 to 8.1.0
2023-04-22 17:53:01 +02:00
John Molakvoæ 02d0a0e01b chore(deps): Bump query-string from 7.1.1 to 8.1.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-22 17:37:42 +02:00
dependabot[bot] 6ce3c54d5c Merge pull request #37884 from nextcloud/dependabot/npm_and_yarn/underscore-1.13.6 2023-04-22 11:27:55 +00:00
John Molakvoæ 4334539ec9 chore(npm): compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-22 12:19:25 +02:00
dependabot[bot] dafda594ec chore(deps): bump browserslist-useragent-regexp from 3.0.2 to 4.0.0
Bumps [browserslist-useragent-regexp](https://github.com/browserslist/browserslist-useragent-regexp) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/browserslist/browserslist-useragent-regexp/releases)
- [Changelog](https://github.com/browserslist/browserslist-useragent-regexp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist-useragent-regexp/commits/v4.0.0)

---
updated-dependencies:
- dependency-name: browserslist-useragent-regexp
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 12:16:01 +02:00
dependabot[bot] a0630bd898 bump is-svg from 4.4.0 to 5.0.0
---
updated-dependencies:
- dependency-name: is-svg
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 11:50:15 +02:00
dependabot[bot] dc9c3d6b2b bump underscore from 1.13.4 to 1.13.6
---
updated-dependencies:
- dependency-name: underscore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 11:50:15 +02:00
John Molakvoæ 1b119e10d0 Merge pull request #37866 from nextcloud/fix/files-vue 2023-04-22 11:49:57 +02:00
John Molakvoæ 9e1703e76c Merge pull request #37885 from nextcloud/dependabot/composer/build/integration/behat/behat-3.13.0
chore(deps-dev): bump behat/behat from 3.12.0 to 3.13.0 in /build/integration
2023-04-22 10:59:34 +02:00
dependabot[bot] 1d650ea7d3 Merge pull request #37883 from nextcloud/dependabot/npm_and_yarn/puppeteer-19.10.1 2023-04-22 08:59:19 +00:00
dependabot[bot] 515aa57f52 chore(deps-dev): bump behat/behat in /build/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.12.0...v3.13.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 08:58:12 +00:00
John Molakvoæ 5a06af8e30 Merge pull request #37891 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.5.1
chore(deps-dev): bump guzzlehttp/guzzle from 7.5.0 to 7.5.1 in /build/integration
2023-04-22 10:57:34 +02:00
dependabot[bot] a7d93f85e2 Merge pull request #37886 from nextcloud/dependabot/npm_and_yarn/wait-on-7.0.1 2023-04-22 08:57:09 +00:00
John Molakvoæ 35ef63995d Merge pull request #37890 from nextcloud/dependabot/npm_and_yarn/karma-6.4.2
bump karma from 6.4.1 to 6.4.2
2023-04-22 10:47:41 +02:00
dependabot[bot] 1259faba62 Merge pull request #37889 from nextcloud/dependabot/npm_and_yarn/pinia/testing-0.0.16 2023-04-22 07:00:51 +00:00
dependabot[bot] 8dd20baaeb bump karma from 6.4.1 to 6.4.2
---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 06:15:46 +00:00
dependabot[bot] 563c0e5bff Merge pull request #37881 from nextcloud/dependabot/npm_and_yarn/karma-spec-reporter-0.0.36 2023-04-22 06:14:18 +00:00
dependabot[bot] 0bb4577237 chore(deps-dev): bump guzzlehttp/guzzle in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.5.0 to 7.5.1.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.5.0...7.5.1)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 03:39:58 +00:00
dependabot[bot] e7db199355 bump @pinia/testing from 0.0.15 to 0.0.16
---
updated-dependencies:
- dependency-name: "@pinia/testing"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 03:29:12 +00:00
dependabot[bot] 645cc10918 bump wait-on from 6.0.1 to 7.0.1
---
updated-dependencies:
- dependency-name: wait-on
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 03:14:03 +00:00
dependabot[bot] 4b4076e721 bump puppeteer from 15.5.0 to 19.10.1
---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 02:57:10 +00:00
Nextcloud bot edc13fe6fe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-22 02:28:13 +00:00
dependabot[bot] bc071a541e chore(deps-dev): bump karma-spec-reporter from 0.0.35 to 0.0.36
Bumps [karma-spec-reporter](https://github.com/tmcgee123/karma-spec-reporter) from 0.0.35 to 0.0.36.
- [Release notes](https://github.com/tmcgee123/karma-spec-reporter/releases)
- [Commits](https://github.com/tmcgee123/karma-spec-reporter/compare/v0.0.35...v0.0.36)

---
updated-dependencies:
- dependency-name: karma-spec-reporter
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 01:59:15 +00:00
Arthur Schiwon d9af7c2f11 Merge pull request #37867 from nextcloud/techdebt/noid/require-min-composer-version-for-autoloader
chore(autoloader): Require a minimum composer version to make sure the autoloader
2023-04-21 19:26:57 +02:00
Robin Appelman 0ac7230b7f Merge pull request #37820 from nextcloud/parent-storage-mtime-ignore-error
ignore errors while trying to update parent storage_mtime
2023-04-21 19:11:27 +02:00
Arthur Schiwon 7db4938701 Merge pull request #37853 from nextcloud/fix/37610/composer-caches-to-apcu
add the server roots and version info hash to apcu prefix
2023-04-21 18:17:32 +02:00
Arthur Schiwon bb4b34ff69 Read mtime of version.php only once
- in most cases it would read again in \OC_Util::loadVersion anyway
- remove some unused use statements

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-04-21 14:10:47 +00:00
Arthur Schiwon 7519949f37 add the server roots and version info hash to apcu prefix
fixes collissions when more than one instance is running on the same
system

For the memcaches we use a more complex prefix, where version and
instance ID are incorporated. We do not have this data at hand at this
point of time. But we can get the mtime of the version.php file
relatively cheap.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-04-21 14:10:46 +00:00
John Molakvoæ 751bc139a1 chore(npm): compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 16:00:30 +02:00
Joas Schilling 3294bbe3bb fix(autotest): Fix PHPUNIT version check in autotest files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-21 15:59:10 +02:00
John Molakvoæ 51f2f56b4b fix(files): do not execute the default action on folders
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:58:40 +02:00
Joas Schilling cca3b9495c chore(autoloader): Update autoloaders with composer 2.5.5
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-21 15:53:55 +02:00
John Molakvoæ a5a5c09f58 chore(npm): compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:53:26 +02:00
Joas Schilling f194314aaf chore(CI): Require a minimum composer version to make sure the autoloader is okay
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-21 15:53:06 +02:00
John Molakvoæ 4c0d23885d fix(files): favorite marker css
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ 425932c770 fix(files): fileid attribute
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ ea9099a72f feat(files): allow navigation entry removal
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ cae00d2e96 fix(files): paths store reactivity
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ 1de3666e16 feat(files): add dir file action parameter
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ 6e29560475 feat(files): add sidebar action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ 2b726fa2dd fix(files): always force menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:33:08 +02:00
John Molakvoæ dd3d689e04 Merge pull request #37858 from nextcloud/fix/lock
Fix lockfile and update cypress
2023-04-21 15:25:06 +02:00
Robin Appelman 1bff4e23bf Merge pull request #37525 from nextcloud/file-debug-info
add command for getting fileinfo for debugging
2023-04-21 14:18:05 +02:00
John Molakvoæ ab431999c3 chore(npm): fix warning and build
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 14:01:41 +02:00
Robin Appelman 4cc5885615 Merge pull request #37062 from nextcloud/free-space
Check free space only if source exists and is dir
2023-04-21 13:55:42 +02:00
Robin Appelman ccab101df8 Merge pull request #37596 from nextcloud/enh/type-iconfig-getter-calls
Use typed version of IConfig::getSystemValue as much as possible
2023-04-21 13:48:12 +02:00
John Molakvoæ 497d195310 chore(deps): update cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 11:40:25 +02:00
John Molakvoæ 971342911a fix(npm): lockfile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 11:03:38 +02:00
Marc Hefter e83520617d removed profile data from LDAP will get removed
If attribute mapping is configured and no value present in LDAP, the
according profile field is emptied. Removing an attribute e.g. phone
from LDAP will cause the phone number being removed from profile.

Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-21 10:35:44 +02:00
Nextcloud bot c08026a92a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-21 02:28:39 +00:00
Arthur Schiwon 494ff0c142 Merge pull request #37834 from nextcloud/fix/profiler-fix-typeerror
Fix TypeError in Profiler
2023-04-20 17:54:28 +02:00
Robin Appelman 4b52dafbf9 ignore errors while trying to update parent storage_mtime
in the worst case this should only cause an extra rescan later

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-20 17:16:03 +02:00
Côme Chilliet b294edad80 Merge branch 'master' into enh/type-iconfig-getter-calls
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-04-20 16:52:38 +02:00
Joas Schilling 590c202797 Merge pull request #37826 from nextcloud/bugfix/noid/no-error-for-guests
fix(files): Don't throw an error when guests access the controller
2023-04-20 13:55:26 +02:00
Côme Chilliet 60b7d2117e Merge pull request #37428 from nextcloud/enh/ignore-non-numeric-versions
Ignore and log non integer versions
2023-04-20 13:33:58 +02:00
Louis c909e926b2 Merge pull request #37597 from Jerome-Herbinet/patch-20
Fix : Hides hidden files and folder in modal (beginning with a dot)
2023-04-20 13:06:44 +02:00
John Molakvoæ c0e3e7f722 fix(npm): lockfile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-20 12:22:42 +02:00
Simon L 93966e99c1 Merge pull request #36565 from march42/feature/ldap_update_profile
[user_ldap] Update profile from LDAP fields
2023-04-20 11:23:24 +02:00
John Molakvoæ 7a704b8198 Merge pull request #37824 from nextcloud/feat/groupfolders
feat(files): add default action support and expose router
2023-04-20 10:53:08 +02:00
Côme Chilliet e91e7bc60f Fix TypeError in Profiler
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-20 10:43:00 +02:00
Jérôme Herbinet dedbabb558 npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-20 10:22:35 +02:00
John Molakvoæ 0a2a1b4b52 feat(files): expose Files router
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-20 09:14:44 +02:00
John Molakvoæ bb4d7969b9 feat(files): add default action support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-20 09:06:57 +02:00
Jérôme Herbinet 9bfa37f141 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-20 08:40:34 +02:00
Jérôme Herbinet ee4b6a7e80 Cancel initial changes
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-20 08:39:06 +02:00
John Molakvoæ c85c04e4a8 Merge pull request #37807 from nextcloud/fix/37373 2023-04-20 08:37:49 +02:00
Nextcloud bot 8799098d1f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-20 02:29:13 +00:00
Pytal 09cb9c78e7 Merge pull request #37065 from nextcloud/enh/a11y-system-tags
Add accessible system tags select
2023-04-19 18:19:58 -07:00
Christopher Ng 177849cd3c Remove legacy systemtags code
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-19 16:52:06 -07:00
Christopher Ng ee81e2cef8 Add accessible system tags select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-19 16:52:06 -07:00
Christopher Ng c580b1a52c Fix Vue TypeScript build errors
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-19 16:52:06 -07:00
Pytal 174019568a Merge pull request #37804 from nextcloud/deps/nextcloud/vue-7.10.0 2023-04-19 16:31:52 -07:00
Ferdinand Thiessen c17bfb2923 fix(files_external): Background color of external devices with errors should respect color theme
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-04-20 00:04:04 +02:00
Pytal c18a41a658 Merge pull request #37809 from nextcloud/fix/last-used 2023-04-19 11:52:09 -07:00
Christopher Ng 40167745ff Bump @nextcloud/vue from 7.9.0 to 7.10.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-19 10:35:08 -07:00
Joas Schilling 8b31d8204f fix(files): Don't throw an error when guests access the controller
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-19 16:39:57 +02:00
Jérôme Herbinet 16361bed5e Merge branch 'master' into patch-20
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:32:01 +02:00
Joas Schilling fd473f89e8 Merge pull request #37674 from nextcloud/feature/speech-to-text
feat(SpeechToText): Add SpeechToText OCP provider API
2023-04-19 16:29:44 +02:00
Jérôme Herbinet 7016899cdb npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:28:53 +02:00
Jérôme Herbinet 461fa9a1da Following Artonge suggestion
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:15:17 +02:00
Andy Scherzinger f5c4f55576 Merge pull request #37451 from Fenn-CS/fix/36437/deprecate-php-8.0
Deprecate PHP8.0
2023-04-19 15:28:12 +02:00
Simon L 5d195268b0 Merge pull request #37817 from nextcloud/Jerome-Herbinet-theming-patch-1
Improvement of the theme selection UI
2023-04-19 14:57:35 +02:00
John Molakvoæ 5b8c2c9075 Merge pull request #37790 from nextcloud/fix/files-store-mixin
fix(files): fix sorting mixin usage
2023-04-19 14:26:18 +02:00
Joas Schilling ab7b63db84 fix(autoloader): Rebuild
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-19 13:45:44 +02:00
Jérôme Herbinet e9390791a9 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 13:34:35 +02:00
Jérôme Herbinet 996a0e6d17 Improvement of the theme selection UI
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 13:27:45 +02:00
Joas Schilling db9901a02e Fix(docs): Fix parameter type in doc block
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-19 12:42:23 +02:00
Marcel Klehr fbcd275acb Context params: Make userId nullable
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 12:39:39 +02:00
Marcel Klehr a2f5421fc3 SpeechToTextManager#scheduleFileTranscription: Take context params and expose them on the Transcription*Events
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 12:35:13 +02:00
John Molakvoæ 6527fec10c fix(files): forward arguments to store creation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-19 12:03:53 +02:00
John Molakvoæ fb0fe5c01c fix(files): fix sorting mixin usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-19 11:57:44 +02:00
Christoph Wurst ce71aa9acb fix(events): Log deprecated events as debug, not info
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-19 11:56:10 +02:00
Louis Chemineau d5e7682b6b Test StorePasswordListener
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-19 11:53:34 +02:00
Marcel Klehr a8b27c9126 TranscriptionJob: Add owner argument to simplify filesystem setup
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 11:26:04 +02:00
Nextcloud bot 9db33055b2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-19 02:28:19 +00:00
Christopher Ng ee13dca9ff Dedupe last used tags
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-18 18:27:51 -07:00
Simon L d6f51cf943 Merge pull request #37582 from Jerome-Herbinet/patch-16
To be consistent with the same field's title in the list of users
2023-04-18 23:48:18 +02:00
Simon L c0dbcb22dc Merge pull request #33434 from Jerome-Herbinet/patch-2
Highlight selected file version (Nextcloud Office)
2023-04-18 23:47:29 +02:00
Joas Schilling a3e854b3c7 Merge pull request #36854 from nextcloud/feature/36852/allow-to-revert-automated-status
Allow to revert automated status
2023-04-18 22:51:32 +02:00
Joas Schilling b62c49f1e0 Merge pull request #37795 from nextcloud/techdebt/noid/improve-ci
fix(CI): Disable unstable test until someone can have a look at it
2023-04-18 21:07:38 +02:00
Joas Schilling bfaac51725 Merge pull request #36343 from nextcloud/feat/app-framework/middleware-argument-types
feat(app-framework): Add native argument types for middleware
2023-04-18 20:55:55 +02:00
Christoph Wurst 2c0cfd3772 feat(app-framework): Add native argument types for middleware
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-18 17:15:05 +02:00
Marcel Klehr eb996cbbb0 TranscriptionJob: Ensure filesystem is setup before trying to retrieve file
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 16:24:06 +02:00
Marcel Klehr ce651e53b9 Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 16:24:06 +02:00
Joas Schilling b6d9e1d1cc Merge pull request #37794 from nextcloud/update/psr-container
fix: Use current `3rdparty` master branch
2023-04-18 16:03:41 +02:00
Simon L 885d7e2051 Merge pull request #37175 from nextcloud/rakekniven-patch-1
fix(l10n): Fixed grammar
2023-04-18 15:53:03 +02:00
Jérôme Herbinet c343569b3f To be consistent with the list of users
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-18 15:47:26 +02:00
Jérôme Herbinet 4ec183fa33 Highlight selected file version (Nextcloud Office)
After my PR #32492 fail, I create a new PR.

Signed-off-by: Jérôme Herbinet <jerome.herbinet@arawa.fr>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-18 15:38:13 +02:00
Marcel Klehr 9649f91892 Update lib/private/SpeechToText/SpeechToTextManager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 15:24:14 +02:00
Maksim Sukharev 63dc8cbe5e chore(assets): Recompile JS
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-04-18 15:06:46 +02:00
Maksim Sukharev 7455df35e3 fix(status): Store locally status message when editing
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-04-18 15:06:29 +02:00
Maksim Sukharev e2b377f85c fix(status): Fix infinite loading of predefined statuses
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-04-18 15:06:08 +02:00
Joas Schilling 76c58a302a chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:23 +02:00
Joas Schilling c90d414fdf fix(status): Correctly set the message and predefined message using the store
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:12 +02:00
Joas Schilling 90a817cee5 feat(status): Add a capability for the restore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:12 +02:00
Joas Schilling 17a8de9e56 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:08 +02:00
Joas Schilling 64776ff042 feat(user_status): Allow to manually revert an automated status
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:57:44 +02:00
Joas Schilling 0e8e2c167b fix(CI): Move cron job times so it doesn't overlap with translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:00:40 +02:00
Joas Schilling 6ac8052896 fix(CI): Disable unstable test until someone can have a look at it
Passes locally 100% and on CI 50% of the time

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 13:59:35 +02:00
Simon L 1a255379e8 Merge pull request #37766 from nextcloud/enh/noid/add-db-file-locking-check
add an admin check for db file locking
2023-04-18 13:31:57 +02:00
Ferdinand Thiessen a610b2994f fix: Use current 3rdparty master branch
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-04-18 13:04:20 +02:00
nextcloud-command 07f9546646 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-18 10:46:09 +00:00
Simon L f74840f5b8 Merge pull request #37046 from max65482/fix_event_moving
Fix event moving issues
2023-04-18 12:36:41 +02:00
Simon L 8508865eaf Merge pull request #37772 from nextcloud/enh/30986/follow-up
Prevent the OpenDocument preview generator from trying to open empty files
2023-04-18 12:18:14 +02:00
rakekniven 4fafd861b2 fix(l10n):Aligned spelling of ScienceMesh 2023-04-18 12:08:38 +02:00
rakekniven f7c115146f fix(l10n): Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-04-18 12:08:38 +02:00
rakekniven 86b17e2248 Update apps/files_sharing/lib/Controller/ShareAPIController.php
Co-authored-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-04-18 12:08:38 +02:00
rakekniven eaaeb32074 fix(l10n): Fixed grammar
Reported at Transifex.
  
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>


Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-04-18 12:08:38 +02:00
Simon L 1861aa56ea Merge pull request #37770 from nextcloud/enh/32032/follow-up
l10n: Change to a capital letter
2023-04-18 11:53:14 +02:00
Simon L 1d40be848c Merge pull request #37522 from nextcloud/fix/css-placeholder-color
Ungroup `placeholder` css rules to prevent browsers from removing all rules
2023-04-18 11:49:00 +02:00
Simon L 8fe22ebf60 Merge pull request #36617 from nextcloud/update/psr-container
chore: Update PSR container to 2.0.2
2023-04-18 11:40:12 +02:00
Simon L 5f879a705b Merge pull request #37316 from nextcloud/fix/security/strict-cookie-check-status-codes
fix(security)!: Use consistent HTTP status for strict cookie checks
2023-04-18 11:39:18 +02:00
Simon L 564463c439 Merge pull request #32632 from nextcloud/smb-353
update icewind/smb to 3.5.4
2023-04-18 11:37:51 +02:00
Simon L e2ab9bf4af address review and fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 11:33:53 +02:00
Joas Schilling c634d71197 Merge pull request #37241 from nextcloud/feature/allow-any-image-size
Allow images of any size as profile pictures
2023-04-18 10:20:21 +02:00
Joas Schilling bef4cf0ad1 Fix missing import
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 10:01:00 +02:00
Maximilian Martin c8985944ec fix event move issue
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
2023-04-18 09:45:30 +02:00
John Molakvoæ f7cca5c1a3 Merge pull request #37731 from nextcloud/feat/viewconfig-api
feat(files): add view config service to store user-config per view
2023-04-18 09:43:09 +02:00
John Molakvoæ d7ab8da1ef feat(files): add view config service to store user-config per view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-18 09:02:01 +02:00
Nextcloud bot ff58cd5227 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-18 02:37:16 +00:00
Simon L 855e7a2efb Merge pull request #36774 from nextcloud/bugfix/noid/sabre-nodes
fix: always use proper path on node api when calling the view
2023-04-18 04:11:44 +02:00
Simon L e10e509452 Merge pull request #37330 from Al2Klimov/http-enough
Omit "Accessing site insecurely via HTTP." warning if HTTP is secure enough
2023-04-18 03:18:54 +02:00
Simon L 96e7eaf2c7 Merge pull request #37762 from nextcloud/Jerome-Herbinet-patch-1
Fix wording meaning (placeholder)
2023-04-18 02:19:12 +02:00
Simon L 66ab45b8a0 Merge pull request #36528 from nextcloud/dav-backend-transations
CalDAV/CardDAV: put every method from backends that does multiple DB calls in transactions
2023-04-18 00:55:29 +02:00
fenn-cs 60a710c91c Deprecate PHP8.0
PHP8.0 would stop receiving security support on 26 Nov 2023
 hence this deprecation. Next, is the eventual drop of PHP8.0 before its EOL.

This commit also updates the message type from INFO to WARNING if the php
 on file has reached its EOL.

See: https://www.php.net/supported-versions.php

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-04-17 23:45:59 +01:00
Ferdinand Thiessen f8d558e24f fix(core): Ungroup placeholder css rules to prevent browsers from removing all rules
When rules are grouped using the comma operator and one selector is invalid / unknown then the whole group is invalidated[1].
In this case `::-ms-input-placeholder` is unknown to Firefox and Chrome, so the `::placeholder` rule is never applied.
[1]: https://www.w3.org/TR/selectors-3/#grouping

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 22:25:03 +00:00
Simon L 45a0fe490c Merge pull request #37534 from Rsplwe/master
Adjust the value of the "max-parts" parameter of the object storage 'ListPart' interface to 1000
2023-04-18 00:16:38 +02:00
Simon L 5952a027c3 Merge pull request #37324 from nextcloud/fix/mapper-exception
Allow to catch `IMapperException` by implementing `Throwable`
2023-04-18 00:10:44 +02:00
Simon L 6afda50590 Merge pull request #37645 from nextcloud/fix/improve-imip-emails
fix(dav): Parse sender PARTSTAT in REPLYs
2023-04-17 23:49:16 +02:00
Simon L 0a763820bc Merge pull request #37676 from nextcloud/fix/auth/atomic-password-db-statements
fix(auth): Run token bulk update statements in atomic transaction
2023-04-17 23:48:24 +02:00
Julius Härtl d9c81f56ad tests: Adapt node related unit tests mocks to required root view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-17 23:46:52 +02:00
Julius Härtl 160bd75d0a fix: Use proper path when creating node instances
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-17 23:46:52 +02:00
Simon L 85c9e75f33 Merge pull request #32314 from nextcloud/object-mkdir-logging
additional logging when mkdir fails for object storage
2023-04-17 23:42:08 +02:00
Alexander A. Klimov ff02b072ae Drop broken unit test
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
2023-04-17 23:38:29 +02:00
Alexander A. Klimov e3f1fae715 Omit "Accessing site insecurely via HTTP." warning if HTTP is secure enough
This is the case for localhost and Tor hidden services.

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
2023-04-17 23:38:29 +02:00
Simon L 5cda8f0f45 Merge pull request #35129 from Glandos/previewperf2
[Performance] Reuse preview directory listing
2023-04-17 20:22:39 +02:00
Simon L d87cc208bb Merge pull request #31286 from rotdrop/bugfix/dont-start-session-when-session-is-already-open
Don't call session_start() when PHP session is still or already open.
2023-04-17 20:14:53 +02:00
Simon L 1ef23e7708 Allow images of any size as profile pictures
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 17:18:00 +00:00
Ferdinand Thiessen dc9d8c42bb fix: Adjust console formatter code to match with Symfony type hints
Symfony has added type hints on the `OutputFormatterInterface`,
so we must adjust our type hints to match with Symfony.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 18:35:10 +02:00
Ferdinand Thiessen 698332e81d chore: Update PSR container to 2.0.2, matching 3rdparty nextcloud/3rdparty#1311
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 18:35:08 +02:00
Thomas Citharel ff3b69b21d refactor(dav): Since we're in a transaction, use QB properly when incrementing synctoken
Now that we're in a transaction, we can reuse the sync token's previous value without trouble, and rewrite the increment UPDATE query without dirty direct SQL.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-17 16:08:44 +00:00
Thomas Citharel c9a3129cb4 fix(CalDAV/CardDAV): put every method from Cal/CardDAV backends that does multiple DB calls in transactions
In a lot of methods we're doing read-after-writes (for instance calling
updateProperties after touching calendar objects).
There's also a lot of deleting methods that do stuff sequentially which
could cause trouble.
This should avoid this kind of issues.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-17 16:08:44 +00:00
Christoph Wurst a06898a2d0 fix(security)!: Use consistent HTTP status for strict cookie checks
Before: 503/412
Now: 412 + json body explaining the error

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-17 16:06:37 +00:00
Robin Appelman 30b7147a31 update icewind/smb to 3.5.4
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:06:17 +00:00
Robin Appelman 85a879894f update icewind/smb to 3.5.3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:06:17 +00:00
Ferdinand Thiessen bdbff2181e fix: Allow to catch IMapperException by implementing Throwable
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 16:05:10 +00:00
Simon L c4ab4018cf l10n: Change to a capital letter
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 16:03:25 +00:00
Christoph Wurst b952066140 Merge pull request #37724 from nextcloud/fix/encryption-signature-check-logic
Cleanup signature checking logic in encryption
2023-04-17 17:39:34 +02:00
Simon L 800f40b71c fix php-lint
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-17 17:18:09 +02:00
Marcel Klehr 3f57725a7c SpeechToTextManager#transcribeFile: Try next provider if one fails
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:59:46 +02:00
Simon L 54b5703233 Merge pull request #35744 from nextcloud/mimeloader-transaction
Put Mimeloader insertion and read in the same transaction
2023-04-17 16:58:36 +02:00
Marcel Klehr 47cff5d651 Update lib/public/SpeechToText/ISpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:43:43 +02:00
Marcel Klehr b082657252 Update lib/public/SpeechToText/ISpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:43:28 +02:00
Marcel Klehr aac6a186c1 Update lib/public/SpeechToText/ISpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:43:19 +02:00
Glandos e542e60dbc try to make linters happy
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:14 +02:00
Glandos 3440387f0f gather code from small and max preview
use directory listing in both functions to gain 25% speed on run where
every preview already exist.

Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos 384a1d34a8 adapt test to new workflow
getDirectoryListing should return all files
getFile is not called anymore

Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos 24c121347a Revert 0e49b40
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos 06a7e90383 improve parameter doc
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos 4954bead1d Ensure max preview image is not null
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos b6c65fee2a php-cs-fix
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos 9b4d5146d5 List preview directory only once
getCachedPreview used to call `getFile`, and this calls `getDirectoryListing` (or underlying function that list directory) to find the file. This was done for every preview spec.
Now, this is done only once at the beginning of the loop, and the array is just iterated when needed to find the correct entry.

Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Robin Appelman c5dfa1cb79 validate that folder size sums to children
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:23:52 +02:00
Robin Appelman 60cf0c8f5f add command for getting fileinfo for debugging
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:23:52 +02:00
Claus-Justus Heine 45ec432492 Don't call session_start() when PHP session is still or already open.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-04-17 16:23:02 +02:00
Claus-Justus Heine 456679c6fb Update lib/private/Preview/Bundled.php
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2023-04-17 16:19:02 +02:00
Claus-Justus Heine b3d8363327 Prevent the OpenDocument preview generator from trying to open empty files.
Rationale: does not make sense, and triggers a deprecation error in
\ZipArchive.

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-04-17 16:19:02 +02:00
Robin Appelman 0375c9866c add test to verify redis lua script hashes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:18:48 +02:00
Marcel Klehr 6e9f260348 Update lib/private/SpeechToText/SpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 15:49:50 +02:00
Vincent Handfield da83464459 Fix: External storage - exception thrown for the handler whenSelectAuthMechanism
Signed-off-by: Vincent Handfield <vincent@accestech.com>
2023-04-17 15:49:25 +02:00
Simon L e63720b714 Merge pull request #36217 from nextcloud/handle-push-notification-with-no-calendar-name
Handle reminders where calendar name is null
2023-04-17 15:43:21 +02:00
Louis ed2b28b60d Merge pull request #37764 from nextcloud/artonge/fix/disable_versions_feature_s3_versioning
Really disable versions features when S3 versioning is enabled
2023-04-17 15:32:47 +02:00
Thomas Citharel 036cd47bf4 Put Mimeloader insertion and read in the same transaction
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-17 13:32:02 +00:00
Simon L bdb09abd1a Merge pull request #36845 from Murena-SAS/reminder-iterator-exception
Fix max instances exception in get vevent call
2023-04-17 15:26:11 +02:00
Marcel Klehr 3779cc3d88 SpeechToTextManager: Deduplicate transcription jobs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +02:00
Marcel Klehr ad1a0d88ef Transcription*Event: Add doc block
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +02:00
Marcel Klehr 71523b9816 AbstractTranscriptionEvent: Add File param
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +02:00
Simon L 80645a591a add an admin check for db file locking
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-17 12:51:33 +02:00
Jérôme Herbinet 9a3d88f1e9 Fix wording meaning (placeholder)
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 09:18:10 +00:00
Louis Chemineau cca46f18eb Really disable versions features when S3 versioning is enabled
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-17 11:16:20 +02:00
Joas Schilling b21c5c86e5 Merge pull request #37735 from nextcloud/techdebt/ref-37476/ignore-excluded-dirs-on-image-optimization
chore(assets): Ignore git-ignored directories on image optimization
2023-04-17 10:25:24 +02:00
Nextcloud bot a5348bc400 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-17 02:27:34 +00:00
Varun Patil 39e805fffa redis: use atomic operations everywhere
This removes a lot of acrobatics in the code and does each operation
atomically using a lua script. This also reduces several round trips
to the server, and the scripts are compiled and cached server-side.

Notably, since all operations work only on a single key (except clear,
which is broken anyway and shouldn't be used), they will continue to
function and be atomic for Redis cluster.

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 14:38:56 -07:00
Nextcloud bot 857961c9e7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-16 02:27:54 +00:00
John Molakvoæ 1078fa74c2 Merge pull request #37752 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-04-15 17:03:42 +02:00
dependabot[bot] 83c2105440 Merge pull request #37750 from nextcloud/dependabot/npm_and_yarn/webpack-5.79.0 2023-04-15 13:58:24 +00:00
dependabot[bot] 5aab2bb41d Bump @nextcloud/browser-storage from 0.1.1 to 0.2.0
Bumps [@nextcloud/browser-storage](https://github.com/nextcloud/nextcloud-browser-storage) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/nextcloud/nextcloud-browser-storage/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-browser-storage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-browser-storage/compare/v0.1.1...v0.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/browser-storage"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 15:15:03 +02:00
dependabot[bot] 7b5fc87daf bump webpack from 5.78.0 to 5.79.0
---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 15:10:56 +02:00
John Molakvoæ f89ce6ac7c Merge pull request #37400 from nextcloud/dependabot/npm_and_yarn/nextcloud/calendar-availability-vue-0.6.0-alpha1 2023-04-15 14:53:51 +02:00
dependabot[bot] a8b26f0093 chore(deps): Bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 0.5.0-rc2 to 0.6.0-alpha1.
- [Release notes](https://github.com/nextcloud/calendar-availability-vue/releases)
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v0.5.0-rc2...v0.6.0-alpha1)

---
updated-dependencies:
- dependency-name: "@nextcloud/calendar-availability-vue"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-15 08:35:22 +00:00
John Molakvoæ d405be2536 Merge pull request #37751 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.58.0
bump @typescript-eslint/eslint-plugin from 5.45.0 to 5.58.0
2023-04-15 09:03:11 +02:00
John Molakvoæ 05edc2fc19 Merge pull request #37749 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.7
chore(deps-dev): Bump phpunit/phpunit from 9.6.6 to 9.6.7 in /build/integration
2023-04-15 09:02:43 +02:00
John Molakvoæ 606d90eecf Merge pull request #37747 from nextcloud/dependabot/npm_and_yarn/vue/vue2-jest-29.2.3
chore(deps-dev): Bump @vue/vue2-jest from 29.1.1 to 29.2.3
2023-04-15 09:02:20 +02:00
John Molakvoæ 68eac14ddb Merge pull request #37746 from nextcloud/dependabot/npm_and_yarn/sass-loader-13.2.2
chore(deps-dev): Bump sass-loader from 13.2.0 to 13.2.2
2023-04-15 09:02:01 +02:00
nextcloud-command 17834294e6 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-04-15 06:29:35 +00:00
dependabot[bot] 8e84c6af22 bump @typescript-eslint/eslint-plugin from 5.45.0 to 5.58.0
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 03:15:35 +00:00
dependabot[bot] 4229069494 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.6 to 9.6.7.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.7/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.6...9.6.7)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 03:07:13 +00:00
Nextcloud bot 6746a7aebc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-15 02:27:32 +00:00
dependabot[bot] eb218e2a35 chore(deps-dev): Bump @vue/vue2-jest from 29.1.1 to 29.2.3
Bumps [@vue/vue2-jest](https://github.com/vuejs/vue-jest) from 29.1.1 to 29.2.3.
- [Release notes](https://github.com/vuejs/vue-jest/releases)
- [Commits](https://github.com/vuejs/vue-jest/compare/v29.1.1...v29.2.3)

---
updated-dependencies:
- dependency-name: "@vue/vue2-jest"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 01:58:46 +00:00
dependabot[bot] e564c19561 chore(deps-dev): Bump sass-loader from 13.2.0 to 13.2.2
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 13.2.0 to 13.2.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v13.2.0...v13.2.2)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 01:58:01 +00:00
Julius Härtl 2e1a560867 Merge pull request #36690 from nextcloud/bugfix/noid/rollback-hook 2023-04-14 17:09:17 +02:00
Julius Härtl 140c2541ed Merge pull request #37611 from ZE3kr/patch-1
Unquote S3 ETag stored in oc_filecache
2023-04-14 16:20:44 +02:00
Simon L d4341a278e Merge pull request #37603 from joshtrichards/jr-reset-pw-honest-msg
More honest reset password request response
2023-04-14 16:12:54 +02:00
Joas Schilling 0b88b513be Merge pull request #36351 from nextcloud/bugfix/noid/move-encryption-password-email-to-template
Move encrypt-all password email to EmailTemplate
2023-04-14 14:48:47 +02:00
Joas Schilling 64843c24ef chore(assets): Ignore git-ignored directories on image optimization
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-14 14:40:36 +02:00
Julius Härtl 8a79636bcb Merge pull request #37726 from nextcloud/feat/files-events
fix(files): standardize `files:node:event` event syntax
2023-04-14 11:30:49 +02:00
Arthur Schiwon a578a5ec9c Merge pull request #37476 from nextcloud/ci/checkers/fix-autoloader-generation-extraneous-apps
ci(checkers): Fix autoloader (re)generation for extraneous apps
2023-04-14 11:28:48 +02:00
Marc Hefter 64914593a0 optimized handling of user profile data change
Check profile data checksum before updating user profile, to ensure
data has changed. Write checksum to user settings and cache.

Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-14 11:08:46 +02:00
John Molakvoæ edbdfefcb8 fix(files): standardize files:node:event event syntax
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-14 09:26:32 +02:00
jld3103 2f653c8be8 Cleanup signature checking logic in encryption
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-14 09:07:20 +02:00
Nextcloud bot 0951398af8 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-14 02:19:43 +00:00
Josh Richards 330c9cffab Compile webpack assets - again
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-04-13 21:49:50 -04:00
Josh Richards fb25cd4b0a More honest reset password request response
Addresses request in additional comments of #37408

* Honest but still won't leak information
* Also reminds user to verify the provided user id email address/user

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

Refine reset password response copy

Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

Wrap honest password reset request response
2023-04-13 17:31:49 -04:00
Arthur Schiwon 79013bab0a Merge pull request #32499 from nextcloud/enh/noid/ldap-search-entryuuid-no-wildcard
Fix Ldap search for attributes with no substr matching rule
2023-04-13 22:37:39 +02:00
Julien Veyssier f3cd559c54 perform exact Ldap search as well to make sure it works for attributes without a substr matching rule
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2023-04-13 19:59:17 +00:00
Anna Larch fd85c86cde fix(dav): Parse sender PARTSTAT in REPLYs
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-04-13 18:55:08 +02:00
Julius Härtl eecd4601ac Merge pull request #37429 from nextcloud/object-store-rmdir
improve objectstore rmdir handling
2023-04-13 18:45:12 +02:00
Louis Chemineau fec8ad8441 Do not override stored credentials when login in with SAML
When login in with SAML, the password from `$event->getPassword()` is `null`.

This PR makes sure that this `null` value won't be used to override the stored password even though it is different.

This PR also allow for the password and user to be updated even though they were not set before.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-13 18:05:37 +02:00
Marcel Klehr ad66180c34 Update lib/private/SpeechToText/SpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 15:17:17 +02:00
Marcel Klehr 865ebfaf72 Add missing strict_types + author + copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 12:15:18 +02:00
Marcel Klehr a8d3fff648 Split TranscriptionFinishedEvent into Successful and Failed events
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 12:12:07 +02:00
Marcel Klehr 176f1af26a ISpeechToTextManager: Take File as input, drop $context
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 11:57:23 +02:00
John Molakvoæ b3f59aa4c1 Merge pull request #37704 from nextcloud/bugfix/noid/fix-translations-api
fix(translation): Fix several issues with the translations api
2023-04-13 10:48:09 +02:00
Simon L bdf91ae602 Merge pull request #37692 from nextcloud/feat/resizeobserver-breakpoint-files
feat(files): better breakpoints and sidebar responsive design
2023-04-13 10:09:01 +02:00
Joas Schilling a1823be3ec Merge pull request #37697 from nextcloud/fix/button-text
Fix button text
2023-04-13 09:54:32 +02:00
Joas Schilling e5d0ff0c19 feat(translation): Allow guests to use translations as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 09:02:46 +02:00
Joas Schilling 032821d2b5 fix(translation): Use 400 as status code to be distinguishable from server errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 09:02:42 +02:00
Joas Schilling b7c1e61d0b fix(translation): Properly set the numbers as HTTP status code
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 09:02:38 +02:00
Joas Schilling 21b056ee2d fix(translation): Translate error messages on translations API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 08:53:15 +02:00
John Molakvoæ 225d6e2dcf feat(files): better breakpoints and sidebar responsive design
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-13 06:08:39 +00:00
Christopher Ng 3b94da9c1d Fix button text
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-12 21:21:15 -07:00
Nextcloud bot b1abc57c07 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-13 02:27:50 +00:00
John Molakvoæ f37b29eb2d Merge pull request #37642 from nextcloud/fix/reactivity-files 2023-04-12 17:53:38 +02:00
Marcel Klehr ef7ce88cee ISpeechToTextProvider#transcribeFile: Pass \OCP\Files\File instead of path
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-12 16:52:11 +02:00
Maxence Lange fe2e0a5cd7 Merge pull request #37680 from nextcloud/enh/noid/add-app-type-extended-authentication
app type extended_authentication
2023-04-12 13:21:59 -01:00
Christoph Wurst 5eb768ac5e fix(auth): Run token statements in atomic transaction
All or nothing

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-12 15:55:42 +02:00
Maxence Lange fc29b0d1b7 app type extended_authentication
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-04-12 09:34:49 -01:00
John Molakvoæ 306bc2a74b fix: wrong copyright
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-12 12:10:45 +02:00
John Molakvoæ 34d22f19d3 feat(files): responsive design for mobile and narrow screens
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-12 12:10:44 +02:00
John Molakvoæ 993a7fc8e6 fix(files): cleanup common table row styling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-12 12:10:44 +02:00
Nextcloud bot 73000175d0 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-12 02:28:34 +00:00
Christoph Wurst 9edc3aa354 Merge pull request #37678 from nextcloud/doc/auth/no-token-password-no-client-logout
doc(auth): Warn about disabled token passwords and LDAP logout
2023-04-11 21:04:01 +02:00
Arthur Schiwon ec1acb92c7 Merge pull request #37617 from nextcloud/notify-self-test-error
handle not being able to write file for notify self-test
2023-04-11 19:43:41 +02:00
Arthur Schiwon 784b2bd703 Merge pull request #37626 from nextcloud/fix/compare-imip-email-values
fix(dav): add string comparison for diff
2023-04-11 19:36:13 +02:00
Christoph Wurst 20c65227d2 doc(auth): Warn about disabled token passwords and LDAP logout
Auth tokens store the user's login password by default. If the password
changes externally (on LDAP), all connected clients stop syncing after 5
minutes max when the password is verified the next time. A web login
revivess those app passwords.

If storing the password is disabled, the tokens continue to work after
password change. But that also means the clients are not logged out the
same way. This can be fine for some setups and problematic for others.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-11 18:14:09 +02:00
Marc Hefter eec5e702da error handling in update profile from LDAP
added error message on InvalidArgumentException

Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-11 16:40:00 +02:00
John Molakvoæ 920174222c Merge pull request #37669 from nextcloud/feat/files-right-click 2023-04-11 15:47:41 +02:00
Marcel Klehr 1833d932ef chore(coding style): Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:21:08 +02:00
Marcel Klehr a9b5d1f9da chore(coding style): Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:04:30 +02:00
Marcel Klehr f2eb2241bb feat(SpeechToText): Add autoload changes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:01:11 +02:00
Marcel Klehr 317521b607 feat(SpeechToText): Add SpeechToText provider API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 14:59:57 +02:00
John Molakvoæ b7df4196e2 feat(files): right click
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 14:38:53 +02:00
John Molakvoæ a05176a1f5 Merge pull request #37639 from nextcloud/feat/files/selection 2023-04-11 13:56:10 +02:00
John Molakvoæ 8bef77235f feat(files): implement shift-select
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 12:36:58 +02:00
John Molakvoæ c6645cbc46 Merge pull request #37633 from nextcloud/fix/trashbin
Trashbin followup fixes
2023-04-11 12:28:36 +02:00
John Molakvoæ 0b0dbb99d3 fix(files): use displayName in breadcrumbs if available
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 12:00:03 +02:00
John Molakvoæ 45f39d65fe fix(files): fix private variables and share loading marker between header and row
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 11:58:02 +02:00
John Molakvoæ 441aab68a4 fix(files_trashbin): set real filename on trashbin download
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 11:56:06 +02:00
John Molakvoæ e3f575ba7a fix(files): update @nextcloud/files and fix event store update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 11:56:04 +02:00
John Molakvoæ a16703d181 Merge pull request #37646 from nextcloud/feat/trashbin-cleanup
chore(files_trashbin): cleanup old legacy files
2023-04-11 10:49:55 +02:00
Julius Härtl a60dc50a37 Merge pull request #37647 from nextcloud/bugfix/noid/filepicker 2023-04-11 10:00:37 +02:00
Faraz Samapoor 8f4b20aaa1 Refactors core/Command/Encryption/Enable.php to improve code readability.
Improves the readability of the "execute" method by using early returns and reducing the code indentation.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-04-11 09:29:44 +03:30
Julius Härtl cd44ee2053 Merge pull request #37625 from nextcloud/bugfix/noid/transfer-file-new-user
fix: Always create user directory when transfering files to new users
2023-04-11 07:57:17 +02:00
Nextcloud bot 30dd3993b3 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-11 02:28:24 +00:00
Simon L efe2fb66c7 Merge pull request #37521 from nextcloud/update-improve-devcontainer
Update improve devcontainer
2023-04-10 14:03:38 +02:00
John Molakvoæ 0d484c58f8 Merge pull request #37653 from nextcloud/dependabot/npm_and_yarn/marked-4.3.0
chore(deps): Bump marked from 4.0.14 to 4.3.0
2023-04-10 10:15:41 +02:00
Nextcloud bot 36faad8f47 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-10 02:30:53 +00:00
dependabot[bot] 7553b532bb chore(deps): Bump marked from 4.0.14 to 4.3.0
Bumps [marked](https://github.com/markedjs/marked) from 4.0.14 to 4.3.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.14...v4.3.0)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-09 10:09:02 +00:00
John Molakvoæ 649310151f Merge pull request #37528 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.43
bump moment-timezone from 0.5.38 to 0.5.43
2023-04-09 11:59:10 +02:00
dependabot[bot] ffe27207e8 bump moment-timezone from 0.5.38 to 0.5.43
---
updated-dependencies:
- dependency-name: moment-timezone
  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>
2023-04-09 09:47:37 +00:00
John Molakvoæ 5bc4adebc6 Merge pull request #37650 from nextcloud/dependabot/npm_and_yarn/karma-6.4.1
chore(deps-dev): Bump karma from 6.4.0 to 6.4.1
2023-04-09 11:30:20 +02:00
Nextcloud bot a19589d5c2 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-09 02:27:38 +00:00
dependabot[bot] 8055be4f44 chore(deps-dev): Bump karma from 6.4.0 to 6.4.1
Bumps [karma](https://github.com/karma-runner/karma) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.4.0...v6.4.1)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-08 12:26:06 +00:00
John Molakvoæ 760952b508 Merge pull request #37651 from nextcloud/dependabot/npm_and_yarn/jest-environment-jsdom-29.5.0
chore(deps-dev): Bump jest-environment-jsdom from 29.2.1 to 29.5.0
2023-04-08 14:24:55 +02:00
John Molakvoæ 000ad21c62 Merge pull request #37623 from nextcloud/dependabot/npm_and_yarn/libphonenumber-js-1.10.26
chore(deps): Bump libphonenumber-js from 1.10.13 to 1.10.26
2023-04-08 14:24:31 +02:00
MichaIng 3e5699cfb1 Merge pull request #37529 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.6
chore(deps-dev): Bump phpunit/phpunit from 9.6.4 to 9.6.6 in /build/integration
2023-04-08 12:54:13 +02:00
dependabot[bot] 9c4e892a91 Merge pull request #37530 from nextcloud/dependabot/composer/build/integration/symfony/event-dispatcher-5.4.22 2023-04-08 10:05:55 +00:00
dependabot[bot] a641c3d99d chore(deps): Bump libphonenumber-js from 1.10.13 to 1.10.26
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.13 to 1.10.26.
- [Release notes](https://gitlab.com/catamphetamine/libphonenumber-js/tags)
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.13...v1.10.26)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  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>
2023-04-08 10:03:34 +00:00
dependabot[bot] 5b3794b32a chore(deps-dev): Bump jest-environment-jsdom from 29.2.1 to 29.5.0
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.2.1 to 29.5.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.5.0/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-08 08:36:35 +00:00
Nextcloud bot 29076a3e39 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-08 02:27:47 +00:00
Julius Härtl 389c6dc30b fix: Fix filepicker breadcrumbs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-07 16:04:50 +02:00
John Molakvoæ 4f24f68334 chore(files_trashbin): cleanup old legacy files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-07 15:23:41 +02:00
Kate c3b6b20862 Merge pull request #37511 from nextcloud/feature/type-mappers
Add type hints for mappers
2023-04-07 10:40:10 +02:00
jld3103 b153340b62 Add type hints for mappers
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-07 09:49:42 +02:00
John Molakvoæ 9140a36edc Merge pull request #37539 from nextcloud/automated/noid/master-update-psalm-baseline 2023-04-07 08:13:49 +02:00
nextcloud-command b9812fd91e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-04-07 04:10:58 +00:00
Nextcloud bot 99be997dca Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-07 02:28:31 +00:00
Anna Larch 1811a0e8f9 fix(dav): add string comparison for diff
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-04-07 00:28:42 +02:00
Jan Messer 647c65a640 [BUGFIX] throw exception instead of error if unable to create file handler (only exceptions are catch)
Signed-off-by: Jan Messer <jan@mtec-studios.ch>
2023-04-06 23:03:49 +02:00
Jan Messer 7a443863fe [BUGFIX] check return value and improve error handling
With S3 primary storage there was a problem with getting the CA bundle from the storage without having the CA bundle for the connection which causes that the CertificateManager was throwing an Error.
This commit improves the handling in CertificateManager and log unexpected behaviors.

Signed-off-by: Jan Messer <jan@mtec-studios.ch>
2023-04-06 23:03:33 +02:00
Julius Härtl b62e29051e fix: Always create user directory when transfering files to new users
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-06 20:51:56 +02:00
dependabot[bot] 0126247439 Merge pull request #37398 from nextcloud/dependabot/npm_and_yarn/jsdoc-4.0.2 2023-04-06 17:44:31 +00:00
Vincent Petry 9f05eff3ef Merge pull request #34607 from nextcloud/encryption-size-not-found
fix encryption wrapper filesize for non existing files
2023-04-06 18:04:44 +02:00
Julius Härtl 30110134f1 Merge pull request #37584 from Jerome-Herbinet/patch-17
Fix icon size in contact search popup (way too big)
2023-04-06 17:25:10 +02:00
dependabot[bot] 486d43193a chore(deps-dev): Bump jsdoc from 4.0.0 to 4.0.2
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/4.0.2/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/4.0.0...4.0.2)

---
updated-dependencies:
- dependency-name: jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 15:09:13 +00:00
John Molakvoæ 2e6e154629 Merge pull request #36534 from nextcloud/feat/files2vue-trashbin
[F2V] migrate  files_trashbin to vue
2023-04-06 17:04:58 +02:00
Robin Windey 849b7de681 Move launch.json to .devcontainer and copy on start 2023-04-06 14:57:35 +00:00
Robin Appelman b89621e8da fix output for group:list command with numeric user ids
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-06 16:31:39 +02:00
John Molakvoæ 5b3900e849 fix(tests): acceptance
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:43:30 +02:00
John Molakvoæ ea3e77d6b9 fix(files): better wording and catch single action run
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:43:30 +02:00
John Molakvoæ 8298bb44fd fix:(files-checker): add cypress.d.ts and custom.d.ts
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:32:31 +02:00
John Molakvoæ d432e0c7b2 fix(cypress): component testing with pinia
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:31:51 +02:00
John Molakvoæ f060e5a72f fix(tests): update jsunit tests after dep and files update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:31:37 +02:00
John Molakvoæ 1361182439 chore(eslint): clean and fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:31:37 +02:00
John Molakvoæ 904348b8c7 chore(npm): build assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:31:35 +02:00
John Molakvoæ bdbe477337 feat(files): add FileAction service
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 014a57e541 fix: improved preview handling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ a66cae02ef fix(deps): update webdav 5 usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ c7c9ee1ebd feat(files): move userconfig to dedicated store and fix crop previews
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 044e824260 chore(deps): update lockfile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 60b74e3d6d feat(files): batch actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 4942747ff8 fix(files): use inline NcActions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 7215a9ae9c fix(files): breadcrumbs accessibility title
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 2b251999a2 fix(files): accessibility tab into recycled invisible files rows
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 6358e9752f fix(files): inline action styling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ bda286c7f0 perf(files): less verbose
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ f28944e23f feat(files): propagate restore and delete events
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ e85eb4c593 fix(files): selection and render performance
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 0f717d408f feat(accessibility): add files table caption and summary
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 0e764f753a fix(files): fix custom render components reactivity
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 3c3050c76f feat(files): implement sorting per view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 0b4da6117f feat(files): actions api
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 0db210a092 chore(deps): cleanup unused deps and audit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ f330813ff0 feat(files): custom columns
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 10010fc532 feat(files): sorting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +02:00
John Molakvoæ b761039cf1 perf(files): fetch previews faster and cache properly
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +02:00
John Molakvoæ 2ff1c00f55 fix(files_trashbin): previews crop support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +02:00
John Molakvoæ 638b3dffa3 perf(files): update files store by chunks
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +02:00
John Molakvoæ 03c32774b0 feat(files): switch to pinia
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:29 +02:00
John Molakvoæ 29a7f7f6ef feat(files_trashbin): migrate to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:29 +02:00
Julia Kirschenheuter 8eb9505294 Merge pull request #37583 from nextcloud/fix/37174-place-heading-inside_of_the_main_content
Move heading to the main content
2023-04-06 14:39:49 +02:00
Julia Kirschenheuter 5aa1a470fe Merge pull request #37335 from nextcloud/fix/36909-Decorative_icons_were_not_marked_as_such_with_aria-hidden=true
Add `aria-hidden='true'` to decorative icons inside of modal dialogs
2023-04-06 14:37:36 +02:00
julia.kirschenheuter 0df1361ddd Add aria-hidden='true' to decorative icons inside of modal dialogs
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-06 12:37:40 +02:00
Julien Veyssier f61bcd8b5f Merge pull request #37513 from nextcloud/fix/type-dav
Fix DAV types
2023-04-06 12:10:47 +02:00
Simon L 1c44f42227 Merge pull request #37604 from nextcloud/php7-drop
Remove PHP 7 rules from .htaccess
2023-04-06 12:02:00 +02:00
Robin Appelman 570b64aafc handle not being able to write file for notify self-test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-06 11:52:22 +02:00
Jérôme Herbinet a64c31148c Fix icons at 16px width and height
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Fix icon size

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run sass

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Rever + add exception

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run sass

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

16px fixed dimentions instead of auto

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-06 11:44:08 +02:00
Arthur Schiwon 1ac7a3f107 Merge pull request #37595 from jtrees/add-some-tests-to-lost-controller
Add some tests for input trimming in LostController.php
2023-04-06 11:12:52 +02:00
John Molakvoæ 6b4abd0522 Merge pull request #37588 from nextcloud/bugfix/noid/filepicker-a11y
fix: Adjust filepicker breadcrumb structure to recent a11y changes
2023-04-06 11:06:34 +02:00
John Molakvoæ 6fa55de280 Merge pull request #37591 from Jerome-Herbinet/patch-19 2023-04-06 10:24:17 +02:00
James Guo bb173e092b Update AmazonS3.php
Signed-off-by: James Guo <i@ze3kr.com>
2023-04-06 14:34:08 +08:00
Marc Hefter ebb0c53f9e trying to make github-code-scanning bot happy
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:31 +02:00
Marc Hefter 72d0a3f26e added simple data conversion for LDAP attributes
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:31 +02:00
Marc Hefter 1e7bc93ec8 handling, formatting of postalAddress attribute syntax
replace '$' with ', ' delimiter for address property
reformatted some code to 80 column
early check and return, if wasRefreshed('profile')
removed FIXMEs after digging and double checking

Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:30 +02:00
Marc Hefter 5ea46d81bb nice up the code handling AccountManager
merging defaultScopes from DEFAULT_SCOPES and account_manager.default_property_scope
removing unneccessary profileScope setting (using config.php instead)
honoring admin choice 'profile.enabled'=>false in config.php
moved checking for empty array to updateProfile function
corrected some typos and cleaned some comments

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:30 +02:00
Marc Hefter 0c6d440643 undoing the additions to OC\IUser
removed changes from lib/public/IUser.php
removed changes from lib/private/User/LazyUser.php
removed changes from lib/private/User/User.php

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:29 +02:00
Marc Hefter dd2bd6a925 refined code, to be independend from OCP\IUser
rework updateProfile in user_ldap/lib/User/User.php
some cleanup at processAttributes in user_ldap/lib/User/User.php
rearranged Fediverse attribute, to match profile layout

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:29 +02:00
Marc Hefter c6408587ed fixing Psalm messages
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:28 +02:00
Marc Hefter f812b87576 handling updateProfile with array of values
using an array to buffer profile updates, like suggested by @come-nc
clean some code and remove unneccessary redundancy
added the Fediverse profile property

Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:28 +02:00
Marc Hefter 5c4a05cfd6 CleanUp: removed redundant storing profile attributes in user settings
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:27 +02:00
Marc Hefter 3020290751 CleanUp: removed redundant condition if block
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:27 +02:00
Marc Hefter 651273808f CleanUp: correct version to 27 and return value specification
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:26 +02:00
Marc Hefter 2f76b7a3d5 CleanUp: tidy checking for empty profileScope
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:26 +02:00
Marc Hefter 44065c0fea Fix: Parameter $scope has no provided type
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:25 +02:00
Marc Hefter 26aa1c3580 CleanUp: remove unneeded UNSET, to unclutter code
Signed-off-by: march42 <marchefter@gmail.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:25 +02:00
Marc Hefter 240c57b94b cleanup: removed unnecessary imports of IAccountManager, AccountManager, IDBConnection
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:24 +02:00
Marc Hefter b72fbd58f6 fixed error: Array to string conversion at user_ldap/lib/User/User.php#639
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:23 +02:00
Marc Hefter c7623c7869 bugfix: changed forgotten userName, to getUsername
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:22 +02:00
Marc Hefter eee0275dc5 added user profile scope setting
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:22 +02:00
Marc Hefter 2315c17726 feature addition: [user_ldap] update user profile from LDAP
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:21 +02:00
Marc Hefter 7fa3c674de feature addition: [user_ldap] update user profile from LDAP; WIP; fixing some uggly copy-and-paste errors; testing functionality; preparing and editing the documentation
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:20 +02:00
Marc Hefter 404d26aa4a feature addition: [user_ldap] update user profile from LDAP; WIP work-in-progress; TODO update profile
Signed-off-by: Marc Hefter <marchefter@march42.net>
2023-04-06 08:19:39 +02:00
Nextcloud bot 2cfb9e9497 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-06 02:28:44 +00:00
Julius Härtl 52e66afed6 chore: Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-06 00:45:52 +00:00
Robin Appelman 03e965a513 Merge pull request #22943 from nextcloud/scanner-no-access-handling
improve handling of files we can't access in the scanner
2023-04-05 21:36:21 +02:00
Louis 72fce81c0c Merge pull request #37531 from nextcloud/dependabot/npm_and_yarn/webpack-5.77.0
bump webpack from 5.75.0 to 5.77.0
2023-04-05 20:14:30 +02:00
Git'Fellow 3009ae0d91 Remove PHP7 rules
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-04-05 19:45:45 +02:00
Côme Chilliet e63a6f5cdb Merge pull request #27538 from nextcloud/scanner-home-not-writable-better-errors
better error messages if the users home is not writable during scanning
2023-04-05 17:53:42 +02:00
Côme Chilliet a6b1d990a4 Check for non-numeric versions, not non-integer
All versions are string

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 17:50:45 +02:00
Côme Chilliet 8cc8765089 Ignore and log non integer versions
This avoids being stuck when there is one buggy file version with a
 non-integer version. It allows the expiration process to not crash and
 continue with the other ones.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 17:44:14 +02:00
Côme Chilliet 8d5165e8dc Adapt tests to config value typing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 17:42:14 +02:00
dependabot[bot] 0e27ebd1af bump webpack from 5.75.0 to 5.77.0
---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-05 15:00:38 +00:00
Julius Härtl 2dc96b3148 Merge pull request #37526 from nextcloud/use-correct-icon-for-calendar-user-settings-section
fix(dav): Use an icon with correct color for calendar user settings section
2023-04-05 16:11:26 +02:00
Robin Appelman 63fc83de26 Merge pull request #33292 from nextcloud/no-profiler
don't hard error when trying to load profiles with no profiler registered
2023-04-05 15:57:50 +02:00
Robin Appelman c6be96d04f additional logging when mkdir fails for object storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 14:52:19 +02:00
Robin Appelman b1f352c614 improve handling of files we can't access in the scanner
instead of erroring, remove the items from the cache.

this situation can be triggered if a user has access to a file but looses it afterwards

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 14:44:55 +02:00
Jérôme Herbinet 1f67183fe3 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-05 13:24:17 +02:00
Robin Appelman 54f61352f0 better error messages if the users home is not writable during scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 13:21:30 +02:00
Jérôme Herbinet 338196ffb0 Fix : Hides hidden files and folder in modal
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-05 13:21:30 +02:00
Robin Appelman a1b7f132c8 Merge pull request #37430 from nextcloud/trash-cleanup-logging
add a bit more verbose option for trashbin cleanup
2023-04-05 13:15:29 +02:00
Julia Kirschenheuter e60ffea5a0 Merge pull request #37586 from nextcloud/dependajulia/bump-nextcloud-vue-tov.7.9.0
Bump @nextcloud/vue to version "^7.9.0"
2023-04-05 12:55:19 +02:00
Côme Chilliet 426c0341ff Use typed version of IConfig::getSystemValue as much as possible
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 12:50:08 +02:00
Joshua Trees a4032a3800 Add some tests for input trimming in LostController.php
Signed-off-by: Joshua Trees <me@jtrees.io>
2023-04-05 12:15:38 +02:00
Jérôme Herbinet e7044cdb21 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-05 12:02:23 +02:00
Jérôme Herbinet c46716b55c UI : Improved presentation of personal information
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-05 12:00:07 +02:00
Julius Härtl 837622cb87 fix: Adjust filepicker breadcrumb structure to recent a11y changes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-05 11:40:40 +02:00
Côme Chilliet 5063b76c8a Merge pull request #37495 from joshtrichards/jr-trim-pw-reset-username
Trim the user/email provided for password resets
2023-04-05 11:36:53 +02:00
julia.kirschenheuter c36c0731b2 Bump @nextcloud/vue to version "^7.9.0"
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-05 11:27:03 +02:00
Arthur Schiwon bd0f374cfd Merge pull request #37575 from nextcloud/fix/user_ldap-log-suffix-names
Log a warning when a user or group is mapped with a suffix
2023-04-05 10:28:23 +02:00
julia.kirschenheuter 541607349b Move heading to the main content
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-05 10:27:16 +02:00
Côme Chilliet 8f550398c4 Merge pull request #36836 from nextcloud/fix/view-type-cleanup
Tidy up typing in OC\Files\View
2023-04-05 10:14:55 +02:00
Kate 88ab6d452b Merge pull request #37507 from nextcloud/fix/config-values-types
Fix types for reading and writing config values
2023-04-05 10:01:46 +02:00
Côme Chilliet 6633b4ced6 Remove unecessary fully qualified namespaces from phpdoc
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 09:13:39 +02:00
jld3103 d9f8522003 Fix types for reading and writing config values
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 09:08:56 +02:00
Kate 54140dd6bf Merge pull request #37504 from nextcloud/fix/app-framework-tainter
Update AppFrameworkTainter to use non-deprecated interface
2023-04-05 09:02:31 +02:00
jld3103 e7926b9644 Refactor AppFrameworkTainter to make it more readable
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 07:07:53 +02:00
jld3103 14283001a5 Update AppFrameworkTainter to use non-deprecated interface
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 07:07:53 +02:00
jld3103 7e58aa1a05 Fix DAV types
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 07:06:50 +02:00
Nextcloud bot 746a1e9922 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-05 02:30:26 +00:00
Robin Windey 296c9beff6 Enbale apcu in devcontainer CLI 2023-04-04 16:37:39 +00:00
Robin Appelman 43b61d26e8 don't hard error when trying to load profiles with no profiler registered
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 17:24:29 +02:00
Robin Appelman 9d3c8b7e70 Merge pull request #36360 from nextcloud/new-share-existing-node
also set the node when re-using existing share on share create
2023-04-04 17:11:24 +02:00
Joas Schilling 9cae15d1ad Merge pull request #37278 from nextcloud/feature/document-talk-icon-url-definition
Document talk icon url definition
2023-04-04 17:08:28 +02:00
Robin Appelman 5267a74027 fix type hints
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 17:05:45 +02:00
Louis 93faf19ed9 Merge pull request #37573 from nextcloud/artonge/debt/remote_autotest-js.sh
Remove autotest-js.sh
2023-04-04 17:02:22 +02:00
Robin Appelman 8c9197d65e fix unencrypted folder size when no children with unencrypted size set are left
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:48:11 +02:00
Robin Appelman 649bed5154 fix unencrypted_size for files when scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:48:11 +02:00
Robin Appelman 63fb33538c fix unencrypted_size for folders when scanning the filesystem with encryption enabled
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:48:10 +02:00
Robin Appelman 15a6920b07 fix encryption wrapper filesize for non existing files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:21:17 +02:00
Robin Appelman 565ee0dc81 Merge pull request #37559 from nextcloud/preview-generate-cmd
add command to generate a preview for a file
2023-04-04 16:06:45 +02:00
Josh Richards 9899b12478 Trim user earlier
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-04-04 10:03:15 -04:00
Julia Kirschenheuter 45c27aa302 Merge pull request #37453 from nextcloud/fix/36918-The_breadcrumb_navigation_represents_a_list_and_should_best_be_implemented_as_such
the breadcrumb navigation represents a list and should best be implemented as such
2023-04-04 14:54:57 +02:00
Côme Chilliet 51705da7a4 Log a warning when a user or group is mapped with a suffix
Most of the time, this is the result of a misconfiguration by the admin
 and is not what is expected.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-04 14:08:24 +02:00
Joas Schilling 59d0e7711d Merge pull request #37572 from nextcloud/bugfix/noid/help-discovering-broken-initial-state-data
fix(initial-state): Log an error when initial-state can not be JSON e…
2023-04-04 14:00:24 +02:00
Joas Schilling 44cb46c0f2 Merge pull request #37345 from nextcloud/artonge/fix_files_version_cypress_tests
Fix cypress tests for files_versions
2023-04-04 13:42:53 +02:00
julia.kirschenheuter dc0a95cce0 Adjust breadcrumb navigation structure to the navigation list
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-04 12:16:45 +02:00
Côme Chilliet f78b077eaa Merge pull request #37444 from nextcloud/fix/bump-scssphp/scssphp-to-1.11-in-master
Bump scssphp/scssphp to 1.11 in master
2023-04-04 12:00:32 +02:00
Louis Chemineau aeebf13d5d Remove autotest-js.sh
It is just a proxy to npm run test:jsunit.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-04 11:57:16 +02:00
Joas Schilling 131f481a67 fix(initial-state): Log an error when initial-state can not be JSON encoded
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-04 10:54:12 +02:00
Louis Chemineau 67df0afaff Only upload logs and data on failure
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-04 10:48:36 +02:00
Côme Chilliet 7fdb23928f Merge pull request #37243 from nextcloud/enh/openssl-get-rid-of-rc4
Getting rid of openssl_seal and rc4 in server side encryption
2023-04-04 10:38:02 +02:00
Louis 7ab44b2d28 Merge pull request #37146 from nextcloud/artonge/feat/migrate_metadata_to_value
Migrate metadata JSON column to new value TEXT column
2023-04-04 10:23:54 +02:00
Thomas Citharel d87e55cf43 fix(dav): Use an icon with correct color for calendar user settings section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-04 10:07:37 +02:00
Côme Chilliet 81dcd52f57 Align 3rdparty submodule with master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-04 07:43:39 +00:00
Côme Chilliet ef56d1734c Bump scssphp/scssphp to 1.11 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-04 07:43:39 +00:00
Julia Kirschenheuter 135b0ded50 Merge pull request #37517 from nextcloud/fix/36919-create-semantic-list-for-comments-in_comments_tab
Create semantic list for comments in comments tab
2023-04-04 08:21:42 +02:00
Nextcloud bot 458abcc86d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-04 02:28:30 +00:00
Robin Appelman d6ff5d8ee5 Merge pull request #36905 from nextcloud/ftp-fix-filezilla
fix ftp external storage with filezilla server
2023-04-03 20:50:00 +02:00
Christoph Wurst b2c9a57274 ci(checkers): Fix autoloader regeneration for non-shipped apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-03 19:59:40 +02:00
Robin Appelman 9a731ad617 add a bit more verbose option for trashbin cleanup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 18:59:02 +02:00
Robin Appelman d63fa2d991 improve objectstore rmdir handling
remove folder entries as they are cleared instead of in one go afterwards

otherwise they stick around if some of the child entries can't be removed

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 18:28:29 +02:00
Robin Appelman 013eedabbd add command to generate a preview for a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 17:30:57 +02:00
Robin Appelman 3473fa3187 also set the node when re-using existing share on share create
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 16:40:47 +02:00
Robin Appelman 5024f295dc Merge pull request #36097 from nextcloud/path-prefix-optimize
extend path-prefix optimizer to remove all cases of path_hash= when encountering a path prefix filter
2023-04-03 16:39:49 +02:00
Rsplwe 5c6f35832c Update lib/private/Files/ObjectStore/S3.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Rsplwe <i@rsplwe.com>
2023-04-03 21:59:59 +08:00
Côme Chilliet dbc0d6a1c2 Merge pull request #37543 from nextcloud/fix/inherited-parameter-names
Fix inherited parameter names
2023-04-03 15:08:45 +02:00
Joas Schilling c5339fa336 Merge pull request #37542 from nextcloud/bugfix/noid/allow-to-opt-out-of-ratelimit-for-testing
feat(security): Allow to opt-out of ratelimit protection, e.g. for te…
2023-04-03 14:19:41 +02:00
Louis Chemineau 1a6709cf43 Migrate metadata as JSON to value as STRING
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-03 14:06:28 +02:00
Robin Windey a995e27e97 Add .vscode to expected files list 2023-04-03 09:42:27 +00:00
Côme Chilliet 1000b463a1 Merge pull request #37320 from nextcloud/fix/workflow-unique-names
Avoid having the same name for several workflows
2023-04-03 11:38:20 +02:00
Arthur Schiwon 84c76a89ec Merge pull request #37520 from nextcloud/fix/noid/fix-dbal-exception-handling
fix DBAL exception handling in setValues
2023-04-03 11:30:14 +02:00
Côme Chilliet 8f26a5d766 Fix dav application tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:35 +02:00
Côme Chilliet 5ad045619c View needs to return an instance of OC\Files\FileInfo explicitely
Applications are calling methods from the class which are not from the
 public interface, and which cannot be added easily to public interface
 because Node interface extends FileInfo.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:35 +02:00
Côme Chilliet 0b3dad895f More type cleanup in View and FileInfo
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:35 +02:00
Côme Chilliet ea05544213 Fix return type of methods returning false on error
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:34 +02:00
Côme Chilliet f974281ac9 Improve typing for fopen/toTmpFile
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:34 +02:00
Côme Chilliet 4393b96542 Remove unused method getLocalFolder
It’s not used and not in any OCP interface/class.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:34 +02:00
Côme Chilliet 966a3e6963 Tidy up typing in OC\Files\View
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:33 +02:00
julia.kirschenheuter 8b945d8864 Create semantic list for comments in comments tab
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-03 10:43:57 +02:00
Julius Härtl 671d2726fa Merge pull request #36652 from nextcloud/perf/autoloading/theming-authoritative-autoloader
perf(autoloading): Add authoritative autoloader for theming
2023-04-03 10:38:00 +02:00
Joas Schilling 8e529df6ae Merge pull request #37505 from nextcloud/fix/recommended-psalm-options
Set recommended psalm options
2023-04-03 09:54:13 +02:00
Joas Schilling cac31061c7 Merge pull request #37503 from nextcloud/fix/composer-psalm-threads
Use all available threads for running psalm from composer
2023-04-03 09:52:25 +02:00
Joas Schilling 454281af03 feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-03 09:06:45 +02:00
Julius Härtl b5da85df3a Merge pull request #37417 from nextcloud/bugfix/scroll-firefox
fix: Avoid scrolling the #content wrapper container
2023-04-03 08:55:27 +02:00
jld3103 dcf6ebebab Fix inherited parameter names
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-03 08:29:33 +02:00
Nextcloud bot 7ef9ef3cb4 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-02 02:27:06 +00:00
Simon L 57bd5e71b9 Merge pull request #35961 from nextcloud/move-from-encryption-remove-flag
clear encrypted flag when moving away from encrypted storage
2023-04-01 18:14:16 +02:00
Robin Appelman 808a80eb9c add test for unmarking encrypted file on cross storage move
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-01 15:36:38 +00:00
Robin Appelman c9e4e30523 clear encrypted flag when moving away from encrypted storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-01 15:36:37 +00:00
Rsplwe d85e623916 s3: get remaining truncation part
Signed-off-by: Rsplwe <i@rsplwe.com>
2023-04-01 22:56:15 +08:00
Rsplwe ccac296821 Adjust the value of 'maxparts' to 1000
Signed-off-by: Rsplwe <i@rsplwe.com>
2023-04-01 21:20:52 +08:00
MichaIng 06ab4f25eb Merge pull request #37344 from nextcloud/backport/35734/master
[master] [stable25] Quota value as float for 32-bit systems
2023-04-01 15:04:44 +02:00
Côme Chilliet 8104d9f5d8 Remove useless coalescing operator on non-null return value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:26 +02:00
Côme Chilliet da618c457a Fix quota typing for 32bits after forward port from 25
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-04-01 14:20:25 +02:00
Côme Chilliet 3f84d41226 Silence a warning from psalm with explanation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:25 +02:00
Côme Chilliet 1740311283 Adapt types of subclasses
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:24 +02:00
Côme Chilliet ed863fb47c Make it clear that file sizes may be float on 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:24 +02:00
Vincent Petry c6b683342e Remove quota value type for 32-bit systems
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-04-01 14:20:20 +02:00
dependabot[bot] 860ef63b91 chore(deps-dev): Bump symfony/event-dispatcher in /build/integration
Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) from 5.4.19 to 5.4.22.
- [Release notes](https://github.com/symfony/event-dispatcher/releases)
- [Changelog](https://github.com/symfony/event-dispatcher/blob/6.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/event-dispatcher/compare/v5.4.19...v5.4.22)

---
updated-dependencies:
- dependency-name: symfony/event-dispatcher
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-01 03:39:22 +00:00
dependabot[bot] fe27f49393 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.4 to 9.6.6.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.4...9.6.6)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-01 03:35:46 +00:00
Nextcloud bot 701cc1eaba Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-01 02:27:26 +00:00
Arthur Schiwon b14ae5c59c Merge pull request #37497 from nextcloud/enh/profile-fields
Improve handling of profile fields
2023-03-31 17:09:52 +02:00
Arthur Schiwon 997c2a2a79 fix DBAL exception handling in setValues
This seems to be a left over after abstracting DBAL. Nowadays,
IQueryBuilder::executeStatement() only throws a \OCP\DB\Exception, where
previously original DBAL exceptions where thrown. These are now wrapped,
the orignal classes are now mapped to a reason.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-31 17:01:17 +02:00
Robin Windey 3f69e1232d Move git safe.directory to earlier stage
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:06 +00:00
Robin Windey dfa8a8c946 Configure line ending to let shell scripts work in Windows ENV
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:06 +00:00
Robin Windey dfbd1fbe79 Dedicated DevContainer user + NVM
* Use dedicated DevContainer user to run Apache (ensure file permissions)
* Install NVM for node

Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:05 +00:00
Robin Windey a32e8db703 Minor DevContainer adjustments
* Add gnupg2 to be able to sign commits
* Make sure /var/www/html always belongs to www-data
* Add Git-History plugin
* Introduce dedicated entrypoint script
* Store Postgres database data in volume to be persistent
* Cleaner check if NC is already installed in setup.sh
* Add composer to DevContainer

Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:04 +00:00
Robin Windey 79fb336d35 Use ubuntu jammy and cleanup Dockerfile
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:04 +00:00
Robin Windey 16c14c059d Minor improvements for devcontainer
* Autostart apache2
* Apply occ installation on start
* Autostart Xdebug on request
* Add DevContainer Xdebug profile

Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:03 +00:00
Stephan 81df7d636e Proposed change to in-build docker-compose.yml and Dockerfile. The current implementation uses php 7.4, which is no longer compatible with the required PHP version of the server. I upped this to PHP 8.1
List of changes:
- Upped PHP Version to 8.1
- Added Apache Webserver so the Container works "out of the box" after docker-compose up -d
- Mounting whole project as volume to /var/www/html in docker-compose.yml (and set WORKDIR to /var/www/html)

Tested in a Docker for Windows environment.
2023-03-31 13:38:26 +00:00
Valdnet a1aa4491ac Merge pull request #37478 from silopolis/stringfix
String fix
2023-03-31 10:35:10 +02:00
jld3103 fa53c7c5a7 Set recommended psalm options
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-31 09:15:03 +02:00
Joas Schilling 5da480a9b8 Merge pull request #37486 from nextcloud/fix/noid/default_lang-doc
fix default_language doc
2023-03-31 08:51:52 +02:00
jld3103 a0e3b3b829 Use all available threads for running psalm from composer
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-31 08:39:46 +02:00
jld3103 f960d9aae4 Update baseline to allow running psalm with multiple threads
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-31 08:39:46 +02:00
jld3103 4d390b5f54 Add stubs for Psr\Container to allow running psalm with multiple threads
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-31 08:27:50 +02:00
Nextcloud bot 9f1eacd67e Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-31 02:28:06 +00:00
Pytal c53e052b6c Merge pull request #37459 from nextcloud/enh/a11y-update-notif-select 2023-03-30 17:30:40 -07:00
Christopher Ng 7bc8b543be Improve handling of profile fields
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-30 17:11:41 -07:00
Christopher Ng 928e7811c9 Port update notification select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-30 10:20:48 -07:00
Josh Richards 203b9131ec Trim the user/email provided for password resets
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-03-30 11:59:13 -04:00
Robin Appelman fd0ef588b4 fix ftp external storage with filezilla server
- filezilla doesn't like "" as parameter for `mdtm` (all others seem fine)
- filezilla sends fractional modified date

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-03-30 17:44:47 +02:00
Louis Chemineau 5dc64ebee6 Prevent expiration from delete file in cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 17:03:13 +02:00
Arthur Schiwon ddc423ab39 fix default_language doc
Since commit 0228bc6e66 the browser
language always is preferred.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-30 16:23:03 +02:00
Julien Veyssier 636c2415cc Merge pull request #37452 from nextcloud/fix/missing-interface-methods
Add missing interface methods
2023-03-30 14:55:51 +02:00
Simon L 2811532e83 Merge pull request #37378 from nextcloud/enh/noid/fix-avatar-generation
fix the avatar generation on Alpine Linux
2023-03-30 14:20:55 +02:00
Julius Härtl 5e7e3eb665 Merge pull request #37425 from nextcloud/fix/fix-since-version-number-for-app-loading 2023-03-30 13:20:11 +01:00
Christoph Wurst b9850fb926 fix(ocp): Add deprecation version to ILogFactory::getCustomLogger
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-30 14:11:37 +02:00
Côme Chilliet da4c5a0339 Merge pull request #37360 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-03-30 13:42:35 +02:00
Jérémie Tarot (@silopolis) 0cdf8baed8 fix(text): Fix small typo in app description
Signed-off-by: Jérémie Tarot (@silopolis) <silopolis@gmail.com>
2023-03-30 12:57:49 +02:00
jld3103 02f9c3a06f Use implementations instead of interfaces for accessing private methods
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-30 12:33:46 +02:00
Jérémie Tarot (@silopolis) 78e9e77b9a chore(git): Add VSCode *.code-workspace files to gitignore
Signed-off-by: Jérémie Tarot (@silopolis) <silopolis@gmail.com>
2023-03-30 12:32:33 +02:00
Arthur Schiwon 488dde12cd Merge pull request #37448 from nextcloud/fix/12281/hide-deleted-shared-groupfolder-files
hide shared files located in group folder's trash bin
2023-03-30 10:31:16 +02:00
Louis Chemineau 4bfdd715c8 Upload data dir archive in cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau ea028a1b01 Use random names in files_version e2e tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau 186491113e Do not stop docker in cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau 8cc29dd3dc Fix condition to extrac NC logs in cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau c43220abd2 Increase wait time
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau b7afd644fa Extract logs only for e2e testing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau f882446f38 Try to chain cypress commands
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
Louis Chemineau c0ff8789c3 Add comments about why we wait in files_versions' cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
Louis Chemineau c79f774dd6 Upload NC logs during cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
Louis Chemineau 49134c6595 Increase wait to ensure versions are created
In files_versions cypress tests, we wait for 1000ms between each versions uploads to make sure that the server properly create a version. Under 1s the serve does not create a version.

This commit increases the wait time as it might help to ensure that the time span is enough between two uploads.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
nextcloud-command fc82e75519 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-03-30 04:13:15 +00:00
Nextcloud bot 2eda49e28d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-30 02:27:36 +00:00
Pytal 63b90d49a7 Merge pull request #37435 from nextcloud/enh/a11y-logo-label 2023-03-29 17:22:33 -07:00
Christopher Ng 4f8e916585 Add label for logo link
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-29 13:36:45 -07:00
Kate fc371facd2 Merge pull request #36667 from nextcloud/fix/ocm-validation-errors
Fix OCM validation errors
2023-03-29 20:47:49 +02:00
Simon L 6a91d105b9 another approach to fixing the avatar generation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-29 12:42:58 +02:00
Julia Kirschenheuter 31f4f4117e Merge pull request #37423 from nextcloud/fix/37422-Remove_custom_tooltips_from_entries_of_contacts_menu
Replace custom tooltips with native ones of entries in contacts menu.
2023-03-29 12:24:03 +02:00
julia.kirschenheuter ccf92975f3 Replace custom tooltips with native ones of entries in contacts menu.
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-29 10:41:53 +02:00
Nextcloud bot b129cea7da Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-29 02:27:48 +00:00
Arthur Schiwon 28e7235f87 hide shared files located in group folder's trash bin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-28 14:13:12 +02:00
John Molakvoæ 8ee52d35b8 Merge pull request #37405 from nextcloud/clear-site-data
Send Clear-Site-Data header and let browsers ignore it if unsupported
2023-03-28 14:02:00 +02:00
Git'Fellow 346054f854 Fix tests
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-28 09:41:04 +02:00
Joas Schilling 7db8e22207 Merge pull request #37437 from nextcloud/bugfix/noid/fix-rst-parsing-sample-config
fix(docs): Fix RST parsing of the sample config
2023-03-28 09:04:18 +02:00
Joas Schilling ab1af9952f fix(docs): Fix RST parsing of the sample config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-28 07:49:01 +02:00
Julius Härtl 4724d1c030 fix: Avoid scrolling the #content wrapper container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-28 06:23:26 +02:00
Nextcloud bot 3ad93182d6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-28 02:19:25 +00:00
Côme Chilliet 2afe26726b Merge pull request #37309 from nextcloud/fix/bump-icewind/streams-to-0.7.7-in-master
Bump icewind/streams to 0.7.7 in master
2023-03-27 17:30:29 +02:00
Côme Chilliet adb885755a Update 3rdparty to merge commit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-27 15:52:21 +02:00
Côme Chilliet 16f2987b43 Fix update-3rdparty command target branch computation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-27 15:51:04 +02:00
Arthur Schiwon 0be7548e22 Merge pull request #37346 from nextcloud/fix/34557/undefined-getExtStorageHome
fix undefined method getExtStorageHome()
2023-03-27 15:33:57 +02:00
Côme Chilliet e94a689bca Fix version number in phpdoc for app loading refactor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-27 14:27:23 +02:00
Joas Schilling 6741b37356 Merge pull request #37198 from nextcloud/bugfix/noid/reference-image-log
fix(references): Do not log errors on 404 responses of opengraph image fetching
2023-03-27 13:56:39 +02:00
Julia Kirschenheuter 1e85cb135e Merge pull request #37421 from nextcloud/fix/36916-The_list_of_contacts_represents_a_list,_but_it_was_not_marked_as_such
Change contactsmenu structure to a list
2023-03-27 13:28:49 +02:00
Christoph Wurst 44dc839f7b Revert "Dark autoloader magic for ThemingDefaults"
This reverts commit 4e1d501696.
2023-03-27 12:56:52 +02:00
Christoph Wurst d5dcf7aa39 perf(autoloading): Add authoritative autoloader for theming
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-27 12:56:52 +02:00
Nextcloud bot 7803ba18b3 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-27 10:18:15 +00:00
Louis 779b242eb4 Merge pull request #37364 from nextcloud/nc-version
Ask for Nextcloud version on issue reporting
2023-03-27 11:53:31 +02:00
Louis 130440eedd Merge pull request #37380 from Jerome-Herbinet/patch-15
Fix 2FA  blocks' width on login screen
2023-03-27 11:45:31 +02:00
julia.kirschenheuter db0670f0cb Change contactsmenu structure to a list
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-27 10:48:59 +02:00
Simon L 985f7caa99 Merge pull request #37416 from nextcloud/fix/37415
Add back missing dashboard version
2023-03-27 09:57:23 +02:00
jld3103 5c514eac44 Add back missing dashboard version
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-27 08:13:29 +02:00
Git'Fellow cfd7a57184 Send header to all browsers under HTTPS
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Don't send Clear-Site-Data to Safari

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix lint

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-26 15:29:01 +02:00
John Molakvoæ e493e72ffb Merge pull request #37397 from nextcloud/check-exif 2023-03-25 11:01:04 +01:00
Varun Patil 35ea5025dd check-setup: recommend exif extension
JPEG previews are not correctly oriented when exif is not enabled
along with other issues. There's no easy way to discover this either.

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-24 18:30:37 -07:00
Robin Appelman 36835b7fec Merge pull request #36810 from nextcloud/setup-user-onetime-before-mounts
do onetime user setup before getting any mount from providers
2023-03-24 16:45:08 +01:00
Simon L fda9d4d0c1 Merge pull request #37340 from nextcloud/fix/undefined-index-mailer-settings
fix(mailer): remove value comparison for smtp_authtype as there is only one option
2023-03-24 15:34:39 +01:00
Christoph Wurst 30d6effe12 Merge pull request #37384 from nextcloud/ci/psalm/security-analysis-ldap
ci(psalm): Install ftp+ldap extension for security scans
2023-03-24 15:19:24 +01:00
Julius Härtl ca1f07b5bd Merge pull request #37211 from nextcloud/fix/36912-create-headings-instead-of-uneeded-labels
Create `<h3>` headings for profile page. Replace `<label>` which have…
2023-03-24 14:56:08 +01:00
Christoph Wurst 936babe17e ci(psalm): Install ftp extension for security scans
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-24 13:21:47 +01:00
Christoph Wurst 6c2d9ec73e ci(psalm): Install ldap extension for security scans
Otherwise Psalm runs into tons of `UndefinedConstant`

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-24 13:20:08 +01:00
Anna Larch 1368012d97 fix(mailer): check if authentication is neccessary
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-03-24 10:26:04 +00:00
Jérôme Herbinet da03a5e2e0 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-03-24 10:27:40 +01:00
Jérôme Herbinet 3ce5ef5808 Fix 2FA blocks' width
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-03-24 10:19:22 +01:00
julia.kirschenheuter 85feae6d82 Create <h3> headings for profile page. Replace <label> which have no conncted <input> with <h3> heading
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-24 08:49:19 +01:00
Nextcloud bot 97b8e6d2a3 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-24 02:27:05 +00:00
Joas Schilling 553b5a51f6 Merge pull request #37361 from nextcloud/fix/noid/display-name-users-controller-test
Adjust provisioning API tests after #36665
2023-03-23 21:15:10 +01:00
Julien Veyssier 69a1fe206f adjust tests after #36665
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-03-23 18:07:43 +01:00
Simon L 1d4ff2cf10 Merge pull request #37265 from nextcloud/enh/33892/new-attempt
l10n: Spelling unification
2023-03-23 17:22:12 +01:00
nextcloud-command 4afac3879d Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-23 14:51:30 +00:00
Simon L 6f9ee2277d improve dashboard description
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-23 15:01:45 +01:00
Valdnet 47a989e15f l10n: Change name of app to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-23 15:01:45 +01:00
Valdnet 9ff265f649 l10n: Delete unnecessary characters
Removal of unnecessary characters that appear in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-03-23 15:01:45 +01:00
Valdnet 300f76ebf7 l10n: Spelling unification
Change the abbreviation to full words.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-03-23 15:01:44 +01:00
Simon L 825f847ef1 Merge pull request #37234 from cob2p/bugfix/typo
Fix the typo in comments
2023-03-23 15:00:41 +01:00
Simon L 67614150b5 Merge pull request #36636 from nextcloud/fix/oc-image-getimagesize
fix OC_Image: Prevent E_WARNING from getimagesize*
2023-03-23 14:59:57 +01:00
Git'Fellow f87a77241b Ask for Nextcloud version on issue reporting
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-23 14:13:09 +01:00
Arthur Schiwon a5f05dd4a9 Merge pull request #37351 from nextcloud/del-unlink
Move from DEL to UNLINK
2023-03-23 12:27:51 +01:00
John Molakvoæ cd045ded82 Merge pull request #37268 from nextcloud/backport/37031/master
chore(deps-dev): Bump @nextcloud/webpack-vue-config to `5.5.0`
2023-03-23 08:36:48 +01:00
John Molakvoæ 55ba9601f2 Merge pull request #36532 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-8.2.1
bump @nextcloud/eslint-config from 8.0.0 to 8.2.1
2023-03-23 08:34:21 +01:00
John Molakvoæ 91eb42076e chore(npm): update dist bundles
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ 40f18c6359 chore(eslint): replace node/no-unpublished-import by n/no-unpublished-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ ad6dcea779 chore(eslint): replace node/no-extraneous-import by n/no-extraneous-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ 8633f13e0a chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ 5adfec3dc6 chore(eslint): replace node/no-missing-import by n/no-missing-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 07:31:33 +01:00
dependabot[bot] 0b665b8169 bump @nextcloud/eslint-config from 8.0.0 to 8.2.1
---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 07:27:45 +01:00
Nextcloud bot 4521c79169 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-23 02:27:06 +00:00
Git'Fellow c81ea3aa98 Fix RedisCluster
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-22 17:19:07 +01:00
Git'Fellow fab390f884 Move from DEL to UNLINK
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-22 17:10:05 +01:00
MichaIng 7fee4b7867 Merge pull request #35699 from nextcloud/dependabot/npm_and_yarn/vue-router-3.6.5
Bump vue-router from 3.5.3 to 3.6.5
2023-03-22 16:04:07 +01:00
Julien Veyssier c838bdb820 Merge pull request #36665 from nextcloud/fix/36539
Always set displayname and display-name for user data
2023-03-22 15:21:29 +01:00
Arthur Schiwon 17afaa488f fix undefined method getExtStorageHome()
- adds a type check
- defines missing method in OfflineUser

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-22 13:54:27 +01:00
dependabot[bot] a75cbb5f0b Bump vue-router from 3.5.3 to 3.6.5
Bumps [vue-router](https://github.com/vuejs/router) from 3.5.3 to 3.6.5.
- [Release notes](https://github.com/vuejs/router/releases)
- [Commits](https://github.com/vuejs/router/commits)

---
updated-dependencies:
- dependency-name: vue-router
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-22 12:50:56 +00:00
Joas Schilling 014a634635 Merge pull request #37334 from nextcloud/bugfix/noid/mark-recording-servers-as-sensitive-due-to-secret
fix(security): Mark recording_servers key appconfig as private as it …
2023-03-22 10:27:39 +01:00
Julius Härtl 8b4d49cf50 Merge pull request #36057 from nextcloud/feat/esm-js-scripts 2023-03-22 09:17:28 +01:00
Joas Schilling 381ab5f4cb fix(security): Mark recording_servers key appconfig as private as it contains a secret
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-22 09:14:37 +01:00
Nextcloud bot 9c7d7139b6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-22 02:43:41 +00:00
Julius Härtl c3a39cbc75 Merge pull request #37305 from nextcloud/fix/security/log-failing-strict-cookie-check
fix(security): Log failing strict cookie check
2023-03-21 19:05:39 +01:00
Côme Chilliet c60182065f Merge pull request #34773 from nextcloud/artonge/feat/dispatch_entry_removed_event_for_all_entries
Dispatch event for all removed entries
2023-03-21 11:42:18 +01:00
Côme Chilliet 8a5374cb63 Avoid having the same name for several workflows
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-21 11:01:21 +01:00
Côme Chilliet 71cdd96d20 Merge pull request #37313 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-03-21 10:03:12 +01:00
Arthur Schiwon fb5c5fffff Merge pull request #37306 from nextcloud/bugfix/37277/caldav-sync
fix(session): Fix DAVx5 sync problems by partial reverting session changes
2023-03-21 09:55:37 +01:00
Julius Härtl 0d75a3096f Merge pull request #36701 from nextcloud/artonge/feat/fc_parent_index
Add parent index on filecache
2023-03-21 08:32:19 +01:00
nextcloud-command 12d830aa9a Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-03-21 04:17:48 +00:00
Nextcloud bot f305c65ec5 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-21 02:27:20 +00:00
Côme Chilliet d08da6238d Bump icewind/streams to 0.7.7 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 17:15:23 +01:00
Vitor Mattos a62521faae Fix the example URL
https://github.com/nextcloud/server/pull/37278/files#r1141955740

Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-20 12:48:02 -03:00
Joas Schilling 705165d3d1 fix(session): Fix DAVx5 sync problems by partial reverting session changes
Temporary disabled the short cut again to solve issues with CalDAV/CardDAV
clients like DAVx5 that use cookies and need a session. See
https://github.com/nextcloud/server/issues/37277#issuecomment-1476366147
and the other comments for further information.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-20 16:30:42 +01:00
Christoph Wurst 0e6fccf9e1 fix(security): Log failing strict cookie check
The error is silent otherwise and makes it very hard to debug on a
production system.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-20 16:26:41 +01:00
Arthur Schiwon 8f59ff880f Merge pull request #37006 from nextcloud/ldap-unmark-dh
also unmark deleted ldap user when checking the ldap entry
2023-03-20 16:15:03 +01:00
Louis Chemineau bda66f9fb6 Add parent index on filecache
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-20 15:02:23 +00:00
Côme Chilliet a3ca6be4d1 Merge pull request #36591 from nextcloud/enh/refactor-app-loading
Refactor app loading
2023-03-20 15:34:11 +01:00
Côme Chilliet 430009b8e2 Add a test for multiKeyEncrypt/Decrypt methods
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 14:19:13 +01:00
Julia Kirschenheuter 76adf9b541 Merge pull request #37271 from nextcloud/fix/36908-set_aria-hidden-for-default-shipped_widgets-icons
Fix description for icons in dashboard widgets
2023-03-20 13:05:12 +01:00
Julius Härtl 55d0d2d457 Merge pull request #37292 from nextcloud/dependabot/npm_and_yarn/jsdom-21.1.1
bump jsdom from 19.0.0 to 21.1.1
2023-03-20 10:46:36 +01:00
julia.kirschenheuter b111c180a5 Fix description for icons in dashboard widgets
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-20 10:23:57 +01:00
Côme Chilliet 13c71ed24a Small cleanups for AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:21:45 +01:00
Côme Chilliet 78c1716818 Move loadApps to the AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:21:45 +01:00
Côme Chilliet 8dc5f82189 Move isType to AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:21:45 +01:00
Côme Chilliet 633ea018af Fix BackgroundCleanupJobTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:21:44 +01:00
Côme Chilliet a224551132 Avoid calling Server::get more times than necessary in loadApp
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:21:42 +01:00
Côme Chilliet f0bdf2a4cd Strong type private properties and methods in AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:19:42 +01:00
Côme Chilliet 71ed968e34 Switch away from Server::get for AppManager and logger in loadApp
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:17:28 +01:00
Côme Chilliet a7c8090dc3 Move loadApp function to the AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:01:17 +01:00
Nextcloud bot 07448168dc Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-20 02:27:19 +00:00
Nextcloud bot c0cddec224 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-19 02:27:27 +00:00
dependabot[bot] e728f6d404 bump jsdom from 19.0.0 to 21.1.1
---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-18 04:45:10 +00:00
Nextcloud bot a37519cf9a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-18 02:27:24 +00:00
Simon L 0b4f4a1692 Merge pull request #37269 from nextcloud/fix/scss-add-important-to-hidden-file-class
fix: add important to css hidden files class
2023-03-17 14:41:25 +01:00
Anna Larch c9a18fc70d fix: add important to css hidden files class
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-03-17 12:40:59 +01:00
Côme Chilliet 24e762c59f Fix encryption file key management
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-17 11:08:59 +01:00
Côme Chilliet 0750481bb7 Adapt encryption recovery tests to new system
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-17 11:08:59 +01:00
Côme Chilliet 26d8fb0b65 Adapt encryption tests to the new system
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-17 11:08:59 +01:00
Côme Chilliet 8900d030d1 Adapt code to new encryption system
fileKey gets deleted upon save as it’s stored in shareKeys instead now.
We use presence of a fileKey to detect if a file is using the legacy
 system or the new one, because we do not always have access to header
 data.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-17 11:08:58 +01:00
Côme Chilliet fbe282caeb Getting rid of openssl_seal and rc4 in server side encryption
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-17 11:08:50 +01:00
Nextcloud bot acca2bdf20 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-17 02:27:13 +00:00
Joas Schilling bfc37afed3 Merge pull request #36928 from nextcloud/techdebt/noid/bruteforce-protection-attribute
feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute and allow multiple
2023-03-16 19:33:13 +01:00
Vitor Mattos 8283b3124c Document talk icon url definition
https://github.com/nextcloud/spreed/pull/8333 introduced an optional `icon-url`
for the call objects in rich messages.

https://github.com/nextcloud/spreed/issues/8389

Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-16 13:49:21 -03:00
Joas Schilling 4d4a223b05 Merge pull request #36114 from nextcloud/perf/autoloader/drop-legacy-loader
perf(autoloader): Drop legacy class autoloader
2023-03-16 16:38:00 +01:00
Ferdinand Thiessen d461da3b04 Adjust .htaccess to serve .mjs files with javascript mime type
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-03-16 15:57:51 +01:00
Julia Kirschenheuter 1001769aed Merge pull request #37244 from nextcloud/fix/37179-replace-custom-tooltips-with-native-ones
Replace custom tooltips with native ones and add description to all e…
2023-03-16 15:16:44 +01:00
Joas Schilling 95048100ed Merge pull request #37252 from nextcloud/bugfix/noid/validate-tag
fix(workflow): Check tag attributes
2023-03-16 15:08:58 +01:00
Julia Kirschenheuter 961a1c80ff Merge pull request #37174 from nextcloud/fix/36911-create-h1-heading-for-files
Set `<h1>` headings for navigation through files app
2023-03-16 14:19:33 +01:00
Kate 78779a0f8b Merge pull request #37262 from nextcloud/fix/autocomplete-controller-class
Fix controller class import for autocomplete
2023-03-16 14:12:10 +01:00
Christoph Wurst 416c824c74 perf(autoloader): Drop legacy class autoloader
The documentation says apps should use PSR-4 to get their classes
loaded. The legacy PSR-0 is still in place and has a negative impact on
performance.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-16 12:02:09 +00:00
dependabot[bot] 977daf76cd chore(deps-dev): Bump @nextcloud/webpack-vue-config
Bumps [@nextcloud/webpack-vue-config](https://github.com/nextcloud/webpack-vue-config) from `53df7bb` to `516d77c`.
- [Release notes](https://github.com/nextcloud/webpack-vue-config/releases)
- [Commits](https://github.com/nextcloud/webpack-vue-config/compare/53df7bbe61e4a6d960c1d13e63597ce361f3795d...516d77c7012711a741baee53be745168c0456605)

---
updated-dependencies:
- dependency-name: "@nextcloud/webpack-vue-config"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-16 12:56:43 +01:00
Simon L 0e5fcb49d4 Merge pull request #36661 from onny/event-update-mail-subject
Invitation mail: Change subject if event got updated
2023-03-16 12:26:12 +01:00
julia.kirschenheuter b698cb2e8c Replace custom tooltips with native ones and add description to all elements which have title
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-16 12:10:45 +01:00
Marcel Klehr 4a2accaa27 fix OC_Image: Prevent E_WARNING from getimagesize*
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-03-16 11:10:36 +00:00
julia.kirschenheuter 058f7f426c Set <h1> headings for navigation through files app
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-16 11:51:43 +01:00
Louis ad2e242458 Merge pull request #37152 from nextcloud/artonge/fix/title_foar_version_date
Use native tooltip for version's date
2023-03-16 11:30:36 +01:00
jld3103 79507435fa Fix controller class import for autocomplete
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-16 09:50:43 +01:00
Joas Schilling 9ba091b348 fix(workflow): Check tag attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-16 08:44:41 +01:00
Nextcloud bot 15b80b6c1a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-16 02:28:08 +00:00
Joas Schilling 76e60c3da6 Merge pull request #37242 from nextcloud/bugfix/noid/extend-list
Reduce list
2023-03-15 22:39:51 +01:00
Côme Chilliet 8abad79bb8 Merge pull request #37229 from nextcloud/dependabot/composer/giggsey/libphonenumber-for-php-8.13.7
Bump giggsey/libphonenumber-for-php to 8.13.7 in master
2023-03-15 18:14:18 +01:00
Côme Chilliet 8e0828f096 Bump 3rdparty to latest master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-15 18:13:27 +01:00
Joas Schilling 3ecd85f817 Reduce list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 17:33:17 +01:00
Joas Schilling d9bc922a1b Merge pull request #37239 from nextcloud/bugfix/noid/extend-list
Extend list
2023-03-15 17:10:15 +01:00
Joas Schilling 9821913e75 Extend list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 17:08:15 +01:00
Julius Härtl c7c1133c15 Merge pull request #35561 from nextcloud/create-user-transaction 2023-03-15 15:13:50 +01:00
Arthur Schiwon a30d7c51d3 Merge pull request #37227 from nextcloud/h1-dav-brute-force-protection
chore: use local variable for remote address
2023-03-15 15:11:53 +01:00
Côme Chilliet 59036bd056 Fix update-3rdparty command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-15 15:07:27 +01:00
CRA Yoshihito Nakatani fb9c8e3790 Fix the typo in comments 2023-03-15 23:03:24 +09:00
Arthur Schiwon 95eefd38eb Merge pull request #37197 from nextcloud/fix/user_ldap-do-not-send-0-size-pagination-control
Do not send a pagination control with size = 0 if cookie is empty
2023-03-15 14:16:42 +01:00
Thomas Citharel f7e65b1751 Create the database user in a transaction
In OC\User\Manager::createUserFromBackend the newly created user is read
using getUserObject($uid, $backend) but that can cause causal read
issues (wrote in DB primary, not yet in secondary).

In OC\User\Database user backend the user cache is unset after the
insert, so it can't be used by getRealUID() (which is called by
getUserObject()).

To avoid that we make sure the user cache is repopulated in a
transaction.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-15 11:07:07 +00:00
Côme Chilliet 8568c11d24 Merge pull request #36033 from nextcloud/invalidateTokensWhenDeletingOAuthClientMaster
[master] invalidate existing tokens when deleting an oauth client
2023-03-15 11:09:51 +01:00
Côme Chilliet 0c3a5bec1e Bump giggsey/libphonenumber-for-php to 8.13.7 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-15 11:02:29 +01:00
Côme Chilliet 325c3100c7 Merge pull request #35610 from nextcloud/feat/add-update-3rdparty-command
Add a command to update the 3rdparty submodule to the same branch as …
2023-03-15 10:34:29 +01:00
Joas Schilling 502534d970 Merge pull request #37222 from nextcloud/bugfix/noid/update-psalm-baseline-on-stable26
chore(psalm): Update psalm baseline also on stable26
2023-03-15 09:09:38 +01:00
Joas Schilling ecd443c21b Merge pull request #37221 from nextcloud/save-some-ci-minutes
Save some CI time
2023-03-15 09:08:41 +01:00
Joas Schilling 3fea682907 chore(CI): Update psalm baseline on stable26
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 08:13:13 +01:00
Joas Schilling 766f38dc73 Save some CI time
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 08:08:18 +01:00
Nextcloud bot 01d58b6f12 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-15 02:26:39 +00:00
Max 9bb2c99b93 doc: /update-3rdparty github command
Signed-off-by: Max <max@nextcloud.com>
2023-03-15 00:03:06 +01:00
Côme Chilliet dc262e5ce2 Add a command to update the 3rdparty submodule to the same branch as the PR target
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-14 22:08:46 +00:00
Côme Chilliet 9c3e06c046 Merge pull request #33061 from ibpl/master-IB#1121253
Paths added to messages and message cleanup
2023-03-14 17:28:22 +01:00
Artur Neumann e97540b9c6 move mocks into private variables
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:18:56 +01:00
Artur Neumann e9f5e796f0 autoloaderchecker
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:18:56 +01:00
Artur Neumann 565fad8d8c added @since tag
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:13:30 +01:00
Artur Neumann 37cfccabc1 unit tests for Manager::invalidateTokensOfUser
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:13:30 +01:00
Artur Neumann 707e69b203 adjust SettingsController tests
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:13:29 +01:00
Artur Neumann f634badf12 public interface to invalidate tokens of user
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:13:29 +01:00
Artur Neumann 21be557e2a invalidate existing tokens when deleting an oauth client
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:13:23 +01:00
Côme Chilliet 54da84f296 Merge pull request #37166 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-03-14 17:01:51 +01:00
Simon L 5cba7f0062 Merge pull request #37192 from n0emis/empty-password
Don't try to hash a nonexisting password
2023-03-14 13:14:34 +01:00
Simon L 5918591874 Merge pull request #37168 from nextcloud/bugfix/noid/hide-download-actions
fix(files_sharing): Allow file actions other than download for hide download shares
2023-03-14 13:14:19 +01:00
Simon L 2b291e74d5 Merge pull request #37010 from Nico264/bugfix-cache-control-immutable
Fix Cache-Control header of non-versioned assets
2023-03-14 13:11:52 +01:00
nextcloud-command 4210bc234e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-03-14 04:13:40 +00:00
Nextcloud bot 1bf68d8037 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-14 02:27:10 +00:00
Côme Chilliet 71328107da Merge pull request #37029 from nextcloud/fix/chunk-objectids-in-systemtagobjectmapper
Add chunking in SystemTagObjectMapper::getTagIdsForObjects
2023-03-13 22:10:47 +01:00
Simon L e4504820a4 Merge pull request #35677 from nextcloud/add-typed-app-management-events
Introduced app enable/disable/update typed events
2023-03-13 21:33:49 +01:00
Côme Chilliet 9b1d7794a8 Add chunking in SystemTagObjectMapper::getTagIdsForObjects
This avoids crashing on Oracle with more than 1000 objects

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-13 17:36:10 +00:00
Julius Härtl b6d1154260 fix(references): Do not log errors on 404 responses of opengraph image fetching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-13 18:18:04 +01:00
Côme Chilliet d82d6df646 Do not send a pagination control with size = 0 if cookie is empty
It only makes sense to send a pagination control with size 0 with a
 cookie to abandon a paged search.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-13 16:05:41 +01:00
Joas Schilling 4b79e75072 Merge pull request #36852 from nextcloud/bugfix/noid/fix-user-status-automation-on-the-day-rules-are-adjusted
fix(user_status): Fix the user status automation on the day availablity rules are adjusted
2023-03-13 15:30:27 +01:00
Julius Härtl 9d74ea00d4 fix(files_sharing): Allow file actions other than download for hide download shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-13 12:51:48 +01:00
Thomas Citharel f1751c4428 Introduced app enable/disable/update typed events
OCP\App\ManagerEvent is depreciated since 22 without a replacement

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-13 11:52:57 +01:00
Anna ac90fa2f8e Merge pull request #36800 from rotdrop/feature/dav-macos-quirks
apps/dav: add some OSX specific quirks.
2023-03-13 11:46:19 +01:00
Joas Schilling c7400fa4d5 fix(CI): Add unit test for nextcloud/server#37167
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-13 11:41:36 +01:00
Joas Schilling c3c3dcbcd9 fix(user_status): Fix the user status automation on the day availability rules are adjusted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-13 11:41:36 +01:00
Anna 44f452d5cb Merge pull request #37167 from nextcloud/dav/fix/availability
fix(dav): Handle no next potential toggle in availability detection
2023-03-13 11:36:38 +01:00
Julius Härtl f00f4244d4 fix: Check return type on rollback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-13 10:59:33 +01:00
Robin Appelman 62e6a32899 don't re-get fileinfo for versioned file if it's not shared
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-03-13 10:52:37 +01:00
Julius Härtl c22d51c1ad tests(files_versions): Tear down fs to clear mount cache before testing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-13 10:52:37 +01:00
Julius Härtl cf46bd6915 fix: Make sure that rollback hook is triggered on all version backends
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-13 10:52:35 +01:00
Ember 'n0emis' Keske 6881d2f2f1 Don't try to hash a nonexisting password
Allows to log-in via a passwordless authentication provider, eg SSO

Signed-off-by: Ember 'n0emis' Keske <git@n0emis.eu>
2023-03-13 10:32:53 +01:00
Nextcloud bot ade49e0b15 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-13 02:28:47 +00:00
Nextcloud bot dda79b583d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-12 02:27:43 +00:00
Nicolas Guichard 7aae6c12e5 Fix Cache-Control header of non-versioned assets
Non-cache-busted assets such as /dist/core-main.js also matched the
regex meant for cache-busted assets (note the ? at the end of the
regex).
The FilesMatch directive for cache-busted assets coming after the
non-cache-busted version all assets actually got the immutable flag
in their Cache-Control header. This caused client-side errors on
updates.

Query strings are not actually passed to FilesMatch directives so we
need another way to tell cache-busted/versionned assets apart from
non-versioned assets, here using If/Else directives.

Signed-off-by: Nicolas Guichard <nicolas@guichard.eu>
2023-03-11 18:17:53 +01:00
dependabot[bot] 9137908b2c Merge pull request #37183 from nextcloud/dependabot/npm_and_yarn/babel-jest-29.5.0 2023-03-11 08:22:42 +00:00
dependabot[bot] c444a8f56a bump babel-jest from 29.0.3 to 29.5.0
---
updated-dependencies:
- dependency-name: babel-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 04:51:33 +00:00
Nextcloud bot fd22f2be3d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-11 02:27:58 +00:00
Daniel Kesselberg 39c1b6f49f chore(tests): add tests for handleLoginFailed
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-03-10 18:04:39 +01:00
Daniel Kesselberg f751d2d891 chore: use local variable for remote address
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-03-10 18:04:34 +01:00
Thomas Citharel 5c5de0bac1 fix(dav): Handle no next potential toggle in availability detection
Fixes:  min(): Array must contain at least one element at /var/www/nc/nextcloud/apps/dav/lib/BackgroundJob/UserStatusAutomation.php#142
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-10 12:18:13 +01:00
Nextcloud bot 16b68fdb34 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-10 02:27:15 +00:00
Simon L 11f46fc219 Merge pull request #37145 from nextcloud/enh/noid/add-link-to-app-tokens
add a direct link from files settings to app-token-settings
2023-03-09 19:19:04 +01:00
Louis Chemineau 97b56da75e Use native tooltip for versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-09 17:38:51 +01:00
Louis Chemineau 45c8a829c0 Add underline decoration to links and use div element as target
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-09 15:17:18 +01:00
Arthur Schiwon 315510df84 Merge pull request #27034 from nextcloud/enh/s3-multipart-upload-api
Use MultipartUpload for uploading chunks to s3
2023-03-09 13:55:57 +01:00
Simon L 0ced170567 increase imaginary timeouts as for big files the processing could take very long
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-09 13:15:35 +01:00
Simon L e6a81a692a add a direct link from files settings to app-token-settings
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-09 11:26:09 +00:00
Simon L 691aa8d025 Merge pull request #37140 from nextcloud/enh/35643/fix-heic-previews
imaginary - fix autorotate for heic and improve the logic
2023-03-09 10:25:54 +01:00
Simon L 6b09bdbe7c Merge pull request #37126 from nextcloud/enh/37125/fix-white-scrollbar-corner
fix white scrollbar corner in dark mode
2023-03-09 10:25:29 +01:00
Simon L 694f743829 Merge pull request #37070 from nextcloud/enh/noid/add-free-disk-space-check
add a check for disk_free_space in Config.php
2023-03-09 10:24:20 +01:00
Simon L 3dbe108568 Merge pull request #37116 from nextcloud/enh/37114/add-quotes
postgresql installation - add quotes around user names
2023-03-09 10:22:35 +01:00
Arthur Schiwon 61aa0978ae Merge pull request #36609 from nextcloud/lazyuserfolder-mountpoint
optimize LazyUserFolder::getMountPoint
2023-03-09 09:46:34 +01:00
Nextcloud bot d7aa58eab5 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-09 02:29:13 +00:00
Simon L b39329c21c imaginary - fix autorotate and improve the logic
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-09 00:11:37 +01:00
Simon L 46a441a448 Merge pull request #37124 from ColmenaDev/master
Added .weba mime type mapping.
2023-03-08 22:09:21 +01:00
MichaIng 2cccba1676 Merge pull request #37117 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-03-08 21:14:16 +01:00
Joas Schilling f60e1f751d Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 20:47:46 +01:00
Julius Härtl d2a0571675 tests(integration): Fix catching error only on object store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 20:23:29 +01:00
Julius Härtl 127af09c08 Merge pull request #37139 from nextcloud/share-type-sciencemesh 2023-03-08 18:30:16 +01:00
Louis Chemineau 517b2ebac5 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-08 16:51:37 +01:00
Michiel de Jong c0e84cb512 Add SHARE_TYPE_SCIENCEMESH
Signed-off-by: Michiel de Jong <michiel@unhosted.org>
2023-03-08 16:46:55 +01:00
Simon L 945bbcb1a4 fix white scrollbar corner in dark mode
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-08 13:30:04 +00:00
Julius Härtl 237dcda8fd chore: Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 14:04:31 +01:00
Julius Härtl cb30c81010 chore(psalm): Make psalm aware of sabre/uri
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 14:00:04 +01:00
Julius Härtl e23aa8883e feat(s3): Use multipart upload for chunked uploading
This allows to stream file chunks directly to S3 during upload.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 14:00:04 +01:00
Rafael Diniz ffa7b37d50 Added .weba mime type mapping. 2023-03-08 15:13:15 +03:00
Joas Schilling 0f7146c652 Move encrypt-all password email to EmailTemplate
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 12:15:18 +01:00
Joas Schilling 2b49861679 Add a debug message when throttling without defining
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 12:09:22 +01:00
Joas Schilling e839eb9b5c feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute and allow multiple
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 12:09:22 +01:00
Joas Schilling 80e12cf726 Merge pull request #37121 from nextcloud/bugfix/noid/fix-deprecation-url
fix(docs): Fix URL to docs of deprecated function humanFileSize
2023-03-08 11:44:22 +01:00
Joas Schilling d696687ed6 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 10:25:26 +01:00
Joas Schilling 188e486bc0 fix(docs): Fix URL to docs of deprecated function humanFileSize
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 10:23:22 +01:00
Louis 88b03d69ce Merge pull request #37060 from nextcloud/fix/versions-webroot-url
Fix download URL for versions
2023-03-08 10:20:43 +01:00
Joas Schilling 11a0cb7f22 Merge pull request #32038 from nextcloud/bugfix/noid/only-update-indexes-after-changing-all-mounts
Add transaction around mass mounts operations
2023-03-08 08:52:54 +01:00
Julia Kirschenheuter f1abecdf47 Merge pull request #36640 from nextcloud/fix/35626-No_heading_nor_tab_index_for_settings_pages
Create headings for apps, users, settings pages
2023-03-08 08:08:25 +01:00
nextcloud-command ec33647947 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-03-08 04:29:08 +00:00
Nextcloud bot 5ce7336a1b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-08 02:28:45 +00:00
Simon L 40edac18f5 postgresql - add quotes around user names
fix https://github.com/nextcloud/server/issues/37114

Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-08 01:03:27 +01:00
dependabot[bot] 1f9a8225fd Merge pull request #36901 from nextcloud/dependabot/npm_and_yarn/babel/node-7.20.7 2023-03-07 21:42:55 +00:00
dependabot[bot] 75ba475a5c chore(deps-dev): Bump @babel/node from 7.20.0 to 7.20.7
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.20.0 to 7.20.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.20.7/packages/babel-node)

---
updated-dependencies:
- dependency-name: "@babel/node"
  dependency-type: direct:development
  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>
2023-03-07 21:07:33 +00:00
Joas Schilling 6b0cef6b9a Add transaction around mass mounts operations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-07 19:58:55 +00:00
julia.kirschenheuter 0cfbe54a5a Create headings for settings pages
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-07 17:51:19 +01:00
Git'Fellow 28231ae515 Add function_exists() check
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-07 17:09:24 +01:00
Claus-Justus Heine 64e9dcc9c3 apps/dav: add some OSX specific quirks.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-03-07 16:23:30 +01:00
Christopher Ng 72e2cabf40 Fix download URL for versions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-07 10:14:33 +00:00
Simon L e87d968c24 add a check for disk_free_space in Config.php
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-07 09:43:14 +00:00
Simon L 55db978090 Merge pull request #37069 from nextcloud/bugfix/noid/fix-acceptance-test-selector-after-vue-lib-update
fix(CI): Fix acceptance test password field selector after @nextcloud…
2023-03-07 10:24:18 +01:00
Joas Schilling 1e026a98af Merge pull request #37026 from nextcloud/fix/route-logs
fix: Avoid log spam on 404 routes not using GET
2023-03-07 10:24:03 +01:00
Maxence Lange e1b91fecf1 Merge pull request #36883 from nextcloud/fix/noid/gs-saml-pre-login-event
dispatch BeforeUserLoggedInEvent
2023-03-07 08:01:18 -01:00
Joas Schilling b4f51fe728 fix(CI): Fix acceptance test password field selector after @nextcloud/vue lib update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-07 09:34:47 +01:00
Julius Härtl 9e73412e3f Merge pull request #34835 from nextcloud/tests/integration-s3 2023-03-07 07:20:38 +01:00
Nextcloud bot cddfb01d99 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-07 02:26:34 +00:00
Pytal 24d4fa9d2e Merge pull request #36772 from nextcloud/enh/a11y-ocdialog-close
Add label and switch ocdialog close button to button element
2023-03-06 16:37:39 -08:00
Git'Fellow 9ac065fb92 Fix free space problems
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-07 00:13:57 +01:00
Julius Härtl d515da502f fix: Use proper path for quota fetching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-06 22:46:07 +00:00
Julius Härtl 3287eddbbc fix: Recalculate storage statistics on updating the quota
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-06 22:46:07 +00:00
Julius Härtl b59cf4c1d4 Run webdav related integration tests on github actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-06 22:46:07 +00:00
Christopher Ng 864fb3fe63 Add label and switch ocdialog close button to button element
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-06 12:56:12 -08:00
Joas Schilling 394ad988c7 Merge pull request #36904 from nextcloud/bugfix/noid/fix-controller-setup-for-guests
fix(files): Fix controller setup for guests
2023-03-06 14:20:25 +01:00
Joas Schilling eddc6f2103 Merge pull request #35872 from nextcloud/feature/noid/psr-clock-interface
feat(appframework):  Make ITimeFactory extend \PSR\Clock\ClockInterface
2023-03-06 09:49:18 +01:00
Nextcloud bot 7df188b200 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-06 02:27:01 +00:00
Joas Schilling e5ee2ec441 Merge pull request #37040 from nextcloud/techdebt/noid/remove-deprecated-classes
techdebt(workflowengine): Remove transition event classes
2023-03-05 16:54:47 +01:00
Nextcloud bot 9e58e7b677 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-05 02:27:50 +00:00
Simon L b8390db624 Merge pull request #37048 from nextcloud/enh/noid/improve-update-wording
update wording for disabled web updater
2023-03-04 18:48:25 +01:00
Simon L f8bb8dc3a0 update wording for disabled web updater
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-04 16:24:46 +01:00
Nextcloud bot a5370fc71e Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-04 02:27:21 +00:00
Pytal 6c79621745 Merge pull request #36740 from nextcloud/enh/a11y-contact-img-alt
Add avatar contact img description
2023-03-03 14:29:52 -08:00
Christopher Ng 9d904b144b Add avatar contact img description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-03 13:22:14 -08:00
Joas Schilling c297f8ee96 feat(appframework): Make ITimeFactory extend \PSR\Clock\ClockInterface
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 15:37:13 +01:00
Joas Schilling 5bc86dd6ac techdebt(workflowengine): Remove transition event classes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 15:33:17 +01:00
John Molakvoæ c5da4b8737 Merge pull request #36736 from Glandos/patch-2 2023-03-03 13:35:06 +01:00
John Molakvoæ d5a16d8d92 Merge pull request #37028 from nextcloud/design/distraction-free-backgrounds
Add distraction free backgrounds for Nextcloud 26
2023-03-03 13:18:39 +01:00
Joas Schilling de64c96a67 Merge pull request #36941 from nextcloud/bugfix/prevent-error-with-oracle-database
Split the comments ids by chunks
2023-03-03 12:37:15 +01:00
blizzz 26e3d5111f Merge pull request #37023 from nextcloud/master-is-now-27
Master is now 27
2023-03-03 11:17:39 +01:00
Jan C. Borchardt 8c9a9195b9 Add distraction free backgrounds for Nextcloud 26
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2023-03-03 17:55:19 +09:00
Julius Härtl bbc6eee803 fix: Avoid log spam on 404 routes not using GET
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-03 09:40:43 +01:00
Julius Härtl 26696c4deb Merge pull request #37021 from nextcloud/enh/notes-recommended
feat: Add notes as recommended app
2023-03-03 09:26:16 +01:00
Joas Schilling 7fdd238f9e chore(CI): Make it easier to find the right place in the future
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:55:50 +01:00
Joas Schilling ae915cff05 chore(CI): Backport the CA Cert update to stable26
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:55:16 +01:00
Joas Schilling d21db216f7 chore(release): Bump requirements and versions in apps/
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:44:27 +01:00
Joas Schilling 87f103dc6c chore(release): Bump Major version in master branch to 27
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:37:29 +01:00
Joas Schilling a4f0a531ca chore(security): Bump "Expires" of well-known/security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:36:41 +01:00
Joas Schilling 97e84f860b chore(CI): Add stable26 to dependabot config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:36:02 +01:00
Nextcloud bot bc94fab8ee Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-03 02:26:33 +00:00
Julius Härtl 322dbe8860 feat: Add notes as recommended app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-02 23:04:43 +00:00
Julius Härtl c76be65014 Merge pull request #33755 from nextcloud/enh/reference-file
File widget for references
2023-03-02 22:15:15 +01:00
Julius Härtl 38e4f8ae61 chore: Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-02 21:07:43 +01:00
Julius Härtl 1da4fe48cf feat(filepicker): Allow to pass target for rendering the file picker to different locations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-02 21:01:44 +01:00
Julius Härtl 6130f1a78e Implement file reference wiget
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-02 21:01:44 +01:00
John Molakvoæ b6d8fc97af Merge pull request #36884 from nextcloud/ci/update/update-psalm-baseline 2023-03-02 19:34:36 +01:00
Simon L a5191ceec0 Merge pull request #36847 from nextcloud/enh/noid/fix-right-click-images
fix right-click img tags
2023-03-02 17:24:36 +01:00
Simon L 0df20f6ebe Merge pull request #36173 from nextcloud/enh/openssl-seal-custom
Use a PHP implementation of openssl_seal that allows to use modern ciphers
2023-03-02 17:15:45 +01:00
Robin Appelman 3a9597fd1b also unmark deleted ldap user when checking the ldap entry
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-03-02 16:22:17 +01:00
blizzz 6466c8ee31 Merge pull request #37002 from nextcloud/release/26.0.0_rc1
26.0.0 RC1
2023-03-02 16:03:38 +01:00
blizzz aefea16d3a Merge pull request #37005 from nextcloud/deps/nextcloud/vue-7.8.0
Bump @nextcloud/vue from 7.7.0 to 7.8.0
2023-03-02 16:02:10 +01:00
Arthur Schiwon 9052070261 Bump @nextcloud/vue from 7.7.0 to 7.8.0
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-02 13:20:41 +00:00
John Molakvoæ aa378a7eef Merge pull request #36999 from nextcloud/fix/UnifiedSearch
Various unified search fixes
2023-03-02 13:37:16 +01:00
Richard Steinmetz 7a020b1d1a Merge pull request #36935 from nextcloud/fix/noid/imip-plugin-null-hardening
fix(caldav): harden null handling of iMip scheduling method
2023-03-02 12:28:17 +01:00
blizzz 289fadfd50 Merge pull request #36803 from nextcloud/fix/sqlite-comments
[db]: Remove not supported column comments for SQLite
2023-03-02 12:10:19 +01:00
blizzz e08fa78224 Merge pull request #36594 from nextcloud/fix-handling-of-invitations
fix(caldav): Correctly handle calendar recreation for invitations when the current calendar is in the trashbin
2023-03-02 11:54:51 +01:00
Arthur Schiwon b9ed7eda41 26.0.0 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-02 11:07:46 +01:00
Richard Steinmetz a35b960c7a fix(caldav): harden null handling of iMip scheduling method
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-03-02 09:42:10 +00:00
Simon L 2715f40e30 fix right-click img tags
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-02 08:58:49 +00:00
John Molakvoæ 2f64d16afd Merge pull request #36998 from nextcloud/fix/share-select-viewer 2023-03-02 09:31:39 +01:00
John Molakvoæ 772b452703 chore(npm): build
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:34:05 +01:00
John Molakvoæ 0a4bd6db20 fix(unified-search): emptycontent messages
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:34:04 +01:00
John Molakvoæ f26961d74a fix(unified-search): fix code highlighting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:21:56 +01:00
John Molakvoæ 47c64dadf4 fix(unified-search): remove conflicting trigger color
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:21:56 +01:00
John Molakvoæ e6aca968b2 Merge pull request #36931 from nextcloud/fix/theming-background
fix(theming): select "no-background" option and fix layout order
2023-03-02 07:50:45 +01:00
John Molakvoæ 162cc3c8ea fix(theming): select "no-background" option and fix layout order
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 07:22:27 +01:00
Nextcloud bot 7d4cb9a13d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-02 02:29:44 +00:00
Christopher Ng 0c69619d91 Fix share select dropdown not opening when viewer is open
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-01 17:18:39 -08:00
MichaIng 2564d7f4d1 Merge pull request #36902 from nextcloud/dependabot/npm_and_yarn/autosize-6.0.1
chore(deps): Bump autosize from 5.0.1 to 6.0.1
2023-03-02 00:48:33 +01:00
dependabot[bot] be7001de99 chore(deps): Bump autosize from 5.0.1 to 6.0.1
Bumps [autosize](https://github.com/jackmoore/autosize) from 5.0.1 to 6.0.1.
- [Release notes](https://github.com/jackmoore/autosize/releases)
- [Changelog](https://github.com/jackmoore/autosize/blob/master/changelog.md)
- [Commits](https://github.com/jackmoore/autosize/compare/5.0.1...6.0.1)

---
updated-dependencies:
- dependency-name: autosize
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-02 00:08:44 +01:00
blizzz 86c102ed99 Merge pull request #36785 from nextcloud/bug/bring-back-auth-checkbox
Add back authentication checkbox for mailer settings
2023-03-01 21:35:08 +01:00
Maxence Lange 980e8e24f0 dispatch BeforeUserLoggedInEvent
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-01 15:31:31 -01:00
Vitor Mattos e9295f739e Split the comments ids by chunks
Split the comments ids by chunks to prevent error with Oracle database
that can't do a query with more than 1000 parameters.

https://github.com/nextcloud/spreed/issues/8287

Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-01 13:08:17 -03:00
Julius Härtl 991aca154c Merge pull request #36936 from nextcloud/fix/treat-text-session-params-as-sensitive
fix: treat text app session parameters as sensitive values
2023-03-01 14:28:41 +01:00
Max 95a674e238 fix: treat text app session parameters as sensitive values
* `PublicSessionController create` receives a share token.
* The others receive the parameters for a text session:
  `document_id`, `session_id`, `session_token`.
  Even though these are relatively short lived
  they could be used to retrieve content from the document when leaked.

Signed-off-by: Max <max@nextcloud.com>
2023-03-01 13:03:47 +01:00
Julius Härtl 416efc12d6 Merge pull request #36890 from nextcloud/bugfix/noid/translation-api-annotation
fix(translation): Allow regular users to use translation api endpoints
2023-03-01 11:46:30 +01:00
Julia Kirschenheuter 7145d8a892 Merge pull request #36843 from nextcloud/enh/a11y-user-status-clear-select
Port clear user status select
2023-03-01 10:02:20 +01:00
John Molakvoæ 0b966ab200 Merge pull request #36471 from nextcloud/fix/theming-keep-images 2023-03-01 09:54:49 +01:00
John Molakvoæ d213105f70 Merge pull request #36930 from nextcloud/fix/logoheader 2023-03-01 09:10:55 +01:00
John Molakvoæ ba6e17b583 fix(theming): logo missing on login page
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-01 08:29:50 +01:00
Nextcloud bot 8657c93a97 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-01 02:28:10 +00:00
Christopher Ng 86ddc3f3bb Port clear user status select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-28 17:19:06 -08:00
Pytal b92e28e6e6 Merge pull request #36650 from nextcloud/enh/a11y-admin-delegation-select 2023-02-28 17:12:46 -08:00
Christopher Ng db5d5c1705 Port admin delegation selects
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-28 16:08:11 -08:00
Richard Steinmetz 7c477d4028 Merge pull request #36898 from nextcloud/fix/36897/recipient-name-string
fix(caldav): convert iMip recipient name to a string
2023-02-28 19:10:17 +01:00
Andy Scherzinger eac542d7e0 Merge pull request #36855 from nextcloud/fix/bread-padding
Fix files breadcrumb spacing
2023-02-28 16:23:09 +01:00
Joas Schilling c02080fccb fix(files): Fix controller setup for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-28 15:34:11 +01:00
Richard Steinmetz 2c0d89e56a fix(caldav): convert iMip recipient name to a string
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-02-28 15:20:58 +01:00
John Molakvoæ deffe76d61 Fix files breadcrumb spacing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-02-28 14:55:24 +01:00
Andy Scherzinger c440f00219 Merge pull request #36881 from nextcloud/fix/noid/bump-hub-number
bump the hub number
2023-02-28 13:42:59 +01:00
Ilya Apasov 3a11f91dee Update Checker.php
Signed-off-by: Ilya Apasov <apasov@users.noreply.github.com>
2023-02-28 13:39:02 +02:00
Julia Kirschenheuter 28e35bad0d Merge pull request #36358 from nextcloud/fix/36357-Adapt_tooltips_on_NcAvatar_for_files_sharing
Adapt native tooltip for new structure of NcAvatar
2023-02-28 11:19:40 +01:00
Ferdinand Thiessen 1785a80754 tests(db): Add test case to ensure column comments work
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-28 10:39:13 +01:00
Julius Härtl a0ecc37d03 fix(translation): Allow regular users to use translation api endpoints
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-28 09:29:57 +01:00
Arthur Schiwon a13c9639ba up the hub
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-02-28 09:03:28 +01:00
Robin Windey a3ab0ce5d5 Merge pull request #36866 from nextcloud/fix#35645
Convert tag id to number (closing #35645)
2023-02-28 09:03:24 +01:00
Pytal 599964d01b Merge pull request #36842 from nextcloud/remove-extraneous-node-modules 2023-02-27 22:50:08 -08:00
Nextcloud bot 0127ef4f10 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-28 02:27:47 +00:00
MichaIng f74b75630e [CI] Update update-psalm-baseline workflow to solve warnings
This updates the PR action to v4, which solves warnings about deprecated Node.js 12 actions set-output commmand calls.

Signed-off-by: MichaIng <micha@dietpi.com>
2023-02-28 00:51:58 +01:00
dependabot[bot] 3c09990c63 Merge pull request #36418 from nextcloud/dependabot/composer/build/integration/symfony/event-dispatcher-5.4.19 2023-02-27 23:46:46 +00:00
dependabot[bot] 0065830e1b chore(deps-dev): Bump symfony/event-dispatcher in /build/integration
Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) from 5.4.9 to 5.4.19.
- [Release notes](https://github.com/symfony/event-dispatcher/releases)
- [Changelog](https://github.com/symfony/event-dispatcher/blob/6.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/event-dispatcher/compare/v5.4.9...v5.4.19)

---
updated-dependencies:
- dependency-name: symfony/event-dispatcher
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 23:07:33 +00:00
Julius Härtl 6cfd53a78e Merge pull request #36584 from nextcloud/enh/translation-api 2023-02-27 19:45:17 +01:00
dependabot[bot] 14685ef9a0 Merge pull request #36878 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.4 2023-02-27 16:07:34 +00:00
Julius Härtl 3e63298381 feat(translations): Add translation provider API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-27 16:52:03 +01:00
MichaIng 0d67fc23f4 Merge pull request #36634 from nextcloud/fix/client-login-flow/state-token-missing-response
fix(client-login-flow): Use correct response for missing state token
2023-02-27 16:34:07 +01:00
julia.kirschenheuter 76999d1626 Adapt native tooltip for new structure of NcAvatar
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-02-27 15:41:35 +01:00
dependabot[bot] da061aa0e1 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.28 to 9.6.4.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.28...9.6.4)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 14:36:41 +00:00
Robin Windey dd89c4d41d Convert tag ids to number
Fix for #35645

Signed-off-by: GitHub <noreply@github.com>
2023-02-27 12:09:04 +00:00
Joas Schilling 70a68e88f5 Merge pull request #36837 from nextcloud/fix/truncate-overlong-tagnames
fix(SystemTagManager): Truncate overlong tag names
2023-02-27 11:49:50 +01:00
Akhil e823718383 Remove reminder if max instances exceeded
Signed-off-by: Akhil <akhil@e.email>
2023-02-27 15:56:39 +05:30
Akhil Potukuchi e354e9266e Update apps/dav/lib/CalDAV/Reminder/ReminderService.php
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Akhil Potukuchi <akhil.potukuchi@gmail.com>
2023-02-27 12:55:48 +05:30
Nextcloud bot 15f660fa5f Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-27 02:26:11 +00:00
Joas Schilling ff2c397c23 Merge pull request #36862 from nextcloud/bugfix/typo
Fix typo that added a letter to migration template
2023-02-26 22:22:33 +01:00
Akhil 9f9da964f6 Fix max instances exception for get vevent call
Signed-off-by: Akhil <akhil@e.email>
2023-02-26 21:27:37 +05:30
Nextcloud bot 2a4926f5e7 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-26 02:27:27 +00:00
Vitor Mattos fd4c53f311 Fix typo that added a letter to migration template
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-25 12:48:22 -03:00
Nextcloud bot 61679b4fdb Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-25 02:26:03 +00:00
Pytal 16d7973f7d Merge pull request #36741 from nextcloud/enh/a11y-filepicker-home-crumb 2023-02-24 12:28:57 -08:00
Christopher Ng 0a9ce1ff34 Add name for home breadcrumb in filepicker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-24 10:31:06 -08:00
Joas Schilling 9650685351 Merge pull request #36754 from nextcloud/bugfix/noid/fix-broken-tag-search-in-workflow-checks
Fix broken search for tags in workflow checks
2023-02-24 17:20:40 +01:00
Joas Schilling fbbdc64167 Merge pull request #36781 from nextcloud/bugfix/noid/run-repairsteps-against-oracle
fix(CI): Run repair steps against Oracle DB
2023-02-24 15:09:07 +01:00
Marcel Klehr 4f7d77406d Fix SystemTagManagerTest#createTag test
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-02-24 14:40:33 +01:00
Marcel Klehr 889caf4632 Update tests/lib/SystemTag/SystemTagManagerTest.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-02-24 14:22:41 +01:00
Marcel Klehr 8151b1b8b0 fix(SystemTagManager): Truncate overlong tag names
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-02-24 12:55:10 +01:00
Joas Schilling 1f8aeefdeb chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-24 10:26:00 +01:00
Joas Schilling 5c432ffffa Fix broken search for tags in workflow checks
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-24 10:19:27 +01:00
Joas Schilling 4908d87c24 Merge pull request #36486 from nextcloud/bugfix/12475/dont-warn-about-missing-appstore-updates-for-git-apps
fix(updater): Don't warn about missing appstore updates for apps depl…
2023-02-24 10:16:16 +01:00
John Molakvoæ 29539f5436 Merge pull request #36834 from nextcloud/release/26.0.0_beta_5
26.0.0 beta 5
2023-02-24 08:28:13 +01:00
Nextcloud bot b7bf29fd8c Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-24 02:34:40 +00:00
Pytal a47b28f986 Merge pull request #36771 from nextcloud/enh/a11y-search-result-border 2023-02-23 18:08:59 -08:00
Christopher Ng e77b0f6693 Add focus border for search results
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-23 17:21:04 -08:00
Christopher Ng 2d4cb2aeab Remove extraneous Node.js core module dependencies
- buffer and stream-browserify are already provided by node-polyfill-webpack-plugin

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-23 17:02:30 -08:00
Pytal abaf6cd3a4 Merge pull request #36813 from nextcloud/deps/nextcloud/vue-7.7.0 2023-02-23 12:56:23 -08:00
Christopher Ng 12571079fc Bump @nextcloud/vue from 7.5.0 to 7.7.0
- Add node-polyfill-webpack-plugin to polyfill Node.js core modules

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-23 11:56:13 -08:00
Joas Schilling f32804e97d First run unit tests so they don't fail
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 16:58:15 +01:00
Joas Schilling 373e6325b7 Fix appconfig compatibility with Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 16:57:54 +01:00
Joas Schilling 6fb0da7e4f fix(Repair): Fix repair step compatibility with Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 16:57:54 +01:00
Joas Schilling c8c4dd637f fix(OCC): Don't throw in the repair step for phone validation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 16:57:53 +01:00
Joas Schilling e0251ea24e Fail the repair command when an error happened
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 16:57:52 +01:00
Joas Schilling b0e2a296ff fix(CI): Run repair steps against Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 16:57:52 +01:00
John Molakvoæ 45b4db0e6c 26.0.0 beta 5
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-02-23 14:23:02 +01:00
Julius Härtl 00a7478d8d Merge pull request #36807 from nextcloud/fix/noid/missing-cached-reference-image-mimetype
Avoid getting null mimetype when getting reference preview
2023-02-23 11:04:09 +01:00
John Molakvoæ 5b86ebd237 Merge pull request #36814 from nextcloud/bugfix/noid/validate-scope-when-validating-operation 2023-02-23 07:34:56 +01:00
Joas Schilling 15fc42966c Also check the scope when reading operations from the database
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 06:13:00 +01:00
Joas Schilling c6700150d5 Validate the scope when validating operations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23 06:13:00 +01:00
Nextcloud bot 1d211a4b89 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-23 02:29:14 +00:00
Ferdinand Thiessen a3595f73ac fix(OC/Template): Allow .mjs files within custom app paths
If apps are installed in non standard app paths, we need
to check `$app_path/$script` instead of only doing so for translations.
Without this it would fallback to `.js` extension even if a `.mjs` file exists.

Also tried make the code more selfe explaining.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-22 21:19:37 +01:00
Ferdinand Thiessen b642137c65 feat(OC/Template): Add type="module" for ES6 scripts
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-22 21:19:37 +01:00
Ferdinand Thiessen 00e041b907 feat(template): Allow JSResourceLocator to find ES6 scripts
Enable module js (ES6) support on the `JSResourceLocator`.
This changes `JSResourceLocator` to look for `.mjs` files first
to allow applications to provide a fallback `.js` for older Nextcloud versions.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-22 21:19:37 +01:00
Ferdinand Thiessen dbb1fa1273 fix(OC/Template): Remove usage of deprecated functions in JSResourceLocator
Move from `\OC_App::getAppPath` to `IAppManager::getAppPath`.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-22 21:19:37 +01:00
Robin Appelman fb1095f0f6 do onetime user setup before getting any mount from providers
this fixes a race condition where wrappers weren't properly applied if when a mount provider creates the storage instance one mountpoint creation instead of lazily

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-22 18:03:38 +01:00
Julien Veyssier 01cefbd6d6 [reference preview] fix getting null mimetype if the cached reference lacks an image content type
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-02-22 12:39:26 +01:00
Anna Larch f0ffa91b12 Add back authentication checkbox for mailer settings
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-02-22 09:46:41 +01:00
Nextcloud bot 710c593d53 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-22 02:26:32 +00:00
Ferdinand Thiessen a9af58fd1a fix(DB): Remove not supported column comments when using SQLite
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-22 01:07:26 +01:00
max-nextcloud 926f795df1 Merge pull request #36799 from nextcloud/ci/autoloader-update
fix: Update autoloader after #36792
2023-02-21 22:19:55 +01:00
Julius Härtl d85d40599b fix: Update autoloader after #36792
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-21 21:13:05 +01:00
Côme Chilliet 18c4761ab0 Merge pull request #36795 from nextcloud/fix/remove-erronous-parentheses-in-in-clause
Avoid extra parenthesis around SQL in IN expressions
2023-02-21 17:37:45 +01:00
Julien Veyssier a7892881a3 Merge pull request #36792 from nextcloud/enh/noid/add-before-group-changed-event
New BeforeGroupChangedEvent before setDisplayName on groups
2023-02-21 17:22:27 +01:00
Robin Appelman 8bc9e23de5 Merge pull request #36428 from nextcloud/disable-db-user-create
add option to disable db user creation trough environment variable
2023-02-21 17:11:12 +01:00
Daniel c6c512a19d Merge pull request #34375 from nextcloud/fix/trashbin-uid
fix(dav) Handle Calendar trashbin UID conflicts by removing the deleted calendar object
2023-02-21 16:32:05 +01:00
Robin Appelman b923310580 add option to disable db user creation trough environment variable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-21 15:13:47 +01:00
Côme Chilliet 74811813e7 Avoid extra parenthesis around SQL in IN expressions
The expression builder already suround the SQL with parenthesis when
 using in(), so we must not add another pair, this confuses at least
 sqlite.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-21 13:37:30 +00:00
Anna Larch ed70815076 Fix calendar emails to be outlook compatible
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-02-21 14:37:11 +01:00
Côme Chilliet f2912ce8bc Set functions as private to be able to refactor later
Also a few comment fixes

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-21 13:36:25 +00:00
Côme Chilliet 71482576ad Move to phpseclib implementation of RC4
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-21 13:36:25 +00:00
Côme Chilliet bd626e3693 Strong type custom openssl_seal implementation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-21 13:36:25 +00:00
Côme Chilliet deed6393fb Always wrap rc4, and throws on unknown cipher
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-21 13:36:25 +00:00
Kevin Niehage 81638436e5 introduce wrapped_openssl_seal() and wrapped_openssl_open() to circument RC4 problems with OpenSSL v3
Signed-off-by: Kevin Niehage <k.niehage@syseleven.de>
2023-02-21 13:36:25 +00:00
Côme Chilliet 5fcb55a2a9 Merge pull request #36793 from nextcloud/revert-36786-automated/noid/master-update-psalm-baseline
Revert "[master] Update psalm-baseline.xml"
2023-02-21 14:24:10 +01:00
Côme Chilliet fc9f1c2b92 Revert "[master] Update psalm-baseline.xml" 2023-02-21 11:43:23 +01:00
Julien Veyssier d9925806eb dispatch new BeforeGroupChangedEvent before setDisplayName on groups
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-02-21 10:42:38 +01:00
Daniel daff01241a Merge pull request #36782 from nextcloud/chore/deps/declare-openssl-dep
chore(deps): Declare ext-openssl as required
2023-02-21 10:26:05 +01:00
Daniel fdd5ea1d1f Merge pull request #36786 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-02-21 10:25:46 +01:00
Louis b2d283ba1f Merge pull request #36748 from nextcloud/artonge/fix/encrypted_shared_folder
Encrypted-shared folders should use the encrypted icon
2023-02-21 10:10:12 +01:00
Anna 13ef475a0a Merge pull request #36788 from nextcloud/revert-36589-enh/perf-remove-icache
Revert "fix(performance): Do not set up filesystem on every call"
2023-02-21 09:21:58 +01:00
Joas Schilling 98ed72b3ed Revert "fix(performance): Do not set up filesystem on every call" 2023-02-21 07:36:43 +01:00
nextcloud-command 0c17c528d1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-02-21 04:39:31 +00:00
Nextcloud bot 93e703bbfc Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-21 02:26:12 +00:00
Julius Härtl 21f9688c70 Merge pull request #36287 from nextcloud/feat/switch-pkg-l10n
Deprecate and cleanup `OC.L10N` in favor of `@nextcloud/l10n`
2023-02-20 18:59:15 +01:00
Côme Chilliet 0186194ae9 Properly test and log when a group is not found
Avoid an error about passing null instead of IGroup to the event
 constructor, instead skip the failed group and log the problem.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-20 17:34:53 +01:00
nextcloud-command bfad19c09d Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-02-20 14:58:18 +00:00
Simon L 3204f97d5e Merge pull request #36759 from sgolovan/master
Fix integer overflow on 32-bit systems when testing free space for wr…
2023-02-20 15:21:37 +01:00
Louis Chemineau c09d4d3313 Encrypted and shared folders should use the encrypted icon
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-20 15:20:32 +01:00
Ferdinand Thiessen c97137e434 fix(jsunit): Modify OC.L10N tests as it does not depend on OC. anymore
Meaning we can not stub `getLocale` but must override the document attribute instead.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 15:03:31 +01:00
Ferdinand Thiessen cdc3848345 Deprecate OC.L10N functions in favor of translation functions from @nextcloud/l10n
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 15:03:21 +01:00
Ferdinand Thiessen 2ca1153ff6 fix(themeing): Add error handling to ImageManager
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 14:57:50 +01:00
Christoph Wurst 04578bc7ed chore(deps): Declare ext-openssl as required
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-20 14:48:06 +01:00
Julius Härtl 7858b8313a Merge pull request #36727 from nextcloud/enh/file-id-direct-editing
feat(directediting): Allow opening by file id
2023-02-20 14:39:35 +01:00
Jonas Heinrich 944efa388a Invitation mail: Change subject if event got updated
Signed-off-by: Jonas Heinrich <heinrich@synyx.de>
2023-02-20 13:53:53 +01:00
Ferdinand Thiessen 61b9ba28e4 Add webp and large jpg test assets
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 13:11:19 +01:00
Ferdinand Thiessen 7e1152603f feat(theming): Only convert a background image if it benefits from it
* WebP images are generally quite small, converting to pngs would increase
  the filesize a lot.
* Small JPEG and PNG images do not benefit from any conversion, so skip it.
* JPEG images will get quite bigger when converted to PNG so instead convert to progressive JPEG

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 13:11:19 +01:00
Ferdinand Thiessen 7e3372cd92 Drop OC.addTranslations deprecated since NC17 and not used by any NC app
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 12:46:30 +01:00
Julius Härtl 95eeba83b6 Merge pull request #36780 from nextcloud/bugfix/noid/console-error-share-auth 2023-02-20 12:36:06 +01:00
Julius Härtl 614981ae9a feat(directediting): Allow opening by file id
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-20 12:16:34 +01:00
Anna 6bb0985e59 Merge pull request #31859 from max65482/fix_group_share
Fix: Birthday calendar issue with shared calendars
2023-02-20 11:27:00 +01:00
Joas Schilling c550acae62 Merge pull request #36653 from nextcloud/bugfix/noid/more-defensive-old-token-handling
fix(authentication): Handle null or empty string password hash
2023-02-20 11:15:37 +01:00
Maximilian Martin 245351fdae assign group share value
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
2023-02-20 10:10:17 +01:00
Sergei Golovan 1cb50c5afa Fix integer overflow on 32-bit systems when testing free space for writing a config file. 2023-02-20 10:05:45 +01:00
Julius Härtl 4cebfa95e6 fix: Fix loading styles from core/css/
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-20 09:28:30 +01:00
Julius Härtl f3d3dfa075 fix: Avoid throwing errors on public auth page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-20 09:17:15 +01:00
Julius Härtl bba3a1ccf0 Merge pull request #36589 from nextcloud/enh/perf-remove-icache 2023-02-20 08:59:22 +01:00
Nextcloud bot ad6eb808c7 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-20 02:26:42 +00:00
Nextcloud bot d01154d363 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-19 02:27:04 +00:00
Nextcloud bot 510e090a0d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-18 02:27:16 +00:00
Julius Härtl 3bdf3322ec fix: Use passed LazyFolder when building sabre nodes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-17 19:21:05 +01:00
Julius Härtl ec356504ea tests: Remove legacy chunking tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-17 19:18:38 +01:00
Julius Härtl 3493099617 tests: Remove legacy checksum test
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-17 19:18:38 +01:00
Julius Härtl 20058eb9de tests: Fix test isolation on object storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-17 19:18:38 +01:00
Anna Larch 5d4efb4d5f Do not set up filesystem on every call
Also remove old Oc_FileChunking logis that produced GC- collectable chunks

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-02-17 19:18:37 +01:00
max-nextcloud d6a3ebc79f Merge pull request #36751 from nextcloud/fix/mobile_breakpoint
Don't regard 1024px width viewport as mobile
2023-02-17 15:46:36 +01:00
Julius Härtl d078380aa3 Merge pull request #35360 from nextcloud/bugfix/noid/direct-editing-revert-scope 2023-02-17 11:08:44 +01:00
Julius Härtl 47bc024885 Revert the token scope to not end up with storing the user used in the session
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-17 10:18:18 +01:00
Julius Härtl 90d2cb09b1 Merge pull request #36396 from nextcloud/fix/cors 2023-02-17 09:42:08 +01:00
Nextcloud bot d33fbbed1d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-17 02:25:58 +00:00
Pytal 58d3835863 Merge pull request #36738 from nextcloud/deps/nextcloud/password-confirmation-4.0.4 2023-02-16 17:46:31 -08:00
Ferdinand Thiessen f655f83c84 fix(CORS): CORS should only be bypassed on PublicPage if not logged in to prevent CSRF attack vectors
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-16 22:55:18 +01:00
Julius Härtl 38ca468502 Merge pull request #36515 from nextcloud/fix/sharees-remove-deck 2023-02-16 21:17:16 +01:00
blizzz a5443ac3f1 Merge pull request #36687 from nextcloud/release/26.0.0_beta_4
26.0.0 beta 4
2023-02-16 14:34:51 +01:00
blizzz fdc64b1ef6 Merge pull request #36556 from nextcloud/artonge/fix/expiring_file_versions_empty_db
Handle empty DB while expiring versions
2023-02-16 14:08:29 +01:00
Louis 98b998a2de Merge pull request #36735 from nextcloud/fix/32635/fix-vcf-contacts
fix the contacts-menu vcf-contact avatars
2023-02-16 14:01:19 +01:00
Jonas c1a82070bd Don't regard 1024px width viewport as mobile
Currently we treat 1024px as mobile in some places (e.g. `isMobile` in
nextcloud-vue) and as not mobile yet in others (e.g. in mobile.css).

This commit changes `mobile.scss` to treat viewports smaller than 1024px
as mobile.

This PR accompanies https://github.com/nextcloud/nextcloud-vue/pull/3768

Both are required to fix
https://github.com/nextcloud/nextcloud-vue/issues/3758.

Signed-off-by: Jonas <jonas@freesources.org>
2023-02-16 12:16:59 +01:00
Simon L bc91dca703 Merge pull request #36689 from nextcloud/fix/x-robots-tag-header
Change X-Robots-Tag header from "none" to "noindex, nofollow"
2023-02-16 11:39:37 +01:00
Simon L b2e3b46c33 Merge pull request #36737 from nextcloud/enh/noid/fix-entries
fix too long entries in contacts-menu
2023-02-16 11:27:13 +01:00
Glandos 3bea7af7b7 fix indent 2
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-02-16 10:10:12 +01:00
Nextcloud bot 5413855d73 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-16 02:25:55 +00:00
Christopher Ng 0ffdd74af8 Bump @nextcloud/password-confirmation from 4.0.3 to 4.0.4
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-15 16:27:06 -08:00
Simon L 2d93864cf5 fix too long entries in contacts-menu
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-02-16 00:26:19 +00:00
Glandos 59e7ed1fad fix indent
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-02-15 23:40:16 +01:00
Glandos 528e66859b Use proc_open to avoid spawning a shell
The use of `exec` will spawn a shell, using `/bin/sh` on POSIX platforms. But in restricted environment, such as AppArmor, this means giving execution to `/bin/sh`, which renders the execution restriction quite useless.
Using an array with `proc_open` reduces this, and paved the way for file streaming instead of temporary file.

Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-02-15 23:37:13 +01:00
Simon L b38d2daede fix the contacts-menu vcf-contact avatars
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-15 23:16:43 +01:00
MichaIng 5f90b8eb11 Change X-Robots-Tag header from "none" to "noindex, nofollow"
While "none" is indeed equivalent to "noindex, nofollow" for Google, but seems to be not supported by Bing and probably other search engines.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#other_metadata_names
https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag?hl=de#comma-separated-list
https://www.bing.com/webmasters/help/which-robots-metatags-does-bing-support-5198d240

Signed-off-by: MichaIng <micha@dietpi.com>
2023-02-15 20:16:51 +01:00
MichaIng b36a31c918 Merge pull request #35365 from nextcloud/enh/check-opcache-file_cache_only
Check for opcache.file_cache_only=1
2023-02-15 19:40:37 +01:00
Christoph Wurst 364e7693b9 Merge pull request #36639 from nextcloud/userbackend-local-cache
also cache backend for user in memory instead of always going to redis
2023-02-15 19:33:29 +01:00
Christoph Wurst a2422c937a Merge pull request #36698 from nextcloud/db-profile-start-time
log start time of queries for profiler
2023-02-15 19:29:56 +01:00
MichaIng 7e725c5d94 Check for opcache.file_cache_only=1
which disables shared memory based OPcache with disk file cache used only, if enabled. In this case, "opcache.memory_consumption" and others do not apply, so show the correct performance recommendation to enable memory cache.

Signed-off-by: MichaIng <micha@dietpi.com>
2023-02-15 18:55:50 +01:00
Simon L 228911cbcd Merge pull request #36691 from nextcloud/fix/25175/fix-config-truncating
add a disk_free_space check before writing config
2023-02-15 18:25:37 +01:00
Simon L a747be3544 Merge pull request #36443 from nextcloud/fix/23063/fix-login-log-entry
fix the login log entry
2023-02-15 18:13:59 +01:00
Julius Härtl 63696fe2e3 Merge pull request #36465 from nextcloud/bugfix/trashbin-concurrency 2023-02-15 17:04:37 +01:00
nextcloud-command d662092a5f Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-02-15 12:49:05 +00:00
Simon L 3757b345bc address review by Joas
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-15 13:43:54 +01:00
Nextcloud bot 54954cc374 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-15 02:25:45 +00:00
blizzz e764ee84c9 Merge pull request #36700 from nextcloud/bugfix/noid/bruteforce-protection-not-working
Also copy meta data when converting DataResponse to JSONRe…
2023-02-14 16:56:48 +01:00
Joas Schilling 6f3ce5c319 Also copy bruteforce meta data when converting DataResponse to JSONResponse
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-14 16:00:10 +01:00
Robin Appelman 426b3429f7 log start time of queries for profiler
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-14 15:16:15 +01:00
Robin Appelman c2cc3afd61 Merge pull request #36603 from nextcloud/imagick-cache-formats
cache formats supported by imagick
2023-02-14 13:30:44 +01:00
Julius Härtl a705132c8d Merge pull request #36656 from nextcloud/route-instrumentation 2023-02-14 10:12:19 +01:00
Joas Schilling 39b13e096c Merge pull request #36675 from nextcloud/rakekniven-patch-3
l10n: Fixed grammar
2023-02-14 06:06:19 +01:00
Nextcloud bot e01936efa8 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-14 02:25:52 +00:00
Robin Appelman b911da3e1e DI for Router
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-13 22:51:14 +01:00
Thomas Citharel e60888d988 fix(preview-generator): Throw exception before dividing by zero when generating previews
If the maximum preview generated gives some kind of invalid IImage, it's dimentions and filename can be set to zero.
And then later we do a division by zero to keep the aspect ratio of the previews.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-02-13 16:47:28 +01:00
Simon L 9b6e5c6674 add a disk_free_space check before writing config
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-13 16:26:19 +01:00
Robin Appelman d6818ba894 optimize LazyUserFolder::getMountPoint
no need to do a full setup

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-13 15:13:50 +01:00
Anna Larch 5b6a0affd0 Allow reimporting prev. deleted items by deleting trashbin item
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-02-13 15:00:23 +01:00
Robin Appelman 382432d4e1 cache formats supported by imagick
turns out this can be quite slow

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-13 14:57:06 +01:00
Robin Appelman 936f634069 Merge pull request #36643 from nextcloud/fs-setup-instrimuntion
more filesystem setup performance instrumentation
2023-02-13 14:37:57 +01:00
blizzz e0b2c932c9 Merge pull request #36670 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-02-13 14:36:24 +01:00
Anna c05ae61576 Merge pull request #36674 from nextcloud/rakekniven-patch-2
l10n: Fixed grammar
2023-02-13 14:19:16 +01:00
Arthur Schiwon d201ab4482 26.0.0 beta 4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-02-13 13:04:37 +01:00
Julia Kirschenheuter 9160b3791f Merge pull request #36633 from nextcloud/fix/36632-create_an_accessible_name_for_logo
Create an accessible name for logo on logged in page
2023-02-13 10:32:42 +01:00
Julius Härtl 610a203d31 Merge pull request #36525 from nextcloud/fix/noid/params-put
fix: Only get params from PUT content if possible
2023-02-13 10:25:52 +01:00
Julius Härtl 73495b0fc4 Merge pull request #36646 from nextcloud/perf/files-setupfs 2023-02-13 10:24:59 +01:00
rakekniven f4b7917ca6 l10n: Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-02-13 09:09:53 +00:00
Côme Chilliet 8e1403a180 Merge pull request #36641 from nextcloud/instrument-app-register
Add more profiler instrumentation to app loading
2023-02-13 09:42:51 +01:00
julia.kirschenheuter 2b39261b62 Create an accessible name for logo on logged in page
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-02-13 09:17:24 +01:00
Julius Härtl 8f0849a317 Merge pull request #36568 from nextcloud/perf/flow-events
perf(workflowengine): Cache query that is performed on every request
2023-02-13 08:01:18 +01:00
nextcloud-command 59b0abdcd6 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-02-13 04:13:24 +00:00
Nextcloud bot c3d00095c0 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-13 02:25:07 +00:00
Simon L 5912e8378b Merge pull request #36673 from nextcloud/rakekniven-patch-1
l10n: Fixed grammar
2023-02-12 11:20:58 +01:00
Nextcloud bot 4774637b5f Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-12 02:25:57 +00:00
rakekniven 421df8d456 l10n: Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>


Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-02-11 22:09:26 +01:00
rakekniven 9d10607551 l10n: Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>


Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-02-11 21:54:06 +01:00
Pytal b59b8fd808 Merge pull request #36232 from nextcloud/enh/a11y-user-menu
Port user menu to Vue
2023-02-10 19:22:45 -08:00
Nextcloud bot fd2d91a77d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-11 02:26:15 +00:00
jld3103 b271096495 Fix OCM validation errors
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-02-10 22:56:32 +01:00
jld3103 77f7da9921 Always set displayname and display-name for user data
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-02-10 21:52:54 +01:00
Julius Härtl aebf654214 perf(workflowengine): Cache query that is performed on every request
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-10 14:33:07 +01:00
Robin Appelman 853ec60f3e also cache backend for user in memory instead of always going to redis
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-10 12:25:23 +01:00
Julius Härtl e0946a1608 Merge pull request #36608 from nextcloud/storageinfo-no-explicit-setup 2023-02-10 12:18:39 +01:00
Robin Appelman b68be79464 more routing performance instrumentation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-10 11:12:26 +01:00
Robin Appelman 91d5f6a826 more filesystem setup performance instrumentation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-10 11:11:13 +01:00
Joas Schilling 6417ea0265 fix(authentication): Handle null or empty string password hash
This can happen when the auth.storeCryptedPassword config is used,
which previously errored with:
Hasher::verify(): Argument #2 ($hash) must be of type string, null given

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-10 09:18:50 +01:00
Julius Härtl d9cd8b1d37 Merge pull request #36610 from nextcloud/folder-lazy-submounts 2023-02-10 09:09:08 +01:00
Nextcloud bot 524db1c6dc Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-10 02:26:36 +00:00
Christopher Ng c77998209f Port user menu to Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-09 17:54:59 -08:00
Joas Schilling e47d56ac36 Merge pull request #36621 from nextcloud/perf/noid/only-check-for-token-when-it-can-actually-be
fix(performance): Only search for auth tokens when the provided login…
2023-02-10 01:29:30 +01:00
Julius Härtl 0040d9b9fd perf: No need to setup the full filesystem for getting storage info
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-09 22:58:35 +01:00
Joas Schilling f0b6a6f307 Merge pull request #36637 from nextcloud/fix/noid/file-ref-provider-safer-match 2023-02-09 22:42:58 +01:00
Julius Härtl 6d77a53dfd Merge pull request #36469 from nextcloud/perf/autoloading/files-external-authoritative-autoloader 2023-02-09 20:49:23 +01:00
Christoph Wurst 7aa78680bf Merge pull request #36192 from nextcloud/fix/caldav-reminders/fix-timezone-drift-all-day-reminders
fix(caldav): Fix reminder timezone drift for all-day events
2023-02-09 19:28:42 +01:00
Robin Appelman fe78ef7a38 instrumentation for app booting
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-09 17:41:43 +01:00
Robin Appelman 08e7b20c43 add more performance instrumentation for app registering
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-09 17:41:43 +01:00
Joas Schilling a81d8ecef5 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-09 16:15:47 +01:00
Julius Härtl 674f4e85e1 Merge pull request #36562 from nextcloud/debug/session-hash-slowdown 2023-02-09 16:08:07 +01:00
Christoph Wurst a208cdebe0 perf(autoloading): Add authoritative autoloader for files_external
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-09 15:04:10 +00:00
Christoph Wurst b5f7afd0fb fix(caldav): Fix reminder timezone drift for all-day events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-09 15:19:00 +01:00
Daniel d4a9da0ffd Merge pull request #36625 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-02-09 15:09:59 +01:00
Thomas Citharel 4fd58aa45c fix(caldav): Correctly handle calendar recreation for invitations when the current calendar is in the trashbin
Follow-up to #32361, see https://github.com/nextcloud/calendar/issues/4098 for details

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-02-09 14:43:27 +01:00
Julien Veyssier 4ef2b27a47 safer URL match in FileReferenceProvider
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-02-09 14:33:19 +01:00
Christoph Wurst 024adc14b1 fix(client-login-flow): Use correct response for missing state token
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-09 14:11:28 +01:00
blizzz 2c05c2479e Merge pull request #36629 from nextcloud/release/26.0.0_beta_3
26.0.0 beta 3
2023-02-09 14:06:20 +01:00
Julius Härtl 580feecdbf fix(authtoken): Store only one hash for authtokens with the current password per user
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-09 13:44:00 +01:00
Julius Härtl dd891e7e81 Merge pull request #36626 from nextcloud/perf/dav-auth-setupfs 2023-02-09 13:41:13 +01:00
Côme Chilliet 06f0da6d46 Merge pull request #36590 from nextcloud/enh/load-app-once
Make sure application are only loaded once
2023-02-09 13:09:10 +01:00
Robin Appelman 5bcf37b7ff only fetch the data for mounts inside a folder when needed
for most operations we don't actually care about any mounts inside a folder, only for metadata that needs to propagate across storage boundaries (size, etag, mtime) do we need all the submount info.

By only loading this data when needed we can save a bunch of storage setup in a number of cases

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-09 11:39:00 +01:00
Côme Chilliet d0eeb279b7 Merge pull request #36587 from nextcloud/revert/34906
Revert "update 64-bit check wording"
2023-02-09 11:19:14 +01:00
Arthur Schiwon efe787aa38 26.0.0 beta 3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-02-09 10:32:11 +01:00
Julius Härtl 7b413a41eb perf(dav): Do not call general setupFS on ever dav auth
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-09 10:19:37 +01:00
dependabot[bot] d5c40a66fc Merge pull request #36627 from nextcloud/dependabot/npm_and_yarn/sideway/formula-3.0.1 2023-02-09 09:10:17 +00:00
Joas Schilling 7a85a1596e fix(authentication): Check minimum length when creating app tokens
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-09 09:58:35 +01:00
dependabot[bot] 1ce56815cc chore(deps): Bump @sideway/formula from 3.0.0 to 3.0.1
Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sideway/formula/releases)
- [Commits](https://github.com/sideway/formula/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@sideway/formula"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 08:33:34 +00:00
nextcloud-command 259094897f Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-02-09 04:27:54 +00:00
Nextcloud bot c10317f7f9 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-09 02:25:43 +00:00
Joas Schilling 03a585ab4f fix(performance): Only search for auth tokens when the provided login is long enough
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-08 22:45:23 +01:00
Julius Härtl 08802ad13f Merge pull request #36566 from nextcloud/mount-find-by-numeric-id 2023-02-08 20:04:57 +01:00
Louis Chemineau 21cd3b0e0d Handle empty DB while expiring versions
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual.

Fix https://github.com/nextcloud/server/issues/36541

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-08 13:56:49 +00:00
Robin Appelman 4532e52787 remove explicit setup when getting storage info
the implicit setup gets enough data without having to do a full setup.

Saves having to do a full fs setup for the files webui template

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-08 13:47:55 +01:00
Daniel 7341d339eb Merge pull request #36598 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-02-08 13:01:54 +01:00
Louis 57c974f421 Merge pull request #36583 from nextcloud/artonge/fix/dont_scroll_hover_files-controls
Prevent scrolling hover .files-controls
2023-02-08 12:00:12 +01:00
Louis df664ed073 Merge pull request #36564 from nextcloud/artonge/fix/restore_copy_button_text_on_error
Restore copy button text on directory fetch error
2023-02-08 12:00:05 +01:00
Anna 6236235d23 Merge pull request #36546 from nextcloud/enh/36543/allow-further-previews
imaginary - fix generation of heif, pdf, illustrator and svg thumbnails
2023-02-08 11:18:36 +01:00
Louis Chemineau a547aff7a4 Restore copy button text on directory fetch error
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-08 10:54:17 +01:00
Louis Chemineau 47f406bda7 Prevent scrolling hover .files-controls
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-08 10:51:16 +01:00
Christoph Wurst ee05e01cf4 Merge pull request #29010 from mattian/fix/19218/birthday-leap-day
dav: fix birthday calendar event generation for leap days
2023-02-08 08:55:22 +01:00
nextcloud-command 287f47da9d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-02-08 04:29:11 +00:00
Nextcloud bot 1c7374ac58 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-08 02:25:16 +00:00
Simon L 112d516f27 imaginary - allow to generate heif, pdf and svg thumbnails
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-08 00:25:18 +01:00
Pytal b765a22705 Merge pull request #36570 from nextcloud/enh/a11y-profile-visibility-select
Port profile visibility select
2023-02-07 15:00:18 -08:00
Joas Schilling dcfc96f0cc Merge pull request #36417 from nextcloud/fix/psr-container
Make the container fully fulfill PSR container interface
2023-02-07 20:38:19 +01:00
blizzz 6077003899 Merge pull request #36588 from nextcloud/revert/34908
Revert #34908 to allow 32bit setups to upgrade to 26
2023-02-07 17:50:40 +01:00
Ferdinand Thiessen 3b2d01fe8b Update autoloaders
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-07 17:50:03 +01:00
Côme Chilliet 2a4ab201b7 Make sure application are only loaded once
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 16:06:32 +01:00
Joas Schilling 82498bc50f Merge pull request #36524 from nextcloud/bugfix/36510/fix-uploading-to-public-shares
fix(sharing): Remove casting to int from INF
2023-02-07 15:59:01 +01:00
Robin Appelman 9f3dbb699a fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-07 15:50:10 +01:00
Côme Chilliet e586700982 Revert "disable upgrades to 26 for 32-bit"
This reverts commit faa747e445.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 15:14:15 +01:00
Côme Chilliet d4ed1a13fd Revert "update 64-bit check wording"
This reverts commit f5ad282418.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 15:02:54 +01:00
Joas Schilling 80071bd8b9 fix(sharing): Remove casting to int from INF
Regression from nextcloud/server#35736
INF is a the float INF, casting it to integer will make it 0

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-07 14:13:39 +01:00
Côme Chilliet 4e969ef8a2 Merge pull request #36120 from nextcloud/enh/32bits-support
Fix 32bit support and add workflow for 32bits testing
2023-02-07 14:08:08 +01:00
Côme Chilliet 6e276ad2e1 Show logs on smb-kerberos CI failure
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:36 +01:00
Côme Chilliet 308fcf4526 Respect OCP interface in private classes
Because the parameter type was moved to phpdoc it needs to be removed
 from implementations

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:35 +01:00
Côme Chilliet 09a97ad39c Move back typing to phpdoc to keep backward compatibility in OCP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:35 +01:00
Côme Chilliet c4d90f3e81 Removed catch of ValueError as we cannot know if it’s >2038 or <1970
Also fixed numericToString to correctly convert float to int if it fits

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:35 +01:00
Côme Chilliet 1765908c03 Document that size may be a float in new class VersionEntity
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:34 +01:00
Côme Chilliet 33b52077ff Only run 32bit CI once a day
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:34 +01:00
Côme Chilliet 476d5dceb2 Skip tests that cannot succeed on 32bits
For some reason a timestamp in the past also triggers the PHP error
 about not being able to represent it as an int, so skipping that test
 on 32bits.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:34 +01:00
Côme Chilliet 892e6c642a Skip buggy tests for 32bits CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:33 +01:00
Côme Chilliet 885e54e7e0 Psalm easy fixes in apps/files/appinfo/routes.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:33 +01:00
Côme Chilliet 1994554b44 Fix Sabre connector test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:33 +01:00
Côme Chilliet 028c225d96 Fix psalm errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:32 +01:00
Côme Chilliet db80ac02b0 Fix name of skip method for phpunit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:32 +01:00
Côme Chilliet b7d9e43e25 Put back string in $includeMounts as it actually does something
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:32 +01:00
Côme Chilliet d315bce300 Improve behavior with dates on 32bits and fix tests or skip them
We do not support events after 2038 on 32bits but still behave better
 when date range start/end is after 2038.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:32 +01:00
Côme Chilliet 110fc79918 Silence errors of return type mismatch from Sabre for now
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +01:00
Côme Chilliet 77c8c9c805 Improve error output on failed Router test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +01:00
Côme Chilliet cd885b5705 Type sizes as int|float throughout the code base
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +01:00
Côme Chilliet 5c1a0e0307 Allow float sizes in FileInfo for 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +01:00
Côme Chilliet 5aed587e25 Fix setQuota on User on 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:30 +01:00
Côme Chilliet d00422b812 Fix computerFileSize when called with a string without unit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:30 +01:00
Côme Chilliet 0753be3ff2 Fix a few tests that were using too big int values for 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:30 +01:00
Côme Chilliet 7a628c0361 Fix 32bits bigint support in Util/OC_Helper
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:30 +01:00
Côme Chilliet 94ecae4ade Add helper to cast to int|float, fix MemoryInfo on 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:29 +01:00
Côme Chilliet 0f8c34cdc6 Fix filesize return type error in ViewTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:29 +01:00
Côme Chilliet 255f230a87 Fix bigsize support on 32bits in OC_Helper
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:29 +01:00
Côme Chilliet 5cfab229db Improve test failure output for RouterTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:29 +01:00
Côme Chilliet d9dbed9105 Fix psalm errors related to filesizes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:29 +01:00
Côme Chilliet ff776a90b1 Strong type filesize related methods to ease 32bits problem findings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:28 +01:00
Côme Chilliet 2d8e696c24 Add apcu and ffmpeg to have less skipped tests
Also exclude test groups which rely on a service

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:28 +01:00
Côme Chilliet b370fdb1e7 Running all tests on 32bits to see what happens
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:28 +01:00
Côme Chilliet e156f8339c Revert "remove 32-bit workarounds"
This reverts commit dd8774389e.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:28 +01:00
Côme Chilliet 3885818ab6 Add workflow for 32bits testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:10 +01:00
Côme Chilliet 17ed023be2 Merge pull request #36314 from nextcloud/sso-kerberos-fix
Update kerberos sso test setup to use new user_saml config system
2023-02-07 11:16:08 +01:00
Daniel 36347cb2cb Merge pull request #36286 from nextcloud/bugfix/noid/fix-sending-state-token-in-flowv1
Fix event listener race condition on login-form
2023-02-07 11:02:04 +01:00
Côme Chilliet 5a48768603 Merge pull request #36451 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-02-07 08:55:35 +01:00
nextcloud-command 69211472f4 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-02-07 04:27:15 +00:00
Nextcloud bot 24ebc19e10 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-07 02:26:01 +00:00
Christopher Ng 4b867bb7bb Port profile visibility select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-06 17:34:12 -08:00
Joas Schilling 59578817f5 Merge pull request #36489 from nextcloud/bugfix/noid/brute-force-protection-password-reset
Add bruteforce protection to password reset page
2023-02-06 22:12:25 +01:00
Joas Schilling fa1d50ccce Merge pull request #36267 from nextcloud/bugfix/noid/dont-reuse-query-builder
Don't reuse query builder object with populated parameters in FederatedShareProvider
2023-02-06 21:14:31 +01:00
Mattia Narducci b55c62c6c2 dav: fix birthday calendar event generation for leap days
Fix generation of birthday calendar events for the 29th of February.

A recurring event for the 29th of February in the (default) Gregorian
calendar system would only generate instances in leap years. Fix this
behaviour by generating recurring events for the last day of February,
the 29th on leap years and the 28th otherwise.

Signed-off-by: Mattia Narducci <mattianarducci1@gmail.com>
2023-02-06 19:11:46 +01:00
Robin Appelman e3bafcc7a8 cache numeric id in mountpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-06 18:20:08 +01:00
Robin Appelman 9281359fa4 deduplicate getStorage() logic in Mount\Manager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-06 18:17:40 +01:00
Robin Appelman 43589312cc dont delegate Mount\Manager::getByNumericId to getByStorageId
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-06 18:16:23 +01:00
Christoph Wurst eca7ab3221 Merge pull request #36552 from nextcloud/fix/client-login-flow/missing-state-token
fix(client-login-flow): Handle missing stateToken gracefully
2023-02-06 16:51:25 +01:00
Ferdinand Thiessen ba8a50c059 fix: Throw NotFoundExceptionInterface to fulfill PSR container interface if class not found
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-06 14:16:35 +01:00
Joas Schilling 875e6cf7e6 fix(CI): Adjust expected result
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-06 11:26:38 +01:00
Christoph Wurst 3473b69ad2 Merge pull request #36509 from nextcloud/fix/user-management/delete-user-hidden-group
fix(user-management): Fix deleting user in hidden group(s)
2023-02-06 10:52:37 +01:00
Christoph Wurst 88d116ba84 fix(client-login-flow): Handle missing stateToken gracefully
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-06 09:42:15 +01:00
Nextcloud bot 87b53dfed3 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-06 02:24:44 +00:00
Nextcloud bot 2ddd7f52bf Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-05 02:25:05 +00:00
Nextcloud bot 1f26731c1d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-04 02:25:17 +00:00
Julius Härtl dc3916e27c fix: Only get params from PUT content if possible
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-03 22:30:04 +01:00
Vincent Petry 1fed799826 Merge pull request #36452 from nextcloud/perf/share-availability-check
perf(federation): Only request root share info for checking availability
2023-02-03 13:34:35 +01:00
Joas Schilling 7cff390b56 Merge pull request #36508 from nextcloud/enh/allow-no-route
Allow settings navigation items with no route entry
2023-02-03 12:53:59 +01:00
jld3103 30858df737 Remove Deck from Sharees API
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-02-03 12:01:37 +01:00
Joas Schilling 7ddb042f9d Merge pull request #36511 from nextcloud/opt-out-of-phpunit-10
chore(CI): Opt-out of PHPUnit 10 for now
2023-02-03 10:23:20 +01:00
Simon L a579b36113 Merge pull request #36409 from nextcloud/enh/noid/dont-automatically-open-sidebar-on-mobile
Do not open the sidebar automatically on small widths
2023-02-03 10:08:29 +01:00
Joas Schilling bb34476b68 chore(CI): Opt-out of PHPUnit 10 for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-03 10:02:02 +01:00
Joas Schilling bf7fe04c4b fix(appinfo): navigation type is optional
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-03 09:52:37 +01:00
Joas Schilling 08bfe64b49 Merge pull request #36504 from nextcloud/bugfix/noid/remove-failing-test
Remove failing test that works with mocks only anyway
2023-02-03 09:28:34 +01:00
Christoph Wurst 84780ffd33 fix(user-management): Fix deleting user in hidden group(s)
E.g. guest_users

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-03 09:24:48 +01:00
Nextcloud bot 94767112dd Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-03 02:27:22 +00:00
Christopher Ng c610d0d99b Remove extraneous user status route entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-02 17:11:17 -08:00
Christopher Ng 70651c3ab1 Allow zero occurences of route in XML schemas
- For xmllint

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-02 17:11:17 -08:00
Christopher Ng 62b7bb7395 Allow settings navigation items with no route entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-02 17:11:17 -08:00
Julius Härtl e81cb6eaf0 Merge pull request #36498 from nextcloud/bug/dashboard-widgets
Some Dashboard widgets are larger than others
2023-02-02 21:51:53 +01:00
Simon L 7fa42a2f03 Do not open the sidebar automatically on small widths
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-02 19:01:19 +01:00
blizzz 07b9dbab3b Merge pull request #36484 from nextcloud/release/26.0.0_beta_2
26.0.0 beta 2
2023-02-02 18:10:52 +01:00
blizzz 58e4a831c0 Merge pull request #35743 from nextcloud/fix/use-recurrence-for-imip-email
Include more information in iMIP email and show diff information on updating an event
2023-02-02 18:09:08 +01:00
Joas Schilling 47880b143d Remove failing test that works with mocks only anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-02 18:06:31 +01:00
blizzz 39f202581b Merge pull request #36497 from nextcloud/techdebt/noid/fix-autotest-execution
Fix autotest.sh execution
2023-02-02 17:36:54 +01:00
blizzz d83ea282c4 Merge pull request #35736 from nextcloud/pluggable-share-display
Allow to register public share template provider
2023-02-02 17:33:34 +01:00
Julius Härtl 7f913dec03 fix(files_trashbin): Remove unnecessary scanner logic when getting versions from trash
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-02 17:23:05 +01:00
Julius Härtl d92538850f fix: Limit trashbin restore/delete to 2 concurrent request to avoid locking in the backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-02 17:23:05 +01:00
Anna Larch 38e9cb6a05 Use recurrence instance to build iMip email
instead of the main VEVENT of a repeating event

Fixes part of https://github.com/nextcloud/calendar/issues/3919

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-02-02 16:25:59 +01:00
Simon L 6f3c4f2255 Merge pull request #36450 from nextcloud/fix/clipboard-copy
Drop vue-clipboard2 in favour of native Clipboard API to fix copy to clipboard
2023-02-02 16:05:13 +01:00
dependabot[bot] db30974348 Merge pull request #36499 from nextcloud/dependabot/npm_and_yarn/http-cache-semantics-4.1.1 2023-02-02 14:42:31 +00:00
Louis Chemineau 4ab3c16403 Pluggable share provider
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-02 15:41:26 +01:00
Joas Schilling e4f050568e Merge pull request #36393 from nextcloud/3rdparty-drop-php-parser
chore: drop depedency php-parser
2023-02-02 14:25:25 +01:00
hamza221 2eae7791bb adding compiled files
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-02-02 13:58:25 +01:00
dependabot[bot] 0d6982d7c5 chore(deps): Bump http-cache-semantics from 4.1.0 to 4.1.1
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/commits)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 12:48:46 +00:00
blizzz 970f3937e5 Merge pull request #36375 from nextcloud/enh/allow-php-8.2
Allow php 8.2
2023-02-02 13:47:16 +01:00
hamza221 8358311568 Some Dashboard widgets are larger than others
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-02-02 13:34:41 +01:00
Daniel Kesselberg d9235658f8 chore: drop depedency php-parser
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-02-02 12:42:48 +01:00
Joas Schilling 4bdc5834fa Make sure name and path are strings
Otherwise Oracle returns NULL for empty strings and PHP 8.2
throws on null in string functions like trim() and md5()

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-02 12:05:22 +01:00
Joas Schilling c27c9fac98 Try fixing Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-02 12:05:21 +01:00
Côme Chilliet ac5df8e94f Catch deprecation warnings in oci tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-02 12:05:21 +01:00
Côme Chilliet 0925709c62 Add 8.2 to oci tests
This is the only test suite testing 8.1, so adding 8.2 as well

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-02 12:05:20 +01:00
Côme Chilliet 1fec8c07e0 Allow 8.2 in versioncheck
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-02 12:05:20 +01:00
Joas Schilling 5096d4f5cb Align version number of PHPUnit and give a helping install hint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-02 12:03:09 +01:00
Joas Schilling 5d068ff534 Fix autotest.sh execution
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-02 11:58:55 +01:00
blizzz bbd3e2b04a Merge pull request #30349 from nextcloud/enhancement/migrate_to_symfony_mailer
Migrate to Symfony Mailer
2023-02-02 11:42:07 +01:00
Arthur Schiwon e123d270fc remove depraction of validateEmailAddress
for there are legit use cases to validate an email address without
sending there to

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-02-02 10:30:06 +01:00
Côme Chilliet dde5c46a3e Migrate to Symfony Mailer
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-02 10:30:06 +01:00
Joas Schilling fc4e87a2df Merge pull request #36487 from nextcloud/bugfix/noid/fix-query-builder-usage-in-dav-account-deletion
Do not reuse query builder objects in DAV account deletion
2023-02-02 06:54:28 +01:00
Joas Schilling 704eb3aa6c Add bruteforce protection to password reset page
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-02 06:13:49 +01:00
Nextcloud bot 129803d036 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-02 02:25:46 +00:00
Christopher Ng edcf675e6e Drop vue-clipboard2 to fix copy to clipboard
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-01 15:40:13 -08:00
Joas Schilling 1a31ddb56d Do not reuse query builder objects in DAV account deletion
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-01 21:49:34 +01:00
Joas Schilling bde109d158 fix(updater): Don't warn about missing appstore updates for apps deployed from git
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-01 21:39:49 +01:00
Arthur Schiwon 7df18f18bc 26.0.0 beta 2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-02-01 17:39:09 +01:00
Simon L 41148acf83 Merge pull request #36257 from nextcloud/fix/noid/single-upgrade-on-custom-apps
non-static app_dir
2023-02-01 17:07:23 +01:00
Maxence Lange 4cac49c797 refresh cached app folder on install/upgrade
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-02-01 11:07:31 -01:00
Christoph Wurst 0c5eba3786 Merge pull request #36444 from nextcloud/perf/autoloading/weather-status-authoritative-autoloader
perf(autoloading): Add authoritative autoloader for weather-status
2023-02-01 11:56:03 +01:00
Christoph Wurst d7bd7639c2 Merge pull request #36407 from nextcloud/enh/31710/migration-safeguard
add a safeguard for Version23000Date20210721100600.php
2023-02-01 08:50:23 +01:00
Nextcloud bot 03a6d1a985 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-01 02:25:23 +00:00
Maxence Lange d2df81a969 Merge pull request #36458 from nextcloud/fix/noid/run-tests-php-8.0
test runs with php8.0 images
2023-01-31 21:49:15 -01:00
John Molakvoæ 873501a141 Merge pull request #36455 from nextcloud/artonge/e2e/reset_theming
Reset theming in cypress test
2023-01-31 19:53:39 +01:00
Maxence Lange 1a655e88d9 use php8.0 images
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-31 15:44:12 -01:00
Julius Härtl ca3f53ab88 Merge pull request #36453 from nextcloud/bugfix/noid/oci-longtext
Fix MigrateBackgroundImages on oracle
2023-01-31 15:27:19 +01:00
Louis Chemineau 2830eeac7e Dispatch event for all remove entry
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-31 13:30:10 +00:00
Louis 3ff568342b Merge pull request #36331 from tpayen/fix/globalNewButton
fix(files) Call .action of local element instead of global page
2023-01-31 14:23:16 +01:00
Louis Chemineau fc1a16283e Reset theming in cypress test
The test in admin-settings does not reset the theming.
So when it is run before user-background, the "Default cloud background is not rendered" test fails.

This makes sure that the theming is reset before running "User default background settings"

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-31 14:18:26 +01:00
Julius Härtl ecccff8bd2 fix(theming): Fix query for configvalue as CLOB on OCI
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-31 11:57:54 +01:00
Julius Härtl c246edece6 tests(oci): Test where statement on longtext column
Signed-off-by: Julius Härtl <jus@bitgrid.net>

test: try with just passing the type to eq which should also cast

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-31 11:57:54 +01:00
Julius Härtl 7e3ea019d1 chore: Add return types
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-31 11:42:33 +01:00
Julius Härtl 7cc9ba28a7 perf(federation): Only request root share info for checking availability
Otherwise this would request a full recursive dirctory listing while the result is never being used

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-31 11:41:34 +01:00
John Molakvoæ e7c9fdb1ac Merge pull request #36445 from nextcloud/Valdnet-patch-4
l10n: Change admin to administrator
2023-01-31 10:35:45 +01:00
Richard Steinmetz 825a067ed7 Merge pull request #36440 from nextcloud/perf/autoloading/dashboard-authoritative-autoloader
perf(autoloading): Add authoritative autoloader for dashboard
2023-01-31 10:35:03 +01:00
Julius Härtl 9f2495cc09 Merge pull request #35474 from nextcloud/feature/rich-workspace-visibility
Update rich-workspace visibility
2023-01-31 09:54:57 +01:00
Nextcloud bot 9035be6b81 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-31 02:25:42 +00:00
Joas Schilling e4fadcf02a Merge pull request #36434 from nextcloud/techdebt/noid/drop-bootstrap
Drop bootstrap
2023-01-30 23:13:22 +01:00
Luka Trovic cacffecba5 feat: update newfilemenu.js for rich-workspace
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2023-01-30 20:27:16 +01:00
Valdnet 928f62610b l10n: Change administrator to administration
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-01-30 18:40:29 +01:00
Valdnet 927821e363 l10n: Change admin to administrator
Spelling unification.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-01-30 18:21:33 +01:00
Christoph Wurst ba4e46d341 perf(autoloading): Add authoritative autoloader for weather-status
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-30 18:10:58 +01:00
Simon L 6496748971 fix the login log entry
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-30 17:07:44 +01:00
Christoph Wurst ca67a9451d perf(autoloading): Add authoritative autoloader for dashboard
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-30 16:38:52 +01:00
Louis 3bfc5a4d95 Merge pull request #36420 from nextcloud/enh/34958/fix-exif-log
fix the exif_read_data issue
2023-01-30 15:41:47 +01:00
Robin Appelman 7251ed1cc3 Merge pull request #36433 from nextcloud/fix/32818/decrypt-missing-file-fails
fix(encryption): don't throw on missing file
2023-01-30 15:40:25 +01:00
Thomas P 87887d7837 fix(files) Call .action of local element
When calling .action from the global page, newButton may conflict with other app-content which is similar to app-content-files

Signed-off-by: Thomas Payen <thomas.payen@i-carre.net>
2023-01-30 15:27:00 +01:00
Joas Schilling 5b5bc7170a Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30 13:51:36 +01:00
Joas Schilling 04e1e2f83e Remove usages of bootstrap
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30 13:48:15 +01:00
Joas Schilling b4f4e19335 Remove bootstrap dependency
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30 13:47:54 +01:00
dependabot[bot] 7d337566c6 Merge pull request #36332 from nextcloud/dependabot/npm_and_yarn/ua-parser-js-0.7.33 2023-01-30 10:35:01 +00:00
dependabot[bot] e84775bf49 chore(deps): Bump ua-parser-js from 0.7.31 to 0.7.33
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:45:08 +00:00
Louis 2f3007205d Merge pull request #35160 from nextcloud/artonge/feat/version_naming_backend
Allow to name a version
2023-01-30 10:40:49 +01:00
Richard Steinmetz f0a3b77d0f fix(encryption): don't throw on missing file
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-01-30 10:07:01 +01:00
Joas Schilling de415fbb15 Merge pull request #36348 from nextcloud/bugfix/noid/fix-primary-color-usage-in-emails-and-federation
Fix primary color usage in emails and federation
2023-01-30 09:56:36 +01:00
Joas Schilling 959e2aaa17 fix(tests): Fix method name in unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30 09:12:50 +01:00
Joas Schilling 79b8c68592 Use the default primary color instead of "randomly" the color of the user triggering the email
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30 09:12:50 +01:00
Joas Schilling a192641808 Use the default color and matching text color for the federation invite
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30 09:12:49 +01:00
Nextcloud bot 97e6fe4b46 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-30 02:25:59 +00:00
Nextcloud bot 41b2e17cd1 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-29 02:26:57 +00:00
Simon L a704619ea4 try to fix the exif_read_data issue
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-28 11:23:59 +01:00
Nextcloud bot 4ae17a04eb Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-28 02:26:02 +00:00
Christoph Wurst 7269766e05 Merge pull request #36363 from nextcloud/feat/app-framework/usesession-attribute
feat(app-framework): Add UseSession attribute to replace annotation
2023-01-27 16:59:14 +01:00
Christoph Wurst df0bb9165d Merge pull request #36380 from nextcloud/fix/caldav/reminder-service-nullable-calendar-data
fix(caldav): Fix wrong Psalm report for nullable calendar data
2023-01-27 15:43:33 +01:00
Simon L 96500cf5a4 add a safeguard for Version23000Date20210721100600.php
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-27 13:10:44 +01:00
Julius Härtl a63b557568 Merge pull request #35557 from nextcloud/enh/31667/extend-reference-api-for-frontend-picker 2023-01-27 12:35:44 +01:00
Simon L 8744029e14 Merge pull request #36395 from corentinbettiol/fix/typo-occ-repair
FIX: This fill finish -> This will finish
2023-01-27 11:55:38 +01:00
Julius Härtl 81c2122ff8 style: Fix php-cs and psalm
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-27 11:10:56 +01:00
Julius Härtl 699e5fe7f6 chore(composer): Update autoloader
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-27 11:10:56 +01:00
Julien Veyssier 0e6d5f8240 improve getUserProviderTimestamps
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:56 +01:00
Julien Veyssier b22d4e6306 use array_filter instead of array_map + array_search
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:56 +01:00
Julien Veyssier 8766e4f242 handle and return touchProvider errors
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:56 +01:00
Julien Veyssier 48f34736cd ADiscoverableReferenceProvider implements JsonSerializable
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:56 +01:00
Julien Veyssier 946a1af9fd add 'last used timestamp' management for reference providers
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:56 +01:00
Julien Veyssier 6431c5a559 extend the reference API for the new link picker
- add 2 interfaces for discoverable and searchable reference providers
- new OCS route to get info on discoverable/searchable reference providers
- new abstract ADiscoverableReferenceProvider that only implements jsonSerialize
- listen to RenderReferenceEvent to inject provider list with initial state

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:55 +01:00
Joas Schilling aee6b37f3f Merge pull request #36402 from nextcloud/nickvergessen-patch-2
ci(psalm): Generate base analysis on pushes so we can compare to upda…
2023-01-27 10:29:38 +01:00
Joas Schilling af5910be68 Merge pull request #36389 from nextcloud/nickvergessen-patch-1
fix(CI): Install composer dependencies of Talk
2023-01-27 10:29:14 +01:00
Joas Schilling 664c7113ae ci(psalm): Generate base analysis on pushes so we can compare to updated reports
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2023-01-27 10:08:53 +01:00
Christoph Wurst 20e00cdf17 feat(app-framework): Add UseSession attribute to replace annotation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-27 09:40:35 +01:00
Joas Schilling 783f4be6b3 fix(CI): Install composer dependencies of Talk
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2023-01-27 07:16:53 +01:00
Nextcloud bot be1de30a4f Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-27 02:28:03 +00:00
Pytal 6d35424668 Merge pull request #36370 from nextcloud/fix/search-focus 2023-01-26 15:40:12 -08:00
Pytal c9dcc0f683 Merge pull request #36371 from nextcloud/compiled-css-gitattr
Mark compiled CSS as binary
2023-01-26 15:38:24 -08:00
sodimel 5e18ffa89d FIX: This fill finish -> This will finish
Signed-off-by: sodimel <corentin@244466666.xyz>
2023-01-26 21:05:01 +01:00
Christoph Wurst ad00a149ea Merge pull request #36310 from nextcloud/feat/app-framework/global-middlewares
feat(app-framework): Add support for global middlewares
2023-01-26 15:17:38 +01:00
Daniel 0a548175c0 Merge pull request #36210 from nextcloud/fix/4811/principal-email
fix(dav): check if principal has email address before accessing it
2023-01-26 14:15:47 +01:00
Christoph Wurst 033b03def0 Merge pull request #36341 from nextcloud/fix/app-framework/middleware-before-controller-returns-void
fix(app-framework): Specify return type of Middleware::beforeController
2023-01-26 13:18:19 +01:00
Christoph Wurst 8d9af3e262 feat(app-framework): Add support for global middlewares
This allows apps to register middlewares that always register, not just
for the app's own requests

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-26 11:54:28 +01:00
Christoph Wurst 954284f8cd fix(caldav): Fix wrong Psalm report for nullable calendar data
> Docblock-defined type Sabre\VObject\Component\VCalendar for $vcalendar is never falsy

^ is a lie

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-26 11:24:53 +01:00
Louis Chemineau 552f5b0171 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 96002651ce Handle undefined label in front-end
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau fd9937a171 Add cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 305b1b6d21 Forward branch env var to the cypress container
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 88abb2d97c Fix versions restoring with S3
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 3da63f4148 Use node's owner if no user is connected
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 84e5b9c5f7 Prevent storing versions with the same mtime
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 6dcfb29cfc Fix renaming files_versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau c88328e68e Handle empty files in version creation logic
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau d8b479752d Fix hookconnector tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 53d736207c Adapt files_versions tests to modernized hooks
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 2ce4ac4aa4 User rootFolder instead of userFolder in FileEventsListener
Requesting userFolder fails during NC installation phase.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 8f23cc8259 Rename Hooks.php to FileEventsListener.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau ad469969bf Prevent expiration of named versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 1adc9d2aab Delete file versions entries in DB when node is deleted
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 6a2f8bc599 Allow to delete a version through DAV
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau 629de6c8c9 Support getting and patching version-label
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00
Louis Chemineau e82bfba114 Create files_versions table
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:22 +00:00
Louis Chemineau 1ade482797 Modernise hook listener of files_versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:22 +00:00
blizzz 3eb73d0a3d Merge pull request #36362 from nextcloud/release/26.0.0_beta_1
26.0.0 beta 1
2023-01-26 11:07:38 +01:00
Vincent Petry 9ecec2fd75 Merge pull request #35894 from nextcloud/move-from-encryption
fix moving files of encrypted local storage to unencrypted local storage
2023-01-26 09:45:12 +01:00
Christoph Wurst 40425035d2 Merge pull request #36347 from nextcloud/chore/autoloader/composer-2.5.1-autoloader-files
chore(autoloaders): Update autoloader files for Composer 2.5.1
2023-01-26 09:17:52 +01:00
Christopher Ng 045bc32b1d Mark compiled CSS as binary
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-25 18:29:11 -08:00
Nextcloud bot 4caa90dfb6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-26 02:25:08 +00:00
Christopher Ng f6f4c62936 Fix focus not returning to search icon
- Remove programmatic focusing already handled by focus-trap

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-25 17:02:51 -08:00
Simon L 352bd7ecea Merge pull request #36352 from nextcloud/enh/noid/imaginary-add-tiff
imaginary - add tiff to supported formats
2023-01-25 21:06:11 +01:00
Arthur Schiwon 9eccafc3b6 26.0.0 beta 1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-01-25 18:21:04 +01:00
Christoph Wurst b58d4f7d22 Merge pull request #36298 from nextcloud/perf/app-framework/lazy-middleware-registration
perf(app-framework): Make app middleware registration even lazier
2023-01-25 17:37:56 +01:00
Julius Härtl 919a840f34 Merge pull request #32798 from nextcloud/enh/sse-c
[S3] Add option to specify an SSE-C customer provided key
2023-01-25 15:59:26 +01:00
Daniel 75e8636ef2 Merge pull request #36187 from nextcloud/psalm-ocp-since-checker
ci: migrate ocp since checker to psalm
2023-01-25 12:44:01 +01:00
Julius Härtl a249c633a0 Merge pull request #35759 from nextcloud/add-app-config-for-default-template-path 2023-01-25 12:35:24 +01:00
Simon L 9a64d95676 imaginary - add tiff to supported formats
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-25 11:53:16 +01:00
Christoph Wurst aee9941fed chore(autoloaders): Update autoloader files for Composer 2.5.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 10:42:34 +01:00
Christoph Wurst 6d7339b0ff fix(app-framework): Specify return type of Middleware::beforeController
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 09:30:58 +01:00
Christoph Wurst 907ff68bfc perf(app-framework): Make the app middleware registration lazy
Before this patch, app middlewares were registered on the dispatcher for
every app loaded in a Nextcloud process. With the patch, only
middlewares belonging to the same app of a dispatcher instance are
loaded.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 09:27:24 +01:00
Joas Schilling d51429a472 Merge pull request #36216 from nextcloud/fix/user_status-heartbeat-response
Fix user_status heartbeat response
2023-01-25 08:51:55 +01:00
jld3103 1f49a56a98 Fix user_status heartbeat response
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-01-25 07:16:26 +01:00
Nextcloud bot d66bf39de5 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-25 02:44:17 +00:00
Pytal 96a21056c4 Merge pull request #36055 from nextcloud/enh/a11y-sharing-select
Port files sharing selector
2023-01-24 18:25:33 -08:00
Christopher Ng 0236c9e8cd Port files sharing selector
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-24 17:40:17 -08:00
Daniel 75d7203f57 Merge pull request #36333 from nextcloud/docs/fix-files_no_background_scan-default
Fix default value for files_no_background_scan
2023-01-24 21:23:28 +01:00
max-nextcloud a635674d27 Fix default value for files_no_background_scan
The value is read in https://github.com/nextcloud/server/blob/b888c6146327d842e21988b0d90d6ade4f3a9435/apps/files/lib/BackgroundJob/ScanFiles.php#L105 and the default value is false.

Signed-off-by: max-nextcloud <max@nextcloud.com>
2023-01-24 18:02:12 +01:00
Pytal 44af64c138 Merge pull request #36321 from nextcloud/deps/nextcloud/vue-7.5.0 2023-01-24 08:41:12 -08:00
Robin Appelman 33b90d28f8 fix moving files of encrypted local storage to unencrypted local storage
for example when moving encrypted files to a groupfolder

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-24 16:40:41 +00:00
Simon L 0be897bdfe Merge pull request #36326 from nextcloud/enh/29584/fix-translation
don't translate a variable
2023-01-24 14:15:36 +01:00
Simon L e46daa8540 don't translate a variable
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-24 10:31:07 +00:00
Côme Chilliet 486e1dff40 Merge pull request #32572 from nextcloud/phpunit-deprecation-core
Fix a bunch of deprecation in the phpunit for core
2023-01-24 11:28:19 +01:00
Thomas Citharel 00d9d49303 Add app config for default template path
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-24 09:39:31 +00:00
Julius Härtl 159a0c8411 feat(s3): Add option to specify an SSE-C customer provided key
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-24 10:36:03 +01:00
Daniel Kesselberg 258c919b3c ci: migrate ocp since checker to psalm
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-24 10:02:41 +01:00
Côme Chilliet 003cc2b45a Fix tests failures (number of calls differed with last rebase)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-24 09:38:20 +01:00
Carl Schwan 5b0f7f7501 Use phpunit from composer if available
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-01-24 09:34:17 +01:00
Carl Schwan a23cd7b961 Fix a bunch of deprecation in the phpunit for core
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-01-24 09:34:09 +01:00
Richard Steinmetz bbda231e18 fix(dav): check if principal has email address before accessing it
Ref https://github.com/nextcloud/calendar/issues/4811

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-01-24 09:27:53 +01:00
Nextcloud bot f867a2d65e Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-24 02:25:20 +00:00
Christopher Ng 2f8fb24828 Bump @nextcloud/vue to v7.5.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-23 15:53:18 -08:00
John Molakvoæ a3aa81d2ca Merge pull request #36277 from nextcloud/backport/36272/master
[master] fix(theming): fix admin images migration
2023-01-23 21:26:12 +01:00
Marcel Müller bbb490de5e Fix event listener race condition on login-form
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-01-23 19:51:10 +01:00
Joas Schilling ecad09b38a Merge pull request #36261 from nextcloud/techdebt/noid/warn-devs-about-potential-bugs
fix(querybuilder): Log a warning if where() is called again on a quer…
2023-01-23 18:47:25 +01:00
Joas Schilling c817981d7a Merge pull request #36268 from nextcloud/bugfix/noid/fix-double-where-usage-in-resource-manager
Fix double where() usage in resource manager
2023-01-23 18:45:52 +01:00
Robin Appelman 3b577aa5b2 Update kerberos sso test setup to use new user_saml config system
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-23 18:21:47 +01:00
Robin Appelman 54973c3cf9 run kerberos sso test when the action is changed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-23 18:21:39 +01:00
Simon L 078203afea Merge pull request #35935 from EWouters/patch-1
[Fix]: scan-app-data conversion
2023-01-23 17:43:14 +01:00
Joas Schilling 3eda055c68 Merge pull request #36260 from nextcloud/bugfix/noid/fix-user-availability-selection
Fix WHERE condition when selecting user's availability for the status…
2023-01-23 15:59:39 +01:00
MichaIng ba97587b85 Merge pull request #36279 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.5.28
chore(deps-dev): Bump phpunit/phpunit from 9.5.27 to 9.5.28 in /build/integration
2023-01-23 12:55:50 +01:00
Christoph Wurst 83711e9267 Merge pull request #36254 from nextcloud/chore/dav/throw-json-encode-decode
chore(dav): Make json_encode and json_decode throw on error
2023-01-23 12:52:22 +01:00
Joas Schilling 03e3458a84 Merge pull request #36258 from nextcloud/fix/user-status-input
Fix user status message input
2023-01-23 12:25:01 +01:00
Joas Schilling 151523917d Merge pull request #36250 from nextcloud/fix/add-success-message-to-personal-settings-button
Add success message to personal settings clipboard button
2023-01-23 12:11:48 +01:00
Joas Schilling 13846ac2a8 Merge pull request #36266 from nextcloud/bugfix/noid/fix-double-where-in-custom-property-test
Fix double where in CustomProperiesBackendTest
2023-01-23 11:37:18 +01:00
MichaIng 279c7d18ef Merge pull request #36278 from nextcloud/fix/opcache/check
Fix interned strings buffer check if 0 free bytes
2023-01-23 10:36:43 +01:00
rakekniven 34824e2f8d fix(l10n): fix admin images migration
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-01-23 09:09:46 +00:00
John Molakvoæ (skjnldsv) e5977a19ab fix(theming): fix admin images migration
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-01-23 09:09:46 +00:00
MichaIng 03390ee791 Fix interned strings buffer check if 0 free bytes
With #32902 it was meant to be avoided to recommend raising the interned strings buffer size above a quarter of the total OPcache size. This works as long as there is at least 1 byte free, but does not apply if the buffer is filled completely.

This commit switches the conditions so that the interned strings buffer size must be smaller than a quarter of the total OPcache size for the warning to be shown. That the buffer must be either filled completely or by more than 90% remains untouched.

Signed-off-by: MichaIng <micha@dietpi.com>
2023-01-23 08:55:35 +00:00
Joas Schilling f565cacaf3 Fix double where() usage in resource manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-23 08:48:01 +01:00
Joas Schilling 20190534ee Merge pull request #36269 from nextcloud/bugfix/noid/fix-broken-unit-test
Fix broken user:setting command unit test
2023-01-23 07:40:50 +01:00
Joas Schilling f99642b0bc Merge pull request #36262 from nextcloud/chore/dav/void-test-methods
chore(dav): Add void return type to test methods
2023-01-23 07:08:02 +01:00
Joas Schilling f717219490 Don't reuse query builder object with populated parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-23 07:04:57 +01:00
Joas Schilling ad5a1abfaa Merge pull request #36247 from nextcloud/bugfix/noid/bump-profiler-version
Specify the profiler app branch to test with
2023-01-23 07:02:39 +01:00
Joas Schilling 1c099c7f17 Fix broken user:setting command unit test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-23 07:01:22 +01:00
Nextcloud bot cfc93d8b0a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-23 02:25:26 +00:00
Nextcloud bot 2ff877f105 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-22 02:25:24 +00:00
Daniel 023f91911a Merge pull request #36280 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-01-21 21:47:58 +01:00
nextcloud-command fb901b0d93 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-01-21 05:45:00 +00:00
dependabot[bot] 210de391d9 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.27 to 9.5.28.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.5.28/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.27...9.5.28)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 03:57:37 +00:00
Nextcloud bot b7d884355b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-21 02:24:42 +00:00
Christopher Ng 5ab35aaa7a Fix user status message input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-20 16:24:15 -08:00
Joas Schilling 793424ab79 Specify the profiler app branch to test with
So we can test in stable25 with a matching profiler version instead of master

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-20 16:36:34 +01:00
Côme Chilliet 3f231d68d7 Merge pull request #36271 from nextcloud/fix/fix-codestyle
Fix codestyle using codesniffer
2023-01-20 15:26:17 +01:00
Christoph Wurst 473c546b5c Merge pull request #36264 from nextcloud/fix/occ/repair-command-comment-formatting
fix(occ): Fix comment formatting of maintenance:repair command
2023-01-20 13:12:43 +01:00
Côme Chilliet f5c361cf44 composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:45:08 +01:00
Côme Chilliet 37bb33c579 Merge pull request #34997 from nextcloud/fix/drop-php-7.4
Drop PHP 7.4 on master
2023-01-20 11:43:24 +01:00
Côme Chilliet f32d18d4ea Bump 3rdparty to master branch
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:24 +01:00
Côme Chilliet d2204a71c6 Always show the psalm baseline change, even on failure
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:13 +01:00
Côme Chilliet 83d2655844 Show failure of SAML login in kerberos workflow
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:13 +01:00
Côme Chilliet 55baa7b586 Fixing samba test and adding details to kerberos job
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:12 +01:00
Côme Chilliet 7b93a143c8 Fix check in integration tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:12 +01:00
Côme Chilliet f8d222d42d Fix Samba test failure details output
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:12 +01:00
Côme Chilliet 7e0a0240c9 Remove PHP version matrix from kerberos test
It runs on a docker image on which we cannot control which PHP version runs.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:11 +01:00
Joas Schilling 89dbc629ff Fix integrity check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-20 11:22:11 +01:00
Côme Chilliet de68fc6347 Update test file for mimetypes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:11 +01:00
Côme Chilliet b22b6431d2 Fix gzip mimetype mapping
PHP now detects it as application/gzip and not application/x-gzip anymore

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:11 +01:00
Côme Chilliet 9acb982333 Prettify static-code-analysis.yml
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:10 +01:00
Côme Chilliet f6ed727b3f Always upload psalm result to github
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:10 +01:00
Côme Chilliet e8299d4826 Merge back the two static analysis workflows together
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:10 +01:00
Côme Chilliet 90b955b1e9 Attempt to fix errors in Repair command tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Côme Chilliet 2a5e18b67a Fix types in OCS json answer (status code is an int)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Côme Chilliet f2cdc4f47d Fix crash in OCS when getting info about an application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Côme Chilliet 0c466b7ff5 Attempt at reducing psalm errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Côme Chilliet e91457d9cd Improve typing in Entity.php
Removing @method in Entity brings even more errors.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Côme Chilliet 87ebf28eb4 Fix kerberos step name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:08 +01:00
Côme Chilliet a1af3572a4 Move all drone steps to PHP 8.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:08 +01:00
Côme Chilliet f27c3d0a04 composer update php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:08 +01:00
Côme Chilliet 53cdd1ebff Attempt at bumping psalm version
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:08 +01:00
Côme Chilliet 7ebbb6b2ca Remove workarounds specific to 7.4
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:08 +01:00
Côme Chilliet 9369b67df3 Drop PHP 7.4 support for master (26)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:07 +01:00
Joas Schilling ab96942d92 Fix double where in CustomProperiesBackendTest
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-20 10:44:50 +01:00
Christoph Wurst a8bad3a98f fix(occ): Fix comment formatting of maintenance:repair command
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-20 10:00:41 +01:00
Christoph Wurst fce87f8ddb Merge pull request #36253 from nextcloud/chore/dav/remove-useless-var-tag
chore(dav): Remove useless var tag
2023-01-20 09:19:35 +01:00
Christoph Wurst 898d2923cc chore(dav): Add void return type to test methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-20 08:38:43 +01:00
Joas Schilling 7f0a54c558 fix(querybuilder): Log a warning if where() is called again on a query builder object
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-20 07:41:19 +01:00
Joas Schilling 1aba0e22ba Fix WHERE condition when selecting user's availability for the status automation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-20 07:21:22 +01:00
Nextcloud bot 5e3a3c0c8f Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-20 02:29:40 +00:00
Christoph Wurst afd1ddb0ea chore(dav): Make json_encode and json_decode throw on error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-19 19:19:22 +01:00
Christoph Wurst 3c9ceffa7c chore(dav): Remove useless var tag
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-19 19:05:23 +01:00
Christoph Wurst d42d8b79e0 Merge pull request #36162 from nextcloud/fix/php82/string-var-interpolation
fix(PHP8.2): Fix deprecated string interpolation syntax
2023-01-19 18:05:44 +01:00
Vincent Petry aded13c61f Merge pull request #35632 from nextcloud/debt/document-types-search-flag
docs: document types flag for search options
2023-01-19 17:45:30 +01:00
Vincent Petry a25645648e Merge pull request #36123 from nextcloud/user-settings-normalize-uid
normalize userid in user:setting
2023-01-19 17:45:01 +01:00
julia.kirschenheuter f0b98d6469 Add success message to personal settings button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-19 17:09:46 +01:00
Christoph Wurst 2e66acfab8 fix(PHP8.2): Fix deprecated string interpolation syntax
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-19 13:10:02 +01:00
Vincent Petry 6be58756f4 Merge pull request #36237 from nextcloud/bugfix/noid/disable-unreliable-tests
Disable unreliable acceptance tests
2023-01-19 11:33:42 +01:00
Daniel Kesselberg ffb76d5475 docs: document types flag for search options
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-19 09:33:53 +00:00
Joas Schilling 1e2441ff6b Disable unreliable acceptance tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-19 09:21:33 +01:00
Vincent Petry e447530c29 Merge pull request #36223 from nextcloud/artonge/fix/allow_interaction_with_encrypted_folders
Allow interaction with encrypted folders
2023-01-19 09:20:35 +01:00
John Molakvoæ eb40c069e1 Merge pull request #36203 from nextcloud/enh/a11y-search-menu
Port global search menu to focus trapped NcHeaderMenu
2023-01-19 08:25:22 +01:00
Nextcloud bot aaf759bbb0 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-19 02:27:03 +00:00
Simon L 752f3a39f9 Merge pull request #36225 from Jachhj-sc/patch-1
Add check config.php for ffmpeg_path in PreviewManager.php. fix for snap no video preview
2023-01-18 22:14:22 +01:00
Anna 444f11b857 Merge pull request #36211 from nextcloud/enh/catch-recurrence-exception
fix(dav): catch MaxInstancesExceededException for recurring events without end date
2023-01-18 21:39:15 +01:00
William fa12219629 Update lib/private/PreviewManager.php
fix lint issue

Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: William <william.hak57@gmail.com>
2023-01-18 20:32:09 +01:00
William 81ec99ae33 Update config/config.sample.php
add better description

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: William <william.hak57@gmail.com>
2023-01-18 20:13:34 +01:00
Joas Schilling 950b71c6ae Merge pull request #36219 from nextcloud/fix/correction-35886-Replace_custom_tooltips_with_native_one_for_personal_and_administration_settings
Correct title for button on federation actions button
2023-01-18 20:05:36 +01:00
Christopher Ng 966872f23b Port global search menu to focus trapped NcHeaderMenu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-18 11:04:25 -08:00
Simon L 06a572ff55 Merge pull request #27492 from cyclops8456/feature/24301-remove-can-install-on-occ-maintenance-install
Remove the CAN_INSTALL file when occ maintenance:install is complete
2023-01-18 19:53:02 +01:00
William 138814f964 Merge pull request #1 from Jachhj-sc/patch-2
add documentation preview_ffmpeg_path
2023-01-18 19:35:52 +01:00
William 57a3a17db7 Merge branch 'nextcloud:master' into patch-1 2023-01-18 19:31:39 +01:00
William 2c4afdcdd1 add documentation preview_ffmpeg_path
add preview_ffmpeg_path documentation.
document custom path for ffmpeg so it can be used by the previewprovider to create video previews with the snap package of nextcloud.

Signed-off-by: William <william.hak57@gmail.com>
2023-01-18 19:26:48 +01:00
Joas Schilling c5a01695d1 Merge pull request #36205 from nextcloud/bugfix/noid/fix-settings-section-icon-color
fix(search): Fix settings section icon color
2023-01-18 19:13:10 +01:00
John Molakvoæ cd72bef78b Merge pull request #36221 from nextcloud/artonge/feat/cypress_git_branch
Use current git branch by default when setting up cypress container
2023-01-18 19:01:58 +01:00
Louis Chemineau 15cf029d0d Allow interaction with encrypted folders
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-18 17:03:18 +00:00
Louis Chemineau 535c228d57 Use current git branch by default when setting up cypress container
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-18 17:17:06 +01:00
Christoph Wurst 46dcbd3b77 Merge pull request #35783 from nextcloud/feat/inject-controller-services-into-methods
Inject services into controller methods
2023-01-18 17:00:54 +01:00
William 1409a7cc92 Update PreviewManager.php
add a check in config.php for a configured movieBinary path.
so now it first checks in config.php if  preview_ffmpeg_path is configured.

Signed-off-by: William <william.hak57@gmail.com>
2023-01-18 16:30:41 +01:00
julia.kirschenheuter 6d13916a5f Correct title for button on federation actions button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-18 15:45:07 +01:00
Anna Larch a9264b007f fix(dav): catch MaxInstancesExceedeException for recurring events without end date
Ref https://github.com/nextcloud/calendar/issues/4811

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-01-18 15:40:36 +01:00
Thomas Citharel 62739ecf6c Handle reminders where calendar name is null
This adds an interface change, but that's not a public API.

We're handling this in the providers and not in ReminderService because
the fallback is translated with the user's language.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-18 14:30:43 +01:00
Christoph Wurst 20fcfb5739 feat(app framework)!: Inject services into controller methods
Usually Nextcloud DI goes through constructor injection. This has the
implication that each instance of a class builds the full DI tree. That
is the injected services, their services, etc. Occasionally there is a
service that is only needed for one controller method. Then the DI tree
is build regardless if used or not.

If services are injected into the method, we only build the DI tree if
that method gets executed.

This is also how Laravel allows injection.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-18 14:00:38 +01:00
Christoph Wurst 9e08e49998 Merge pull request #35419 from nextcloud/fix/login-csrf-not-logged-in-clear-cookies
Fix login loop if login CSRF fails and user is not logged in
2023-01-18 11:55:24 +01:00
Daniel dfa1a7b33b Merge pull request #36204 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-01-18 11:32:22 +01:00
Christoph Wurst f22101d421 Fix login loop if login CSRF fails and user is not logged in
If CSRF fails but the user is logged in that they probably logged in in
another tab. This is fine. We can just redirect.
If CSRF fails and the user is also not logged in then something is
fishy. E.g. because Nextcloud contantly regenrates the session and the
CSRF token and the user is stuck in an endless login loop.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-18 09:39:17 +01:00
Joas Schilling c35d82aece Merge pull request #36198 from nextcloud/3rdparty-remove-ds
chore: drop dependency php-ds
2023-01-18 09:37:37 +01:00
John Molakvoæ 1a0f9b57be Merge pull request #36002 from nextcloud/feat/files2vue-quota
feat(files): Quota in navigation
2023-01-18 08:05:04 +01:00
Joas Schilling ab8b54f2f6 fix(search): Fix settings section icon color
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-18 07:18:42 +01:00
Joas Schilling de5fb80478 chore: drop dependency php-ds
The dependency is not used.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-18 07:14:34 +01:00
Joas Schilling 634f5a17d9 Merge pull request #36194 from nextcloud/revert/35071
Fix failed revert for #35071
2023-01-18 07:01:05 +01:00
nextcloud-command 0d48e3c98c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-01-18 04:45:48 +00:00
Nextcloud bot 4dc3f4dcac Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-18 02:25:23 +00:00
Joas Schilling 184d57c843 Merge pull request #36190 from nextcloud/3rdparty-guzzle
chore(3rdparty): Bump guzzlehttp/guzzle from 7.2.0 to 7.5.0 and egulias/email-validator from 3.2.1 to 3.2.5
2023-01-17 21:55:09 +01:00
John Molakvoæ b9906fb21e feat(files): Quota in navigation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-17 18:30:41 +01:00
Christoph Wurst 312f19d6a4 Merge pull request #36166 from nextcloud/fix/php82/declare-symfony-console-application-property
fix(PHP8.2): Declare Symfony Application property in console application
2023-01-17 18:25:56 +01:00
John Molakvoæ 61446933e0 Fix failed revert for #35071
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-17 14:21:11 +01:00
John Molakvoæ 9af7ee8d11 Revert "Add alt to the logo, adapt css for logo"
This reverts commit bba5ab0532.
2023-01-17 14:19:23 +01:00
John Molakvoæ 6e53aacd86 chore(3rdparty): Bump guzzlehttp/guzzle from 7.2.0 to 7.5.0 and
egulias/email-validator from 3.2.1 to 3.2.5

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-17 11:33:30 +01:00
Nextcloud bot 7ab34eefc5 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-17 02:26:53 +00:00
Joas Schilling 614e3e2969 Merge pull request #36094 from nextcloud/bugfix/noid/user-info-api-exclude-storage
Only expose storage location to admins
2023-01-16 22:27:37 +01:00
Joas Schilling 7f81ce5547 Merge pull request #36093 from nextcloud/techdebt/noid/improve-share-pw-generation
Improve password generation for link shares
2023-01-16 22:26:42 +01:00
Vincent Petry 018a597d9b Merge pull request #36161 from nextcloud/bugfix/36153/fix-sharemount-cache-key-include-target
still include the share target in the cache key for validating share mount
2023-01-16 15:25:12 +01:00
Vincent Petry bfcb2690a4 Merge pull request #36087 from nextcloud/enh/noid/improve-applicable-ext-storage
Improve saving applicable users in ext storage
2023-01-16 15:08:19 +01:00
Christoph Wurst e2f4110a3f fix(PHP8.2): Declare Symfony Application property in console application
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-16 14:55:16 +01:00
Vincent Petry e9f7ea11bb Improve password generation for link shares
Use web crypto when generating password for link shares
whenever the password policy app is disabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-16 14:35:08 +01:00
Vincent Petry f0b9b6ebaa Merge pull request #36089 from nextcloud/enh/noid/ext-storage-default-values
Ext storage configs default value support + enable SSL by default
2023-01-16 14:22:16 +01:00
Vincent Petry 60eac3fec5 Merge pull request #36113 from nextcloud/bugfix/noid/viewonly-versions
Extend ViewOnly DAV plugin to versions endpoint
2023-01-16 14:09:55 +01:00
Julius Härtl 8557c61389 Merge pull request #35970 from nextcloud/perf/noid/exception-serializer 2023-01-16 14:00:57 +01:00
Robin Appelman c105b6a85d still include the share target in the cache key for validating share mount
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-16 13:09:50 +01:00
Côme Chilliet 052f09633b Merge pull request #36115 from nextcloud/fix/catch-exception-in-provisioning_api
Catch Exceptions when loading storage data of users
2023-01-16 11:40:51 +01:00
blizzz dbfe7b1816 Merge pull request #36073 from nextcloud/fix/fix-background-job-list
Use a Generator for job list to fix background-job:list command
2023-01-16 11:10:10 +01:00
Julius Härtl cf1bd0eb70 chore: Add typings to Log properties
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 09:47:31 +01:00
Julius Härtl 7daa20d309 fix(ExceptionSerializer): encode arguments before filtering the trace
This will avoid running into a Nesting level too deep error as the
encodeArg calls will limit potential recursive calls on the arguments to
a nesting level of 5

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 09:47:31 +01:00
Julius Härtl 00b7575c89 perf(logging): Return early when log level does not match before serializing an exception
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 09:47:31 +01:00
Côme Chilliet 5e090d044d Merge pull request #36075 from fmenabe/s3-storage-class
Add support for s3 storage classes
2023-01-16 09:43:53 +01:00
Nextcloud bot 269bcdc17a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-16 02:24:58 +00:00
Nextcloud bot 4267698115 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-15 02:24:46 +00:00
Nextcloud bot 5866418098 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-14 02:26:37 +00:00
Pytal 72fa249778 Merge pull request #35637 from nextcloud/enh/a11y-contacts-menu 2023-01-13 15:57:49 -08:00
Christopher Ng f6aa5224c4 Focus trap contacts menu with NcHeaderMenu port
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-13 23:19:28 +00:00
Daniel f7ff54860b Merge pull request #36137 from nextcloud/dependabot/composer/nikic/php-parser-4.15.2
chore: bump nikic/php-parser from 4.10.5 to 4.15.2
2023-01-13 16:29:42 +01:00
Daniel Kesselberg 6f8ea702b9 chore: bump nikic/php-parser from 4.10.5 to 4.15.2
- [ ] Merge https://github.com/nextcloud/3rdparty/pull/1275
- [ ] Rebase

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-13 15:07:14 +01:00
Joas Schilling ea85fea194 Merge pull request #36136 from nextcloud/bugfix/noid/add-color-to-acceptance-tests-output
feat(CI): Enforce colored output for acceptance tests on drone CI
2023-01-13 14:26:50 +01:00
Joas Schilling 238e9cf3a8 feat(CI): Enforce colored output for acceptance tests on drone CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-13 11:31:13 +01:00
Vincent Petry 6d0f80c253 Merge pull request #36124 from nextcloud/bugfix/noid/add-color-to-integration-tests-output
feat(CI): Enforce colored output for behat on drone CI
2023-01-13 11:30:13 +01:00
blizzz 2db1e75be2 Merge pull request #36067 from nextcloud/enh/noid/spaces-are-allowed-in-userids
spaces are allowed in userids
2023-01-13 10:45:27 +01:00
Vincent Petry c24884d014 Only expose storage location to admins
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-13 10:31:19 +01:00
Vincent Petry 4e179e0e07 Enable SSL by default in ext storage configs
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-13 10:27:17 +01:00
Vincent Petry a0f70988f4 Extend ext storage params to contain default value
Extend the external storage configuration parameters definition to allow
to specify a default value

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-13 10:27:17 +01:00
Vincent Petry ecf6b7667b Extend ViewOnly DAV plugin to versions endpoint
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-13 09:27:16 +00:00
Vincent Petry b88864b899 Merge pull request #36130 from nextcloud/enh/a11y-share-link-label
Add always visible share label
2023-01-13 10:22:12 +01:00
Joas Schilling 97e83c31b4 Merge pull request #36131 from nextcloud/revert/32057
Revert "Fix sync errors for card creation with the same uri from different sources"
2023-01-13 09:08:35 +01:00
John Molakvoæ 62476a3691 Merge pull request #36121 from nextcloud/bugfix/noid/allow-keyup-enter-in-user-status
Allow keyup enter in user status
2023-01-13 07:34:09 +01:00
Nextcloud bot 9c01fed263 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-13 02:26:35 +00:00
Christopher Ng e6f4705920 Revert "Fix sync errors for duplicate cards with the same UID for different backends"
This reverts commit ddcee3dbab.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-13 02:11:09 +00:00
Christopher Ng 41d7f9dff2 Add visible share label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-12 22:42:40 +00:00
Pytal bec52be8ed Merge pull request #36056 from nextcloud/enh/a11y-share-link-index
Differentiate share links
2023-01-12 14:33:30 -08:00
Simon L cc54a81b16 address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-12 23:02:59 +01:00
Christopher Ng f09300b343 Differentiate share links
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-12 17:23:47 +00:00
Côme Chilliet 1de26c84dd Tear down in catch of an Exception
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:54:55 +01:00
Joas Schilling c1e500b0e0 feat(CI): Enforce colored output for behat on drone CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-12 17:39:06 +01:00
Robin Appelman 975becb22e normalize userid in user:setting
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-12 17:33:03 +01:00
Côme Chilliet d74044f634 Fix API breakage by using a new method instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:18:59 +01:00
Côme Chilliet e74f464662 Remove deprecated method getAll instead of breaking API on deprecated method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:13:08 +01:00
Joas Schilling 19aa254bb9 chore(js): Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-12 17:04:51 +01:00
Joas Schilling 5506229d76 fix(user_status): Allow to use enter to complete characters without automatically closing the modal
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-12 16:57:37 +01:00
François Ménabé 710f3fd405 Support of s3 storage class in External Storage application
Signed-off-by: François Ménabé <francois.menabe@gmail.com>
2023-01-12 14:59:13 +01:00
François Ménabé cf9bdc0274 Manage s3 storage class in objectstore
Signed-off-by: François Ménabé <francois.menabe@gmail.com>
2023-01-12 14:58:27 +01:00
Côme Chilliet 4edb96080d Catch Exceptions when loading storage data of users
This avoids having the whole userlist crashing because a user external
 storage fails to load. With this change only the problematic user
 storage/quota information will be empty.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 12:01:21 +01:00
John Molakvoæ d389b54e2a Merge pull request #36109 from nextcloud/deps/nextcloud/vue-7.4.0-beta.1
Bump @nextcloud/vue, @nextcloud/l10n and @nextcloud/calendar-availability
2023-01-12 11:44:09 +01:00
Côme Chilliet 75fca38e66 Fix BackgroundJob list tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 11:40:18 +01:00
Julius Härtl 19e521e3cc Merge pull request #35844 from nextcloud/debt/noid/add-explanation-for-get-new-preview-locations
doc: add description how BackgroundCleanupJob.getNewPreviewLocations works
2023-01-12 11:19:04 +01:00
Christopher Ng 3d7a027ad8 Bump @nextcloud/vue, @nextcloud/l10n and @nextcloud/calendar-availability-vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-12 10:22:25 +01:00
Vincent Petry 4f35cd5ebf Improve saving applicable users in ext storage
Added a checkbox to prevent saving "All users" by mistake and giving
access to everyone when not wanted.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-12 10:13:12 +01:00
Nextcloud bot dc7e2fbe48 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-12 02:24:43 +00:00
Simon L 69ef1bc7aa Merge pull request #36054 from nextcloud/Valdnet-patch-4
l10n: Change to uppercase
2023-01-12 00:01:37 +01:00
Pytal e532e035a4 Merge pull request #36108 from nextcloud/deps/nextcloud/logger-2.5.0
Bump @nextcloud/logger to 2.5.0
2023-01-11 13:32:28 -08:00
Christopher Ng 38a313d9e1 Bump @nextcloud/logger to 2.5.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-11 19:51:38 +00:00
Vincent Petry c2165b84e6 Merge pull request #36001 from nextcloud/validate-user-tz
Validate user timezone given from login data before saving it
2023-01-11 19:53:37 +01:00
Vincent Petry dc4c3bc8bc Merge pull request #36095 from nextcloud/bugfix/noid/theming-limit-key
Limit key names when uploading theme images
2023-01-11 19:49:17 +01:00
Julius Härtl 72e8e36545 Merge pull request #35739 from nextcloud/logical-operators
Switch logical operators
2023-01-11 19:10:49 +01:00
John Molakvoæ 1e8c901f91 Merge pull request #36077 from nextcloud/enh/compress-sass-output
Compress SASS output
2023-01-11 19:04:29 +01:00
Christopher Ng 8700730204 Compress SASS output
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-11 17:46:32 +00:00
Git'Fellow e855298b3c Switch logical operators
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-01-11 16:27:33 +00:00
Robin Appelman ac5cfd10e2 extend path-prefix optimizer to remove all cases of path_hash= when encountering a path prefix filter
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-11 16:38:41 +01:00
Vincent Petry 6e75931412 Limit key names when uploading theme images
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-11 16:16:44 +01:00
Julia Kirschenheuter 8393ae2777 Merge pull request #35901 from nextcloud/fix/35886-Replace_custom_tooltips_with_native_one_for_personal_and_administration_settings
Replace custom tooltips with native tooltips in personal and administration settings
2023-01-11 15:22:37 +01:00
julia.kirschenheuter 087f445499 Replace custom tooltips with native tooltips
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-11 14:22:47 +01:00
Julia Kirschenheuter 9bddc38f19 Merge pull request #35893 from nextcloud/fix/35888-Replace_custom_tooltips_with_native_one_for_Users_page
Replace custom tooltips with native ones in users page
2023-01-11 13:05:19 +01:00
Daniel 8af0c99ce4 Merge pull request #36006 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-01-11 12:47:20 +01:00
Julien Veyssier b82db5fd5f Merge pull request #36071 from nextcloud/enh/36043/improve-link-reference-content-type-check
improve link reference content-type check
2023-01-11 11:02:38 +01:00
julia.kirschenheuter 1935828941 Replace custom tooltips with native ones in users page
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-11 10:07:22 +01:00
Vincent Petry afa2953e67 Merge pull request #36074 from nextcloud/fix/share-password
Fix inability to re-enter share password after invalid input
2023-01-11 09:26:29 +01:00
Vincent Petry a9f92b69d9 Merge pull request #36069 from nextcloud/fix/fix-theming-repair-step
Fix theming migration repair step by passing correct type for argument
2023-01-11 09:15:01 +01:00
Vincent Petry 06b1adf9bb Merge pull request #35903 from nextcloud/fix/35887-Replace_custom_tooltips_with_native_one_for_Apps_page
Replace custom tooltips with native ones in apps page
2023-01-11 09:12:21 +01:00
Joas Schilling 7f1e7815e9 Merge pull request #36058 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] Update ca-cert bundle
2023-01-11 08:31:42 +01:00
nextcloud-command d4a98ecc43 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-01-11 04:30:35 +00:00
nextcloud-command 3d8e0a18b4 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-01-11 04:30:21 +00:00
Nextcloud bot 380e5a4ee1 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-11 02:24:41 +00:00
Simon L 4014d4d0ff Merge pull request #36065 from nextcloud/enh/noid/login-remove-js-nav
Remove js navigation on alternative login click
2023-01-11 00:41:57 +01:00
Christopher Ng de7b7d3313 Fix inability to re-enter share password after invalid input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-10 19:51:14 +00:00
Côme Chilliet 679682c186 Use a Generator for job list to fix background-job:list command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-10 18:20:31 +01:00
Julien Veyssier f0589523c8 improve link reference content-type check, accept 'text/html;*'
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-10 16:17:52 +01:00
Joas Schilling fc096ae9db Merge pull request #36048 from nextcloud/bugfix/36046/only-verify-the-same-hash-once
fix(authentication): Only verify each hash once
2023-01-10 15:40:11 +01:00
Côme Chilliet 09099cfaec Fix theming migration repair step by passing correct type for argument
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-10 14:59:43 +01:00
Simon L 65fd24d5ae Merge pull request #36063 from nextcloud/rakekniven-patch-1
l10n: Fixed typo
2023-01-10 14:57:23 +01:00
julia.kirschenheuter 36b2f6c12e Replace custom tooltips with native ones in apps page
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-10 14:25:05 +01:00
zorn-v 2bcf94a88a Remove js navigation on alternative login click
Signed-off-by: zorn-v <zorn7@yandex.ru>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-10 12:52:10 +00:00
Simon L 7271ec7acf spaces are allowed in userids
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-10 13:25:27 +01:00
Alex Harpin 644df591b1 Rename canInstallExists method and add new method for removal
Rename canInstallExists to shouldRemoveCanInstallFile to cover removal of this file for non-git channels and logging any failure to remove it.

Add new method to detect if this file exists during web based installation.

Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
2023-01-10 11:59:06 +00:00
Alex Harpin d5b52ddd21 Log a warning to CLI install command if CAN_INSTALL is not removed
Log a warning for the CLI install command if the CAN_INSTALL file still exists at the end of the installation.  This matches the warning logged by the web installer.

Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
2023-01-10 11:59:06 +00:00
Alex Harpin 72af140723 Move CAN_INSTALL check to method and remove unlink from SetupController
Move the check for the CAN_INSTALL file in the config directory to a method in the Setup class and remove the call to unlink from the SetupController as this in now handled in the Setup class.

Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
2023-01-10 11:59:06 +00:00
Alex Harpin 467c8a9d78 Remove the CAN_INSTALL file when occ maintenance:install is complete
When occ maintenance:install is run from the CLI, the CAN_INSTALL in the config directory is left in place when installed is set to true, whereas this file is removed when the web installer is used.  Removing this file in the CLI command maintains consistency between the two.  This allows automation tools an easier way to determine if this process has been completed.

Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
2023-01-10 11:59:05 +00:00
Vincent Petry 10cca65ba6 Merge pull request #36052 from nextcloud/share-mount-check-cache-key-test
add test for shared mount conflict resolution
2023-01-10 12:39:53 +01:00
Vincent Petry 0c37d059dc Merge pull request #35964 from nextcloud/IMigrationStep-fix
IMigrationStep progress bar fix
2023-01-10 12:39:31 +01:00
Julius Härtl 32e691f2f6 Merge pull request #35966 from nextcloud/chore/remove-deprecated-dashboard 2023-01-10 12:08:52 +01:00
rakekniven 17e5d0b985 l10n: Fixed typo
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-10 11:00:02 +00:00
Vincent Petry 4ecf4b4642 Merge pull request #35980 from nextcloud/remove-legacy-ajax-list
Remove unused legacy ajax/list.php in files app
2023-01-10 10:41:04 +01:00
Côme Chilliet 95520bc467 Merge pull request #36026 from nextcloud/fix/remove-at-matcher-in-dav
Get rid of deprecated at matcher in dav application tests
2023-01-10 10:18:50 +01:00
Nextcloud bot 1cfea13e94 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-10 02:24:52 +00:00
Valdnet 27b4b7346c l10n: Change to uppercase
This is the application name, which should be capitalized.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-09 20:58:34 +00:00
Joas Schilling 2fb4dac7ad fix(authentication): Update the token when the hash is null or can not be verified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 16:32:36 +01:00
Joas Schilling 28b18d561c fix(authentication): Only hash the new password when needed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 15:58:26 +01:00
Robin Appelman 6fcc1f5684 add test for shared mount conflict resolution
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-09 15:30:45 +01:00
Vincent Petry 42d9e087fb Remove unused legacy ajax/list.php in files app
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-09 15:18:37 +01:00
Vincent Petry 79f1c30a31 Merge pull request #36043 from nextcloud/fix/36042/link-reference-less-strict-content-type-check
Link reference provider: Improve content-type check
2023-01-09 15:13:29 +01:00
Joas Schilling c5bb19641c fix(authentication): Invert the logic to the original intention
We need to store the new authentication details when the hash did **not** verify
the old password.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 15:13:08 +01:00
Vincent Petry 10ab0f2280 Merge pull request #36047 from nextcloud/share-mount-check-cache-key
fix cache key used to verify shared mountpoints
2023-01-09 15:11:47 +01:00
Joas Schilling 55d8aec759 fix(authentication): Only verify each hash once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 14:53:12 +01:00
Robin Appelman 927174e325 fix cache key used to verify shared mountpoints
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-09 13:48:44 +01:00
Julia Kirschenheuter 3892c3edc9 Merge pull request #35655 from nextcloud/enh/35654-Replace_custom_tooltips_with_native_one_for_files_sharing
Replace custom tooltips with native one in vue components and views
2023-01-09 11:21:09 +01:00
Julien Veyssier b07adddf39 in the link reference provider, check if the link content type begins with text/html
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-09 11:08:56 +01:00
Nextcloud bot ff0a32f70f Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-09 02:24:48 +00:00
Nextcloud bot 0489921f3f Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-08 02:24:44 +00:00
Nextcloud bot 484f2fd5cc Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-07 02:24:09 +00:00
Simon L 0a85829138 Merge pull request #36027 from nextcloud/bug/noid/toggle-grid-invisible-sidebar-open
fix: show toggle grid view button with open sidebar
2023-01-06 11:14:02 +01:00
Nextcloud bot d4a8cce174 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-06 02:24:57 +00:00
Louis c16f59379b Merge pull request #36024 from nextcloud/artonge/fix/file_list_scroll_while_dragging
Fix scrolling while dragging in file list view
2023-01-05 21:35:09 +01:00
Daniel Kesselberg 2a24c05b7b fix: show toggle grid view button with open sidebar
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-05 19:42:52 +01:00
Côme Chilliet 574c6770d1 Get rid of deprecated at matcher in dav application tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-05 18:28:07 +01:00
Louis Chemineau 4236ee2485 Fix scrolling while dragging in file list view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-05 17:20:18 +01:00
Simon L a36848ce7f Merge pull request #36016 from nextcloud/enh/noid/opengraph-link-reference-limits
Add restrictions when downloading to resolve with opengraph link provider
2023-01-05 16:01:14 +01:00
John Molakvoæ c2b6922c33 Merge pull request #35973 from nextcloud/fix/hook-into-event-lifecycle
Hook into sabre event lifecycle for iMip Messages
2023-01-05 15:47:29 +01:00
John Molakvoæ 4cda13255d Merge pull request #32057 from nextcloud/fix/make-UID-more-unique-for-systemaddressbook
Fix sync errors for card creation with the same uri from different sources
2023-01-05 15:44:37 +01:00
Joas Schilling adef2b85c8 Merge pull request #36015 from nextcloud/techdebt/36014/fix-image-optimization
fix(CI): Check for the image-optimization binaries we want to use
2023-01-05 13:21:12 +01:00
Anna Larch ddcee3dbab Fix sync errors for duplicate cards with the same UID for different backends
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-01-05 12:19:51 +00:00
Joas Schilling 2171e37b7d Merge pull request #36011 from nextcloud/bugfix/noid/fix-mail-icon
fix(ui): Fix SVG mail icon missing width/height
2023-01-05 12:54:26 +01:00
Julien Veyssier 552611d341 add restrictions on content-type and content-size when downloading to resolve with opengraph link provider
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-05 12:36:11 +01:00
Anna Larch d58ecdcfad Hook into sabre event lifecycle for iMip Messages
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-01-05 11:55:26 +01:00
Joas Schilling e035c659a5 fix(CI): Check for the binaries we want to use
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-05 11:37:49 +01:00
Joas Schilling 7b47b85551 fix(ui): Fix and optimize more SVGs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-05 11:01:14 +01:00
Joas Schilling d056fcb978 fix(ui): Fix SVG mail icon missing width and height
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-05 10:41:15 +01:00
John Molakvoæ 0e6a8d72f8 Merge pull request #36008 from nextcloud/bugfix/noid/files-routes 2023-01-05 10:31:33 +01:00
Simon L b3b941b136 Merge pull request #36005 from nextcloud/fix/default-phone-region
Fix default phone region validation
2023-01-05 10:10:03 +01:00
julia.kirschenheuter 1063fbcb10 Replace custom tooltips with native one in vue components and views
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-05 08:57:58 +01:00
Julius Härtl dbf6f4c81b fix(files): Make sure that static routes on /apps/files still work
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-05 08:10:33 +01:00
Julius Härtl 18164ae516 Merge pull request #33898 from nextcloud/fix/authtoken-password-update
PublickKeyTokenProvider: Fix password update routine with password hash
2023-01-05 08:01:47 +01:00
Joas Schilling 77c016b9eb Merge pull request #35667 from nextcloud/allow-target-blank-in-app-navigation
Allow target="_blank" in apps navigation items
2023-01-05 07:39:00 +01:00
Joas Schilling 5bcc277c86 Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-05 07:14:20 +01:00
Thomas Citharel 56c5273206 Allow target="_blank" in app navigation items
Which was removed in the Vue rewrite in #33728. This breaks things like https://github.com/nextcloud/external/issues/79

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-05 07:13:50 +01:00
Joas Schilling 4670c5b38f Merge pull request #35981 from nextcloud/followup/35965/const-for-max-password-length
Add a const for the max user password length
2023-01-05 06:31:32 +01:00
Joas Schilling 411754a12a Merge pull request #35979 from nextcloud/feature/talk-4657/show-local-time-in-avatar-menu
Show local time in avatar menu
2023-01-05 06:30:44 +01:00
Nextcloud bot 8162008672 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-05 02:24:26 +00:00
Pytal 8112c3d31a Merge pull request #35996 from nextcloud/update-nc-vue-7.3.0
Bump @nextcloud/vue from 7.2.0 to 7.3.0
2023-01-04 17:59:23 -08:00
Vincent Petry 6f5b8a41a2 Bump @nextcloud/vue from 7.2.0 to 7.3.0
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-05 00:40:02 +00:00
Christopher Ng 4c111845e8 Fix default phone region validation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-05 00:26:34 +00:00
Anna 74a0ac8854 Merge pull request #34865 from nextcloud/enh/log-log-itip-message-response
Add logging to Scheduling Plugin
2023-01-04 23:20:56 +01:00
Simon L fec5735fa0 Merge pull request #36000 from nextcloud/remove-jstz
Remove jstz usage from server
2023-01-04 22:40:34 +01:00
Thomas Citharel ab6e7d33f8 Remove jstz usage from server
Every proper browser has this kind of data now, with more up-to-date
data than what's inside this package, which hasn't been updated in 3
years.

https://github.com/pellepim/jstimezonedetect/issues/6
https://github.com/pellepim/jstimezonedetect/issues/9

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-04 17:40:40 +00:00
Thomas Citharel 6b7da88b0b Validate user timezone given from login data before saving it
Follow-up to #36000

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-04 18:13:25 +01:00
John Molakvoæ e235c6438c Merge pull request #35772 from nextcloud/feat/files2vue-navigation
Port Files navigation to vue
2023-01-04 17:54:08 +01:00
Anna Larch 05f2dc68fc [WIP] Add logging to Scheduling Plugin
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-01-04 16:58:00 +01:00
John Molakvoæ 62497323ed feat(files): Add clipboard copy to webdav url in files settings
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:17 +01:00
John Molakvoæ 811ba0bd3b fix(files): Settings & cypress fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:17 +01:00
John Molakvoæ b9d3e17bce Hide settings when empty
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:17 +01:00
John Molakvoæ 7339355dde Fix favourite opening
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:16 +01:00
John Molakvoæ e2da30a0c5 Add component testing workflow
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:16 +01:00
John Molakvoæ 0a3ef8b74b Fixing tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:16 +01:00
John Molakvoæ 5b9a8f0407 Add component testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:14 +01:00
John Molakvoæ 8f1bf13ae3 Fix preview crop
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:54 +01:00
John Molakvoæ 5c987a0ff4 Port settings to Modal
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:52 +01:00
John Molakvoæ 887c9e05de Port Files navigation to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:41 +01:00
Vincent Petry 36b6a7c771 Merge pull request #35975 from nextcloud/updateCrl
Update crl after revoke files_bpm.csr
2023-01-04 16:28:11 +01:00
Joas Schilling 97e33c2bd4 Fix unit tests of the ActionProviderStore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 16:17:43 +01:00
Vincent Petry e0a572afc3 Merge pull request #35987 from nextcloud/audit-fix-json5
Bump json5 from 1.0.1-1.0.2 and 2.2.0-2.2.3
2023-01-04 16:16:21 +01:00
Joas Schilling a8d637524f Merge pull request #35941 from nextcloud/CarlSchwan-patch-1
Remove myself from being codeowner of some modules
2023-01-04 16:08:11 +01:00
Vincent Petry 1b4d34f8fd Bump json5 from 1.0.1-1.0.2 and 2.2.0-2.2.3
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-04 14:08:55 +01:00
John Molakvoæ e731a36bb3 Merge pull request #35978 from nextcloud/bugfix/noid/fix-user-status-icon-in-avatar-menu 2023-01-04 13:25:37 +01:00
Vincent Petry 7e58906a85 Merge pull request #35972 from nextcloud/fix/34777/improve-app-sidebar
appsidebar should be compact when opened on small heights
2023-01-04 12:46:35 +01:00
Simon L 926546333c Merge pull request #35974 from CaptainSifff/master
elaborate on what is required for using the tempdirectory setting of nextcloud
2023-01-04 12:14:08 +01:00
CaptainSifff 328c4cdbb5 Update config/config.sample.php: fix typos.
Co-authored-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: CaptainSifff <CaptainSifff@gmx.de>
2023-01-04 11:41:00 +01:00
Joas Schilling b4a29644cc Add a const for the max user password length
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:23:43 +01:00
Joas Schilling a4fec95e57 Fix user status icon in avatar menu
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:13:06 +01:00
Joas Schilling 8eca26012f Show local time in avatar menu
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:09:58 +01:00
Simon L 088e9b0feb appsidebar should be compact when opened on small heights
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-04 09:17:30 +00:00
Joas Schilling ce50acd9b2 Merge pull request #35965 from nextcloud/bugfix/noid/limit-length-when-reseting-password
Also limit the password length on reset
2023-01-04 09:51:54 +01:00
Joas Schilling c8160a6150 Merge pull request #35873 from leegarrett/35830_lgarrett
Implement occ status command via return codes v2 (Fixes: #35704)
2023-01-04 09:51:12 +01:00
Joas Schilling 348454cb91 Merge pull request #35876 from bennet0496/patch-mail-header
Adding option to set Auto-Submitted email header
2023-01-04 09:34:14 +01:00
Julius Härtl bd6ac2841d chore(version): Bump dev version to trigger database migration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-04 08:30:53 +01:00
Marcel Klehr adfe367106 PublickKeyTokenProvider: Fix password update routine with password hash
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-01-04 08:30:53 +01:00
Vitor Mattos 4dd41b98f0 Update crl after revoke files_bpm.csr
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-04 02:48:28 +00:00
Florian Goth 1e9e7d6283 elaborate on what is required for using the tempdirectory setting of nextcloud
Signed-off-by: Florian Goth <fgoth@physik.uni-wuerzburg.de>
2023-01-04 01:14:40 +01:00
Simon L b37a4950e4 Merge pull request #35969 from bbx-github/patch-1
fix link to documentation of php function
2023-01-03 20:32:49 +01:00
Julius Härtl 5b67b92f73 chore(OCP): Remove deprecated dashboard interfaces and classes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-03 20:18:23 +01:00
bbx-github 08f9d71449 fix link to documentation of php function
Signed-off-by: bbx-github <53237674+bbx-github@users.noreply.github.com>
2023-01-03 18:31:05 +01:00
Joas Schilling 9cfaf27142 Also limit the password length on reset
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-03 16:36:01 +01:00
Git'Fellow 8eda4ddc9e IMigrationStep progress bar fix
Context here: https://github.com/nextcloud/server/issues/35960

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-01-03 16:32:44 +01:00
Bennet Becker c8bde160cd fix missing class in NewUserMailHelper and static code analysis errors
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 16:23:41 +01:00
Daniel Kesselberg 71a6030706 docs: add description how BackgroundCleanupJob.getNewPreviewLocations works
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-03 16:03:02 +01:00
Joas Schilling 2c1a811e27 No output by default when --exit-code is used
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-03 15:43:25 +01:00
Bennet Becker 5a1cc8de9b update usages of AutoSubmittedValue to AutoSubmitted::VALUE_
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 15:28:43 +01:00
Bennet Becker bd846df699 updating autoloader files
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 15:16:05 +01:00
Bennet Becker 4dc0957164 refactor AutoSubmittedValue to Headers\AutoSubmitted and adding
header name to constants

Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 15:15:35 +01:00
Côme Chilliet 06da8adcd3 Merge pull request #35943 from nextcloud/fix/code-fixes-from-34997
Code fixes from PR 34997
2023-01-03 14:32:31 +01:00
Vincent Petry 4e877b7ff1 Merge pull request #35957 from nextcloud/bugfix/noid/improve-rate-limit-in-github-actions
chore(CI): Improve rate limit situation when installing phpunit
2023-01-03 14:14:36 +01:00
Joas Schilling b956b0e8c0 Merge pull request #35956 from nextcloud/docs/ipv6-cidr
docs: trusted_proxies support IPv6 ranges
2023-01-03 14:05:25 +01:00
EWouters 3a9173cbac [Fix]: scan-app-data conversion
Adapted from sugestions by @Hiyoal in #34283 and @st3iny in #35935.

See https://github.com/nextcloud/server/issues/34283#issuecomment-1288075064
and https://github.com/nextcloud/server/pull/35935#discussion_r1059905594.

Closes #34283.

Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: EWouters <6179932+EWouters@users.noreply.github.com>
2023-01-03 13:52:34 +01:00
Joas Schilling 48d6000468 chore(CI): Improve rate limit situation when installing phpunit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-03 13:33:49 +01:00
Joas Schilling 8e1f742355 Print output also with status code
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-03 12:47:58 +01:00
Daniel Kesselberg a1fef7bbe4 docs: trusted_proxies support IPv6 ranges
Support for IPv6 ranges was added by https://github.com/nextcloud/server/pull/32615

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-03 12:17:21 +01:00
Lee Garrett fba906e34a Implement occ status command via return codes (Fixes: #35704)
Running `./occ status -e` will produce any output. However, it will:

exit 0 during normal operation,
exit 1 when in maintenance mode,
exit 2 when `./occ upgrade` is needed.

Signed-off-by: Lee Garrett <lgarrett@rocketjump.eu>
2023-01-03 10:58:07 +01:00
Joas Schilling 961dcdd255 Merge pull request #35939 from nextcloud/bugfix/noid/update-status-dashboard-widget
Update the user status dashboard widget and fix the icon color
2023-01-02 16:38:05 +01:00
Julien Veyssier 67845dd37e Merge pull request #35820 from nextcloud/enh/noid/wording-new-app-password-activity
Avoid using the word 'password' in the APP_TOKEN_CREATED activity
2023-01-02 16:31:28 +01:00
Côme Chilliet a7740c0ae6 Suppress last psalm error until upstream fix is released and included
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:17:38 +01:00
Côme Chilliet b843d09810 Fix typing errors in settings tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:13:00 +01:00
Côme Chilliet 61895e9c79 Fix files_external tests with phpunit 9
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:12:01 +01:00
Côme Chilliet 3c0b1bdc30 Remove redundant cast to string in user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:11:13 +01:00
Côme Chilliet e4a780127d Small fix in OC_API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:05:18 +01:00
Côme Chilliet a372564850 Fix psalm spotted errors with new requirements
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:02:28 +01:00
Julius Härtl 8f7996fb1b Merge pull request #28117 from nextcloud/bugfix/noid/dav-checksum-values
Align checksum dav property with desktop client parsing
2023-01-02 13:38:04 +01:00
Carl Schwan 00b6cf9d2e Remove myself from being codeowner of some modules
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-01-02 12:37:30 +01:00
Joas Schilling f998fe0af3 Update the user status dashboard widget and fix the icon color
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-02 11:38:27 +01:00
Julien Veyssier 64925eca58 avoid using the word 'password' in the APP_TOKEN_CREATED activity
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-02 10:40:08 +01:00
Nextcloud bot e4e20bf40a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-31 02:50:54 +00:00
Julius Härtl b8046e2ba4 Align checksum dav property with desktop client parsing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-30 16:55:35 +01:00
John Molakvoæ 21254b02eb fix(actions): php-lint
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-12-30 11:05:32 +01:00
John Molakvoæ 0459f58a03 Merge pull request #35911 from nextcloud/fix/workflows-8.0
chore(actions): update php min supported to 8.0
2022-12-30 11:03:38 +01:00
John Molakvoæ 3c23604834 chore(actions): bring back php 8.2 lint
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-12-30 10:30:49 +01:00
Simon L 9cef2c0745 Merge pull request #35913 from nextcloud/revert-35891-fix/34755/disable-setimageformat
Revert "avatar generation - disable setimageformat"
2022-12-29 13:53:24 +01:00
Côme Chilliet 9430899f16 Fix psalm issues related to signature changes from PHP 8.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-29 12:36:34 +01:00
Simon L f57a810276 Revert "avatar generation - disable setimageformat"
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-29 11:06:22 +01:00
John Molakvoæ e6b56a425b 8.2 is not supported yet
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-29 10:51:07 +01:00
John Molakvoæ eab9ed6e09 fix(actions): Update psalm github action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-29 10:46:48 +01:00
John Molakvoæ 0dc1aef292 chore(actions): update php min supported to 8.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-29 10:37:27 +01:00
John Molakvoæ 0558f4cb26 Merge pull request #35912 from nextcloud/fix/lockfile
chore(npm): fix lockfile
2022-12-29 10:36:26 +01:00
John Molakvoæ 40dc70429d chore(npm): fix lockfile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-29 09:31:01 +00:00
Nextcloud bot 00e14d0f6a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-29 03:10:11 +00:00
Simon L 65995ea95a Merge pull request #35881 from nextcloud/dev/fix-config-template
improve sample.config.php parameter descriptions
2022-12-28 14:17:29 +01:00
Simon L 84cec5b55e Merge pull request #35897 from nextcloud/fix/35896/fix-video-fullscreen
fix video fullscreen on public page
2022-12-28 14:16:21 +01:00
Christian Wolf 6638185eae Fix comments in sample config to be correctly marked as verbatim
The comments were not marked as verbatim and thus the Sphinx compiler to generate
the online admin manual interpreted backslashes as special chars. They disappeared
from the output.
By adding ``, it is marked as verbatim and the backslashes are not removed.

Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-12-28 09:06:33 +01:00
Simon L ccf19d67e4 Merge pull request #35870 from quentinguidee/refine-about-files
Refine file comments design
2022-12-28 03:59:50 +01:00
Simon L 6e3bb03733 fix video fullscreen on public page
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-27 15:52:25 +00:00
Simon L b90ccaac0f Merge pull request #35891 from nextcloud/fix/34755/disable-setimageformat
avatar generation - disable setimageformat
2022-12-27 16:11:12 +01:00
Louis 30d2088c12 Merge pull request #35889 from nextcloud/artonge/fix/checkout_branch_in_cypress_tests
Checkout current branch in cypress tests in CI
2022-12-27 14:32:46 +01:00
Simon L a0f21800fe avatar generation - disable setimageformat
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-27 13:25:04 +01:00
Louis Chemineau 7a73219412 Checkout current branch in cypress tests in CI
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-12-27 11:44:46 +01:00
Christian Wolf 6ae6615e1d Fix some issues that were not yet introduced in changes to sample config
This should not change anything but fix some documentation issues.
This change should not change anything in the implemenetation.

Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-12-27 11:26:52 +01:00
Christian Wolf 7e46f033b6 Reorder the sample config file in order to have a cleaner structure and better sectioning in the online manual
The change should only affect the conmments and reorder the config lines

Copy modifications from https://github.com/nextcloud/documentation/pull/9166 into sample config file

Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-12-27 10:01:05 +01:00
Nextcloud bot c31e0e3f45 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-27 02:47:03 +00:00
Bennet Becker 9d9a0b7e06 use constant as default value in value getter
Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-26 23:20:15 +01:00
Nextcloud bot 9d5dd77747 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-26 02:43:28 +00:00
Nextcloud bot 6765c3e0de Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-25 02:48:52 +00:00
Bennet Becker 04c3c87946 Revert "ran build/autoloaderchecker.sh after adding AutoSubmittedValue class"
This reverts commit 77569bae45.

Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-24 14:56:32 +01:00
Nextcloud bot 5256ba0f2d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-24 03:02:27 +00:00
Bennet Becker f5bf2517ca revert .htaccess to commit previous to PR
(was changed by autoloaderchecker.sh or composer?)

Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-23 22:27:33 +01:00
Bennet Becker 411467af57 fix static-analysis error and formatting code
Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-23 21:48:52 +01:00
Bennet B 4b992cdf7f Update PHPDoc annotation in lib/public/Mail/IMessage.php
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Bennet B <bennet0496@users.noreply.github.com>
2022-12-23 19:27:18 +01:00
Bennet Becker eec1ebb848 Updating unit test for NewUserMailHelper, to test for autosumbitted
header

Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:27:09 +01:00
Bennet Becker 77569bae45 ran build/autoloaderchecker.sh after adding AutoSubmittedValue class
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:58 +01:00
Bennet Becker c1c6d215c7 fix getAutoSubmitted return type and adding unit tests
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:49 +01:00
Bennet Becker 7a9f4fbbbe Setting Auto-Submitted header for calendar events and new user mail
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:38 +01:00
Bennet Becker b3d9b57815 Adding API method to set the Auto-Submitted header to OCP\Mail\IMessage
and implementation in OC\Mail\Message

Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:20 +01:00
Julia Kirschenheuter f176b3b3dd Merge pull request #35795 from nextcloud/enh/35770-Replace_custom_tooltips_with_native_one_for_files
Replace custom tooltips with native ones in files
2022-12-23 11:54:25 +01:00
Julia Kirschenheuter 99382a094c Merge pull request #35785 from nextcloud/enh/35654-js-files/replace_custom_tooltips_with_native_one_for_files_sharing
Replace custom tooltips with native one for files sharing
2022-12-23 10:07:46 +01:00
Nextcloud bot 945afd4432 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-23 03:04:48 +00:00
Quentin Guidée d5d804b47f Refine file comments design
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-12-22 11:04:35 -05:00
Julius Härtl 5b64b8119f Merge pull request #35866 from nextcloud/bugfix/noid/session-setup-followup
fix(session): Always setup the session if a session cookie is passed
2022-12-22 15:44:20 +01:00
Julius Härtl 628b0d8fc4 Merge pull request #35213 from PLUTEX/32611-ocs-api-share-permissions
Honor permissions of new link share via OCS API
2022-12-22 15:42:42 +01:00
julia.kirschenheuter 3485450b20 Replace custom tooltips with native ones in files
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2022-12-22 14:43:26 +01:00
julia.kirschenheuter a67c53af2b Replace custom tooltips with native ones in files_sharing
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2022-12-22 13:58:44 +01:00
Julius Härtl ff2b8ca8f5 Merge pull request #33708 from nextcloud/enh/guest-scss
Move guest.css to scss
2022-12-22 13:26:43 +01:00
Julius Härtl 842f4d530f fix(session): Always setup the session if a session cookie is passed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-22 11:33:23 +01:00
Julius Härtl d8ff113550 build(guests): update bundled css files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-22 10:48:41 +01:00
Julius Härtl 6ce89e1fac style(guests): move plain css to scss
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-22 10:48:41 +01:00
Julius Härtl 6a82e6528c style(guests): Rename guest.css to scss
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-22 10:48:21 +01:00
Simon L 5c4b4bde1b Merge pull request #35856 from nextcloud/enh/31284/improve-preview-max-memory
increase preview_max_memory and make it easier to debug
2022-12-22 10:24:09 +01:00
Julius Härtl 65a98f6349 Merge pull request #35761 from nextcloud/fix/remove-guests-comments
Remove comment and guests option from Invitations UI
2022-12-22 10:03:37 +01:00
Simon L d6070475b3 Merge pull request #35855 from nextcloud/debt/noid/hello-design-md
Add DESIGN.md to expected files
2022-12-22 09:54:32 +01:00
Simon L bfb3b2af9f increase preview_max_memory and make it easier to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-22 09:52:46 +01:00
Nextcloud bot 7284091779 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-22 02:55:56 +00:00
Julius Härtl d56ee818cc Merge pull request #28311 from nextcloud/enh/http-auth-session
Do not setup a session when not required on API requests
2022-12-21 22:57:31 +01:00
Julius Härtl 6abb37317f Do not setup a session when not required on WebDAV requests
If basic auth is used on WebDAV endpoints, we will not setup a session
by default but instead set a test cookie. Clients which handle session
cookies properly will send back the cookie then on the second request
and a session will be initialized which can be resued for
authentication.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-21 21:17:16 +01:00
Daniel Kesselberg b22e3078cb Add DESIGN.md to expected files
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-12-21 18:18:46 +01:00
Simon L c1a99ca58f Merge pull request #34623 from nextcloud/enh/update-behat
Update behat and friends
2022-12-21 18:16:21 +01:00
Daniel Kesselberg e2285acd04 Update behat and friends
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-12-21 15:27:59 +00:00
Julius Härtl cb086a02a9 Merge pull request #35846 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-12-21 16:00:15 +01:00
Vincent Petry fc22acba8e Merge pull request #35656 from fivenp/docs/add-design-contribution-guidelines
docs: add design contribution guidelines
2022-12-21 10:34:15 +01:00
Julius Härtl f562fc716a Merge pull request #35836 from nextcloud/fix/remove-other-share-when-deleted
fix: remove other shares from ui when deleted
2022-12-21 09:10:53 +01:00
nextcloud-command 7fe40d5e71 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-12-21 04:12:51 +00:00
Nextcloud bot 78d8723d0c Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-21 02:30:14 +00:00
Anna Larch e6f23f50df Remove comment and guests option from Invitations UI
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-12-20 16:31:06 +00:00
Vincent Petry 761221bc80 Merge pull request #35723 from nextcloud/bugfix/35708
fix: Make sure to reopen session before cleaning
2022-12-20 17:25:09 +01:00
Vincent Petry 13d5426893 Merge pull request #35839 from nextcloud/feat/user_ldap-longer-ttl-for-fallback
Apply a longer TTL of 15min to falling back on backup server
2022-12-20 17:19:56 +01:00
Vincent Petry 3bcbc4701a Merge pull request #34724 from nextcloud/encryption-read-before-cache
fix reading newly written encrypted files before their cache entry is written
2022-12-20 17:16:12 +01:00
Côme Chilliet f6ff717b56 Merge pull request #34772 from nextcloud/fix/clean-ldap-access-factory-usage
Make sure to use AccessFactory to create Access instances and use DI
2022-12-20 16:48:07 +01:00
Vincent Petry 1db0ddee3b Merge pull request #25768 from nextcloud/workflow-use-cache-for-mimetype
Use mimetype from cache for workflow checks
2022-12-20 15:56:17 +01:00
John Molakvoæ c21d3c037e Merge pull request #35769 from nextcloud/rakekniven-patch-1
l10n: Align notification messages for server version and apps
2022-12-20 14:59:15 +01:00
Robin Appelman cb4648df77 add some tests for mimetype check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-12-20 13:28:40 +01:00
Robin Appelman 83cc8202b8 remove file exists check from cacheAndReturnMimeType
the method is only called if the file exists already

a check against storing the fallback mimetype is added as a safety instead

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-12-20 13:28:40 +01:00
Robin Appelman c5a8246742 use mimetype from cache for workflow if available
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-12-20 13:28:33 +01:00
Côme Chilliet 1ac2c74830 Apply a longer TTL of 15min to falling back on backup server
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-20 12:01:25 +01:00
blizzz 4d0403009d Merge pull request #35229 from nextcloud/feat/user_ldap-specific-server-for-background
Use a dedicated LDAP host and port for background jobs if configured
2022-12-20 11:47:31 +01:00
Max 787262be4f fix: remove other shares from ui when deleted
Remove the share entry in question
when unsharing a folder
from within the `others with access` section
of a file within that folder.

Using the code from the ShareList view here as well.
Just copying the code here as this is a bugfix
that will need to be backported.

Signed-off-by: Max <max@nextcloud.com>
2022-12-20 11:34:08 +01:00
Côme Chilliet e50efc6f66 Merge pull request #35814 from nextcloud/fix/fix-parameter-type-setreadmarker
Fix parameter type for EntityCollection::setReadMarker in comments app
2022-12-20 11:04:18 +01:00
Christoph Wurst 8aca99cd80 Merge pull request #35545 from nextcloud/enh/enh-fix-styles-for-33741-Focused_item_overlaps_neighbor_elements_with_text_and_border
Add styles for #33741. Remove boards and add underlines.
2022-12-20 10:59:24 +01:00
julia.kirschenheuter 443206965d Change focused items behavior that neighbor elements (text and border) have no overlapping.
Add native tooltips to items.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-20 10:21:30 +01:00
rakekniven 384d7ec61e l10n: Align notification messages for server version and apps
Solution for #35768

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-12-20 09:19:14 +01:00
Joas Schilling 0af4e9d4fe Merge pull request #34172 from audriga/add-scim-json-support
Add support for application/scim+json
2022-12-20 08:58:33 +01:00
Vincent Petry fcf5789916 Merge pull request #35828 from nextcloud/fix/fix-oauth2-test-dynamic-property
Fix PHP error on PHP >= 8.2 about dynamic property use in tests
2022-12-20 08:45:12 +01:00
Nextcloud bot 7929e6d91d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-20 02:22:09 +00:00
Côme Chilliet 9b26c4a277 Fix PHP error on PHP >= 8.2 about dynamic property use in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 15:58:46 +01:00
Côme Chilliet f5b833845c Merge pull request #35813 from nextcloud/fix/bump-phpseclib/phpseclib-to-2.0.40-in-master
Bump phpseclib/phpseclib to 2.0.40 in master
2022-12-19 14:32:21 +01:00
Côme Chilliet d0fba09fae Update 3rdparty to master branch
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 14:31:31 +01:00
Côme Chilliet 6e22ba832d Merge pull request #35614 from nextcloud/fix/errorlog-array-to-string-conversion
Fix array to string conversion in errorlog writer
2022-12-19 14:17:39 +01:00
Côme Chilliet 6b7ffcd6a8 Fixed backup host logic
Now forcing backup host applies to both main and background.
And background will fallback to backup if not responding.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 14:15:48 +01:00
Côme Chilliet 406750552e Make code clearer for background host
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 14:15:48 +01:00
Côme Chilliet 4758bdc476 Use a dedicated LDAP host and port for background jobs if configured
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 14:15:46 +01:00
Côme Chilliet 75e369d306 Merge pull request #35231 from nextcloud/fix/user_ldap-cache-fetched-list-of-groups
Cache the fetched list of groups
2022-12-19 12:34:05 +01:00
Vincent Petry 1bae41ccec Merge pull request #33709 from nextcloud/enh/displayname-cache-getStorageInfo
Use display name cache on getStorageInfo
2022-12-19 12:07:43 +01:00
Côme Chilliet 723c1b8adc Fix user_ldap tests now that list of groups gets cached
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 11:59:45 +01:00
Côme Chilliet 1bc51a059b Fix parameter type for EntityCollection::setReadMarker in comments app
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 11:44:27 +01:00
Côme Chilliet 2d14bd828f Bump phpseclib/phpseclib to 2.0.40 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 11:22:46 +01:00
Julius Härtl 26e413b78d Merge pull request #35496 from nextcloud/fix/strict-typing-in-base 2022-12-19 11:05:02 +01:00
Côme Chilliet cbbb0712db Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subject
Compute notification parsed subject from rich subject when possible
2022-12-19 10:46:39 +01:00
Côme Chilliet 585cf0022c Put back baseline for the enableAppForGroups type mismatch
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet a1301de7fa Revert "Just use string for groups in enableAppForGroups"
This reverts commit e17244e92fb316d2f2e3fd1ae343bd47b54395b8.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet 3cce9aa547 Just use string for groups in enableAppForGroups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet 7996a12aef Silence false-positive from psalm in lib/public/Log/functions.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet a529aa79d8 Strong type singletons from lib/base.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet e1d324f7eb Migrate lib/base.php to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:40 +00:00
Côme Chilliet 26d75add8f Put back cast to string now that timelimit is an int
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:40 +00:00
Côme Chilliet 7372da6c6d Fixing more psalm errors from lib/base.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:40 +00:00
Côme Chilliet 444811b0fe Use Server::get some more
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:40 +00:00
Côme Chilliet cf508c1e47 Use strict typing in base.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:40 +00:00
Côme Chilliet e553cd1bb9 Fix comments and dav tests with Notifications and Activity changes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:57:32 +01:00
Julius Härtl 884da19198 Merge pull request #35177 from nextcloud/fix/noid/bringing-clear-config-back 2022-12-19 09:50:25 +01:00
Christoph Wurst 58a0740794 fix(logging): Fix array to string conversion in errorlog writer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-19 09:31:55 +01:00
Stanimir Bozhilov 7dcd6eb561 Merge branch 'master' into add-scim-json-support
Signed-off-by: Stanimir Bozhilov <stanimir.bozhilov.1998@gmail.com>
2022-12-19 09:07:38 +01:00
Nextcloud bot e12aaa2988 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-19 02:21:31 +00:00
Nextcloud bot 82ef0affa7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-18 02:19:47 +00:00
Nextcloud bot 5044161a80 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-17 02:19:40 +00:00
Vincent Petry 346f990e8d Merge pull request #34629 from nextcloud/fix/case-sensitivity-email-ldap
Fix case sensitivity of email when saving settings
2022-12-16 22:46:22 +01:00
Julius Härtl 1746344481 Use display name cache on getStorageInfo
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Adapt test to also run isolated

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-16 17:15:21 +00:00
Vincent Petry f9ea078e27 Add unit test for case insensitive email saving
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-12-16 17:47:42 +01:00
Carl Schwan 7f44a66296 Fix case sensitivity of email when saving settings
Otherwise we detect a email change all the time and since email are
immutable in ldap this prevent updating other fields.

Related: https://github.com/nextcloud/server/pull/33813

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-16 17:47:42 +01:00
Vincent Petry 3b7cc31f64 Merge pull request #34924 from nextcloud/cache-jail-path-prefix
escape path prefix when doing cache jail search
2022-12-16 17:27:15 +01:00
Vincent Petry 4f2923862a Merge pull request #35108 from nextcloud/encryption-fix-versions-all
allow running encryption:fix-encrypted-version for all users
2022-12-16 17:20:40 +01:00
Vincent Petry 7adfdf5248 Merge pull request #35537 from nextcloud/fix/dependency-injection-error
Improve dependency injection error message
2022-12-16 16:49:23 +01:00
Vincent Petry d33f707bfd Merge pull request #35609 from nextcloud/add-data-section-id
Add section-id and section-type data attributes to settings <li> navigation items
2022-12-16 16:38:15 +01:00
Vincent Petry 4322fc3a0d Merge pull request #35679 from nextcloud/catch-not-found-exception-in-jscombiner
Catch NotFoundException as well in JSCombiner
2022-12-16 16:28:47 +01:00
Vincent Petry c3c8b5f368 Merge pull request #35718 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-5.16.5
Bump @testing-library/jest-dom from 5.16.4 to 5.16.5
2022-12-16 16:23:18 +01:00
Vincent Petry ae6fe874ed Merge pull request #35780 from nextcloud/fix/http-dispatcher-double-parameter-cast
Fix missing cast of double controller parameters
2022-12-16 16:18:35 +01:00
Vincent Petry 6737deabbf Merge pull request #35784 from nextcloud/chore/strict-login-controller
Make the LoginController strict
2022-12-16 16:16:31 +01:00
Vincent Petry 2881a2f6dd Merge pull request #35779 from nextcloud/catchTypeError
[PHP8] check if params given to API are really an array
2022-12-16 11:41:36 +01:00
Vincent Petry 8a0add4ecb Merge pull request #35789 from nextcloud/fix/noid/rename-sabre-public-event
Rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent
2022-12-16 11:40:13 +01:00
Nextcloud bot a0fe76fbd2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-16 02:19:51 +00:00
Julien Veyssier 73f2876d64 rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent, run build/autoloaderchecker.sh
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2022-12-15 17:37:34 +01:00
Christoph Wurst 138deec333 chore: Make the LoginController strict
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-15 10:52:28 +01:00
John Molakvoæ c9dcf3988a Merge pull request #35717 from nextcloud/deps/nextcloud/vue-7.2.0
Bump @nextcloud/vue to 7.2.0
2022-12-15 10:48:05 +01:00
Christopher Ng b3afa74848 Bump @nextcloud/vue to 7.2.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-15 09:51:28 +01:00
Christoph Wurst b6dd1a1d7b fix(app framework): Fix missing cast of double controller parameters
``settype`` allows 'double' as alias of 'float'.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-15 09:33:52 +01:00
Artur Neumann 81f2857f34 check if params given to API are really an array
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2022-12-15 13:45:22 +05:45
Nextcloud bot 0d6a706bc0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-15 02:18:48 +00:00
John Molakvoæ 04f68622cc Merge pull request #35533 from nextcloud/revert-35240-enh/a11y-share-button
Revert "Copy to clipboard with button instead of link"
2022-12-14 08:23:37 +01:00
Nextcloud bot e1aa6a2bf5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-14 02:21:56 +00:00
Christopher Ng fb2fb0d2d5 Revert "Copy to clipboard with button instead of link"
This reverts commit 4ffc022c8b.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-14 00:57:57 +00:00
John Molakvoæ 8a1a32fb09 Merge pull request #35745 from nextcloud/screenshot
Update README main screenshot
2022-12-13 14:53:45 +01:00
Julien Veyssier 104a1097b5 Merge pull request #35621 from nextcloud/enh/noid/sabre-plugin-publicwebdav
Allow additional Sabre plugins in publicwebdav.php
2022-12-13 11:20:17 +01:00
Git'Fellow fd4f8fac2d Typo in URL
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-12-13 10:01:50 +01:00
Git'Fellow 6969ede861 Update README main screenshot
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-12-13 09:56:00 +01:00
Nextcloud bot 32ef1f5932 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-13 02:32:57 +00:00
Nextcloud bot 4994b73169 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-13 02:21:37 +00:00
Simon L c8072b215f Merge pull request #35562 from nextcloud/bug/33187/read-userid-from-token
Read loginName from token
2022-12-12 23:53:37 +01:00
Pytal f503712d31 Merge pull request #35714 from nextcloud/fix/vue-select-styles-the-sequel 2022-12-12 12:06:42 -08:00
Daniel Kesselberg b5f6ecfb00 Fix GH-33187
$this->userId is null when loggedin via app password.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-12-12 19:12:18 +00:00
dependabot[bot] da8e335e74 Merge pull request #35719 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.5.27 2022-12-12 15:10:49 +00:00
dependabot[bot] 3c63bd1cfa Bump phpunit/phpunit from 9.5.26 to 9.5.27 in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.26 to 9.5.27.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.26...9.5.27)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 14:32:16 +00:00
Julien Veyssier 2d860d2c39 use modern event dispatch
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2022-12-12 14:04:11 +01:00
Julien Veyssier da9ffe4efc allow additional Sabre plugins in publicwebdav.php
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2022-12-12 13:56:40 +01:00
Nextcloud bot 96128192b5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-12 02:19:53 +00:00
Stanimir Bozhilov ed902d58b6 Remove type doc for regex const
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Stanimir Bozhilov <stanimir.bozhilov.1998@gmail.com>
2022-12-11 16:07:44 +02:00
John Molakvoæ 4aafba68b4 Merge pull request #35689 from pulsejet/patch-heicrotate
preview: fix HEIC orientation
2022-12-11 11:18:34 +01:00
Nextcloud bot 87602dfd50 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-11 02:31:09 +00:00
Julius Härtl a6761d76ea fix: Make sure to reopen session before cleaning
Otherwise restoring the requesttoken would reopen and read the existing
session data and restore it instead of clearing

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-10 13:37:55 +01:00
dependabot[bot] be78a84092 Bump @testing-library/jest-dom from 5.16.4 to 5.16.5
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.4 to 5.16.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.4...v5.16.5)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-10 03:31:57 +00:00
Nextcloud bot 8d1142cfb9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-10 02:20:51 +00:00
Christopher Ng 9012e89431 Fix vue-select styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-10 01:35:14 +00:00
Simon L 51f8b9c591 Merge pull request #35097 from nextcloud/bugfix/noid/improve-email-results
Improve email results for sharing
2022-12-09 23:45:13 +01:00
Joas Schilling 8295c7bf53 Merge pull request #35389 from nextcloud/bugfix/noid/fix-app-icons-in-dark-mode 2022-12-09 23:16:24 +01:00
Joas Schilling 269df904a3 Improve email search results
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 22:40:47 +01:00
Joas Schilling 256fbe9d77 Validate if the user part of a "cloud id" can even be a valid user id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 22:40:46 +01:00
Joas Schilling 2f7a1fca5f Merge pull request #34477 from nextcloud/bugfix/noid/sharee-recommendations-show-group-id
Show group name instead of group id as recommendation
2022-12-09 22:39:28 +01:00
Joas Schilling 43918fa802 Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 22:38:53 +01:00
Joas Schilling 3e3eaa4282 Use correct filter for app icons in the right sidebar of app management
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 22:36:52 +01:00
Vincent Petry 21576ff271 Merge pull request #35705 from nextcloud/bugfix/noid/update-sensitive-config-list
Update sensitive config list of Talk
2022-12-09 17:47:52 +01:00
Joas Schilling cf34aa557b Update sensitive config list of Talk
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 16:41:59 +01:00
MichaIng bbf0f6ad0d Merge pull request #35672 from nextcloud/audit-fix-handlerbars-loader
Updte handlebars-loader to 1.7.3
2022-12-09 16:27:17 +01:00
John Molakvoæ 5ede6c736f Merge pull request #35700 from nextcloud/dependabot/npm_and_yarn/handlebars-loader-1.7.3
Bump handlebars-loader from 1.7.2 to 1.7.3
2022-12-09 09:19:13 +01:00
dependabot[bot] 51243ed672 Merge pull request #35695 from nextcloud/dependabot/npm_and_yarn/karma-spec-reporter-0.0.35 2022-12-09 08:08:01 +00:00
dependabot[bot] e7a4bb5742 Merge pull request #35693 from nextcloud/dependabot/npm_and_yarn/jsdoc-4.0.0 2022-12-09 08:00:32 +00:00
Varun Patil 7004c1e9f8 preview: fix HEIC orientation
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2022-12-08 23:14:13 -08:00
dependabot[bot] 7d75bacc48 Bump handlebars-loader from 1.7.2 to 1.7.3
Bumps [handlebars-loader](https://github.com/pcardune/handlebars-loader) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/pcardune/handlebars-loader/releases)
- [Changelog](https://github.com/pcardune/handlebars-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pcardune/handlebars-loader/compare/v1.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: handlebars-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-09 06:46:30 +00:00
dependabot[bot] a6eb2e6688 Bump karma-spec-reporter from 0.0.34 to 0.0.35
Bumps [karma-spec-reporter](https://github.com/tmcgee123/karma-spec-reporter) from 0.0.34 to 0.0.35.
- [Release notes](https://github.com/tmcgee123/karma-spec-reporter/releases)
- [Commits](https://github.com/tmcgee123/karma-spec-reporter/compare/v0.0.34...v0.0.35)

---
updated-dependencies:
- dependency-name: karma-spec-reporter
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-09 06:43:58 +00:00
dependabot[bot] 42eea94bb7 Bump jsdoc from 3.6.10 to 4.0.0
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.10 to 4.0.0.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/main/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.10...4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-09 06:43:04 +00:00
John Molakvoæ d2bc064928 Merge pull request #35686 from nextcloud/tooling/noid/dependabot-stable-branches
take out stable23 from dependabot config
2022-12-09 07:41:45 +01:00
Nextcloud bot 409098c45f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-09 02:22:58 +00:00
dependabot[bot] 82a192e1cc Merge pull request #35120 from nextcloud/dependabot/npm_and_yarn/vue/test-utils-1.3.3 2022-12-09 01:22:05 +00:00
dependabot[bot] c1c553c2a3 Bump @vue/test-utils from 1.3.0 to 1.3.3
Bumps [@vue/test-utils](https://github.com/vuejs/test-utils) from 1.3.0 to 1.3.3.
- [Release notes](https://github.com/vuejs/test-utils/releases)
- [Commits](https://github.com/vuejs/test-utils/commits)

---
updated-dependencies:
- dependency-name: "@vue/test-utils"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-09 00:49:47 +00:00
Pytal 8650aff718 Merge pull request #35529 from nextcloud/enh/a11y-search-describedby 2022-12-08 14:58:56 -08:00
Arthur Schiwon d8d6bc302e take out stable23 from dependabot
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-12-08 22:29:56 +01:00
John Molakvoæ 0dd128b981 Merge pull request #35666 from nextcloud/fix/header-bright-no-bg
Invert header if primary is bright and background disabled
2022-12-08 22:28:10 +01:00
John Molakvoæ dcd0878458 Merge pull request #35665 from nextcloud/revert-35165-fix/vue-select-styles 2022-12-08 18:47:29 +01:00
Stanimir Bozhilov ca39261342 Update phpDoc of the content type JSON regex and fix the regex delimiter
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Stanimir Bozhilov <stanimir.bozhilov.1998@gmail.com>
2022-12-08 18:16:59 +01:00
John Molakvoæ 1acd42e10c Invert header if primary is bright and background disabled
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-08 17:52:50 +01:00
Vincent Petry 26052bf32c Merge pull request #35660 from nextcloud/enh/a11y-input-border
Increase default global input field border contrast
2022-12-08 17:37:45 +01:00
Côme Chilliet f7cd7047a2 Merge pull request #24574 from zenlord/ldapi-unix-socket-support
Ldapi unix socket support
2022-12-08 17:25:00 +01:00
Côme Chilliet f676076482 Throw on missing type of rich subject parameter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-08 17:17:58 +01:00
Stanimir Bozhilov b44befa881 Move JSON content type regex to IRequest and make it a const 2022-12-08 15:11:23 +01:00
Thomas Citharel 34ce53355a Catch NotFoundException as well in JSCombiner
Follow-up to #35576

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-12-08 11:50:50 +01:00
Côme Chilliet 04b2803e02 Merge pull request #35662 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-12-08 11:09:18 +01:00
John Molakvoæ 2d5fe7ec23 Revert "Disable style override on vue-select elements" 2022-12-08 11:02:07 +01:00
Vincent Petry 424836eb79 Updte handlebars-loader to 1.7.3
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-12-08 10:41:33 +01:00
Julia Kirschenheuter 11d7cd0974 Merge pull request #35071 from nextcloud/fix/384-missing_alt_text_for_logo_on_multiple_pages
Add alt to the logo, adapt css for logo
2022-12-08 10:36:34 +01:00
Julius Härtl fa7364ed17 Merge pull request #35223 from nextcloud/perf/container-autoload
Smaller performance optimizations
2022-12-08 10:35:57 +01:00
Joas Schilling f1cc6cdf01 Merge pull request #35534 from nextcloud/bugfix/noid/language-fixes
Language fixes in example config
2022-12-08 09:40:36 +01:00
julia.kirschenheuter bba5ab0532 Add alt to the logo, adapt css for logo
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-08 09:28:25 +01:00
Joas Schilling d230fd145a Language fixes in example config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-08 09:02:47 +01:00
nextcloud-command c0f821ae30 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-12-08 04:29:04 +00:00
Nextcloud bot fabcd68a5e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-08 02:19:29 +00:00
Christopher Ng 9158a7d484 Improve verbosity of search description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-08 02:05:03 +00:00
dependabot[bot] 02db3b552e Merge pull request #34984 from nextcloud/dependabot/composer/bamarni/composer-bin-plugin-1.8.2 2022-12-08 00:39:02 +00:00
Christopher Ng 20da75f5ab Increase default input field border contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-08 00:28:15 +00:00
dependabot[bot] 30e677666e Bump bamarni/composer-bin-plugin from 1.8.1 to 1.8.2
Bumps [bamarni/composer-bin-plugin](https://github.com/bamarni/composer-bin-plugin) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/bamarni/composer-bin-plugin/releases)
- [Commits](https://github.com/bamarni/composer-bin-plugin/compare/1.8.1...1.8.2)

---
updated-dependencies:
- dependency-name: bamarni/composer-bin-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 00:01:36 +00:00
Julius Härtl 4bcaeb6c2c Drop 3rdparty root since it is unused and adjust tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 23:55:32 +01:00
Simon L 65988beaf0 Merge pull request #35586 from J0WI/public.systemvalue
Replace getSystemValue with getSystemValueString in Util.php
2022-12-07 23:49:01 +01:00
Julius Härtl f0a0bfaaee Move to str_starts_with
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:06 +01:00
Julius Härtl 306d7829b5 Cache available languages locally
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:06 +01:00
Julius Härtl be4c061b75 Set apcu prefix for composer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:06 +01:00
Julius Härtl 3e5838198c Use single resource locator instance
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:05 +01:00
Julius Härtl b2af916872 Take some shortcut when setting up the application class
When getting the application class we can ask the app container directly
and skip the server container as it won't find a match and fallback to
the app container anyways

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:05 +01:00
Julius Härtl 3899de12b7 Skip querying the app container for server namespace
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:05 +01:00
Julius Härtl d7ecbe32d2 Avoid container dance for appName
Sicne the appName is always passed for the DIContainer we can avoid
using the container query logic and instead store and use a property

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 22:32:04 +01:00
Julius Härtl 87e638b1f8 Merge pull request #35649 from nextcloud/bugfix/object-storage-master-key-enc
Update the unencrypted file size when closing streams
2022-12-07 22:03:13 +01:00
Julius Härtl 0012787f73 Merge pull request #35590 from J0WI/encryption.getsysvalue
Replace getSystemValue in encryption app
2022-12-07 21:31:42 +01:00
Simon L 50faf9e1e8 Merge pull request #35653 from nextcloud/bug/noid/update-minio-image
ci: update minio image for s3 primary storage tests
2022-12-07 21:29:17 +01:00
Carl Schwan 7ac2d310a7 Merge pull request #35176 from bjornfor/add-asciidoc-mime-type
Add text/asciidoc mimetype
2022-12-07 21:22:08 +01:00
Julius Härtl 3c8fb59fa4 Merge pull request #35620 from nextcloud/fix/fix-calendar-imip-tests 2022-12-07 20:39:41 +01:00
Julius Härtl 59ae6e9dd6 Also update the unencrypted size of files when creating them with empty content
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 19:12:06 +01:00
John Molakvoæ 744126aed7 Merge pull request #35603 from nextcloud/doc/compile-frontend-styles
Document frontend sass compilation
2022-12-07 18:55:34 +01:00
Daniel Kesselberg 1aad491676 ci: update minio image for s3 primary storage tests
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-12-07 17:39:41 +01:00
fivenp 71cfcc7498 docs(design): add design contribution badge
Signed-off-by: fivenp <mh@fivenp.com>
2022-12-07 17:33:38 +01:00
fivenp a97ee57745 docs(design): add basic design contribution guidelines
Signed-off-by: fivenp <mh@fivenp.com>
2022-12-07 17:31:57 +01:00
Julius Härtl 77edd36583 Update the unencrypted file size when closing streams
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-07 16:26:31 +01:00
Julien Veyssier 1357cf6191 Merge pull request #35057 from nextcloud/enh/noid/rate-limit-public-share-endpoints
Add brute force protection on all methods wrapped by PublicShareMiddleware
2022-12-07 14:08:40 +01:00
Julien Veyssier 4a3f3beb0b use bruteforce protection on all methods wrapped by PublicShareMiddleware
if an invalid token is provided or when share password is wrong

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2022-12-07 13:24:50 +01:00
MichaIng 3f6415d713 Merge pull request #34879 from nextcloud/dependabot/npm_and_yarn/nextcloud/event-bus-3.0.2
Bump @nextcloud/event-bus from 2.1.1 to 3.0.2
2022-12-07 11:48:37 +01:00
Carl Schwan 33c2c3d030 Merge pull request #35635 from nextcloud/ci/update-psalm-baseline/stable25
Update update-psalm-baseline workflow for NC25
2022-12-07 11:14:46 +01:00
John Molakvoæ 741f32ed5d Merge pull request #35622 from nextcloud/feat/auto-build-icons-sass-on-build
Automatically build sass and sass:icons after build
2022-12-07 10:10:29 +01:00
Nextcloud bot 172aade011 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-07 02:19:48 +00:00
dependabot[bot] d7e093be12 Bump @nextcloud/event-bus from 2.1.1 to 3.0.2
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 2.1.1 to 3.0.2.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v2.1.1...v3.0.2)

---
updated-dependencies:
- dependency-name: "@nextcloud/event-bus"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-07 01:17:44 +00:00
Pytal 9e8545edfb Merge pull request #35222 from nextcloud/fix/a11y-search-heading
Fix contrast of global search headings
2022-12-06 14:45:24 -08:00
MichaIng 35d67bdcf0 Update update-psalm-baseline workflow for NC25
and also update Psalm OCP baseline.

Additionally update the checkout action.

Signed-off-by: MichaIng <micha@dietpi.com>
2022-12-06 22:53:40 +01:00
MichaIng c685c22aca Merge pull request #35571 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] Update ca-cert bundle
2022-12-06 20:43:43 +01:00
Carl Schwan 308330c18d Merge pull request #35628 from nextcloud/fix/profile-visibility
Fix profile visibility not appearing
2022-12-06 20:38:17 +01:00
MichaIng 5f6b8e478e Merge pull request #33410 from nextcloud/dependabot/npm_and_yarn/clipboard-2.0.11
Bump clipboard from 2.0.10 to 2.0.11
2022-12-06 20:36:26 +01:00
Simon L 2e0d262864 Merge pull request #35576 from nextcloud/handle-possible-null-value-in-new-simple-file
Handle possible null value for file in OC\Files\SimpleFS\NewSimpleFile
2022-12-06 19:52:55 +01:00
Simon L fd10a8a600 Merge pull request #35613 from nextcloud/fix/mail-icon
Change mail icon to the material design icon
2022-12-06 19:41:57 +01:00
greta 541ca9f5f7 Chang mail icon to the material design icon
Signed-off-by: greta <gretadoci@gmail.com>
2022-12-06 18:45:15 +01:00
Daniel cca1cbb385 Merge pull request #35615 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-12-06 18:43:51 +01:00
dependabot[bot] 32a08bea73 Bump clipboard from 2.0.10 to 2.0.11
Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.10 to 2.0.11.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.10...v2.0.11)

---
updated-dependencies:
- dependency-name: clipboard
  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>
2022-12-06 17:23:22 +00:00
Carl Schwan 27bfa74cc5 Fix profile visibility not appearing
And refactor how the grid works (now it's automatically using the
correct size instead of harcoding it)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-06 17:56:42 +01:00
Pytal 714a5dc723 Merge pull request #35165 from nextcloud/fix/vue-select-styles
Disable style override on vue-select elements
2022-12-06 08:30:10 -08:00
Jan-Philipp Litza a7abe2c35a Honor permissions of new link share via OCS API
The API currently overrides the supplied permissions with "read only"
when a file is shared via link. It allows to update the permissions
later, however.

This keeps the default to "read only" but honors the permissions
supplied by API call if any.

Signed-off-by: Jan-Philipp Litza <jpl@plutex.de>
2022-12-06 16:00:20 +01:00
John Molakvoæ de3c5f2b1c Update node check to not run sass twice
They are now included in the `postbuild` npm step


Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-12-06 14:56:08 +01:00
John Molakvoæ b981b23e3d Update compile to not run sass twice
They are now included in the `postbuild` npm step

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-12-06 14:54:02 +01:00
John Molakvoæ b3d9af7cfc Automatically build sass and sass:icons after build
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-06 14:35:48 +01:00
Simon L 8124f683ba Merge pull request #35547 from nextcloud/enh/noid/delete-background-size-variable
delete the --image-background-size variable
2022-12-06 14:04:30 +01:00
Côme Chilliet 7cf1dec842 Fix errors in calendar tests saying function handleIMipMessage does not exists on ICreateFromString
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-06 13:52:13 +01:00
Julius Härtl 7c9c0d1851 Merge pull request #35618 from nextcloud/fix/migration-step-inherit-generic-closure-types
Explicitly inherit stricly typed database schema closure of migrations
2022-12-06 13:24:19 +01:00
Côme Chilliet 1821712615 Merge pull request #35596 from nextcloud/fix/move-to-ocp-timedjob
Use TimedJob from OCP instead of OC
2022-12-06 12:14:43 +01:00
Christoph Wurst 8237e02cf7 fix(database): Explicitly inherit stricly typed database schema closure
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-06 11:43:30 +01:00
Christoph Wurst 48358bb78f Merge pull request #35612 from nextcloud/chore/errorlog-rebranding
Adjust branding of errorlog log messages
2022-12-06 10:51:57 +01:00
Côme Chilliet 67ff8fc738 Merge pull request #34819 from nextcloud/tests/fix-phpunit-warnings
Fix some phpunit test warnings
2022-12-06 10:51:41 +01:00
Simon L 28358acdaf Merge pull request #35600 from nextcloud/fix/empty-secret-migration-files-external
Fix migration to non-empty secret
2022-12-06 10:34:09 +01:00
Simon L decf2b4524 Merge pull request #35521 from nextmcloud/nmcpr/1416-prevents-selection-of-encrypted-folders
[BUGFIX] Prevents the selection of encrypted files at the bottom of the list(before scrolling)
2022-12-06 10:30:10 +01:00
nextcloud-command 251946bf04 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-12-06 04:27:37 +00:00
nextcloud-command 0009f7118f Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2022-12-06 04:26:48 +00:00
Nextcloud bot 7730309aee [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-06 02:26:06 +00:00
Pytal badf09b43b Merge pull request #35549 from nextcloud/enh/a11y-contrast-borders
Add new border color variable and adjust primary color for increased contrast
2022-12-05 18:14:29 -08:00
Pytal c38fded268 Merge pull request #35437 from nextcloud/enh/a11y-share-copy-link 2022-12-05 17:58:44 -08:00
Christopher Ng 1c753c2b15 Lighten default color slightly for increased contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-06 01:13:55 +00:00
Christopher Ng 24ffe32845 Add new border color variable for increased contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-06 01:13:44 +00:00
Christopher Ng 08e15308cb Add success popup message for copying share links
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-06 01:04:10 +00:00
Christopher Ng d3d5034ea4 Disable style override on vue-select elements
- Disable style override on NcActionButton with `:not(.action-button)`
  due to increased specificity over scoped Vue styles when only
  `:not([class^="vs__"])` is added

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-06 00:19:53 +00:00
dependabot[bot] be0facaba4 Merge pull request #35592 from nextcloud/dependabot/npm_and_yarn/sass-1.56.1 2022-12-05 23:39:58 +00:00
dependabot[bot] 06b68e2300 Bump sass from 1.52.1 to 1.56.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.52.1 to 1.56.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.52.1...1.56.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-05 23:06:18 +00:00
dependabot[bot] 7033d2a368 Merge pull request #35568 from nextcloud/dependabot/composer/build/integration/behat/behat-3.12.0 2022-12-05 22:33:48 +00:00
dependabot[bot] 628ec69292 Bump behat/behat from 3.11.0 to 3.12.0 in /build/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.11.0...v3.12.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 19:27:34 +00:00
Christoph Wurst 94cebfea7c chore(logging): Fix branding of errorlog log messages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-05 19:28:05 +01:00
Côme Chilliet f95aa23356 Merge pull request #35400 from nextcloud/fix/remove-unused-dynamic-var-in-files_sharing
Fix name of dymanic var $mountOptions to fix PHP 8.2 compatibility
2022-12-05 17:57:46 +01:00
J0WI fc97f6847d Replace getSystemValue with getSystemValueString
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-05 16:32:11 +01:00
Côme Chilliet 8ec7e4301d Use the correct Server class in apps/dav/tests/unit/CalDAV/CalendarImplTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 16:32:01 +01:00
Simon L 8c59ba41f5 Merge pull request #35604 from nextcloud/fix/noid/webauthn-redirect-after-login
Fix default redirect on successful WebAuthn login
2022-12-05 16:31:02 +01:00
Côme Chilliet ee06261b82 Fix codestyle in modified files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 16:08:40 +01:00
Carl Schwan 5e31ed4f52 Add comments
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-05 15:26:36 +01:00
J0WI 71e490090f Replace getSystemValue in encryption app
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-05 14:30:58 +01:00
Richard Steinmetz fc4dd3041c Fix default redirect on successful WebAuthn login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-12-05 12:51:53 +01:00
Simon L 9597036b72 delete the --image-background-size variable
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-05 11:44:19 +00:00
Christoph Wurst 76c684b8fc doc(css): document frontend sass compilation
[skipci]

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-12-05 12:42:11 +01:00
Thomas Citharel 0cc50aff49 Add section-id and section-type data attributes to settings <li> navigation items
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-12-05 12:19:21 +01:00
Simon L e36e92bace Merge pull request #35249 from nextcloud/fix/33854-User_management_pages_-_Window_title_must_change_when_switching_sidebar_sections
Set page title for each sidebar section through App management pages
2022-12-05 12:12:00 +01:00
Côme Chilliet 30560d3165 Merge branch 'master' into tests/fix-phpunit-warnings
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2022-12-05 12:03:39 +01:00
Côme Chilliet cb0450b5c4 Improve typing on new methods
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 12:01:12 +01:00
Côme Chilliet 3bcb4fc024 Put back the variable but make sure it is properly declared
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 11:51:16 +01:00
Côme Chilliet 72c7fad1c4 Fix job tests in updatenotification and user_ldap applications
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 11:32:49 +01:00
Carl Schwan 754cb58b12 Fix migration to non-empty secret
Add a fallback for empty keys

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-05 11:28:52 +01:00
blizzz 4196bf81e6 Merge pull request #35580 from nextcloud/enh/noid/fix-CI
downgrade ubuntu in order to fix CI
2022-12-05 10:59:18 +01:00
Côme Chilliet 578648a062 Adapt tests to new job constructors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 10:41:13 +01:00
Côme Chilliet a0f6a6545b Use TimedJob from OCP instead of OC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 10:13:34 +01:00
Nextcloud bot 944be7950a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-05 02:15:24 +00:00
Simon L f806aa6f2f Merge pull request #35560 from J0WI/rm-obsolete-gd
Remove obsolete GD function overwrites
2022-12-04 16:47:11 +01:00
MichaIng 882edc6fcf Merge pull request #35119 from nextcloud/dependabot/npm_and_yarn/sass-loader-13.2.0
bump sass-loader from 12.6.0 to 13.2.0
2022-12-04 16:04:42 +01:00
J0WI a4d0700bf2 Fix test image default quality
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:51:33 +01:00
J0WI f71b95eaee Cleanup test exclusions
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:51:33 +01:00
J0WI 110ea0df46 Allow empty mimeType
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:51:33 +01:00
J0WI 1dd3afefcd Add type hints
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:51:32 +01:00
J0WI 53994f600d Fix redundant condition
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:47:43 +01:00
J0WI 40166ddc0a Remove obsolete GD function overwrites
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-04 14:47:43 +01:00
Nextcloud bot f463aeb2af [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-04 02:14:51 +00:00
Simon L 7964b860cd downgrade ubuntu in order to fix CI
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-03 23:01:05 +01:00
julia.kirschenheuter bdb664c399 Adapt router.js for setting document title
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-03 19:21:45 +00:00
Simon L c19e7a9b68 Merge pull request #35345 from nextcloud/feat/add_event_for_failed_logins
feat: add event for failed logins
2022-12-03 20:00:36 +01:00
Simon L 31ec83f2d8 Merge pull request #35271 from nextcloud/enh/a11y-share-success
Show success on share actions
2022-12-03 19:55:16 +01:00
Simon L 82e2a9033f Merge pull request #34232 from nextcloud/fix/noid/refresh-filesize-on-conflict
compare cached filesize on download
2022-12-03 19:53:46 +01:00
Simon L 9668526d19 Merge pull request #35563 from nextcloud/revert/35315
Revert "Fix border color contrast"
2022-12-03 19:11:29 +01:00
Simon L 8a1ce0f994 Merge pull request #35442 from Zyclotrop-j/patch-1
fix multiline-format-error in file-conflict modal
2022-12-03 19:10:17 +01:00
Simon L 23f336761e Merge pull request #35385 from pulsejet/patch-previewtype
Fix type of PreviewController::$userId
2022-12-03 19:09:37 +01:00
Simon L 53f2519a6c Merge pull request #34920 from ibpl/master-IB#1126265
Added parameter to disallow calendar subscription via link
2022-12-03 19:08:22 +01:00
Simon L 0662417157 Merge pull request #35566 from pulsejet/patch-imaginary
preview: respect quality in Imaginary
2022-12-03 19:06:24 +01:00
Thomas Citharel a5b6119ec4 Handle possible null value for file in OC\Files\SimpleFS\NewSimpleFile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-12-03 17:25:32 +01:00
Varun Patil b91d6c22cf preview: respect quality in Imaginary
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2022-12-03 07:13:49 -08:00
Simon L 299f979d94 Merge pull request #35556 from nextcloud/revert/unrelated-change
Revert unrelated change from #34940
2022-12-03 15:50:47 +01:00
Zyc b58b50874c add build css files
Signed-off-by: Zyc <zyclotrop.j@gmail.com>
2022-12-03 03:26:15 +00:00
Nextcloud bot 515dbfa351 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-03 02:15:08 +00:00
Christopher Ng 7c943c5ce4 Show success on share actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-03 01:09:27 +00:00
Christopher Ng 3db3d75bb9 Revert "Fix border color contrast"
This reverts commit a0266d1b16.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-03 00:48:49 +00:00
John Molakvoæ 835f0ae4de Merge pull request #35550 from nextcloud/dependabot/npm_and_yarn/decode-uri-component-0.2.2
Bump decode-uri-component from 0.2.0 to 0.2.2
2022-12-02 14:53:22 +01:00
dependabot[bot] 991cc8776e Bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-02 13:35:02 +00:00
Carl Schwan 6c76443e89 Revert unrelated change from #34940
Probably a left over from an experience that I added by mistake in the
change

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-02 11:29:38 +01:00
Nextcloud bot 048fdabca9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-02 02:15:22 +00:00
Pytal 83ac1c3c3c Merge pull request #35530 from nextcloud/deps/nextcloud/vue-7.1.0 2022-12-01 17:18:43 -08:00
Christopher Ng 4d4886aa05 Bump @nextcloud/vue to 7.1.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-02 00:01:06 +00:00
Maxence Lange cc639a8877 compare cached filesize on download
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-12-01 15:42:15 -01:00
Robin Appelman e3a0e64698 clear is-encrypted cache when trying to fix encrypted version
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-12-01 14:36:27 +01:00
Carl Schwan 2a864ec13c Improve dependency injection error message
Change from display the name of the parameter to the type of the
parameter. This is that in most cases is usefull.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-01 12:46:01 +01:00
John Molakvoæ a51f0dbc6c Merge pull request #35525 from nextcloud/fix/theming-follow-default
Faster theming tests, better colours comparison and properly follow admin theming changes
2022-12-01 07:52:22 +01:00
kavita.sonawane@t-systems.com 4d0b80d35e Prevents the selection of encrypted files when scroll the page
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-12-01 11:43:44 +05:30
Nextcloud bot 8555d510c0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-01 02:15:20 +00:00
John Molakvoæ 0761c84bbf Bump cypress runners
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-30 18:39:58 +01:00
John Molakvoæ f26ee9c69d Faster theming tests, better colours comparison and properly follow admin theming changes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-30 18:39:57 +01:00
Robin Appelman e9b87c73fa fix reading newly written encrypted files before their cache entry is written
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-30 14:54:56 +01:00
Robin Appelman 8434259b1b Merge pull request #35376 from nextcloud/bug/noid/fix-workflow-s3-primary
Run s3 primary tests sequential
2022-11-30 14:53:32 +01:00
blizzz b16c9838c6 Merge pull request #35355 from nextcloud/artonge/feat/ldap_connection_timeout
Allow to set a custom timeout for ldap connections
2022-11-30 14:44:15 +01:00
Simon L 415e68f53b Merge pull request #35484 from nextcloud/fix/34653/fix-popover-menu
fix the popovermenu
2022-11-30 12:20:47 +01:00
Carl Schwan 2b73c04ad9 Merge pull request #35502 from andyxheli/patch-1
Fix SQL comparison with int array during external storage deletion
2022-11-30 12:18:23 +01:00
Carl Schwan f4adfd1ead Merge pull request #35426 from nextcloud/cleanup/contactintegration
Cleanup contactsinteraction
2022-11-30 12:17:30 +01:00
Simon L d8d15c3c2b Merge pull request #35501 from nextcloud/enh/enh-33741-Focused_item_overlaps_neighbor_elements_with_text_and_border
Change app menu focused items behavior that neighbor elements (text and border) have no overlapping
2022-11-30 10:32:38 +01:00
julia.kirschenheuter db67670477 Change focused items behavior that neighbor elements (text and border) have no overlapping.
Add native tooltips to items.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-30 08:22:49 +00:00
Nextcloud bot 2adb1f85e6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-30 02:15:32 +00:00
Andy Xheli e69c7c4d26 Fix Executing a query: SQLSTATE[42000]
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Fix https://github.com/nextcloud/server/issues/32007#issuecomment-1329405245

Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-11-29 11:24:56 -06:00
Robin Appelman 2399710356 allow running encryption:fix-encrypted-version for all users
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-29 17:49:35 +01:00
Robin Appelman f0a1e1c224 Merge pull request #35107 from nextcloud/encryption-key-migrate
add migration for encryption keys in wrong location
2022-11-29 17:07:35 +01:00
Simon L b652d12772 Merge pull request #35494 from nextcloud/bugfix/noid/remove-old-code-from-comment
Remove old code from comment to not trigger automatic scanners more than needed
2022-11-29 16:48:40 +01:00
Simon L 366a0dc2cf Merge pull request #35485 from nextcloud/chore/remove-bootstrap-version-comment
Remove Bootstrap version reference from tooltip.scss
2022-11-29 16:32:49 +01:00
Joas Schilling 665fc26558 Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-29 15:38:46 +01:00
Côme Chilliet 8a04bf5584 Apply the same changes to richToParsed in Notification
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-29 14:36:29 +00:00
Côme Chilliet cf8d97c9d3 Revert changes to systemtags application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-29 14:36:29 +00:00
Côme Chilliet 2a3090d85c Throw instead of using a bogus value if name field is missing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-29 14:36:29 +00:00
Côme Chilliet d9151ff35c Get rid of all useless calls to setParsedSubject now that setRichSubject is able to do it
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-29 14:36:29 +00:00
Côme Chilliet db995d464d Same thing for Activity
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-29 14:36:29 +00:00
Côme Chilliet 323963e540 Compute parsed from rich subject and message in Notification
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-29 14:36:29 +00:00
Álvaro Brey 79c3970044 Remove Bootstrap version reference from tooltip.scss
We've had some reports that Nextcloud is using an outdated/deprecated Bootstrap version v3.3.5.

I believe this to be caused by the string "Bootstrap v3.3.5" in the changed line, which after bundling ends up in `core-common.js`, and trips up some security scanners.

It may also be worth investigating why the comments are not getting stripped when bundling the JS.

Signed-off-by: Álvaro Brey <alvaro.brv@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-29 14:21:45 +00:00
Joas Schilling 24afcda471 Remove old code from comment to not trigger automatic scanners more than needed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-29 15:15:58 +01:00
Simon L f889007ff2 try to fix the popovermenu
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-29 12:37:53 +00:00
Côme Chilliet df2c00c235 Merge pull request #35468 from nextcloud/fix/bump-egulias/email-validator-to-3.2.1-in-master
Bump egulias/email-validator to 3.2.1 in master
2022-11-29 13:30:25 +01:00
Simon L 7856820e5e Merge pull request #34696 from nextcloud/fix/custom-color
Allow to remove the background and select a custom colour + cypress
2022-11-29 12:59:56 +01:00
John Molakvoæ 72a907349f Drop acceptance theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 12:04:42 +01:00
Côme Chilliet e39888f073 Align 3rdparty with master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-29 11:34:17 +01:00
John Molakvoæ a869259e41 More theming cypress tests and some fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:26:27 +01:00
John Molakvoæ 064fa10ecf Extract colour from custom background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:23:05 +01:00
John Molakvoæ cedae7c6d7 Allow to remove the background and select a custom colour
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:22:13 +01:00
Louis a884f311b7 Merge pull request #34769 from nextcloud/port/vue/files_version
Port files_versions to vue
2022-11-29 10:20:20 +01:00
Christoph Wurst e450bc4865 Merge pull request #35455 from nextcloud/fix/fix-35098-headings_need_to_be_h2
Change header semantic in the user status dialog
2022-11-29 09:47:02 +01:00
Vincent Petry a1838d2918 Merge pull request #35471 from nextcloud/allow-update-from-oc-10.11
Allow upgrading from ownCloud 10.11
2022-11-29 09:40:48 +01:00
Vincent Petry 48da2a59af Remove ownCloud 10.5 upgrade path
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-29 08:48:14 +01:00
julia.kirschenheuter af14bbbbbc Change header semantic in the user status dialog
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-29 07:29:45 +00:00
Nextcloud bot ef5783aaac [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-29 02:14:26 +00:00
Vincent Petry 5fb93b9ebd Allow upgrading from ownCloud 10.11
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-28 21:55:07 +01:00
Simon L c4157e4653 Merge pull request #34941 from nextcloud/enh/33654/add-group-displayname-cache
Add a Group display name cache
2022-11-28 19:29:08 +01:00
Louis Chemineau 9d54b608bd Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:35:24 +01:00
Côme Chilliet 06808e1845 Bump egulias/email-validator to 3.2.1 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-28 17:32:10 +01:00
Louis Chemineau ea946cc649 Lint and remove file_versions tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:31:27 +01:00
Louis Chemineau 173c053d41 Hide version tab for folders
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:31:27 +01:00
Louis Chemineau a32c25e1c8 Extract logic into separate files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:31:27 +01:00
Louis Chemineau a28838b866 Use svg icons
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:31:27 +01:00
Carl Schwan 8829019101 Add support for Material icon in files sidebar
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:29:11 +01:00
Carl Schwan 348796892b Use NcListItem
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:29:11 +01:00
Carl Schwan 7888aaf34f Handle case with empty version list
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-28 17:29:11 +01:00
Carl Schwan 2c50153618 Port files_versions to vue
Simplify code and make it use our standard components

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-28 17:29:11 +01:00
Robin Appelman dd4ebbd72a add migration for encryption keys in wrong location
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-28 16:12:11 +01:00
Simon L cd7cec587e Merge pull request #35425 from nextcloud/bumpMinimumDesktopClientForWebdav
minimum desktop client that is supported is 2.3.0
2022-11-28 15:34:32 +01:00
Côme Chilliet db15443541 Merge pull request #35405 from nextcloud/fix/bump-laravel/serializable-closure-to-1.2.2-in-master
Bump laravel/serializable-closure to 1.2.2 in master
2022-11-28 14:33:18 +01:00
Côme Chilliet 3ce8115057 Align 3rdparty with master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-28 14:32:22 +01:00
Julia Kirschenheuter 90806ad0be Merge pull request #35257 from nextcloud/fix/fix-33854-User_management_pages_-_Window_title_must_change_when_switching_sidebar_sections
Set page titel for each sidebar section through User management pages
2022-11-28 13:26:26 +01:00
Anna Larch 7c4ceb444c Add group display name cache
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-28 11:52:55 +00:00
Côme Chilliet 1b607f1993 Bump laravel/serializable-closure to 1.2.2 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-28 11:04:45 +00:00
Côme Chilliet 08587c9de6 Merge pull request #35403 from nextcloud/fix/fix-theming-tests-for-8.2
Fix theming tests for PHP 8.2
2022-11-28 11:58:56 +01:00
julia.kirschenheuter 7bdac514fd Adapt router.js for setting document title.
Adapt store to store Promise for dynamic requested categories.
Create new constants file to store category name with associated translation.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-28 10:16:32 +00:00
Vincent Petry 0696703a0a Merge pull request #35434 from nextcloud/fix/update/32-bit
fix update for 32-bit
2022-11-28 09:36:35 +01:00
Nextcloud bot eacc1a86df [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-28 02:19:24 +00:00
Nextcloud bot 21b00e505a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-27 02:18:25 +00:00
Zyc f604232f3a fix multiline-format-error in file-conflict modal
when multiple files have conflicts, a scrollbar is shown in the file-conflict modal. due to the scrollbar the width of original/existing is to large, so that instead of being next to each other they flow into the next line.
this change fixes this


Signed-off-by: Zyc <Zyclotrop-j@users.noreply.github.com>
2022-11-26 16:49:20 +11:00
Nextcloud bot 60c0027cda [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-26 02:18:18 +00:00
Pytal 1cebd4aa83 Merge pull request #35240 from nextcloud/enh/a11y-share-button
Copy to clipboard with button instead of link
2022-11-25 16:24:46 -08:00
Simon L 4dfdc1ccda fix update for 32-bit
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-25 22:10:25 +01:00
Daniel Kesselberg cddc753b29 Run s3 primary tests sequential
To avoid casual test failures.

Concurrent jobs may try to use the same port forwarding for the minio container.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-11-25 17:58:51 +01:00
Robin Appelman 61e72d4b0f Merge pull request #35337 from nextcloud/fix-encrypted-version-fopen-error
skip files that cant be opened for FixEncryptedVersion
2022-11-25 17:09:34 +01:00
Carl Schwan e8ae4406ce Merge pull request #34849 from nextcloud/feat/hint-about-no-access-reasons
Add an hint about reasons why files can't be accessed
2022-11-25 13:12:55 +01:00
Joas Schilling 13957032cf More fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-25 11:46:56 +01:00
Carl Schwan 6828a3b28d Cleanup contactsinteraction
- Add more typing and use PHP 7.4 typed properties

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-25 11:46:18 +01:00
Matthieu Gallien c63ff42410 minimum desktop client that is supported is 2.3.0
2.3.0 was release on Mar 3, 2017

added support for new chunking algorithm allowing to now deprecate the
older one

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-25 11:40:30 +01:00
Nextcloud bot d92c5f78ce [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-25 02:19:28 +00:00
Christopher Ng 29b1748e2c Fix contrast of global search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-25 00:18:14 +00:00
Christopher Ng 4ffc022c8b Copy to clipboard with button instead of link
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-24 23:50:54 +00:00
Roeland Jago Douma 77df92cabf feat: add event for failed logins
Apps might also like to know about failed logins.
This adds that event.
The private interface changes are backwards compatible so all should be fine.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2022-11-24 21:24:21 +01:00
Simon L 28f4105905 Merge pull request #35407 from Jerome-Herbinet/patch-12
More appropriate wording for background selection
2022-11-24 19:01:26 +01:00
Simon L c11803e7ef Merge pull request #35399 from nextcloud/fix/sharepi-admin
Fix share admin page
2022-11-24 18:47:27 +01:00
Côme Chilliet e00740ea38 Merge pull request #35230 from nextcloud/fix/user_ldap-log-backup-switch
Log switching to LDAP backup host because main one is not available
2022-11-24 18:20:36 +01:00
Côme Chilliet e04fcea6b6 Merge pull request #35228 from nextcloud/fix/user_ldap-cache-empty-display-names
user_ldap - Cache display name even if it was not filled
2022-11-24 18:18:22 +01:00
Simon L 56daa07b63 Merge pull request #35027 from nextcloud/enh/34970
fix missing share icon
2022-11-24 18:04:17 +01:00
Simon L 45da5b0887 Merge pull request #35393 from nextcloud/enh/noid/update-vue-to-v7.1.0-beta.2
update vue to v7.1.0-beta.2
2022-11-24 16:50:05 +01:00
Louis 6502e3c5be Merge pull request #35398 from nextcloud/artonge/fix/dont_error_when_destination_is_not_a_node
Do not check quota for non Node
2022-11-24 16:10:11 +01:00
Simon L 413555c068 address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-24 15:07:26 +00:00
Jérôme Herbinet 7520531d01 npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-11-24 13:55:31 +01:00
root 4604c2e022 update vue to v7.1.0-beta.2
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-24 12:41:51 +00:00
Jérôme Herbinet 53a4818271 More appropriate wording for background selection
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-11-24 13:28:29 +01:00
Côme Chilliet f171de52b3 Fix theming tests for PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-24 12:20:27 +01:00
John Molakvoæ b45c62a2cf Merge pull request #34642 from nextcloud/bug/noid/revert-minimum-lenght-for-tags 2022-11-24 12:17:02 +01:00
Carl Schwan 99c4030001 Fix share admin page
arrow function don't work that well with jquery

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-24 11:54:57 +01:00
Côme Chilliet 26033653a8 Remove dymanic var $mountOptions to fix PHP 8.2 compatibility
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-24 11:52:07 +01:00
Louis Chemineau 90bce5d58e Do not check quota for non Node
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-24 11:35:02 +01:00
Varun Patil 136b2c5949 Fix type of PreviewController::$userId
Can be null if not logged in; currently crashes

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2022-11-24 02:33:31 -08:00
Vincent Petry 5f3585d817 Merge pull request #35380 from nextcloud/enh/noid/fix-remaining-user-issues
fix remaining user settings issues
2022-11-24 09:59:58 +01:00
Carl Schwan afae72b7d4 Merge pull request #35370 from nextcloud/fix/renaming-token
Fix UX of renaming token
2022-11-24 09:40:00 +01:00
Joas Schilling b414f5ed86 Merge pull request #35383 from nextcloud/fix/php-lint
Fix PHP lint CI failure
2022-11-24 06:51:59 +01:00
Nextcloud bot dd028f4052 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-24 02:17:35 +00:00
Christopher Ng 945cab59fb Fix PHP lint CI failure
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-24 01:09:19 +00:00
Pytal dbc7290f0d Merge pull request #35272 from nextcloud/enh/a11y-share-search-label
Add label to sharing search field
2022-11-23 16:55:12 -08:00
Simon L 6f7c054145 fix remaining user settings issues
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-23 23:44:49 +00:00
Vincent Petry cd9f538be9 Merge pull request #35368 from nextcloud/add-repair-job-secret-config
Add repair job that will ensure that secret and passwordsalt are set
2022-11-23 20:57:30 +01:00
Vincent Petry 7522fb46cf Merge pull request #35350 from nextcloud/fix/users-mgmt
Fix user settings layout
2022-11-23 20:52:35 +01:00
Julius Härtl f63560933d Merge pull request #35317 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-11-23 18:33:56 +01:00
Carl Schwan 48ea9e1c23 Use public IAppManager instead of OC_App
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-23 17:04:22 +01:00
Carl Schwan 5e725da79d Add repair job that will ensure that secret and passwordsalt are set
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-23 16:51:01 +01:00
Carl Schwan 2b4f2251e5 Fix UX of renaming token
Now this get's instant applied and escaping will reset to the previous
state

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-23 16:45:24 +01:00
Louis bbc1f6dbbb Merge pull request #35353 from nextcloud/artonge/fix/cache_update_when_file_size_equal_0
Update cache when file size === 0
2022-11-23 15:51:29 +01:00
Louis Chemineau 66ba90ceff Update cache when file size === 0
The conditions were false when $result === 0.
$results here contains the number of written bits.
The correct way of checking for operation success is to check if $result === false

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-23 12:43:57 +01:00
Louis Chemineau a781ae3afb Allow to set a custom timeout for ldap connections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-23 11:37:49 +01:00
John Molakvoæ bb6bf02e3d scroll if too much groups
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-23 10:57:49 +01:00
John Molakvoæ 14e0299582 Fix user settings layout
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-23 10:47:38 +01:00
Simon L 9422d80f88 Merge pull request #35302 from nextcloud/bugfix/noid/unsupported-url
Generate proper URL for unsupported browsers page
2022-11-23 09:39:15 +01:00
nextcloud-command 7715d7162c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-11-23 05:26:04 +00:00
Nextcloud bot b8074ae007 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-23 02:18:10 +00:00
Christopher Ng 20da3d081e Add label to sharing search field
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-23 02:04:18 +00:00
Pytal 53195cbf3a Merge pull request #35315 from nextcloud/enh/a11y-border-contrast 2022-11-22 15:19:31 -08:00
Christopher Ng a0266d1b16 Fix border color contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-22 18:42:56 +00:00
Vincent Petry 0b21a9ac6f Merge pull request #35299 from nextmcloud/nmcpr/1416-prevents-selection-of-encrypted-folders
Prevents the selection of encrypted folders when clicking on the "Select all" checkbox
2022-11-22 18:09:26 +01:00
Vincent Petry a56a1a655b Merge pull request #35143 from nextcloud/add-pr-template
Add pull request template with checklist
2022-11-22 17:57:05 +01:00
Carl Schwan 8dcd992ad4 Merge pull request #34940 from nextcloud/feat/add-mastodon
Add mastodon and reorganize profile info section
2022-11-22 17:47:04 +01:00
Côme Chilliet 90165309e1 Improve a bit codestyle
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 16:57:24 +01:00
Côme Chilliet 911967867f Merge branch 'master' into ldapi-unix-socket-support
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2022-11-22 16:47:42 +01:00
Robin Appelman 06b2ed2641 skip files that cant be opened for FixEncryptedVersion
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-22 16:40:12 +01:00
Côme Chilliet 603feb98f2 Merge pull request #35234 from nextcloud/fix/bump-doctrine/dbal-to-3.3-in-master
Bump doctrine/dbal to 3.3 in master
2022-11-22 15:48:58 +01:00
John Molakvoæ ba9059b497 Merge pull request #35325 from nextcloud/fix/navigation-order
Fix navigation order
2022-11-22 15:04:09 +01:00
Joas Schilling 86e7159d82 Merge pull request #35206 from nextcloud/bugfix/noid/fix-forwarding-the-object-id
Fix forwarding the object id when searching comments
2022-11-22 14:56:48 +01:00
Christoph Wurst cad2e4d341 Merge pull request #35309 from nextcloud/fix/fix-33856-Help_pages_Window_title_must_change_when_switching_sidebar_sections
Help pages: set window title for sidebar sections
2022-11-22 14:12:13 +01:00
Carl Schwan f244406ebd Update composer autoloader
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 13:35:17 +01:00
Côme Chilliet beaa81e420 Align 3rdparty with master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-22 12:28:17 +01:00
John Molakvoæ 5f58660de5 Fix navigation order
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-22 12:11:35 +01:00
kavita.sonawane@t-systems.com 0253a0b2d0 CSS compiled files for deactivates the possiblility to checkmark or click on the encrypted folders
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 16:36:13 +05:30
Julius Härtl 61ce0ad293 Generate proper URL for unsupported browsers page
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Compile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-22 11:57:26 +01:00
Julius Härtl 5bf96eecc6 Merge pull request #35226 from nextcloud/redis/lazy 2022-11-22 11:54:29 +01:00
kavita.sonawane@t-systems.com 95e61ef685 Prevent selection of encrypted folders
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:10 +05:30
kavita.sonawane@t-systems.com acdd34ecaf Prevents the selection of encrypted folder on next page load
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:10 +05:30
kavita.sonawane@t-systems.com 44c1049e0c Prevents the selection of encrypted folder on scroll page
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:10 +05:30
kavita.sonawane@t-systems.com e4de88386a Deactivates the possiblility to checkmark or click on the encrypted folder
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:09 +05:30
kavita.sonawane@t-systems.com 23f968400c Add comments for prevents the selection of encrypted folders
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:09 +05:30
kavita.sonawane@t-systems.com 64f409e8ab Filelist:-Deselecting all files checkboxes within cells of encrypted folder
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:09 +05:30
Louis 0fb6fdcd21 Merge pull request #35316 from nextcloud/dependabot/npm_and_yarn/engine.io-and-socket.io-6.2.1
Bump engine.io and socket.io
2022-11-22 10:46:18 +01:00
Carl Schwan e35bcc9381 Fix tests
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 10:06:19 +01:00
John Molakvoæ 7f6e22c308 Merge pull request #35318 from nextcloud/bugfix/noid/avoid-conflicting-session-data 2022-11-22 10:04:14 +01:00
julia.kirschenheuter 3559334fec Help pages: set window title for sidebar sections
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2022-11-22 09:31:28 +01:00
Julius Härtl 023b80e617 Only setup redis connection if needed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-22 09:26:24 +01:00
Julius Härtl de3099b4d6 Remove potential mismatching dav session data during login
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-22 08:47:01 +01:00
Carl Schwan d1209d8302 Rename mastodon to fediverse
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 08:40:12 +01:00
dependabot[bot] ea21d282eb Bump engine.io and socket.io
Bumps [engine.io](https://github.com/socketio/engine.io) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `engine.io` from 6.1.1 to 6.2.1
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.1.1...6.2.1)

Updates `socket.io` from 4.4.1 to 4.5.3
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.4.1...4.5.3)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 03:25:11 +00:00
Nextcloud bot a0bf65dad9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-22 02:19:20 +00:00
Simon L 09345f762b Merge pull request #35308 from nextcloud/bugfix/34961/user-mgmt-quota-no-cache
Don't use quota cache through user management
2022-11-21 18:39:31 +01:00
Côme Chilliet 83badcba82 Merge pull request #35146 from nextcloud/fix-codespace-url
Fix devcontainer url (closing #35145)
2022-11-21 17:18:51 +01:00
Carl Schwan d847eacfbd Refactor profile info settings
- Make it possible to add the new property whiout chaning foundamentally
  how the layout work each time
- Use only one grid instead of multiple nested grid
- Better mobile reponsiveness

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 16:29:04 +01:00
Carl Schwan 86d9626901 Add mastodon personal info field
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 16:28:56 +01:00
Vincent Petry 0b09531dc6 Don't use quota cache through user management
When querying the free space through user management APIs, don't use the
cached quota value. The latter is only there to accelerate PROPFINDs.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-21 16:24:22 +01:00
Côme Chilliet d0c72cc11a Merge pull request #34528 from nextcloud/fix/files_versions-clean-handling-of-bad-names
Handle badly named version files more gracefully and log information
2022-11-21 16:18:42 +01:00
Côme Chilliet 341dda1de6 Merge branch 'master' into fix/clean-ldap-access-factory-usage
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2022-11-21 16:05:17 +01:00
Côme Chilliet c2cb790532 Merge pull request #34745 from nextcloud/optimize-show-apps
Extract $ignoreMaxApps from array_map callback in AppSettingsController
2022-11-21 15:20:11 +01:00
Côme Chilliet 1510a3dca4 Merge pull request #35241 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-11-21 15:19:03 +01:00
Louis e644205120 Merge pull request #35187 from nextcloud/artonge/fix/mention_in_comment_editor
Fix mentions rendering in comment editor
2022-11-21 12:24:56 +01:00
Côme Chilliet 8a16e7e8a1 Fix more psalm issues in OC\DB
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-21 11:30:20 +01:00
Côme Chilliet 378630f8a0 Fix psalm issues following doctrine/dbal bump
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-21 10:56:15 +01:00
Joas Schilling fab277647e Merge pull request #35251 from nextcloud/bugfix/noid/increase-fairuse-limit
Increase the fair-use push limit to 1.000 users
2022-11-21 10:49:01 +01:00
Louis Chemineau 0f66806694 Fix mentions rendering in comment editor
NcRichContentEditable needs an index of users to properly display them. This commit adds a caching logic and provides it to NcRichContentEditable.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-21 10:48:47 +01:00
Côme Chilliet 4893501abe Log as warning instead of info when main LDAP server is unreachable
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-21 10:31:24 +01:00
Joas Schilling aad8b30398 Merge pull request #35185 from nextcloud/bugfix/noid/hide-not-missing-updates-of-future-shipped-apps
Hide warning about missing apps for when shipped in the next version
2022-11-21 07:36:42 +01:00
nextcloud-command b3bf64b88b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-11-21 04:17:02 +00:00
Nextcloud bot e275dc03aa [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-21 02:15:29 +00:00
Nextcloud bot 9b86b91ddf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-20 02:15:49 +00:00
Nextcloud bot 46586dadb9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-19 02:17:38 +00:00
John Molakvoæ 5c8453928a Merge pull request #35269 from nextcloud/fix/remove-pending
Remove completed comments
2022-11-19 00:05:18 +01:00
blizzz eac6378646 Merge pull request #34677 from nextcloud/fix/34602/background-image-migration
optimize background image migration job
2022-11-18 23:14:37 +01:00
Arthur Schiwon 9892bdc3c3 rename placeholder
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-18 22:30:03 +01:00
Arthur Schiwon 0297a03698 fix const visibility
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
blizzz df8ed46cce use const
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
blizzz 9bdf4c2254 use const
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
blizzz a2bce2c6fc use .json extentions
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
Arthur Schiwon dbd573e1b0 do not store state in appconfig
- and use count over isset for better understanding

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
Arthur Schiwon a7ffdcd3dd remove dashboard check, as fallback did not consider it either
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
Arthur Schiwon b725c777aa optimize background image migration job
- separate in two stages: to prepare, and to actually migrate
- in step one, prepare a list of users to be migrated, and store it
  compressed as app config
  - gzcompress can be used, because we already require zlib
- upon the next calls (step two), slice off the first 5000 users
  and migrate them. Re-add job if necessary to repeat.
- downside is that an app config value will in the beginning use the
  RAM with any request, until it thins out. Examples: 2m UUIDs (75 MiB)
  result in ~40 MiB compressed data, while 0.2Mib for 10 000 UUIDs,
  0.4MiB for 20 000 and 4.1 MiB for 200 000. Acceptable.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-18 22:24:58 +01:00
Christopher Ng a32ce79204 Remove completed comments
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-18 19:00:50 +00:00
Pytal 4767551509 Merge pull request #35253 from nextcloud/bugfix/noid/remove-warnings-loginpage 2022-11-18 10:27:12 -08:00
Simon L b4ab2a9358 Merge pull request #35259 from nextcloud/bugfix/32354/fix-upload-actually-cancel-xhr
Also cancel XHR when cancelling uploads
2022-11-18 18:06:05 +01:00
Simon L 8e80f0433c Merge pull request #35182 from nextcloud/enh/34654/try-go-generate-user-themed-icons
generate user themed icons
2022-11-18 16:02:51 +01:00
Vincent Petry feda03b6ed Also cancel XHR when cancelling uploads
Fixes issue when cancelling a long list of uploads.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-18 15:47:19 +01:00
Joas Schilling d1f2e5e967 Increase the fair-use push limit to 1.000 users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-18 15:39:23 +01:00
Vincent Petry 09e55c717b Merge pull request #35218 from nextcloud/storage-setup-providers
delay updating setup providers untill we register the mounts
2022-11-18 15:24:14 +01:00
Vincent Petry 4083a507e7 Fix warnings on login page
Check for app menu container before mounting.
Fix "isError" in LoginForm being a number when the throttleDelay is
zero. In fact, there is no need for existence check because both
undefined and null are not greater than a number.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-18 15:20:40 +01:00
Simon L 04b236e320 generate user themed icons
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2022-11-18 15:03:41 +01:00
Nextcloud bot 473647a467 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-18 02:13:28 +00:00
Pytal fe18b5bfa4 Merge pull request #35170 from nextcloud/fix/fix-33745-Focus_and_active_state_needs_to_look_different_from_each_other 2022-11-17 11:08:04 -08:00
Christoph Wurst 183487a52e Merge pull request #35186 from nextcloud/fix/oauth2-add-client-button-native-submit
Fix missing native submit type from OAuth client add button
2022-11-17 18:23:39 +01:00
julia.kirschenheuter e056cd621d User status dialog a11y: make different focus and active state for OnlineStatusSelect and PredefinedStatus
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-17 17:08:24 +00:00
Simon L beba3d04e4 Merge pull request #35227 from nextcloud/bugfix/35152/fix-toggle-grid-file-picker
Limit toggle grid view button scope
2022-11-17 17:43:48 +01:00
Côme Chilliet 9983af0cc0 Switch to new 3rdparty branch
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 17:12:14 +01:00
Côme Chilliet f61b865ff7 Bump doctrine/dbal to 3.3 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 17:06:11 +01:00
Vincent Petry dceb562d9c Merge pull request #35090 from nextcloud/enh/a11y-close-on-focusout
Close global search menu when keyboard focus leaves
2022-11-17 16:56:31 +01:00
Louis ea24e2a323 Merge pull request #35225 from nextcloud/chore/package-lock-git-merge-strategy
Do not auto merge package-lock.json, but treat as text file
2022-11-17 16:53:07 +01:00
Côme Chilliet 6868cfbc2e Merge pull request #35009 from nextcloud/fix/check-quota-on-copy
Check quota on file copy
2022-11-17 15:40:21 +01:00
Robin Appelman 841a6a084e delay updating setup providers untill we register the mounts
otherwise the fallback to a full setup for a missing cached mount provider will lead to a race condition

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-17 15:21:57 +01:00
Côme Chilliet 9e1dd52c99 Cache the fetched list of groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 15:12:24 +01:00
Côme Chilliet 3e15ea6cd0 Log switching to LDAP backup host because main one is not available
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 14:58:44 +01:00
Côme Chilliet 1d00290621 Cache display name even if it was not filled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 14:47:00 +01:00
Côme Chilliet feafa63afb Apply the same fix as on beforeCopy on beforeMove
Let’s be safe

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 13:22:50 +00:00
Robin Appelman 9150082eb7 fix dirname usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-17 13:22:50 +00:00
Côme Chilliet 81d3a76d5d Fix psalm issues
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 13:22:50 +00:00
Côme Chilliet 5ed840ed23 Check quota on file copy
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-17 13:22:49 +00:00
Vincent Petry 9a948a6b39 Limit toggle grid view button scope
Limit the button action scope to the file picker dialog so that it
doesn't touch the file list present in the page.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-17 14:09:52 +01:00
Julius Härtl 301af07e2f Merge pull request #35224 from nextcloud/chore/drop-deprecatd-node-sass 2022-11-17 13:13:00 +01:00
Côme Chilliet 55232de1ac Merge pull request #35194 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-11-17 12:38:19 +01:00
Christoph Wurst 5ae8f6326c Do not auto merge package-lock.json, but treat as text file
If package-lock is specified to be a binary file, it becomes impossible
to diff any changes. Since we only want to prevent git from merging
changes in the lockfile, we can be more specific and tell it that binary
handling is only required as merge strategy.

[skip ci]

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-17 12:32:03 +01:00
Christopher Ng d7c4bdc46e Close global search menu when focus leaves
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-17 11:51:41 +01:00
Christoph Wurst ab8b6cff01 Fix missing native submit type from OAuth client add button
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-17 10:55:26 +01:00
Christoph Wurst bb728aca31 Drop deprecated node-sass
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-17 10:44:38 +01:00
John Molakvoæ f021172eab Merge pull request #35203 from nextcloud/jpeg-80
Default Jpeg quality to 80
2022-11-17 08:41:34 +01:00
John Molakvoæ d27a39271e getAppValue expects string
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2022-11-17 08:03:05 +01:00
nextcloud-command ca695385ca Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-11-17 04:11:54 +00:00
Nextcloud bot d0f9eab647 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-17 02:14:28 +00:00
John Molakvoæ 3aa16d60d5 Merge pull request #35207 from nextcloud/fix/date-picker
Fix sharing expiration date handling and saving
2022-11-16 19:06:30 +01:00
John Molakvoæ 2b4ce7b95d Fix date handling and saving
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-16 17:19:58 +01:00
Vincent Petry 2c8e8083e7 Add pull request template with checklist
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-16 15:55:26 +01:00
Simon L 3d77e386cd Merge pull request #34615 from nextcloud/enh/noid/logo-inverted
fix logo not correctly inverted
2022-11-16 15:54:06 +01:00
blizzz e3822e1160 Merge pull request #35184 from nextcloud/s3-copy-dir-shadow
fix s3 directory copy
2022-11-16 15:41:19 +01:00
Robin Appelman 7e36002a93 Merge pull request #35210 from nextcloud/bugfix/noid/fix-settings-set-default-expiration-date
Fix settings for setting default expiration date
2022-11-16 15:38:02 +01:00
Julius Härtl b62d3c4f39 Merge pull request #35192 from pserwylo/fix-performance-github-action
Fix github action "performance-8.0" when PR is from a fork.
2022-11-16 15:05:08 +01:00
Peter Serwylo 56aee55f9b Fix github action "performance-8.0" when PR is from a fork.
There is an assumption that the PR is from the same remote as
the base it is being merged into. This is fixed so that instead
of doing a `git fetch origin`, it now fetches from the `clone_url`
of the PR head.

Signed-off-by: Peter Serwylo <peter@serwylo.com>
2022-11-16 23:50:40 +11:00
Vincent Petry 2853e0887c Fix settings for setting default expiration date
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-16 13:02:31 +01:00
Joas Schilling 3f4fed3550 Fix forwarding the object id when searching comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-16 12:08:34 +01:00
Git'Fellow 0f3150cff7 Tests adjustement
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-11-16 11:01:32 +01:00
Git'Fellow c7e2787300 Default Jpeg quality to 80
See https://sirv.com/help/articles/jpeg-quality-comparison/
Almost 50% of file size (compared to 90) and no visual differences.

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-11-16 10:59:50 +01:00
John Molakvoæ e6b7fa6cae Fix logo invert
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-16 09:46:20 +01:00
Nextcloud bot 62919ac81e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-16 02:14:42 +00:00
Simon L f559792bf3 Merge pull request #35033 from nextcloud/enh/34732/fix-dashboard-scrolling
fix dashboard scrolling
2022-11-16 02:06:21 +01:00
Simon L fe15069c90 Merge pull request #35029 from nextcloud/enh/34969/fix-app-menu-firefox
Fix AppMenu icons for firefox
2022-11-16 02:05:58 +01:00
Pytal 968a4110b8 Merge pull request #35179 from nextcloud/dependaskjnldsv/nextcloud-vue
Bump @nextcloud/vue to 7.1.0-beta0
2022-11-15 11:13:00 -08:00
John Molakvoæ d78fa59f37 Fix CalDavSettings spec
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-15 19:06:40 +01:00
John Molakvoæ 7cc6f63e57 Bump @nextcloud/vue to 7.1.0-beta0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-15 18:51:28 +01:00
Côme Chilliet b209a650cc Merge pull request #35181 from nextcloud/fix/test-php-8.2-2
Fix more tests for PHP 8.2
2022-11-15 18:09:52 +01:00
Joas Schilling 7dccb8cd0c Hide warning about missing apps for when shipped in the next version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-15 17:40:26 +01:00
Robin Appelman ed8fedc685 fix s3 directory copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-15 17:17:59 +01:00
Côme Chilliet 38440563dd Fix themings tests and get rid of deprecated at matcher
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-15 16:29:26 +01:00
Christoph Wurst 102617f0b3 Merge pull request #35147 from nextcloud/fix/fix-33741-h1_should_instead_be_in_the_app_content
Place ```<h1>``` into main content
2022-11-15 16:14:29 +01:00
Côme Chilliet 68363f6944 Fix some more problems with tests under PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-15 16:02:24 +01:00
Simon L c3d0b71f2f Merge pull request #33631 from nextcloud/enh/noid/mariadb10.6-master
use the updated mariadb10.6 container in drone
2022-11-15 13:26:25 +01:00
Maxence Lange 6964751ec6 restoring clearCachedConfig()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-15 11:08:20 -01:00
Côme Chilliet 4893d5e746 Merge pull request #35156 from nextcloud/fix/fix-tests-for-8.2
Fix dynamic properties and other problems in tests for PHP 8.2
2022-11-15 13:04:51 +01:00
Bjørn Forsman 582f07c8fc Add text/asciidoc mimetype
Ref https://docs.asciidoctor.org/asciidoc/latest/faq/#whats-the-media-type-aka-mime-type-for-asciidoc

This is step 1 towards allowing editing of AsciiDoc files in Nextcloud.
Step 2 is adding support in https://github.com/nextcloud/text.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
2022-11-15 12:00:03 +01:00
julia.kirschenheuter a8ff2ff0b0 Place ``<h1>`` into main content
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2022-11-15 10:50:33 +00:00
Simon L a577625767 Merge pull request #35173 from nextcloud/test/34976/received-share-in-shared-folders
Add test for received share in share_folder
2022-11-15 11:49:22 +01:00
Côme Chilliet 72f4b34ad5 Fix tests depending on a trailing whitespace
Many editors remove trailing whitespaces, so avoid depending on them for
 tests success.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-15 10:31:58 +01:00
Vincent Petry 486d8bc986 Add test for received share in share_folder
Add integration test for receiving a share in a configured
"share_folder".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-15 09:57:44 +01:00
Côme Chilliet 324126888e Add Union types for properties in tests/lib/Encryption/Keys/StorageTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-15 09:29:35 +01:00
John Molakvoæ baf74f0aa1 Merge pull request #35014 from nextcloud/fix/login-headline
Fix rendering of login headline
2022-11-15 09:29:32 +01:00
Côme Chilliet 0f7e56b3b3 Fix syntax in VerificationTokenTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-15 09:25:56 +01:00
Pytal ccb30e7825 Merge pull request #35091 from nextcloud/enh/a11y-single-char-search
Allow single character search by default
2022-11-14 19:59:38 -08:00
Nextcloud bot ad446daae0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-15 02:15:30 +00:00
Simon L 73c5591f68 Merge pull request #35024 from nextcloud/deprecate/php74
Deprecate PHP7.4
2022-11-14 20:35:54 +01:00
Côme Chilliet 6d8774a232 Merge pull request #35157 from nextcloud/fix/avoid-passing-null-to-datetime-createfromformat
Make sure to not pass null to DateTime::createFromFormat
2022-11-14 19:33:16 +01:00
blizzz 6bd55b73ea Merge pull request #35075 from nextcloud/docs/remove_redis_sentinel_reference
Remove reference to Redis sentinel from configuration docs
2022-11-14 18:48:35 +01:00
Côme Chilliet c79a6b3f62 Fix errors from PHP 8.2 testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 17:08:21 +01:00
Robin Windey 0776f84947 Fix devcontainer url
See also:
* https://github.com/community/community/discussions/5104#discussioncomment-2217052
* https://docs.github.com/en/codespaces/developing-in-codespaces/default-environment-variables-for-your-codespace#list-of-default-environment-variables
2022-11-14 15:40:04 +00:00
Côme Chilliet 9ba9f9a7dc Make sure to not pass null to DateTime::createFromFormat
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 16:23:50 +01:00
Côme Chilliet 70e2217d1c Fix dynamic properties and other problems in tests for PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-14 16:14:35 +01:00
Joas Schilling ea377578ad Merge pull request #35139 from nextcloud/revert-35015-patch-1
Revert "Appropriate length check in Notification.php"
2022-11-14 12:49:44 +01:00
Joas Schilling 08c19c6b04 Merge pull request #35142 from nextcloud/nickvergessen-patch-1
Update CODEOWNERS
2022-11-14 11:24:53 +01:00
Joas Schilling 4811aabdc6 Update CODEOWNERS
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-11-14 11:18:11 +01:00
Joas Schilling 6ea4ef9521 Revert "Appropriate length check in Notification.php" 2022-11-14 11:14:13 +01:00
Joas Schilling 81ea283752 Merge pull request #35043 from nextcloud/updateCrl
Update crl after revoke drawio.csr
2022-11-14 11:00:30 +01:00
Simon L f1b940bc78 Merge pull request #34645 from nextcloud/bugfix/support-to-postgres15
🐘 Support postgres15
2022-11-14 10:02:38 +01:00
Simon L 4bf1f4e484 Merge pull request #35093 from nextcloud/nickvergessen-patch-1
Run integration tests on 3rdparty bump
2022-11-14 09:45:55 +01:00
Simon L 98543b160c Merge pull request #35096 from nextcloud/bugfix/noid/mark-more-values-as-sensitive
Mark more config values as sensitive
2022-11-14 09:45:19 +01:00
Nextcloud bot 47327e6630 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-14 02:15:27 +00:00
Simon L 8af36bf513 Merge pull request #35070 from nextcloud/fix/34993/ldap-user-manager-must-not-be-shared
[LDAP] always create instance of own user manager
2022-11-13 23:13:48 +01:00
Julius Härtl 87105a21d4 Merge pull request #33482 from nextcloud/bugfix/app-version-disabled
Show version from appinfo on occ app:list
2022-11-13 17:07:45 +01:00
Julius Härtl 7e229aab54 Merge pull request #34746 from nextcloud/add-calendar-settings-section
Add Calendar settings section
2022-11-13 17:06:49 +01:00
Nextcloud bot 77729147bd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-13 02:14:30 +00:00
dependabot[bot] 2be506fc97 bump sass-loader from 12.6.0 to 13.2.0
---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-12 02:59:27 +00:00
Nextcloud bot 65e9409e72 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-12 02:14:56 +00:00
Simon L c2f3010ee7 Merge pull request #34829 from nextcloud/Valdnet-patch-3
l10n: Improve styling
2022-11-12 02:14:01 +01:00
Vitor Mattos eb7b682dc0 Bugfix to support postgres15
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Simon L <szaimen@e.mail.de>
Co-Authored-By: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-11-11 22:36:08 +01:00
szaimen fe2b851f82 use the updated mariadb10.6 container in drone
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-11 21:33:17 +01:00
Simon L 9d45845d2a Merge pull request #34994 from Glandos/fileinfo_perf
[Performance] Test valid path only if file info has to be retrieved
2022-11-11 17:11:21 +01:00
Robin Appelman abaa3ef61b Merge pull request #34485 from michaelkuhn/hasBigIntConversionPendingColumns-files_trash
Fix hasBigIntConversionPendingColumns missing files_trash
2022-11-11 17:09:26 +01:00
Simon L 10aa3827f7 Merge pull request #35015 from natoponen/patch-1
Appropriate length check in Notification.php
2022-11-11 17:08:21 +01:00
Simon L 1560c9384d Merge pull request #35105 from nextcloud/fix/noid/imaginary-distorted-previews
Fix distorted previews when using imaginary
2022-11-11 16:56:29 +01:00
Julius Härtl 1da6c21036 Show version from appinfo on occ app:list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-11 14:45:11 +01:00
Richard Steinmetz 98e55ea4f0 Fix distorted previews when using imaginary
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-11 14:21:05 +01:00
Julius Härtl cc8322214c Merge pull request #35077 from nextcloud/fix/public-key-token-provider-test
Fix PublicKeyTokenProviderTest import and mock
2022-11-11 09:46:49 +01:00
Joas Schilling 663cf04469 Mark more config values as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-11 09:02:28 +01:00
Joas Schilling 9dd0d0ba57 Run integration tests on 3rdparty bump
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-11-11 07:54:26 +01:00
Nextcloud bot 96855d73a2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-11 02:14:02 +00:00
Christopher Ng 6c09155e13 Allow single character search by default
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-11 01:35:02 +00:00
Joas Schilling c1ba14ad00 Merge pull request #35074 from nextcloud/fix/fix-path-normalizing
Make sure that path is normalized and then checked,
2022-11-10 18:50:18 +01:00
Pytal 66c33fd9b8 Merge pull request #35054 from nextcloud/fix-html-entities-not-decoded-in-comment-just-added 2022-11-10 09:10:11 -08:00
Côme Chilliet 1c28c64ea7 Merge pull request #35076 from nextcloud/fix/bump-swiftmailer/swiftmailer-to-6.3.0
Bump swiftmailer/swiftmailer to 6.3.0
2022-11-10 17:08:04 +01:00
Côme Chilliet d459474084 Bump swiftmailer/swiftmailer to 6.3.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-10 17:06:40 +01:00
Christoph Wurst 9d0e79f10d Fix PublicKeyTokenProviderTest import and mock
* IDBConnection import missing
* Atomic doesn't need a mock

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-10 15:40:35 +01:00
Raul 693d69d758 Remove reference to Redis sentinel from configuration docs
Signed-off-by: Raul <r.ferreira.fuentes@gmail.com>
2022-11-10 15:37:25 +01:00
Côme Chilliet a78595a45f Make sure that path is normalized and then checked,
and not the other way around

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-10 15:03:15 +01:00
nextcloud-command 99b1d0047f Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-10 13:02:40 +00:00
Daniel Calviño Sánchez 5442f8efd6 Fix HTML entities not decoded in comment just added
The XML data received from the comments endpoint has an inconsistent
encoding; some entities are encoded once and others are encoded twice.
When the comment list is loaded the comments are fetched using
GetComments, which handles all that, and therefore shows the messages
and author names as expected.

However, when a new comment is posted the list is not got again; instead
the new comment is loaded from the comment data returned after posting
it. This is done in NewComment, which did not decode the messages nor
the author names, and therefore showed, for example, "&amp;" instead of
"&".

To solve that now the same decoding logic used in GetComments is applied
too in NewComment.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-11-10 13:50:52 +01:00
Daniel Calviño Sánchez 924c090f07 Extract "decodeHtmlEntities" function to its own file
This will make possible to use it from files other than
"GetComments.js".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-11-10 13:34:02 +01:00
Arthur Schiwon e6e18b4008 [LDAP] always create instance of own user manager
- it is config specific and cannot be shared
- because the Access instance is bound later, it is not obvious from the
  constructor

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-10 10:32:01 +01:00
Christoph Wurst 75a1721d7d Deprecate PHP7.4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-10 09:56:32 +01:00
Nextcloud bot cfa291ec8f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-10 02:15:26 +00:00
Pytal 410586c2e7 Merge pull request #35063 from nextcloud/fix/noid/versions-empty-top-margin 2022-11-09 15:58:02 -08:00
Richard Steinmetz e122a50920 Fix top margin in empty versions list
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-09 23:22:36 +01:00
Simon L 9757889454 Merge pull request #34989 from nextcloud/Valdnet-patch-4
l10n: Shorten link
2022-11-09 19:55:04 +01:00
Simon L 3314735cec Merge pull request #35052 from nextcloud/fix-sidebar-not-hidden-when-changing-section-in-files-app
Fix sidebar not automatically hidden in Files app
2022-11-09 19:51:14 +01:00
Pytal 179e104934 Merge pull request #35042 from nextcloud/enh/uri-description
Add description for calendar uri
2022-11-09 10:14:51 -08:00
Valdnet a18a95bbc9 Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-11-09 18:01:20 +01:00
Daniel Calviño Sánchez a8fea270ed Fix sidebar not automatically hidden in Files app
Although the Files app creates the legacy sidebar (details view) it is
then replaced with the newer Vue app sidebar. Due to this ".detailsView"
no longer finds an element and therefore nothing was hidden when
"hideAppSidebar($('.detailsView'))" was called (for example, when
changing to another section).

However, "OC.Apps.hideAppSidebar()" does not properly work either with
the Vue sidebar used in the Files app (once hidden the sidebar is not
shown again). For simplicity, and to avoid any possible side effect in
other apps from changing "OC.Apps.hideAppSidebar", now
"OC.Files.Sidebar.close()" is used instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-11-09 17:45:00 +01:00
Julius Härtl e29720f9b2 Next attemp on imip tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-09 16:37:34 +01:00
Julius Härtl 908b7aa70a Attempt to fix CalendarImpl tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-09 16:37:34 +01:00
Julius Härtl 2a684f6741 Fix some phpunit test warnings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-09 16:37:34 +01:00
Vitor Mattos fe67920647 Update crl after revoke drawio.csr
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-11-09 03:06:27 +00:00
Nextcloud bot dce83459d5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-09 02:14:32 +00:00
Christopher Ng 41d4e0a272 Add description for calendar uri
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-09 00:34:20 +00:00
nextcloud-command 855b3c5489 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-08 18:12:21 +00:00
Simon L 07de9fa4e8 fix dashboard scrolling
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-08 19:03:31 +01:00
Simon L d65fd72452 Merge pull request #34613 from nextcloud/enh/noid/fix-checkmark-icon
fix checkmark for theme settings in dark mode
2022-11-08 18:58:55 +01:00
Simon L 87f4ed55e5 Merge pull request #32211 from nextcloud/feat/repair_share_ownership
Add repair command to fix wrong share ownership
2022-11-08 18:57:03 +01:00
Robin Appelman 6d8c72c9f6 update autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 17:14:22 +01:00
Robin Appelman 7dc8e6a014 fix repairing non user shares when repairing all shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 17:13:52 +01:00
Robin Appelman e09fabd47c remove no longer needed code
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 17:13:48 +01:00
Robin Appelman b66779711f split repairing into two stages to prevent long open transaction
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 17:13:44 +01:00
Robin Appelman 8012c85d3e update shares directly in db
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 17:13:41 +01:00
Vincent Petry 1be1c23c05 More verbose output for repair share ownership cmd
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-08 17:13:37 +01:00
Robin Appelman 3d68a526e7 move share owner repair to occ command
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-08 17:13:33 +01:00
Louis Chemineau 610e963567 Add repair step to fix wrong share ownership
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-08 17:13:29 +01:00
Richard Steinmetz ad77bf4030 Merge pull request #35028 from nextcloud/fix/dns-pin-middleware-throws-public-ip
Fix DNS Pin Middleware throwing for public IPs
2022-11-08 16:44:50 +01:00
nextcloud-command 506b535878 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-08 13:44:49 +00:00
nextcloud-command b265ed7384 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-08 13:38:44 +00:00
szaimen 1e48661238 fix checkmark for theme settings in dark mode
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-08 14:28:17 +01:00
Simon L 2ee7221d4b Fix AppMenu icons for firefox
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-08 14:21:53 +01:00
Christoph Wurst ce259435c2 Fix DNS Pin Middleware throwing for public IPs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-08 14:18:05 +01:00
Simon L 3c20647069 fix missing share icon
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-08 13:20:07 +01:00
Simon L 175ac79f97 Merge pull request #32838 from markuszeller/bugfix/32837/implicitFloatConversion
Cast to int
2022-11-08 10:53:13 +01:00
natoponen bd7a1e4dcb Appropriate length check in Notification.php
There is an issue(bug) when using UTF-8 symbols in any method, which checks the length of string as `isset($id[64])`. You can set only 32 UTF-8 symbols because they are 2 byte, and this "array" check seems inapropriate in this case, as it throws unexpected exceptions.

Signed-off-by: natoponen <57988162+natoponen@users.noreply.github.com>
2022-11-08 10:45:58 +03:00
Joas Schilling 0f3fdced4f Merge pull request #34985 from nextcloud/dependabot/npm_and_yarn/nextcloud/l10n-1.6.0
Bump @nextcloud/l10n from 1.4.1 to 1.6.0
2022-11-08 06:51:31 +01:00
Nextcloud bot dc91631068 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-08 02:14:18 +00:00
Christopher Ng b92a774c47 Fix rendering of login headline
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-08 01:05:43 +00:00
dependabot[bot] 457ba00636 Bump @nextcloud/l10n from 1.4.1 to 1.6.0
Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.4.1 to 1.6.0.
- [Release notes](https://github.com/nextcloud/nextcloud-l10n/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-l10n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-l10n/compare/v1.4.1...v1.6.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/l10n"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-07 19:30:15 +00:00
Pytal 0dabc6abc6 Merge pull request #34986 from nextcloud/dependabot/npm_and_yarn/handlebars-loader-1.7.2
Bump handlebars-loader from 1.7.1 to 1.7.2
2022-11-07 11:04:50 -08:00
Markus Zeller 15289f9737 Cast to int #32837
Signed-off-by: Markus Zeller <git@markuszeller.com>
2022-11-07 16:44:47 +01:00
Christoph Wurst c8c27ea352 Merge pull request #35007 from nextcloud/fix/lower-logging-level-user-session-cookie-login
Fix unsuccessful token login logged as error
2022-11-07 16:35:52 +01:00
Joas Schilling ebbc0faf6c Merge pull request #35000 from nextcloud/bugfix/34959/fix-cron-warning-with-time-insensitive-jobs
Fix cron warning with time insensitive jobs
2022-11-07 15:38:31 +01:00
Daniel Kesselberg e665c819a7 Compile core-systemtags.js and systemtags-systemtags.js
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-11-07 15:24:08 +01:00
Daniel Kesselberg 3c83b7a9fd Revert "Add minimumInputLength for tags select"
This reverts commit e1d9b0bae2.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-11-07 15:14:48 +01:00
Christoph Wurst e2d3409a34 Fix unsuccessful token login logged as error
The condition of a non-existent login token can happen for concurrent
requests. Admins can not do anything about this. So this is to be
expected to happen occasionally. This event is only bad if none of the
requests is able to re-acquire a session. Luckily this happens rarely.

If a login loop persists an admin can still lower the log level to find
this info. But a default error log level will no longer write those
infos about the failed cookie login of one request.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-07 15:08:48 +01:00
Côme Chilliet f5181f3682 Merge pull request #34996 from nextcloud/fix/bump-microsoft/azure-storage-blob-to-1.5.4
Bump microsoft/azure-storage-blob to 1.5.4
2022-11-07 14:34:25 +01:00
Vincent Petry 4b931a9d25 Merge pull request #32530 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.10.0
Bump nextcloud-vue-collections from 0.9.0 to 0.10.0
2022-11-07 13:58:08 +01:00
Roeland Jago Douma e50f4c445d Merge pull request #34929 from nextcloud/chore/deprecate-app-container-aliases
Clean up and deprecate app container parameter aliases
2022-11-07 12:04:07 +01:00
Côme Chilliet c090883ce0 Align with 3rdparty master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-07 12:02:14 +01:00
Joas Schilling 0cab646ec0 Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-07 11:27:31 +01:00
Joas Schilling 2d8886e6a4 Increase the "bad waiting time" for cron mode to 24h to account for "time insensitive" jobs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-07 11:04:58 +01:00
Joas Schilling 7730c84e74 Show the correct warning for system cron vs. webcron/ajax
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-07 11:01:22 +01:00
Simon L 533e1803cf Merge pull request #34937 from nextcloud/fix/do-not-crash-on-extension-without-version
Avoid a crash when a PHP extension has no version
2022-11-07 10:45:44 +01:00
Côme Chilliet 3568593d37 Bump microsoft/azure-storage-blob to 1.5.4
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-07 10:44:24 +01:00
Côme Chilliet 7af4fea0e3 Suppress false-positives from psalm, waiting for fix upstream
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-07 10:01:53 +01:00
Côme Chilliet 070ae2930c Merge pull request #34987 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-11-07 09:24:03 +01:00
nextcloud-command 26c2144bd1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-11-07 04:24:52 +00:00
Nextcloud bot ed03a0c217 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-07 02:14:09 +00:00
Glandos 48ca33761f Test valid path only if file info has to be retrieved
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2022-11-06 19:23:53 +01:00
Nextcloud bot 7f2c21f056 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-06 02:12:40 +00:00
Valdnet ea41f21bbe l10n: Shorten link
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-11-05 18:14:41 +01:00
Simon L 779feddb22 Merge pull request #18210 from dbw9580/master
Limit number of concurrent preview generations
2022-11-05 11:32:13 +01:00
szaimen f9e9cd270d Limit-number-of-concurrent-preview-generations
Signed-off-by: Bowen Ding <dbw9580@live.com>
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-05 16:03:01 +08:00
dependabot[bot] e720dd2f13 Bump handlebars-loader from 1.7.1 to 1.7.2
Bumps [handlebars-loader](https://github.com/pcardune/handlebars-loader) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/pcardune/handlebars-loader/releases)
- [Changelog](https://github.com/pcardune/handlebars-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pcardune/handlebars-loader/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: handlebars-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-05 03:23:51 +00:00
Nextcloud bot c88aabd125 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-05 02:15:04 +00:00
Julius Härtl 5c4a66f0c1 Merge pull request #34775 from nextcloud/bugfix/noid/mailer-set-to
Do not throw errors when invalid setTo email is provided
2022-11-04 18:24:55 +01:00
dependabot[bot] aa3be1111f Merge pull request #33181 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.11.0 2022-11-04 16:41:23 +00:00
Vincent Petry a736a2b03b Merge pull request #34702 from nextcloud/fix/clean-ldap-wizard-typing
Clean up LDAP Wizard typing
2022-11-04 17:29:30 +01:00
Vincent Petry 966ee67efb Merge pull request #34834 from nextcloud/bugfix/noid/skeleton-size-calc
Fix size calculation on copying the skeleton files
2022-11-04 17:23:40 +01:00
Vincent Petry 7ec9226cb4 Merge pull request #34909 from nextcloud/fix/21370/duplicate-notifications-2
Fix duplicate event email notifications
2022-11-04 17:19:36 +01:00
dependabot[bot] 2d7185ddfa Bump nextcloud-vue-collections from 0.9.0 to 0.10.0
Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: nextcloud-vue-collections
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-04 16:16:55 +00:00
dependabot[bot] bce5144454 Update behat/behat requirement in /build/integration
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 15:46:56 +00:00
Vincent Petry b9bbb25771 Merge pull request #33884 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.5.0
Bump guzzlehttp/guzzle from 7.4.5 to 7.5.0 in /build/integration
2022-11-04 16:46:02 +01:00
Richard Steinmetz 304b71647f Fix duplicate event email notifications
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-04 16:24:57 +01:00
Pawel Boguslawski 4a46c747e9 Merge master 2022-11-04 13:34:21 +01:00
Joas Schilling f53abd3995 Merge pull request #34963 from nextcloud/followup/34522/fix-invalid-date
Fix invalid date in security.txt
2022-11-04 11:05:10 +01:00
Joas Schilling e096ca7d01 Fix invalid date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-04 07:54:57 +01:00
Nextcloud bot 8795433208 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-04 02:14:14 +00:00
Simon L ec22118017 Merge pull request #34954 from nextcloud/bugfix/noid/autoloader-update-imip
Dump autoloaders for new IHandleImipMessage
2022-11-03 22:10:51 +01:00
Julius Härtl 4da550c569 Merge pull request #34934 from nextcloud/bugfix/noid/session-reopen-read
Read encrypted session data again on reopen
2022-11-03 17:26:31 +01:00
Julius Härtl 60c3d82f9d Dump autoloaders for new IHandleImipMessage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-03 17:21:21 +01:00
Julius Härtl fd036f774f Do not throw errors when invalid setTo email is provided
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-03 16:59:12 +01:00
Côme Chilliet 2e83a21cd2 Merge pull request #34678 from pulsejet/patch-jpeg
Interlace all output JPEG
2022-11-03 16:11:03 +01:00
Christoph Wurst 3b084e5fbc Merge pull request #34893 from nextcloud/fix/move-imip-to-separate-interface
Move iMIP to its own interface
2022-11-03 15:03:42 +01:00
Côme Chilliet 8a2e52e7f8 Merge pull request #34330 from nextcloud/fix/fix-contacts-test-php8
Fix ContactsStoreTests under PHP 8.2
2022-11-03 14:55:06 +01:00
Christoph Wurst ac92d00da8 Merge pull request #32565 from nextcloud/chore/modernize-error-handler
Modernize the error handler
2022-11-03 14:42:51 +01:00
Carl Schwan 97f2a28cfe Merge pull request #34933 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-11-03 14:24:01 +01:00
Anna d648518136 Merge pull request #33605 from nextcloud/perf/user-getdisplayname-cache
Use cached getDisplayName method
2022-11-03 13:58:58 +01:00
Julius Härtl c412821606 Do not remove complete encrypted session key when just a key should be removed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-03 13:20:30 +01:00
Julius Härtl 2ff840b5c1 Read encrypted session data again on reopen
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-03 13:20:30 +01:00
Côme Chilliet 56f24cff9f Avoid a crash when a PHP extension has no version
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-03 11:53:51 +01:00
Christoph Wurst c00e590a4f Merge pull request #34852 from nextcloud/enhancement/host-validator-api
Add remote host validation API
2022-11-03 11:37:03 +01:00
Anna Larch 9dd51601c6 Switch to DisplayNameCache for CardDAV
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-03 10:26:34 +01:00
Anna Larch e5c290bb7f Switch to DisplayNameCache for CalDAV
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-03 10:26:34 +01:00
Anna Larch aebcc3126a Move iMIP to it's own interface
and clean up the code a bit.

Added:
- author

Removed:
- unused imports

Changed:
- moved iMIP handling to new interface
- pointed code to new implementation

Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-03 10:07:09 +01:00
nextcloud-command 79874b8b94 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-11-03 04:22:48 +00:00
Nextcloud bot bfb764b5f3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-03 02:14:09 +00:00
Christoph Wurst 41b2466d35 Clean up and deprecate app container aliases
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-02 19:42:09 +01:00
John Molakvoæ 87f8f9ff1d Merge pull request #34868 from nextcloud/fix/toasts-styling
Update @nextcloud/dialogs and fix toasts styling
2022-11-02 16:59:02 +01:00
John Molakvoæ 9cc2f25072 Update @nextcloud/dialogs@ and fix toasts styling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-02 16:31:52 +01:00
Julius Härtl 3eaca6f0e4 Merge pull request #34880 from nextcloud/dependabot/npm_and_yarn/babel/node-7.20.0
Bump @babel/node from 7.17.10 to 7.20.0
2022-11-02 14:15:12 +01:00
Simon L 914df4e228 Merge pull request #34907 from nextcloud/enh/noid/remove-32bit-compatibilitiy
remove 32-bit workarounds
2022-11-02 13:01:10 +01:00
Vincent Petry c5b21c59bc Merge pull request #34871 from nextcloud/bugfix/34695/fix-internal-expiredate-visibility
Fix visibility of internal expire date
2022-11-02 12:58:24 +01:00
Robin Appelman f76b4473ee escape path prefix when doing cache jail search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-11-02 12:44:51 +01:00
Simon L 865529716e Merge pull request #34908 from nextcloud/enh/noid/disable-26-updates-32bit
disable upgrades to 26 for 32-bit
2022-11-02 11:33:37 +01:00
szaimen 3f7c620f26 fix psalm
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-02 11:13:34 +01:00
szaimen dd8774389e remove 32-bit workarounds
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-02 11:13:34 +01:00
John Molakvoæ 3dd21ebbf8 Merge pull request #34906 from nextcloud/enh/noid/improve-64-bit-check 2022-11-02 10:41:43 +01:00
Christoph Wurst 4c8ec6dc89 Log all deprecations with debug level
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-02 09:49:37 +01:00
Christoph Wurst 052dcdebe8 Refactor the ErrorHandler into a dynamic class
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-02 09:49:37 +01:00
Pawel Boguslawski b1716b0ef0 Added parameter to disallow calendar subscription via link
Added calendar application config parameter `dav.allow_calendar_link_subscriptions` to disallow calendar
subscription via link (i.e. for internal Nextcloud setups). Use

```
occ config:app:set dav allow_calendar_link_subscriptions --value 'yes'
```

to allow (default if not set) and

```
occ config:app:set dav allow_calendar_link_subscriptions --value 'no'
```

to disallow calendar subscription via link.

Author-Change-Id: IB#1126265
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-11-02 09:36:25 +01:00
Nextcloud bot 77c6d24882 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-02 02:14:12 +00:00
szaimen faa747e445 disable upgrades to 26 for 32-bit
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-01 14:42:53 +01:00
szaimen f5ad282418 update 64-bit check wording
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-01 13:50:50 +01:00
Nextcloud bot 075a87670d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-01 02:14:18 +00:00
dependabot[bot] 963c2cfb53 Bump @babel/node from 7.17.10 to 7.20.0
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.17.10 to 7.20.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.20.0/packages/babel-node)

---
updated-dependencies:
- dependency-name: "@babel/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-31 20:52:30 +00:00
Christoph Wurst 8aea25b5b9 Add remote host validation API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-31 16:13:28 +01:00
Christoph Wurst aa81b87f26 Merge pull request #34894 from nextcloud/enhancement/talk-api-delete-conversation
Add Talk converstation delete API
2022-10-31 15:59:25 +01:00
Julius Härtl 1a33a4692d Merge pull request #34895 from nextcloud/fix/build-api-reference
Use the official phpDocumentor release
2022-10-31 14:58:04 +01:00
Ferdinand Thiessen 7ea564b5ca Use the official phpDocumentor release
The previous cached version download URL was broken and only a
non-functional version was downloaded leading and so the API reference
was not updated since NC24.

This is fixed by simply using the latest stable phpDocumentor release.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-10-31 12:51:38 +01:00
Christoph Wurst 06627c800c Add Talk converstation delete API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-31 11:44:39 +01:00
Nextcloud bot 7c39e3e6bd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-31 02:13:55 +00:00
Nextcloud bot 087f7b11be [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-30 02:13:45 +00:00
Daniel 2142cc1f4c Merge pull request #34884 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-10-29 21:52:41 +02:00
dependabot[bot] 19dbd8e7e0 Merge pull request #34883 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.5.26 2022-10-29 07:36:33 +00:00
dependabot[bot] 7af1ca021e Merge pull request #34881 from nextcloud/dependabot/npm_and_yarn/nextcloud/calendar-availability-vue-0.5.0-beta.3 2022-10-29 07:26:43 +00:00
nextcloud-command bf880d3d24 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-29 07:16:04 +00:00
Nextcloud bot 0e54a62aaf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-29 02:15:22 +00:00
dependabot[bot] 2c746fec1b Bump phpunit/phpunit from 9.5.23 to 9.5.26 in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.23 to 9.5.26.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.23...9.5.26)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-29 01:04:53 +00:00
dependabot[bot] c359185710 Bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 0.5.0-beta.2 to 0.5.0-beta.3.
- [Release notes](https://github.com/nextcloud/calendar-availability-vue/releases)
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v0.5.0-beta.2...v0.5.0-beta.3)

---
updated-dependencies:
- dependency-name: "@nextcloud/calendar-availability-vue"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-29 01:03:07 +00:00
Vincent Petry 3bf11dcf60 Fix visibility of internal expire date
Fixed visibility of the expiration date field for internal shares by
aligning the logic with the one from the public link shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-10-28 18:58:52 +02:00
Christoph Wurst 12815c12b7 Merge pull request #34866 from nextcloud/chore/cs-fixer-cache-ignore
Add new CS fixer cache file to .gitignore
2022-10-28 13:27:57 +02:00
John Molakvoæ dedb9d5753 Merge pull request #34741 from nextcloud/fix/unsupported-browsers-user-only
Only check unsupported browsers on user rendering
2022-10-28 13:05:26 +02:00
John Molakvoæ a8e8a89ade Only check unsupported browsers on user rendering
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-28 12:23:02 +02:00
John Molakvoæ 3323b1ac0d Merge pull request #34359 from nextcloud/enh/admin-theming-vue 2022-10-28 11:47:58 +02:00
Christoph Wurst 98f2c62517 Add new CS fixer cache file to .gitignore
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-28 11:00:32 +02:00
Simon L d6ea109733 Merge pull request #34858 from raboof/disable-browser-translation
Disable browser translations
2022-10-28 09:34:33 +02:00
Christoph Wurst 08e11d7e14 Merge pull request #31064 from nextcloud/prune-calendar-changes
Add a background job to prune outdated sync tokens
2022-10-28 08:44:33 +02:00
Joas Schilling 613b2a51e7 Merge pull request #34832 from nextcloud/bugfix/noid/allow-to-conditionally-enable-dashboard-widgets
Allow to conditionally enable dashboard widgets
2022-10-28 07:30:16 +02:00
Nextcloud bot 8db40df3bd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-28 02:14:23 +00:00
Pytal c723daaa56 Merge pull request #34785 from nextcloud/fix/federated-scope
Fix disabled federated scope
2022-10-27 17:52:48 -07:00
Christopher Ng 9ec32a739c Purge unused legacy code and drop 3rdparty jscolor dependency
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-28 00:18:47 +00:00
Christopher Ng 4a2bbc7af9 Rewrite admin theming in Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-28 00:18:47 +00:00
Christopher Ng 531bb62223 Fix disabled federated scope
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-28 00:07:05 +00:00
Thomas Citharel 6f15873321 Add a background job to prune outdated sync tokens
We remove all outdated sync tokens, based on their auto-incremented ID.

By default we only keep the last 10 000, but this can be configurable.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-27 20:12:13 +00:00
Arnout Engelen 087deb9f1b Disable browser translations
This will tell the browser not to translate the text on the page,
since this is very confusing given the good existing translation
support in Nextcloud and the fact that the language the Nextcloud
UI is set to might not match the language the content of the
instance is in, leading to surprising effects.

Better to disable it and remove the confusion.

Fixes #34857

Signed-off-by: Arnout Engelen <arnout@bzzt.net>
2022-10-27 20:16:47 +02:00
Joas Schilling d007088cf5 Merge pull request #34847 from nextcloud/refactor/local-address-checker-method-capitalization
Rename LocalAddressChecker methods to lower case
2022-10-27 15:57:58 +02:00
John Molakvoæ 5b77675ee9 Merge pull request #34799 from nextcloud/bugfix/noid/preview-event
Emit typed event when preview is requested
2022-10-27 15:38:26 +02:00
Julius Härtl 07e94eca6f Emit typed event when preview is requested
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-27 14:31:33 +02:00
Carl Schwan 5f6997f6fe Add an hint about reasons why files can't be accessed
Hopefully saves some debugging time next time

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-27 14:17:56 +02:00
Christoph Wurst d4b9b010b0 Rename LocalAddressChecker methods to lower case
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-27 13:24:28 +02:00
Simon L 9ba3f264c0 Merge pull request #34736 from nextcloud/bugfix/autotest-with-postgresql
Fix autotest creating PostgreSQL database before install
2022-10-27 13:07:27 +02:00
John Molakvoæ a0dea4639f Merge pull request #34683 from nextcloud/enh/a11y-input-error 2022-10-27 12:35:47 +02:00
Joas Schilling 8ee76c0d89 Merge pull request #34831 from nextcloud/bugfix/noid/dont-stop-loading-dashboards
Continue registering and loading other dashboard widgets when one fai…
2022-10-27 10:41:48 +02:00
Julius Härtl 5e416c529e Use proper storage method for writing skeleton files
otherwise the filecache will have a wrong size for skeleton files

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-27 08:47:32 +02:00
Joas Schilling 23171206b4 Allow to conditionally enable dashboard widgets
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-27 07:25:25 +02:00
Joas Schilling c5fcebb65d Continue registering and loading other dashboard widgets when one failed creation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-27 07:20:16 +02:00
Nextcloud bot 71493433b8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-27 02:14:02 +00:00
Christopher Ng 9c54e74e08 Display invalid input message
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-27 00:41:46 +00:00
Côme Chilliet 0d9c1510ca Fix ContactsStoreTests under PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-26 20:03:49 +00:00
John Molakvoæ 5e71875626 Merge pull request #33458 from nextcloud/object-store-validate-write
allow disabling object store write check
2022-10-26 21:40:07 +02:00
Julius Härtl 71f698649f Merge pull request #33488 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-14.4.3
Bump @testing-library/user-event from 14.1.1 to 14.4.3
2022-10-26 21:34:20 +02:00
Robin Appelman 3357c8e783 test disabling write check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-10-26 18:45:59 +00:00
Robin Appelman a5036a973c allow disabling object store write check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-10-26 18:45:59 +00:00
Valdnet 5908f06f9e l10n: Improve styling
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-10-26 20:38:07 +02:00
Richard Steinmetz 43dbd9fa5a Merge pull request #34825 from nextcloud/fix/noid/comments-empty-content
Fix empty content regressions in comments app
2022-10-26 18:17:07 +02:00
Julius Härtl 9c337183c7 Merge pull request #34789 from nextcloud/fix/pre-commit-exclude-composer-autoload-from-codestyle
Do not apply codestyle to composer autoloaders
2022-10-26 18:01:40 +02:00
Richard Steinmetz cba636124a Fix empty content regressions in comments app
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-26 14:42:11 +00:00
Julius Härtl aec8dce61a Merge pull request #34788 from nextcloud/bugfix/noid/preview-attributes 2022-10-26 15:11:01 +02:00
Louis 1e450407f6 Merge pull request #34809 from nextcloud/artonge/fix/getMetadata_return_type
Fix getMetadata return type
2022-10-26 14:25:09 +02:00
Vincent Petry 5198fa49f7 Merge pull request #34804 from nextcloud/bugfix/noid/ldap-login-filter-no-mail
Skip general login with email for non-valid addresses and LDAP
2022-10-26 14:12:31 +02:00
Julius Härtl 298d2b9b58 Skip general login with email for non-valid addresses and LDAP
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-26 12:30:25 +02:00
Louis Chemineau 38f5006c3e Fix getMetadata return type
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-26 11:37:51 +02:00
John Molakvoæ ae86359671 Merge pull request #34776 from nextcloud/enh/noid/improve-browser-warning 2022-10-26 10:07:48 +02:00
Nextcloud bot d8f045bc8a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-26 02:13:50 +00:00
nextcloud-command 95963ead03 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-25 23:10:21 +00:00
Simon L d26c390631 Address review
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2022-10-25 23:01:29 +00:00
szaimen 88a0e773c0 update browser warning
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-25 23:01:29 +00:00
Varun Patil 48917e718e Interlace all output JPEG
Progressive images are both smaller and faster to load.

Signed-off-by: Varun Patil <radialapps@gmail.com>
2022-10-25 09:40:20 -07:00
Carl Schwan 4344a54a1d Merge pull request #34691 from nextcloud/profiler/ldap-backtrace
Add backtrace to ldap profiler collector
2022-10-25 17:00:23 +02:00
Côme Chilliet 5e74b1e9ad Adapt test to User_Proxy constructor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-25 16:16:59 +02:00
Julius Härtl 8629d8e44f Check share attributes on preview endpoints
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-25 11:35:31 +02:00
Côme Chilliet 91392c08d6 Merge pull request #34774 from nextcloud/fix/fair-use-ldap-fix
Expose mapped user count from LDAP and use that for user limit check
2022-10-25 11:16:01 +02:00
Côme Chilliet 556e3c84e6 Fix return type for countUsers method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-25 10:20:09 +02:00
Côme Chilliet 5242a78994 Fix $host var handling to avoid passing null to ldap_connect
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-25 09:59:56 +02:00
Côme Chilliet 4130a4cbd8 Make sure to use AccessFactory to create Access instances and use DI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-25 09:52:35 +02:00
Côme Chilliet c49bf7fa9f Do not apply codestyle to composer autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-25 09:16:19 +02:00
Côme Chilliet 8b7f6a80c3 Fix autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-25 09:13:56 +02:00
Côme Chilliet b4eeaae77d Update lib/public/User/Backend/ICountMappedUsersBackend.php
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2022-10-25 09:12:02 +02:00
Nextcloud bot e3aac7d573 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-25 02:18:42 +00:00
Simon L 7835223902 Merge pull request #34756 from nextcloud/revert-33087-fix/30282/external-storages
Revert "fix external storages access"
2022-10-24 20:58:13 +02:00
Simon L 855be71bbd Merge pull request #34706 from nextcloud/enh/noid/improve-one-click-instance-notification
update notifications for one-click instances
2022-10-24 19:55:01 +02:00
szaimen 9e7e1e8a87 update notifications for one-click instances
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-24 18:28:00 +02:00
Côme Chilliet 46e31d4c06 Add missing file
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-24 17:32:51 +02:00
Côme Chilliet 142f9913a6 Expose mapped user count from LDAP and use that for user limit check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-24 16:54:41 +02:00
Christoph Wurst 6435191a6e Merge pull request #34742 from nextcloud/add_well-known_changepassword
Add .well-known/changepassword handler
2022-10-24 11:13:33 +02:00
Thomas Citharel 8b13f6d475 Add Calendar settings section
In replacement of the removed Groupware settings section in https://github.com/nextcloud/server/pull/34626

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-24 10:41:24 +02:00
Simon L 4415fca5f8 Merge pull request #34740 from nextcloud/fix/image/x-icon
Add ico image/x-icon
2022-10-24 10:31:10 +02:00
Christoph Wurst 232c760de4 Merge pull request #34626 from nextcloud/enhancement/rename-personal-groupware-settings-section-availability
Rename personal Groupware settings section to "Availability"
2022-10-24 10:13:37 +02:00
Nextcloud bot 999f89ff66 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-24 02:14:59 +00:00
Simon L 11108e8032 Revert "fix external storages access"
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-23 22:36:34 +02:00
John Molakvoæ 304c1b9b61 Merge pull request #33087 from nextcloud/fix/30282/external-storages
fix external storages access
2022-10-23 10:42:46 +02:00
Nextcloud bot 54ce35ebd8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-23 02:14:46 +00:00
Thomas Citharel 3eab7ca3d4 Extract $ignoreMaxApps from array_map callback in AppSettingsController
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-22 20:03:02 +02:00
Roeland Jago Douma 58a70fe098 Add .well-known/changepassword handler
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2022-10-22 13:23:59 +02:00
John Molakvoæ 52fe1b6199 Sort alphabetically
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-22 12:21:05 +02:00
John Molakvoæ 3776d1d2ed Add ico image/x-icon
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-22 12:18:40 +02:00
Nextcloud bot a66c80135d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-22 02:15:49 +00:00
Vitor Mattos 32b1d4fc8e Create database to autotest
Followed:
https://github.com/docker-library/docs/blob/master/postgres/README.md#postgres_db

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-10-21 21:36:27 -03:00
Simon L 47da08fe85 Merge pull request #33945 from nextcloud/fix/noid/fair-use-ldap
LDAP to not register new users when outside of fair use or over limits
2022-10-21 18:53:16 +02:00
blizzz 294a00d8e0 Merge pull request #34136 from nextcloud/fix/default-channel
on installation save channel to config.php if not stable
2022-10-21 17:14:56 +02:00
Vincent Petry 4aa8e80511 Merge pull request #34579 from nextcloud/unencrypted-size-null
fix null error in getUnencryptedSize
2022-10-21 16:53:43 +02:00
Simon L 9f2ecc7322 Merge pull request #34662 from nextcloud/enh/error-pages
Use proper error pages instead of always redirecting
2022-10-21 16:38:19 +02:00
Vincent Petry 56fe33ffca Merge pull request #34508 from starypatyk/dav_displayname
WebDAV - use file/folder name for dav:displayname
2022-10-21 15:42:27 +02:00
Arthur Schiwon 2ef9826c3b silence psalm
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-21 15:35:35 +02:00
Julius Härtl 11bedf1c3b Use proper error pages instead of always redirecting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-21 15:12:21 +02:00
Arthur Schiwon 403923d72c on installation save channel to config.php if not stable
- the default channel to the NC server is what is provided in /version.php
  unless it is overridden in config.php
- the default channel to the NC Updater however is 'stable'
- this resultant in inconsistent results and confusing admin experience
- therefore "stable" is considered default and other channels are being
  written to config.php now upon installation

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-21 12:01:26 +00:00
blizzz 7848d1cab6 Merge pull request #34717 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-10-21 13:59:08 +02:00
blizzz bff23762d1 extended hint message
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
2022-10-21 13:46:44 +02:00
Simon L ac7e3efe46 Merge pull request #34714 from nextcloud/fix/invert-more-icon
Fix more icon color
2022-10-21 09:13:50 +02:00
nextcloud-command 3004d92b0b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-21 04:34:24 +00:00
Nextcloud bot 67ce025d61 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-21 02:14:44 +00:00
Christopher Ng c6f3eb954c Fix more icon color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-21 01:13:11 +00:00
Simon L 9aaa370e07 Merge pull request #34688 from nextcloud/bugfix/34673/dont-crash-with-outdated-share-providers
Don't crash with outdated share provider on update with the web updater
2022-10-20 23:50:15 +02:00
Pytal 72744a71c9 Merge pull request #34703 from nextcloud/bugfix/noid/use-vue-lib-multiselect-tags-component 2022-10-20 10:14:14 -07:00
Simon L d48a637e54 Merge pull request #34685 from nextcloud/fix-alt-login-class
Fix alternative logins custom css class
2022-10-20 17:15:02 +02:00
Joas Schilling 1b30ca0320 Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-20 17:05:41 +02:00
Joas Schilling 46bf96ee29 Use @nextcloud/vue MultiselectTags component
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-20 17:05:40 +02:00
Carl Schwan 0de71a73e5 Merge pull request #34502 from nextcloud/fix/correct-attribute-resharing
Propagate attributes when resharing
2022-10-20 17:03:02 +02:00
Carl Schwan 25519b7089 Add backtrace to ldap profiler collector
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 16:55:44 +02:00
Carl Schwan 0f0f132959 Merge pull request #34624 from nextcloud/fix/files_external_psalm
Multiple fix for files external
2022-10-20 16:53:43 +02:00
Côme Chilliet 3dedfd34b9 Clean up LDAP Wizard typing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 16:51:39 +02:00
Côme Chilliet 00c4c3d723 Merge pull request #30223 from nextcloud/nested_ldap_groups
Nested ldap groups
2022-10-20 15:03:37 +02:00
Côme Chilliet 5193b94c21 Merge pull request #33703 from nextcloud/fix/ldap-simplify-paged-results
Clean up paged result handling.
2022-10-20 14:48:50 +02:00
Carl Schwan 99a752922f Fix psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 13:14:39 +02:00
Carl Schwan 60ec5e655c Check if cache is present with isset
Otherwise we get false for empty array

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 13:14:39 +02:00
Côme Chilliet 1a6a6c985a Bring back small fixes by Carl
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 13:14:39 +02:00
Côme Chilliet 746a5fb7e0 Fix LDAP recursive nested group support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 13:14:39 +02:00
Carl Schwan be5338e572 Revert Carl changes on apps/user_ldap/lib/Group_LDAP.php
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 13:14:31 +02:00
Côme Chilliet 8b5586b793 Fix autoload
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:56:54 +02:00
Côme Chilliet 8d07bc9b20 Cleanup typing and improve logging
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:56:17 +02:00
Côme Chilliet 81064b3d22 Fix ldap_parse_result call
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:56:17 +02:00
Côme Chilliet e872f461f2 Adapt interface to new search signature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:56:16 +02:00
Côme Chilliet 50a52ac2a5 Pass paging information directly to search and get rid of adapter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:56:16 +02:00
Côme Chilliet 14804d9677 Renamed ambiguous $limit parameter to pageSize
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:56:16 +02:00
Côme Chilliet d10dfa84db Unfold call to ldap_parse_result. Handle cookie outside of adapter.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:56:15 +02:00
Côme Chilliet 3c9b1c5296 Do not init a paged search for read operations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:56:15 +02:00
Côme Chilliet d6e49cd2de Remove useless getReadArgs/setReadArgs methods from PagedResults
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:56:15 +02:00
Côme Chilliet d790d45567 Remove dead code in paged result handling
There is only one paged result API now that PHP 7.2 is long dead.
Starting by removing empty function calls.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:56:14 +02:00
Carl Schwan 1b12a08ec2 Fix user_ldap tests
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 12:09:06 +02:00
Carl Schwan e0fbd39840 Add back runtime cache for intermediate ldap read results
This is a small optimization that save a few LDAP queries

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 12:09:06 +02:00
Carl Schwan 33be3f754a Only cache base inGroup search
And not intermediate search for nested groups, this is causing issues
othewise with nested groups

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 12:09:06 +02:00
Côme Chilliet 604b5ace12 Add missing copyright author in Group_LDAP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Côme Chilliet 69f9e9f387 Removed unused use declaration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Côme Chilliet 150e6adbc5 Fix types in docblocks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Côme Chilliet 7437673add Add testing of nested group membership
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Côme Chilliet 6ed0d0b8b1 Refactor group membership listing for nested groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Côme Chilliet 02ccce17f7 Add tests for nested groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Côme Chilliet 8b19cfcd88 Small optimisation of _groupMembers
This will not change the result as users are check to be existing
 afterwards but avoids this check when we know it’s a group.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Côme Chilliet d07f43dc12 Refactor _groupMembers to correctly use cache on intermediate results
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Carl Schwan 6522f8a6d9 Fix merging list with null
This fixes some cases observed with the debugger where we end up merging
a non empty list with null. The result is then null and the looping over
the items would then end.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 12:09:06 +02:00
Carl Schwan 49aa352069 Unify a bit the types of the fetcher
Now it will only accept a string as parameter instead of either a string
(DN) or a array (complete record).

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 12:09:06 +02:00
Carl Schwan 0fd7a51e3c Add more type hinting
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 12:09:06 +02:00
Arthur Schiwon 5647093319 Cache intermediates
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 12:08:34 +02:00
Arthur Schiwon ad2fdbe377 Refactor code to split common loop
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-20 12:08:24 +02:00
Arthur Schiwon 1e4ac22c94 Make it possible to return nested records whem walking over groups
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-20 12:08:09 +02:00
Joas Schilling 3dee71db20 Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-20 11:45:24 +02:00
Joas Schilling 9982909bc6 Also catch in getProvider
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-20 10:03:10 +02:00
Joas Schilling 40d8ed9edb Don't crash with outdated share provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-20 09:21:15 +02:00
zorn-v a27388ccd3 Fix alternative logins custom css class
In NC 25 login page was changed, and alternative login css class get from `class` prop but not `style`. 
It is correct change in my opinion, so just add backend fix.

Signed-off-by: zorn-v <zorn7@yandex.ru>
2022-10-20 14:32:13 +10:00
Nextcloud bot 53b6d67bc1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-20 02:18:39 +00:00
Pytal 74d8365726 Merge pull request #34665 from nextcloud/fix/invert-header-icons
Invert header icons on bright preset backgrounds
2022-10-19 16:02:33 -07:00
Christopher Ng 58abed2059 Invert header icons on bright preset backgrounds
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-19 19:12:56 +00:00
John Molakvoæ be892d2e28 Merge pull request #34576 from nextcloud/fix/user-theming-admin-overrride
Add admin user customization kill switch
2022-10-19 17:13:15 +02:00
John Molakvoæ d89da9b898 Simplify variable names
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:59:16 +02:00
John Molakvoæ 746710ad5b Fix tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:57:35 +02:00
John Molakvoæ ef760e0337 Add admin user customization kill switch
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:57:35 +02:00
John Molakvoæ bbbc1d4a16 Adjust testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:57:34 +02:00
John Molakvoæ f116c87039 Merge pull request #34668 from nextcloud/dependabot/npm_and_yarn/jest-environment-jsdom-29.2.1
Bump jest-environment-jsdom from 29.0.3 to 29.2.1
2022-10-19 11:20:30 +02:00
John Molakvoæ afc4b86ba3 Merge pull request #26358 from nextcloud/fix/ie-cleanup
Cleanup old IE/edge properties and implement unsupported browser error page
2022-10-19 11:12:47 +02:00
John Molakvoæ 2d98cd1daf Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:04:51 +02:00
John Molakvoæ a6684da737 Compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:03:01 +02:00
John Molakvoæ (skjnldsv) bd303388e3 Cleanup ie and old edge properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-19 10:02:51 +02:00
dependabot[bot] e5909e713c Bump jest-environment-jsdom from 29.0.3 to 29.2.1
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.0.3 to 29.2.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.2.1/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 07:56:10 +00:00
Joas Schilling d5edcf8c95 Merge pull request #34639 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.38
Bump moment-timezone from 0.5.37 to 0.5.38
2022-10-19 09:54:54 +02:00
Joas Schilling 8e476c8d62 Merge pull request #34664 from nextcloud/nickvergessen-patch-1
Update OCI workflow of server
2022-10-19 09:46:39 +02:00
Nextcloud bot 77e730d403 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-19 02:14:41 +00:00
Arthur Schiwon 7d3457ec73 improve admin notification experience
- do not stack notifications, replace them
- and replace them once a day only
- with LDAP it might end in total spam terror (also push) otherwise

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-18 23:36:14 +02:00
Arthur Schiwon 50d4963772 [LDAP] throw exception only against prov api
- unbreaks functionality for end users when on demand mapping takes
  place

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-18 23:26:16 +02:00
Joas Schilling af8a69b407 Update OCI workflow of server
* Only on pull requests
* Concurrency group
* Bump used actions
* Add summary

Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-10-18 23:02:52 +02:00
Joas Schilling b125e102b2 Merge pull request #34650 from nextcloud/bugfix/noid/fix-rebuildNavigation
Fix rebuild navigation
2022-10-18 22:27:34 +02:00
Joas Schilling 6f6e906fd5 🤖 Rebuild
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-18 21:00:44 +02:00
Joas Schilling aa31002b03 🧭 Fix rebuilding the navigation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-18 20:58:10 +02:00
Simon L c78bd45c64 Merge pull request #34614 from nextcloud/bugfix/34441/fix-search-in-regexp
Fix regexp for unified searching in apps
2022-10-18 19:44:51 +02:00
Côme Chilliet 3d0e8182ba Merge pull request #34632 from nextcloud/fix/rate-limit-recovery-emails
Add rate limiting on lost password emails
2022-10-18 17:29:17 +02:00
Carl Schwan a5ea677370 Rename file1 and file2 to source and target in Storage abstraction
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-18 17:21:47 +02:00
Carl Schwan 39c3907f8b Merge pull request #34625 from nextcloud/fix/filepicker-endtoend
Fix icon of encrypted folders in filepicker
2022-10-18 16:59:57 +02:00
Côme Chilliet 1cb0c2ac52 Fix LostController test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-18 14:49:02 +00:00
Côme Chilliet 71ee292650 Add rate limiting on lost password emails
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-18 14:49:02 +00:00
Carl Schwan 0270068fed Merge pull request #34628 from nextcloud/fix/files_sharing_psalm
Various psalm fixes in files_sharing
2022-10-18 14:44:28 +02:00
Carl Schwan 00c2c620ac Merge pull request #34554 from nextcloud/fix/psalm-twofactor-registry
Fix wrong types in phpdoc for twofactor registry
2022-10-18 14:42:43 +02:00
Carl Schwan 2f406e5403 More fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-18 14:41:13 +02:00
Carl Schwan 419828c791 Fix the type of the return array in a few more places
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-18 13:22:50 +02:00
Arthur Schiwon 8e8acf2d90 LDAP to no register new users when outside of fair use or over limits
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-18 12:57:43 +02:00
Carl Schwan 732badf552 Additional type hinting found by psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-18 12:28:34 +02:00
Christoph Wurst c671466422 Merge pull request #34379 from nextcloud/fix/transactional-session-token-renewal
Run session token renewals in a database transaction
2022-10-18 11:19:33 +02:00
Simon L b01de1c5b6 Merge pull request #34636 from nextcloud/fix/user-status-dislexia
Fix vertical alignment of user status icon
2022-10-18 11:01:36 +02:00
blizzz 42a9c061e4 Merge pull request #34620 from nextcloud/fix/cleanup-theming-cache
Add a repair step to cleanup old theming cache
2022-10-18 10:24:53 +02:00
Carl Schwan b832d47d35 Merge pull request #34634 from nextcloud/fix/focus-file-selection
Fix unnecessary highlighting of selected element
2022-10-18 10:21:21 +02:00
blizzz d29332469a Merge pull request #34609 from nextcloud/enh/noid/always-enable-theming
set theming app to alwaysEnabled
2022-10-18 10:13:56 +02:00
Carl Schwan a18f5e76d5 Make css rule important
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-18 08:13:01 +00:00
Christoph Wurst c5922e67d3 Run session token renewals in a database transaction
The session token renewal does
1) Read the old token
2) Write a new token
3) Delete the old token

If two processes succeed to read the old token there can be two new tokens because
the queries were not run in a transaction. This is particularly problematic on
clustered DBs where 1) would go to a read node and 2) and 3) go to a write node.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-18 08:28:22 +02:00
Nextcloud bot 495d49a132 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-18 02:14:38 +00:00
Christopher Ng 3ead19d997 Add a repair step to cleanup old theming cache
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-18 01:19:47 +00:00
dependabot[bot] 3df89fc71a Bump moment-timezone from 0.5.37 to 0.5.38
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.37 to 0.5.38.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.37...0.5.38)

---
updated-dependencies:
- dependency-name: moment-timezone
  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>
2022-10-18 00:08:08 +00:00
Pytal 3dfb4d35c1 Merge pull request #34643 from nextcloud/dependabot/npm_and_yarn/exports-loader-4.0.0 2022-10-17 16:42:53 -07:00
dependabot[bot] f38ad60fea Bump exports-loader from 3.1.0 to 4.0.0
Bumps [exports-loader](https://github.com/webpack-contrib/exports-loader) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/webpack-contrib/exports-loader/releases)
- [Changelog](https://github.com/webpack-contrib/exports-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/exports-loader/compare/v3.1.0...v4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 22:30:59 +00:00
Louis 0f25810c71 Merge pull request #33725 from nextcloud/dependabot/npm_and_yarn/webdav-4.11.0
Bump webdav from 4.8.0 to 4.11.0
2022-10-18 00:29:46 +02:00
dependabot[bot] 5e38e9abc0 Bump webdav from 4.8.0 to 4.11.0
Bumps [webdav](https://github.com/perry-mitchell/webdav-client) from 4.8.0 to 4.11.0.
- [Release notes](https://github.com/perry-mitchell/webdav-client/releases)
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v4.8.0...v4.11.0)

---
updated-dependencies:
- dependency-name: webdav
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-17 19:11:21 +00:00
John Molakvoæ f4efc76d21 Merge pull request #34631 from nextcloud/chore/no-automatic-dependabot-rebase 2022-10-17 20:17:12 +02:00
szaimen 1d17a0843a set theming app to alwaysEnabled
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-17 17:51:39 +02:00
Louis fd0e2db01d Merge pull request #34622 from nextcloud/dependabot/npm_and_yarn/jquery-ui-dist-1.13.2
Bump jquery-ui-dist from 1.13.1 to 1.13.2
2022-10-17 17:27:41 +02:00
Carl Schwan 7d35e2223b Fix vertical alignment of user status icon
Now it is properly centered even if the font size is bigger (when using
the dislexia font)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 16:09:26 +02:00
Carl Schwan 9919116716 Merge pull request #31499 from nextcloud/bugfix/empty-secret
Add fallback routines for empty secret cases
2022-10-17 16:02:58 +02:00
Carl Schwan e3d8fd6544 Fix unnecessary highlighting of selected element
Use focus-visible to only show focus ring on keyboard navigation

Fix #34589

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 15:29:02 +02:00
Christoph Wurst 44d2eb8b4e Merge pull request #34563 from nextcloud/debt/noid/carddav-too-many-arguments
Fix TooManyArguments warning for carddav.php
2022-10-17 13:26:57 +02:00
Christoph Wurst e12df7941e Merge pull request #34565 from nextcloud/debt/noid/fakelocker-too-many-arguments
Fix TooManyArguments for FakeLockerPlugin
2022-10-17 13:26:32 +02:00
Christoph Wurst e438ffd7e3 Disable automatic Dependabot rebases
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-17 13:18:26 +02:00
Carl Schwan 54031e370a Fix various other small psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 12:40:35 +02:00
Carl Schwan 0a2a4d8687 Fix incorrect argument name in inherited method
The arguments now need to be the same as in the parent method

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 12:39:22 +02:00
Carl Schwan 60313683e2 Fix checkpassword undocummented null parameter
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 12:38:21 +02:00
Carl Schwan c6b8a3bec3 Fix permission not being int
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 12:37:46 +02:00
Carl Schwan 53e408f76a Fix exception getCode type
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 12:36:50 +02:00
Carl Schwan 3a11128e6c Fix type when getting appconfig with int
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 12:36:05 +02:00
Carl Schwan 94a0b27000 Specify type to internal storage class
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 11:53:11 +02:00
Carl Schwan 7da806d6eb Fix returning null when getMessage return null
Don't overwrite $message but instead create another temporary variable

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 11:53:11 +02:00
Carl Schwan 9319bbb00c More type safety
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 11:53:11 +02:00
Carl Schwan 3790ff86f1 Update psalm baseline following previous fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 11:53:09 +02:00
Carl Schwan 5b3509dc05 Fix type of getVisibilityType
This is a int not a string

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 10:58:27 +02:00
Carl Schwan c2c63a551f Fix usage of streams
always return a bool and type the handle as a string

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 10:58:27 +02:00
Carl Schwan 74e6976779 Use argument name from parent class
This will be an issue with php 8, so best to fix it now

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 10:58:27 +02:00
Carl Schwan c94f9f5e5f Add corresponding interface to trait
Since we can't specify that we want a class implementing a trait yet in
PHP

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 10:58:27 +02:00
Carl Schwan 2d75321c23 Add more typing to FilesExternal commands
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 10:58:25 +02:00
dependabot[bot] a1296e9f40 Bump jquery-ui-dist from 1.13.1 to 1.13.2
Bumps [jquery-ui-dist](https://github.com/jquery/jquery-ui) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.1...1.13.2)

---
updated-dependencies:
- dependency-name: jquery-ui-dist
  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>
2022-10-17 08:37:22 +00:00
Christoph Wurst 0799b8988b Rename personal Groupware settings section to "Availability"
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-17 09:30:13 +02:00
Nextcloud bot bca2720c1b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-17 02:14:43 +00:00
Carl Schwan 945edfefcd Fix icon of encrypted folders in filepicker
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 01:04:13 +02:00
Carl Schwan cf1381a6f9 Port away from deprecated clearBucket call
This was removed a long time ago in the library that we use, but never
detected since this was inside a try catch block...

Remove the call for now and we should investigate newer api in the
future.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-16 23:39:49 +02:00
Carl Schwan 1d90f84141 Port to LoggerInterface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-16 23:39:28 +02:00
Carl Schwan ff4c8e9bee Force cast getCode to int
Otherwise psalm complains that the type can also be a non-falsy-string

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-16 23:38:31 +02:00
Carl Schwan c4bb69c143 Specify that userId can be null
This fixes a psalm false-positive where the method is called with null, since
the method actually handle this correctly already

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-16 23:35:33 +02:00
Carl Schwan d4d1952f67 Fix return value of updateParent
Port to executeStatement to guarantee that we will return an int and
remove a deprecated method call at the same time

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-16 23:33:52 +02:00
Carl Schwan a40ca520d4 Port away from removed IDBConnection->isConnected method
Instead track if the reconnection was successful with return value of
connect method

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-16 23:32:55 +02:00
Carl Schwan 386ef04e42 Fix too many arguments in LegacyDependencyCheckPolyfill
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-16 23:29:38 +02:00
Carl Schwan fe38f765d7 Merge pull request #34619 from nextcloud/dependabot/npm_and_yarn/vue-and-vue-template-compiler-2.7.13
Bump vue and vue-template-compiler
2022-10-16 20:06:34 +02:00
dependabot[bot] 226f1ae0fe Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/core) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.7.10 to 2.7.13
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits)

Updates `vue-template-compiler` from 2.7.10 to 2.7.13
- [Release notes](https://github.com/vuejs/vue/releases)
- [Changelog](https://github.com/vuejs/vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue/compare/v2.7.10...v2.7.13)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: vue-template-compiler
  dependency-type: direct:development
  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>
2022-10-16 17:24:39 +00:00
Carl Schwan 7524b11617 Merge pull request #34621 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-10-16 19:20:34 +02:00
Daniel Kesselberg 1818be71ae Fix TooManyArguments warning for carddav.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-10-16 18:37:22 +02:00
Daniel b054662d96 Merge pull request #34618 from nextcloud/rakekniven-patch-1
l10n: Fixed grammar
2022-10-16 18:36:37 +02:00
nextcloud-command 95c5ab4f03 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-16 04:41:24 +00:00
Nextcloud bot 5ab021c6bf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-16 02:14:37 +00:00
Nextcloud bot 9b8916457c Updating lint-eslint.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-15 13:39:15 +00:00
Nextcloud bot 9e06752571 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-15 02:14:32 +00:00
nextcloud-command 0354aa53f2 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-14 19:15:15 +00:00
rakekniven 28e509a115 l10n: Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-10-14 20:58:05 +02:00
Vincent Petry 2b87aebcc2 Merge pull request #34599 from nextcloud/fix/background-appdata-scrope
Scope the appdata theming storage for global and users
2022-10-14 17:54:03 +02:00
Vincent Petry 331c890e4f Fix regexp for unified searching in apps
Use the correct match for operators.

Prevent the dropdown to close itself when selecting an app to filter by.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-10-14 17:43:16 +02:00
Carl Schwan f52bdfadf5 Merge pull request #34188 from nextcloud/feat/profiler-clear
Expose clearing the profiles and fix it
2022-10-14 17:35:28 +02:00
Vincent Petry 19f35f42bc Improve cache buster for user backgrounds
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-10-14 16:18:41 +02:00
John Molakvoæ d77e832223 Fix tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 16:18:40 +02:00
John Molakvoæ ac21c631a6 Fix migration
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 16:18:40 +02:00
John Molakvoæ a8e90a03fc Properly use user background cachebuster
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 16:18:40 +02:00
John Molakvoæ e4ff84d468 Scope the appdata theming storage for global and users
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 16:18:37 +02:00
Vincent Petry 95d45c2058 Merge pull request #34471 from starypatyk/dav_read_share_notes
Reduce number of database queries during WebDAV propfind request
2022-10-14 15:33:13 +02:00
Daniel Kesselberg 934e75384c Fix TooManyArguments for FakeLockerPlugin
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-10-14 15:06:38 +02:00
Vincent Petry 2cef188b41 Merge pull request #34569 from nextcloud/filterOutBackupStatus
Filter out backup user status (those beginning with _ as userId)
2022-10-14 14:48:10 +02:00
Julius Härtl 0ac2a9036d Merge pull request #33388 from nextcloud/enh/container-annotations 2022-10-14 13:19:04 +02:00
Julien Veyssier a8101ecdb9 Merge pull request #34135 from nextcloud/fix/noid/disable_activity.email_address_changed_by_admin
Fix "email changed" activity email check
2022-10-14 10:55:23 +02:00
Julius Härtl cea2f79bbd Improve container return type annotations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-14 10:45:16 +02:00
Simon L eb911d344d Merge pull request #34595 from nextcloud/fix/invalid-template
Fix file creation issue if no action are registered
2022-10-14 10:42:13 +02:00
nextcloud-command 32c847b08c Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-14 08:11:35 +00:00
Julien Veyssier 08a77315b4 check disable_activity.email_address_changed_by_admin when email is changed by admin via the OCS API
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-10-14 09:54:14 +02:00
John Molakvoæ 92c9886447 Fix file creation issue if no action are registered
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 09:17:01 +02:00
Joas Schilling f49ccd140f Merge pull request #34450 from nextcloud/fix/noid/opengraph-preview-without-cache
Fix reference preview when no server-side cache configured
2022-10-14 09:11:51 +02:00
Nextcloud bot aa003dc971 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-14 02:14:47 +00:00
Pytal 86d104654f Merge pull request #34541 from nextcloud/deps/password-confirmation-4.0.2 2022-10-13 16:05:20 -07:00
Christopher Ng dbaf8f3b89 Fix empty password string being submitted to server
- Fix reveal password not working

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-13 18:42:21 +00:00
Christopher Ng 4d306fc647 Bump @nextcloud/password-confirmation from 4.0.1 to 4.0.2
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-13 18:41:18 +00:00
Vincent Petry c0c0387b8e Merge pull request #34461 from nextcloud/fix/migrate-background
Fix missing background on upgrade
2022-10-13 20:10:57 +02:00
Simon L b28757fddc Merge pull request #34437 from nextcloud/feat/theming-default-system-value
Use default system primary
2022-10-13 19:57:28 +02:00
Carl Schwan f8453df98e Properly escape underscore in db query
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-13 18:50:36 +02:00
Arthur Schiwon 59e07102ed graceful background image handling
- fallback to background image from old location
- migrate background images to new location as insensitive job

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-13 17:51:30 +02:00
Vincent Petry dff4f8a5e4 Merge pull request #34438 from nextcloud/dav-exception-request
return proper error code when reporting exception fails in remote.php
2022-10-13 16:48:21 +02:00
John Molakvoæ 2f8601a27e Adjust testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-13 14:31:20 +00:00
Carl Schwan 8c95e46744 Do the filtering on the DB instead
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-13 16:19:11 +02:00
Robin Appelman 63316fc572 fix null error in getUnencryptedSize
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-10-13 15:34:48 +02:00
Julien Veyssier 6e03d99ab8 fix reference preview endpoint when no server-side cache configured
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-10-13 15:18:21 +02:00
John Molakvoæ cdb81f76ce Merge pull request #34572 from nextcloud/bugfix/noid/green-ci 2022-10-13 13:19:47 +02:00
John Molakvoæ 9d0f529f1b Merge pull request #34546 from nextcloud/improve-hight-contrast
Add seperator in high contrast mode
2022-10-13 12:17:54 +02:00
John Molakvoæ 9a92fe9b29 Fix primary and debounce to avoid infinite loop
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-13 12:13:39 +02:00
John Molakvoæ (skjnldsv) db831359d3 Allow to pick custom colour
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-13 12:13:39 +02:00
John Molakvoæ (skjnldsv) 4b46c5a5a0 Use default system primary
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-13 12:13:39 +02:00
Joas Schilling 799f660df0 Make CI green again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-13 11:13:13 +02:00
Joas Schilling f6efd54242 Merge pull request #34571 from nextcloud/bugfix/noid/fix-popovermenu-selector
Fix avatar menu icons in darkmode
2022-10-13 11:09:01 +02:00
Joas Schilling 4d98128e9a Fix migration parameter handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-13 10:36:05 +02:00
Arthur Schiwon b4f6329a83 fix querybuilder instance recuse
...and execute delete query

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-13 08:31:33 +00:00
Christopher Ng 7f5ef4dcf7 Delete theming background preferences
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-13 08:31:33 +00:00
Joas Schilling 7599cbb529 New code being new
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-13 08:31:33 +00:00
Joas Schilling 6e4a90ba36 Fix SQL errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-13 08:31:33 +00:00
Christopher Ng 107a974b36 Fix missing background on upgrade
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-13 08:31:32 +00:00
Joas Schilling de6c6829bc Fix avatar menu icons in darkmode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-13 10:11:09 +02:00
tobiasKaminsky cfdca11ad9 Filter out backup user status (those beginning with _ as userId) 2022-10-13 09:04:27 +02:00
dependabot[bot] 1dce303666 Merge pull request #32226 from nextcloud/dependabot/npm_and_yarn/nextcloud/moment-1.2.1 2022-10-13 04:25:33 +00:00
Nextcloud bot 5d60200294 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-13 02:15:09 +00:00
dependabot[bot] 1f8f088337 Bump @nextcloud/moment from 1.2.0 to 1.2.1
Bumps [@nextcloud/moment](https://github.com/nextcloud/nextcloud-moment) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/nextcloud/nextcloud-moment/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-moment/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-moment/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/moment"
  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>
2022-10-13 01:53:16 +00:00
Simon L d967488ec0 Merge pull request #34544 from nextcloud/fix/more-flexible-date-validation
More flexible date validation
2022-10-13 01:10:55 +02:00
Simon L cbe228ae3a Merge pull request #34545 from nextcloud/fix/theming-highcontrast-translucency-off
Disable translucency on high contrast themes
2022-10-13 00:56:57 +02:00
blizzz 4c64a60823 Merge pull request #34558 from nextcloud/fix/34201/broken-web-updater
fix reading updater token for web updater
2022-10-12 22:25:50 +02:00
Joas Schilling eeeade06eb Merge pull request #34559 from nextcloud/bugfix/noid/require-token-for-local-editing
Require token for local editing
2022-10-12 19:44:23 +02:00
Joas Schilling e674087ebf Adjust unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-12 16:03:57 +02:00
Arthur Schiwon 52c1dbfb00 fix reading updater token for web updater
the previously called endpoint returns exactly one value, no JSON
structure

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-12 15:30:06 +02:00
Joas Schilling edb64b193c Also throttle on expiration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-12 13:01:19 +02:00
szaimen f1b38426e2 fix color-main-background-rgb
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-12 11:59:16 +02:00
Joas Schilling 9b204649e4 Fix psalm error on migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-12 11:55:04 +02:00
Joas Schilling 9c5fef35c7 Add a background job to delete expired tokens
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-12 11:43:00 +02:00
Carl Schwan bfd2b74c68 Fix wrong types in phpdoc for twofactor registry
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-12 11:40:41 +02:00
John Molakvoæ d936694cdb Merge pull request #34537 from nextcloud/bugfix/noid/s3-upload-memory
Avoid allocating too much memory for the buffer on s3 uploads
2022-10-12 10:24:55 +02:00
Carl Schwan 2525f7eb39 Merge pull request #34548 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-10-12 09:47:02 +02:00
nextcloud-command 90cba2cda6 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-12 04:38:17 +00:00
Nextcloud bot 7e4e785967 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-12 02:14:37 +00:00
Pytal 6003f8c07b Merge pull request #34299 from nextcloud/enh/color-text-for-background-blur
Add color variables for text on blurred background
2022-10-11 18:45:56 -07:00
Christopher Ng 8c4de8f3bc Add color variables for text on blurred background
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-12 01:43:37 +00:00
Carl Schwan 8a8f150ffb Add seperator in high contrast mode
Between navigation and content and between entry in breadcrump

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-11 23:44:35 +02:00
Carl Schwan 0a5d459c99 Disable translucency on high contrast themes
Fix #34514

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-11 23:15:33 +02:00
Carl Schwan 9eb67ad57d More flexible date validation
Fix #34542

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-11 23:02:10 +02:00
Simon L dc9cd228db Merge pull request #34473 from nextcloud/fix/excessive-increase-cachebuster
Fix excessive increase of cachebuster value
2022-10-11 21:07:56 +02:00
Joas Schilling c167fb5ccb Also remove token when we successfully validated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-11 20:39:39 +02:00
Joas Schilling cfbbace450 Require a token for "Edit locally"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-11 20:15:26 +02:00
Christopher Ng 46ee620150 Fix excessive increase of cachebuster value
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-11 16:25:42 +00:00
Côme Chilliet 8d05e180bc Merge pull request #34523 from nextcloud/fix/ldap-avoid-double-unbind-in-wizard
Avoid double ldap_unbind in Wizard.php
2022-10-11 15:50:03 +02:00
Julius Härtl 214a50d071 Avoid allocating too much memory for the buffer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-11 15:34:27 +02:00
Louis 94ded14724 Merge pull request #33511 from nextcloud/feat/extract_gps_from_exif
Extract GPS data from EXIF
2022-10-11 14:11:01 +02:00
Carl Schwan 8e3f21d9ed Small progress with fixing unit tests
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-11 14:00:15 +02:00
Joas Schilling 719c9c3655 Merge pull request #34500 from nextcloud/bugfix/noid/more-password-limitation
Fix password length limitation
2022-10-11 13:32:51 +02:00
Louis e4d3344076 Merge pull request #32859 from nextcloud/bug/31973/array-key-might-be-empty
Fix Uninitialized string offset 0 at GenerateMimetypeFileBuilder.php#39
2022-10-11 11:15:05 +02:00
Carl Schwan 54b6d0708b Allow scanning for metadata with occ scan:file --generate-metadata
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-11 10:41:17 +02:00
Louis Chemineau 92d065b6eb Extract GPS data from EXIF
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-11 10:41:17 +02:00
Côme Chilliet 53cb5b8d07 Handle badly named version files more gracefully and log information
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-11 10:10:49 +02:00
Côme Chilliet 1d2d6e864d Avoid double ldap_unbind in Wizard.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-11 09:54:04 +02:00
Côme Chilliet 0a9a749174 Fix code style with codesniffer
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-11 09:53:27 +02:00
Joas Schilling 5fd3971f35 Merge pull request #34490 from nextcloud/kill_db_mapper
Remove long depreated AppFramework/Db/Mapper
2022-10-11 09:33:07 +02:00
Joas Schilling d124fa32c0 Merge pull request #34522 from nextcloud/bugfix/34480/update-security.txt-expires-field
Update security.txt expires field
2022-10-11 09:30:42 +02:00
Joas Schilling 665d292056 Merge pull request #34517 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] Update ca-cert bundle
2022-10-11 09:30:10 +02:00
Vincent Petry e0ec31e909 Merge pull request #34513 from nextcloud/enh/34493/hide-edit-locally
do not show editlocally on mobile
2022-10-11 09:28:40 +02:00
Joas Schilling 647f9ca2d7 Merge pull request #34521 from nextcloud/bugfix/noid/also-backport-to-stable25
Also backport the cacert to stable25
2022-10-11 08:47:47 +02:00
Joas Schilling 46070cf7b9 Update security.txt expires field
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-11 08:26:25 +02:00
Joas Schilling 6e30b9b4ac Also backport the cacert to stable25
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-11 08:12:58 +02:00
nextcloud-command 912de42f61 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2022-10-11 04:40:19 +00:00
Nextcloud bot 7bf82c4f0c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-11 02:14:40 +00:00
szaimen d552bae403 do not show editlocally on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-11 00:12:58 +02:00
Dariusz Olszewski 2b4a11598d WebDAV - use file/folder name for dav:displayname
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-10-10 21:20:07 +02:00
Dariusz Olszewski c0bd7484c6 Review comment - remove redundant empty() call
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-10-10 21:03:28 +02:00
Carl Schwan cf39885b53 Propagate attributes when resharing
When updating a share, load the node from the initiator instead of the
owner similar to how this is done when creating the share.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-10 17:06:29 +02:00
Louis f456989261 Merge pull request #30608 from nextcloud/harden-fonct
Harden disk_free_space check in CheckSetupController
2022-10-10 15:42:49 +02:00
Carl Schwan c9703827e0 Expose clearing the profiles and fix it
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-10 13:26:40 +02:00
Carl Schwan 84f3f6eddd Merge pull request #34488 from nextcloud/typehint_closures
typehint migrationservice closures
2022-10-10 13:15:50 +02:00
Carl Schwan 936c3b6297 Merge pull request #34489 from nextcloud/type_closure
type closure to make psalm a bit happier
2022-10-10 13:15:12 +02:00
nextcloud-command a5765136e8 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-10 10:45:38 +00:00
Joas Schilling ab055418c6 Fix password length limitation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-10 12:33:58 +02:00
Carl Schwan a02c8fe01d Merge pull request #34487 from nextcloud/psalm_fix_migration_generation
fix typehints for generated migrations
2022-10-10 11:56:59 +02:00
Simon L cf5bf3036d Merge pull request #33915 from nextcloud/enh/33914-replace_expiration_date_picker_with_native_date_picker
Replace vue2-datepicker with native date picker for share expiration dates
2022-10-10 09:21:42 +02:00
Roeland Jago Douma 60ee874485 Remove long depreated AppFramework/Db/Mapper
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2022-10-10 08:18:32 +02:00
Roeland Jago Douma c6e100ed32 type closure to make psalm a bit happier
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2022-10-09 21:41:18 +02:00
Roeland Jago Douma d151999fc8 typehint migrationservice closures
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2022-10-09 21:31:27 +02:00
Roeland Jago Douma aaf9b9c4fd properly typehint generated migrations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2022-10-09 21:26:16 +02:00
Michael Kuhn 9a205bdc84 Fix hasBigIntConversionPendingColumns missing files_trash
The two tables seem to have gone out of sync, causing the web interface
to miss `files_trash.auto_id` not being a bigint.

Signed-off-by: Michael Kuhn <github@ikkoku.de>
2022-10-09 13:37:05 +02:00
Nextcloud bot 00485eff56 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-09 02:14:12 +00:00
Joas Schilling 99953a859b Show group name instead of group id as recommendation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-08 16:05:52 +02:00
Nextcloud bot afdb75d98b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-08 02:14:39 +00:00
Dariusz Olszewski 255d1dd686 Read notes from share already loaded into memory
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-10-07 23:24:12 +02:00
blizzz 63474360a8 Merge pull request #34462 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-10-07 19:57:46 +02:00
nextcloud-command 58705e36ce Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-07 05:39:28 +00:00
Nextcloud bot 0112a2925a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-07 02:14:13 +00:00
blizzz 1bf7dbae0d Merge pull request #31947 from andyxheli/patch-1
Fix Error: Undefined index: redirect_url
2022-10-06 23:51:27 +02:00
Christoph Wurst 2f4b7c9057 Merge pull request #34415 from nextcloud/fix/caldav-backend-causal-reads
Fix causal reads in CalDAV backend
2022-10-06 10:58:58 +02:00
julia.kirschenheuter 1eac730caf Replace moment.js date with Date Object.
Replace vue2-datepicker with native date picker for expiration date.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-06 08:56:06 +00:00
Joas Schilling 6ef03f9734 Merge pull request #34401 from nextcloud/fix/file-reference-no-preview-fallback-image
File reference: fallback icon to file type if no preview
2022-10-06 06:30:04 +02:00
Nextcloud bot 1401943e7b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-06 02:18:56 +00:00
Julien Veyssier 3c86afcce4 File reference: use the file type icon as fallback when no preview provider for this type
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-10-06 01:04:19 +02:00
Côme Chilliet 4a31d56c7a Merge pull request #34400 from nextcloud/enhancement/passwordless-auth-logging
Pass logger to passwordless auth WebAuthn lib
2022-10-05 18:15:14 +02:00
Robin Appelman 4dbcfa387a return proper error code when reporting exception fails in remote.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-10-05 12:39:29 +02:00
blizzz 7d024bc337 Merge pull request #32635 from andyxheli/patch-3
Fix User profile picture when performing the search
2022-10-05 10:36:43 +02:00
Simon L a178d6982d Merge pull request #34298 from nextcloud/enh/shipped-background-colors
Use color preset of shipped background as primary color
2022-10-05 09:52:37 +02:00
Christopher Ng 7044191eb6 Use brand color for background only and keep accessible color as color primary
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-05 06:19:08 +00:00
Christopher Ng e962d3fba4 Use color preset of shipped background as primary color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-05 06:19:08 +00:00
Nextcloud bot 89635e8949 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-05 02:14:14 +00:00
blizzz 23df942454 Merge pull request #34378 from nextcloud/add-isDeleted-to-icalendar
Add isDeleted to OCP\Calendar\ICalendar
2022-10-04 15:37:56 +02:00
acsfer 4207b80141 Harden some PHP functions
To avoid things like https://github.com/nextcloud/server/issues/26034

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-10-04 13:22:03 +02:00
Christoph Wurst b57115df3f Merge pull request #34412 from nextcloud/fix/create-address-book-write-read-transactional
Wrap address book creation causal read in a transaction
2022-10-04 12:49:47 +02:00
blizzz a87a8d78af Merge pull request #34421 from nextcloud/bugfix/noid/fix-typo-in-deprecated
Fix typo in deprecated
2022-10-04 12:41:45 +02:00
Joas Schilling 82b98b4b9b Fix typo in deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-04 11:42:24 +02:00
Nextcloud bot ade1c1e99b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-04 02:14:24 +00:00
Christoph Wurst e6d8da4cdc Fix causal reads in CalDAV backend
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-03 20:03:29 +02:00
Thomas Citharel d084e7656b Add isDeleted property to OCP\Calendar\ICalendar
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-03 18:56:02 +02:00
Joas Schilling f888f99b0a Merge pull request #34350 from nextcloud/bugfix/34278/add-capability-for-the-reference-api
Add a capability for the reference API and expose the regex to clients
2022-10-03 18:23:21 +02:00
Christoph Wurst 19b7dad3dc Wrap address book creation write-read in a transaction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-03 17:48:52 +02:00
Simon L 586d031a53 Merge pull request #34396 from nextcloud/bugfix/noid/public-page-footer
Fix positioning of the public page footer
2022-10-03 17:08:59 +02:00
Robin Appelman 27720d0ddf Merge pull request #34302 from nextcloud/fix/propagation_deadlock_handling
Fix: Prevent deadlocks during mtime/size/etag propagation
2022-10-03 16:23:57 +02:00
Andy Xheli ae6a7c88a0 Update ContactsStoreTest.php
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-10-03 09:17:27 -05:00
szaimen 864b1cafb0 fix footer
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-03 13:50:35 +00:00
Christoph Wurst eff877af03 Pass logger to passwordless auth WebAuthn lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-03 15:03:23 +02:00
Anna 9c516c2009 Merge pull request #34388 from sylvainmetayer/feat_2464_exclude_contact_from_birthday_calendar
feat(contacts): exclude contact from birthday calendar
2022-10-03 14:15:36 +02:00
raul 95bc770a37 Fix unencrypted size calculation for files created before the Encryption storage is enabled
Signed-off-by: raul <raul@nextcloud.com>
2022-10-03 13:44:14 +02:00
raul 45a1ebcc4c Fix: Prevent deadlocks during mtime/size/etag propagation
Signed-off-by: raul <raul@nextcloud.com>
2022-10-03 13:44:14 +02:00
blizzz 3efc9d7d37 Merge pull request #32899 from Retidurc/pdo-attr-persistent
Expose Doctrine support for persistent connections in PDO in Nextcloud settings
2022-10-03 12:34:39 +02:00
Julius Härtl 0c6c535f50 Fix positioning of the public page footer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-03 12:33:45 +02:00
blizzz f055328094 Merge pull request #33608 from nextcloud/perf/improve-getCalendarsForUsers
Remove the loop of calendars when only one is needed
2022-10-03 10:59:25 +02:00
Côme Chilliet 484f8b0837 Merge pull request #34376 from nextcloud/OCP/Calendar/ICalendar-typing
Add typings to OCP\Calendar\ICalendar and implementation
2022-10-03 10:01:08 +02:00
Thomas Citharel 98030e97d3 Add typings to OCP\Calendar\ICalendar and implementation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-03 08:35:42 +02:00
Nextcloud bot dec84ef1cb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-03 02:17:31 +00:00
Sylvain bfc8f64237 feat: add tests cases
Signed-off-by: Sylvain <git@sylvain.dev>
2022-10-02 18:34:43 +02:00
Sylvain 5b8d8271a2 fix: define exclusion key as constant
Signed-off-by: Sylvain <git@sylvain.dev>
2022-10-02 18:30:13 +02:00
Sylvain e3d50f99c9 feat(contacts): exclude contact from birthday calendar
Signed-off-by: Sylvain <git@sylvain.dev>
2022-10-02 17:55:11 +02:00
Julius Härtl 754cef369b Merge pull request #34339 from nextcloud/bugfix/noid/fix-urls-on-reference-resolving
Fix URLs on reference resolving
2022-10-02 14:34:41 +02:00
Anna 663751cf78 Merge pull request #34289 from nextcloud/fix/url-encode-webdav-url
Url encode the web dav url for copying
2022-10-02 14:28:19 +02:00
Anna Larch 25409cb66c Url encode the web dav url for copying
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-10-02 08:46:16 +00:00
Anna 905753be42 Merge pull request #34219 from nextcloud/fix/add-uid-fn-fallbacks
Add fallback options for contacts array
2022-10-02 10:35:50 +02:00
Côme Chilliet 3579484e93 Merge pull request #34336 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-10-02 09:22:04 +02:00
nextcloud-command 705082199c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-02 04:39:59 +00:00
Nextcloud bot 08b1a25cbe [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-02 02:17:03 +00:00
Anna Larch 88b0aea2b0 Add fallback options for contacts array
when the UID or FN is null, the email address / dsiplay name will be used instead

Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-10-01 22:47:58 +00:00
Simon L 9d02704682 Merge pull request #34331 from nextcloud/enh/noid/public-view-fix
fix public view
2022-10-02 00:21:40 +02:00
Anna Larch 3a8c7b6bf3 Remove the loop of calendars when only one is needed
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-10-01 22:17:40 +02:00
blizzz e714524267 Merge pull request #33104 from nextcloud/enhancement/add-logging-federation
Federation - add logging, update the server status if sync fails
2022-10-01 21:53:55 +02:00
blizzz 132f842f80 Merge pull request #33450 from sazanof/bug/base64-card-dav-search
Fix photo url generation (add URI type to VCard2Array)
2022-10-01 21:50:14 +02:00
blizzz ca958de7e9 Merge pull request #33566 from nextcloud/fopen-not-found-rescan
trigger a rescan when trying to fopen a file that exists in cache but not on disk
2022-10-01 21:47:26 +02:00
blizzz 2b854c1044 Merge pull request #34223 from nextcloud/includeTags
includeTags -> include_tags
2022-10-01 21:43:10 +02:00
blizzz dd033f6ee7 Merge pull request #34343 from nextcloud/fix/ocs-api-missing-maintenance-mode-headers
Fix missing maintenance mode header for OCS request
2022-10-01 21:41:12 +02:00
blizzz ee67dd82d5 Merge pull request #34364 from nextcloud/fix/noid/updater-backup-cleanup
also use updatedir for cleanup of backups
2022-10-01 19:26:19 +02:00
Joas Schilling d434da75bb Add a capability for the reference API and expose the regex to clients
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-01 18:24:08 +02:00
Simon L f97f13b136 Merge pull request #33737 from andyxheli/patch-4
Makes untrusted domain error on info
2022-10-01 18:06:44 +02:00
Côme Chilliet a4c2aeef45 Merge pull request #34329 from nextcloud/fix/cleanup-long-time-deprecated-stuff
Remove some constants and functions which have been long deprecated
2022-10-01 17:55:31 +02:00
Simon L f317025ed0 Merge pull request #34323 from nextcloud/fix/screenshots
Update theming screenshots
2022-10-01 17:44:21 +02:00
Simon L 14b21b8a11 Merge pull request #34363 from nextcloud/bugfix/noid/update-opendyslexia
Update OpenDyslexia to v0.91.12
2022-10-01 17:21:04 +02:00
Arthur Schiwon 6ec5c4715c also use updatedir for cleanup of backups
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-01 17:01:28 +02:00
Joas Schilling 4ce0990239 Update opendyslexia
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-01 16:29:36 +02:00
blizzz f323c5b854 Merge pull request #34269 from nextcloud/td/noid/remove-unused-listener
remove listeners to OC_Filesystem::(write|rename) old style hooks
2022-10-01 16:15:39 +02:00
Nextcloud bot dbd0cf054c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-01 02:16:55 +00:00
Nextcloud bot 4a35dc1f89 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-01 02:10:18 +00:00
Julien Veyssier 4844ca619c Merge pull request #34353 from nextcloud/fix/noid/reference-url-fallback
Reference url can always fallback to the link itself
2022-10-01 00:43:23 +02:00
Simon L b701e19d10 Merge pull request #34333 from nextcloud/enh/33851/fix-tertiary-button
fix the tertiary button text
2022-09-30 20:33:10 +02:00
Vincent Petry 743b913f5e Merge pull request #34348 from nextcloud/bugfix/34156/fix-rename-within-sharedwithyou
Fix renaming in shared with you file list
2022-09-30 19:52:32 +02:00
Julien Veyssier eff783797a reference url can always fallback to the link itself
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-30 19:12:39 +02:00
szaimen da48143de7 fix test
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-30 19:01:51 +02:00
szaimen 9d4d95a94c fix the tertiary button text
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-30 17:50:48 +02:00
Christoph Wurst 910c774b35 Merge pull request #34038 from nextcloud/fix/migrate-TagMapper-to-QBMapper
Migrate TagMapper to QBMapper instead of deprecated Mapper
2022-09-30 16:46:42 +02:00
Vincent Petry d7e94a8ffb Fix renaming in shared with you file list
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-30 15:39:30 +02:00
Côme Chilliet 4123eeeaa3 Fix ContactsManagerTest test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-30 13:20:04 +00:00
Côme Chilliet 5347fb02dc Remove some constants and functions which have been long deprecated
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-30 13:20:03 +00:00
Côme Chilliet 6c2230c3d9 Merge pull request #34346 from nextcloud/fix/add-pre-commit-to-expected-files
Add .pre-commit-config.yaml to expected files in checker
2022-09-30 15:15:13 +02:00
Côme Chilliet a430cc48ab Merge pull request #34344 from nextcloud/fix/gitignore-files-modified-by-tests
Ignore files which are modified by our tests
2022-09-30 15:06:04 +02:00
Côme Chilliet 371ad1364c add .pre-commit-config.yaml to expected files in checker
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-30 14:27:36 +02:00
Côme Chilliet e7eb6415fb Ignore files which are modified by our tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-30 12:52:28 +02:00
Christoph Wurst a5ea17a2e5 Fix missing maintenance mode header for OCS request
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-09-30 10:52:40 +02:00
Joas Schilling 534fbd83e3 Merge pull request #34328 from nextcloud/fix/fix-redis-type-error
Correctly handle Redis::keys returning false
2022-09-30 10:15:01 +02:00
Joas Schilling 0642d17e4f Fix URLs on reference resolving
The vue-richtext app currently sends leading spaces if they are in the text.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-30 09:40:43 +02:00
Julius Härtl 27ce4bd1a4 Merge pull request #34322 from nextcloud/bugfix/noid/limit-url-matching-to-https
Only match http(s) URLs for references
2022-09-30 08:07:47 +02:00
Nextcloud bot 87d4c3d84e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-30 02:55:26 +00:00
Simon L 5a0cdd07bb Merge pull request #34321 from nextcloud/fix/invisible-status
Fix invisible status
2022-09-29 23:06:10 +02:00
nextcloud-command 5a888596b4 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-29 18:07:53 +00:00
John Molakvoæ (skjnldsv) 009700f16e Fix invisible status
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-09-29 17:55:44 +00:00
Côme Chilliet fba6f2597a Merge pull request #32012 from nextcloud/cleanup/tags
Cleanup tags and share component
2022-09-29 18:56:39 +02:00
blizzz 3969497059 Merge pull request #33984 from nextcloud/enh/add-pre-commit-config-for-cs-fixer
Add pre commit config for cs fixer, EOF checks, etc
2022-09-29 18:41:23 +02:00
nextcloud-command e7bd935d64 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-29 16:07:47 +00:00
szaimen 19fc735a53 fix public view - attempt 2
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-29 17:23:58 +02:00
Carl Schwan 92a5a8f075 Cleanup tags and Share component
- Port to LoggerInterface
- Use IDBConnection and IQueryBuilder instead of raw SQL and OC_DB
- Use IEventListener instead of hooks
- Remove the now unused OC_DB and OC_DB_StatementWrapper legacy utils

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-29 15:15:28 +00:00
Joas Schilling f976d372fe Adjust tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-29 16:38:50 +02:00
Simon L b4708fb9f0 Merge pull request #34327 from nextcloud/fix/favourite
Fix starred favourite icon
2022-09-29 16:16:53 +02:00
Côme Chilliet 826e234ecf Correctly handle Redis::keys returning false
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-29 14:41:53 +02:00
John Molakvoæ (skjnldsv) eb6ed7dcfd Fix starred favourite icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-09-29 13:57:22 +02:00
Simon L d647025f61 Merge pull request #34313 from nextcloud/fix/34203/rm_videoplayer
unbundle files_videoplayer and clean up a little
2022-09-29 13:23:51 +02:00
Arthur Schiwon 4aaa4590a5 unbundle files_videoplayer and clean up a little
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-29 12:11:37 +02:00
John Molakvoæ (skjnldsv) 1178d1480b Update theming screenshots
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-09-29 11:34:39 +02:00
Joas Schilling 474dcf05fd Only match http(s) URLs for references
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-29 11:29:23 +02:00
Robin Appelman cb51564356 trigger a rescan when trying to fopen a file that exists in cache but not on disk
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-29 11:17:16 +02:00
Robin Appelman 1de0b10751 add test for trying to fopen a file which no longer exists on disk
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-29 10:27:32 +02:00
Nextcloud bot a880f791d1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-29 02:33:10 +00:00
Simon L f7067f4e58 Merge pull request #34308 from nextcloud/fix/user-status
Fix user status emoji picking
2022-09-29 01:22:41 +02:00
Simon L f170f30637 Merge pull request #34311 from nextcloud/fix/settings-bg
Remove unwanted settings button background
2022-09-29 00:32:07 +02:00
John Molakvoæ (skjnldsv) 75bcf9bd2a Remove unwanted settings button background
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-28 21:52:21 +00:00
nextcloud-command 076d4dd7db Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-28 18:58:43 +00:00
John Molakvoæ (skjnldsv) 21fd2d8317 Fix user status emoji picking
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-09-28 18:42:13 +00:00
Simon L fafc1ee807 Merge pull request #34287 from nextcloud/enh/33836/fix-theme
fix highcontrast theme
2022-09-28 20:35:07 +02:00
Julius Härtl 1aa76e5968 Merge pull request #34215 from nextcloud/bugfix/cache-headers-reference
Add cache header for image endpoint if link previews
2022-09-28 20:25:15 +02:00
Pytal 054d266c70 Merge pull request #34204 from nextcloud/fix/flashing-background-color
Fix various theming bugs
2022-09-28 10:57:41 -07:00
Christopher Ng 295d03869e Fix various theming bugs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-28 17:12:56 +00:00
blizzz f6f0195a3f Merge pull request #34306 from nextcloud/fix/noid/step-file-not-moved
fix default value for updatedirectory setting
2022-09-28 15:51:37 +02:00
Julius Härtl f4a2ab137b Add cache header for image endpoint if link previews
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-28 13:21:28 +00:00
tobiasKaminsky 610bbaed68 includeTags -> include_tags
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-09-28 13:17:56 +00:00
Vincent Petry 20b75480d0 Merge pull request #34152 from nextcloud/bugfix/noid/db-password-install
Do not store generated mysql password if it was not used
2022-09-28 15:09:03 +02:00
Vincent Petry 980ba65734 Merge pull request #34248 from nextcloud/bugfix/noid/ignore-invalid-share-types
Ignore invalid share types
2022-09-28 15:06:09 +02:00
Arthur Schiwon e9e6f5fe84 fix default value for updatedirectory setting
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-28 14:39:12 +02:00
Nextcloud bot 5709084956 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-28 02:32:41 +00:00
Vincent Petry 5c8cab61ab Merge pull request #34288 from nextcloud/bugfix/34281/fix-copy-internal-link-focus
Fix focussing to internal link after copy
2022-09-27 19:05:00 +02:00
Vincent Petry f875a81a07 Merge pull request #34292 from nextcloud/bugfix/33847/fix-gridview-publicpage
Fix grid view button in public page
2022-09-27 19:03:26 +02:00
Pytal 657f2e87e4 Merge pull request #34272 from nextcloud/enh/shipped-background-primary-colors
Add primary color presets for shipped backgrounds
2022-09-27 09:20:41 -07:00
Vincent Petry 42bc63f1a0 Update apps/files_sharing/src/components/SharingEntryInternal.vue
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-27 14:05:46 +00:00
Vincent Petry 848a8c8c59 Fix grid view button in public page
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-27 15:51:15 +02:00
szaimen c9a372034f fix highcontrast theme icons
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-27 13:52:49 +02:00
Vincent Petry 64a4abf472 Fix focussing to internal link after copy
Since a recent change to NcActions it's not possible to add a "ref"
attribute on a NcAction* component.

As a workaround, a ref was added on the NcActions parent component
instead.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-27 12:25:22 +02:00
Julien Veyssier 0e41530b80 Merge pull request #34263 from nextcloud/bugfix/noid/resolve-get-cachable
Add endpoint to fetch a cachable reference data
2022-09-27 11:26:20 +02:00
Joas Schilling cbef32b6f8 Merge pull request #34134 from nextcloud/Valdnet-patch-4
l10n: Fix text string
2022-09-27 11:25:11 +02:00
Joas Schilling df9be44010 Merge pull request #34142 from nextcloud/move-background-clearing
Move avatar clearing in the background
2022-09-27 11:13:00 +02:00
blizzz 265f744ff8 Merge pull request #34267 from nextcloud/bugfix/upgrade-from-26
Bump versions to upgrade from
2022-09-27 09:19:50 +02:00
Nextcloud bot 69287aa99f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-27 02:28:05 +00:00
Christopher Ng 67742884b7 Add preset primary colors for shipped backgrounds
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-27 00:56:58 +00:00
Vincent Petry eb80d4d144 Merge pull request #33162 from nextcloud/dependabot/npm_and_yarn/moment-2.29.4
Bump moment from 2.29.2 to 2.29.4
2022-09-26 21:28:51 +02:00
Simon L 7a701f248a Merge pull request #34163 from Jerome-Herbinet/patch-6
User list : User name and Display name visibility improvement
2022-09-26 21:27:06 +02:00
Vincent Petry 417586f1a0 Merge pull request #34260 from nextcloud/remove-unneeded-vue-cli
Remove unneeded and problematic vue-cli-plugin-unit-test
2022-09-26 21:25:11 +02:00
Arthur Schiwon 9b7ef2962e remove listeners to OC_Filesystem::(write|rename) old style hooks
- the events are not emitted anymore
- OC_Filesystem::isBlacklisted() is not called from anywhere else

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-26 21:07:08 +02:00
Julius Härtl 2065da03e0 Bump versions to upgrade from
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-26 19:17:25 +02:00
nextcloud-command 914cfb1f5e Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-26 15:54:29 +00:00
Julius Härtl 5fa7563bf9 Add endpoint to fetch a cachable reference data
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-26 17:44:49 +02:00
Carl Schwan de23ff38ff Move avatar clearing in the background
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-26 15:26:31 +00:00
Vincent Petry 7622fdfce3 Remove unneeded and problematic vue-cli-plugin-unit-test
It was causing issues during dependency upgrades and wasn't really used
except for its preset definition.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-26 15:24:15 +02:00
dependabot[bot] 9de77ccf0e Bump moment from 2.29.2 to 2.29.4
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  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>
2022-09-26 12:58:39 +00:00
Joas Schilling 8eb03e712a Merge pull request #33887 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.37
Bump moment-timezone from 0.5.34 to 0.5.37
2022-09-26 14:37:26 +02:00
Vincent Petry f122bac520 Merge pull request #34247 from nextcloud/dependabot/npm_and_yarn/nth-check-and-vue/cli-service-2.1.1
Bump nth-check and @vue/cli-service
2022-09-26 14:34:39 +02:00
Simon L 4a034acc5d Merge pull request #34249 from nextcloud/bugfix/noid/reference-public
Move Reference class to public namespace
2022-09-26 12:40:59 +02:00
Stanimir Bozhilov 46c10c77e1 Fix the JSON content type regex to match all MIME types
Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com>
2022-09-26 11:51:44 +02:00
Joas Schilling 042474bb12 Add since
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-26 11:26:34 +02:00
Carl Schwan 671c36506a Merge pull request #34222 from nextcloud/fix/install-page
Fix install page
2022-09-26 11:16:09 +02:00
Julius Härtl f69151e626 Move Reference class to public namespace
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-26 10:04:28 +02:00
Joas Schilling 2acf9ffafe Ignore invalid share types
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-26 09:40:53 +02:00
dependabot[bot] 3d716fa6b4 Bump nth-check and @vue/cli-service
Bumps [nth-check](https://github.com/fb55/nth-check) and [@vue/cli-service](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-service). These dependencies needed to be updated together.

Updates `nth-check` from 1.0.2 to 2.1.1
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v1.0.2...v2.1.1)

Updates `@vue/cli-service` from 4.5.17 to 5.0.8
- [Release notes](https://github.com/vuejs/vue-cli/releases)
- [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-cli/commits/v5.0.8/packages/@vue/cli-service)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
- dependency-name: "@vue/cli-service"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 07:22:14 +00:00
Joas Schilling 2f1538256a Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-26 09:00:27 +02:00
Joas Schilling 1993db5473 Bump moment-timezone from 0.5.34 to 0.5.37
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.34 to 0.5.37.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.34...0.5.37)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-26 08:54:09 +02:00
Nextcloud bot ec8e0f9bf6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-26 02:33:45 +00:00
Nextcloud bot 7dd472dda4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-25 02:32:58 +00:00
Vincent Petry d358efc7f9 Fix install page
- Use normal labels instead of hiding them
- Fix position of the eye button (this is still very hacky)
- Define width on the box and not on the text fields

This really needs to be ported to vue

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-24 06:20:49 +00:00
John Molakvoæ b8912153db Merge pull request #34210 from nextcloud/fix/theming
Fixing missing theming variables
2022-09-24 07:35:34 +02:00
John Molakvoæ 6a8b189be5 Merge pull request #34220 from nextcloud/fix-php-cs-setup
Make phpcs happy and remove unused setup thing
2022-09-24 07:33:30 +02:00
John Molakvoæ c579fcbb08 Merge pull request #34231 from nextcloud/fix/node-workflow-error
Fix node workflow error on master
2022-09-24 07:32:30 +02:00
Nextcloud bot b974d504c3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-24 02:33:56 +00:00
Christopher Ng e6172f0712 Fix node workflow error on master
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-23 23:10:06 +00:00
John Molakvoæ 7a43559197 Refactor primary computation and fix a few missing theme parity variables
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-09-23 15:48:45 +02:00
Vincent Petry c2bd4f39c1 Make phpcs happy and remove unused setup thing
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-23 15:07:28 +02:00
Vincent Petry 15f0674a3c Merge pull request #34212 from nextcloud/bugfix/34211/fix-getbackground-route
Fix loading custom background
2022-09-23 15:05:47 +02:00
John Molakvoæ 0b23ad9256 Disable background blur on highcontrast
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-09-23 15:01:38 +02:00
John Molakvoæ 48f324fcb1 Fixing dark primary element variables
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-09-23 14:58:40 +02:00
Joas Schilling 0431ad8a02 Merge pull request #34191 from Jerome-Herbinet/patch-7
DashBoard : Allow up to 5 widgets side by side
2022-09-23 11:19:49 +02:00
Vincent Petry b8dbbb177d Fix loading custom background
Fix the route for loading the custom background.
Because the controller is UserThemeController, so the route path is
not "theming" but "userTheme".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-23 11:19:38 +02:00
Retidurc Silvernight 3ecd400cec Update config.sample.php
Signed-off-by: Retidurc Silvernight <retidurc@silvernight.social>
2022-09-23 09:48:02 +02:00
Retidurc Silvernight 2269f35842 Change option name again to be more like the other options
Signed-off-by: Retidurc Silvernight <retidurc@silvernight.social>
2022-09-23 09:48:02 +02:00
Retidurc Silvernight 0de8729d7b Change config option to db.persistent
Signed-off-by: Retidurc Silvernight <retidurc@silvernight.social>
2022-09-23 09:48:01 +02:00
Retidurc Silvernight 90f3379dfc Expose Doctrine settings in Netxcloud settings
Signed-off-by: Retidurc Silvernight <retidurc@silvernight.social>
2022-09-23 09:47:56 +02:00
Nextcloud bot 11ec90d8ae [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-23 02:28:39 +00:00
blizzz ac1c7397a1 Merge pull request #34190 from nextcloud/fix/noid/remove-core-bundle
remove CoreBundle as we now ship the lat app that was referenced there
2022-09-22 17:34:30 +02:00
Jérôme Herbinet b5d8fc9666 DashBoard : Allow up to 5 widgets side by side
Signed-off-by: Jérôme Herbinet <j.herbinet@protonmail.ch>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 15:23:03 +02:00
Arthur Schiwon 1b6ddb826c update autoloader
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-22 15:11:39 +02:00
Arthur Schiwon a133a8a9d7 remove getDefaultInstallationBundle
- because all apps are shipped now it was returning an empty result

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-22 15:11:39 +02:00
Arthur Schiwon a7af25e1d9 remove InstallCoreBundle repair step
- core bundle was empty and thus removed
- all former apps installed this way are shipped

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-22 13:24:06 +02:00
Arthur Schiwon 759eaee5ed remove Core Bundle
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-22 13:20:37 +02:00
Jérôme Herbinet e393e13907 Fix : strong end tag
<33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 13:13:23 +02:00
Jérôme Herbinet 9e4fe9dc49 Fix : strong HTML end tag
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 13:13:23 +02:00
Jérôme Herbinet 8dd2ea7f5d build npm run sass
Signed-off-by: Jérôme Herbinet 33763786+Jerome-Herbinet@users.noreply.github.com
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 13:13:23 +02:00
Jérôme Herbinet f2ca65b4d5 build front-end
Signed-off-by: Jérôme Herbinet jerome.herbinet@arawa.fr
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 13:13:23 +02:00
Jérôme Herbinet f233077b70 User list : Other user and display name inversion
Signed-off-by: Jérôme Herbinet jerome.herbinet@arawa.fr
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 13:13:23 +02:00
Jérôme Herbinet 1e9fd662a3 User list : Invert user name and display name
Signed-off-by: Jérôme Herbinet jerome.herbinet@arawa.fr
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 13:13:23 +02:00
Jérôme Herbinet 6c081bdfce User list : Display name CSS change
Signed-off-by: Jérôme Herbinet jerome.herbinet@arawa.fr

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 13:13:23 +02:00
blizzz 8c7a35cc78 Merge pull request #34183 from nextcloud/bump-shipped-list
Bumped shipped apps list
2022-09-22 12:37:35 +02:00
blizzz be1cb99188 Merge pull request #34186 from nextcloud/master-is-now-26
⚠️ Master is now 26
2022-09-22 12:01:15 +02:00
Joas Schilling 05845e11a8 Master is now 26
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-22 11:56:15 +02:00
Vincent Petry 2f15e83d7b Merge pull request #34160 from nextcloud/fix/detect-weird-local-ips
Detect weird local ips
2022-09-22 11:38:12 +02:00
Stanimir Bozhilov d80f8f6c82 Type hint JSON content type regex and use preg_match less
Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com>
2022-09-22 11:25:39 +02:00
Joas Schilling 5fedb42520 Bumped shipped apps list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-22 10:52:58 +02:00
Vincent Petry 938bc57f6d Merge pull request #34133 from nextcloud/showTag
Add includeTags to /share/id
2022-09-22 10:23:48 +02:00
Vincent Petry e346417067 Merge pull request #34181 from nextcloud/enh/edit-locally-icon
Use computer icon for edit locally file action
2022-09-22 10:22:10 +02:00
Côme Chilliet 75328593ad Fix idn_to_utf8 stub signature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-22 10:16:35 +02:00
Nextcloud bot 1930c3bbb9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-22 02:32:35 +00:00
Pytal b84f51b6de Merge pull request #34117 from nextcloud/profil-card
Show long names correctly on profile card
2022-09-21 12:17:30 -07:00
Christopher Ng 1f786f6bcc Remove port parameter which is included in host
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-21 19:11:38 +00:00
Christopher Ng 09b7776720 Use computer icon for edit locally file action
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-21 18:59:40 +00:00
Git'Fellow 7518917aa9 Switch to overflow-wrap
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-21 17:59:56 +00:00
Git'Fellow 6fc810ab98 Show long nomes correctly on profile card
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-21 17:50:59 +00:00
Pytal 3f2c315588 Merge pull request #34180 from nextcloud/bump-password-confirmation-4.0.1 2022-09-21 10:40:38 -07:00
Vincent Petry 4ef3799745 Bump @nextcloud/password-confirmation from 4.0.0 to 4.0.1
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-21 18:29:08 +02:00
Stanimir Bozhilov f286a9d6ac Use regex for all JSON-related content types
Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com>
2022-09-21 16:36:01 +02:00
Joas Schilling 18431c2fe9 Merge pull request #34145 from nextcloud/bugfix/noid/allow-app-type-session
Allow app type session which we load in base.php
2022-09-21 15:48:56 +02:00
Stanimir Bozhilov 0ace70488a Treat application/json and application/scim+json in same if-block
Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com>
2022-09-21 15:31:50 +02:00
Simon L 0577f86e13 Merge pull request #34170 from nextcloud/enh/noid/theming-settings-icon
update theming icon in personal settings
2022-09-21 14:12:41 +02:00
Simon L 8268416a2c Merge pull request #34171 from nextcloud/enh/edit-locally
Add edit locally file action
2022-09-21 14:11:04 +02:00
Joas Schilling d0ead94aea Merge pull request #31807 from nextcloud/fix/cors_csrf
Accept CSRF on CORS routes
2022-09-21 13:50:59 +02:00
szaimen 310ccfa14e update theming icon in personal settings
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-21 11:26:08 +00:00
Jonas Rittershofer c8b7a233a5 Allow CSRF on CORS routes
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: Andreas Brinner <andreas@everlanes.net>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2022-09-21 10:42:00 +00:00
Tobias Kaminsky 5b3fb7a8ff Update apps/files_sharing/lib/Controller/ShareAPIController.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-09-21 08:28:03 +02:00
Joas Schilling 48def620cb Merge pull request #34165 from nextcloud/bugfix/noid/remove-remaining-occurance-of-color-primary-element-lighter
Remove last occurance of "color-primary-element-lighter"
2022-09-21 06:23:35 +02:00
Nextcloud bot 3407f26a0f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-21 02:27:40 +00:00
Christopher Ng d415c656f6 Add edit locally file action
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-20 19:43:34 +00:00
Andy Xheli 2cff329188 Update lib/private/Contacts/ContactsMenu/ContactsStore.php
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Tested no issues.

Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-09-20 12:05:29 -05:00
Côme Chilliet b3b98a3e20 Update 3rdparty to master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-20 17:49:17 +02:00
Joas Schilling 29af54f10d Merge pull request #34147 from nextcloud/bugfix/noid/fix-avatar-cleanup-on-user-delete
Fix avatar cleanup on user delete
2022-09-20 17:11:05 +02:00
Joas Schilling 205b0c4e24 Remove last occurance of "color-primary-element-lighter"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 16:33:55 +02:00
Stanimir Bozhilov f7d51a39cf Add unit tests for application/scim+json content type
Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com>
2022-09-20 16:19:05 +02:00
Stanimir Bozhilov f0dbe1148a Add support for application/scim+json content type
Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com>
2022-09-20 16:18:52 +02:00
Vincent Petry 132012c075 Merge pull request #34161 from nextcloud/bugfix/noid/fix-ffmpeg-preview-manager
Fix FFMPEG preview manager
2022-09-20 15:00:12 +02:00
Joas Schilling 20ee356a29 Merge pull request #34154 from nextcloud/bugfix/noid/add-missing-viewbox-to-svgs
Add missing viewbox to SVGs
2022-09-20 14:19:55 +02:00
Joas Schilling efedb218e3 Fix FFMPEG preview manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 13:22:24 +02:00
Côme Chilliet 31117fa7c7 Fix tests for nested v4 in v6
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-20 12:46:22 +02:00
Côme Chilliet 7ac688a2e5 Use new dependency to normalize IPs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-20 12:34:04 +02:00
Côme Chilliet 6b876bb0c3 Add mlocati/ip-lib dependency
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-20 12:23:24 +02:00
Côme Chilliet a907b74c2a Add missing urldecode and idn_to_utf8 calls to local address checker
The call to idn_to_utf8 call is actually to apply normalization

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-20 12:20:35 +02:00
Carl Schwan d0668ce3b7 Merge pull request #34140 from nextcloud/fix/carl/clean-search-result-when-resetting
Clear search results when remove search query
2022-09-20 12:16:58 +02:00
Côme Chilliet c083f77e4e Harden tests for local IP detection in URLs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-20 12:14:33 +02:00
John Molakvoæ 93fc2ffc44 Merge pull request #34144 from nextcloud/remove-avatar-fixme
Remove completed refresh avatar FIXME
2022-09-20 11:00:02 +02:00
Joas Schilling 354549a88b Recompile icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 10:58:35 +02:00
Joas Schilling c443ecfbff Rebuild autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 10:33:26 +02:00
Joas Schilling c2d32edd42 Recompile weather app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 10:30:56 +02:00
Joas Schilling 2fe70e2795 Add missing viewbox to SVGs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 10:21:57 +02:00
Vincent Petry e3869dcac8 Merge pull request #34130 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] Update ca-cert bundle
2022-09-20 10:16:31 +02:00
Julius Härtl b427ccd065 Do not store generated mysql password if it was not used
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-20 08:39:25 +02:00
nextcloud-command b7027bac52 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2022-09-20 04:48:58 +00:00
Nextcloud bot 3ac720aaca [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-20 02:32:43 +00:00
Joas Schilling 144514e49e Fix avatar cleanup on user delete
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-19 21:36:50 +02:00
Joas Schilling 24e895f24d Allow app type session which we load in base.php
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-19 20:45:39 +02:00
Christopher Ng 3ee1a53ebc Remove completed refresh avatar FIXME
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-19 18:37:42 +00:00
Carl Schwan f0cd60b21b Clear search results when remove search query
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-19 18:28:40 +02:00
Andy Xheli e661d3cc99 Update ContactsStore.php
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-09-19 09:06:12 -05:00
blizzz ea08fabca3 Merge pull request #34095 from nextcloud/release/25.0.0_beta_7
25.0.0 beta 7
2022-09-19 15:14:47 +02:00
blizzz f13b60837f Merge pull request #34137 from nextcloud/revert-34009-safe-config-update
Revert "Make config file saving safe against write failures"
2022-09-19 15:11:49 +02:00
Carl Schwan 671ad7e4d6 Merge pull request #34118 from nextcloud/fix/locale-styling
Fix styling of locale dropdown
2022-09-19 14:51:25 +02:00
Joas Schilling 3236619e99 Revert "Make config file saving safe against write failures" 2022-09-19 14:02:07 +02:00
Carl Schwan a733a77f7b Merge pull request #34122 from nextcloud/Valdnet-patch-3
l10n: Change to a capital letter
2022-09-19 12:16:46 +02:00
Côme Chilliet 4efd0be525 Inform ServerTest that TagMapper now uses QBMapper
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-19 10:01:49 +00:00
Côme Chilliet 652158a72c Improve typing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-19 10:01:49 +00:00
Côme Chilliet 9b78699f0a Migrate TagMapper to QBMapper instead of deprecated Mapper
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-19 10:01:49 +00:00
tobiasKaminsky ebd28ef9e0 Show include tags on single share
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-09-19 11:36:52 +02:00
Valdnet 57071228df l10n: Correct text string
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-19 11:36:39 +02:00
Valdnet caac0f069d Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-19 11:13:39 +02:00
Valdnet 187464a70d Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-19 11:12:09 +02:00
tobiasKaminsky 4a4a3874da Add includeTags to /share/id 2022-09-19 11:11:09 +02:00
Valdnet 58d98a3085 Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-19 10:39:32 +02:00
Carl Schwan 3950deb42f Merge pull request #32740 from jasperweyne/patch-2
Fix open_basedir issues by AWS SDK
2022-09-19 10:19:15 +02:00
Valdnet a9f20b94c9 l10n: Spelling unification
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-19 08:05:50 +00:00
Nextcloud bot c3a87e8c48 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-19 02:32:20 +00:00
Joas Schilling 061d621a1f Merge pull request #34107 from nextcloud/automate-cacert-update
Automate CA certificate bundle update
2022-09-18 10:24:58 +02:00
Nextcloud bot f780d6d94c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-18 02:26:13 +00:00
Valdnet ac58ba5a90 l10n: Change to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-17 19:34:25 +02:00
Nextcloud bot cc814bb568 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-17 02:31:51 +00:00
Christopher Ng cb9f4e353f Fix styling of locale dropdown
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-16 23:33:05 +00:00
Pytal 914714f26a Merge pull request #33502 from nextcloud/enh/27869/locale
Remake locale saving with Vue
2022-09-16 16:04:18 -07:00
Christopher Ng 4de19e9f85 Fix test failure introduced in https://github.com/nextcloud/server/pull/33819
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-16 19:56:42 +00:00
Christopher Ng f922b2fd70 Remake locale saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-16 19:02:18 +00:00
Andy Xheli c2c2e3ce52 Apply suggestions from code review
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-09-16 11:29:09 -05:00
Carl Schwan b9c002df0a Merge pull request #34113 from nextcloud/dependabot/npm_and_yarn/scss-tokenizer-and-node-sass-0.4.3
Bump scss-tokenizer and node-sass
2022-09-16 18:07:22 +02:00
dependabot[bot] b2598d7540 Bump scss-tokenizer and node-sass
Bumps [scss-tokenizer](https://github.com/sasstools/scss-tokenizer) and [node-sass](https://github.com/sass/node-sass). These dependencies needed to be updated together.

Updates `scss-tokenizer` from 0.3.0 to 0.4.3
- [Release notes](https://github.com/sasstools/scss-tokenizer/releases)
- [Commits](https://github.com/sasstools/scss-tokenizer/compare/v0.3.0...v0.4.3)

Updates `node-sass` from 7.0.1 to 7.0.3
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v7.0.1...v7.0.3)

---
updated-dependencies:
- dependency-name: scss-tokenizer
  dependency-type: indirect
- dependency-name: node-sass
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 13:29:32 +00:00
Vincent Petry daa328aa0e Merge pull request #34110 from nextcloud/update-nextcloud-vue-7.0.0-beta.4
Bump @nextcloud/vue from 7.0.0-beta.2 to 7.0.0-beta.4
2022-09-16 15:27:02 +02:00
Vincent Petry c14ad845bd Merge pull request #33819 from nextcloud/fix/user-exists-l10n
Fix translation of user exists error server-side
2022-09-16 14:57:59 +02:00
Vincent Petry 25888a3d42 Merge pull request #34073 from nextcloud/login-email-filter
dont try email login if the provider username is not a valid email
2022-09-16 14:54:24 +02:00
Vincent Petry 8880fe3fd1 Merge pull request #34096 from nextcloud/bug/noid/tag-loading
Tag loading
2022-09-16 14:53:12 +02:00
Vincent Petry 1025d049c7 Merge pull request #24596 from kofemann/dcache-worm
make NextCloud WORM file system friendly
2022-09-16 14:39:13 +02:00
Vincent Petry 17784a114f Bump @nextcloud/vue from 7.0.0-beta.2 to 7.0.0-beta.4
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-16 14:25:55 +02:00
Vincent Petry b3ca186d2d Merge pull request #34020 from nextcloud/logical-op
Switch logical operators (and|or)
2022-09-16 13:35:19 +02:00
Joas Schilling f51da25647 Update update-cacert-bundle.yml
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-09-16 12:47:32 +02:00
Vincent Petry 703dd64e7e Merge pull request #33658 from nextcloud/dashboard-api-widgets
Extend dashboard api to allow listing of widgets
2022-09-16 12:18:24 +02:00
Vincent Petry a716308e7b Merge pull request #34050 from nextcloud/bug/noid/login-form-focus
Set focus to input field for login form
2022-09-16 11:49:45 +02:00
Joas Schilling 93e2995599 Merge pull request #34108 from nextcloud/Valdnet-patch-3
l10n: Correct error messages
2022-09-16 11:40:22 +02:00
Joas Schilling 8612a9b232 Remove legacy ca-cert checker
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-16 11:13:46 +02:00
Tigran Mkrtchyan f41209a061 config: add a switch to control truncate before update
To avoid extra truncate on non WORM file systems, add a new config
option `localstorage.unlink_on_truncate`, which defaults to false.

The OC\Files\Storage\Local is update to respect that option.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
2022-09-16 11:10:32 +02:00
Joas Schilling 3009e02324 Fix phpunit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-16 11:03:44 +02:00
Carl Schwan c2ec388c5a Merge pull request #34105 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-09-16 10:57:22 +02:00
Tigran Mkrtchyan 8fc4cf67f1 files: remove destination file before copying new content (WORM)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
2022-09-16 10:57:17 +02:00
Daniel Kesselberg 383701914c Set focus to input field
Fix:
- TypeError: this.$refs.user.focus is not a function
- TypeError: this.$refs.password.focus is not a function

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-16 10:51:24 +02:00
Carl Schwan d44f3cec94 Merge pull request #34097 from nextcloud/Rello-patch-1
'overview:hidden' cutting navigation menu
2022-09-16 10:50:54 +02:00
nextcloud-command fa6c514ee8 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-16 07:59:21 +00:00
Valdnet bd402efe73 l10n: Remove spaces
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-16 09:33:53 +02:00
Valdnet 6bdc1f8631 l10n: Correct error messages
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-16 09:22:01 +02:00
Valdnet 77472db054 l10n: Correct error messages
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-16 09:18:24 +02:00
Joas Schilling 9eade34385 Automate CA certificate bundle update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-16 09:13:45 +02:00
John Molakvoæ 6bd6f92850 Merge pull request #34091 from nextcloud/feature/noid/update-ca-cert
Update CA cert bundle
2022-09-16 08:43:47 +02:00
Vincent Petry 8b6f5a41c8 Merge pull request #34100 from nextcloud/fix/reset-global-search
Reset global search on files sidebar navigation change
2022-09-16 08:32:30 +02:00
Joas Schilling 9c402eb745 Add since tags
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-16 08:23:04 +02:00
nextcloud-command 844f722c43 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-09-16 04:45:10 +00:00
Nextcloud bot 88b66442a2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-16 02:26:19 +00:00
Pytal 38569444d2 Merge pull request #33512 from nextcloud/enh/27869/details
Remake group and quota details section with Vue
2022-09-15 16:37:38 -07:00
Pytal fcd45c1b63 Merge pull request #34101 from nextcloud/fix/dashboard-controller-typo
Fix initial state typo in dashboard controller
2022-09-15 16:36:41 -07:00
Christopher Ng 8a15c629e2 Fix translation of user exists error server-side
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 22:56:18 +00:00
Vincent Petry b9cd65291a Merge pull request #34098 from nextcloud/fix/test/updatenotifications
Fix test update notification
2022-09-15 22:53:23 +02:00
Vincent Petry d39f047af2 Merge pull request #34072 from nextcloud/enh/noid/default-enabled-2
set defaultEnabled in shipped.json
2022-09-15 22:03:12 +02:00
Vincent Petry 0023a1066b Merge pull request #33718 from nextcloud/seekable-http-fseek-end
fix using FSEEK_END with SeekableHttpStream to get file size
2022-09-15 22:02:24 +02:00
Christopher Ng 8eb46c995e Remake group and quota details section with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 19:09:13 +00:00
Christopher Ng b1856d0fc9 Fix initial state typo in dashboard controller
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 19:02:23 +00:00
Christopher Ng a7c7d84f59 Reset global search on files sidebar navigation change
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 18:55:00 +00:00
nextcloud-command bcddb6fb94 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-15 16:59:51 +00:00
Julien Veyssier da74da8a9c adjust empty array check
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:24:43 +02:00
Carl Schwan 954f4940cf Fix test update notification
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-15 18:18:30 +02:00
Robin Appelman 9ba26ee326 set round item icons for user status widget
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:06:22 +02:00
Julien Veyssier 500ba958f3 implement IButtonWidget and IIconWidget in user_status
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:06:21 +02:00
Julien Veyssier 8e2e3b4a9f implement IAPIWidget in user_status
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:06:21 +02:00
Robin Appelman d9e75f00b1 move widget options into a Option class
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:06:21 +02:00
Julien Veyssier 845149bb7c add IItemOptionWidget to define some item-related parameters, only getItemIconsRound() for now
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:06:21 +02:00
Robin Appelman a3912e264a change widget button api to support multiple button types
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman 79adca6b8b allow adding button to dashboard api output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman 7f52a99ffb allow filtering dashboard items api by widgets
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman 0e5944748d add dashboard api to list widgets
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Vincent Petry ca747b91d4 Merge pull request #34048 from nextcloud/feat/add-nodeFilter-to-user_migration
Add a nodeFilter parameter for IExportDestination::copyFolder
2022-09-15 17:26:02 +02:00
Robin Appelman d8961ed10f fix using FSEEK_END with SeekableHttpStream to get file size
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 17:23:16 +02:00
Vincent Petry 1998ac7b06 Increase timeout for apps management
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-15 17:11:14 +02:00
Daniel Kesselberg 3a591802fe Compile core-systemtags.js and systemtags-systemtags.js
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 17:10:02 +02:00
Daniel Kesselberg 700875d90d Rewrite OC.SystemTags.getDescriptiveTag to vanilla js
For every tag a deprecation warning is emitted.
With 10k tags the ui becomes unresponsive and inspector crashed occasionally.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 17:08:04 +02:00
Rello 5b421e6de2 overview:hidden cutting menu
'overview: hidden' is cutting the app-navigation-entry-menu.
see https://user-images.githubusercontent.com/13385119/190428421-b6f08498-779e-4ee7-9518-7c6a68e890e4.png

Signed-off-by: Rello <Rello@users.noreply.github.com>
2022-09-15 17:03:03 +02:00
Carl Schwan 02d55eb90f Merge pull request #33941 from nextcloud/fix/public-sharing
Only normalize data in public shares and not crud
2022-09-15 16:43:01 +02:00
Nextcloud Bot 99d00c5fdf 25.0.0 beta 7
Signed-off-by: Nextcloud Bot <bot@nextcloud.com>
2022-09-15 13:56:12 +00:00
Joas Schilling 6eff84ffbe Update CA cert bundle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 15:28:40 +02:00
Côme Chilliet 1013c3bf66 Merge pull request #34009 from andrey-utkin/safe-config-update
Make config file saving safe against write failures
2022-09-15 15:00:40 +02:00
Vincent Petry c0c31bdc45 Merge pull request #33947 from nextcloud/updatenotificaiton-cleanup
Cleanup updatenotification
2022-09-15 14:12:00 +02:00
Vincent Petry ec75b7c571 Merge pull request #33964 from nextcloud/search-limit-operators
add a limit to the amount of operators a client can add to a search query
2022-09-15 14:07:40 +02:00
Vincent Petry 54ea4830e3 Merge pull request #34060 from andyxheli/patch-5
Fixed LDAP Copy Button Size
2022-09-15 14:05:10 +02:00
Vincent Petry 4f244e95aa Merge pull request #34065 from nextcloud/bug/noid/main-scrollbar
Fix scrollbar apperance
2022-09-15 14:04:34 +02:00
Vincent Petry cd21caf846 Merge pull request #34067 from nextcloud/timm2k-patch-1
Convert file_metadata.id from int(11) to bigint(20)
2022-09-15 14:03:30 +02:00
Maxence Lange b9ccc60837 fix phpdoc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-09-15 10:54:36 -01:00
Maxence Lange 381eb046b5 Merge pull request #33793 from nextcloud/fix/noid/rtrim-cloud-id
rtrim cloudId url earlier
2022-09-15 10:46:39 -01:00
Vincent Petry ee183efd46 Merge pull request #34035 from nextcloud/fix/do-not-log-warning-on-404
Do not output a warning when a file is not found
2022-09-15 13:42:35 +02:00
Joas Schilling c41982e108 Merge pull request #34081 from nextcloud/bugfix/noid/add-global-shortcuts-setting
Add global setting to disable keyboad shortcuts
2022-09-15 13:09:11 +02:00
Daniel Kesselberg 1bfac6d094 Improve loading for tags
When opening the tag select and type something the tags are loaded.

If you continue to type but the tags are not finally loaded yet (the first xhr request is still running)
another xhr request is triggered. This happens for every keystroke.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 12:01:28 +02:00
Daniel Kesselberg e1d9b0bae2 Add minimumInputLength for tags select
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 12:01:28 +02:00
Joas Schilling df57b51c8b Fix psalm parameter type
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 11:28:40 +02:00
Joas Schilling 5267ea2624 Add an OCP method to check the shortcut state and use it for global search and menu control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 11:20:08 +02:00
Maxence Lange 0efd6d9950 set defaultEnabled in shipped.json
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-09-15 08:15:33 -01:00
Joas Schilling 7672152579 Add a global setting to disable keyboard shortcuts
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 10:52:55 +02:00
Vincent Petry 4c1f06170e Merge pull request #34084 from nextcloud/bundling-adjustments-25
Adjust recommended apps page
2022-09-15 10:22:47 +02:00
Carl Schwan 7bd83d9dcf Cleanup updatenotification
- Port away from jquery inside vue
- Use modern vue components when possible
- Fix some readability isssues particularly on dark theme
- Use IInitialState
- Use php7.4

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-15 07:46:24 +00:00
dartcafe 63d51569fe server.scss 2022-09-15 08:25:10 +02:00
dartcafe f1881f278d Merge branch 'bug/noid/main-scrollbar' of https://github.com/nextcloud/server into pr-34065/nextcloud/bug/noid/main-scrollbar 2022-09-15 08:24:10 +02:00
dartcafe 2fc1f4b954 scss and compile
Signed-off-by: dartcafe <github@dartcafe.de>
2022-09-15 08:16:44 +02:00
René Gieling 93d3ca32a1 Fix scrollbar apperance
fix #34064

Signed-off-by: René Gieling <github@dartcafe.de>
Signed-off-by: dartcafe <github@dartcafe.de>
2022-09-15 08:16:43 +02:00
dartcafe f1d35a1e2e scss and compile 2022-09-15 08:12:59 +02:00
timm2k 14d3b6f021 Update Version24000Date20220404230027.php
Signed-off-by: timm2k <timm2k@gmx.de>
2022-09-15 07:58:32 +02:00
Nextcloud bot fde8c081d8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-15 02:31:48 +00:00
Simon L 009d5e93f7 Merge pull request #33733 from nextcloud/change/appearance-accessibility-settings
Move background settings from dashboard app to Appearance and accessibility settings
2022-09-15 00:36:51 +02:00
greta 02cc42d40a Move background settings from dashboard app to Appearance and accessibility settings
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-14 20:17:01 +00:00
Pytal bd03c79785 Merge pull request #34044 from nextcloud/fix/password-confirmation 2022-09-14 12:54:21 -07:00
Vincent Petry af35ea308b Merge pull request #34071 from nextcloud/bug/33847/fix-grid-view-toggle
Fix grid view toggle
2022-09-14 20:20:50 +02:00
Christopher Ng 26535e4856 Fix unresponsive legacy password confirmation dialog with new dialog in Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-14 17:23:22 +00:00
Vincent Petry 71eab82117 Adjust recommended apps page
Removed collabora code.
Added description for richdocuments as the name will be "Nextcloud
Office" pulled from the app store.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14 18:28:19 +02:00
Simon L 204a700f85 Merge pull request #34076 from nextcloud/enh/34070/header-appereance
fix header menu appereance
2022-09-14 17:33:31 +02:00
Simon L 0550e5e9a0 Merge pull request #34069 from nextcloud/enh/33736/add-accessibility-in-user-menu
Add accessibility entry in user menu
2022-09-14 16:17:45 +02:00
nextcloud-command 4ae7704699 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-14 13:12:01 +00:00
Vincent Petry da01494a37 Add accessibility entry in user menu
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14 15:05:35 +02:00
szaimen 3ba89f43ff fix header menu appereance
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-14 14:56:05 +02:00
Vincent Petry d939be4a43 Fix grid view toggle
Move grid view logic to the files app itself because the button does not
belong to any specific file list.

Then inject the grid view state when switching file lists.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-14 12:52:01 +00:00
Robin Appelman 1fbb951691 dont try email login if the provider username is not a valid email
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-14 14:04:13 +02:00
Carl Schwan 7ea015f0d1 Merge pull request #34042 from nextcloud/profile/section-plugin
Add api to load additional section in profile page
2022-09-14 13:35:31 +02:00
Simon L 979652430d Merge pull request #34068 from nextcloud/fix/only-apply-margin-to-audio
fix: also apply top margin to audio in firefox
2022-09-14 12:59:35 +02:00
Carl Schwan 66a7a89898 Add api to load additional section in profile page
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:55:40 +02:00
Max d914b21876 fix: also apply top margin to audio in firefox
Based on https://github.com/nextcloud/viewer/pull/1371 .
If we are displaying an audio file in a single page share
provide enough margin to display the speed settings.

Signed-off-by: Max <max@nextcloud.com>
2022-09-14 11:11:43 +02:00
Vincent Petry 77680ac089 Merge pull request #34062 from nextcloud/enh/sharing-tab-alignment-and-spacing
Align sharing tab content and increase spacing
2022-09-14 10:46:49 +02:00
Vincent Petry eff8919386 Merge pull request #34066 from nextcloud/its-nextcloud-hub-3
Show Nextcloud Hub 3 in overview page when applicable
2022-09-14 10:29:08 +02:00
Vincent Petry c7ecb2e940 Merge pull request #34063 from nextcloud/nickvergessen-patch-1
Related resources will be shipped with NC25+
2022-09-14 10:19:31 +02:00
timm2k 6ff58d30b4 Update ConvertFilecacheBigInt.php
Signed-off-by: timm2k <timm2k@gmx.de>
2022-09-14 10:15:16 +02:00
timm2k 0c407b58db Update CheckSetupController.php
file_metadata.id needs to be bigint(20).

Signed-off-by: timm2k <timm2k@gmx.de>
2022-09-14 10:10:12 +02:00
Vincent Petry 547253e451 Show Nextcloud Hub 3 in overview page when applicable
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14 08:55:06 +02:00
René Gieling 571a85ab8c Fix scrollbar apperance
fix #34064 

Signed-off-by: René Gieling <github@dartcafe.de>
2022-09-14 08:20:30 +02:00
Joas Schilling ea4e072c7f Related resources will be shipped with NC25+
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-09-14 06:50:42 +02:00
Nextcloud bot a09077cd17 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-14 02:26:49 +00:00
Christopher Ng 5d083d0b46 Align sharing tab content and increase spacing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-14 01:55:20 +00:00
Simon L cfcda15df8 Merge pull request #34055 from nextcloud/enh/noid/public-audio-style
fix public audio style
2022-09-13 20:53:33 +02:00
Andy Xheli f5d40c9ae5 Updated LDAP Copy Button
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-09-13 13:21:45 -05:00
Simon L 4baa09d56b Merge pull request #34057 from nextcloud/bugfix/noid/fix-2fa-providers-dark-mode
Fix twofactor provider icons in dark mode
2022-09-13 20:04:00 +02:00
nextcloud-command d40b5f5afb Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-13 16:34:05 +00:00
szaimen 53a71e428c fix public audio style
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-13 18:18:41 +02:00
Joas Schilling 7d6d65600e Fix twofactor provider icons in dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-13 17:50:25 +02:00
Simon L b739dd5807 Merge pull request #34028 from nextcloud/enh/33803/public-view
fix public view
2022-09-13 16:08:05 +02:00
Simon L 7e6dffd38c Merge pull request #34051 from nextcloud/fix/34027/play-audio
fix: play single audio shares with the viewer
2022-09-13 15:41:13 +02:00
nextcloud-command 335964dc15 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-13 13:19:54 +00:00
szaimen 10ad6e17f7 fix public view
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-13 15:00:25 +02:00
Max d8ff71292f fix: play single audio shares with the viewer
Signed-off-by: Max <max@nextcloud.com>
2022-09-13 14:53:51 +02:00
Carl Schwan ef31396727 Mark method as deprecated
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-13 13:06:54 +02:00
blizzz 91040283b1 Merge pull request #34045 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-09-13 12:54:03 +02:00
Côme Chilliet 441ac433b1 Add a nodeFilter parameter for IExportDestination::copyFolder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-13 12:10:28 +02:00
Vincent Petry dacd18158d Merge pull request #34043 from nextcloud/enh/sharing-tab-additional-content-spacing
Increase spacing between additional sharing tab content sections
2022-09-13 10:30:40 +02:00
Simon L 9be1d5bf14 Merge pull request #34030 from nextcloud/enh/33835/button
fix strange-looking button
2022-09-13 10:15:57 +02:00
Côme Chilliet f0df9ddf85 Switch repo to Nextcloud org, and bump version to 1.5.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-13 09:11:33 +02:00
nextcloud-command fc88d73583 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-09-13 04:42:03 +00:00
Nextcloud bot fc7cc49461 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-13 02:27:19 +00:00
Christopher Ng ccc8316de0 Increase spacing between additional sharing tab content
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-13 01:58:27 +00:00
Simon L 0846a3f6fe Merge pull request #34039 from nextcloud/enh/34037/heading-login-form
add a heading to the login form
2022-09-12 21:41:45 +02:00
Simon L 36ada4f6ea Merge pull request #34031 from nextcloud/enh/33866/ldap-ui-buttons
fix ldap ui buttons
2022-09-12 20:00:56 +02:00
Carl Schwan 52dbfcf74c Merge pull request #34026 from nextcloud/port-profile-section-checkbox
Port Profile section checbox to NcCheckoxRadioSwitch component
2022-09-12 19:43:48 +02:00
nextcloud-command 249fc11500 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-12 17:18:39 +00:00
szaimen cf7f6daa88 add a heading to the login form
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 19:02:48 +02:00
blizzz a1fcee0c99 Merge pull request #34001 from nextcloud/versions-create-user
use filesystem user instead of file owner for creating version
2022-09-12 18:37:02 +02:00
nextcloud-command 203d783c17 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-12 16:07:31 +00:00
nextcloud-command ca8fe03ce6 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-12 15:33:26 +00:00
szaimen 7b66d5ddf7 fix strange-looking button
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 16:09:58 +02:00
Côme Chilliet b5ccece5a9 Do not output a warning when a file is not found
This would spam log with warnings from Desktop client doing HEAD on
 non-existing path to test them.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-12 16:04:02 +02:00
Vincent Petry b9eef6f2ff Merge pull request #33992 from nextcloud/setting-menu-fix-height
Fix setting menu height
2022-09-12 15:40:59 +02:00
Carl Schwan 3fcb05e900 Port Profile section checbox to NcCheckoxRadioSwitch component
Improve accessibility and unify the design

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 15:38:20 +02:00
szaimen 1a0625ead2 fix ldap ui buttons
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 15:19:39 +02:00
Vincent Petry 52d962bd53 Merge pull request #34018 from nextcloud/use-primary-button-updater
Use primary button in updater
2022-09-12 15:15:51 +02:00
Vincent Petry 4e5430c81c Merge pull request #34019 from nextcloud/fix/quota-type
Fix quota type to int
2022-09-12 15:15:31 +02:00
Vincent Petry c22d44b82e Merge pull request #34022 from nextcloud/fix/dark-avatar-user-list
Fix avatar icons in user list when using dark theme
2022-09-12 15:14:38 +02:00
Vincent Petry e85ca5c7e4 Merge pull request #34023 from nextcloud/remove-transparent-top-files
Remove transparent top
2022-09-12 15:13:45 +02:00
Vincent Petry e173e809a9 Merge pull request #34024 from nextcloud/make-profile-page-scrollable
Make profile page scrollable again
2022-09-12 15:13:23 +02:00
Carl Schwan bc142f41ad Merge pull request #33993 from nextcloud/remove-scrollbar-default-dashbord
Improve dashboard default scrollbar behavior
2022-09-12 12:32:58 +02:00
Carl Schwan 2453a8a72a Make profile page scrollable again
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 10:29:00 +02:00
Carl Schwan 79b2dcb897 Remove transparent top
Replace 3px of absolute positioning with top padding.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 10:04:23 +02:00
Carl Schwan 82139cc1e3 Fix avatar icons in user list when using dark theme
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 09:52:36 +02:00
Côme Chilliet 1f7e769ed6 Merge pull request #33921 from nextcloud/fix/fix-config-file-emptied
Do not empty config.php file if reading failed for any reason
2022-09-12 09:43:33 +02:00
Git'Fellow 5300f0d693 Switch logical operators (and|or)
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-09-12 09:35:12 +02:00
Carl Schwan d61efdff6c Fix quota type to int
Change the quota to int from float, since the quota is a number of bits
and a bits can not be splitted.

Fix #34010

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 09:26:04 +02:00
Carl Schwan e0a8669a25 Use primary button in updater
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 09:16:09 +02:00
Nextcloud bot 1a6d7dc12f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-11 02:31:10 +00:00
Nextcloud bot a42976f3db [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-10 02:30:26 +00:00
Andriy Utkin 807c53b2ab Make config file saving safe against write failures
In case of disk space depletion, writing a new version of config fails,
leaving the config file empty.

This patch improves safety of updates to config.php by saving the new
version of the config into a randomly-named temporary file in the same
directory, and then renaming it to config.php, which renaming is atomic
in POSIX-compliant filesystems and shouldn't involve disk space
allocation. If writing the new config version is impossible, the current
config remains unchanged.

This patch drops the use of file locking as unnecessary. File locking
merely established order in which the concurrent independent processes
attempted file writing. In the end, the process which was last to update
the file "wins" - their changes persist and the changes of previous
writers are dropped as there's no conflict detection or change merging
mechanism anyway. With the current change, there is still some resulting
ordering, and the last writer still wins in the same way. Readers don't
need file locking as well, as opening config.php for reading always
provides a certain consistent version of the file.

Signed-off-by: Andriy Utkin <dev@autkin.net>
2022-09-09 21:46:12 +01:00
blizzz ef9736160b Merge pull request #34002 from nextcloud/release/25.0.0_beta_6
25.0.0 beta 6
2022-09-09 16:59:07 +02:00
Andy Scherzinger ae1ffee2d3 Merge pull request #34000 from nextcloud/change-default-login-background
Change default login background to cloud image
2022-09-09 16:56:10 +02:00
Vincent Van Houtte c323022d06 Add ldap-unix-socket support - squashed commits to files Connection.php, Configuration.php, Wizard.php, LDAP.php and view.js
Signed-off-by: Vincent Van Houtte <vvh@aplusv.be>
2022-09-09 16:53:05 +02:00
Carl Schwan 91042226c6 Change default login background to cloud image
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 16:23:54 +02:00
Arthur Schiwon 6bedf4d314 25.0.0 beta 6
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-09 16:23:38 +02:00
Robin Appelman 9587a4a548 use filesystem user instead of file owner for creating version
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-09 16:22:40 +02:00
Carl Schwan 71d0ea84c3 Merge pull request #33998 from nextcloud/update-nc-7-beta2
Bump nc vue to beta2
2022-09-09 16:02:28 +02:00
Carl Schwan 3431e63c12 Bump nc vue to beta2
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 15:17:03 +02:00
Carl Schwan 4a82396be8 Merge pull request #33752 from nextcloud/avatar-new-style
Avatar new style
2022-09-09 15:01:35 +02:00
Carl Schwan bc9a488046 Update avatars on update
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 14:23:41 +02:00
Carl Schwan f3ec1d3a9f Fix user status in the top bar with dark theme
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 13:37:52 +02:00
Carl Schwan 76d0165330 Dark theme for guest avatar
And better caching policy

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 13:37:51 +02:00
Carl Schwan f98ae2b5b0 Avatar new style
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 13:37:51 +02:00
Carl Schwan b155adbb51 Fix setting menu height
- Increase max height to match page height
- Move settings 8px from the right instead of 5px to match other top
  menus
- Handle overflow of the content correctly

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 13:36:19 +02:00
blizzz 76f42e121b Merge pull request #33958 from nextcloud/enh/33860/fix-versions-visibility
fix versions icons
2022-09-09 13:25:11 +02:00
Simon L 99c85311ab Merge pull request #33956 from nextcloud/enh/33857/fix-files_external-settings
fix files_external settings
2022-09-09 12:44:17 +02:00
Simon L fec5bcc426 Merge pull request #33957 from nextcloud/enh/33855/overlapping-toggle
fix overlapping of elements in certain views
2022-09-09 12:43:48 +02:00
szaimen 0e57fb54e5 fix versions icons
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-09 09:02:12 +00:00
szaimen 7801550d33 fix files_external settings
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-09 08:44:08 +00:00
szaimen 0341a371ac fix overlapping of elements in certain views
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-09 08:38:40 +00:00
Carl Schwan c5ab8fa361 Improve dashboard default scrollbar behavior
- Decrease spacing so that scrollbar doesn't appear on laptop screen
  when having one row of panel
- Move scrollbar to content so that on chromium the scrollbar is not so
  ugly

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 10:07:53 +02:00
Simon L aa53dedb36 Merge pull request #33954 from nextcloud/enh/33868/dashboard-scrollbar
dashboard should not have a scrollbar by default
2022-09-09 08:50:51 +02:00
Carl Schwan 0148ec3828 Merge pull request #33967 from nextcloud/fix/contactsmenu-design
Fix contactsmenu design
2022-09-09 08:44:04 +02:00
Carl Schwan 984d5ee7cb Merge pull request #33974 from nextcloud/fix/search-menu
Fix UnifiedSearch
2022-09-09 08:43:09 +02:00
Nextcloud bot f8796b86d1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-09 02:26:29 +00:00
Carl Schwan 9900a028be Merge pull request #33942 from nextcloud/background-job-notecart
Use NoteCard component in BackgroundJob settings
2022-09-08 19:30:42 +02:00
Simon L 70c3bf1667 Merge pull request #33948 from nextcloud/enh/33801/fix-input-filename
fix filename input
2022-09-08 19:07:14 +02:00
Simon L 7ef6cfc988 Merge pull request #33962 from nextcloud/enh/33864/fix-2FA-icons
fix 2FA icons
2022-09-08 19:06:03 +02:00
Carl Schwan af30e7ff5b Port css to scss
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 18:24:38 +02:00
Jan C. Borchardt 43616a7b1f Remove separation borders from contacts menu entries
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2022-09-08 18:24:29 +02:00
Jan C. Borchardt b0392f4a5c Contacts menu height adjustment so it shows 4.5 entries
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2022-09-08 18:24:29 +02:00
Jan C. Borchardt 1ade91a551 Contacts menu mail addresses in maxcontrast
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2022-09-08 18:24:28 +02:00
Carl Schwan 9e045447f7 Fix UnifiedSearch
- Fix too big margins
- Fix horizontal scrolbar (caused by margin in text field)
- Add some spacing between the items (4px)
- Center items (I love flex)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 18:07:09 +02:00
Anna Larch 911b7f09eb Add pre-commit hook for cs-fix
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-09-08 16:57:00 +02:00
Carl Schwan eac54c4660 Merge pull request #33788 from nextcloud/improve-recent
Improve getting recent files performance
2022-09-08 16:19:41 +02:00
szaimen f0f8a22b23 fix filename input
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-08 14:07:22 +00:00
szaimen 055a62857f fix 2FA icons
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-08 14:05:49 +00:00
Simon L 92258567d4 Merge pull request #33959 from nextcloud/enh/33909/filmenu-carrot
fix the new filemenu carrot
2022-09-08 15:09:41 +02:00
Carl Schwan 7ded5a769b Only normalize data in public shares and not crud
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 14:51:28 +02:00
Carl Schwan 0b77607362 Use NoteCard component in BackgroundJob settings
Fix #33880

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 14:13:42 +02:00
Carl Schwan 58706dd5aa Merge pull request #33937 from nextcloud/fix/menuitem-radius
Fix menuitem border radius
2022-09-08 14:02:37 +02:00
Carl Schwan 6404e5b4ae Merge pull request #33939 from nextcloud/fix/apps-list-redesign
Fix apps list issues caused by redesign
2022-09-08 14:01:57 +02:00
blizzz e7e2dcbfb1 Merge pull request #33913 from nextcloud/release/25.0.0_beta_5
25.0.0 beta 5
2022-09-08 13:46:54 +02:00
Robin Appelman 3236a8e2af add test for search operator limit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-08 13:32:05 +02:00
Robin Appelman 3df872b9a1 add a limit to the amount of operators a client can add to a search query
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-08 13:32:01 +02:00
blizzz c77cc80fcc Merge pull request #33906 from nextcloud/fix/fix-calendar-tests-getTimestamp
Fix Calendar tests mocking a non-existant method.
2022-09-08 12:42:03 +02:00
szaimen 911290607d fix the new filemenu carrot
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-08 11:53:10 +02:00
Carl Schwan 5555500e98 Merge pull request #33953 from VincentWoglo/read-me-documentation
Fixed grammar and typos
2022-09-08 11:22:25 +02:00
Carl Schwan 3fa59ba412 Fix apps list issues caused by redesign
- Make icons work on dark theme
- Use new buttons
- Fix some eslint warnings

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 10:49:17 +02:00
Carl Schwan ebd96490a5 Fix menuitem border radius
Fix #33909

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 10:25:20 +02:00
Simon L 2a2cb01696 Merge pull request #33952 from nextcloud/enh/33850/scrollbar-visibility
fix scrollbar visiblity
2022-09-08 10:18:58 +02:00
Carl Schwan b9a50388e4 Merge pull request #33946 from nextcloud/fix/dark-theme-browser
Remove non existing lighter colour
2022-09-08 10:13:18 +02:00
szaimen 079d444f53 dashboard should not have a scrollbar by default
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-08 07:54:22 +00:00
Nextcloud bot 107aeb36e5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-08 02:26:07 +00:00
Vincent Woglo e093ed5629 Fixed grammar and typos 2022-09-07 19:31:49 -06:00
Anna Larch e3a52ce13e Fix iMIP tests
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-09-08 02:26:46 +02:00
Anna Larch f7d73b0fc1 Fix various errors in iMIP logic
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-09-08 02:26:10 +02:00
szaimen 4636524b7e fix scrollbar visiblity
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-07 23:21:35 +02:00
Simon L 9e0a524a20 Merge pull request #33938 from nextcloud/enh/33846/fix-upload-bar
fix upload bar
2022-09-07 21:44:37 +02:00
blizzz 417f46e467 Merge pull request #33600 from nextcloud/lazy-quota
get quota for user only when needed
2022-09-07 18:10:33 +02:00
greta 7e5d973e7e Remove non existing lighter colour
Signed-off-by: greta <gretadoci@gmail.com>
2022-09-07 16:01:41 +02:00
szaimen da806cf552 fix upload bar
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-07 11:16:25 +00:00
Simon L 54f36610dd Merge pull request #33902 from nextcloud/enh/33807/fix-icon-alignment
fix top-alignment of icons
2022-09-07 08:15:44 +02:00
Nextcloud bot 2d709e45c0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-07 02:25:42 +00:00
szaimen 4389e6903f fix top-alignment of icons
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-06 23:38:31 +00:00
Simon L 72e96c6eba Merge pull request #33903 from nextcloud/enh/33834/fix-dark-contrast-theme
fix dark-contrast-theme
2022-09-07 00:28:06 +02:00
blizzz 72aa4f51d7 Merge pull request #33804 from nextcloud/version-store-user
always use the default fs owner when storing versions
2022-09-06 22:29:59 +02:00
szaimen d9b463c20a fix dark-contrast-theme
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-06 18:03:35 +00:00
Simon L 2a59d48d0c Merge pull request #33900 from nextcloud/enh/33802/improve-appsettings-design
improve app settings design
2022-09-06 19:59:24 +02:00
szaimen 6579b6c3c8 improve app settings design
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-06 17:27:32 +00:00
Côme Chilliet c2dafb0997 Do not empty config.php file if reading failed for any reason
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-06 17:37:34 +02:00
Louis 1f967175f3 Merge pull request #33813 from nextcloud/fix/infinite_email_change_notification
Compare lowercase email when updating from ldap
2022-09-06 17:10:08 +02:00
Robin Appelman 7be5788995 always use the default fs owner when storing versions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-06 16:59:48 +02:00
Carl Schwan ff49fa4415 Merge pull request #29881 from nextcloud/fix/setting/accessibility-title
Improve accessibility of the title of the settings
2022-09-06 16:56:14 +02:00
Carl Schwan 36b2d3dc2a Merge pull request #33781 from nextcloud/port/login-form/vue-password-components
Use new vue components in login form
2022-09-06 16:54:33 +02:00
Carl Schwan 43d1aa38df More cleaning up of the login component
- Move css in scopped vue components
- Port to NcNoteCard all the warning messages

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-06 15:20:29 +02:00
Louis Chemineau 6c11944679 I dug into it again, and the issue is much simpler than I previously though.
- LDAP has an email address with capital letters
- NC store this address in lower case
- When the user logs in, we compare the [stored email with the new lower case email](https://github.com/nextcloud/server/blob/master/lib/private/AllConfig.php#L259-L261) before storing it. Here, both email will be the same, so we won't store the new email address with upper case letters. Which is what we want.
- We then [compare emails as they are before triggering an event](https://github.com/nextcloud/server/blob/master/lib/private/User/User.php#L202-L204), they won't match, so the user will receive an email signaling an email change every time he logs in.

The fix is to compare the old email with the new lower case email before sending the event.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-09-06 13:18:07 +00:00
Simon L 5104ee9dd4 Merge pull request #33904 from nextcloud/enh/33833/box-shadow
fix background shadow in high-contrast-mode
2022-09-06 12:58:28 +02:00
blizzz f44797261a Merge pull request #33905 from nextcloud/fix/fix-dynamic-property-in-files_version-test
Fix dynamic property warning in files_version tests
2022-09-06 11:32:14 +02:00
Carl Schwan 2c08e6f080 Merge pull request #33910 from nextcloud/update-header-menu-style
Update header menu style
2022-09-06 11:19:04 +02:00
Arthur Schiwon 7f04fbe4f5 25.0.0 beta 5
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-06 10:28:59 +02:00
Carl Schwan ba99f1ca0f Merge pull request #33895 from nextcloud/fix/fix-apps-typos
Fix typos in apps/ subdirectory
2022-09-06 10:28:26 +02:00
Carl Schwan daad19828c Update header menu style
Make it consistent with nextcloud-vue

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-06 10:15:08 +02:00
Côme Chilliet 98c525a91a Fix trying to use MockBuilder instead of Mock
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-06 09:05:36 +02:00
Nextcloud bot 405edfa90c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-06 02:25:04 +00:00
Côme Chilliet 0b37d89893 Fix Calendar tests mocking a non-existant method.
There is no ITimeFactory::getTimestamp method, only getTime

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-05 18:09:49 +02:00
Côme Chilliet f875642998 Fix dynamic property warning in files_version tests
The code had no effect as $storage is not an instance of SharedStorage,
 the call to setValue failed with a warning.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-05 17:53:41 +02:00
szaimen 7dd7d4d63d fix background shadow
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-05 17:47:07 +02:00
blizzz 15c45b5ef5 Merge pull request #33899 from nextcloud/fix/bump-phpseclib/phpseclib-to-2.0.38
Bump phpseclib/phpseclib to 2.0.38
2022-09-05 17:32:28 +02:00
Daniel 8de2c4213f Merge pull request #33889 from nextcloud/debt/noid/docblock-cache-for
Update docblock for cacheFor
2022-09-05 17:21:26 +02:00
Côme Chilliet 6d222aedb6 Bump phpseclib/phpseclib to 2.0.38
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-05 16:01:24 +02:00
Côme Chilliet f29b2a281f Bump phpseclib/phpseclib to 2.0.38
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-05 15:02:27 +02:00
luz paz 9d26671f05 Fix typos in apps/ subdirectory
Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/`

Signed-off-by: luz paz <luzpaz@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-05 12:59:54 +00:00
Carl Schwan 67551f379f Filter out old files when trying to get recent files
Only do so when asking for less than 100 files and having an offset
equal to 0.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-05 12:53:32 +02:00
Carl Schwan df40fc9172 Use new vue components in login form
- Improve accessibility
- Simply code

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-05 11:34:00 +02:00
Nextcloud bot f496e471e0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-05 02:24:50 +00:00
Nextcloud bot eca05ff456 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-04 02:24:18 +00:00
Daniel c55ae98a3f Add description for public and immutable
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Daniel <mail@danielkesselberg.de>
2022-09-03 15:58:18 +02:00
Daniel Kesselberg 855ef21883 Update docblock for cacheFor
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-03 15:28:23 +02:00
Nextcloud bot 532c7545bd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-03 02:30:29 +00:00
dependabot[bot] 9989de7c7d Bump guzzlehttp/guzzle from 7.4.5 to 7.5.0 in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.4.5 to 7.5.0.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.5...7.5.0)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-03 01:04:06 +00:00
blizzz f0b12b450f Merge pull request #33863 from nextcloud/hash-wrapper-catch-errors
handle errors from hash_final
2022-09-02 22:51:39 +02:00
blizzz 16e696c9e8 Merge pull request #33692 from nextcloud/update-dir
Document and use the new updateDirectory if set
2022-09-02 22:19:50 +02:00
Simon L 6132b6a4ae Merge pull request #33790 from nextcloud/Valdnet-patch-2
l10n: Spelling unification
2022-09-02 17:01:52 +02:00
John Molakvoæ 579497e999 Merge pull request #33827 from nextcloud/bugfix/guest-scroll 2022-09-02 16:30:28 +02:00
John Molakvoæ dbcac3943f Merge pull request #33814 from nextcloud/fix-sidebar 2022-09-02 16:23:55 +02:00
szaimen b31c92e6f5 fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-02 16:07:13 +02:00
Valdnet d9399e1246 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>

l10n: Change to administration

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>

l10n: Spelling unification

Spelling unification in Transifex.
Match the menu name to the header name of the settings page.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-02 12:42:07 +02:00
Robin Appelman 9f5f970957 handle errors from hash_final
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-02 12:27:13 +02:00
Vincent Petry b1be4346cd Merge pull request #33826 from nextcloud/enh/a11y-unified-search
Accessibility and design improvements to unified search
2022-09-02 12:22:46 +02:00
Carl Schwan 2397ea7219 Merge branch 'master' into fix/setting/accessibility-title
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-02 12:05:51 +02:00
John Molakvoæ d3e417efbf Fix sidebar toggle
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-02 09:58:05 +00:00
blizzz 30be6ad605 Merge pull request #33762 from nextcloud/release/25.0.0_beta_4
25.0.0 beta 4
2022-09-02 10:42:20 +02:00
Julius Härtl c7e56d944c Merge pull request #33818 from nextcloud/enh/reference-event
Add event to load scripts for reference rendering
2022-09-02 09:06:23 +02:00
Julius Härtl e514ad6b66 Bring back scrolling to guest body
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-02 08:34:51 +02:00
Pytal 8d2532cce0 Merge pull request #33409 from nextcloud/enh/27869/avatar 2022-09-01 21:01:13 -07:00
Nextcloud bot 99a22078b3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-02 02:24:47 +00:00
Christopher Ng f44d2586b1 Remake profile picture saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 02:22:57 +00:00
Christopher Ng a7016170cf Accessibility improvements to unified search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 01:38:13 +00:00
Pytal f167fe0ceb Merge pull request #33177 from nextcloud/enh/migrate-profile-config 2022-09-01 11:15:32 -07:00
Julius Härtl 2ddc6c3026 Add event to load scripts for reference rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 20:10:53 +02:00
John Molakvoæ 2892707af5 Merge pull request #33681 from nextcloud/fix/picker-fallback-root 2022-09-01 19:35:25 +02:00
Robin Appelman bd91c56539 get quota for user only when needed
always apply the wrapper but have the wrapper get the quota lazily only when an operation where quota is applied is performed

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-01 19:32:24 +02:00
John Molakvoæ 96bbc1a7a1 Fallback to root if the picker folder doesn't exists
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-01 17:13:04 +00:00
Vincent Petry af29b97807 Merge pull request #33396 from Xavierando/#33036-Set-default-expiration-date-(shareapiDefaultExpireDate)
#33036 [Bug]: Set default expiration date
2022-09-01 17:58:46 +02:00
Vincent Petry 199d9e5804 Merge pull request #33332 from nextcloud/fix-handling-of-internal-errors-when-uploading-theming-files
Fix handling of internal errors when uploading theming files
2022-09-01 17:45:37 +02:00
Vincent Petry 1443f2085a Merge pull request #33470 from SpamReceiver/patch-2
Make the description of `trashbin_retention_obligation` more clear
2022-09-01 17:33:06 +02:00
Christopher Ng 98bc98ac98 Add profile config migration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-01 15:27:37 +00:00
Vincent Petry 253c0641b1 Merge pull request #33625 from nextcloud/fix/33572/add-user
Fix creation of new user and display the correct error message
2022-09-01 17:07:13 +02:00
Julius Härtl 12e7f414f7 Merge pull request #33568 from nextcloud/poc/redesign
⚗️ Proof of concept: Redesign app-content
2022-09-01 17:03:50 +02:00
Julius Härtl 00b30898c9 Bump @nextcloud/calendar-availability-vue to 0.5.0-beta.2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:59:35 +02:00
Julius Härtl 5219992e8c Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:42:12 +02:00
Julius Härtl 4ce02c96cc Bump to @nextcloud/vue@7.0.0-beta.0
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:42:00 +02:00
Maxence Lange c37bad1ce4 rtrim url earlier
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-09-01 11:32:14 -01:00
Daniel Calviño Sánchez 92925233ec Maximize browser window before running the tests
By the default the browser window is not maximized, but opened with a
size of 1050x978px. In the Files app, when the navigation bar and the
side bar are both open, with the previous design that width caused the
file name to be very very narrow, but still clickable. However, with the
updated design the file name is too narrow and no longer clickable,
which breaks several acceptance tests that descend into subfolders. To
solve that now the browser window is maximized before running the tests,
which makes the window wide enough (1360px) to show the file name and
make it clickable.

This commit also removes a step to close the sidebar that was recently
added to address the problem mentioned above in a previous pull request.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-09-01 14:15:43 +02:00
Daniel Calviño Sánchez 76b0947022 Wait for the new user form to be visible
Before it was checked if the new user form was visible, but it was not
waited for it. It seems that it can happen that the new user form is in
the DOM, and therefore found, but not visible yet when the tests run,
which caused them to (randomly) fail. Due to that now it is explicitly
waited until it is visible, rather than assuming that it is visible as
soon as it appears in the DOM.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-09-01 14:15:43 +02:00
Julius Härtl 3147585344 Fix fallback css variables
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:43 +02:00
Julius Härtl 6dac33ee56 Adjust theming acceptance tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:43 +02:00
Julius Härtl 6ad600ea8a Fix jsunit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +02:00
Julius Härtl b6a6802857 Some more fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +02:00
Julius Härtl d6bd98d3c5 Bump bundled files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +02:00
Julius Härtl 7cc814093e Fix profile page rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:41 +02:00
Julius Härtl 6bf770e8b9 Fix file list scrolling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:41 +02:00
Julius Härtl 5d375647a5 Fix some styling issues with the new containers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:41 +02:00
Julius Härtl b455b07390 Fix some minor styling issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:41 +02:00
Julius Härtl 5c4ad4efe5 Give header menus a better maximum height for mobile
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:40 +02:00
Julius Härtl 76033a12ce Adjust server popover style
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:40 +02:00
Julius Härtl d5c7a3aff4 Small top border radius on mobile
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:40 +02:00
Julius Härtl ac134f5f47 Restore dashboard layout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:40 +02:00
Julius Härtl 702b0cccd6 Make scroll areas keyboard focussable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:39 +02:00
Julius Härtl ac736b2f82 Do not prevent scaling due to accessibility
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:39 +02:00
Julius Härtl e4113b1779 Adapt layout to new base css variables
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:39 +02:00
Julius Härtl ff219a7cd8 Fix priority of mobile rules for files app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:39 +02:00
Julius Härtl 0a1353f248 Fix indentation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:39 +02:00
Julius Härtl aa847a7fce Drop vue specific styles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:38 +02:00
Julius Härtl 0667890656 Use proper background image variable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:38 +02:00
Julius Härtl e68a58c87b Fix settings scrolling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:38 +02:00
Julius Härtl 68af318355 Temporary vue component styles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:38 +02:00
Julius Härtl 062e7dfd09 Expose full page sidebar state to main app content
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:38 +02:00
Julius Härtl 03b9047e95 More refactoring of app content areas
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:37 +02:00
Carl Schwan 2a4fd29c1a Proof of concept: Redesign app-content
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-01 14:15:36 +02:00
blizzz 2020c15303 Merge pull request #33780 from nextcloud/enh/noid/cloud-id-cli
filter index.php from cloudId
2022-09-01 13:35:50 +02:00
Vincent Petry 3ae439710e Merge pull request #33764 from nextcloud/cloudid-cache
cache cloud id data in CloudIdManager
2022-09-01 13:27:12 +02:00
Vincent Petry 7ea84277f8 Merge pull request #33774 from nextcloud/hash-wrapper-closed-hash
handle cases where the hash context gets cleaned up before the hash wrapper
2022-09-01 13:23:19 +02:00
Julius Härtl affa402d21 Merge pull request #33772 from nextcloud/debug/remember-me-login-token-mispatch-session-unavailable 2022-09-01 08:49:56 +02:00
Nextcloud bot 248f5e9395 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-01 02:37:42 +00:00
blizzz 2600a00c00 Merge pull request #33778 from nextcloud/followup/33770/fix-unit-tests
Fix unit tests
2022-08-31 22:25:16 +02:00
Maxence Lange c4bdc1cfbc filter index.php from cloudId
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-08-31 18:33:09 -01:00
Joas Schilling 67ecd72972 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-31 20:54:39 +02:00
Carl Schwan 9689f734e8 Merge pull request #33429 from nextcloud/port-password-vue
Port password settings to vue
2022-08-31 20:47:25 +02:00
Julius Härtl b3eb0bfe05 Merge pull request #33494 from nextcloud/enh/references
Backend for reference metadata fetching
2022-08-31 20:12:34 +02:00
Simon L 4209dc7d66 Merge pull request #33475 from nextcloud/rakekniven-patch-1
l10n: Changed grammar
2022-08-31 19:34:29 +02:00
Julius Härtl 1ab66988bc Inject all dependnencies and increase cache timeout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 18:02:57 +02:00
Simon L b0f6ca0e0d Merge pull request #33756 from nextcloud/enh/noid/admin-settings-directly
add a way to open the admin settings overview directly
2022-08-31 17:56:11 +02:00
Carl Schwan 60c42914d8 Port password settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-31 17:42:36 +02:00
Julius Härtl 80f6a5834a Refactor cache handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:24:35 +02:00
Julius Härtl a392235e23 Cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:24:33 +02:00
Julius Härtl bee8fd2408 Limit preview file size
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:20:07 +02:00
Julius Härtl 68d0038eb0 Move registration to IBootstrap
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:20:06 +02:00
Julius Härtl eaef5687f9 Add full public interfaces
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:20:06 +02:00
Julius Härtl 0ce0d37ac1 Implement image caching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:20:06 +02:00
Julius Härtl f58218deea Add cache invalidation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:20:06 +02:00
Julius Härtl 31be855522 Implement reference provider based caching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:20:06 +02:00
Julius Härtl 9d9c7f4b75 Make reference fetching configurable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:20:06 +02:00
Julius Härtl de3e541fde API for fetching reference metadata
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:20:05 +02:00
Julius Härtl 650b809a03 Bump 3rdparty to include fusonic/opengraph
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:20:05 +02:00
Julius Härtl b617f3983a Merge pull request #33728 from nextcloud/enh/app-menu-vue
Move app menu to vue
2022-08-31 16:17:03 +02:00
Robin Appelman 1626a56dda adjusts tests for CloudIdManager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-31 15:47:00 +02:00
szaimen 0c90474296 add a better icon for personal settings
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-08-31 15:37:48 +02:00
Carl Schwan a56b7e7ff5 Merge pull request #33771 from nextcloud/fix/eslint-run
Fix eslint run command
2022-08-31 15:11:34 +02:00
Robin Appelman a9575a7029 handle cases where the hash context gets cleaned up before the hash wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-31 15:05:10 +02:00
Vincent Petry 016164e845 Merge pull request #33770 from nextcloud/bugfix/noid/wording-fix-for-push-notifications
Fix wording of undeliverable push notifications
2022-08-31 15:00:33 +02:00
Christoph Wurst 0184fbe86b Log if cookie login failed with token mismatch or session unavailability
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-08-31 14:55:51 +02:00
Julius Härtl ad8fadf157 Fix active app indicator position
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 14:38:39 +02:00
Julius Härtl aa85e1c2af Fix jsunit failures
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 14:36:20 +02:00
szaimen 17ee17cdbf fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-31 14:35:13 +02:00
Carl Schwan 9318483540 Merge pull request #33767 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-08-31 13:36:58 +02:00
Carl Schwan cf638a9b2c Fix eslint run command
Only try to fix and check files inside the server repo and not from all
the repositories that are contained in apps-extra

Remove noice and make sure we don't end up modifying these repos by
error

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-31 13:33:36 +02:00
Robin Appelman d3743392e0 cache cloud id data in CloudIdManager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-31 13:33:33 +02:00
Daniel Calviño Sánchez ac2d885899 Adjust acceptance tests to changes in app menu
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-31 12:57:16 +02:00
Joas Schilling 85eb3b2920 Fix wording of undeliverable push notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-31 12:42:31 +02:00
Vincent Petry 809f448ef7 Merge pull request #33746 from nextcloud/a11y/33739/fix-legacy-nav
Add a11y attributes for legacy app navigation
2022-08-31 11:57:31 +02:00
nextcloud-command bff4c86154 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-31 08:34:06 +00:00
Julius Härtl 3ad4e82195 Address some more accessibility concerns
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:05 +02:00
Julius Härtl 09d8214e37 Use resize observer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:04 +02:00
Julius Härtl e8193c2434 Fix focus border and adjust active app indicator
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:04 +02:00
Julius Härtl 5b4708c5be Move app menu to vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:03 +02:00
nextcloud-command 814a17132d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-08-31 04:49:51 +00:00
Nextcloud bot 23bb4f16f9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-31 02:24:06 +00:00
Arthur Schiwon 654d649edb 25.0.0 beta 4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-08-30 17:29:44 +02:00
szaimen 955b6bb82e add a way to open the admin settings overview directly
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-08-30 15:46:09 +02:00
Côme Chilliet f56ecf9242 Merge pull request #33640 from nextcloud/fix/fix-symfony-event-typing
Port Repair and Migrator events to IEventDispatcher
2022-08-30 14:47:05 +02:00
Côme Chilliet 66648011c6 Merge pull request #33697 from nextcloud/fix/improve-bulk-upload
Improve bulk upload and add a config switch for it
2022-08-30 12:22:20 +02:00
Julius Härtl 5f0c21c4c0 Merge pull request #33734 from nextcloud/search-result-leading-slash 2022-08-30 12:18:54 +02:00
John Molakvoæ efb6411e72 Merge pull request #33732 from nextcloud/fix/remove-at-matcher-in-lib-tests-2 2022-08-30 11:50:03 +02:00
Côme Chilliet 30bfd5f4c8 Add DavUtil to autoloader
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-30 10:44:47 +02:00
Côme Chilliet 4f3b323fba Move dav utils functions to OCP\Files\DavUtil
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-30 09:58:12 +02:00
Nextcloud bot 702ae46c87 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-30 02:24:40 +00:00
Vincent Petry cc53efe4dd Add a11y attributes for legacy app navigation
Aded "role=navigation"
Added "aria-current=page" for the currently selected item.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-29 22:46:48 +02:00
Andy Xheli 12c8123873 Makes untrusted domain error on info
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Since https://github.com/nextcloud/server/commit/e6d9ef2e38daffcab808eaa41b18ab16c6253b97 was applied logs get filled up with Trusted domain error. "X.X.X.X tried to access using "X.X.X.X" as host alot of users missed important errors do tohttps://github.com/nextcloud/server/commit/e6d9ef2e38daffcab808eaa41b18ab16c6253b97   please see https://github.com/nextcloud/server/issues/32599

This should fix. 
https://github.com/nextcloud/server/issues/32599#event-7281164903


Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
2022-08-29 13:27:12 -05:00
Côme Chilliet 7f80dccbac Flip bulkupload.enabled default value to true
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-29 17:49:55 +02:00
Robin Appelman e9ba58ca61 remove leading slash for search results at mountpoint root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-29 17:33:43 +02:00
Côme Chilliet 6f80fe6ada Remove deprecated at matcher from tests/lib
Only 15 warnings left in there

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-29 16:36:40 +02:00
Côme Chilliet 9874557e43 Fix Capabilities tests for dav application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-29 15:24:58 +02:00
Côme Chilliet d90b31401c Fix OCP\Util documentation blocks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-29 15:19:20 +02:00
Côme Chilliet 791e021455 Remove deprecated at matcher in Updater/VersionCheckTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-29 15:11:18 +02:00
Vincent Petry d7deeb4e02 Merge pull request #33311 from nextcloud/enh/27869/phone
Remake phone number property saving with Vue
2022-08-29 14:53:27 +02:00
Vincent Petry 1b577d348b Merge pull request #33500 from nextcloud/encryption-system-mount
add marker interface to mark system mount points for encryption
2022-08-29 14:47:58 +02:00
Côme Chilliet b3cd9b5573 Move Dav fileid and permissions logic into OCP\Util to be able to use it for BulkUpload
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-29 13:55:08 +02:00
Julius Härtl 5422051f18 Merge pull request #33706 from nextcloud/bugfix/dashboard-status 2022-08-29 09:22:00 +02:00
Côme Chilliet e34f2c4799 Call the correct functions to get BulkUpload metadata to return
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-29 09:14:52 +02:00
nextcloud-command f14264ee52 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-29 06:14:56 +00:00
Julius Härtl 4beae14fee Avoid using lists if there are none on the dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-29 08:05:51 +02:00
Julius Härtl ce9c0b5e30 Fix status button background on dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-29 08:05:51 +02:00
Nextcloud bot b1421f6ad9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-29 02:24:48 +00:00
John Molakvoæ ccbeb0fe07 Merge pull request #33694 from nextcloud/fix/load-themedir-dist 2022-08-28 09:04:01 +02:00
Nextcloud bot a0e4445cb5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-28 02:23:58 +00:00
Nextcloud bot 5de5b75ede [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-27 02:23:58 +00:00
Christopher Ng d7821f8474 Remake phone number property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-26 23:49:27 +00:00
Pytal a1fae05320 Merge pull request #33310 from nextcloud/enh/27869/website 2022-08-26 16:25:52 -07:00
Carl Schwan e1803a72b0 Merge branch 'master' into fix/load-themedir-dist
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 22:18:19 +02:00
Christopher Ng e2efbab13f Remake website property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-26 18:50:28 +00:00
John Molakvoæ 47584eee60 Merge pull request #33713 from nextcloud/bugfix/noid/viewonlyfix 2022-08-26 20:00:12 +02:00
John Molakvoæ efbe972407 Merge pull request #33641 from nextcloud/bugfix/noid/primary-element-vars 2022-08-26 19:59:53 +02:00
John Molakvoæ f617796c35 Merge pull request #33702 from nextcloud/bugfix/noid/fix-weather-icon 2022-08-26 19:59:43 +02:00
John Molakvoæ eb8ac0b722 Merge pull request #33259 from nextcloud/fix/carl/accessibility-input-fields 2022-08-26 19:59:29 +02:00
Carl Schwan f1ce2c2b93 Fix rebasing issues and improve profile settings page a bit more
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:51:10 +02:00
Carl Schwan 1d35a53991 More dark theme fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Carl Schwan 2f30d3227f Various fixes
- Fix user status dialog
  - Add label where missing
  - Move emoji picker inside input field (similar to talk)
  - Fix selecting an emoji
- Fix multiselect
- Fix button with confirmation action
- Fix some other unrelated dark theme issues
- Fix select2 focus
- Run npm lint:fix

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Carl Schwan f630bd27f7 Adapt to new Nextcloud vue style
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Carl Schwan 68ed1af3c0 Fix accessibility of input fields
Input fields require a 44x44 pixels target size, this makes all the
input fields and button use that size.

Bonus is that now the input fields and buttons now have the same size as
the new vue button and this looks less weird than the previous state
with controls of different sizes.

See https://www.w3.org/WAI/WCAG21/Understanding/target-size.html

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Carl Schwan 329687ecff Make it possible to load theme/<themename>/dist
This fix a regression with the theming api following the change in
webpack bundling introduced in 24

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Joas Schilling fa466a093c Merge pull request #33139 from nextcloud/fix/check-calendar-uri-length
Check calendar URI length before creation
2022-08-26 16:35:17 +02:00
Julius Härtl cc21ea6419 Fix gradient using the wrong target value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-26 14:48:38 +02:00
Vincent Petry d1317e7540 Remove copy in file actions when not allowed
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-26 14:18:47 +02:00
Vincent Petry c1df72fc8b Fix copy in view-only mode
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-26 14:18:47 +02:00
Vincent Petry e9a344a644 Add int test for view-only download
Asserts that downloading a view-only document returns 403.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-26 14:18:47 +02:00
Joas Schilling d41841b4a7 Check address book URI length before creation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-26 13:58:18 +02:00
Anna Larch b044c7586b Check calendar URI length before creation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-08-26 13:57:43 +02:00
Carl Schwan aa150b9f85 Merge pull request #33699 from nextcloud/remove-ie-dep
Remove old ie polify
2022-08-26 13:48:57 +02:00
Carl Schwan de168b38e9 Make it possible to load theme/<themename>/dist
This fix a regression with the theming api following the change in
webpack bundling introduced in 24

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 13:46:29 +02:00
Julius Härtl 250bd91214 Adjust settings to new css variable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-26 13:32:12 +02:00
Julius Härtl 9fc52ed491 Properly align element variables to the regular ones
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-26 13:31:26 +02:00
Carl Schwan 2fd45e5fc8 Merge pull request #33707 from nextcloud/bugfix/update-container
Avoid size changes on web ui update
2022-08-26 13:08:10 +02:00
Carl Schwan c17b8317d6 Remove old ie polify
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 12:42:10 +02:00
blizzz fcc5f1ef3d Merge pull request #33714 from nextcloud/techdebt-int-tests-composerlock
Add composer.lock for integration tests
2022-08-26 12:27:01 +02:00
Vincent Petry 351514aa9f Add composer.lock for integration tests
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-26 10:34:48 +02:00
Vincent Petry 264a0bb17d Merge pull request #33347 from nextcloud/feature/use-viewer-for-singe-file-shares
feature: use the viewer to render single file shares
2022-08-26 09:04:18 +02:00
Vincent Petry e69ad6fe2d Merge pull request #33285 from nextcloud/enh/27869/location
Remake location property saving with Vue
2022-08-26 08:42:08 +02:00
Julius Härtl 8b86a07a3f Avoid side changes on web ui update
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-26 07:52:35 +02:00
Nextcloud bot 2fcae35e0f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-26 02:24:48 +00:00
Christopher Ng dd7cb9784f Remake location property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 23:52:33 +00:00
Max b67aaf7ab0 fix: use old singe file share rendering as fallback
Only render images and videos with the viewer.
Text has its own way of handling single file shares for now.

In case viewer does not support the file format
fall back to the old way of handling single file shares.

Signed-off-by: Max <max@nextcloud.com>
2022-08-25 21:59:20 +00:00
Max 8c9470320a fix: only use viewer when mimetype is supported
Also bring back the text fallback

Signed-off-by: Max <max@nextcloud.com>
2022-08-25 21:59:20 +00:00
Max 99aa938452 feature: first take on using the viewer to render single file shares
Signed-off-by: Max <max@nextcloud.com>
2022-08-25 21:59:19 +00:00
Vincent Petry 38d0419f14 Merge pull request #33217 from nextcloud/enh/27869/twitter
Remake Twitter handle saving with Vue and modularize account property components
2022-08-25 23:40:18 +02:00
Git'Fellow 771431c879 Fix small typo
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-08-25 20:57:07 +02:00
Christopher Ng 09f6eb5e58 Remake Twitter handle saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 18:19:10 +00:00
Christopher Ng c5c70daa66 Modularize shared account property components
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 18:08:39 +00:00
Côme Chilliet 0b9a878250 Flag repair errors as error level in eventSource->send
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 18:32:20 +02:00
Joas Schilling f53cac1b32 Fix weather icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-25 17:50:01 +02:00
Vincent Petry 696a48ae97 Merge pull request #33430 from nextcloud/fix/remove-broken-resetstorage
Remove broken function resetStorage from test cases
2022-08-25 17:05:45 +02:00
Côme Chilliet 9a29025534 Parameter of RepairAdvanceEvent is actually an increment, not a step id
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:26:31 +02:00
Côme Chilliet 652ab6da3f Surround cli output with appropriate xml tags
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:18:53 +02:00
Côme Chilliet 4ac81733bd Declare strict types in all new Event classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:15:49 +02:00
Côme Chilliet 5cfdf9b9ee Add void return types to callables
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:15:49 +02:00
Côme Chilliet e5731b3c30 Fix BackgroundRepairTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:15:48 +02:00
Côme Chilliet 5d313da709 Fix RepairTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:15:48 +02:00
Côme Chilliet a2a7150d6d Migrate Repair events to OCP\EventDispatcher\Event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:15:48 +02:00
Côme Chilliet a83a8f0dde Migrate Migrator::executeSql to OCP\EventDispatcher\Event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:13:47 +02:00
Côme Chilliet 5aac997d44 Remove listeners of \OC\DB\Migrator::checkTable which is never emitted
See commit a2f3077ee8 from PR #24384

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:13:47 +02:00
Côme Chilliet 4f260dce6e Moving to string key for arguments of GenericEvent in Repair
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:13:46 +02:00
Côme Chilliet 4ba30d40cf Switch to string keys for argument of GenericEvent for OC\DB\Migrator
It seems checkTable is actually never dispatched?

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 16:13:46 +02:00
Côme Chilliet 5ae185a8b1 Add bulkupload.enabled configuration switch
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 14:47:50 +02:00
Côme Chilliet be7082efff Add fileid and permissions to response of bulk upload
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 14:47:50 +02:00
Vincent Petry 5509063caa Merge pull request #33659 from nextcloud/fix/fix-bulk-upload-etag
Fix ETAG returned by bulk upload
2022-08-25 14:14:08 +02:00
Joas Schilling 7379313b5d Merge pull request #33375 from nextcloud/add-back-token-cleanup-job
Add back TokenCleanupJob to invalidate old temporary tokens
2022-08-25 14:00:20 +02:00
Robin Appelman c2b206db64 add marker interface to mark system mount points for encryption
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-25 13:55:53 +02:00
Vincent Petry 2911dffd5e Merge pull request #33516 from nextcloud/update-nextcloud-vue-6.0.0-beta.2
Bump @nextcloud/vue to 6.0.0-beta.4 and related
2022-08-25 13:29:36 +02:00
Git'Fellow 09af5acb00 Document updatedirectory option
Signed-off-by: Git'Fellow <carlos@reendex.com>
2022-08-25 12:42:22 +02:00
Git'Fellow c1699d9f5d Introduce $updateDir to move updates outside $dataDir
To be merged after https://github.com/nextcloud/updater/pull/420

Signed-off-by: Git'Fellow <carlos@reendex.com>
2022-08-25 12:32:54 +02:00
blizzz 3a097020b0 Merge pull request #33674 from nextcloud/release/25.0.0_beta_3
25.0.0 beta 3
2022-08-25 12:07:21 +02:00
Thomas Citharel 3ce1996d5e Add back TokenCleanupJob to invalidate old temporary tokens
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-25 11:31:21 +02:00
Arthur Schiwon 02c412df21 25.0.0 beta 3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-08-25 09:21:07 +00:00
Tigran Mkrtchyan b6065a236f files: make OC\Files\Storage\Local WORM friendly
Some filesystems run as a Write-Once-Read-Many storages. This
makes them impossible to use with NexeCloud, as the file system
layers uses `truncate` syscall (through file_put_contents function).

As Nextcloud is never updates existing files, removing the old entry
and creatint a new one on update will allow NextCoud to update on such
file systems.

Update Local#fopen and Local#file_put_contents to remote existing
file before truncating.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
2022-08-25 11:11:49 +02:00
Carl Schwan 9b5569ff74 Merge pull request #33668 from nextcloud/tests/fix-session-middleware
Fix SessionMiddlewareTest and cover new case with reopening
2022-08-25 11:00:35 +02:00
blizzz 711a9fd209 Merge pull request #33682 from nextcloud/fix/noid/help-page-unavailable
Fix opening Help page throwing Exception
2022-08-25 09:55:39 +02:00
Vincent Petry ede9ac2a75 Adjust acceptance test selectors
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 09:54:44 +02:00
Vincent Petry bfb52957c7 Update to @nextcloud/vue-6.0.0-beta.4
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:54:40 +02:00
Julius Härtl 06340b6672 Merge pull request #33602 from nextcloud/perf/parent-node 2022-08-25 08:47:04 +02:00
Vincent Petry e7fded5b2e Update snapshot
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:03 +02:00
Vincent Petry d0473214cd Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:00 +02:00
Vincent Petry 7080187958 Bump @nextcloud/vue to 6.0.0-beta.3 and related
Update @nextcloud/vue to 6.0.0-beta.3
Update vue and vue-template-compiler to 2.7.8
Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:37:46 +02:00
Julius Härtl 405b5de6fa Merge pull request #33569 from nextcloud/enh/hide-projects
Add config option to hide deprecated projects in sharing tab by default
2022-08-25 08:15:24 +02:00
Nextcloud bot 56df202d52 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-25 02:25:01 +00:00
Julius Härtl 83b1415906 Only pass parent if paths match
As the user folder might be initialized by the root from two levels
down the hierarchy, passing this as a parent only works if the path matches

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-24 22:20:32 +02:00
Julius Härtl 4baf960c21 Save getting the parent node when generating the preview
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-24 22:20:32 +02:00
Julius Härtl b2d6435737 Avoid extra query for the parent node if we can pass it along
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-24 22:20:32 +02:00
Arthur Schiwon 9f9da2eaa8 app_path cannot be empty
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-08-24 19:09:05 +02:00
Arthur Schiwon 1a781ccf56 Fix opening Help page throws Exception
- Commit 458c2fa297 provoked the error,
  because the "core" "app" was not found. Previously, false was
  returned, but now an AppPathNotFoundException
- IUrlGenerator::linkTo() accepts an empty app argument however, moving
  the "core" portion to the path solves it and avoids apps lookup

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-08-24 18:55:34 +02:00
Carl Schwan b6265a8255 Merge pull request #33662 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-08-24 16:52:19 +02:00
Louis 68f9df2891 Merge pull request #33670 from nextcloud/debt/noid/type-hints-confirm-destructive
Update typehint for confirmDestructive
2022-08-24 14:58:36 +02:00
Carl Schwan bd7ab89d2a Merge pull request #33593 from nextcloud/improve-binary-caching
Move findBinaryFinder and isFunctionEnabled away from OC_Helper
2022-08-24 13:09:55 +02:00
Daniel Kesselberg f832db0801 Update typehint for confirmDestructive
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-08-24 12:56:41 +02:00
Julius Härtl 64a7489958 Fix SessionMiddlewareTest and cover new case with reopening
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-24 10:36:57 +02:00
nextcloud-command fc309e5963 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-08-24 04:38:40 +00:00
Nextcloud bot 03c8bf7067 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-24 02:27:22 +00:00
Carl Schwan 9b8ca9ad1f Move findBinaryFinder and isFunctionEnabled away from OC_Helper
findBinaryFinder is now a service that is still private but with some
minor optimization (remove the hasKey check).

isFunctionEnabled is now in OCP\Util

Both function are still keep but all internal usage in nextcloud/server
were migrated to the new usage, so that we can remove it in 26

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-23 19:44:04 +02:00
Côme Chilliet 7916fc91b5 Fix ETAG returned by bulk upload
Refresh Node object to get fresh fileinfo data after touch

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-23 17:59:37 +02:00
Carl Schwan b888c61463 Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecated
Deprecated ILogger from IJob
2022-08-23 16:55:42 +02:00
Vincent Petry 5f90a6a5e2 Merge pull request #33574 from nextcloud/search-share-query-filter-no-init
directly build the search filter for shared storage instead of setting up the source cache
2022-08-23 14:15:24 +02:00
Vincent Petry 1a2c008011 Merge pull request #32162 from nextcloud/enh/session-reopen
Avoid locking the php session
2022-08-23 14:14:15 +02:00
Carl Schwan 232866d42e Merge pull request #33595 from nextcloud/fix/cache-profile-config
Cache ConfigProfile
2022-08-23 11:58:02 +02:00
Carl Schwan 385f3c0135 Merge pull request #33650 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-08-23 11:08:45 +02:00
blizzz 73205a77ba Merge pull request #33639 from nextcloud/bugfix/noid/fix-plural-usage-in-ldap
Fix plural usage in LDAP wizard
2022-08-23 10:11:04 +02:00
Anna 5079bf6dd9 Merge pull request #33001 from nextcloud/enh/imip-invitations-responses
Support iMIP invitations from Mail
2022-08-23 09:59:54 +02:00
nextcloud-command 87177e6282 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-08-23 04:41:14 +00:00
Nextcloud bot 4991448601 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-23 02:24:42 +00:00
Pytal b5a4042391 Merge pull request #33643 from nextcloud/enh/profile-handling 2022-08-22 16:36:37 -07:00
Anna Larch 4ca4b02793 Support iMIP invitations from Mail
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-08-22 22:10:12 +02:00
Christopher Ng 9ba11ecefd Improve handling of profile page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-22 19:28:35 +00:00
Christopher Ng d59585974e Fix creation of new user and display the correct error message
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-22 19:13:11 +00:00
dependabot[bot] 2576609aac Merge pull request #33627 from nextcloud/dependabot/npm_and_yarn/p-queue-7.3.0 2022-08-22 19:12:49 +00:00
dependabot[bot] 13cbb748d7 Bump p-queue from 7.2.0 to 7.3.0
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v7.2.0...v7.3.0)

---
updated-dependencies:
- dependency-name: p-queue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-22 18:36:23 +00:00
Christoph Wurst 7c6c26ba3a Merge pull request #33638 from nextcloud/fix/user-mgmt-avatar-size
Request 64px avatars for the user management
2022-08-22 18:16:21 +02:00
Christoph Wurst 6a08c89452 Request 64px avatars for the user management
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-08-22 15:36:14 +02:00
blizzz 31050e5de9 Merge pull request #33624 from nextcloud/updateCrl
Update crl after revoke money.csr
2022-08-22 14:23:10 +02:00
Joas Schilling f4885ee3ba Remove unused method
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-22 14:15:32 +02:00
Joas Schilling ef60257110 Fix plural usage in LDAP wizard
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-22 14:14:47 +02:00
blizzz fd645d4802 Merge pull request #33623 from NoSleep82/master
Update LostController.php
2022-08-22 11:24:44 +02:00
Côme Chilliet b48a87e6e0 Merge pull request #33433 from nextcloud/fix/add-option-to-fix-encrypted
Fix encryption:fix-encrypted-version command when encrypted is set to 0
2022-08-22 11:11:32 +02:00
Nextcloud bot b10c3a5f48 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-22 02:24:26 +00:00
NoSleep82 b03aedf128 Update core/Controller/LostController.php
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: NoSleep82 <52562874+NoSleep82@users.noreply.github.com>
2022-08-21 13:16:23 +02:00
Simon L de2bb79b6b address review
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
2022-08-21 12:19:31 +02:00
Nextcloud bot 9de927c311 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-21 02:24:30 +00:00
Carl Schwan ce7c502719 Merge pull request #33626 from nextcloud/dependabot/npm_and_yarn/puppeteer-16.2.0
Bump puppeteer from 15.5.0 to 16.2.0
2022-08-20 10:01:49 +02:00
Nextcloud bot 4295aebb46 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-20 02:24:11 +00:00
dependabot[bot] c64c2e9520 Bump puppeteer from 15.5.0 to 16.2.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 15.5.0 to 16.2.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v15.5.0...v16.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-20 02:16:16 +00:00
Vitor Mattos e566ed8277 Update crl after revoke money.csr
Reference: https://github.com/nextcloud/app-certificate-requests/pull/534

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-08-19 14:02:51 -03:00
NoSleep82 61548c520b Update LostController.php
i would be useful to know who is trying to reset the password (misspelled username or email, ex user or some sort of attack)

Signed-off-by: NoSleep82 <52562874+NoSleep82@users.noreply.github.com>
2022-08-19 18:30:32 +02:00
John Molakvoæ 4a77a68734 Merge pull request #33592 from nextcloud/release/25.0.0_beta_2 2022-08-19 15:31:51 +02:00
John Molakvoæ c87f05a5d7 Merge pull request #33610 from nextcloud/enh/background-blur-vars 2022-08-19 15:30:33 +02:00
John Molakvoæ 5e550829c5 Fix theming tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-19 14:35:00 +02:00
Joas Schilling 71065f5fd5 Merge pull request #33615 from nextcloud/perf/noid/user-displayname-cache-for-activity-providers
Use user name cache in activity providers
2022-08-19 12:28:44 +02:00
nextcloud-command 145c3be5a7 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-19 10:24:35 +00:00
Julius Härtl 57233fd99a Expose core background image
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19 11:55:10 +02:00
Julius Härtl 49ddaaecbf Move dashboard to new variables
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19 11:55:10 +02:00
Julius Härtl 4be6280aa9 Add css variables for blurred background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19 11:55:04 +02:00
Carl Schwan 7d7f7abf7f Merge pull request #33614 from nextcloud/perf/noid/user-displayname-cache-for-comment-mentions
Use user displayname cache for comment mentions
2022-08-19 11:49:40 +02:00
Joas Schilling fdec866a89 Merge pull request #33617 from nextcloud/bugfix/activity-856/fix-carddav-activities
Fix carddav activities
2022-08-19 11:38:34 +02:00
Joas Schilling eab5189abb Fix carddav activities
The settings where combined last minute but at the same time the activities
where not adjusted to map an existing setting so the filter was not possible
to even limit it to the types that the activities had.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-19 10:50:45 +02:00
Joas Schilling 7e11778190 Use user name cache in activity providers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-19 10:48:32 +02:00
Joas Schilling ae67eba84b Use user displayname cache for comment mentions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-19 10:23:16 +02:00
Julia Kirschenheuter 1463f935f0 Merge pull request #33522 from nextcloud/fix/358-add-missing-expanded-attributes
Fix/358 add missing expanded attributes
2022-08-19 09:16:41 +02:00
Carl Schwan 5edab8c922 Cache ConfigProfile
Reduce DB query count on homepage from 21 to 13

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-18 12:02:16 +02:00
Carl Schwan cab0f1327e Merge pull request #33575 from nextcloud/search-shared-post-process-filter
further pre-filter search result before setting up share source cache
2022-08-18 11:58:31 +02:00
John Molakvoæ 626447f669 25.0.0 beta 2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-18 10:07:45 +02:00
Nextcloud bot ac970e5946 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-18 02:24:19 +00:00
Christopher Ng 7a13388fe9 Hide deprecated projects in sharing tab by default
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-18 01:50:37 +00:00
julia.kirschenheuter 6d12f8b8a1 Add ``aria-expanded`` value to select2-container om systemtag and file tags
Add ```aria-expanded``` to color picker
Add ```aria-expanded``` to UnifiedSearch.vue
Add ```aria-expanded``` to new button on files
Add ```aria-expanded``` to action menu
Add ```aria-expanded``` to icon .federation-menu
Add ```aria-expanded``` to app navigation collapse button

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-17 19:28:40 +00:00
Pytal 2f538bb20f Merge pull request #33584 from nextcloud/fix/theme-font-preview 2022-08-17 11:33:39 -07:00
Simon L 48752a91bd Merge pull request #33573 from nextcloud/enh/noid/transparency
make transparent what is community maintained
2022-08-17 17:14:01 +02:00
Vincent Petry 15dc060551 Merge pull request #33558 from nextcloud/fix/use-bigger-slice-share-provider
Use bigger slice in share provider
2022-08-17 16:12:56 +02:00
John Molakvoæ eb8d1ff6da Fix font change preview update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-17 14:11:05 +00:00
John Molakvoæ e32314e129 Merge pull request #33564 from nextcloud/fix/theming-selector 2022-08-17 15:19:46 +02:00
Louis 634ee18d03 Merge pull request #33526 from nextcloud/fix/duplicate-filter-ids
Fix duplicate ids on apps management page
2022-08-17 14:20:47 +02:00
Louis a2d145734a Merge pull request #33565 from nextcloud/debt/remove_todo_push_service_fairuse
Remove time check in isFairUseOfFreePushService
2022-08-17 14:14:03 +02:00
Robin Appelman b731c95b79 further pre-filter search result before setting up share source cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-17 13:49:21 +02:00
Julius Härtl 1b43fbe06c Move setting of gc_maxlifetime to initSession
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-17 12:10:27 +02:00
Julius Härtl 9e1d431255 Add config option to disable strict session timeout to be able to use read_and_close
Fixed https://github.com/nextcloud/server/issues/29356

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-17 12:10:27 +02:00
Julius Härtl 9b4b72826a Reopen sessions if we need to write to them instead of keeping them open
Sessions are a locking operation until we write close them, so close
them early and reopen later in case we want to write to them

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-17 12:10:26 +02:00
Robin Appelman b6f8b8da60 directly build the search filter for shared storage instead of setting up the source cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-17 11:58:57 +02:00
szaimen ea8425a08f make transparent what is community maintained
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-08-17 11:55:04 +02:00
Vincent Petry 312b719acf Merge pull request #32943 from nextcloud/unencrypted-size-revert-interface-changes
Revert interface changes from "store unencrypted size in the unencrypted_size column"
2022-08-17 11:36:16 +02:00
Joas Schilling 227c766f16 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-17 11:25:18 +02:00
Vincent Petry 11d5a1d3df Merge pull request #33550 from nextcloud/jail-search-post
optimize search post-processing for jail wrapper
2022-08-17 10:55:41 +02:00
Louis f6081e35b4 Remove ITimeFactory
Signed-off-by: Louis <6653109+artonge@users.noreply.github.com>
2022-08-17 10:46:08 +02:00
Vincent Petry 2360d880fa Merge pull request #33540 from nextcloud/mount-provider-migration
fix updating cached mounts that didn't have their mount provider set previously
2022-08-17 10:41:31 +02:00
Julius Härtl a206b34d88 Merge pull request #33472 from nextcloud/dependabot/composer/bamarni/composer-bin-plugin-1.8.1 2022-08-17 10:20:40 +02:00
Vincent Petry 082432e01c Merge pull request #33551 from nextcloud/scanner-dont-update-same-size
don't update the folder size if we know it hasn't changed
2022-08-17 09:21:30 +02:00
Nextcloud bot 58fb55febe [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-17 02:25:14 +00:00
Julius Härtl 431144c722 Merge pull request #33549 from nextcloud/enh/perfopt-for-carddav
Performance optimisation for carddav backend blob data read
2022-08-17 00:10:24 +02:00
Julius Härtl 999dced07c Merge pull request #33559 from yeyulantu/bugfix-search-cache 2022-08-16 23:54:59 +02:00
Carl Schwan 1c60ff5936 Merge pull request #33563 from nextcloud/feat/make-displaynamecache-return-null
Make DisplayNameCache return null if user doesn't exists
2022-08-16 18:36:45 +02:00
Louis dc5cdfb7e3 Remove time check in isFairUseOfFreePushService
What the TODO say, the dev does.

Signed-off-by: Louis <6653109+artonge@users.noreply.github.com>
2022-08-16 16:46:03 +02:00
John Molakvoæ 601664bc84 Allow to manually specify a theme to apply to a section of an app
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-16 14:43:35 +02:00
Carl Schwan 8004aa7721 Make DisplayNameCache return null if user doesn't exists
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-16 14:10:05 +02:00
Robin Appelman 457822c144 don't update the folder size if we know it hasn't changed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16 13:56:51 +02:00
Robin Appelman 1850d0ae96 cleanup scannertest a bit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16 13:56:51 +02:00
Robin Appelman de63f6363f fix updating size when folder is empty
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16 13:54:26 +02:00
Robin Appelman 1374cbee3e store unencrypted size in the unencrypted_size column
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16 13:54:26 +02:00
Robin Appelman 887952b4f4 add tests for cached mount provider migration
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16 13:47:43 +02:00
Robin Appelman 10767d7779 fix updating cached mounts that didn't have their mount provider set previously
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16 13:47:41 +02:00
Robin Appelman 9d6c2ce301 optimize search post-processing for jail wrapper
don't both asking the wrapped cache if we know it's not in our jail anyway

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16 13:36:52 +02:00
Robin Appelman 5e375d9092 Revert "store unencrypted size in the unencrypted_size column"
This reverts commit 8238582e59.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16 12:07:14 +02:00
Robin Appelman 6e0123a1d0 Revert "add case statement to sql function builder"
This reverts commit 2a68819a67.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16 12:07:13 +02:00
Robin Appelman 9b52663a81 Revert "make expression build return IQueryFunction instead of string"
This reverts commit 813b50ed42.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16 12:07:09 +02:00
David fe3f4afd77 fixed the cache searchBuilder negative map
Signed-off-by: David <37280718+yeyulantu@users.noreply.github.com>
2022-08-16 17:59:02 +08:00
Carl Schwan 604c175284 Merge pull request #32461 from nextcloud/display-name-cache-public
expose display name cache trough a public interface
2022-08-16 11:48:50 +02:00
Carl Schwan a1011bad6c Use bigger slice in share provider
Probably won't make a big difference as it is unlikely a user has > 100
shares but this make sure we use the same code in spreed where the
change has a bigger impact.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-16 11:17:27 +02:00
John Molakvoæ 3e2ab35af5 Merge pull request #33556 from nextcloud/fix/theming 2022-08-16 10:12:53 +02:00
John Molakvoæ 5f3229ed67 Automatically enable plain background if primary colour is set
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-16 09:39:00 +02:00
John Molakvoæ 0ea23cad0e Revert "Fix unit tests for the theming app"
This reverts commit 13ca01ee12.
2022-08-16 08:51:43 +02:00
John Molakvoæ 4c6be330ef Revert "First first run wizzard"
This reverts commit ba3f5337f3.
2022-08-16 08:30:08 +02:00
Nextcloud bot e6feca6d15 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-16 02:25:45 +00:00
Julius Härtl 2f07ce1f34 Merge pull request #33548 from nextcloud/bugfix/33547/remove-redundant-files-events 2022-08-15 21:04:35 +02:00
Anna Larch 61b55c88da performance optimisation for carddav backend blob data read
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-08-15 20:47:58 +02:00
Vincent Petry fbc48db507 Remove redundant events
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-15 19:20:42 +02:00
Carl Schwan 51b9847fad Merge branch 'master' into display-name-cache-public
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-15 15:28:30 +02:00
Vincent Petry cb97e8f15c Merge pull request #33495 from nextcloud/unify-initial-and-updated-quota-display
Unify initial and updated quota display
2022-08-15 11:26:36 +02:00
Nextcloud bot 9704b16822 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-15 02:24:47 +00:00
John Molakvoæ b1e86f39fe Merge pull request #33519 from nextcloud/rakekniven-patch-2 2022-08-14 11:38:50 +02:00
rakekniven d7e553c634 l10n: Changed plural to singular
Here you can select the default theme image, not images.

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-14 08:29:01 +00:00
Nextcloud bot 033bafc026 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-14 02:24:52 +00:00
Julius Härtl b66a2cc230 Merge pull request #33524 from nextcloud/dependabot/npm_and_yarn/karma-6.4.0
Bump karma from 6.3.19 to 6.4.0
2022-08-13 21:07:54 +02:00
John Molakvoæ 7c85e6b178 Merge pull request #33518 from nextcloud/exif-computed 2022-08-13 16:40:42 +02:00
dependabot[bot] 2fb861fe3c Merge pull request #33525 from nextcloud/dependabot/npm_and_yarn/webpack-5.74.0 2022-08-13 11:33:06 +00:00
dependabot[bot] 12a13daeb7 Bump webpack from 5.73.0 to 5.74.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.74.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.74.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-13 10:19:29 +00:00
John Molakvoæ 1faf4604e6 Merge pull request #33517 from nextcloud/bugfix/noid/npm-link 2022-08-13 11:25:02 +02:00
Nextcloud bot 59a564f3eb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-13 02:25:00 +00:00
Christopher Ng d9f1f5a8ac Fix duplicate ids on apps management page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-13 02:14:47 +00:00
dependabot[bot] 94ca5ed88e Bump karma from 6.3.19 to 6.4.0
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.19 to 6.4.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.19...v6.4.0)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-13 01:02:31 +00:00
Julius Härtl d78b82b5c6 Enforce providing jquery from server node_modules
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-12 20:52:26 +02:00
John Molakvoæ 6209026794 Merge pull request #33505 from nextcloud/release/25.0.0beta1 2022-08-12 17:06:34 +02:00
John Molakvoæ ccb3a58c9a 25.0.0beta1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-12 13:55:07 +00:00
Robin Appelman 595cf1404b fix exif metadata provider
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-12 13:54:12 +02:00
Julius Härtl 64cd2558ee Allow symlinks during webpack build
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-12 11:27:40 +02:00
Joas Schilling 478690b58f Merge pull request #33513 from nextcloud/bugfix/noid/recover-installation-when-creating-the-user-failed
Recover installation when creating the database user fails and improve password strength
2022-08-12 11:02:34 +02:00
Joas Schilling 33d7a9624c Create more secure passwords by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-12 10:03:19 +02:00
Joas Schilling d275c93035 Recover installation when creating the user failed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-12 09:43:38 +02:00
Nextcloud bot 7391c81495 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-12 02:24:30 +00:00
Vincent Petry 68c4df0aa8 Merge pull request #33510 from nextcloud/fix/nodb-tests
Fix unit tests for the theming app
2022-08-11 20:36:40 +02:00
John Molakvoæ d2d96516a6 Merge pull request #33506 from nextcloud/bugfix/noid/fix-trusted-domain-error 2022-08-11 18:51:18 +02:00
Carl Schwan 13ca01ee12 Fix unit tests for the theming app
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-11 18:02:23 +02:00
Joas Schilling e4f343308c Fix trusted domain error page
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-11 09:49:10 +02:00
rakekniven a1987158d7 l10n: Changed grammar
Fixed tests for #33475 

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-08-11 09:29:30 +02:00
Jasper Weyne 44f6c931e7 Merge branch 'master' into patch-2 2022-08-11 08:54:08 +02:00
John Molakvoæ a61331f456 Merge pull request #33477 from nextcloud/feat/package-node-npm-engines-update 2022-08-11 08:47:50 +02:00
John Molakvoæ 2de3581b0b Merge pull request #33467 from nextcloud/bump-nextcloud-vue-5.4.0 2022-08-11 08:47:24 +02:00
Nextcloud bot 85e4f78d78 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-11 02:24:37 +00:00
dependabot[bot] dde5ebe61c Merge pull request #33492 from nextcloud/dependabot/npm_and_yarn/nextcloud/browserslist-config-2.3.0 2022-08-11 01:13:32 +00:00
Vincent Petry 117b6199e5 Merge pull request #33282 from nextcloud/enh/a11y-post-comment
Buttonify comment posting
2022-08-10 22:43:58 +02:00
Vincent Petry 684cc097f4 Merge pull request #33452 from nextcloud/fix/firstrunwizzard
Fix first run wizzard
2022-08-10 22:35:55 +02:00
Vincent Petry 10182858b9 Update snapshot
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-10 22:24:13 +02:00
Vincent Petry 89456213c1 Bump @nextcloud/vue from 5.3.1 to 5.4.0
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-10 22:24:07 +02:00
dependabot[bot] 17c2deff76 Merge pull request #33491 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.4.8 2022-08-10 18:57:09 +00:00
dependabot[bot] f2d20d5f6c Bump @nextcloud/browserslist-config from 2.2.0 to 2.3.0
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases)
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/browserslist-config"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-10 18:19:26 +00:00
dependabot[bot] d3d0ede6c0 Bump css-vars-ponyfill from 2.4.7 to 2.4.8
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.7 to 2.4.8.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.4.7...v2.4.8)

---
updated-dependencies:
- dependency-name: css-vars-ponyfill
  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>
2022-08-10 18:19:10 +00:00
Joas Schilling 22d35db7c5 Merge pull request #33497 from nextcloud/bugfix/noid/only-set-focus-visible-when-not-vue
Do not overwrite the focus-visible of vue apps
2022-08-10 16:13:08 +02:00
Joas Schilling 80402f025d Do not overwrite the focus-visible of vue apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-10 13:03:28 +02:00
John Molakvoæ bda2068ce0 Merge pull request #32830 from nextcloud/feat/workflow-auto-update-command-rebase.yml 2022-08-10 12:46:55 +02:00
Daniel Calviño Sánchez 4c837dadf2 Show usage percenteage in the tooltip
The tooltip of the initial quota display showed the usage percenteage
and the total available space. However, the total available space was
redundant, as it was shown just below. The tooltip of the updated quota
display showed the usage percenteage, but based on the quota rather than
the total available space, so there was a mismatch between the tooltip
and the bar below. Now the tooltip of the initial and the updated quota
display both show just the usage percenteage based on the total
available space.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-10 11:23:27 +02:00
Daniel Calviño Sánchez f6bdaac88e Use total available space rather than quota when updating the display
The initial quota display uses the total available space rather than the
quota. Moreover, the relative usage is based on the total space rather
than the quota. Due to this now the total available space is also used
when updating the quota display.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-10 11:22:50 +02:00
Christoph Wurst d17e0699f3 Merge pull request #33173 from nextcloud/enhancement/maintenance-mode-http-header
Set special header for 503 maintenance mode
2022-08-10 09:16:02 +02:00
Nextcloud bot 54c6d81d36 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-10 02:26:12 +00:00
dependabot[bot] 5036b1fb0d Merge pull request #33473 from nextcloud/dependabot/npm_and_yarn/v-click-outside-3.2.0 2022-08-09 20:29:26 +00:00
dependabot[bot] 95fa9c242d Bump v-click-outside from 3.1.2 to 3.2.0
Bumps [v-click-outside](https://github.com/ndelvalle/v-click-outside) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/ndelvalle/v-click-outside/releases)
- [Commits](https://github.com/ndelvalle/v-click-outside/compare/v3.1.2...v3.2.0)

---
updated-dependencies:
- dependency-name: v-click-outside
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-09 19:16:36 +00:00
dependabot[bot] 95f4881725 Bump @testing-library/user-event from 14.1.1 to 14.4.3
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.1.1 to 14.4.3.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.1.1...v14.4.3)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 18:46:48 +00:00
dependabot[bot] 7ecfa531af Bump bamarni/composer-bin-plugin from 1.8.0 to 1.8.1
Bumps [bamarni/composer-bin-plugin](https://github.com/bamarni/composer-bin-plugin) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/bamarni/composer-bin-plugin/releases)
- [Commits](https://github.com/bamarni/composer-bin-plugin/compare/1.8.0...1.8.1)

---
updated-dependencies:
- dependency-name: bamarni/composer-bin-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 18:44:58 +00:00
Julius Härtl 7992a3ef50 Merge pull request #33485 from nextcloud/bugfix/noid/authtoken-duplicate-update
Do not update passwords if nothing changed
2022-08-09 20:38:55 +02:00
Julius Härtl 9d1ec582ba Do not update passwords if nothing changed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-09 09:35:44 +02:00
Carl Schwan 1405b7a8ca Merge pull request #33442 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-08-09 08:50:00 +02:00
nextcloud-command deeab89c1b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-08-09 04:26:53 +00:00
Nextcloud bot 841efd26a7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-09 02:24:28 +00:00
Joas Schilling 79652a7e15 Merge pull request #33480 from nextcloud/bugfix/noid/fix-workflow-engine-a11y
Fix workflow engine a11y and spacing of icons
2022-08-08 22:06:57 +02:00
Vincent Petry 00a01a1f5b Merge pull request #33174 from nextcloud/fix/redirect-css-not-found
Do not redirect if requested font, style or script can not be found
2022-08-08 17:12:40 +02:00
Vincent Petry cf5b7b1677 Merge pull request #33465 from nextcloud/bugfix/noid/fix-more-icon-color
Fix "More" app icon in dark mode
2022-08-08 17:10:41 +02:00
Carl Schwan d95557e429 Merge pull request #33415 from nextcloud/fix/integration-test-notif
Fix integration tests
2022-08-08 17:06:57 +02:00
Carl Schwan f8b13ecd60 Merge pull request #32363 from nextcloud/cleanup/remove-long-deprecated-classes
Remove OCP\App and OCP\BackgroundJob
2022-08-08 17:05:11 +02:00
Carl Schwan 49334e4d9c Fix many tests and warnings
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-08 17:03:51 +02:00
Carl Schwan 48d9c4d2b0 Port existing server code to new interface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-08 17:03:19 +02:00
Carl Schwan 19a2d6f6e7 Deprecated ILogger from IJob
Since the ILogger will be soon removed we need to ensure that nothing in
the public api use it.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-08 17:03:13 +02:00
Christoph Wurst 0ed987a8dd Set special header for 503 maintenance mode
This removes ambiguity with a 503 returned by app code, web server or
similar. Front-end and clients can then handle this state accordingly.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-08-08 14:26:11 +02:00
Christoph Wurst a1149b0378 Do not redirect if requested CSS can not be found
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-08-08 14:09:58 +02:00
Joas Schilling f47f9c6785 Fix eslint line breaks
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-08 13:41:07 +02:00
Joas Schilling 5c8e949a55 Add empty alt tags for decorative icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-08 13:03:45 +02:00
Joas Schilling fb53842a61 Fix inverting on darkmode and spacing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-08 12:57:14 +02:00
Joas Schilling 05d034a6da Allow to invert when on bright
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-08 12:56:31 +02:00
Vincent Petry fe2f8b5d18 Merge pull request #33357 from nextcloud/external_storage_buttons_a11y
Fix accessibility of buttons in the external storage configuration
2022-08-08 09:21:27 +02:00
Nextcloud bot 18b80a2458 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-08 02:23:27 +00:00
Nextcloud bot ec83ee8fef Update npm and node engines versions
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-07 07:51:26 +00:00
Nextcloud bot 9af2cea9b4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-07 02:28:29 +00:00
rakekniven a3a5ba0474 l10n: Changed grammar
See https://en.wikipedia.org/wiki/32-bit_computing and related articles.

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-08-06 20:01:38 +02:00
Nextcloud bot fd580d0aa2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-06 02:25:10 +00:00
SpamReceiver 506ac1efe0 Solution for #6889
See also: nextcloud/documentation#7046

Signed-off-by: SpamReceiver <spam-receiver@web.de>
2022-08-05 20:28:18 +02:00
Vincent Petry cbd5cef2cc Merge pull request #33398 from nextcloud/enh/noid/sensitive-methods-apps
allow apps to specify methods carrying sensitive parameters
2022-08-05 14:09:55 +02:00
Joas Schilling f41edf26bd Fix "More" app icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-05 11:53:50 +02:00
Nextcloud bot 5f40bd106e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-05 08:58:39 +00:00
Julius Härtl 26cf4e8a12 Merge pull request #33411 from nextcloud/dependabot/npm_and_yarn/puppeteer-15.5.0 2022-08-04 22:28:37 +02:00
Julius Härtl 79e642123b Merge pull request #33448 from nextcloud/bugfix/allow-download-label 2022-08-04 22:24:11 +02:00
dependabot[bot] f64f19be88 Merge pull request #33269 from nextcloud/dependabot/npm_and_yarn/jquery-ui-1.13.2 2022-08-04 18:55:24 +00:00
Julius Härtl 02fd7d2216 Fix label for allow download share permission
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-04 15:21:10 +00:00
Vincent Petry 5d697b54f7 Merge pull request #33447 from nextcloud/bugfix/noid/detect-leading-spaces-in-config
Detect leading spaces in config files
2022-08-04 10:55:12 +02:00
Côme Chilliet 73702e6350 Adapt test to fixed command output.
No user and non-existing user are now correctly treated as two separated
 cases

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-04 10:06:36 +02:00
Côme Chilliet 7e7dcdaf17 Merge pull request #33435 from nextcloud/fix/remove-at-matchers-in-tests
Remove at matchers from tests in oauth2 and tests/Test
2022-08-04 09:58:26 +02:00
Côme Chilliet f30d23b92e Merge pull request #32615 from sleiner/feature/ipv6-cidr-for-trusted-proxies
Support specifying IPv6 proxies in CIDR notation
2022-08-04 09:50:14 +02:00
Vincent Petry f421c7a69e Merge pull request #32852 from nextcloud/revert-revert-federation-performance-issues
Revert "Revert "Remove inefficient fed share scanner""
2022-08-04 09:41:19 +02:00
Lukáš Tyrychtr d760cde535 Fix accessibility of buttons in the external storage configuration
Note that there is no keyboard only way to close the dropdown

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-03 19:33:12 +00:00
Vincent Petry 392b08d761 Merge pull request #33451 from nextcloud/update-node-workflow-better-error-messages
Update node workflow for better error messages
2022-08-03 18:04:28 +02:00
Robin Appelman 8367b99c59 fix external share scanner not propagating locking-opt-out
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-03 17:12:30 +02:00
Carl Schwan ba3f5337f3 First first run wizzard
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-03 15:51:02 +02:00
Vincent Petry b5895459c9 Update node workflow for better error messages
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03 15:23:20 +02:00
Carl Schwan 6ba9a4a752 Disable locking on federated shares
The old inneficiant code didn't do locking and adding locking is
creating issues

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-03 15:17:55 +02:00
Carl Schwan fa48430feb Revert "Revert "Remove inefficient fed share scanner""
This reverts commit 6667007bf2.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-03 15:17:51 +02:00
Mikhail Sazanov 458f1b0c03 Add URI type to VCard
Signed-off-by: Mikhail Sazanov <m@sazanof.ru>
2022-08-03 13:07:26 +03:00
Vincent Petry 89cb450c84 Detect leading spaces in config files
Because those will cause PHP to output to stdout and will cause
unrelated error messages.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03 10:51:10 +02:00
Simon Leiner 09362eaeaa Support specifying IPv6 proxies in CIDR notation
Previously, it was not possible to use CIDR notation for IPv6 proxies
in the trusted_proxies parameter of config.php [1]. This patch adds
support for that.

[1]: https://docs.nextcloud.com/server/24/admin_manual/configuration_server/reverse_proxy_configuration.html#defining-trusted-proxies

Signed-off-by: Simon Leiner <simon@leiner.me>
2022-08-02 17:36:47 +02:00
Julius Härtl 9475cc02b2 Merge pull request #32958 from nextcloud/fix/noid/permission-update-allow-public-uploads 2022-08-02 16:49:27 +02:00
Côme Chilliet 5cce1dfc60 Merge pull request #33425 from nextcloud/fix/fix-dynamic-properties-in-tests
Fix dynamic property creations in test files
2022-08-02 16:01:09 +02:00
Vincent Petry 6aec09e0c5 Merge pull request #33428 from nextcloud/improve-accessibility-device
Improve Devices & sessions settings
2022-08-02 15:33:19 +02:00
Côme Chilliet 539162ba8b Remove at matchers from tests in:
* apps/oauth2
* tests/Test/Repair/Owncloud

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-02 15:27:52 +02:00
Vincent Petry fbc6000913 Merge pull request #33432 from nextcloud/nickvergessen-patch-1
Remove "needs info" label when the issue is not stale anymore
2022-08-02 14:53:34 +02:00
Côme Chilliet 7ae6791737 Document all getIncomplete implementations as returning string|false
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-02 14:23:14 +02:00
Côme Chilliet b20278f708 Fix encryption:fix-encrypted-version command when encrypted is set to 0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-02 12:47:26 +02:00
Côme Chilliet bd467e5d66 Improve typing in FixEncryptedVersion command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-02 12:11:15 +02:00
Joas Schilling b6f23ce9b4 Remove "needs info" label when the issue is not stale anymore
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-08-02 11:33:20 +02:00
Côme Chilliet 262f7d92f0 Remove broken function resetStorage from test cases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-02 09:19:09 +02:00
Julien Veyssier acc68e9f93 fix share manager tests
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-08-02 01:35:10 +02:00
Carl Schwan 256c78374f Improve Devices & sessions settings
- Add label for better accessibility
- Only allow to add app token with a name
- Align in rows

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-02 00:38:28 +02:00
Julius Härtl e750137a9a Merge pull request #33405 from nextcloud/perf/new-index-mounts-class 2022-08-01 21:27:09 +02:00
Côme Chilliet cb271b759e Fix dynamic property creations in test files
This fixes warnings in PHP 8.2

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-01 15:07:53 +02:00
Julien Veyssier e251e0c314 don't reduce file public link permissions if public upload is not enabled
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-08-01 15:00:51 +02:00
Marcel Klehr 047cc708d4 DB mounts table: Add index for mount_provider_class
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-08-01 14:27:34 +02:00
Carl Schwan a24ed79f85 Fix integration tests
The html tags changed in the notification apps, adapt selector to the
new state

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-01 12:38:19 +02:00
Carl Schwan 458c2fa297 Remove OCP\App and OCP\BackgroundJob
Both deprecated since NC 23

IAppManager is the replacement for OCP\App unfortunately it can't be
dependency injected in classes used by the installed otherwise the
database connection is initialised too early

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-01 09:46:40 +02:00
Carl Schwan f74e89bde5 Merge pull request #32482 from nextcloud/enh/noid/share-attributes
Add share attributes + prevent download permission
2022-08-01 09:44:31 +02:00
Carl Schwan 7b723813ce Multiple fixes
- Fix tests
- Use non deprecated event stuff
- Add a bit of type hinting to the new stuff
- More safe handling of instanceOfStorage (share might not be the first
  wrapper)
- Fix resharing

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-31 19:37:59 +02:00
dependabot[bot] 53d22ab187 Bump puppeteer from 14.1.0 to 15.5.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 14.1.0 to 15.5.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v14.1.0...v15.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-30 01:03:08 +00:00
Paweł Bogusławski a850424b1b Update Folder.php
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-07-29 13:34:00 +02:00
Paweł Bogusławski 097b78594a Update Folder.php
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-07-29 13:34:00 +02:00
Paweł Bogusławski 04baf69fea Update lib/private/Files/Node/Folder.php
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-07-29 13:34:00 +02:00
Pawel Boguslawski 9eb1a92fa4 Paths added to messages and message cleanup
This mod adds path to error messages. Without it it's difficult for example
to find what path causes permission problems.

Related: https://help.nextcloud.com/t/ocp-files-notpermittedexception-could-not-create-folder/133818
Related: https://help.nextcloud.com/t/could-not-create-folder-false-error/65962/
Author-Change-Id: IB#1121253
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-07-29 13:34:00 +02:00
Carl Schwan 952acd4d27 Merge pull request #33225 from nextcloud/fix/handle-one-time-passwords
Handle one time password better
2022-07-29 12:26:52 +02:00
Arthur Schiwon 6941c91531 add unit test for ExceptionSerializer
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-29 12:07:41 +02:00
Arthur Schiwon 2a6f46e689 allow apps to specify methods carrying sensitive parameters
… in order to remove them from logging.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-28 23:30:17 +02:00
dependabot[bot] 2ad99b766c Bump jquery-ui from 1.13.1 to 1.13.2
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.1...1.13.2)

---
updated-dependencies:
- dependency-name: jquery-ui
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-28 18:15:58 +00:00
Xavierando 3a4c194f4c Update sharing.php 2022-07-28 18:03:22 +02:00
Carl Schwan ab1a20522b Enforcing permission during resharing
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-28 16:54:13 +02:00
Vincent Petry bbb5043c07 Inherit hide download from share attributes
When resharing by link, if the download permission was removed through
share attributes, convert it to the hide download flag.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:54:13 +02:00
Vincent Petry 3cfb4cbf94 Block download when needed on direct download endpoint
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:54:13 +02:00
Vincent Petry 2ee659e547 Fix view-only code after code review comments
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:24 +02:00
Julius Härtl 2fb7a1feeb Fix adding to empty attributes and duplicate request
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-28 16:53:23 +02:00
Vincent Petry a11c6e7cc3 Add share attrs + download permission support in frontend
Added download permission checkbox in frontend
Added share attributes parsing and setting in frontend.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:23 +02:00
Vincent Petry 92e60e3858 Add nc:share-attributes Webdav property
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:23 +02:00
Vincent Petry 54a0d8fe64 Don't reset share attributes when not specified
When not specified in the OCS call, don't reset the share attributes.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:23 +02:00
Vincent Petry dbbc426f75 Attempt to fix sqlite json issue
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:23 +02:00
Vincent Petry 03b1791cca Fix share attribute related tests + code style
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:22 +02:00
Vincent Petry 9493f86de3 Fix share controller to accept share attributes alone
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:22 +02:00
Vincent Petry a95c19e14b Add share attributes + prevent download permission
Makes it possible to store download permission

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:22 +02:00
Julia Kirschenheuter 532ea001a5 Merge pull request #33394 from nextcloud/fix/fix-370-Label_not_connected_to_form-element_in_file_listing
Connect ```input``` checkbox with corresponding file name via ```aria-describedby```
2022-07-28 15:59:47 +02:00
Carl Schwan 702445ba3b Handle one time password better
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-28 14:26:25 +02:00
julia.kirschenheuter ef3fb28446 Connect ``input` checkbox with corresponding file name via `aria-describedby``
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2022-07-28 14:20:32 +02:00
Louis ee23f41abe Merge pull request #33385 from nextcloud/fix/transfer-aria-label-from-nav-settings-to-settings-icon
Transfer `aria-label` from nav settings menu to settings menu icon-button
2022-07-28 14:11:13 +02:00
Vincent Petry 7566692e3b Merge pull request #33081 from nextcloud/techdebt/noid/ocp-security-bruteforce-ithrottler
Add a public interface for the bruteforce throttler and register for …
2022-07-28 13:34:55 +02:00
Vincent Petry a1bf9b9757 Merge pull request #33280 from nextcloud/externalStorageWithoutVersioning
handle AccessDenied error when checking if external s3 support versions
2022-07-28 12:13:43 +02:00
julia.kirschenheuter f22427be89 Transfer aria-label from nav settings menu to settings menu icon-button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2022-07-28 11:20:34 +02:00
Matthieu Gallien 54c05bcdb9 handle AccessDenied error when checking if external s3 support versions
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-07-28 09:20:12 +00:00
Louis d2d408bba7 Merge pull request #33299 from nextcloud/fix/files-dark-color-theme
[files app]: Fix dark color mode detection for filelist
2022-07-28 11:04:16 +02:00
Joas Schilling c0f47af2d0 Add a public interface for the bruteforce throttler and register for injection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-28 10:57:10 +02:00
Côme Chilliet 472f4cad47 Merge pull request #33380 from luzpaz/fix/lib-private-typos
Fix typos in lib/private subdirectory
2022-07-28 09:17:48 +02:00
dependabot[bot] 97e88f34e9 Merge pull request #32244 from nextcloud/dependabot/npm_and_yarn/core-js-3.22.3 2022-07-27 20:53:11 +00:00
dependabot[bot] ef7ffa5157 Bump core-js from 3.22.0 to 3.22.3
Bumps [core-js](https://github.com/zloirock/core-js) from 3.22.0 to 3.22.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.22.0...v3.22.3)

---
updated-dependencies:
- dependency-name: core-js
  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>
2022-07-27 20:16:28 +00:00
Julius Härtl 365df8999d Merge pull request #33386 from nextcloud/fix/noid/delete-user-value 2022-07-27 18:31:01 +02:00
Vincent Petry 3094ee94fe Merge pull request #33379 from nextcloud/techdebt/noid/goodbye-legacy-ids
Remove more legacy ids
2022-07-27 17:14:46 +02:00
Vincent Petry a02dee7c69 Merge pull request #32956 from nextcloud/fix/upload-folder-wrong-content
Handle file contained inside the uploads folder
2022-07-27 17:06:39 +02:00
Anna Larch 2988efeb7f Add logging to federation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-07-27 15:00:38 +00:00
Julien Veyssier 361e69f19f fix mistake in db query to delete a user config value
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-07-27 16:45:10 +02:00
Daniel d24823bda5 Merge pull request #33378 from nextcloud/s3-no-null-bundle
don't set `null` as a bundle path
2022-07-27 15:43:08 +02:00
luz paz 368f83095d Fix typos in lib/private subdirectory
Found via `codespell -q 3 -S l10n -L jus ./lib/private`

Signed-off-by: luz paz <luzpaz@github.com>
2022-07-27 08:52:17 -04:00
Vincent Petry 3e9c52ae5f Merge pull request #33316 from nextcloud/bugfix/noid/aria-label-share-link-buttons
Accessible names for share panel buttons
2022-07-27 14:31:48 +02:00
Vincent Petry 00066cbeaf Remove more legacy ids
Remove more unused legacy ids from early ownCloud times.

This reduces the number of duplicate ids in the DOM.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-27 14:29:26 +02:00
Vincent Petry fc276ba42f Merge pull request #33373 from nextcloud/techdebt/noid/remove-legacy-dir
Remove legacy #dir element in files list
2022-07-27 13:44:52 +02:00
Simon L dd6713ff10 Merge pull request #33368 from luzpaz/fix/apps-dav-typos
Fix typos in apps/dav subdirectory
2022-07-27 13:02:44 +02:00
Robin Appelman 61fdd91dcf don't set null as a bundle path
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-07-27 12:58:07 +02:00
Carl Schwan 791a18246f Merge pull request #33265 from nextcloud/fix/carl/login-boxes
Redesign guest pages for better accessibility
2022-07-27 12:37:13 +02:00
Louis 5edab673a7 Merge pull request #33300 from nextcloud/fix/dashboard-dark-color-theme
dashboard: Fix dark theme detection
2022-07-27 11:29:30 +02:00
Carl Schwan 3fa6ee3c60 Fix login flow
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 11:29:12 +02:00
Carl Schwan bbfad33a40 Fix caldav invitation related public pages
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 10:43:22 +02:00
Carl Schwan 253118298d Redesign guest pages for better accessibility
- Use white box and put content on it
- Improve focus indicator

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 10:43:21 +02:00
Vincent Petry 8be9b04981 Remove legacy #dir element in files list
Removed legacy "#dir" input element in the DOM.

Apps should use OCA.Files.App.currentFileList or
OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to
retrieve the current directory and changeDirectory() to change it.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-27 10:23:44 +02:00
Vincent Petry 5a236762b8 Merge pull request #33307 from nextcloud/bump/nextcloud-dialogs-3.1.2-to-3.1.4
Bump nextcloud-dialogs from 3.1.2 to 3.1.4
2022-07-27 09:27:50 +02:00
Vincent Petry 1cf6839a3a Merge pull request #33271 from nextcloud/enh/a11y-new-file-menu
Use explicit name for new file/folder menu
2022-07-27 09:23:50 +02:00
luz paz d4637ef4d8 Fix typos in apps/dav subdirectory
Found via `codespell -q 3 -S l10n -L jus ./apps/dav`

Signed-off-by: luz paz <luzpaz@github.com>
2022-07-26 17:40:10 -04:00
Vincent Petry 8e1240add8 Bump nextcloud-dialogs from 3.1.2 to 3.1.4
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-26 23:32:07 +02:00
Vincent Petry 9746229558 Merge pull request #30030 from nextcloud/fexists
Fix disabled `php_uname`
2022-07-26 23:10:12 +02:00
Vincent Petry cb9f3423e2 Merge pull request #30510 from nextcloud/user-cleanup-storage-before-cache
delete files before cleaning cache when cleaning user files
2022-07-26 23:08:04 +02:00
Vincent Petry 4a8cbb82fd Accessible names for share panel buttons
Added aria-label for the buttons on the share panel.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-26 23:03:38 +02:00
Vincent Petry ac4e60e6f4 Merge pull request #33361 from nextcloud/techdebt/noid/further-cleanup
Further markup cleanup
2022-07-26 22:34:27 +02:00
Anna 5671abd168 Merge pull request #33251 from cneukom/feature/birthday-calendar-reminder-settings
Birthday Calendar Reminder Setting
2022-07-26 20:59:33 +02:00
Pytal 072a0c6227 Merge pull request #33360 from nextcloud/adjust-acceptance-tests-to-changes-in-sharing-tab 2022-07-26 10:51:21 -07:00
blizzz 25d2099fce Merge pull request #33341 from nextcloud/fix/29617/no-purge-when-birthday-calendar-doesnt-exist
Don't try to purge objects from the birthday calendar when it doesn't exist
2022-07-26 19:22:56 +02:00
Vincent Petry bbe99e65e7 Merge pull request #32733 from nextcloud/dependabot/npm_and_yarn/underscore-1.13.4
Bump underscore from 1.12.0 to 1.13.4
2022-07-26 18:05:03 +02:00
Vincent Petry 1daf4de5ed Merge pull request #33358 from nextcloud/techdebt/noid/remove-old-notification-container
Remove obsolete notification container
2022-07-26 18:01:45 +02:00
Louis a32de93c1e Merge pull request #31728 from nextcloud/bugfix/30791/update-subshare-owner-on-move
Update owner of subdir on move into/out of share
2022-07-26 17:11:07 +02:00
Vincent Petry b896cd7f01 Add missing closing spans and avoid empty href
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-26 14:00:12 +00:00
Vincent Petry 255d22fa71 Remove obsolete notification container
The future is TOAST 🍞

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-26 13:54:24 +00:00
Vincent Petry 3df85205b4 Fix core tests by stubbing debounce
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-26 15:46:17 +02:00
Vincent Petry 32c61539e5 Removed id=modified in files app
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-26 15:34:00 +02:00
Daniel Calviño Sánchez 525cf58735 Adjust acceptance tests to changes in sharing tab
The name of the user shared with is now marked with a "span" rather than
with "h5".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-07-26 15:13:18 +02:00
dependabot[bot] 7566b305d7 Bump underscore from 1.12.0 to 1.13.4
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.12.0 to 1.13.4.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.12.0...1.13.4)

---
updated-dependencies:
- dependency-name: underscore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-26 13:10:22 +00:00
Louis Chemineau f525067930 Add argument to getSharesInFolder enable deep share lookup
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-07-26 12:17:46 +00:00
Louis Chemineau 256ed34b7e Skip testMovedIntoShareChangeOwner
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-07-26 12:17:46 +00:00
Louis Chemineau 0fb4ecadae Recursively fetch subshares
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-07-26 12:17:46 +00:00
Vincent Petry b513ac51fb Int test for share owner change on move
Added tests to verify share owner change when moving the parent of a
subshare in and out of a received share.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-26 12:17:46 +00:00
Louis Chemineau 13e7ebbe4b Change share owner when moving share out of share
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-07-26 12:17:46 +00:00
Louis Chemineau ce7b6ffed2 Prevent column name conflict between tables
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-07-26 12:17:46 +00:00
Vincent Petry 8ca910976d Update owner of subdir on move into/out of share
When moving a directory into or out of a received share, make sure to
also update the share owner column for shares that exist insie the
directory.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-26 12:17:46 +00:00
Louis Chemineau 8967602470 Test moving share in and out of another share
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-07-26 12:17:46 +00:00
Ferdinand Thiessen 800f6b350e dashboard: Fix dark theme detection
When system default color theme is selected for theming,
the enabledThemes array is empty or just contains one entry 'default',
in this case the color theme has to be retrieved from the browser.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-26 11:54:35 +00:00
Vincent Petry b4353c4651 Merge pull request #33320 from nextcloud/bugfix/noid/remove-files-duplicate-dom-ids
Replace files app ids to classes
2022-07-26 12:21:13 +02:00
Ferdinand Thiessen e4c825e583 files: Fix colormode detection for filelist
When system default color theme is selected for theming, the `enabledThemes` array
is empty or just contains on entry `'default'`, in this case the color theme has
to be retrieved from the browser to ensure text like the modified date is readable.

This fixes #33298

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-07-26 12:19:42 +02:00
Côme Chilliet 7615536977 Merge pull request #33031 from nextcloud/fix/improve-local-ip-detection
Improve local IP detection
2022-07-26 11:39:32 +02:00
Simon L 9f77aba9fa Merge pull request #33166 from Lukasdoe/master
Add button disable on submit for login grant
2022-07-26 10:21:19 +02:00
Vincent Petry bb2557c389 Replace files app ids to classes
Replaced ids to classes for the following:

- #filestable -> .files-filestable
- #fileList -> .files-fileList
- #controls -> .files-controls
- #emptycontent -> .emptyfilelist.emptycontent

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-26 10:19:19 +02:00
Joas Schilling a9c23e1afb Merge pull request #33315 from nextcloud/bugfix/33314/allow-reseting-status-only-with-message-id
Reset user status based on message ID only
2022-07-26 10:11:51 +02:00
Vincent Petry 623d53315b Merge pull request #33206 from nextcloud/enh/27869/consolidate
Consolidate account property getters
2022-07-26 09:13:24 +02:00
Nextcloud bot 1b7c5c941a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-26 02:26:49 +00:00
Pytal add31881d4 Merge pull request #33334 from nextcloud/bugfix/appmenu-text 2022-07-25 11:50:49 -07:00
Thomas Citharel 554e2dce48 Don't try to purge objects from the birthday calendar when it doesn't exist
Doesn't matter much as it's been recreated afterwards with (ensureCalendarExists).

Closes #29617

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-25 17:56:24 +02:00
blizzz bbe15b4b43 Merge pull request #33129 from nextcloud/fix-reading-blob-as-resources
Fix reading blob data as resource
2022-07-25 17:56:03 +02:00
blizzz c523fd1ed7 Merge pull request #33342 from nextcloud/bugfix/delete-comments-that-have-expired-now
Delete comments that expired now
2022-07-25 17:46:41 +02:00
Vitor Mattos 7a0648757a Delete comments that expired now
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-07-25 11:30:20 -03:00
Lukas Döllerer 1a817453a2 Add button disable on submit for login grant
Signed-off-by: Lukas Döllerer <info@lukas-doellerer.de>
2022-07-25 16:19:35 +02:00
Carl Schwan 6206b312b2 Merge pull request #33338 from nextcloud/fix/contrast-search-icon
Fix contrast of the search icon
2022-07-25 15:29:02 +02:00
Carl Schwan 9d8870eede Fix contrast of the search icon
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-25 12:48:35 +02:00
Vincent Petry 0a956e2b95 Merge pull request #33321 from nextcloud/bugfix/noid/fix-sharing-lighthouse-issues
Fix sharing panel lighthouse warnings
2022-07-25 11:41:05 +02:00
Thomas Citharel 1d30fb7852 Fix reading blob data as resource
PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB
(which is used for QBMapper).

Previously we just converted this resource using settype, which produced
things like "Resource id #14" instead of the actual resource data.

Now we read the stream correctly if the returned data is a resource

See context at #22472

Fixes #22439

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-25 09:45:47 +02:00
Julius Härtl d98f512007 Make sure app menu text opacity matches the icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-25 08:49:46 +02:00
Nextcloud bot 35a6f54bcd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-25 02:27:10 +00:00
Daniel Calviño Sánchez 393c891421 Fix handling of internal errors when uploading theming files
When a file can not be uploaded in the Theming app due to an expected
error (like an invalid mime type) the response contains a "data.message"
field. However, if the upload fails due to an unexpected error (like an
internal error, for example if the "mime_content_type" function is
disabled) there is no such field, so it should not be used.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-07-24 22:22:28 +02:00
Nextcloud bot 051518cd63 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-24 02:27:42 +00:00
Nextcloud bot 7641818ec6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-23 02:26:18 +00:00
blizzz c73fd32206 Merge pull request #33324 from nextcloud/fix/noid/controller_tests
fix Controller tests
2022-07-23 00:12:51 +02:00
blizzz 4ced3a4518 Merge pull request #32869 from nextcloud/dav-no-deleted-user-activities
Avoid calendar & addressbook activities being created on user being deleted
2022-07-23 00:01:30 +02:00
blizzz 7e13eec524 Merge pull request #33308 from nextcloud/fs-setup-builtin-wrappers
always triger setup of builtin storage wrappers
2022-07-22 22:20:43 +02:00
Arthur Schiwon b3b6f2d581 fix Controller tests
- added pageTitle in code was missing in expectations
- fixed warnings of superflouos parameter
- fixed wrong type of mock

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-22 22:15:41 +02:00
Vincent Petry b7ae7393e9 Recompilation attempt with updated npm
node v14.20.0
npm 8.15.0

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-22 17:17:10 +00:00
Vincent Petry be6285acf6 Fix sharing panel lighthouse warnings
Replaced h5 with span and adjusted selectors.
Fixed ul/li hierarchy of some elements.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-22 17:49:55 +02:00
Vincent Petry 6f0ae0b95f Merge pull request #33306 from nextcloud/bugfix/32350/rename-files-settings
Rename files settings on the bottom left
2022-07-22 11:44:00 +02:00
Joas Schilling 9a9db2802b Reset user status based on message ID only
Since some statuses (call) can occure with different status
(away and dnd) we need to reset only based on the message id.
But as it can not be set by the user this is still save and okay.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-22 11:02:37 +02:00
Nextcloud bot 7e05efd352 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-22 02:25:14 +00:00
Robin Appelman 13eef55a92 always triger setup of builtin storage wrappers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-07-21 16:36:32 +02:00
Vincent Petry 6c42874f04 Merge pull request #33297 from nextcloud/fix/filepicker-new-button
FilePicker: Hide `newButton` outline if only picking is allowed
2022-07-21 15:56:34 +02:00
Vincent Petry 2abf426211 Change casing of settings label
Co-authored-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-21 15:55:50 +02:00
Vincent Petry 61e40954e0 Rename files settings on the bottom left
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-21 14:30:34 +02:00
Vincent Petry 58a2989c4a Merge pull request #33281 from nextcloud/enh/a11y-login-page-title
Identify the login page explicitly by the page title
2022-07-21 14:12:39 +02:00
Carl Schwan bff1e9a9f5 Merge pull request #32646 from jld3103/fix/user-status-heartbeat-api
Make user status heartbeat API publicly accessible
2022-07-21 13:59:51 +02:00
Vincent Petry f98251d2c3 Merge pull request #33304 from jld3103/feature/neon-user-agent
Add Neon user-agent
2022-07-21 13:42:58 +02:00
jld3103 3e7a36b309 Make user status heartbeat API publicly accessible
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2022-07-21 13:07:34 +02:00
jld3103 6c2ea4b29c Add Neon user-agent
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2022-07-21 12:39:44 +02:00
Vincent Petry afedfad499 Merge pull request #33293 from nextcloud/last-login-minute
only update last login timestamp with minute percision
2022-07-21 09:41:21 +02:00
Vincent Petry 33a9c7ff26 Merge pull request #33287 from nextcloud/bugfix/focus-outline-bubble-menu
Add legacy popover focus outline
2022-07-21 09:40:16 +02:00
Nextcloud bot 82f0b266ec [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-21 02:26:49 +00:00
Christopher Ng 34308087d6 Consolidate account property getters
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-21 01:14:23 +00:00
Pytal ea73f661e6 Merge pull request #33242 from nextcloud/enh/email-material-icons 2022-07-20 18:04:40 -07:00
Christopher Ng ecdde8dd5c Use material design icons in Email component
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-21 00:05:13 +00:00
Christopher Ng 92500e810f Identify the login page explicitly by the page title
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-20 23:55:50 +00:00
Ferdinand Thiessen 003c76cca2 FilePicker: Hide also outline of new button if type is CHOOSE
If the filepicker mode is set to `FILEPICKER_TYPE_CHOOSE`
currently only the button but not the outline of it is hidden.

This also hides the outline to fix #33142

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-20 18:03:53 +00:00
Robin Appelman 9e34a21129 only update last login timestamp with minute percision
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-07-20 16:43:42 +02:00
Vincent Petry de08b53b4e Merge pull request #33266 from nextcloud/bugfix/noid/skip-content-public
Add skip content buttons to the public page layout
2022-07-20 14:45:35 +02:00
Julius Härtl e165564607 Add legacy popover focus outline
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-20 08:43:03 +02:00
Julius Härtl f24ce9b530 Merge pull request #33286 from nextcloud/dependabot/npm_and_yarn/terser-4.8.1
Bump terser from 4.8.0 to 4.8.1
2022-07-20 07:20:29 +02:00
dependabot[bot] cfd90623df Bump terser from 4.8.0 to 4.8.1
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 02:36:12 +00:00
Nextcloud bot ab64101fb3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-20 02:25:44 +00:00
Christopher Ng 2f6ab45302 Buttonify comment posting
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-19 18:04:00 +00:00
Vincent Petry 047acc32ad Merge pull request #33260 from nextcloud/fix/carl/quota
Fix quota nav item
2022-07-19 10:36:20 +02:00
Julius Härtl 796d6b0dc7 Merge pull request #33270 from nextcloud/fix/noid/location-legacy-appfile
fix loading legacy app.php with multi app dir
2022-07-19 08:15:13 +02:00
Julius Härtl 9e3c8b6708 Merge pull request #33267 from nextcloud/bugfix/noid/button-hover
Use hover css variable for primary buttons
2022-07-19 08:14:54 +02:00
Nextcloud bot 1e9f071ced [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-19 02:25:49 +00:00
dependabot[bot] 6719a8d6f4 Merge pull request #33268 from nextcloud/dependabot/composer/bamarni/composer-bin-plugin-1.8.0 2022-07-18 23:24:17 +00:00
Christopher Ng 7d95678490 Use explicit name for new file/folder menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-18 18:28:28 +00:00
Arthur Schiwon 0f2e75a6ce fix loading legacy app.php with multi app dir
- requireAppFile() only appends /appinfo/app.php
- without the absolute path, require_once looks into include_path
- the first match in inlcude_path however migth be different from appPath
- fixed by providing the tested(!), full path to the app


Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-18 20:19:02 +02:00
Pytal 42bcbe269f Merge pull request #33246 from nextcloud/bugfix/noid/dark-primary-light 2022-07-18 10:43:36 -07:00
dependabot[bot] 0bddfb596c Bump bamarni/composer-bin-plugin from 1.5.0 to 1.8.0
Bumps [bamarni/composer-bin-plugin](https://github.com/bamarni/composer-bin-plugin) from 1.5.0 to 1.8.0.
- [Release notes](https://github.com/bamarni/composer-bin-plugin/releases)
- [Commits](https://github.com/bamarni/composer-bin-plugin/compare/v1.5.0...1.8.0)

---
updated-dependencies:
- dependency-name: bamarni/composer-bin-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 16:58:24 +00:00
Pytal d07b78635e Merge pull request #33240 from nextcloud/fix/login-input-focus 2022-07-18 09:54:22 -07:00
Julius Härtl 9e0d6f5608 Use hover css variable for primary buttons and add proper focus outline
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-18 18:24:26 +02:00
Julius Härtl e3dc796e5d Add skip content buttons to the public page layout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-18 18:00:22 +02:00
Julius Härtl d5437e2a30 Merge pull request #33255 from nextcloud/fix/login-password-translation
LoginForm: Fix password label translation call
2022-07-18 14:34:31 +02:00
Carl Schwan 0703d0fc6b Fix quota nav item
- Spacing was not correctly set

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-18 13:55:36 +02:00
Carl Schwan 6c3c7a5e4d Merge pull request #32981 from nextcloud/typing/carl/simplefs
Add typing to SimpleFS
2022-07-18 12:34:11 +02:00
Marcel Klehr c991089bfc LoginForm: Fix password label translation call
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-18 10:29:31 +00:00
blizzz 929aaaa129 Merge pull request #27929 from nextcloud/enh/allowSsoToProvideSecret
Allow SSO authentication to provide a user secret
2022-07-18 11:50:43 +02:00
Carl Schwan 6a6ce39d0b Merge pull request #32521 from nextcloud/cleanup/oauth2-admin-setting
Cleanup oauth2 admin settings
2022-07-18 11:47:53 +02:00
Carl Schwan f6b37e6912 Merge pull request #33064 from nextcloud/feat/capped-memorycache-ocp
Move CappedMemoryCache to OCP
2022-07-18 10:32:11 +02:00
Daniel 52dc51cde3 Merge pull request #32963 from nextcloud/s3-crt-bundle-download
also use nextcloud certificate bundle when downloading from s3
2022-07-18 09:51:19 +02:00
Vincent Petry 9457ec8d49 Merge pull request #33247 from nextcloud/bugfix/noid/skip-button-ids
Allow to override #app-content and #app-navigation hrefs for content skipping
2022-07-18 09:24:57 +02:00
Nextcloud bot e66ef21550 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-18 02:24:57 +00:00
Cédric Neukom 9eb276b20b fix possibly null variables
Signed-off-by: Cédric Neukom <github@webguy.ch>
2022-07-17 18:36:06 +02:00
Cédric Neukom 483549d22a Respect user settings when generating alerts for birthday calendar
Signed-off-by: Cédric Neukom <github@webguy.ch>
2022-07-17 14:51:46 +02:00
Nextcloud bot 10bf7fa26b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-17 02:24:42 +00:00
Julius Härtl 87320cba99 Fix styling for single skip buttons globally
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-16 10:17:15 +02:00
Julius Härtl ca0435382d Allow to override #app-content and #app-navigation hrefs for content skipping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-16 10:00:53 +02:00
Julius Härtl 3f63724c2d Properly set --color-primary-light-hover on dark themes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-16 09:47:22 +02:00
Nextcloud bot a9c9536a07 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-16 02:25:37 +00:00
Christopher Ng d2854c4e5a Fix login input focus border
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-15 17:16:21 +00:00
Carl Schwan 16b06dd758 Merge pull request #33238 from nextcloud/bugfix/noid/fix-html-validation-of-material-design-icons
Fix html validation of material design icons
2022-07-15 13:48:02 +02:00
Joas Schilling ecb30a22f2 Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-15 09:15:24 +02:00
Joas Schilling def9e25967 Fix HTML validation of material design icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-15 09:12:10 +02:00
Nextcloud bot 78d966c935 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-15 02:27:37 +00:00
Pytal 4832853f65 Merge pull request #33222 from nextcloud/bugfix/noid/fix-translation-of-user-exists-error 2022-07-14 10:57:30 -07:00
Joas Schilling 9671a8d5f8 Merge pull request #33235 from nextcloud/bugfix/noid/fix-duplicate-id-hole
Fix duplicate id "hole"
2022-07-14 18:06:46 +02:00
Carl Schwan 19a36b58a6 Add typing to SimpleFS
- Fix putContent sometimes return a bool and sometimes nothing

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-14 17:20:51 +02:00
Joas Schilling a90913ac98 Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-14 15:58:33 +02:00
Carl Schwan d5c23dbb9f Move CappedMemoryCache to OCP
This is an helpful helper that should be used in more place than just
server and this is already the case with groupfodlers, deck, user_oidc
and more using it, so let's make it public

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-14 15:54:31 +02:00
Joas Schilling 1ad24d22df Fix duplicate id "hole"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-14 14:36:56 +02:00
Carl Schwan 53db418ee9 Cleanup oauth2 admin settings
- Use more vue components
- Add link to doc

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-14 12:16:13 +02:00
Joas Schilling 0e7647c2eb Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-14 10:30:59 +02:00
Joas Schilling ba9815fbe1 Translate error when user already exists
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-14 10:22:41 +02:00
Carl Schwan fc9a644bb5 Merge pull request #33214 from nextcloud/fix/bump-sabre/dav-to-4.4.0
Bump sabre/dav to 4.4.0
2022-07-14 10:14:42 +02:00
Carl Schwan 8fecbf86ec Merge pull request #33220 from nextcloud/bugfix/noid/fix-settings-icon-color
Fix settings icon color
2022-07-14 10:14:17 +02:00
Nextcloud bot d3f66e2310 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-14 02:25:22 +00:00
Simon L 6d2952d059 Merge pull request #33230 from nextcloud/enh/noid/64bit-setup-check-link
add a link to system requirements for new 64bit setup check
2022-07-14 01:13:56 +02:00
szaimen c1b88f927e add a link to system requirements for new 64bit setup check
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: MichaIng <micha@dietpi.com>
2022-07-13 22:16:42 +02:00
Simon L 9dbcf0560f Merge pull request #33200 from nextcloud/enh/noid/64bit
add a setup check for 64 bit
2022-07-13 20:19:40 +02:00
Carl Schwan d7bd6f0e2a Merge pull request #32506 from nextcloud/port/vue-encryption
Port encryption admin settings to vue
2022-07-13 18:31:04 +02:00
Côme Chilliet 62ab824886 Bump sabre/dav to 4.4.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-13 17:19:21 +02:00
Carl Schwan 4e0574e184 Port encryption admin settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-13 14:58:55 +02:00
Joas Schilling df74c7a337 Fix settings icon color
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-13 12:09:36 +02:00
Joas Schilling 62fad0972d Merge pull request #33219 from nextcloud/bump-version
Bump version
2022-07-13 11:39:10 +02:00
szaimen cf9b1082ed add a setup check for 64 bit
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-07-13 09:33:33 +00:00
Simon L 22de243247 Merge pull request #33202 from nextcloud/enh/noid/bug-report-64bit
document the 64bit requirement in the bug report template
2022-07-13 11:25:20 +02:00
Joas Schilling 04d5c7b37f Bump version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-13 10:18:07 +02:00
Daniel 929adb6aba Merge pull request #33218 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-07-13 10:03:32 +02:00
nextcloud-command 5ad017447b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-07-13 04:22:56 +00:00
Nextcloud bot 0607904bb9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-13 02:24:50 +00:00
MichaIng 21b3e87c77 Allow SSO authentication to provide a user secret
Implementing PR #24837 from immerda

Signed-off-by: MichaIng <micha@dietpi.com>
2022-07-12 19:19:00 +02:00
Côme Chilliet c20d34b2ca Merge pull request #32552 from nextcloud/enh/improve-job-handling-commands
Improve job handling through occ
2022-07-12 16:04:57 +02:00
Jonas 6527e82cbd Merge pull request #33211 from nextcloud/fix/setupmanager_circle_events
Fix listening for circle events in SetupManager
2022-07-12 15:47:17 +02:00
Côme Chilliet f0824af21a Merge pull request #33186 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-07-12 14:28:54 +02:00
Jonas 74e9ef0fb1 Fix listening for circle events in SetupManager
So far, SetupManager listened for deprecated events that are no longer
triggered. Instead, use the circle events that actually get triggered
when adding or removing a circle or circle member. Also, these events
get triggered on each instance of a globalscale setup.

Fixes: #33210

Signed-off-by: Jonas <jonas@freesources.org>
2022-07-12 13:28:21 +01:00
Côme Chilliet 0386f4270b Fix DummyJobList typing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-12 14:27:02 +02:00
Vincent Petry e9b635aa14 Merge pull request #32507 from carlcsaposs/restore
Sort files by deletion time before restoring in RestoreAllFiles
2022-07-12 14:22:10 +02:00
Côme Chilliet c5ffd7ce32 Use Symfony IpUtils to check for local IP ranges
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-12 12:09:05 +02:00
Côme Chilliet 707b46bb01 Check for local IPs nested in IPv6 as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-12 09:49:27 +00:00
Côme Chilliet d0830432a7 Refactor local IP if and set strict to true for in_array
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-12 09:49:27 +00:00
Côme Chilliet bd9aff47b6 Improve local IP detection
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-12 09:49:27 +00:00
Côme Chilliet b2017cd557 Merge pull request #33209 from nextcloud/fix/add-symfony/http-foundation
Add symfony/http-foundation dependency
2022-07-12 11:44:23 +02:00
nextcloud-command 25bcaed5c1 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-12 09:24:05 +00:00
Côme Chilliet 5d786913ac Add symfony/http-foundation dependency
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-12 11:03:22 +02:00
nextcloud-command 50b494a143 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-12 08:21:32 +00:00
Nextcloud bot 121dbf028d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-12 02:23:29 +00:00
Pytal 57ae32e3c3 Merge pull request #33175 from nextcloud/fix/request-json-xml-not-found 2022-07-11 11:10:26 -07:00
szaimen 57784ccefe document the 64bit requirement in the bug report template
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-07-11 16:52:46 +02:00
Carl Schwan 16b5e6bc7f Merge pull request #32973 from nextcloud/cleanup/avatar-code
Cleanup avatar related code
2022-07-11 11:56:39 +02:00
Côme Chilliet 2e921f8b3d Fix typing in IJobList
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:23 +00:00
Côme Chilliet cc89da26c6 Fix background-job:execute command for QueuedJob instances
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:23 +00:00
Côme Chilliet 3920fc1ef2 Format the datetime for last run in ATOM format
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:23 +00:00
Côme Chilliet 0cc39d185c Use symfony console table to render the job list properly
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:23 +00:00
Côme Chilliet 3cf8c63409 Fix ListCommand constructor call in register_command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:23 +00:00
Côme Chilliet 50a7f612d9 Fix DummyJobList class used by tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:23 +00:00
Côme Chilliet 868d748dbf Code cleaning of Background/ListCommand
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:23 +00:00
Côme Chilliet 3d01179907 Add command to list jobs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:23 +00:00
Côme Chilliet 0b7779b6ff Clean up JobList class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-11 09:46:22 +00:00
Nextcloud bot 22cc36ec60 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-11 02:24:31 +00:00
Nextcloud bot 0d929086d0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-10 02:25:30 +00:00
Nextcloud bot f41c45878f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-09 02:24:33 +00:00
blizzz c98e44507d Merge pull request #32865 from nextcloud/bugfix/remove-unecessary-row
Remove unecessary row and make compatible with db schema
2022-07-08 23:11:10 +02:00
blizzz 927b6d635f Merge pull request #33118 from nextcloud/fix/address-book-export
Fix empty address books being exported
2022-07-08 22:13:19 +02:00
blizzz b4031dc478 Merge pull request #32377 from nextcloud/rakekniven-patch-1
l10n: Changed spelling
2022-07-08 19:56:54 +02:00
blizzz 74ebb72622 Merge pull request #33110 from nextcloud/feat/handle-onetime-password-large
Handle one time password and very large passwords
2022-07-08 19:54:05 +02:00
Christoph Wurst 222a9523b5 Fix 404 handling of requested JSON/XML
If front-end or an application requests JSON/XML, there is no point in
redirecting to the default page if that response doesn't exist. In the
worst case that would just cause another request, therefore server load,
traffic and a response that is meaningless to the requester.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-07-08 19:14:05 +02:00
John Molakvoæ 48ece9f345 Merge pull request #33163 from nextcloud/enh/a11y-account-property-labels 2022-07-08 11:41:50 +02:00
Nextcloud bot 3dfb5c9d75 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-08 02:24:38 +00:00
Christopher Ng ad0f2db292 Add current scope to scope actions label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-07 19:02:24 +00:00
Pytal 43a2501bf2 Merge pull request #33148 from nextcloud/enh/a11y-login-show-password 2022-07-07 11:43:43 -07:00
Pytal a0681cc92f Merge pull request #33128 from nextcloud/enh/a11y-set-expanded-sharing
Add expanded attribute to button for listing others with access
2022-07-07 11:10:21 -07:00
Christopher Ng 8aaac57ee6 Use Button component to show password for improved accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-07 17:46:49 +00:00
Christopher Ng e0492074aa Add expanded attribute to button for listing others with access
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-07 17:23:50 +00:00
Joas Schilling 9d3b98ba21 Merge pull request #33153 from nextcloud/bugfix/noid/only-ignore-attempts-of-the-same-action
Only ignore attempts of the same action
2022-07-07 10:59:54 +02:00
John Molakvoæ ff55382c66 Merge pull request #33140 from nextcloud/fix/trashbin-expiration-notice-casing 2022-07-07 10:23:42 +02:00
Joas Schilling 8274c05e19 Only ignore attempts of the same action
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-07 09:35:14 +02:00
Nextcloud bot b51cb23381 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-07 02:24:36 +00:00
Joas Schilling 744f1dd563 Merge pull request #33052 from nextcloud/fix/set-display-name
Do not send display name twice for saving
2022-07-06 22:51:06 +02:00
Simon L 72274cf0e9 Merge pull request #33136 from nextcloud/fix/noid/customprops
catch any exception for transaction control
2022-07-06 19:43:16 +02:00
Christopher Ng 667b671c5a Fix trashbin expiration notice casing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-06 17:19:02 +00:00
Arthur Schiwon ec09605109 catch any exception for transaction control
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-06 16:14:51 +02:00
Joas Schilling a0f5aebb89 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-06 14:27:18 +02:00
Nextcloud bot dfbfe5ac9d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-06 02:23:38 +00:00
dependabot[bot] 00c63c0d9d Merge pull request #33126 from nextcloud/dependabot/npm_and_yarn/core-js-3.23.3 2022-07-05 22:21:55 +00:00
dependabot[bot] 232ad753ad Bump core-js from 3.22.7 to 3.23.3
Bumps [core-js](https://github.com/zloirock/core-js) from 3.22.7 to 3.23.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.22.7...v3.23.3)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-05 21:39:45 +00:00
Daniel Calviño Sánchez 79b6caada8 Merge pull request #32993 from nextcloud/fixes-for-quota-text-in-navigation-bar
Fixes for quota text in navigation bar
2022-07-05 22:21:30 +02:00
Pytal 8b23c1c677 Merge pull request #33107 from nextcloud/enh/a11y-dynamic-grid-toggle-tooltip 2022-07-05 10:46:32 -07:00
Christopher Ng 5f31d4b0bf Fix empty address books being exported
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-05 17:00:27 +00:00
Robin Appelman f1486890d7 only use nextcloud bundle when explicitly enabled
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-07-05 16:06:55 +02:00
Robin Appelman bffa67c48b also use nextcloud certificate bundle when downloading from s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-07-05 15:57:54 +02:00
Julien Veyssier de3504150c Merge pull request #33111 from nextcloud/fix/url-absolute
Fix 404 when using index.php in the url
2022-07-05 15:43:36 +02:00
Carl Schwan ec5cbdeb7f Make Color class public
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-05 14:44:44 +02:00
rakekniven 0fbb085c95 Merge branch 'rakekniven-patch-1' of https://github.com/nextcloud/server into rakekniven-patch-1 2022-07-05 14:35:22 +02:00
rakekniven 6289e56d0a l10n: Changed spelling
See https://en.wikipedia.org/wiki/MIME for details.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-05 12:23:14 +00:00
rakekniven 82e96cd89a Merge branch 'master' into rakekniven-patch-1 2022-07-05 14:21:34 +02:00
Julien Veyssier ca6a724503 add missing GET param to getstoragestats url
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-07-05 13:43:58 +02:00
Carl Schwan ee793572cb Fix 404 when using index.php in the url
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-05 13:16:32 +02:00
blizzz 991ff3c99c Merge pull request #33086 from nextcloud/techdebt/noid/allow-expiring-comments-of-multiple-objects-in-one-go
Allow to expire comments of multiple objects with one call
2022-07-05 13:14:05 +02:00
Carl Schwan f99a06c89a Don't allow setting password bigger than 469 characters
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-05 11:47:25 +02:00
Carl Schwan 1c23c029af Handler large passwords
For passwords bigger than 250 characters, use a bigger key since the
performance impact is minor (around one second to encrypt the password).

For passwords bigger than 470 characters, give up earlier and throw
exeception recommanding admin to either enable the previously enabled
configuration or use smaller passwords.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-05 11:37:14 +02:00
Carl Schwan cdf3b60555 Handle one time passwords
This adds an option to disable storing passwords in the database. This
might be desirable when using single use token as passwords or very
large passwords.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-05 11:25:44 +02:00
John Molakvoæ b5b4ab40af Merge pull request #33109 from nextcloud/fix/l10n-home-breadcrumb 2022-07-05 07:50:45 +02:00
Nextcloud bot bed6831783 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-05 02:23:26 +00:00
Christopher Ng a56d91bab5 Fix translation of home breadcrumb
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-04 22:29:52 +00:00
Christopher Ng f5236cde1a Change tooltip title of files grid view toggle dynamically
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-04 19:20:49 +00:00
Carl Csaposs 6f6ccfcc18 Sort files by deletion time before restoring in RestoreAllFiles
Restoring in order of most recently deleted preserves nested file paths.
See https://github.com/nextcloud/server/issues/31200#issuecomment-1130358549

Signed-off-by: Carl Csaposs <carl@csaposs.com>
2022-07-04 17:13:15 +00:00
Carl Schwan ec465bf247 Merge pull request #33090 from nextcloud/fix/noid/proppatch-properties-transaction-rollback
DAV custom props: catch Exception and rollback transaction in case
2022-07-04 15:27:04 +02:00
Simon L ef607e308b Merge pull request #33097 from nextcloud/rakekniven-patch-2
l10n: Fixed typo
2022-07-04 10:17:32 +02:00
rakekniven d5117af292 l10n: Fixed typo
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-04 07:30:52 +00:00
Nextcloud bot e9ca761a93 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-04 02:23:32 +00:00
MichaIng c5fa3330e1 Merge pull request #32095 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-8.0.0
Bump @nextcloud/eslint-config from 7.0.2 to 8.0.0
2022-07-03 21:14:00 +02:00
dependabot[bot] 5b3ff79cee Bump @nextcloud/eslint-config from 7.0.2 to 8.0.0
Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 7.0.2 to 8.0.0.
- [Release notes](https://github.com/nextcloud/eslint-config/releases)
- [Changelog](https://github.com/nextcloud/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-config/compare/v7.0.2...v8.0.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-03 18:34:24 +00:00
Nextcloud bot 97e1c489b5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-03 02:22:38 +00:00
MichaIng 391c2272bb Merge pull request #33093 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.4.0
Update sabre/dav requirement from 4.3.1 to 4.4.0 in /build/integration
2022-07-02 16:58:30 +02:00
Nextcloud bot 700682d8e4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-02 02:24:59 +00:00
dependabot[bot] 9781139fed Update sabre/dav requirement from 4.3.1 to 4.4.0 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.3.1...4.4.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-02 02:18:35 +00:00
szaimen 2ad53742f2 fix external storages access
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-07-01 22:52:10 +02:00
Arthur Schiwon 794177e753 DAV custom props: catch Exception and rollback transaction in case
- before exceptions were not caught, a started transaction might not have
  been finished
- also resolve depractions and use IQueryBuilder

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-01 22:44:20 +02:00
Joas Schilling d722a0c12a Adjust fake manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 16:38:58 +02:00
Joas Schilling 198224bf7a Allow to expire comments of multiple objects with one call
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 15:59:29 +02:00
Joas Schilling 6222b702db Merge pull request #32576 from nextcloud/feature/spreed-7321/automatic-DND-outside-of-availability
🤖 Automatically set user status to  DND outside of  📅 availability
2022-07-01 15:29:03 +02:00
Carl Schwan 84fec2f9fe Merge pull request #33043 from nextcloud/Valdnet-patch-2
l10n: Separate words
2022-07-01 15:07:18 +02:00
Valdnet 76fedc7e95 l10n: Separate words
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-01 12:19:35 +00:00
Joas Schilling 473a786510 Inject userId directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 14:07:52 +02:00
Joas Schilling c88a30a523 Fix typo of availability
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:07 +02:00
Joas Schilling bd3c1fdf74 Remove unused import
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:07 +02:00
Joas Schilling 159272bb93 Fix predefined message
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:07 +02:00
Joas Schilling 4f7f4d74db Add UI to opt-in on the status automation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:07 +02:00
Joas Schilling 5dee54d70b Add status automation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:07 +02:00
Joas Schilling fdcf3eafd6 Fix determination of cron job run
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:05 +02:00
Joas Schilling 251f450df6 User status automation background job
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:32:07 +02:00
John Molakvoæ b0ee927ac1 Merge pull request #33079 from nextcloud/enh/a11y-file-picker-labels 2022-07-01 11:09:23 +02:00
Nextcloud bot e5497d285b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-01 02:34:39 +00:00
Christopher Ng 7219847ad1 Add accessible names for file picker grid view toggle and new folder button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-01 00:44:05 +00:00
Carl Schwan 6ca1d01a5d Merge pull request #33075 from nextcloud/performance-ci
Run performance testing in CI
2022-06-30 18:44:28 +02:00
Pytal f936644bec Merge pull request #33068 from nextcloud/enh/note-trashbin-expiration 2022-06-30 09:26:04 -07:00
Robin Appelman d6e35dfe2c use blueprint from repo
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-30 15:52:33 +02:00
Robin Appelman 5d3e86a1c6 use profiler action
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-30 15:52:30 +02:00
Robin Appelman 6378a186ab run performance comparisons in ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-30 15:52:24 +02:00
John Molakvoæ fd39712900 Merge pull request #33074 from nextcloud/enh/noid/en-dash-userstatus 2022-06-30 15:05:55 +02:00
szaimen e8b1740c96 use an en-dash for the userstatus panel
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-30 11:57:40 +00:00
Nextcloud bot 95971b8250 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-30 02:23:49 +00:00
blizzz 48d88a3f60 Merge pull request #33065 from nextcloud/fix/nonce-firefox-101
Fix detection of firefox in ContentSecurityPolicyNonceManager
2022-06-30 00:57:49 +02:00
blizzz 17f8aa7a50 Merge pull request #33067 from nextcloud/trashbin-skip-size-cache
use size from cache to determine whether to skip the trashbin
2022-06-29 21:50:40 +02:00
Christopher Ng bd1efae616 Add trashbin export expiration notice
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-29 18:57:55 +00:00
Pytal 36a336bebd Merge pull request #33056 from nextcloud/enh/workflow-button 2022-06-29 11:19:17 -07:00
Christopher Ng 5f02663975 Use Button component to show more workflows
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-29 16:52:33 +00:00
Robin Appelman 9188fad190 use size from cache to determine whether to skip the trashbin
this way large folders also get skipped

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-29 18:24:34 +02:00
Carl Schwan ca3cd5a625 Fix detection of firefox in ContentSecurityPolicyNonceManager
Reuse Request::USER_AGENT_FIREFOX, and also update the safari detection
since safari < 12 is not supported anymore and we can remove a bit of
code duplication

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-29 17:05:48 +02:00
Carl Schwan 477dae9e11 Merge pull request #32857 from nextcloud/debt/noid/result-may-undefined
Fix  undefined when no tags
2022-06-29 15:11:50 +02:00
Carl Schwan 1952d6e9b4 Add myself as CODEOWNERS for a few modules
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-29 14:44:09 +02:00
Jonas 2ee81db18a Merge pull request #33050 from nextcloud/fix/cache_partial_array_remove
Check whether entry is of type ICacheEntry in Cache->remove()
2022-06-29 14:13:10 +02:00
Jonas 7d07e06bfe Check whether entry is of type ICacheEntry in Cache->remove()
In some scenarios (file not in cache, but partial data of it in the
object), Cache->get() might return an array, which leads to errors like
"Call to a member function getId() on array".

So check whether the returned entry is of type ICacheEntry before doing
operations on it in Cache->remove().

Fixes: #33023

Signed-off-by: Jonas <jonas@freesources.org>
2022-06-29 10:47:07 +00:00
Carl Schwan 46a49dee8a Merge pull request #32994 from nextcloud/fix/extended-query-search
Search without join on filecache_extended
2022-06-29 11:58:20 +02:00
blizzz f74b3eea37 Merge pull request #33057 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-06-29 10:42:23 +02:00
nextcloud-command a35013ae82 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-06-29 04:26:30 +00:00
Nextcloud bot 15dced6eed [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-29 02:27:30 +00:00
Pytal 6efcb377de Merge pull request #33053 from nextcloud/fix/undefined-logger 2022-06-28 16:30:18 -07:00
blizzz cb7853c61f Merge pull request #33034 from nextcloud/td/noid/ldap_group_updater
cleanup LDAP's UpdateGroups
2022-06-28 23:48:01 +02:00
Arthur Schiwon 8185a3d701 adjust tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-28 22:46:51 +02:00
Joas Schilling ac66483ad5 Merge pull request #33042 from nextcloud/bugfix/noid/extend-email-logging
Extend email logging
2022-06-28 20:21:39 +02:00
Christopher Ng 05d53c6340 Fix undefined logger
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-28 18:19:15 +00:00
Christopher Ng 9db8b0adf9 Prevent duplicate set display name request
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-28 18:17:59 +00:00
Christopher Ng c0868f93f1 Do not save invalid display name to the database
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-28 18:03:15 +00:00
blizzz 52c957e751 simplify
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2022-06-28 16:07:11 +02:00
Daniel Kesselberg 6f3ab2fc9b Fix Uninitialized string offset 0 at GenerateMimetypeFileBuilder.php#39
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-06-28 15:45:41 +02:00
Daniel Kesselberg fb8d54ef72 Fix undefined when no tags
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-06-28 15:44:08 +02:00
Carl Schwan a1bc770043 Merge pull request #32982 from nextcloud/fix/metadata-extraction
Fix metadata extraction
2022-06-28 15:34:38 +02:00
Carl Schwan 41e6e0c646 Merge pull request #33007 from nextcloud/cleanup/federation-app
Summer cleanup of the federation app
2022-06-28 15:33:18 +02:00
Arthur Schiwon d97f32dd8e delete groups in chunks instead of one by one
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-28 14:35:18 +02:00
Arthur Schiwon 632f2d7760 cleanup LDAP's UpdateGroups
- TimedJob from API
- DI of config
- property types
- throws hints in phpdoc
- argument and return types
- replace depracet execute() with executeStatement or -Query
- a missing return statement

Co-authored-by: Carl Schwan <carl@carlschwan.eu>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-28 14:34:56 +02:00
Côme Chilliet 64bff27c99 Merge pull request #32960 from nextcloud/fix/avoid-using-undeclared-properties
Fix PHP 8.2 warnings about undeclared properties
2022-06-28 12:05:16 +02:00
Carl Schwan f38e060090 Fix many issues with the tests
- Return type were not correct
- willReturn and with confusion

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-28 11:26:30 +02:00
Joas Schilling f7eb14a9fa Extend email logging
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-28 08:57:03 +02:00
Nextcloud bot 2956da4178 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-28 02:28:28 +00:00
Pytal 529d6537b2 Merge pull request #32561 from nextcloud/port/vue-personal-federation 2022-06-27 10:55:51 -07:00
Louis 0fe7064fc4 Merge pull request #32998 from nextcloud/fix/setting_name
Rename setting name to reduce its length
2022-06-27 11:58:54 +02:00
Louis Chemineau 347ca20f4e Rename setting name to reduce its length
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-27 11:04:17 +02:00
Nextcloud bot 069346b7d3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-27 02:27:18 +00:00
dependabot[bot] ba88c2e1a2 Merge pull request #33016 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.4.5 2022-06-25 03:21:58 +00:00
Nextcloud bot 448973f3b4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-25 02:27:31 +00:00
dependabot[bot] a00d185502 Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.4...7.4.5)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 01:05:27 +00:00
Carl Schwan 6114176b71 Cleanup CardDav SyncService
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-24 20:25:38 +02:00
Carl Schwan 095658e004 Merge pull request #33006 from nextcloud/dependabot/composer/guzzlehttp/guzzle-7.4.5
Bump guzzlehttp/guzzle from 7.4.4 to 7.4.5
2022-06-24 15:43:55 +02:00
Carl Schwan 6ea512aca9 Bump guzzlehttp/guzzle from 7.4.4 to 7.4.5
See https://github.com/nextcloud/3rdparty/pull/1088

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-24 15:42:13 +02:00
Carl Schwan a9cfa72d1c Summer cleanup of the federation app
- Use IEventDispatcher instead of deprecated symfony dispatcher
- Use LoggerInterface where possible
- Use php 7.4 properties
- Add type hinting where possible
- Move federation hooks to a seperate listener

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-24 15:39:52 +02:00
blizzz e34dc2f3cf Merge pull request #32820 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.4.4
Update guzzlehttp/guzzle requirement from 7.4.2 to 7.4.4 in /build/integration
2022-06-24 11:01:55 +02:00
blizzz 4722baf970 Merge pull request #32863 from nextcloud/feature/add-comments-expire-date
Add comments expire date
2022-06-24 10:28:13 +02:00
Nextcloud bot e0c6c1582d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-24 02:27:15 +00:00
blizzz 3ebde2f6c2 Merge pull request #32980 from nextcloud/fix/32887/dashboard-load-only-enabled-apps
load dashboard widgets of enabled apps only
2022-06-23 17:45:05 +02:00
Carl Schwan 253ae64faf Merge pull request #32957 from nextcloud/fix/import-float
Fix importing float value
2022-06-23 17:39:45 +02:00
Carl Schwan 55bad5a1bb Merge pull request #32962 from nextcloud/getstoragestat-change-url
Remove .php from url
2022-06-23 17:39:30 +02:00
Carl Schwan f326b54e53 Search without join on filecache_extended
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-23 16:23:52 +02:00
Daniel Calviño Sánchez 55722092d3 Fix quota text not updated after copying or moving a file
Note that the quota may change too when files are moved if the file is
moved, for example, to or from a folder shared by other user.

Besides the quota the storage statistics are also updated, similar to
what is done when a file is deleted.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-06-23 13:24:58 +02:00
Daniel Calviño Sánchez c82181fec7 Fix quota text not updated when no quota is set
The JavaScript code that updates the quota text expects the element to
have "quotatext" as id.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-06-23 13:24:35 +02:00
Daniel Calviño Sánchez eeed5e0fbe Fix quota text shown escaped
"t()" escapes and sanitizes the returned text by default, so strings
like "<" are converted to "&lt;". However, the "jQuery.text()" parameter
does not need to be escaped, as "&lt;" is shown literally as "&lt;"
rather than "<". Now "jQuery.html()" is used instead, which "unescapes"
the given text and sets it as a new text node (as the text in the
parameter does not contain markup for elements, only text).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-06-23 13:24:04 +02:00
Carl Schwan f8153a6afc Merge pull request #32701 from nextcloud/fix/type-error-objectree
Fix type error in Sabre/Connector/Directory
2022-06-23 13:01:35 +02:00
John Molakvoæ 859d7fc4b0 Merge pull request #32988 from nextcloud/fix/improve-local-domain-detection 2022-06-23 12:50:16 +02:00
Carl Schwan 09c6cd77ec Add test
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-23 12:47:58 +02:00
Carl Schwan fbae6ffa98 Fix importing float value
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-23 12:08:42 +02:00
Côme Chilliet d23c7d245c Improve local domain detection
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-23 11:45:16 +02:00
Nextcloud bot eb677bf048 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-23 02:27:35 +00:00
Arthur Schiwon 6e531b5ab5 avoid early DI of IAppManager
- might break install

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-22 21:58:13 +02:00
Arthur Schiwon 523572fcea load widgets only of enabled apps
- per design, all enabled apps have their registration run
- limitations, e.g. enabled by group, are not considered in that state,
  because we do not have a session (and might need apps?)
- before instantiation of widget it has to be checked whether the providing
  app is actually enabled for the logged in user.
- a public interface is being changed, but it is not meant to be
  implemented or used outside of the core handling. Therefore save to
  backport.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-22 21:58:13 +02:00
Carl Schwan 940b5e8f0a Fix metadata extraction
The metadata extraction only happens when the size is not equal to 0,
but due to a regression in FileInfo the size is always zero.

This fix the regression.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-22 17:27:09 +02:00
Carl Schwan 812016d626 Cleanup avatar related code
- Move event listener to new event handling
- Add typing almost everywhere
- Fix inconsistent interface parameter

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-22 16:11:42 +02:00
Daniel b282fe1e6f Merge pull request #32971 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-06-22 11:56:17 +02:00
Carl Schwan 14a16320ec Merge pull request #32884 from nextcloud/typing/dav-sharing
Add typing to Sharing Backend
2022-06-22 11:09:06 +02:00
Carl Schwan 3598ec4028 Add typing to Sharing Backend
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-22 10:25:17 +02:00
nextcloud-command 6c08e02a9c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-06-22 04:21:01 +00:00
Nextcloud bot a4647bbf6e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-22 02:28:08 +00:00
Simon L 47070eacc6 Merge pull request #32964 from nextcloud/feat/add-title-folderview
Add title to file name
2022-06-21 19:02:43 +02:00
acsfer bebf888c72 Fix #30003
Fix #30003
2022-06-21 16:54:13 +00:00
blizzz cf5452e633 Merge pull request #32242 from nextcloud/fix-logging-data-array
Fix logging data context to file
2022-06-21 18:49:08 +02:00
Carl Schwan 07ab8b3e67 Merge pull request #32941 from nextcloud/dependabot/composer/guzzlehttp/guzzle-7.4.4
Bump guzzlehttp/guzzle from 7.4.0 to 7.4.4
2022-06-21 18:48:10 +02:00
blizzz 2e10378052 Merge pull request #31475 from nextcloud/kofemann-patch-1
files: close open directory file descriptor on error path
2022-06-21 18:44:05 +02:00
Carl Schwan ff62d5cbd9 Add title to file name
Fix #32157

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-21 16:50:16 +02:00
Carl Schwan c7931086cc Remove .php from url
Probably here for legacy reasons, but it is a bit weird to call an .php
endpoint that doesn't correspond to a .php file

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-21 16:44:37 +02:00
Côme Chilliet c598e3cafa composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-21 16:36:25 +02:00
Carl Schwan 371f7a931e Bump guzzlehttp/guzzle from 7.4.0 to 7.4.4
See https://github.com/nextcloud/3rdparty/pull/1072

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-21 16:29:43 +02:00
Côme Chilliet 1bd5222224 Fix PHP 8.2 warnings about undeclared properties
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-21 16:17:52 +02:00
Daniel 632d4d9a6e Merge pull request #32823 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-06-21 15:59:37 +02:00
Carl Schwan 944675a4a2 Handle file contained inside the uploads folder
Fix #32450

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-21 14:29:44 +02:00
Carl Schwan dbc2c2325e Merge pull request #32924 from nextcloud/memcached-binary-protocol
Enable binary protocol again
2022-06-21 13:39:28 +02:00
Côme Chilliet f46d839e05 Merge pull request #32954 from nextcloud/fix/replace-opis-closure-by-laravel-fork-cleanup
Sync back with 3rdparty master
2022-06-21 13:30:33 +02:00
Simon L fb4353b64c Merge pull request #32902 from nextcloud/enh/noid/opcache-buffer-size-limit
do not display the buffer_size info if the size is already set to a c…
2022-06-21 13:26:30 +02:00
Simon L cfc16ac3ee Merge pull request #32948 from nextcloud/dashboardFix
make 'text-overflow: ellipsis' possible again in dashboard
2022-06-21 13:25:39 +02:00
Côme Chilliet a20f253fc8 Sync back with 3rdparty master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-21 13:13:15 +02:00
blizzz 53eafc0cb7 Merge pull request #32868 from nextcloud/fix/replace-opis-closure-by-laravel-fork
Replace opis/closure by laravel/serializable-closure
2022-06-21 12:21:32 +02:00
Carl Schwan 7d0804e85c Merge pull request #32861 from nextcloud/fix/remove-at-matcher-in-user_ldap-tests
Remove deprecated at() matcher from user_ldap tests
2022-06-21 11:47:43 +02:00
Côme Chilliet 5e63d24ea1 Merge pull request #32900 from nextcloud/fix/remove-at-matcher-in-theming-tests
Remove at matcher in theming tests
2022-06-21 11:45:17 +02:00
Côme Chilliet fd8f2aff09 Merge pull request #32901 from nextcloud/fix/remove-at-matcher-in-lib-tests
Remove at matcher uses in tests/lib
2022-06-21 11:45:00 +02:00
Côme Chilliet d8c419c304 Explicitely only accept closures from our dependencies in ClosureJob
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-21 11:33:46 +02:00
Artur Neumann d2e58d844d make 'text-overflow: ellipsis' possible again in dashboard
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-21 09:16:55 +00:00
Côme Chilliet 3e94faef06 Update 3rdparty branch with opis/closure back
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-21 10:03:53 +02:00
Côme Chilliet dccd80cf7a Update 3rdparty branch with opis/closure back
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-21 10:00:49 +02:00
nextcloud-command 92ef84b635 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-06-21 04:20:18 +00:00
Nextcloud bot 20fc8d8f30 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-21 02:28:53 +00:00
Côme Chilliet 95f0cb2a2a Add a test about unserializing data from opis/closure serialization
We need to be able to unserialize data from before upgrade.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-20 17:34:29 +02:00
Vitor Mattos 3be1217c04 Follow the most common pattern used in project
```
git grep strval|wc -l
32
git grep "(string)"|wc -l
481
```

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-20 11:46:13 -03:00
Vitor Mattos d7e7a4d333 Fix test to check the expire date
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-20 09:53:51 -03:00
rakekniven 9a1a3b4731 Merge pull request #32881 from nextcloud/Valdnet-patch-2
l10n: Spelling unification
2022-06-20 13:35:51 +02:00
Richard Steinmetz c19ec67cc4 Merge pull request #32719 from nextcloud/fix/noid/email-shares-not-shown
Fix email shares not being shown to other users
2022-06-20 13:24:35 +02:00
blizzz a94de5cb5a Merge pull request #32910 from nextcloud/fix/profiler-invalid-utf8
Fix profiler trying to serialize invalid utf8
2022-06-20 12:52:39 +02:00
Carl Schwan 35d8bdc840 Fix profiler trying to serialize invalid utf8
The cookie value contains invalid utf8 characters most of the time so
let's just ignore it as it is also not that interesting to analyse.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-20 11:11:12 +02:00
Côme Chilliet 6a1510f8ee Remove some more at matchers in tests/lib
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-20 10:53:06 +02:00
Côme Chilliet 293c1797eb Remove deprecated expectException from theming tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-20 09:10:11 +02:00
Nextcloud bot 2a2d2cc23e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-20 02:27:27 +00:00
Nextcloud bot c84a68ec11 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-19 02:27:46 +00:00
Nextcloud bot be2ee3b504 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-18 02:27:27 +00:00
szaimen f8bebb62ca do not display the buffer_size info if the size is already set to a certain threshold
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: MichaIng <micha@dietpi.com>
2022-06-17 22:15:28 +02:00
Arthur Schiwon 90104bc1c4 memcached should not throw arbitrary exceptions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-17 18:32:14 +02:00
Richard Steinmetz c1f054a9e0 Fix email shares not being shown to other users
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-06-17 17:31:26 +02:00
Carl Schwan 3f97bcdc75 Enable binary protocol again
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-17 17:24:24 +02:00
Simon L de82d4f67c Merge pull request #32874 from bill-mcgonigle/patch-1
Mention missing files subdir
2022-06-17 12:12:25 +02:00
Nextcloud bot 9cd9e774d6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-17 02:27:44 +00:00
blizzz 692943860a Merge pull request #32898 from nextcloud/fix/noid/logger-overwrites-vars
Fix logger overwriting vars in some circumstances
2022-06-16 20:32:33 +02:00
Arthur Schiwon 8b2b5946e6 make placeholder a const for reuse
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-16 18:38:29 +02:00
Arthur Schiwon 891c10d09d fix overwriting original vars when logging
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-16 18:36:58 +02:00
Arthur Schiwon 09a5947a6d add serializer test
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-06-16 18:36:58 +02:00
Côme Chilliet c7e1c36362 Remove at matcher uses in tests/lib
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-16 17:43:17 +02:00
Côme Chilliet f8a5be6a90 Remove deprecated at matcher from theming tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-16 15:55:05 +02:00
Nextcloud bot 0c14ee6ff5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-16 02:27:32 +00:00
blizzz 33148016a5 Merge pull request #32876 from nextcloud/fix/fix-string-interpolation
Use {$var} instead of ${var} for PHP 8.2 compatibility
2022-06-15 21:39:56 +02:00
blizzz 3763024ff9 Merge pull request #32878 from nextcloud/fix-default-toast-message-for-failed-uploads-with-http2
Fix default toast message for failed uploads with HTTP/2
2022-06-15 21:36:47 +02:00
Vitor Mattos c59b0c2ff7 Add comments expire date
https://github.com/nextcloud/spreed/pull/7327

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-15 11:58:29 -03:00
Carl Schwan 3b6bb4f294 Port federatedfilesharing personal settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-15 15:31:25 +02:00
Daniel 596ead787b Merge pull request #32584 from nextcloud/fix-ResetTokenBackgroundJob
Make sure ResetTokenBackgroundJob doesn't execute if config is read-only
2022-06-15 11:37:43 +02:00
Valdnet 814d9ac74a Spelling unification
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-15 11:01:58 +02:00
Valdnet 5e200f2670 l10n: Spelling unification
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-15 11:01:18 +02:00
Valdnet dd30ab9c7f l10n: Spelling unification
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-15 10:57:05 +02:00
Thomas Citharel 956d895920 Update tests after ResetTokenBackgroundJob changes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-15 10:29:16 +02:00
Thomas Citharel 56727ba58b Use OCP version of TimedJob instead of OC for ResetTokenBackgroundJob
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-15 10:29:16 +02:00
Thomas Citharel 47ea43ea49 Make sure ResetTokenBackgroundJob doesn't execute if config is read-only
No need to try to delete the config key in config.php if we aren't
allowed to.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-15 10:29:16 +02:00
Nextcloud bot da8450e854 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-15 02:27:55 +00:00
Daniel Calviño Sánchez e15b43d976 Fix default toast message for failed uploads with HTTP/2
When an upload fails a toast is shown with either a specific message or
just the textual part of the HTTP error code (which comes from the
upload failure handler and set by "jQuery.ajax()". However, if there
is neither a message nor an error then the toast will show the default
message from the Toastify-js library, which is an undescriptive "Hi
there!".

When HTTP/2 is used Chromium does not provide the textual part of the
HTTP error code, so when an upload fails the toast can receive an empty
message and thus just show "Hi there!". Now an explicit message is
provided as a fallback to prevent that.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-06-14 16:07:35 +02:00
Christoph Wurst 9f3958e8d2 Merge pull request #32351 from nextcloud/dav-handle-move-operation-properly
Handle the move operation properly between shared calendars
2022-06-14 15:58:56 +02:00
Côme Chilliet 113028581c Remove bogus expects from user_ldap tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-14 15:44:51 +02:00
Christoph Wurst 06b785d3bc Merge pull request #32875 from nextcloud/fix/setup-set-up-2fa
Fix 2FA setup vs set up typo
2022-06-14 15:33:29 +02:00
Côme Chilliet c54fb5f9e6 Use {$var} instead of ${var} for PHP 8.2 compatibility
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-14 15:12:28 +02:00
Thomas Citharel 39ef0500d1 Handle the move operation properly between shared calendars
- Introduce a new CalendarObjectMovedEvent typed event dedicated for
  this operation
- Handle the event in the activity backend and add new appropriate activity subjects

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-14 14:40:24 +02:00
Christoph Wurst 3ce1f908a1 Fix 2FA setup vs set up typo
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-06-14 14:34:20 +02:00
Bill McGonigle ad60b3b479 Mention missing files subdir
Many users are getting confused by the inaccurate error message "Home storage for user $user not writable" because the storage *is* writable.  The actual issue is a missing files/ subdirectory.  cf. https://help.nextcloud.com/t/home-storage-for-user-not-writable/10831/7
By mentioning the possible cause in the error message, users are going to be able to rapidly solve their problem rather than bang their heads against the screen, Google, and eventually forums to find out that the error message is wrong in their case.
Yes, it would be better to detect and precisely describe the fault, or fix the problem automatically, but until then, be kind to the users for the next however many years.
2022-06-14 07:10:29 -04:00
Carl Schwan 046357ec75 Fix type error in Sabre/Connector/Directory
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-14 13:01:06 +02:00
Daniel ad10cd5f65 Merge pull request #32813 from nextcloud/debt/noid/check-for-3rdparty-updates
Run php tests when 3rdparty changed
2022-06-14 12:34:55 +02:00
Thomas Citharel 4129089f87 Avoid calendar & addressbook activities being created on user being deleted
Addressbooks and Calendar data are destroyed through hook OC_User::pre_deleteUser, which when it reaches the backends sends AddressBookDeletedEvent/CalendarDeletedEvent typed events, which in turns generates activities that aren't deleted until they expire.

This can probably lead to old activities being visible for a new user created with the same uid.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-14 11:54:42 +02:00
Côme Chilliet a810b21373 Replace opis/closure with laravel/serializable-closure in code
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-14 10:58:24 +02:00
Côme Chilliet d80dad42a3 Replace opis/closure by laravel/serializable-closure
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-14 10:32:36 +02:00
Nextcloud bot 7522779251 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-14 02:28:15 +00:00
Vitor Mattos b9def2f073 Set as optional argument
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-13 16:12:35 -03:00
Vitor Mattos 45cdb36d5c Remove unecessary row and make compatible with db schema
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-13 13:35:34 -03:00
Côme Chilliet 129584c966 Remove deprecated at() matcher from user_ldap tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-13 15:19:25 +02:00
Côme Chilliet 4f230877e9 Merge pull request #32853 from nextcloud/fix/update-acceptance-composer-lock
Update dependencies in acceptance tests composer.lock
2022-06-13 13:55:47 +02:00
Vincent Petry 8809de1eef Merge pull request #31966 from nextcloud/unencrypted-size
store unencrypted size in the unencrypted_size column
2022-06-13 11:55:37 +02:00
Joas Schilling c26ddf10de Merge pull request #32847 from nextcloud/followup/32748/fix-second-integration-test
Fix second integration test as well
2022-06-13 11:44:54 +02:00
Robin Appelman db3093a46f delete files before cleaning cache when cleaning user files
otherwise, when using object store, we loose track of which files the user owns before we can delete them

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-13 08:51:22 +00:00
Vincent Petry 12e3e85336 Merge pull request #31637 from nextcloud/add-password-reset-typed-events
Add password reset typed events and modernize LostController
2022-06-13 10:50:52 +02:00
Vincent Petry 7f8b032029 Merge pull request #32843 from nextcloud/bugfix/noid/correctly-log-failed-attempts
Correctly log failed attempts
2022-06-13 10:26:07 +02:00
Côme Chilliet 5cce1b92ff Update dependencies in acceptance tests composer.lock
It should allow to run them on PHP>=8.0 with a recent phpunit.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-13 10:24:42 +02:00
Louis 879a8c3b25 Merge pull request #32774 from nextcloud/enh/a11y/keyboard-legacy-contacts-menu
Enable keyboard activation of legacy contacts menu
2022-06-13 10:20:47 +02:00
Carl Schwan 1d35efdd1f Merge pull request #31197 from nextcloud/acsfer-patch-1
Add memcached unix socket instructions
2022-06-13 09:55:35 +02:00
Joas Schilling 584424c651 Fix second integration test as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-13 09:52:03 +02:00
Joas Schilling 6eb692da7f Correctly log failed attempts
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-13 09:30:51 +02:00
Vincent Petry 4ecedffb5b Merge pull request #31345 from nextcloud/fix/31164/delete-additional-email
Fix deletion of additional emails
2022-06-13 09:14:16 +02:00
Nextcloud bot 311a7edd0f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-13 02:28:17 +00:00
Nextcloud bot af0b50daa5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-12 02:27:53 +00:00
Nextcloud bot 6ae3fcf9b5 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-11 15:29:08 +00:00
Nextcloud bot a7b932cb52 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-11 02:28:28 +00:00
dependabot[bot] cf4157a073 Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.2...7.4.4)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-11 01:03:49 +00:00
Christopher Ng 2948c5e1f1 Use unique key to prevent email component reuse
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-10 20:15:35 +00:00
Vincent Petry 2ee948e8d1 Merge pull request #30368 from nextcloud/dav-allow-object-properties
Allow DAV Object properties
2022-06-10 17:07:38 +02:00
Vincent Petry 804ee11803 Merge pull request #31029 from nextcloud/expose-extra-emails-in-dav
Expose additional emails in {DAV:}alternate-URI-set
2022-06-10 16:56:37 +02:00
Thomas Citharel abe5ff3654 Make LostController use IInitialState and LoggerInterface
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-10 16:41:41 +02:00
Thomas Citharel 6283d14fa6 Modernize the LostControllerTest test
Remove some depreciated at() calls

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-10 16:41:41 +02:00
Thomas Citharel 44e13848a1 Add password reset typed events
These hooks are only used in the Encryption app from what I can see.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-10 16:41:41 +02:00
Vincent Petry 5f8e1b7fb9 Merge pull request #31622 from nextcloud/increase-loglevel-modernize-refresh-webcal
Increase loglevel of Webcal parsing errors and modernize code
2022-06-10 16:31:51 +02:00
Vincent Petry 85cc867143 Merge pull request #31771 from nextcloud/fix/hook-encryption-cron
Fix hook encryption with cron job
2022-06-10 16:27:59 +02:00
Vincent Petry e6e1862000 Merge pull request #32059 from cld4h/patch-1
Fix issue #31692 of occ files:scan
2022-06-10 16:20:00 +02:00
Vincent Petry dcfdcf991f Merge pull request #32361 from nextcloud/dav-scheduling-default-calendar
Put calendar invites into the user's first available calendar
2022-06-10 16:03:09 +02:00
Vincent Petry 8e61671b82 Merge pull request #32364 from nextcloud/dav-listeners
🧹 Remove all legacy event dispatchers from CalDAV & CardDAV backends
2022-06-10 15:57:35 +02:00
Joas Schilling 148498bba5 Merge pull request #32741 from nextcloud/Valdnet-patch-2
l10n: Delete apostrophe
2022-06-10 15:54:14 +02:00
Vincent Petry 6ee4e0b94c Merge pull request #32806 from nextcloud/fix-federated-sharing
Revert "Remove inefficient fed share scanner"
2022-06-10 15:47:13 +02:00
Vincent Petry 87b04753d2 Merge pull request #32660 from susnux/master
Feature: Add loglevel exported JS OC.config object
2022-06-10 15:31:36 +02:00
Vincent Petry 4bc469bf80 Merge pull request #32672 from nextcloud/updateCrl
Update crl after revoke externalpassword.csr
2022-06-10 15:30:25 +02:00
Vincent Petry 79f8356438 Merge pull request #32685 from nextcloud/fix/external-storage-password-replacement
Fix replacing external storage password during debug log
2022-06-10 15:28:52 +02:00
Vincent Petry 42d480c94a Merge pull request #32737 from nextcloud/fix/remove-at-matcher-in-settings-tests
Remove deprecated at() matcher from settings tests
2022-06-10 15:23:52 +02:00
Vincent Petry fe45eaca3b Merge pull request #32748 from nextcloud/bugfix/noid/keep-non-default-protocol-in-cloud-id
Keep non default protocol in cloud id
2022-06-10 15:22:03 +02:00
Vincent Petry 142b32c51a Merge pull request #32799 from nextcloud/bugfix/noid/fix-exception-handling-when-profile-data-is-too-long
Fix exception handling when profile data is too long
2022-06-10 15:03:19 +02:00
Vincent Petry 08655a1497 Merge pull request #32800 from nextcloud/bugfix/noid/no-fatal-for-maintenance-mode
Don't spam the log with fatals when maintenance mode is enabled or an…
2022-06-10 15:02:37 +02:00
Daniel Kesselberg 17a12bf617 Run php tests when 3rdparty changed
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-06-10 14:20:43 +02:00
Vincent Petry bea755f153 Merge pull request #32723 from MartinBrugnara/master
Expose umask override value as config parameter: localstorage.umask
2022-06-10 11:23:31 +02:00
Vincent Petry 56b1453945 Merge pull request #32768 from nextcloud/fs-setup-onetime-earlier
perform onetime setup earlier to ensure wrappers are registered on time
2022-06-10 11:21:54 +02:00
Vincent Petry fed85dc063 Merge pull request #32805 from nextcloud/avoid-creating-activities-for-system-user
Avoid creating card activities for system user
2022-06-10 11:21:17 +02:00
Carl Schwan 6667007bf2 Revert "Remove inefficient fed share scanner"
This reverts commit ce31914314.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-10 10:29:42 +02:00
Thomas Citharel 9a60bbebf3 Add tests for OCA\DAV\CardDAV\Activity\Backend (adapted from CalDAV)
And test that the system addressbook will never generate activity events

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-10 09:47:11 +02:00
Thomas Citharel c6c3fd9aa9 Avoid creating carddav activities for the system user
Because of the system addressbook synchronisation.

Closes #32803

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-10 09:07:53 +02:00
Nextcloud bot 8541707f32 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-10 02:33:54 +00:00
Christopher Ng 04cec2b686 Enable keyboard activation of legacy contacts menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-10 01:32:34 +00:00
blizzz b1616dea53 Merge pull request #32797 from nextcloud/fix-external-home-dir
fix mounts mounted at the users home
2022-06-10 00:44:01 +02:00
Joas Schilling 8e3b30f388 Don't spam the log with fatals when maintenance mode is enabled or an upgrade has to be done
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-10 00:36:52 +02:00
Joas Schilling 3235785c24 Fix exception handling when profile data is too long
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-09 22:07:46 +02:00
Robin Appelman 5c768f980e fix mounts mounted at the users home
this fixes external storages with '/' as mountpoint

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-09 19:21:56 +02:00
Pytal 0523626b98 Merge pull request #32675 from nextcloud/fix/validate-dashboard-background 2022-06-09 08:56:48 -07:00
Joas Schilling 550258200b Fix integration test which now actually matches the system-addresssbook entry
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-09 15:38:30 +02:00
Joas Schilling 6e3d668436 Keep non default protocol in cloud id
When there is no protocol on the cloud id, we assume it's https://
But this means that when an http:// server currently sends an OCM
invite to another server, the protocol is striped and the remote
instance will try to talk back to https:// which might not be available.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-09 15:23:05 +02:00
Simon L 76db612b16 Merge pull request #32728 from kesselb/master
Add matrix for psalm baseline update job
2022-06-09 14:04:44 +02:00
Vincent Petry dac93fe048 Merge pull request #32616 from nextcloud/enh/a11y-keyboard-filepicker
Augment file picker modal accessibility
2022-06-09 13:20:19 +02:00
Vincent Petry e56a072fa7 Merge pull request #32769 from nextcloud/enh/32749/regex-universal-search
Specify the filter first for unified search
2022-06-09 12:03:59 +02:00
Joas Schilling 211361da2f Merge pull request #32765 from nextcloud/fix/add-back-delete.png
Add back the deleted.png file
2022-06-09 10:02:49 +02:00
Julius Härtl 42f92153f5 Merge pull request #32767 from nextcloud/seeakble-http-stream-wrappers
handle stream wrappers in SeekableHttpStream
2022-06-09 09:49:55 +02:00
Nextcloud bot da58e46ecd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-09 02:31:52 +00:00
Christopher Ng 0ea95c3ff6 Rename a11y helper function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:25:13 +00:00
Christopher Ng 343eab4c96 Update variable name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:20:37 +00:00
Christopher Ng f876dc6882 Set circular radius on close button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:19:28 +00:00
Christopher Ng 189926b107 Add a11y utility function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:17:19 +00:00
Christopher Ng 9f09caaaea Activate the primary dialog button on enter if there is a single input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:16:04 +00:00
Christopher Ng edba92d1f4 Use keyboard controls with the action buttons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:13:52 +00:00
Christopher Ng 16d2238de5 Use keyboard controls for new folder creation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:12:24 +00:00
Christopher Ng 0b0ef105c5 Use button for grid view toggle instead of hidden checkbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:09:57 +00:00
Christopher Ng 83e16b89a2 Prevent pressing enter key without control focus from activating the primary button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:08:25 +00:00
Christopher Ng fc56c0eb91 Fix focus styling
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:06:53 +00:00
Christopher Ng ba75c61868 Restore grid view toggle
Removed in https://github.com/nextcloud/server/pull/29966 and partially restored in https://github.com/nextcloud/server/pull/30452

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:04:49 +00:00
Christopher Ng a9f6cd19a4 Prepend file picker to be initial keyboard focus target
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:00:13 +00:00
Christopher Ng 229c65b0d7 Handle keyboard navigation in the file picker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-08 23:58:28 +00:00
Pytal b7089c20ee Merge pull request #32736 from nextcloud/enh/a11y/keyboard-contacts-menu 2022-06-08 16:31:46 -07:00
Pytal e76d8bb901 Merge pull request #32697 from nextcloud/fix/get-avatar-authz 2022-06-08 16:27:31 -07:00
Daniel Kesselberg 78786a2887 Specify the filter first for unified search
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-06-08 19:56:41 +02:00
Robin Appelman a937ab03dd perform onetime setup earlier to ensure wrappers are registered on time
this fixes an issue with wrappers like encryption not always being applied to mountpoint that create the storage object directly (such as external storage)

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-08 18:49:54 +02:00
Robin Appelman 499995b37a handle stream wrappers in SeekableHttpStream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-08 17:52:27 +02:00
Anna Larch 6ac271cef0 Add back the deleted.png file as SVG forwarding doesn't work for /core/img
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-06-08 16:23:08 +02:00
Louis de6b0dadbe Merge pull request #31981 from nextcloud/temporary-passwords-fixes-31952
Temporary passwords fixes 31952
2022-06-08 14:59:38 +02:00
Cyrille Bollu 50badb3fb6 Various improvements related to the recent implementation of temporary passwords
for mail shares:

1- Changes style of "forgot password?" and "Back" button
2- Adds information about share password's expiration time in the emails sent.
3- Shows password expiration time in the Share menu
4- Fixes an issue when the message "Password expires..." would be shown for non email share types (which don't have temporary passswords)
5- At share's creation, password should only be sent when it's a permanent one

See also https://github.com/nextcloud/server/issues/31952

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-08 11:29:19 +00:00
Julius Härtl b7bce42078 Merge pull request #32746 from nextcloud/new-share-column-attributes
Add new share attributes column
2022-06-08 10:49:19 +02:00
Joas Schilling 9a8c9e5cf6 Merge pull request #32744 from nextcloud/bugfix/noid/easier-federation-debugging
Always log errors from sending federation api requests to ease debugging
2022-06-08 10:16:51 +02:00
Vincent Petry 7f660674de Add new share attributes column
To store more extended permissions in the future.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-06-08 08:46:23 +02:00
Nextcloud bot c9bee7e309 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-08 02:32:26 +00:00
Christopher Ng 7c50dd888e Test all scopes
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-07 23:57:21 +00:00
Christopher Ng 7455cd9dd7 Fix get avatar authorization
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-07 23:57:21 +00:00
Julius Härtl 0f6fc3284d Merge pull request #32481 from nextcloud/feature/add-docxf-form-mimetypes
Add docxf and form mimetypes
2022-06-08 00:47:46 +02:00
Joas Schilling 1cc2796613 Always log errors from sending federation api requests to ease debugging
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-07 22:01:32 +02:00
Julius Härtl 50ed84fe17 Simlify tests for integrity check on modified mimetype lists
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-07 21:54:27 +02:00
Luka Trovic 4404ed649d feat: add x-office-form-template and x-office-form icons
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-06-07 21:54:27 +02:00
Luka Trovic 0858d3d514 feat: add docxf and form mimetypes
signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-06-07 21:54:27 +02:00
Joas Schilling 50c697dbd4 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-07 20:40:55 +02:00
Christopher Ng c1054ea5eb Augment keyboard accessibility of contacts menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-07 16:57:13 +00:00
Carl Schwan 5907bba3fd Fix hook encryption with cron job
Make sure the setup fs is set before using the Update service

Fix #29674

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-07 15:38:45 +00:00
Joas Schilling a33310f1b1 Add debug flag to the translation checker
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-07 17:09:46 +02:00
Joas Schilling 21734fdda4 Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-07 17:04:36 +02:00
Valdnet dfe7243338 l10n: Delete apostrophe
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-07 16:41:38 +02:00
Louis dcf25d6c77 Merge pull request #32703 from nextcloud/fix/carret_position
Properly calculate carret position
2022-06-07 14:59:36 +02:00
Jasper Weyne 0633a1d9f5 Disable ~/.aws/config access by S3ConnectionTrait
This commit sets the 'use_aws_shared_config_files' option to false, in order to disable configuration loading from ~/.aws/config by the AWS SDK, specifically the S3Client. It is a continuation of #27040, as that PR only changed the behaviour of the CredentialsProvider; this change affects the ConfigurationProvider as well.

Signed-off-by: Jasper Weyne <jasperweyne@gmail.com>
2022-06-07 13:39:14 +02:00
Louis Chemineau 719515afe7 Properly calculate carret position
The carret position is currently hard coded based on the position of the icon in the header.

This PR calculate its position relatively to the header icon.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-07 13:16:20 +02:00
Christoph Wurst 92d64617e6 Merge pull request #26582 from nextcloud/enhancement/logger-function
Add a helper function that makes it easier to log from anywhere
2022-06-07 11:22:26 +02:00
Côme Chilliet c0c54b20d9 Remove deprecated at() matcher from settings tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-06-07 10:05:18 +02:00
Nextcloud bot 407ba4a8bf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-07 02:30:56 +00:00
Pytal 11cbba565b Merge pull request #32732 from nextcloud/dependabot/npm_and_yarn/webpack-5.73.0 2022-06-06 10:38:16 -07:00
dependabot[bot] ed89243950 Bump webpack from 5.72.0 to 5.73.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.0 to 5.73.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.0...v5.73.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-06 16:19:06 +00:00
Ferdinand Thiessen 1da424595f Feature: Add and expose frontend loglevel
This adds a new config variable `loglevel_frontend`,
allowing to configure the logging level of the
browser part as requested in nextcloud/nextcloud-logger#141

If not configured the `loglevel` is used as the fallback.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-06-06 13:37:04 +02:00
Nextcloud bot 31d48a7641 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-06 02:33:59 +00:00
Daniel Kesselberg 2af36577c5 Add matrix for psalm baseline update job
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-06-05 22:57:23 +02:00
Martin Brugnara 7409569994 Expose umask override value as config parameter: localstorage.umask
Commit 451c06d introduced override for umask value.
This is needed to avoid broken env configuration or dirty workers
to mess with the permissions when creating new files.

Most Nextcloud, that does not integrate with external software
would work fine with an hard-coded value (451c06d set it at 022).

Advanced install may require more flexibility, as such this commit
exposes the "umask override value" as configuration parameter:
`localstorage.umask`

It defaults to 0022 both in code and in config/config.sample.php .

Signed-off-by: Martin Brugnara <martin@0x6d62.eu>
2022-06-05 19:19:31 +02:00
Nextcloud bot daa52b4165 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-05 02:33:09 +00:00
Nextcloud bot 9ee3971f7c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-04 02:31:57 +00:00
rakekniven 237b6bdcd4 Merge pull request #32537 from nextcloud/rakekniven-patch-2
l10n: Fix escaping issue
2022-06-03 18:51:51 +02:00
rakekniven 4399ed4712 l10n: Fix escaping issue
At Transifex the string is cut and shown `For the server to work properly, it`

I modified this without vue knowledge. @CarlSchwan Can you check please?

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-03 16:14:29 +02:00
Joas Schilling 6d5d91f6f9 Merge pull request #32556 from nextcloud/bugfix/noid/fix-comments-query-handling
Create query parameters on correct objects to make debugging easier
2022-06-03 15:31:40 +02:00
Joas Schilling 57c686e124 Merge pull request #32620 from nextcloud/bugfix/noid/reset-status-on-clearAt
Also reset the status on clearAt
2022-06-03 15:29:50 +02:00
Joas Schilling 8e59d49701 Merge pull request #32435 from nextcloud/revert-32278-remove-default-php
Revert "Remove call to already default php.ini values"
2022-06-03 14:16:24 +02:00
Valdnet 2dea9a1bd5 Merge pull request #32716 from nextcloud/Valdnet-patch-2
l10n: Change to a capital letter
2022-06-03 10:27:04 +02:00
John Molakvoæ 2f5a00f5b3 Merge pull request #32715 from nextcloud/enh/direct-editing-capabilities
Only load direct editing capabilities when required
2022-06-03 09:57:19 +02:00
Valdnet 1bc6fb2c58 l10n: Change to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-03 09:34:15 +02:00
Julius Härtl 61056587c9 Only load direct editing capabilities when required
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-03 07:15:17 +02:00
Nextcloud bot a90b647aff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-03 02:34:07 +00:00
Pytal a806984c6d Merge pull request #32713 from nextcloud/fix/button_active_in_notif 2022-06-02 10:54:27 -07:00
Pytal c82377d3ba Merge pull request #32702 from nextcloud/fix/header_entries_order 2022-06-02 10:00:48 -07:00
Louis Chemineau dfd98fab12 Prevent button in notifications to be impacted by css rule
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-02 18:34:19 +02:00
Julius Härtl 3f685d5830 Merge pull request #32662 from nextcloud/bugfix/noid/cleanup-s3-tmp
Cleanup temporary files after finishing the write to object storage
2022-06-02 18:25:23 +02:00
Côme Chilliet 27cdc8dab1 Merge pull request #32570 from nextcloud/fix/remove-at-matcher-in-federatedfilesharing-tests
Remove at() matcher from tests in federatedfilesharing
2022-06-02 17:06:01 +02:00
Vincent Petry 07b53b9d41 Merge pull request #32682 from nextcloud/fix/compile_cmd_sass_cmd
Add --if-present flag to prevent error when sass script does not exists
2022-06-02 17:01:18 +02:00
Robin Appelman 8238582e59 store unencrypted size in the unencrypted_size column
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-02 16:07:00 +02:00
Robin Appelman 2a68819a67 add case statement to sql function builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-02 15:52:12 +02:00
Robin Appelman 813b50ed42 make expression build return IQueryFunction instead of string
this allows passing the expressions to further expressions without them being escaped as column names

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-02 15:52:08 +02:00
Julius Härtl 0f0e74a78c Cleanup temporary files after finishing the write to object storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-02 12:57:18 +00:00
Christoph Wurst ca45e6a064 Merge pull request #28703 from nextcloud/enhancement/caldav-reminders-logging
Debug log what happens during reminders processing
2022-06-02 14:29:58 +02:00
blizzz 1d1b9d936b Merge pull request #32690 from nextcloud/bugfix/noid/fix-mountpoint-matching-encryption
Trim mount point before matching in encryption code
2022-06-02 13:47:18 +02:00
blizzz 01bb642901 Merge pull request #32696 from nextcloud/fix/use-image-from-ocp
Use Image class from public API
2022-06-02 13:42:05 +02:00
Louis Chemineau 6905b347ea Declare header entries in the order they are displayed
The notifications entry was declared after the search one, but they are rendered in a different order. This PR switch their declarations, so the order they appear in match their order in the DOM.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-02 11:22:59 +02:00
Nextcloud bot cc65bfe624 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-02 02:32:52 +00:00
Christopher Ng 57c66bf7cb Use Image class from public API
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-02 00:37:36 +00:00
Christopher Ng 00135986ab Validate custom dashboard background image
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-02 00:24:35 +00:00
Vincent Petry b212e8dcc9 Add unit tests for encryption's isSystemWideMountPoint
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-06-01 18:10:59 +02:00
Vincent Petry a704bcf97f Trim mount point before matching in encryption code
Often times the mount point has a leading slash.
This fix sanitizes it to make sure matching works.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-06-01 18:10:59 +02:00
Christoph Wurst 4e5ed32025 Merge pull request #32471 from nextcloud/fix-wrong-dav-activities
Make sure activities are not created when a deleted calendar object expires
2022-06-01 17:01:58 +02:00
blizzz b1c793e663 Merge pull request #32686 from nextcloud/perf/make-x-hash-optin
Make X-HAS-{MD5/SHA256} opt-in
2022-06-01 14:36:54 +02:00
Christoph Wurst 58f7a150ed Debug log what happens during reminders processing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-06-01 11:38:02 +02:00
Carl Schwan 010924916c Fix small typo
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-01 11:13:09 +02:00
Carl Schwan 1b426eda44 Make X-HAS-{MD5/SHA256} opt-in
This is not always needed and slow down the upload

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-01 10:59:04 +02:00
Christoph Wurst 90c31cfddc Fix replacing external storage password during debug log
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-06-01 10:31:19 +02:00
Louis Chemineau 9566fb8007 Add --if-present flag to prevent error when sass script does not exists
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-01 09:04:26 +02:00
Vincent Petry 0726271504 Merge pull request #32371 from nextcloud/fix-31952
More meaningfull message when a public authenticated share's password is wrong or has expired.
2022-06-01 09:04:11 +02:00
Nextcloud bot e6177afeda [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-01 02:32:26 +00:00
Christoph Wurst 581bb62d9c Merge pull request #32666 from nextcloud/fix/background-job-type-check
Check background job type
2022-05-31 19:16:36 +02:00
Pytal 40fef4a9db Merge pull request #32670 from nextcloud/fix/share_permissions_rendering 2022-05-31 09:38:53 -07:00
Julius Härtl 22fa193684 Merge pull request #32671 from nextcloud/debt/noid/psalm-baseline
Update psalm-baseline
2022-05-31 17:56:58 +02:00
Cyrille Bollu 4a790fedf0 More meaningfull message when a public authenticated share's password is wrong or has expired
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2022-05-31 17:26:58 +02:00
Christoph Wurst b17c4a6072 Check background job type
It is assumed that a job class loaded from the jobs table is an IJob,
but due to programming error the job might be of another type. Then the
setters will most likely fail.

This patch adds an interface type check so only correct jobs are used,
anything else is ignored.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-05-31 15:24:30 +00:00
Vitor Mattos 756e2b120a Update crl after revoke externalpassword.csr
Reference: https://github.com/nextcloud/app-certificate-requests/pull/519

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-05-31 10:02:06 -03:00
Daniel Kesselberg 8415a06091 Update psalm-baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-31 14:53:07 +02:00
blizzz df89e7fd39 Merge pull request #32485 from nextcloud/debt/noid/psalm-streamer-fh
[Psalm] Fix docblock for addFileFromStream
2022-05-31 14:22:05 +02:00
Louis Chemineau 5fee0fbd5b Fix share permissions rendering
The `SHARE` permissions falls into the `default` case in the switch case, causing the rendering to look like ` , Upload, Read`.

This PR changes the return value of the `default` case and adds a `filter` to remove those values.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-31 14:17:16 +02:00
blizzz 9a444a8be6 Merge pull request #32653 from nextcloud/update-3rdparty-master
Update 3rdparty for symfony/translation:4.4.41
2022-05-31 13:55:37 +02:00
Louis 6dd348e34f Merge pull request #32502 from nextcloud/cleanup/worflow-admin
Use SettingsSection in workflowengine settings
2022-05-31 13:19:47 +02:00
Joas Schilling 85caf19731 Update 3rdparty for symfony/translation:4.4.41
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-31 12:42:07 +02:00
blizzz 86b2e67dd6 Merge pull request #32665 from nextcloud/automated/noid/psalm-baseline-update-1653970753
[Automated] Update psalm-baseline.xml
2022-05-31 12:16:39 +02:00
blizzz 699f259c45 Merge pull request #32667 from nextcloud/followup/32655/fix-tests
Fix unit tests
2022-05-31 11:30:51 +02:00
Carl Schwan 30d7763edc Use SettingsSection in workflowengine settings
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-31 08:38:50 +00:00
Joas Schilling 279e06a80f Merge pull request #32587 from nextcloud/bugfix/noid/improve-jsconfighelper
Improve JSConfigHelper code quality a bit
2022-05-31 10:29:30 +02:00
Joas Schilling f855b73aa5 Merge pull request #32583 from jld3103/fix/nextcloud-android-user-agent-match
Fix Nextcloud Android app not showing proper name
2022-05-31 10:28:54 +02:00
Joas Schilling c2af3667dc Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-31 10:23:52 +02:00
Joas Schilling cf9660fdf0 Merge pull request #32628 from nextcloud/bugfix/noid/json-throw
Use JSON_THROW_ON_ERROR instead of custom error handling
2022-05-31 10:06:21 +02:00
Vincent Petry cf9d0b123a Merge pull request #32663 from nextcloud/bugfix/noid/temp-cron
Cleanup tempfiles after each cron job run
2022-05-31 09:19:31 +02:00
John Molakvoæ eca5e2dce1 Merge pull request #32509 from nextcloud/fix/theming-colours-primary 2022-05-31 08:49:03 +02:00
nextcloud-command a1c5176e4c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-31 04:19:13 +00:00
Nextcloud bot 016895d539 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-31 02:33:09 +00:00
Pytal 4873faa951 Merge pull request #32206 from nextcloud/enh/migrator-add-estimatedsize-getter 2022-05-30 17:16:33 -07:00
Christopher Ng aaedc95e81 Update calendar estimation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-30 22:48:15 +00:00
Christopher Ng 9fbbbc7ca6 Update contacts estimation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-30 17:49:05 +00:00
Christopher Ng f2850a6c06 Skip avatar on failure
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-30 17:49:05 +00:00
Christopher Ng 432bc9a585 Update method name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-30 17:49:05 +00:00
Côme Chilliet fa041dabf4 Add the ISizeEstimationMigrator interface for method getExportEstimatedSize
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-30 17:49:05 +00:00
dependabot[bot] d7ec631d5f Merge pull request #32641 from nextcloud/dependabot/npm_and_yarn/core-js-3.22.7 2022-05-30 17:40:52 +00:00
Julius Härtl 3901a93c72 Use JSON_THROW_ON_ERROR instead of custom error handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-30 19:17:49 +02:00
dependabot[bot] 8cf2b7cd35 Bump core-js from 3.22.5 to 3.22.7
Bumps [core-js](https://github.com/zloirock/core-js) from 3.22.5 to 3.22.7.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.22.5...v3.22.7)

---
updated-dependencies:
- dependency-name: core-js
  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>
2022-05-30 16:41:09 +00:00
Julius Härtl c8a6dad519 Cleanup tempfiles after each cron job run
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-30 18:01:51 +02:00
Côme Chilliet 7140201a32 Merge pull request #32634 from nextcloud/debt/noid/psalm-moveable-mount
[Psalm] Fix docblock for return type
2022-05-30 17:05:50 +02:00
Vincent Petry 0886437f2c Merge pull request #32591 from nextcloud/fix/node-test
Fix node tests ci
2022-05-30 17:00:27 +02:00
jld3103 26804ceccb Fix Nextcloud Android app not showing proper name 2022-05-30 16:11:26 +02:00
Côme Chilliet ee9f37c3d6 Merge pull request #32649 from nextcloud/automated/noid/psalm-baseline-update-1653884512
[Automated] Update psalm-baseline.xml
2022-05-30 14:49:32 +02:00
Carl Schwan 1164c762eb Merge pull request #31948 from nextcloud/core-cleanup-74
Update core to PHP 7.4 standard
2022-05-30 14:37:37 +02:00
Carl Schwan e86bcc8953 Merge pull request #32655 from nextcloud/fix/handle-non-existing-settings
Handle non existing settings again
2022-05-30 12:53:36 +02:00
Joas Schilling f9efc410fa Restore old behaviour of sending flase for not found apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-30 12:41:35 +02:00
Joas Schilling eb1a69d627 Improve JSConfigHelper code quality a bit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-30 12:33:45 +02:00
Carl Schwan 63f589109b Handle non existing settings again
See https://github.com/nextcloud/server/pull/28189#issuecomment-1140874991

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-30 11:06:55 +02:00
Carl Schwan 623293c2dd Fix node tests ci
- Update jest snapshot
- Fix importing 3rdparty vue components
- Disable temporarely tests using nextcloud-vue/Button

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-30 10:54:45 +02:00
Côme Chilliet 6da413f7af Move new IMigrator method to a specific interface ISizeEstimationMigrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-30 07:36:13 +00:00
Côme Chilliet 09917b8583 Implement getExportEstimatedSize in migrators
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-30 07:36:13 +00:00
Côme Chilliet f20b7e5764 Add a method to get estimated export size in IMigrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-30 07:36:13 +00:00
nextcloud-command b9e47ad054 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-30 04:21:52 +00:00
Nextcloud bot 72bb8f6c31 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-30 02:31:52 +00:00
Nextcloud bot 5a12e8f906 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-29 02:33:23 +00:00
Andy Xheli c19c059994 Fix User profile picture when performing the search
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Before 
![image](https://user-images.githubusercontent.com/59488153/140980158-b9108161-57ab-48b4-ae6f-98ec4e72775a.png)

After




Fix for #31065
2022-05-27 14:48:06 -05:00
Daniel Kesselberg f399fd41ec Fix docblock for return type
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-27 20:05:46 +02:00
Carl Schwan ec96aa527b Merge pull request #32594 from nextcloud/fix/groupfolder-not-loading-when-share-disabled
Fix loading groupfolder info when share api is disabled
2022-05-27 18:54:49 +02:00
Carl Schwan e4378fd18c Merge pull request #32349 from nextcloud/enh/projects-event
Add event to load additional scripts for projects
2022-05-27 18:36:40 +02:00
Julius Härtl ac79137816 Merge pull request #32592 from nextcloud/fix/noid/allow-rememberme-token-apache-auth-backend
allow use of rememberme cookies for IApacheAuth backends
2022-05-27 17:21:08 +02:00
Carl Schwan 8dcab81068 Merge pull request #32596 from nextcloud/enhancement/php8.2-lint
Add lint job for PHP8.2
2022-05-27 13:40:56 +02:00
Joas Schilling 1429a9a8ef Also reset the status on clearAt
When you set yourself to "DND - In a meeting" for one hour,
the expectation is that you are also "online"/normal again
when the meeting is over. So we extend the logic to also include
the status itself to be reverted.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-27 11:32:53 +02:00
Joas Schilling 210394352a Merge pull request #32601 from nextcloud/GdDebug
Move Gd failed operations to debug level
2022-05-27 11:31:11 +02:00
Joas Schilling 9ad5b301ce Merge pull request #32618 from nextcloud/bugfix/noid/fix-status-handling
Fix status handling
2022-05-27 11:20:25 +02:00
Carl Schwan 581e13a2d3 Fix loading groupfolder info when share api is disabled
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-27 10:46:57 +02:00
Joas Schilling f5878038ff Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-27 10:46:47 +02:00
Joas Schilling 52737c029c Don't overwrite certain values if the refreshing comes in via short updates
This e.g. happens from the talk participant list which only has the status, message and icon.
Due to the overwriting e.g. the clearAt was overwritten with null
and afterwards the status modal showed "Invalid date" as "Clear at"

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-27 09:30:16 +02:00
Joas Schilling 5f2e7e9710 Fix missing status with predefined status in drop-down
When a predefined status message was used, the status was not "processed"
so it was missing the translated message and the icon in the dropdown and the menu afterwards

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-27 09:21:33 +02:00
Nextcloud bot 1aa1994f59 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-27 02:31:05 +00:00
Nextcloud bot 00f9ad3849 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-26 02:31:27 +00:00
Git'Fellow 8d876358dd Move Gd failed operations to debug level
Instead of error
2022-05-25 18:26:42 +02:00
Christoph Wurst a849b3fa0c Add lint job for PHP8.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-05-25 16:21:46 +02:00
Carl Schwan 827e622b50 Merge pull request #32577 from nextcloud/fix/remove-at-matcher-in-files_sharing-tests
Remove at() matcher in files_sharing tests
2022-05-25 14:46:37 +02:00
Arthur Schiwon a4a9e7601a allow use of rememberme cookies for IApacheAuth backends
- e.g. enables it for SAML backend

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-05-25 13:09:06 +02:00
Joas Schilling f9e72a40c7 Merge pull request #32567 from nextcloud/fix/remove-at-matcher-in-encryption-tests
Remove at() matcher use from encryption tests
2022-05-25 11:56:58 +02:00
Joas Schilling 95f390d368 Merge pull request #32580 from nextcloud/bugfix/noid/fix-handling-events-without-name
Fix handling events without names in activities
2022-05-25 09:11:05 +02:00
Joas Schilling 2c670f9cf9 Also trim the name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-25 08:06:32 +02:00
Nextcloud bot d32f683ad6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-25 02:36:02 +00:00
Carl Schwan eb5e0a4e51 Merge pull request #31761 from nextcloud/fix/upgarde-phpunit-in-ci-to-recent-version
Require a recent phpunit version in integration and acceptance
2022-05-24 22:18:20 +02:00
Daniel Kesselberg be99ea969e Fix type for resource
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-24 22:05:59 +02:00
Daniel Kesselberg 95ec67ecd7 Fix docblock for addFileFromStream
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-24 22:05:59 +02:00
Carl Schwan 1fc2e903a7 Merge pull request #32557 from nextcloud/cleanup/dav-admin-settings
Modernize the dav admin settings
2022-05-24 21:11:22 +02:00
Carl Schwan d6158c8aea Merge pull request #32548 from nextcloud/fix/return-type
Fix return type and make type stricter
2022-05-24 20:46:23 +02:00
Carl Schwan a40b6ce995 Merge pull request #32575 from nextcloud/improve/warning
Improve warning about missing pnctl
2022-05-24 20:44:26 +02:00
Côme Chilliet 8951f069fe Require a recent phpunit version in integration and acceptance
Otherwise build with PHP>8 will fail as PHPUnit 6 does not support it

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-24 18:54:29 +02:00
Joas Schilling ba684f5c58 Fix handling events without names in activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-24 17:04:56 +02:00
Côme Chilliet 948f0740ff Remove at() matcher in files_sharing tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-24 15:20:52 +02:00
John Molakvoæ 53577ab34a Merge pull request #32558 from nextcloud/fix/eslint 2022-05-24 15:10:42 +02:00
Carl Schwan 98b25b457e Improve warning about missing pnctl
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 15:04:41 +02:00
Carl Schwan cc38424179 Merge pull request #32571 from nextcloud/fix/remove-at-matcher-in-files-tests
Remove at() matcher for tests for files app
2022-05-24 14:44:02 +02:00
Côme Chilliet 4dfc839f87 Remove at() matcher for tests for files app
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-24 13:02:07 +02:00
Côme Chilliet 1e09e7a1b6 Remove at() matcher from tests in federatedfilesharing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-24 12:56:01 +02:00
Côme Chilliet deac17b71e Remove at() matcher use from encryption tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-24 12:18:19 +02:00
Carl Schwan 3ada267a02 Fix return type and make type stricter
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 12:05:17 +02:00
Carl Schwan 8c3421e7d8 Modernize the dav admin settings
- Use nextcloud-vue components (with proper doc link now)
- Add underline to links so we can see them (accessibility++)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 10:25:52 +02:00
Carl Schwan 6d883a8572 Fix various errors reported by eslint
And also make sure eslint doesn't try to index apps-extra that contains
other repo with not necessarely the same eslint rules

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 10:12:18 +02:00
Côme Chilliet 45a75c631e Merge pull request #32555 from nextcloud/fix/revert-api-break
Revert api break
2022-05-24 09:06:00 +02:00
Joas Schilling 53af533853 Merge pull request #32560 from nextcloud/feature/noid/preferences-api
Add API to change preferences
2022-05-24 07:58:00 +02:00
Carl Schwan 6147bb611c Revert api break
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 06:59:40 +02:00
Joas Schilling 1d14f08b56 Merge pull request #32554 from nextcloud/followup/32378/adjust-docs-on-interface
Adjust docs to the same as the implementation
2022-05-24 06:52:53 +02:00
Nextcloud bot 17bdfb1284 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-24 02:32:52 +00:00
Joas Schilling 41711988c7 Merge pull request #32559 from nextcloud/bugfix/noid/update-dav-availability
Update DAV availability vue component to standard
2022-05-23 17:03:41 +02:00
Joas Schilling 31dc9aa682 Add API to change preferences
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-23 16:44:23 +02:00
Joas Schilling da7ebef8ef Update DAV availability vue component to standard
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-23 15:31:46 +02:00
Joas Schilling 5b82ad0b30 Create query parameters on correct objects to make debugging easier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-23 13:02:36 +02:00
Joas Schilling be4faebc47 Adjust docs to the same as the implementation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-23 12:56:47 +02:00
Carl Schwan 8d599c3410 Merge pull request #32378 from nextcloud/fix/psalm-userbackend
Fix psalm issues related to the user backend
2022-05-23 11:41:21 +02:00
Christoph Wurst 450136b7cf Add a helper function that makes it easier to log from anywhere
Our DI is able to inject a logger implementation to any server and app
class if they want one. However, sometimes DI isn't applicable or hard
to add. In those cases we typically fell back to the *service locator*
pattern where we acquired a logger from the server via a global
variable.

There were some issues with that
* `\OC` is a private class, apps are not supposed to use it
* `\OC::$server` is a global variable, a well known anti-pattern
* `\OC::$server->get(...)` uses the service locator anti-pattern
* `\OC::$server->get(...)` may throw
* `\OC::$server->get(LoggerInterface::class)` is not scoped to an app

With this patch I'm proposing a new helper function ``\OCP\Log\logger``
that can be used to acquire a logger more easily. This function is meant
to be public API and therefore apps may use it and there is an optional
parameter to specifiy the app ID.
The function hides all the ugly details about the global variable and
the potentially thrown exceptions from the user. Therefore it's
guaranteed that you always get a logger instance. In the worst case you
get a noop, though those occasions should be rare.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-05-23 09:53:38 +02:00
Christoph Wurst 384efc8958 Merge pull request #32519 from nextcloud/rename-webcal-user-agent
Rename user-agent used by the Webcal Refresh Service
2022-05-23 09:45:21 +02:00
Nextcloud bot 74d81655e8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-23 02:31:03 +00:00
MichaIng 3b8a0053d9 Merge pull request #32539 from nextcloud/automated/noid/psalm-baseline-update-1653192698
[Automated] Update psalm-baseline.xml
2022-05-22 19:29:19 +02:00
nextcloud-command 14907ee098 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-22 04:11:38 +00:00
Nextcloud bot f0e75d9c64 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-22 02:30:54 +00:00
dependabot[bot] e9011f0495 Merge pull request #32527 from nextcloud/dependabot/npm_and_yarn/sass-1.52.1 2022-05-21 03:47:06 +00:00
Nextcloud bot cb7c45b2d4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-21 02:33:50 +00:00
dependabot[bot] 3d707f72bc Bump sass from 1.50.0 to 1.52.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.50.0 to 1.52.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.50.0...1.52.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 02:10:10 +00:00
Carl Schwan b70c6a128f Update core to PHP 7.4 standard
- Typed properties
- Port to LoggerInterface

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-20 22:18:06 +02:00
Pytal e647b9fa49 Merge pull request #32443 from nextcloud/port/background-job-admin 2022-05-20 09:58:13 -07:00
Carl Schwan 697b83bf50 Merge pull request #32501 from nextcloud/cleanup/admin-delegation-setting
Cleanup admin delegation setting page
2022-05-20 18:55:18 +02:00
Carl Schwan d90583ca28 Merge pull request #32486 from nextcloud/debt/noid/psalm-username
[Psalm] Rename $userName to $username  to align with child classes
2022-05-20 18:19:53 +02:00
Carl Schwan 2b0d82675f Merge pull request #32459 from nextcloud/port/federatedfilessharing-admin
Port admin federated files sharing to vue
2022-05-20 17:34:25 +02:00
Daniel 1629b55f51 Merge pull request #32517 from nextcloud/bugfix/noid/make-appname-accessible
Make appName of TemplateResponse accessible in BeforeTemplateRendered…
2022-05-20 17:17:58 +02:00
Carl Schwan 9ec0cb0a90 Fix psalm issues related to the user backend
- Reflect the actual return value returned by the implementation in the
  the interface. E.g. IUser|bool -> IUser|false
- Remove $hasLoggedIn parameter from private countUser implementation.
  Replace the two call with the equivalent countSeenUser
- getBackend is nuallable, add this to the interface
- Use backend interface to make psalm happy about call to undefined
  methods. Also helps with getting rid at some point of the old
  implementActions

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-20 17:14:58 +02:00
Thomas Citharel 424fc1b736 Rename user-agent used by the Webcal Refresh Service
Some services don't like the "crawler" inside the previous user-agent.

Closes https://github.com/nextcloud/calendar/issues/4232

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-20 16:23:40 +02:00
Carl Schwan 2727c57ae8 Port admin federated files sharing to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-20 15:55:16 +02:00
Carl Schwan 6fdeb9b417 Merge pull request #32503 from nextcloud/improve-two-factor
Improve two factor admin settings
2022-05-20 15:04:09 +02:00
Joas Schilling ad908cd87a Make appName of TemplateResponse accessible in BeforeTemplateRenderedEvent
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-20 15:03:40 +02:00
Carl Schwan e8e0f97c9a Port BackgroundJob admin settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-20 15:00:54 +02:00
Joas Schilling bc82fa48d1 Merge pull request #32406 from nextcloud/debt/noid/psalm-warning-idbconnection
[Psalm] Fix spelling for PreConditionNotMetException
2022-05-20 14:32:33 +02:00
Carl Schwan 9d5a542a4e Improve two factor admin settings
- Port more of it to vue
- Use new nextcloud vue components for the setting section
- Add a bit of spacing between the elements

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-20 13:27:55 +02:00
Christoph Wurst af4a90924d Merge pull request #32497 from nextcloud/fix/custom-php-runtime-autotest
Use custom PHP runtime for PHPUnit execution in autotest
2022-05-20 13:10:51 +02:00
John Molakvoæ d64a63abc6 Properly calculate primary element based on background luminance
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-20 08:42:32 +02:00
John Molakvoæ 87ce03db1a Merge pull request #32410 from nextcloud/bugfix/noid/imaginary-exception 2022-05-20 08:14:17 +02:00
John Molakvoæ 818b898df5 Merge pull request #32496 from nextcloud/fix/cropp-condition 2022-05-20 08:08:48 +02:00
Nextcloud bot 17a2b1d3aa [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-20 02:33:07 +00:00
Carl Schwan 4f4d777767 Cleanup admin delegation setting page
- Simplify code a bit
- Add link to doc
- Use Nextcloud vue component a bit more

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-19 18:15:41 +02:00
Carl Schwan eb720b9726 Merge pull request #32464 from nextcloud/port/sharebymail-admin-vue
Port share by mail settings to vue
2022-05-19 17:45:36 +02:00
Carl Schwan a5a4e0df1c Fix crop condition
Make sure that when fetching the image from the cache we don't
accidentally fetch the cropped image just because it also start with
256-256

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-19 17:25:32 +02:00
Julius Härtl 3742b7392d Add explicit return if getSmallImagePreview fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-19 17:01:01 +02:00
Carl Schwan da49e3f3e0 Port share by mail settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-19 15:45:44 +02:00
Daniel Kesselberg cf2bc22e0f Fix return type for createSpecificUser
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-19 14:36:52 +02:00
Daniel Kesselberg e163b1bb48 Rename userName to username to align with child classes
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-19 14:36:41 +02:00
Christoph Wurst b933e997c3 Use custom PHP runtime for PHPUnit execution in autotest
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-05-19 13:58:19 +02:00
blizzz 2c5d604a76 Merge pull request #32442 from nextcloud/debt/noid/hello-chunkperf
Bye Bye chunkperf.php 👋
2022-05-19 12:56:20 +02:00
Nextcloud bot cdd1793efd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-19 02:32:23 +00:00
MichaIng cf97a8e935 Merge pull request #32467 from nextcloud/automated/noid/psalm-baseline-update-1652847360
[Automated] Update psalm-baseline.xml
2022-05-18 18:55:29 +02:00
MichaIng f07bbb3db1 Merge pull request #32390 from nextcloud/dependabot/npm_and_yarn/puppeteer-14.1.0
Bump puppeteer from 13.6.0 to 14.1.0
2022-05-18 18:53:47 +02:00
Carl Schwan 1b60f304c2 Merge pull request #32451 from nextcloud/fix/cropped-image-when-not-asked
Fix cropped image generated when not asked
2022-05-18 16:08:58 +02:00
Christoph Wurst 4cd0b2253d Merge pull request #32428 from nextcloud/enhancement/validate-email
Add Email validation
2022-05-18 11:22:55 +02:00
Thomas Citharel cf8b98bf5f Make sure activities are not created when a deleted calendar object expires
Closes https://github.com/nextcloud/activity/issues/784

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-18 11:17:27 +02:00
Simon L 18dd460720 Merge pull request #26813 from nextcloud/feature/files-search-tags
Files: Extend search to also cover tags
2022-05-18 10:58:02 +02:00
Anna Larch 440f69bd69 Add email validation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-05-18 07:54:30 +02:00
nextcloud-command 96e9ed3d48 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-18 04:15:59 +00:00
Nextcloud bot ebd9efd584 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-18 02:32:48 +00:00
Robin Appelman 6d6662ec68 expose displayname cache trough a public interface
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-05-18 03:47:34 +02:00
Marcel Klehr f755ee0868 Files: Extend search to also cover tags
fixes #326

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-05-17 21:05:09 +02:00
Daniel Kesselberg 33cd7bfacc Remove chunkperf.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-17 17:25:10 +02:00
Daniel Kesselberg 6281c2da51 Make chunkperf.php work again
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-17 17:25:10 +02:00
Thomas Citharel 741c44385f Increase loglevel of Webcal parsing errors and modernize code
Closes #31612

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:11:58 +02:00
Thomas Citharel 190a71ecf9 Expose additional emails in {DAV:}alternate-URI-set
This allows iMip invitations to be send with an alternative email as
"Reply-To" field.

Closes #27201

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:11:36 +02:00
Thomas Citharel 28b0da59ce Fix a doctype in OCP for IAddressBook
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:09:49 +02:00
Thomas Citharel 060c8d7c4b Add some typed properties
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:09:49 +02:00
Thomas Citharel 4bb31c021e Remove all legacy event dispatchers from CalDAV & CardDAV backends
Move them to proper EventListeners and test them

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:09:46 +02:00
Carl Schwan 07c9bf1adf Merge pull request #31943 from nextcloud/dav-cleanup
Cleanup dav
2022-05-17 14:59:59 +02:00
Côme Chilliet a4f23b17a9 Merge pull request #32404 from nextcloud/debt/noid/psalm-warning-iaddressbook
[Psalm] Drop redundanten return comment
2022-05-17 14:17:43 +02:00
Robin Appelman 83f831c263 Merge pull request #32427 from nextcloud/boot-event-ordering
reorder startup events to fix overlapping
2022-05-17 11:55:00 +00:00
Simon L 0b184f6135 Merge pull request #32439 from nextcloud/enh/noid/database-checks
adjust wording for database checks
2022-05-17 12:26:46 +02:00
Carl Schwan 05bf8b4445 Fix cropped image generated when not asked
The $crop parameter was not propagated to the imaginary pipeline and
instead it used the smartcrop algorithm always

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-17 10:19:54 +02:00
Louis 8ed92ad4f7 Merge pull request #32216 from SUNET/master
Respect user settings in php.ini if they are big enough
2022-05-17 10:14:56 +02:00
John Molakvoæ 9e18a3be2d Merge pull request #32405 from nextcloud/debt/noid/psalm-warning-isearchrequest 2022-05-17 08:29:32 +02:00
Julius Härtl 4c61db442b Merge pull request #31623 from nextcloud/tweak-default-scopes-accounts
Allow to tweak default scopes for accounts
2022-05-17 08:23:53 +02:00
Nextcloud bot 67472b7167 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-17 02:29:30 +00:00
Thomas Citharel 4d26a9afa0 Allow to tweak default scopes for accounts
Close #6582

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-16 22:54:51 +02:00
Carl Schwan 046d5451b1 Improve accessibility of the title of the settings
Before every setting page had the same title and this is causing issues
for screenreaders since they can't differenciate the title of page. Now
a new variable is available for apps to declare the page subtitle.

This new variable is implemented for the settings app and while at it I
added a bit more type hinting to the stuff I touched :)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 22:47:37 +02:00
John Molakvoæ ab0548e4ed Merge pull request #31584 from nextcloud/fix/accessibility 2022-05-16 22:24:30 +02:00
rakekniven ec6f28b52d l10n: Changed spelling
See https://en.wikipedia.org/wiki/MIME for details.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-16 20:17:25 +00:00
Julius Härtl 07f17d01cc Merge pull request #32306 from nextcloud/fix/migrate-phpunit-configuration
Migrate phpunit configuration to new format
2022-05-16 20:44:00 +02:00
szaimen c6f3fe99f4 adjust wording for database checks
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-05-16 19:22:23 +02:00
Julius Härtl 778db45631 Merge pull request #32357 from nextcloud/user-delete-remove-wrappers
remove storage wrappers when deleting the user storage
2022-05-16 19:08:35 +02:00
Julius Härtl 795a13a888 Merge pull request #32412 from nextcloud/bugfix/noid/maintenance-script
Properly import maintenance script
2022-05-16 19:04:56 +02:00
Carl Schwan 03c46cf115 Merge pull request #32413 from nextcloud/fix/psalm-oc-legacy
Fix psalm errors from the end of the baseline file
2022-05-16 18:30:09 +02:00
Joas Schilling a6ca9d592d Revert "Remove call to already default php.ini values" 2022-05-16 15:54:18 +02:00
Louis 8100580b5d Merge pull request #32372 from nextcloud/Valdnet-patch-2
l10n: Remove asterisk
2022-05-16 15:43:39 +02:00
Côme Chilliet cfd5da3466 Merge pull request #32393 from nextcloud/automated/noid/psalm-baseline-update-1652505516
[Automated] Update psalm-baseline.xml
2022-05-16 15:37:32 +02:00
Thomas Citharel bd8b2137e2 Allow DAV Object properties
The current implementation only saves them as string. It seems they can
be more complex than that, and that objects were saved directly.

You may find such objects saved in some production databases by
executing:
```sql
SELECT * from oc_properties where propertyvalue = 'Object';
```

This commit adds a repair job to clean all of these "broken" properties
values, adds a new database column to save the type of the property, and
handles converting from and to correct values.

Implementation is very similar to SabreDAV's own PDO backend: https://github.com/nextcloud/3rdparty/blob/4921806dfb1c5c309eac60195ed34e2749baf3c1/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-16 15:02:00 +02:00
Robin Appelman a67bf03ac0 reorder startup events to fix overlapping
current the `request` and `runtime` events overlap with the `init` event which makes it hard to create usefull visualizations.

this reorders things a bit to remove an overlap

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-05-16 13:26:38 +02:00
Carl Schwan c1499519d4 Improve accessibility with more visible focus indication for non vue apps
- Add visible-focus effect on each header entry
- Show focus outline when using focus-visible (keyboard navigation)
- Add polyfy for focus-visible since it's only very recently available
  on webkit
- Change text for link to home button to describe the destination and
  not the current page
- Improve focus effect in app sidebar navigation

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 13:21:48 +02:00
Louis 259b2806bc Merge pull request #32016 from nextcloud/fix/PasswordUpdatedEvent_handling
Use stored user for PasswordUpdatedEvent
2022-05-16 12:38:49 +02:00
Valdnet 91e950ccf1 l10n: Remove asterisk
Removal of a meaningless asterisk for the given sentence.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-05-16 09:53:36 +00:00
Robin Appelman e700c3cd33 Merge pull request #32382 from nextcloud/event-logger-log-minimum
only log diagnostic events if a treshhold is set
2022-05-16 09:52:23 +00:00
Joas Schilling fd576b568c Merge pull request #32305 from nextcloud/bugfix/32302/fix-browser-agent-trimming
Fix user agent trimming on installation
2022-05-16 11:20:46 +02:00
Joas Schilling 6084d691b0 Merge pull request #32375 from nextcloud/bugfix/noid/show-user-account-on-grant-loginflow-step
Show user account on grant loginflow step
2022-05-16 11:18:22 +02:00
Carl Schwan f7be76125f Fix more psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 11:05:54 +02:00
Carl Schwan 53169890d6 Fix psalm errors fron the end of the baseline file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 10:58:26 +02:00
Joas Schilling 40b9769d4d Extend tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-16 10:33:30 +02:00
Micke Nordin 0ace1831f4 Fix suggestions by @artonage
Signed-off-by: Micke Nordin <kano@sunet.se>
2022-05-16 10:15:45 +02:00
Julius Härtl ad405e9376 Merge pull request #32388 from nextcloud/feature/remove-depreceted-element
🔥 remove deprecated element
2022-05-16 09:55:35 +02:00
Julius Härtl d3acf8203d Properly import maintenance script
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-16 09:28:15 +02:00
Nextcloud bot 78e32ecd5b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-16 02:29:46 +00:00
Daniel Kesselberg 00b9e576b4 Fix spelling for PreConditionNotMetException
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-15 22:05:55 +02:00
Daniel Kesselberg f43df2b917 Fix spelling for return type
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-15 22:03:28 +02:00
Daniel Kesselberg c65952a5e8 Drop redundanten return comment
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-15 21:57:50 +02:00
Carl Schwan 4f1a1fd25b Merge pull request #32398 from nextcloud/automated/noid/psalm-baseline-update-1652587922
[Automated] Update psalm-baseline.xml
2022-05-15 11:37:46 +02:00
nextcloud-command fafc098d8e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-15 04:12:02 +00:00
nextcloud-command e6172fcb76 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-14 05:18:36 +00:00
dependabot[bot] 294f05a9d8 Merge pull request #32389 from nextcloud/dependabot/npm_and_yarn/testing-library/vue-5.8.3 2022-05-14 03:03:52 +00:00
Nextcloud bot ebccb2ebd4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-14 02:29:29 +00:00
dependabot[bot] 6ec99b3033 Bump puppeteer from 13.6.0 to 14.1.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.6.0 to 14.1.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v13.6.0...v14.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-14 01:06:54 +00:00
dependabot[bot] 9b03682426 Bump @testing-library/vue from 5.8.2 to 5.8.3
Bumps [@testing-library/vue](https://github.com/testing-library/vue-testing-library) from 5.8.2 to 5.8.3.
- [Release notes](https://github.com/testing-library/vue-testing-library/releases)
- [Commits](https://github.com/testing-library/vue-testing-library/compare/v5.8.2...v5.8.3)

---
updated-dependencies:
- dependency-name: "@testing-library/vue"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-14 01:02:21 +00:00
Vinicius Reis 3b35ed3114 🔥 remove deprecated element
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-13 18:37:10 -03:00
John Molakvoæ 5a80df6e4c Remove stale debug mode 2022-05-13 20:24:18 +02:00
John Molakvoæ 458dc1c040 Update command-rebase.yml 2022-05-13 20:21:52 +02:00
John Molakvoæ 85758a4f70 Merge pull request #31662 from nextcloud/modernize-contactmenu 2022-05-13 20:14:31 +02:00
John Molakvoæ 20a648ed95 Merge pull request #32384 from nextcloud/improve-psalm-server-get 2022-05-13 20:13:58 +02:00
John Molakvoæ aff37408a6 Merge pull request #32261 from nextcloud/feat/remove-scss-support 2022-05-13 17:28:40 +02:00
John Molakvoæ 9de0e77ee0 Merge pull request #32376 from nextcloud/debt/noid/fix-psalm-warning-for-zip-response 2022-05-13 16:26:45 +02:00
Carl Schwan 7f899b3bc8 Improve psalm annotation to make it stricter
Now using class-string<T> as input will only return T, and any other
string will return mixed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-13 16:14:01 +02:00
John Molakvoæ 264adf0c3b Fix profile and add gradient-primary-background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +02:00
John Molakvoæ b8a7ab9941 Fix jsunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +02:00
John Molakvoæ 29a8b2958d Add workflow test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +02:00
John Molakvoæ 73918b8af9 Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:00 +02:00
John Molakvoæ 3e29e0ad13 Npm script
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:11:01 +02:00
John Molakvoæ 78b7baea9d Migrate apps scss
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:11:01 +02:00
John Molakvoæ cc6037e438 Migrate core scss
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:10:59 +02:00
John Molakvoæ 9a9409e315 Remove SCSSCacher
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:10:45 +02:00
Daniel Kesselberg 7cd356ee7d Fix psalm warning for zip response due wrong type
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-13 15:50:26 +02:00
Robin Appelman eda997f2bd only log diagnostic events if a treshhold is set
this prevents log spam and it's rare that you actually want to very short events logged anyway

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-05-13 15:15:26 +02:00
Carl Schwan f4058a2432 Merge pull request #32366 from nextcloud/bug/noid/fix-property-name
Use property name for addType
2022-05-13 13:44:00 +02:00
Carl Schwan 52bb29bde1 Merge pull request #32369 from nextcloud/automated/noid/psalm-baseline-update-1652416168
[Automated] Update psalm-baseline.xml
2022-05-13 13:06:29 +02:00
Carl Schwan 9fcf531154 Merge pull request #30863 from nextcloud/performance/saving-user-profile-info
Minor optimizations for saving user personal information
2022-05-13 12:56:39 +02:00
Joas Schilling db1813f640 Show user account on grant loginflow step
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-13 10:50:30 +02:00
John Molakvoæ fe33e9c08c Merge pull request #32250 from nextcloud/cleanup/cappedmemorycache 2022-05-13 08:27:28 +02:00
nextcloud-command 44bf17999b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-13 04:29:28 +00:00
Nextcloud bot 48bb547e8a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-13 02:29:09 +00:00
Daniel Kesselberg 11cacb52d4 Use property name for addType
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-05-12 21:12:46 +02:00
Carl Schwan acb4f60895 Merge pull request #32359 from nextcloud/dept/use_mutualized_scss
Use toast.scss from @nextcloud/dialogs
2022-05-12 21:08:57 +02:00
Carl Schwan e71db40492 Wrap multiple inserts inside a transation
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 21:02:53 +02:00
Carl Schwan eef973e85b Minor optimizations for saving user personal information
* Remove double hook: the OC_User::changeUser triggers an
OC\AccountManager::userUpdated and the app is already listening to this
signal in its Application definition

* Make createCard not check if an card exists if we already checked
  previously. We also don't try to get the card if the user is disabled
  as we don't use the card in this case

We this change we go from 100 DB requests to 80 DB requests when saving
an user email address.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit c6fd482edf33214a9ad4787e4cac278f871fa7c8)
2022-05-12 21:02:52 +02:00
Carl Schwan eb45a6ca40 Merge pull request #32008 from nextcloud/fix/getSize-bool
Fix Call to a member function getSize() on bool
2022-05-12 21:00:27 +02:00
Carl Schwan febbd21814 Merge pull request #32335 from nextcloud/storage-info-dont-unjail
Don't unjail the path when getting the storage info
2022-05-12 20:59:06 +02:00
Carl Schwan 5c84d3781e Merge pull request #32185 from nextcloud/fix/default-share-provider-oracle
Fix getting shares in a folder on Oracle
2022-05-12 20:58:05 +02:00
Carl Schwan 23771f0587 Merge pull request #32077 from nextcloud/cleanup/lock
Cleanup lock related code
2022-05-12 20:57:38 +02:00
Carl Schwan 9e1d4d17ec Merge pull request #32362 from nextcloud/fix-buttons-workflow
Fix buttons in workflow
2022-05-12 19:01:26 +02:00
Thomas Citharel 232322fe06 Modernize contacts menu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-12 18:31:59 +02:00
rakekniven bcb849475d Merge pull request #32358 from nextcloud/Valdnet-patch-2
l10n: Delete space
2022-05-12 18:29:55 +02:00
Vanessa Pertsch dd8fc35396 add vue button component in workflow rule.vue
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-05-12 16:16:59 +02:00
Vanessa Pertsch d6698c160a add vue button component in workflow operation.vue
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-05-12 16:16:59 +02:00
Joas Schilling 32139610c5 Merge pull request #32355 from nextcloud/bugfix/noid/prevent-invalid-length
Validate requested length is random string generator
2022-05-12 15:45:58 +02:00
Thomas Citharel a7b2e8a593 Refactor CalDAV\Schedule\PluginTest for depreciated phpunit methods
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-12 15:28:36 +02:00
Thomas Citharel 8d7154318f Put calendar invites into the user's first available calendar
If there's no default calendar and we can't find anything with URI
'personal', instead of creating a new one, start by using the first
"real personal calendar" available.

If not, then we create the default one.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-12 15:28:36 +02:00
Carl Schwan 1c97611fa2 Fix Call to a member function getSize() on bool
getFileInfo might return false, handle this case by ignoring the result

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 15:11:46 +02:00
Carl Schwan fcae6a68c3 Cleanup lock related code
- Port to QueryBuilder
- Improve the doc a bit
- Add type hinting

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 15:09:58 +02:00
Carl Schwan ec6b83cc18 Add stricter psalm type for CappedMemoryCache
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 15:06:18 +02:00
Carl Schwan 81500bf837 Fix getting shares in a folder on Orache
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 15:03:25 +02:00
Louis Chemineau 2b685c0e9a Use toast.scss from @nextcloud/dialogs
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-12 14:53:48 +02:00
Valdnet e3653c9e06 l10n: Delete space
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-05-12 14:51:51 +02:00
Robin Appelman 5d69343efa remove storage wrappers when deleting the user storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-05-12 14:40:20 +02:00
Vincent Petry 01dbd22c9c Validate requested length is random string generator
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-05-12 13:58:18 +02:00
blizzz 33ffaad14b Merge pull request #32328 from nextcloud/automated/noid/psalm-baseline-update-1652242827
[Automated] Update psalm-baseline.xml
2022-05-12 12:09:50 +02:00
Joas Schilling 7d218bfb0a Merge pull request #32344 from nextcloud/fix/always-free-db-result-qbmapper-find-entities
Always free the DB result in QBMapper::findEntities
2022-05-12 11:05:03 +02:00
Julius Härtl ae0e9ff083 Move files_sharing over to new event for projects
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-12 10:50:13 +02:00
Julius Härtl 9a6869943e Introduce event for loading additional script on projects
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-12 10:50:13 +02:00
Carl Schwan fc1db22629 Merge pull request #32339 from nextcloud/appdatafactory-public
Make it possible to get the appdata folder using the public API
2022-05-12 10:45:38 +02:00
John Molakvoæ be49f79503 Merge pull request #32278 from nextcloud/remove-default-php 2022-05-12 10:05:46 +02:00
Christoph Wurst 1cd05a06fa Always free the DB result in QBMapper::findEntities
Without this patch it only happened if the code ran through without any
errors. Now the result is also freed in the case of an error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-05-12 09:51:37 +02:00
Carl Schwan a392cd70fb Make it possible to get the appdata folder using the public API
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-11 23:28:37 +02:00
Joas Schilling e11c5f21cf Merge pull request #32336 from nextcloud/feature/noid/talk-poll-ROS
Add talk-poll to the ROS definitions
2022-05-11 17:14:05 +02:00
Joas Schilling d18a293ee5 Add talk-poll to the ROS definitions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-11 14:37:26 +02:00
Robin Appelman 643ef06efc don't unjail the path when getting the storage info
the original reason for adding it no longer exist.

This was added with #30985 since then the share source storage was also used, however this was changed with #32076

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-05-11 11:42:13 +02:00
John Molakvoæ 5a0b28d603 Merge pull request #32326 from nextcloud/fix/icons-cacher 2022-05-11 09:28:58 +02:00
John Molakvoæ 18f2340a40 Merge pull request #32149 from nextcloud/fix-transferring-groupfolders 2022-05-11 08:40:28 +02:00
John Molakvoæ cb73fe26b8 Compile theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-11 08:35:23 +02:00
nextcloud-command e712ea139d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-05-11 04:20:27 +00:00
John Molakvoæ 3c6253f965 Remove old legacy SvgController and IconsCacher
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-10 23:24:07 +02:00
John Molakvoæ c59c3b5c1f Migrate to static icons colours
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-10 23:24:06 +02:00
Carl Schwan da64a3a7e8 Merge pull request #31900 from nextcloud/feat/server-container-public
Add a public replacement for OC::$server->get
2022-05-10 23:23:06 +02:00
Vincent Petry b2fa8a0b53 Merge pull request #31664 from nextcloud/fix/232/keyboard-focus
keyboard focus on login input fields
2022-05-10 20:10:33 +02:00
Carl Schwan f945c0cbc6 Add a public replacement for OC::$server->get
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-10 18:51:12 +02:00
Vanessa Pertsch c714c3380a fix for transferring ownership of groupfolders
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-05-10 16:54:22 +02:00
Vanessa Pertsch 721b2597bc keyboard focus on login input fields
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-05-10 16:29:17 +02:00
Louis Chemineau 816e7827f0 Use stored user for PasswordUpdatedEvent
When handling PasswordUpdatedEvent event, we are calling getLoginName which does not exists.

This PR adds a condition to use the previously stored user when handling PasswordUpdatedEvent.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-10 12:16:33 +02:00
Carl Schwan f0f2a07f85 Merge pull request #32318 from nextcloud/increase-waitForS3-delay
Increase retry delay on 'Wait for S3' CI job
2022-05-10 10:22:26 +02:00
John Molakvoæ 0863a3d423 Merge pull request #32315 from nextcloud/fix/noid/preview-duplicate-folder-creation 2022-05-10 10:11:24 +02:00
John Molakvoæ 8f989bb489 Merge pull request #32274 from nextcloud/tooltip-overflow 2022-05-10 08:26:03 +02:00
Nextcloud bot 799cb624c9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-10 02:36:28 +00:00
Git'Fellow d8c7099cc9 Increase retry delay on 'Wait for S3' CI job
1 second means 10 seconds before failure (1x10). Increasing to 10x10 before failure.
2022-05-09 18:44:46 +02:00
Richard Steinmetz 982c846b11 Fix preview generator trying to recreate an existing folder
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-05-09 17:30:07 +02:00
Alexander F 00505c9a51 Set loglevel for IMagick Thumbnail error to info
Issue #32263

Signed-off-by: Alexander Fleischer <Alexander.Fleischer@tu-ilmenau.de>
2022-05-09 17:09:40 +02:00
Joas Schilling 697cca9913 Merge pull request #32288 from nextcloud/techdebt/noid/fix-json-error
Fix JSON error when comment has no reactions
2022-05-09 17:08:53 +02:00
Côme Chilliet a953401999 Migrate phpunit configuration to new format
Fixes:
Warning:       Your XML configuration validates against a deprecated schema.
Suggestion:    Migrate your XML configuration using "--migrate-configuration"!

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-09 11:51:14 +02:00
Joas Schilling 4e0595fb0f Fix JSON error when comment has no reactions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-09 09:53:49 +02:00
Joas Schilling 7b3e2217de Fix user agent trimming on installation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-09 08:36:34 +02:00
Nextcloud bot 4f55ba2a88 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-09 02:28:55 +00:00
Nextcloud bot cec6d64598 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-08 02:28:52 +00:00
MichaIng 5a8595fbdd Merge pull request #32096 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-14.1.1
Bump @testing-library/user-event from 14.1.0 to 14.1.1
2022-05-07 13:54:12 +02:00
Nextcloud bot 03554060d7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-07 02:28:23 +00:00
Nextcloud bot 9c42717216 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-06 02:28:40 +00:00
Carl Schwan 829490ab7a Cleanup dav
- Remove unused class AppEnabledPlugin
- Add more type hinting when possible

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-05 22:03:59 +02:00
blizzz 0284c0f717 Merge pull request #32276 from nextcloud/fix/ldap_error_handling
Do not dispatch postSetPassword when setPassword fails
2022-05-05 20:19:28 +02:00
Git'Fellow c57fc7918f Fix indentation
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-05 17:39:38 +00:00
Vincent Petry 99151a5589 Merge pull request #32246 from nextcloud/performance/remove-bind-hash
Don't use hash to check if binding worked
2022-05-05 18:09:20 +02:00
Vincent Petry fe24091ffb Merge pull request #32110 from plumbeo/binary-encoding-4
Save encrypted files in binary format
2022-05-05 18:04:06 +02:00
Louis 841a4a4e61 Merge pull request #31964 from nextcloud/feat/ignore_mail_during_contact_lookup
Add setting to ignore email during search
2022-05-05 17:52:13 +02:00
Vincent Petry 7718c9776c Merge pull request #32113 from nextcloud/bugfix/noid/fix-csp-merging-bools
Add CSP policy merge priority for booleans
2022-05-05 17:26:48 +02:00
Louis Chemineau 8a2cf5bb68 Do not dispatch postSetPassword when setPassword fails
Also Improve error message when setPassword fails

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-05 17:21:23 +02:00
Carl Schwan 95b5187300 Don't use slow hashing to check the LDAP binding
Using password_hash is expensive and should be used for hashing
passwords when saving them in the database. Here we just want to see if
the bind was already done with the given password, so use a fast hashing
algorythm.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-05 16:29:38 +02:00
Carl Schwan 0690646d09 Merge pull request #32279 from nextcloud/feat/profiler-cache-hit-info
Add hit information to profiler
2022-05-05 15:51:18 +02:00
Git'Fellow eabfd20e16 Typo
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2022-05-05 15:30:41 +02:00
Git'Fellow 88bb5f773d Switch to overflow-wrap
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-05 13:12:16 +00:00
Carl Schwan ba88187649 Add hit information to profiler
This might be helpful later on for the cache ui that is worked on in
https://github.com/nextcloud/profiler/pull/21

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-05 14:12:44 +02:00
Git'Fellow f110ff9f4d Remove default values
These values are already the default on supported PHP versions.
I suggest to remove these calls.
2022-05-05 13:46:09 +02:00
Git'Fellow 07153a191e Fix tooltips overflow
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-05 07:52:26 +00:00
Joas Schilling d3efd40a24 Merge pull request #32259 from nextcloud/adjust-acceptance-tests-to-changes-in-notifications-markup
Adjust acceptance tests to changes in notifications markup
2022-05-05 09:21:00 +02:00
Joas Schilling 24e25a6b64 Merge pull request #32249 from nextcloud/bugfix/noid/fix-missing-subline-info
Expose shareWithDisplayNameUnique also on autocomplete endpoint
2022-05-05 09:20:45 +02:00
Vincent Petry 4147e1233a Merge pull request #32152 from nextcloud/bugfix/32151/allow-compatibility-wrapper-local-ext-storage
Allow compatibility wrapper on local external storage
2022-05-05 08:18:52 +02:00
Nextcloud bot c752405fff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-05 02:28:30 +00:00
plumbeo 1258caeab7 Save encrypted files in binary format
Default to the more space-efficient binary encoding for newly encrypted files
instead of the traditional base64 encoding, eliminating the 33% overhead.

The new option 'encryption.use_legacy_encoding' allows to force the legacy
encoding format if needed. Files encoded in the old format remain readable.

Based on https://github.com/owncloud/encryption/pull/224 and
https://github.com/owncloud/core/pull/38249 by karakayasemi.

Signed-off-by: plumbeo <plumbeo@users.noreply.github.com>
2022-05-04 17:38:25 +02:00
Carl Schwan 645bc022e2 Merge pull request #32262 from nextcloud/fix/noid/extra-leading-minus
Remove leading "minus"
2022-05-04 13:48:54 +02:00
Louis 7ccfddbe64 Merge pull request #31963 from nextcloud/feat/use_setting_in_dav_search
Use share setting in DAV search
2022-05-04 13:38:03 +02:00
Julien Veyssier af8b7835b8 remove leading minus which thankfully crashes because this operand does not apply to PsrLoggerAdapter
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-05-04 10:51:23 +02:00
Nextcloud bot 8fecf3467f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-04 02:30:36 +00:00
Daniel Calviño Sánchez 3c451f8357 Adjust acceptance tests to changes in notifications markup
Since nextcloud/notifications#1178 each notification in the list is a
"<li>" rather than a "<div>".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-05-03 23:16:24 +02:00
Louis Chemineau 039a830703 Do not display search option in Shares settings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-03 17:51:11 +02:00
Louis Chemineau 80fa3c7319 Add setting to ignore email during search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-03 17:50:29 +02:00
Joas Schilling 290697b08f Merge pull request #32220 from nextcloud/feature/add-tests-to-validate-emojis
Include more emoji chars to test and fixes after include it
2022-05-03 16:08:19 +02:00
Joas Schilling 6e4d721278 Expose shareWithDisplayNameUnique also on autocomplete endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-03 12:51:23 +02:00
Joas Schilling fc826e9811 Merge pull request #32213 from nextcloud/fix/theming-layout
Improve theming layout
2022-05-03 10:29:45 +02:00
Côme Chilliet 0bceaee444 Merge pull request #31775 from nextcloud/fix/migrate-dav-away-from-ilogger
Migrate dav application from ILogger to LoggerInterface
2022-05-03 10:12:20 +02:00
Nextcloud bot c025874e72 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-03 02:28:53 +00:00
Thomas Citharel 1e7d924c61 Fix logging data context to file
It was only logged when an exception was provided or when using
logData (which is not being much used).

We make sure the interpolated parameters are not logged.

Only tested with file write logger, but shouldn't work differently.

Crash reporters always had the context.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-02 19:29:35 +02:00
Nextcloud bot 3197ae83a4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-02 13:12:35 +00:00
Carl Schwan 83eb175682 Merge pull request #32225 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-1.10.0
Bump @nextcloud/axios from 1.9.0 to 1.10.0
2022-05-02 13:57:52 +02:00
Côme Chilliet 3f132d5678 Fix use of $logger from another scope in apps/dav/lib/Server.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:44 +02:00
Côme Chilliet 771028dada Add missing use for LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:44 +02:00
Côme Chilliet 5fb9de6248 Migrate last instances of $server::getLogger() from dav
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:44 +02:00
Côme Chilliet e2531f8503 Migrate dav application from ILogger to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:43 +02:00
Côme Chilliet 49b650c4a4 Fix namespace of RefreshWebcalServiceTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:43 +02:00
Côme Chilliet 1a55ba5e3b Fix PublishingTest class name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:43 +02:00
Côme Chilliet 1d5191b94d Remove use of mixed type which is not available in PHP 7.4
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:37 +02:00
dependabot[bot] 304f27a3cd Bump @nextcloud/axios from 1.9.0 to 1.10.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/axios"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-02 08:42:11 +00:00
Côme Chilliet 459202d54c Merge pull request #31752 from nextcloud/fix/remove-still-more-ilogger
Move away from deprecated ILogger
2022-05-02 10:15:10 +02:00
Joas Schilling 106d5f9c5c Merge pull request #32196 from nextcloud/bugfix/noid/fix-strict-comparison
Fix strict comparison
2022-05-02 08:19:10 +02:00
Nextcloud bot ad9915dd2c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-02 02:29:26 +00:00
John Molakvoæ 4e7989a83e Fix dark theme description
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-01 10:23:02 +02:00
John Molakvoæ 3ce5f51c2a Improve theming layout
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-30 19:16:16 +02:00
Mikael Nordin 30fe91a77f Simpler version as proposed by @artonage
Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2022-04-30 16:41:35 +02:00
John Molakvoæ e9432b00d2 Merge pull request #32217 from nextcloud/feat/theming-override 2022-04-30 14:34:04 +02:00
John Molakvoæ d4c001dc8c Add enforce_theme example IDs
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-30 13:40:28 +02:00
John Molakvoæ f577b5dc96 Fix theming setEnabledThemes unique array
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-30 13:40:27 +02:00
John Molakvoæ 24c5d994c7 Allow to override the default theme
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-30 13:40:27 +02:00
Nextcloud bot 77db6ced43 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-30 02:27:31 +00:00
Vitor Mattos cefcd55994 Include more emoji chars to test and fixes after include it
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-04-29 14:00:57 -03:00
Joas Schilling 0d87335751 Merge pull request #31703 from nextcloud/techdebt/noid/emojihelper-interface
Emojihelper interface
2022-04-29 18:31:29 +02:00
Simon L 2d938ab8dc Merge pull request #32218 from nextcloud/revert-30925-feature/breadcrumb_menu_parent_folder_visible
Revert "Show the child folders in the breadcrumb menu when on a parent entry."
2022-04-29 15:45:48 +02:00
Micke Nordin 259664468a Respect user settings in php.ini if they are big enough
In the admin guide:
* https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html

it is mentioned that you can tweek:
* max_input_time
* max_execution_time

in order to enable larger file uploads. However, the current codebase
will hard code these values to one hour, no matter what the user sets in
php.ini.

This patch will allow the user to set these settings in php.ini and they
will be respected, if and only if, they are set to something bigger than
3600 seconds.

Signed-off-by: Micke Nordin <kano@sunet.se>
2022-04-29 14:50:57 +02:00
blizzz 033d527deb Merge pull request #31758 from nextcloud/fix/utf8-detection-fix
Use sabre function directly rather than duplicating it
2022-04-29 13:05:57 +02:00
Simon L 66e61be9ca Revert "Show the child folders in the breadcrumb menu when on a parent entry."
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-29 13:03:49 +02:00
Nextcloud bot 8367b02785 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-29 02:28:31 +00:00
Joas Schilling 42b98d01bd Merge pull request #32212 from nextcloud/bugfix/noid/make-the-order-of-reactions-reliable
Make the order of reactions reliable
2022-04-28 19:37:58 +02:00
John Molakvoæ 350d0261ea Merge pull request #32204 from nextcloud/fix/invert-logo 2022-04-28 19:30:59 +02:00
Louis f72f81158d Merge pull request #31986 from nextcloud/dependabot/npm_and_yarn/marked-4.0.14
Bump marked from 4.0.13 to 4.0.14
2022-04-28 18:23:44 +02:00
Louis bd572ca51c Merge pull request #32092 from nextcloud/dependabot/npm_and_yarn/karma-6.3.19
Bump karma from 6.3.17 to 6.3.19
2022-04-28 18:23:14 +02:00
John Molakvoæ 5e8a3eb66c Fix header apps icons
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-28 18:12:29 +02:00
John Molakvoæ 7c5bb555e7 Fix logo colour on bright primary colour
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-28 18:11:30 +02:00
Côme Chilliet 12272780ed Merge pull request #32210 from nextcloud/fix/remove-deprecated-occ-app-check-code-command
Remove deprecated occ app:check-code command
2022-04-28 16:44:41 +02:00
Joas Schilling 7c85f8dea4 Make the order of reactions reliable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-28 16:13:41 +02:00
Côme Chilliet b865722ac0 Remove deprecated occ app:check-code command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-28 15:08:01 +02:00
Côme Chilliet 8184e356f4 Remove test for removed class SearchResultSorter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-28 14:56:26 +02:00
blizzz 8342964db0 Merge pull request #32191 from nextcloud/handle-calendar-reminders-with-infinite-recurrence
Handle processing reminders for calendar objects with an infinite number of recurrences
2022-04-28 13:01:13 +02:00
Vitor Mattos a75a22f3ac Increase check if support reactions
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-04-28 07:09:44 -03:00
Joas Schilling 902476fa20 Extract the EmojiService from user status and add an OCP interface
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-28 07:09:44 -03:00
John Molakvoæ a50b4caafd Merge pull request #32202 from nextcloud/fix/layout-theme-array 2022-04-28 11:04:43 +02:00
John Molakvoæ 9a832df62f Merge pull request #32195 from nextcloud/feat/system-theme 2022-04-28 11:04:25 +02:00
Joas Schilling c2d9c2b93e Merge pull request #32200 from nextcloud/Valdnet-patch-2
l10n: Correct a typo
2022-04-28 10:11:10 +02:00
Simon L 3a30f66a93 Merge pull request #32172 from nextcloud/rakekniven-patch-1
l10n: Improve grammar of opcache message
2022-04-28 09:22:26 +02:00
John Molakvoæ 05d743570a Fix Undefined array key "enabledThemes" on layout.user.php
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-28 08:55:46 +02:00
John Molakvoæ 4a646789c3 Add system/light themes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-28 08:41:58 +02:00
Valdnet 71e31c3b86 l10n: Correct a typo
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-28 08:30:49 +02:00
Nextcloud bot f0df06ed31 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-28 02:28:47 +00:00
Pytal d6be54e147 Merge pull request #32164 from nextcloud/pierreozoux-patch-2 2022-04-27 17:14:03 -07:00
dependabot[bot] 59b870f0a5 Bump marked from 4.0.13 to 4.0.14
Bumps [marked](https://github.com/markedjs/marked) from 4.0.13 to 4.0.14.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.13...v4.0.14)

---
updated-dependencies:
- dependency-name: marked
  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>
2022-04-27 21:19:51 +00:00
Joas Schilling 60801d8b1c Fix strict comparison
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-27 20:31:40 +02:00
Simon L 768da60ae2 Merge pull request #32189 from nextcloud/fix/local_loading_for_profile
Mount Profile view after DOMContentLoaded
2022-04-27 19:15:55 +02:00
Thomas Citharel 5494dd736d Handle processing reminders for calendar objects with an infinite number
of recurrences

Closes #29896

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-27 17:17:22 +02:00
John Molakvoæ 971e224ce4 Merge pull request #32180 from nextcloud/fix/dashboard 2022-04-27 16:57:09 +02:00
Louis Chemineau 93ee9cd592 Mount profile after DOMContentLoaded
Fix https://github.com/nextcloud/server/issues/32187

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-27 15:52:05 +02:00
Carl Schwan 5570661bbd Merge pull request #32139 from nextcloud/fix/31970/fix-social-sharing-buttons
fix social sharing buttons
2022-04-27 13:24:49 +02:00
John Molakvoæ fe47cf40da Dashboard fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-27 10:56:20 +00:00
Carl Schwan dbdb9f6f11 Merge pull request #32034 from nextcloud/bugfix/noid/satisfy-binary-operation-order
Make the binary operation order explicit
2022-04-27 11:53:18 +02:00
Pierre Ozoux 1de9c66a9d Adds uploadPartSize to config sample.
closes https://github.com/nextcloud/server/issues/24390

Signed-off-by: Pierre Ozoux <pierre@ozoux.net>
2022-04-27 10:37:46 +02:00
John Molakvoæ b1cb2e5340 Merge pull request #32173 from nextcloud/Valdnet-patch-3 2022-04-27 10:29:19 +02:00
Simon L 309668805b Merge pull request #32154 from nextcloud/Valdnet-patch-2
l10n: Change apostrophe
2022-04-27 09:32:38 +02:00
Valdnet cb18220147 l10n: Fix code
Issue: #32171.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-27 09:04:00 +02:00
rakekniven d2830612d0 l10n: Improve grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-04-27 08:19:19 +02:00
Nextcloud bot fec36ca913 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-27 02:31:37 +00:00
blizzz 17684e7185 Merge pull request #32167 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2022-04-26 23:27:58 +02:00
Nextcloud bot 2425a7effc Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-26 16:05:28 +00:00
John Molakvoæ b72c619d4b Merge pull request #31467 from nextcloud/feat/workflow-auto-update-node.yml 2022-04-26 17:38:16 +02:00
John Molakvoæ 036f871d01 Merge pull request #31492 from nextcloud/fix/check-secret-configured 2022-04-26 17:28:51 +02:00
Côme Chilliet 2b07031d3e composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-26 16:52:53 +02:00
Côme Chilliet a795ad4370 Remove unused class SearchResultSorter
Was used in ajax/share.php which does not exists anymore

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-26 16:52:53 +02:00
Côme Chilliet 23f7a37c03 Remove ILogger usages in lib/private/Files/Storage
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-26 16:52:53 +02:00
Côme Chilliet 069477e608 Migrate more classes of lib/private to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-26 16:52:52 +02:00
Côme Chilliet 0654b24528 Fix identation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-26 16:50:48 +02:00
Côme Chilliet 51f04ed514 Move away from deprecated ILogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-26 16:50:47 +02:00
szaimen dfa14c7767 fix social sharing buttons
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-26 16:42:18 +02:00
Joas Schilling dffbddcca6 Merge pull request #32155 from nextcloud/bugfix/noid/fix-translations-with-trailing-colon
Fx translations with trailing colon
2022-04-26 13:38:15 +02:00
John Molakvoæ 7ab1fcf3c4 Merge pull request #32146 from nextcloud/fix/dark-theme 2022-04-26 12:31:16 +02:00
Simon L 854fa725bd Merge pull request #32142 from nextcloud/techdebt/noid/enable-helper-app-with-force
Enable Talk with --force to have less issues during transition period…
2022-04-26 12:22:42 +02:00
Joas Schilling c798e94876 Merge pull request #32137 from nextcloud/techdebt/noid/give-hints-on-correct-migration-names
Give hints on correct migration versioning
2022-04-26 11:23:33 +02:00
Vincent Petry 9cfc70d189 Update psalm baseline for Sabre decodePath
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-26 11:11:47 +02:00
Côme Chilliet de5b7f260f Trying without the use
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-26 11:10:00 +02:00
Côme Chilliet 9132ed8ef1 Use sabre function directly rather than duplicating it
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-26 11:10:00 +02:00
Joas Schilling 26882a4b59 Fix translations with trailing colons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-26 11:06:00 +02:00
Joas Schilling a4cd9fd37c Add a unit test for translation with trailing colon
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-26 11:05:19 +02:00
Valdnet ee0e597eec l10n: Change apostrophe
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-26 11:02:21 +02:00
John Molakvoæ 8a3f8b07a8 Merge pull request #32147 from nextcloud/fix/css-default-load-setup-guest
Fix default fallback theme on setup any guests pages
2022-04-26 09:49:08 +02:00
Simon L ec5d8c72e1 Merge pull request #32114 from nextcloud/fix/31915/up-to-date-fix
fix showing of all apps are up-to-date in apps management
2022-04-26 09:44:04 +02:00
Vincent Petry 23403ef693 Allow compatibility wrapper on local external storage
The check was likely in place to prevent adding the wrapper on the root
and home storage, which is not possible anyway since the encoding option cannot
be set on that mount.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-26 09:27:29 +02:00
John Molakvoæ 4dc96dd165 Fix mix factor
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-26 09:22:43 +02:00
John Molakvoæ 8e29e814d2 Merge pull request #32145 from nextcloud/fix/phpcolors
Fix mexitek/phpcolors
2022-04-26 09:15:08 +02:00
John Molakvoæ d9b77bc2eb Fix dark theme primary mix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-26 09:00:11 +02:00
John Molakvoæ 6ec0dfeece Fix default fallback theme on setup ang guests pages
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-26 08:50:41 +02:00
cld4h 553239c083 Fix issue #31692 of occ files:scan
occ files:scan reports error "Implicit conversion from float XXX to int loses precision"

Signed-off-by: cld4h <20869428+cld4h@users.noreply.github.com>
2022-04-26 14:22:41 +08:00
John Molakvoæ 5d25da9ccd Update 3rdparty
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-26 08:11:16 +02:00
John Molakvoæ 1f92440b79 Fix mexitek/phpcolors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-26 07:58:57 +02:00
Nextcloud bot 8bcba22d77 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-26 02:28:26 +00:00
Joas Schilling 744adb76a3 Enable Talk with --force to have less issues during transition period after a branch-off
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 22:04:41 +02:00
Vincent Petry 6935baa568 Merge pull request #32084 from nextcloud/root-setup-groupfolders
only need to setup root for groupfolders
2022-04-25 19:35:59 +02:00
Carl Schwan 59e0402691 Merge pull request #32069 from nextcloud/cleanup/allconfig-sql
Cleanup AllConfig
2022-04-25 18:56:15 +02:00
Joas Schilling 2ffcc08332 Fix type fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 16:49:23 +02:00
Joas Schilling 7ee982005a Give hints on correct migration versioning
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 16:21:25 +02:00
Vincent Petry 407fb8c22b Merge pull request #32033 from nextcloud/fix/metadata-scan-app-data
Fix scanning app data with metadata
2022-04-25 15:50:31 +02:00
Simon L 7872fb05a5 Merge pull request #32121 from nextcloud/enh/noid/cronjob-description-update
update description of cronjob settings to be aligned to the documenta…
2022-04-25 15:39:07 +02:00
szaimen 34004a3339 fix showing of all apps are up-to-date in apps management
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-25 12:30:39 +00:00
szaimen d214114a75 update description of cronjob settings to be aligned to the documentation update
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-25 14:17:23 +02:00
Robin Appelman f7413b9afc Merge pull request #32074 from nextcloud/mysql-search-ignore-index-2
tell mysql to ignore the sort index for search queries
2022-04-25 11:23:51 +00:00
Vincent Petry ff385dc679 Merge pull request #32082 from nextcloud/directory-content-lazy-owner
use a lazy user for the file owner when listing a directory
2022-04-25 11:44:44 +02:00
Vincent Petry e693781c21 Merge pull request #32079 from nextcloud/directory-listing-optimize-add-submount
optimize adding submount info to directory content
2022-04-25 11:44:26 +02:00
Vincent Petry 9718254285 Merge pull request #32112 from nextcloud/bugfix/noid/add-missing-index
Add missing index for oc_mounts queries
2022-04-25 11:38:48 +02:00
Vincent Petry 09532fa634 Merge pull request #32109 from k-popov/no_time_sensitive_check_for_webcron
Get not only time-sensitive next job from list but any when not in cron-mode
2022-04-25 11:36:23 +02:00
Joas Schilling 06c3222176 Bump version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 09:45:24 +02:00
Joas Schilling d2633c3ad6 Fix older migrations to the version pattern
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 09:39:56 +02:00
Joas Schilling 5cacc594a0 Add missing index
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25 09:38:31 +02:00
Nextcloud bot 1958c1a1ee [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-25 02:27:51 +00:00
Kirill Popov 0b27b9e658 Get not only time-sensitive next job from list but any
Before the change webcron used to select
**only** time-sensitive tasks.

Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
2022-04-24 21:55:53 +03:00
Nextcloud bot 20d7bf8a88 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-24 02:28:28 +00:00
Joas Schilling e66ebb01bb Merge pull request #32054 from nextcloud/verify-that-talk-could-be-enabled-before-executing-the-tests
Verify that Talk could be enabled before executing the tests
2022-04-23 15:38:46 +02:00
dependabot[bot] 2bed5b6aa9 Bump @testing-library/user-event from 14.1.0 to 14.1.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.1.0 to 14.1.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.1...v14.1.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-23 04:54:17 +00:00
dependabot[bot] e20aab09e3 Merge pull request #32091 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.5 2022-04-23 04:52:49 +00:00
dependabot[bot] 9c11fb6bec Bump karma from 6.3.17 to 6.3.19
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.17 to 6.3.19.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.17...v6.3.19)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-23 04:52:05 +00:00
dependabot[bot] 4ba531a208 Merge pull request #32090 from nextcloud/dependabot/npm_and_yarn/puppeteer-13.6.0 2022-04-23 04:50:26 +00:00
Nextcloud bot d36b3e5644 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-23 02:27:54 +00:00
dependabot[bot] 505627585d Bump babel-loader from 8.2.4 to 8.2.5
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.4 to 8.2.5.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.4...v8.2.5)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-23 01:02:44 +00:00
dependabot[bot] 6ac6dae613 Bump puppeteer from 13.5.2 to 13.6.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.5.2 to 13.6.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v13.5.2...v13.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-23 01:02:43 +00:00
Carl Schwan b7be8f5c22 Merge pull request #32076 from nextcloud/cache-storage-info-failed-share
use and cache root storage info if a share can't be resolved
2022-04-22 21:26:05 +02:00
Robin Appelman b36dfd8f11 Only need to setup root for groupfolders
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 17:47:08 +02:00
Julius Härtl fb59875071 Merge pull request #32040 from nextcloud/full-setup-only-new
only register mounts that are new from providers that are new during a full setup
2022-04-22 17:03:09 +02:00
Robin Appelman 7a6c724a81 Use a lazy user for the file owner when listing a directory
Only getUID and getDisplayName are called on the file owner objects anyway
and we can get this information often without DB request

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 17:02:37 +02:00
Simon L a40db94dff Merge pull request #32073 from nextcloud/fix/DyslexiaFont-theme
Fix dyslexia font loading
2022-04-22 16:30:56 +02:00
Carl Schwan 8bbdd9ea0c Cleanup AllConfig
- Port to QueryBuilder
- More typing when possible
- Import classes with 'use'

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 16:03:29 +02:00
Robin Appelman 9f0ba3adc2 optimize adding submount info to directory content
no need to loop when we can do a hashtable lookup

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 15:50:14 +02:00
Robin Appelman 54ac585bc5 add logging of failed quota info
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 15:29:30 +02:00
Robin Appelman e50d78e11a use and cache root storage info if a share can't be resolved
as is a broken share will never be cached

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 15:29:27 +02:00
Carl Schwan 6b6f24cafd Fix scanning app data with metadata
Previously we were listening to change in the appdata folder but an
appdata scan didn't setup the file system, so the view was unavailable.

**Test plan:**

1. rm -rf data/appdata_...../preview data/<user>/Media
2. occ files:scan-app-data
3. occ files:scan <user>

No errors and the files and metadata are correctly removed from the
database too.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 15:14:59 +02:00
blizzz cfc1c21a80 Merge pull request #32071 from nextcloud/performance/cache-display-name
cache display names in local memory before external memcache
2022-04-22 14:51:46 +02:00
blizzz 102d119297 Merge pull request #32053 from nextcloud/cache-verify-share-mountpoint
cache the verification of the share mountpoint
2022-04-22 14:36:49 +02:00
Robin Appelman a4e120c203 tell mysql to ignore the sort index for search queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 13:42:33 +02:00
John Molakvoæ f7f4d36a37 Fix dyslexia font loading
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-22 13:04:15 +02:00
Robin Appelman 674c0bec2c cache display names in local memory before external memcache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 13:02:30 +02:00
John Molakvoæ 9a76f06eca Merge pull request #31751 from nextcloud/theming-providers 2022-04-22 12:32:14 +02:00
blizzz e1cb1bdce9 Merge pull request #32045 from nextcloud/cache-fullSetupRequired
cache fullSetupRequired locally
2022-04-22 11:32:21 +02:00
John Molakvoæ 850d8ac1cd Add default theming disabled fallback
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-22 11:24:25 +02:00
John Molakvoæ c85ba84bdb Merge pull request #32047 from nextcloud/performance/cache-display-name 2022-04-22 11:20:08 +02:00
Carl Schwan ed4c1e584f Update cache when display name change
This improve the correctness of the data

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 10:29:18 +02:00
Carl Schwan 4333c215cb Cache display name
This should saves some query in the share backend when displaying the
owner and it's not important if the display name is 10 minutes outdated
as it is very rare that this gets changed.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 10:22:15 +02:00
John Molakvoæ 3f55108227 Merge pull request #32048 from nextcloud/cache-storage-info
cache storage info in memcache for 5m
2022-04-22 08:15:40 +02:00
John Molakvoæ 9a1a14d563 Merge pull request #32049 from nextcloud/bugfix/noid/custom-property-ignorelist
Add known dav properties to ignore list
2022-04-22 08:14:40 +02:00
John Molakvoæ 54532b2df3 Merge pull request #32050 from nextcloud/share-cache-owner-name 2022-04-22 08:13:38 +02:00
Nextcloud bot 3eb7c9d717 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-22 02:28:58 +00:00
John Molakvoæ 05a33ad713 Fix acceptance
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:29 +02:00
nextcloud-command 369a7f3128 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-21 19:00:29 +02:00
John Molakvoæ d1dfdfe799 Lint and psalm fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:29 +02:00
John Molakvoæ 3c75a99267 Phpunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:28 +02:00
John Molakvoæ 48381b8913 Ship mexitek/phpcolors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:28 +02:00
John Molakvoæ 1dee36c761 Remove accessibility
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:28 +02:00
Robin Appelman bda8601648 cache the verification of the share mountpoint
after the initial verification this can only really be invalidated by a system mount (external/group/etc) being created at the share target since any normal file/folder creation will already conflict with the share

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 18:08:35 +02:00
Daniel Calviño Sánchez eda6611c8f Verify that Talk could be enabled before executing the tests
This should make the problem clearer if Talk could not be enabled (for
example, due to a version mismatch), as otherwise the tests would fail
in more cryptic ways.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-04-21 17:44:47 +02:00
Robin Appelman 1f1b2a32cb cache the share owner name for formating cache entries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 17:33:18 +02:00
Julius Härtl a54fc45311 Add known dav properties to ignore list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-21 17:01:42 +02:00
Robin Appelman bdfef2dbd1 cache storage info in memcache for 5m
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 16:48:01 +02:00
Joas Schilling dd736fa1da Merge pull request #32042 from nextcloud/shared-storage-instanceof-common
improve optimization for SharedStorage::instanceOfStorage(Common)
2022-04-21 16:24:04 +02:00
Robin Appelman bbf283f818 cache fullSetupRequired locally
no need to hit redis every time

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 16:00:28 +02:00
Robin Appelman e3ade5507d also apply the fix for the other storage types
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 15:00:42 +02:00
Robin Appelman f6d5eb9a75 improve optimization for SharedStorage::instanceOfStorage(Common)
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 14:51:09 +02:00
Robin Appelman 561a2071e4 only register mounts that are new from providers that are new during a full setup
this fixes cases where during the (partial) setup of a shared mount a full setup is triggered

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 12:53:50 +02:00
Joas Schilling 49e62149d8 Make the binary operation order explicit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-21 10:47:26 +02:00
Julius Härtl f4135c72f5 Merge pull request #31047 from nextcloud/enh/preferences-index
Additional index on oc_preferences to make queries without a user filter faster
2022-04-21 09:59:04 +02:00
John Molakvoæ 7b686abe7f Migrate old accessibility config
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 09:31:07 +02:00
John Molakvoæ 493b20605f Font fixes and design update for theme picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 09:31:07 +02:00
John Molakvoæ 9ea72b1010 Migrating themes to Theming app
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 09:31:07 +02:00
John Molakvoæ 69d1d1a84e Write body theme selector straight in the template
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 09:31:07 +02:00
John Molakvoæ fa18a77fa2 Fix twofactor loading and public image
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 09:31:06 +02:00
John Molakvoæ (skjnldsv) a1aaaaa0c8 Update and fix theming images
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-04-21 09:31:06 +02:00
John Molakvoæ (skjnldsv) 738fcba51a Update search icon size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-04-21 09:31:05 +02:00
Joas Schilling b3cf312edc Start theming providers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-21 09:29:33 +02:00
Nextcloud bot 12ed5c9ff3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-21 02:28:12 +00:00
Pytal 6e803858a2 Merge pull request #32021 from nextcloud/fix/shared-dav-export 2022-04-20 09:20:18 -07:00
Julius Härtl 8e53a04e92 Merge pull request #30311 from nextcloud/enh/search-load
Add unified search options
2022-04-20 16:36:15 +02:00
Robin Appelman caebdc2a55 Merge pull request #32024 from nextcloud/local-metadata-forbidden
ignore forbidden files while scanning local storage
2022-04-20 12:34:23 +00:00
Joas Schilling f33305aa38 Merge pull request #32022 from nextcloud/debug/noid/stacktrace-user-object
log stacktrace for 'Backends provided no user object'
2022-04-20 14:10:42 +02:00
Joas Schilling efb432865f Fix test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-20 13:08:31 +02:00
Robin Appelman 468d6a9cf1 ignore forbidden files while scanning local storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-20 13:01:16 +02:00
Arthur Schiwon 1ec4563c2e log stacktrace for 'Backends provided no user object'
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-20 12:15:39 +02:00
Christopher Ng 522cc891c7 Fix warning
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-20 04:47:58 +00:00
Christopher Ng e7f293ba63 Update naming of address book exports
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-20 04:46:28 +00:00
Christopher Ng e670f692cc Fix export of shared calendars
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-20 04:43:30 +00:00
Nextcloud bot 1ea252fad5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-20 02:28:42 +00:00
Louis Chemineau e8ab298d2c Use email settings in DAV search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-19 16:23:08 +02:00
Louis Chemineau 70c56b411e Use share setting in DAV search
shareapi_restrict_user_enumeration_full_match_ignore_second_display_name was introduced to ignore second display name during search from the share panel. But this setting was not respected by search from the calendar application. This fix it.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-19 12:51:57 +02:00
Julius Härtl 7fbd93b2ad Additional index on oc_preferences to make sure that gettingh values without a user filter is fast
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-19 12:37:36 +02:00
Nextcloud bot 13dbad0080 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-19 02:27:59 +00:00
Nextcloud bot 84b91a1737 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-18 02:27:31 +00:00
dependabot[bot] 4d6b029089 Merge pull request #31995 from nextcloud/dependabot/npm_and_yarn/core-js-3.22.0 2022-04-17 23:33:46 +00:00
dependabot[bot] d554c26684 Bump core-js from 3.21.1 to 3.22.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.21.1 to 3.22.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.21.1...v3.22.0)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-17 22:59:18 +00:00
Nextcloud bot 6fa62e9266 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-17 02:26:47 +00:00
Nextcloud bot 42fa300122 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-16 02:26:52 +00:00
Nextcloud bot 6dd13ba827 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-15 02:27:18 +00:00
dependabot[bot] 8a511838be Merge pull request #31991 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-14.1.0 2022-04-15 01:52:03 +00:00
dependabot[bot] 9d9bbd8399 Merge pull request #31989 from nextcloud/dependabot/npm_and_yarn/karma-spec-reporter-0.0.34 2022-04-15 01:48:18 +00:00
dependabot[bot] d83d82e80e Bump @testing-library/user-event from 14.0.4 to 14.1.0
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.0.4 to 14.1.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.0.4...v14.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 20:58:46 +00:00
dependabot[bot] ebbfd0301c Bump karma-spec-reporter from 0.0.33 to 0.0.34
Bumps [karma-spec-reporter](https://github.com/tmcgee123/karma-spec-reporter) from 0.0.33 to 0.0.34.
- [Release notes](https://github.com/tmcgee123/karma-spec-reporter/releases)
- [Commits](https://github.com/tmcgee123/karma-spec-reporter/compare/v0.0.33...v0.0.34)

---
updated-dependencies:
- dependency-name: karma-spec-reporter
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 20:57:51 +00:00
blizzz 52be7bf750 Merge pull request #31956 from nextcloud/techdebt/noid/master-is-now-25
⚠️ Master is now 25
2022-04-14 22:55:19 +02:00
Joas Schilling bd6182b791 Master is now 25
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-14 22:12:53 +02:00
Julius Härtl 93eb584199 Make typeahead and search limit/length configurable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-13 10:05:55 +02:00
Julius Härtl de7280114a Increase debounce timeout to be more realistic with real typing behavior
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-13 10:03:01 +02:00
Andy Xheli 9e8acdc613 Fix Error: Undefined index: redirect_url
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Should fix Undefined index: redirect_url at core/templates/twofactorsetupselection.php #21968
2022-04-12 10:20:41 -05:00
Vincent Petry 18c013d8fc Add CSP policy merge priority for booleans
When two booleans conflict when merging CSP policies, true will win.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-01 13:56:34 +02:00
Carl Schwan 01e2a26749 Fix unit tests
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-10 14:19:48 +01:00
Julius Härtl a6796b4247 Fix decryption fallback after adding a secret
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-10 14:01:21 +01:00
Julius Härtl 553cb499b2 Rotate token after fallback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-10 14:01:21 +01:00
Julius Härtl 81f8719cc0 Add fallback routines for empty secret cases
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-10 14:01:21 +01:00
Carl Schwan 0e58c113a5 Only check if secret is set if the nextcloud is installed
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-09 14:39:59 +01:00
Carl Schwan e6161af662 Also check for instanceid and passwordhash
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-09 13:36:06 +01:00
Carl Schwan 7496bf3461 Require the secret config to be configured
If it's not configured the instance will look like it is working but
various features will silently break (end to end encryption, setting
alternate email and probably more).

One issue is that changing the secret from empty to something will
break various other stuff (app token). I don't think there is a good way
to solve this issue other than breaking early instead of having to
handle a painful migration later on.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-08 23:11:08 +01:00
Tiramisu Mokka 8190441335 files: close open directory file descriptor on error path 2022-03-07 10:19:58 +01:00
Nextcloud bot 1f961e33b0 Updating node.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-06 18:04:42 +00:00
zroebg 2df0f53d0e Add memcached unis socket instructions 2022-02-15 21:00:50 +01:00
6395 changed files with 204198 additions and 140020 deletions
-15
View File
@@ -1,15 +0,0 @@
codecov:
branch: stable24
ci:
- drone.nextcloud.com
- !scrutinizer-ci.com
coverage:
precision: 2
round: down
range: "70...100"
status:
project: off
patch: off
comment: off
+67 -28
View File
@@ -1,34 +1,56 @@
FROM ubuntu:focal
FROM ubuntu:jammy
ARG DEBIAN_FRONTEND=noninteractive
# PHP
RUN apt-get update -y
RUN apt-get update -y && \
apt install -y apache2 vim software-properties-common sudo nano gnupg2
RUN apt-get install --no-install-recommends -y \
php7.4 \
php7.4-gd \
php7.4-zip \
php7.4-curl \
php7.4-xml \
php7.4-mbstring \
php7.4-sqlite \
php7.4-xdebug \
php7.4-pgsql \
php7.4-intl \
php7.4-imagick \
php7.4-gmp \
php7.4-apcu \
php7.4-bcmath \
php8.1 \
php8.1-common \
php8.1-gd \
php8.1-zip \
php8.1-curl \
php8.1-xml \
php8.1-xmlrpc \
php8.1-mbstring \
php8.1-sqlite \
php8.1-xdebug \
php8.1-pgsql \
php8.1-intl \
php8.1-imagick \
php8.1-gmp \
php8.1-apcu \
php8.1-bcmath \
php8.1-redis \
php8.1-soap \
php8.1-imap \
php8.1-opcache \
php8.1-cli \
php8.1-dev \
libmagickcore-6.q16-3-extra \
curl \
vim \
lsof \
make \
nodejs \
npm
unzip
RUN echo "xdebug.remote_enable = 1" >> /etc/php/7.4/cli/conf.d/20-xdebug.ini
RUN echo "xdebug.remote_autostart = 1" >> /etc/php/7.4/cli/conf.d/20-xdebug.ini
# Composer
RUN curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php && \
curl -sS https://composer.github.io/installer.sig -o /tmp/composer-setup.sig && \
php -r "if (hash_file('sha384', '/tmp/composer-setup.php') !== trim(file_get_contents('/tmp/composer-setup.sig'))) { echo 'Composer installation failed, invalid hash'; exit(1); }" && \
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer && \
rm /tmp/composer-setup.php /tmp/composer-setup.sig
RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
echo "xdebug.remote_autostart = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
echo "apc.enable_cli=1" >> /etc/php/8.1/cli/conf.d/20-apcu.ini
# Autostart XDebug for apache
RUN { \
echo "xdebug.mode=debug"; \
echo "xdebug.start_with_request=yes"; \
} >> /etc/php/8.1/apache2/conf.d/20-xdebug.ini
# Docker
RUN apt-get -y install \
@@ -36,12 +58,29 @@ RUN apt-get -y install \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
RUN add-apt-repository \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
RUN apt-get update -y
RUN apt-get install -y docker-ce docker-ce-cli containerd.io
RUN ln -s /var/run/docker-host.sock /var/run/docker.sock
stable" && \
apt-get update -y && \
apt-get install -y docker-ce docker-ce-cli containerd.io && \
ln -s /var/run/docker-host.sock /var/run/docker.sock
# Dedicated DevContainer user runs Apache
ENV APACHE_RUN_USER=devcontainer
ENV APACHE_RUN_GROUP=devcontainer
RUN useradd -ms /bin/bash ${APACHE_RUN_USER} && \
adduser ${APACHE_RUN_USER} sudo && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
sed -ri "s/^export APACHE_RUN_USER=.*$/export APACHE_RUN_USER=${APACHE_RUN_USER}/" "/etc/apache2/envvars" && \
sed -ri "s/^export APACHE_RUN_GROUP=.*$/export APACHE_RUN_GROUP=${APACHE_RUN_GROUP}/" "/etc/apache2/envvars"
USER devcontainer
# NVM
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
RUN bash --login -i -c 'source /home/devcontainer/.bashrc && nvm install 16'
WORKDIR /var/www/html
+72
View File
@@ -0,0 +1,72 @@
# Nextcloud DevContainer
## Usage
Make sure you have the [VSCode DevContainer](https://code.visualstudio.com/docs/devcontainers/containers) extensions installed. If you open the project, VSCode will ask you if you want to open it inside of the DevContainer. If that's not the case, use <kbd>F1</kbd>&rarr;*Dev Containers: Open Folder in Container*.
Alternatively open the project directly in [GitHub Codespaces](https://github.com/features/codespaces).
That's already it. Everything else will be configured automatically by the Containers startup routine.
## Credentials
On first start the Container installs and configures Nextcloud with the following credentials:
**Nextcloud Admin Login**
Username: `admin` <br>
Password: `admin`
**Postgres credentials**
Username: `postgres` <br>
Password: `postgres` <br>
Database: `postgres`
## Services
The following services will be started:
| Service | Local port | Description |
|---------|------------|-------------|
| Nextcloud (served via Apache) | `80` | The main application |
| Mailhog | `8025` | SMTP email delivery for testing |
| Adminer | `8080` | Database viewer. Use credentials from above and connect to `localhost` to get access to the NC database |
## Permissions
The container runs with the user `devcontainer` who is also running the Apache2 process. All mounted source files have
proper permissions so that this user can access everything which is inside the current workspace. If you need to
get root permissions for whatever reason, use `sudo su` or `sudo <command>` (for example `sudo service apache2 restart`).
Everything else (like building the application, adjusting files, ...) should be done as `devcontainer` user.
## NodeJs and NVM
The container comes with [`nvm`](https://github.com/nvm-sh/nvm) and Node 16 installed. This should be sufficient to
build Nextcloud Core sources via `make`. If you need a different Node Version (for example for
app development), you can easily switch between different versions by running:
```bash
# Install and use Node 14
nvm install 14
nvm use 14
# Check version
node -v
# Switch back to Node 16
nvm use 16
# Check version
node -v
```
Note that `nvm` is only installed for the user `devcontainer` and won't work out of the box for
any other user.
## Debugging
The Apache webserver is already configured to automatically try to connect to a debugger process
listening on port `9003`. To start the VSCode debugger process, use the delivered debug profile `Listen for XDebug`.
After you started the VSCode debugger, just navigate to the appropriate Nextcloud URL to get your
debug hits.
+7 -3
View File
@@ -1,6 +1,7 @@
<?php
$cloudEnvironmentId = getenv('CLOUDENV_ENVIRONMENT_ID');
$codespaceName = getenv('CODESPACE_NAME');
$codespaceDomain = getenv('GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN');
$CONFIG = [
'mail_from_address' => 'no-reply',
@@ -12,7 +13,10 @@ $CONFIG = [
'memcache.local' => '\OC\Memcache\APCu',
];
if($cloudEnvironmentId !== true) {
$CONFIG['overwritehost'] = $cloudEnvironmentId . '-80.apps.codespaces.githubusercontent.com';
if(is_string($codespaceName) && !empty($codespaceName) && is_string($codespaceDomain) && !empty($codespaceDomain)) {
$host = $codespaceName . '-80.' . $codespaceDomain;
$CONFIG['overwritehost'] = $host;
$CONFIG['overwrite.cli.url'] = 'https://' . $host;
$CONFIG['overwriteprotocol'] = 'https';
$CONFIG['trusted_domains'] = [ $host ];
}
+16 -11
View File
@@ -8,15 +8,20 @@
8080,
8025
],
"runArgs": [
"--privileged"
],
"extensions": [
"felixfbecker.php-debug",
"felixfbecker.php-intellisense",
"ms-azuretools.vscode-docker"
],
"settings": {
"php.suggest.basic": false,
}
"customizations": {
"vscode": {
"extensions": [
"felixfbecker.php-debug",
"felixfbecker.php-intellisense",
"ms-azuretools.vscode-docker",
"xdebug.php-debug",
"donjayamanne.githistory"
],
"settings": {
"php.suggest.basic": false
}
}
},
"workspaceFolder": "/var/www/html",
"remoteUser": "devcontainer"
}
+8 -1
View File
@@ -5,7 +5,8 @@ services:
volumes:
- .:/workspace:cached
- /var/run/docker.sock:/var/run/docker-host.sock
command: /bin/sh -c "while sleep 1000; do :; done"
- ..:/var/www/html
command: /var/www/html/.devcontainer/entrypoint.sh
ports:
- 80:80
- 8080:8080
@@ -16,6 +17,9 @@ services:
restart: always
environment:
POSTGRES_PASSWORD: postgres
PGDATA: /data/postgres
volumes:
- db:/data/postgres
network_mode: service:nextclouddev
adminer:
@@ -27,3 +31,6 @@ services:
image: mailhog/mailhog
restart: always
network_mode: service:nextclouddev
volumes:
db:
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
sudo service apache2 start
while sleep 1000; do :; done
+14
View File
@@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003
}
]
}
+25
View File
@@ -2,7 +2,32 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"
cd $DIR/
# Set git safe.directory
git config --global --add safe.directory /var/www/html
git config --global --add safe.directory /var/www/html/3rdparty
git submodule update --init
# Codespace config
cp .devcontainer/codespace.config.php config/codespace.config.php
# VSCode debugger profile
mkdir -p .vscode && cp .devcontainer/launch.json .vscode/launch.json
# Onetime installation setup
if [[ ! $(sudo -u ${APACHE_RUN_USER} php occ status) =~ installed:[[:space:]]*true ]]; then
echo "Running NC installation"
sudo -u ${APACHE_RUN_USER} php occ maintenance:install \
--verbose \
--database=pgsql \
--database-name=postgres \
--database-host=127.0.0.1 \
--database-port=5432 \
--database-user=postgres \
--database-pass=postgres \
--admin-user admin \
--admin-pass admin
fi
sudo service apache2 restart
+121 -279
View File
@@ -8,7 +8,7 @@ steps:
commands:
- git submodule update --init
- name: checkers
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
- ./autotest-checkers.sh
secrets: [ github_token ]
@@ -31,12 +31,12 @@ steps:
commands:
- git submodule update --init
- name: litmus-v1
image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
commands:
- bash tests/travis/install.sh sqlite
- bash apps/dav/tests/travis/litmus-v1/script.sh
- name: litmus-v2
image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
commands:
- bash tests/travis/install.sh sqlite
- bash apps/dav/tests/travis/litmus-v2/script.sh
@@ -59,7 +59,7 @@ steps:
commands:
- git submodule update --init
- name: caldavtester-new-endpoint
image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
commands:
- bash tests/travis/install.sh sqlite
- bash apps/dav/tests/travis/caldav/install.sh
@@ -83,7 +83,7 @@ steps:
commands:
- git submodule update --init
- name: caldavtester-old-endpoint
image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
commands:
- bash tests/travis/install.sh sqlite
- bash apps/dav/tests/travis/caldav/install.sh
@@ -107,7 +107,7 @@ steps:
commands:
- git submodule update --init
- name: carddavtester-new-endpoint
image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
commands:
- bash tests/travis/install.sh sqlite
- bash apps/dav/tests/travis/carddav/install.sh
@@ -131,7 +131,7 @@ steps:
commands:
- git submodule update --init
- name: carddavtester-old-endpoint
image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
commands:
- bash tests/travis/install.sh sqlite
- bash apps/dav/tests/travis/carddav/install.sh
@@ -154,8 +154,8 @@ steps:
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: sqlite-php7.4-samba-native
image: ghcr.io/nextcloud/continuous-integration-samba-native-php7.4:latest
- name: sqlite-php8.0-samba-native
image: ghcr.io/nextcloud/continuous-integration-samba-native-php8.0:latest
commands:
- smbd -D -FS &
- ./autotest-external.sh sqlite smb-linux
@@ -165,8 +165,8 @@ steps:
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
# Temporarily disabled because it times out for unknown reasons 98% of the time
#- name: sqlite-php7.4-samba-non-native
# image: ghcr.io/nextcloud/continuous-integration-samba-non-native-php7.4:latest
#- name: sqlite-php8.0-samba-non-native
# image: ghcr.io/nextcloud/continuous-integration-samba-non-native-php8.0:latest
# commands:
# - smbd -D -FS &
# - ./autotest-external.sh sqlite smb-linux
@@ -186,15 +186,15 @@ trigger:
---
kind: pipeline
name: sqlite-php7.4-webdav-apache
name: sqlite-php8.0-webdav-apache
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: sqlite-php7.4-webdav-apache
image: ghcr.io/nextcloud/continuous-integration-webdav-apache-php7.4:latest
- name: sqlite-php8.0-webdav-apache
image: ghcr.io/nextcloud/continuous-integration-webdav-apache-php8.0:latest
commands:
- apache2ctl start
- ./autotest-external.sh sqlite webdav-apachedrone
@@ -225,11 +225,6 @@ steps:
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: nodb-php7.4
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
- name: nodb-php8.0
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
@@ -257,11 +252,6 @@ steps:
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: sqlite-php7.4
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
- name: sqlite-php8.0
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
@@ -282,15 +272,15 @@ trigger:
---
kind: pipeline
name: mariadb10.2-php7.4
name: mariadb10.2-php8.0
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: mariadb10.2-php7.4
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
- name: mariadb10.2-php8.0
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
@@ -396,15 +386,15 @@ trigger:
---
kind: pipeline
name: mysql8.0-php7.4
name: mysql8.0-php8.0
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: mysql-php7.4
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
- name: mysql-php8.0
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
@@ -435,15 +425,15 @@ trigger:
---
kind: pipeline
name: postgres10-php7.4
name: postgres10-php8.0
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: postgres-php7.4
image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
- name: postgres-php8.0
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
@@ -456,7 +446,7 @@ services:
image: ghcr.io/nextcloud/continuous-integration-postgres-10:postgres-10
environment:
POSTGRES_USER: oc_autotest
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_PASSWORD: owncloud
tmpfs:
- /var/lib/postgresql/data
@@ -471,15 +461,15 @@ trigger:
---
kind: pipeline
name: postgres11-php7.4
name: postgres11-php8.0
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: postgres-php7.4
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
- name: postgres-php8.0
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
@@ -492,7 +482,7 @@ services:
image: ghcr.io/nextcloud/continuous-integration-postgres-11:postgres-11
environment:
POSTGRES_USER: oc_autotest
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_PASSWORD: owncloud
tmpfs:
- /var/lib/postgresql/data
@@ -528,7 +518,43 @@ services:
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
environment:
POSTGRES_USER: oc_autotest
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_PASSWORD: owncloud
tmpfs:
- /var/lib/postgresql/data
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: postgres15-php8.0
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: postgres-php8.0
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
- POSTGRES=15 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
services:
- name: cache
image: ghcr.io/nextcloud/continuous-integration-redis:latest
- name: postgres-15
image: ghcr.io/nextcloud/continuous-integration-postgres-15:latest
environment:
POSTGRES_USER: oc_autotest
POSTGRES_DB: oc_autotest
POSTGRES_PASSWORD: owncloud
tmpfs:
- /var/lib/postgresql/data
@@ -551,9 +577,8 @@ steps:
commands:
- git submodule update --init
- name: integration-capabilities_features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -577,9 +602,8 @@ steps:
commands:
- git submodule update --init
- name: integration-collaboration_features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -603,9 +627,8 @@ steps:
commands:
- git submodule update --init
- name: integration-federation_features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin
- cd build/integration
@@ -629,9 +652,8 @@ steps:
commands:
- git submodule update --init
- name: integration-auth
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -655,9 +677,8 @@ steps:
commands:
- git submodule update --init
- name: integration-avatar
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -681,9 +702,8 @@ steps:
commands:
- git submodule update --init
- name: integration-maintenance-mode
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -707,9 +727,8 @@ steps:
commands:
- git submodule update --init
- name: integration-ratelimiting
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- ./occ config:system:set redis host --value=cache
@@ -743,9 +762,8 @@ steps:
commands:
- git submodule update --init
- name: integration-carddav
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -769,9 +787,8 @@ steps:
commands:
- git submodule update --init
- name: integration-dav-v2
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -795,9 +812,8 @@ steps:
commands:
- git submodule update --init
- name: integration-ocs-v1
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -821,9 +837,8 @@ steps:
commands:
- git submodule update --init
- name: integration-checksums-v1
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -847,9 +862,8 @@ steps:
commands:
- git submodule update --init
- name: integration-external-storage
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -873,9 +887,8 @@ steps:
commands:
- git submodule update --init
- name: integration-provisioning-v1
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -899,9 +912,8 @@ steps:
commands:
- git submodule update --init
- name: integration-tags
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -925,9 +937,8 @@ steps:
commands:
- git submodule update --init
- name: integration-caldav
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -951,9 +962,8 @@ steps:
commands:
- git submodule update --init
- name: integration-comments
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -977,9 +987,8 @@ steps:
commands:
- git submodule update --init
- name: integration-comments-search
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1003,9 +1012,8 @@ steps:
commands:
- git submodule update --init
- name: integration-contacts-menu
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1029,9 +1037,8 @@ steps:
commands:
- git submodule update --init
- name: integration-favorites
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1055,9 +1062,8 @@ steps:
commands:
- git submodule update --init
- name: integration-provisioning-v2
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1081,9 +1087,8 @@ steps:
commands:
- git submodule update --init
- name: integration-webdav-related
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1107,9 +1112,8 @@ steps:
commands:
- git submodule update --init
- name: integration-sharees-features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1133,9 +1137,8 @@ steps:
commands:
- git submodule update --init
- name: integration-sharees-v2-features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1159,9 +1162,8 @@ steps:
commands:
- git submodule update --init
- name: integration-sharing-v1
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1185,9 +1187,8 @@ steps:
commands:
- git submodule update --init
- name: integration-sharing-v1-part2
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1211,9 +1212,8 @@ steps:
commands:
- git submodule update --init
- name: integration-sharing-v1-part3
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1237,15 +1237,19 @@ steps:
commands:
- git submodule update --init
- name: install-talk
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
# JavaScript files are not used in integration tests so it is not needed to
# JavaScript files are not used in integration tests, so it is not needed to
# build them.
- git clone --depth 1 --branch stable24 https://github.com/nextcloud/spreed apps/spreed
- git clone --depth 1 --branch master https://github.com/nextcloud/spreed apps/spreed
- cd apps/spreed
- composer --version
- composer self-update --2
- composer install --no-dev
- cd ../..
- name: integration-sharing-v1-video-verification
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1269,9 +1273,8 @@ steps:
commands:
- git submodule update --init
- name: integration-setup-features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- cd build/integration
- ./run.sh setup_features/setup.feature
@@ -1294,9 +1297,8 @@ steps:
commands:
- git submodule update --init
- name: integration-filesdrop-features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1320,9 +1322,8 @@ steps:
commands:
- git submodule update --init
- name: integration-transfer-ownership-features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1346,9 +1347,8 @@ steps:
commands:
- git submodule update --init
- name: integration-ldap-features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1372,9 +1372,8 @@ steps:
commands:
- git submodule update --init
- name: integration-ldap-openldap-features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- ./occ config:system:set redis host --value=cache
@@ -1414,9 +1413,8 @@ steps:
commands:
- git submodule update --init
- name: integration-ldap-openldap-uid-features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- ./occ config:system:set redis host --value=cache
@@ -1457,9 +1455,8 @@ steps:
commands:
- git submodule update --init
- name: integration-ldap-openldap-numerical-id-features
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- ./occ config:system:set redis host --value=cache
@@ -1499,9 +1496,8 @@ steps:
commands:
- git submodule update --init
- name: integration-trashbin
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1525,9 +1521,8 @@ steps:
commands:
- git submodule update --init
- name: integration-remote-api
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1551,9 +1546,8 @@ steps:
commands:
- git submodule update --init
- name: integration-download
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
commands:
- curl -O -L https://getcomposer.org/download/2.9.2/composer.phar && chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
@@ -1577,7 +1571,7 @@ steps:
commands:
- git submodule update --init
- name: acceptance-access-levels
image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-access-levels --selenium-server selenium:4444 allow-git-repository-modifications features/access-levels.feature
@@ -1597,156 +1591,6 @@ trigger:
- pull_request
- push
---
kind: pipeline
name: acceptance-app-files
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-app-files
image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files --selenium-server selenium:4444 allow-git-repository-modifications features/app-files.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-app-files-sharing
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-app-files-sharing
image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-app-files-sharing-link
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-app-files-sharing-link
image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing-link --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing-link.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-app-files-tags
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-app-files-tags
image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-tags --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-tags.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-app-theming
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-app-theming
image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-theming --selenium-server selenium:4444 allow-git-repository-modifications features/app-theming.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-header
@@ -1757,7 +1601,7 @@ steps:
commands:
- git submodule update --init
- name: acceptance-header
image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
@@ -1787,7 +1631,7 @@ steps:
commands:
- git submodule update --init
- name: acceptance-login
image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
@@ -1817,7 +1661,7 @@ steps:
commands:
- git submodule update --init
- name: acceptance-users
image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
@@ -1847,7 +1691,7 @@ steps:
commands:
- git submodule update --init
- name: acceptance-apps
image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
@@ -1877,7 +1721,7 @@ steps:
commands:
- git submodule update --init
- name: nodb-codecov
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
@@ -1909,7 +1753,7 @@ steps:
commands:
- git submodule update --init
- name: db-codecov
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
@@ -1950,7 +1794,7 @@ steps:
commands:
- git submodule update --init
- name: object-store
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
environment:
OBJECT_STORE: s3
CODECOV_TOKEN:
@@ -1980,7 +1824,7 @@ steps:
commands:
- git submodule update --init
- name: object-store
image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
environment:
OBJECT_STORE: azure
CODECOV_TOKEN:
@@ -2016,7 +1860,7 @@ steps:
commands:
- git submodule update --init
- name: memcache-memcached
image: ghcr.io/nextcloud/continuous-integration-php7.4-memcached:latest
image: ghcr.io/nextcloud/continuous-integration-php8.0-memcached:latest
commands:
- phpenmod xdebug
- service memcached restart
@@ -2034,6 +1878,4 @@ trigger:
- push
---
kind: signature
hmac: 0c4d3ce2e129d533e7f69584b295db9d7e3fbf3324e96499f85fa68197b8da61
...
hmac: a5c0c1e40125b53ff88c617699710f3dc9685d80f06fd8f560b2662ccb1c3497
+8
View File
@@ -23,3 +23,11 @@ trim_trailing_whitespace = false
[*.svg]
insert_final_newline = false
[package*.json]
indent_size = 2
indent_style = space
[build/psalm-baseline.xml]
indent_size = 2
indent_style = space
+1
View File
@@ -6,6 +6,7 @@ node_modules/
**/js/*
*.config.js
tests/lib/
apps-extra
# TODO: remove when comments files is not using handlebar templates anymore
apps/comments/src/templates.js
+11 -4
View File
@@ -3,13 +3,20 @@ module.exports = {
__webpack_nonce__: true,
_: true,
$: true,
moment: true,
escapeHTML: true,
oc_userconfig: true,
dayNames: true,
escapeHTML: true,
firstDay: true,
moment: true,
oc_userconfig: true,
sinon: true,
},
extends: ['@nextcloud'],
plugins: [
'cypress',
],
extends: [
'@nextcloud/eslint-config/typescript',
'plugin:cypress/recommended',
],
rules: {
'no-tabs': 'warn',
// TODO: make sure we fix this as this is bad vue coding style.
-4
View File
@@ -1,4 +0,0 @@
# .git-blame-ignore-revs
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
+3 -1
View File
@@ -1,2 +1,4 @@
/dist/* binary
/package-lock.json binary
/package-lock.json merge=binary
/core/css/*.css* binary
/.devcontainer/*.sh text eol=lf
+44 -7
View File
@@ -1,10 +1,47 @@
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
/apps/dav/lib/CalDAV @ChristophWurst @miaulalala @tcitworld
/apps/dav/lib/CardDAV @ChristophWurst @miaulalala @tcitworld
# App maintainers
/apps/admin_audit/appinfo/info.xml @luka-nextcloud @blizzz
/apps/cloud_federation_api/appinfo/info.xml @mejo-
/apps/comments/appinfo/info.xml @marcelklehr @Pytal
/apps/contactsinteraction/appinfo/info.xml @kesselb @miaulalala @ChristophWurst @GretaD @hamza221 @st3iny
/apps/dashboard/appinfo/info.xml @julien-nc @juliushaertl
/apps/dav/lib/CalDAV @ChristophWurst @miaulalala @tcitworld
/apps/dav/lib/CardDAV @ChristophWurst @miaulalala @tcitworld
/apps/encryption/appinfo/info.xml @come-nc @icewind1991
/apps/federatedfilesharing/appinfo/info.xml @icewind1991 @danxuliu
/apps/federation/appinfo/info.xml @datenangebot
/apps/files/appinfo/info.xml @skjnldsv @Pytal @ArtificialOwl @come-nc @artonge @icewind1991 @szaimen @susnux @Fenn-CS
/apps/files_external/appinfo/info.xml @icewind1991 @artonge
/apps/files_reminders/appinfo/info.xml @Pytal
/apps/files_sharing/appinfo/info.xml @skjnldsv @come-nc
/apps/files_trashbin/appinfo/info.xml @Pytal @icewind1991
/apps/files_versions/appinfo/info.xml @artonge @icewind1991
/apps/oauth2/appinfo/info.xml @julien-nc @ChristophWurst
/apps/provisioning_api/appinfo/info.xml @provokateurin @nickvergessen
/apps/settings/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/systemtags/appinfo/info.xml @Antreesy @marcelklehr
/apps/theming/appinfo/info.xml @skjnldsv @juliushaertl
/apps/twofactor_backupcodes/appinfo/info.xml @st3iny @miaulalala @ChristophWurst
/apps/updatenotification/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/user_ldap/appinfo/info.xml @come-nc @blizzz
/apps/user_status/appinfo/info.xml @Antreesy @nickvergessen
/apps/weather_status/appinfo/info.xml @julien-nc @juliushaertl
/apps/workflowengine/appinfo/info.xml @blizzz @juliushaertl
# Security team
/resources/config/ca-bundle.crt @ChristophWurst @miaulalala @nickvergessen
# Two-Factor Authentication
# https://github.com/nextcloud/wg-two-factor-authentication#members
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen
*/TwoFactorAuth/* @ChristophWurst @miaulalala @nickvergessen
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen
**/TwoFactorAuth @ChristophWurst @miaulalala @nickvergessen @st3iny
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen @st3iny
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen @st3iny
# OpenAPI
openapi.json @provokateurin
ResponseDefinitions.php @provokateurin
# Personal interest
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
/lib/private/Profiler @CarlSchwan
/lib/public/Profiler @CarlSchwan
+25 -13
View File
@@ -17,7 +17,7 @@ body:
options:
- label: This is a **bug**, not a question or a configuration/webserver/proxy issue.
required: true
- label: This issue is **not** already reported on Github _(I've searched it)_.
- label: This issue is **not** already reported on [Github](https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3Abug) OR [Nextcloud Community Forum](https://help.nextcloud.com/) _(I've searched it)_.
required: true
- label: Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
required: true
@@ -60,13 +60,28 @@ body:
Select installation method you've used.
_Describe the method in the "Additional info" section if you chose "Other"._
options:
- "Manual installation"
- "Official Docker image"
- "Official VM scripts"
- "Official SNAP package"
- "Community Web installer on a VPS or web space"
- "Community Manual installation with Archive"
- "Community Docker image"
- "Community NextcloudPi appliance"
- "Community SNAP package"
- "Community VM appliance"
- "Other Community project"
- "Official All-in-One appliance"
- "Web installer on a VPS or web space"
- "Other"
- type: dropdown
id: nextcloud-version
attributes:
label: Nextcloud Server version
description: |
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "25"
- "26"
- "27"
- "master"
validations:
required: true
- type: dropdown
id: system
attributes:
@@ -86,10 +101,10 @@ body:
Select PHP engine version serving Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "PHP 7.3"
- "PHP 7.4"
- "PHP 8.0"
- "PHP 8.1"
- "PHP 8.2"
- "Other"
- type: dropdown
id: webserver
@@ -101,7 +116,6 @@ body:
options:
- "Apache (supported)"
- "Nginx"
- "Lighttpd"
- "Other"
- type: dropdown
id: database
@@ -124,8 +138,8 @@ body:
description: |
Select if bug is present after an update or on a fresh install.
options:
- "Updated from a minor version (ex. 22.2.3 to 22.2.4)"
- "Updated to a major version (ex. 22.2.3 to 23.0.1)"
- "Updated from a MINOR version (ex. 22.1 to 22.2)"
- "Upgraded to a MAJOR version (ex. 22 to 23)"
- "Fresh Nextcloud Server install"
- type: dropdown
id: encryption
@@ -175,8 +189,6 @@ body:
```
> NOTE: This will be automatically formatted into code for better readability.
render: shell
validations:
required: true
- type: textarea
id: nextcloud-signingstatus
attributes:
+27 -10
View File
@@ -28,6 +28,8 @@ updates:
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
# Testing master npm
- package-ecosystem: npm
@@ -62,7 +64,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable21
target-branch: stable25
labels:
- "3. to review"
- "feature: dependencies"
@@ -72,6 +74,8 @@ updates:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: npm
directory: "/"
@@ -80,7 +84,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable22
target-branch: stable26
labels:
- "3. to review"
- "feature: dependencies"
@@ -89,7 +93,9 @@ updates:
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: npm
directory: "/"
@@ -98,7 +104,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable23
target-branch: stable27
labels:
- "3. to review"
- "feature: dependencies"
@@ -107,7 +113,9 @@ updates:
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
# Testing StableXX composer
- package-ecosystem: composer
@@ -117,7 +125,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable21
target-branch: stable25
labels:
- "3. to review"
- "feature: dependencies"
@@ -135,7 +143,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable22
target-branch: stable26
labels:
- "3. to review"
- "feature: dependencies"
@@ -144,7 +152,7 @@ updates:
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- package-ecosystem: composer
directory: "/build/integration"
@@ -153,7 +161,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable23
target-branch: stable27
labels:
- "3. to review"
- "feature: dependencies"
@@ -162,4 +170,13 @@ updates:
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
+18
View File
@@ -0,0 +1,18 @@
* Resolves: # <!-- related github issue -->
## Summary
## TODO
- [ ] ...
## Checklist
- Code is [properly formatted](https://docs.nextcloud.com/server/latest/developer_manual/digging_deeper/continuous_integration.html#linting)
- [Sign-off message](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md) is added to all commits
- [ ] Tests ([unit](https://docs.nextcloud.com/server/latest/developer_manual/app_development/tutorial.html#unit-tests), [integration](https://docs.nextcloud.com/server/latest/developer_manual/app_development/tutorial.html#integration-tests), api and/or acceptance) are included
- [ ] Screenshots before/after for front-end changes
- [ ] Documentation ([manuals](https://github.com/nextcloud/documentation/) or wiki) has been updated or is not required
- [ ] [Backports requested](https://github.com/nextcloud/backportbot/#usage) where applicable (ex: critical bugfixes)
+10 -3
View File
@@ -3,10 +3,17 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Pull request checks
name: Block merges for EOL
on: pull_request
permissions:
contents: read
concurrency:
group: block-merge-eol-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
block-merges-eol:
name: Block merges for EOL branches
@@ -24,7 +31,7 @@ jobs:
# retrieve version number from branch reference
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p')
echo "server_major=$server_major" >> $GITHUB_ENV
- name: Checking if ${{ env.server_major }} is EOL
run: |
php -r 'echo json_encode(require_once "config.php");' | jq --arg version "${{ env.server_major }}" '.stable[$version]["100"].eol' | grep --silent -i 'false'
php -r 'echo json_encode(require_once "config.php");' | jq --arg version "${{ env.server_major }}" '.stable[$version]["100"].eol // .beta[$version]["100"].eol' | grep --silent -i 'false'
+14 -3
View File
@@ -3,13 +3,24 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Pull request checks
name: Block merges during freezes
on: pull_request
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: block-merge-freeze-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
block-merges-during-freeze:
name: Block merges during feature freezes
name: Block merges during freezes
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
@@ -1,53 +0,0 @@
name: Block merging with outdated 3rdparty/
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: block-outdated-3rdparty-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
block-outdated-3rdparty:
name: Block merging with outdated 3rdparty/
runs-on: ubuntu-latest-low
steps:
- name: Check requirement
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '3rdparty'
- 'version.php'
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: 3rdparty commit hash on current branch
id: actual
run: |
echo "commit=$(git submodule status | grep ' 3rdparty' | egrep -o '[a-f0-9]{40}')" >> "$GITHUB_OUTPUT"
- name: Last 3rdparty commit on target branch
id: target
run: |
echo "commit=$(git ls-remote https://github.com/nextcloud/3rdparty refs/heads/${{ github.base_ref }} | awk '{ print $1}')" >> "$GITHUB_OUTPUT"
- name: Compare if 3rdparty commits are different
run: |
echo '3rdparty/ seems to not point to the last commit of the dedicated branch:'
echo "Branch has: ${{ steps.actual.outputs.commit }}"
echo "${{ github.base_ref }} has: ${{ steps.target.outputs.commit }}"
- name: Fail if 3rdparty commits are different
if: ${{ steps.changes.outputs.src != 'false' && steps.actual.outputs.commit != steps.target.outputs.commit }}
run: |
exit 1
+17 -17
View File
@@ -18,43 +18,43 @@ jobs:
steps:
- name: Check actor permission
uses: skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2.1
uses: skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2
with:
require: write
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
reactions: "+1"
- name: Parse command
uses: skjnldsv/parse-command-comment@7cef1df370a99dfd5bf896d50121390c96785db8 # v2.0
uses: skjnldsv/parse-command-comment@7cef1df370a99dfd5bf896d50121390c96785db8 # v2
id: command
# Init path depending on which command is run
- name: Init path
id: git-path
run: |
run: |
if ${{ startsWith(steps.command.outputs.arg1, '/') }}; then
echo "::set-output name=path::${{ github.workspace }}${{steps.command.outputs.arg1}}"
echo "path=${{ github.workspace }}${{steps.command.outputs.arg1}}" >> $GITHUB_OUTPUT
else
echo "::set-output name=path::${{ github.workspace }}${{steps.command.outputs.arg2}}"
echo "path=${{ github.workspace }}${{steps.command.outputs.arg2}}" >> $GITHUB_OUTPUT
fi
- name: Init branch
uses: xt0rted/pull-request-comment-branch@653a7d5ca8bd91d3c5cb83286063314d0b063b8e # v1.4.0
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
id: comment-branch
process:
runs-on: ubuntu-latest
needs: init
steps:
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
@@ -66,14 +66,14 @@ jobs:
git config --local user.name "nextcloud-command"
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@1bdcee71fa343c46b18dc6aceffb4cd1e35209c6 # v1.2
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
id: package-engines-versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
@@ -90,7 +90,7 @@ jobs:
if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }}
run: |
git add ${{ needs.init.outputs.git_path }}
git commit --signoff -m 'Compile assets'
git commit --signoff -m 'chore(assets): Recompile assets'
git push origin ${{ needs.init.outputs.head_ref }}
- name: Commit and push fixup
@@ -108,10 +108,10 @@ jobs:
git push --force origin ${{ needs.init.outputs.head_ref }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"
reactions: "-1"
@@ -0,0 +1,60 @@
name: Update 3rdparty command
on:
issue_comment:
types: created
permissions:
contents: read
jobs:
rebase:
runs-on: ubuntu-latest
permissions:
contents: none
# On pull requests and if the comment starts with `/update-3rdparty`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/update-3rdparty')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: "+1"
- name: Init branch
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
id: comment-branch
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
ref: ${{ steps.comment-branch.outputs.head_ref }}
- name: Setup git
run: |
git config --local user.email "nextcloud-command@users.noreply.github.com"
git config --local user.name "nextcloud-command"
- name: Pull 3rdparty
run: git submodule foreach 'if [ "$sm_path" == "3rdparty" ]; then git pull origin ${{ github.event.issue.pull_request.base.ref }}; fi'
- name: Commit and push changes
run: |
git add 3rdparty
git commit -s -m "Update submodule 3rdparty to latest ${{ github.event.issue.pull_request.base.ref }}"
git push
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: "-1"
+9 -4
View File
@@ -9,16 +9,21 @@ on:
issue_comment:
types: created
permissions:
contents: read
jobs:
rebase:
runs-on: ubuntu-latest
permissions:
contents: none
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -26,18 +31,18 @@ jobs:
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@c473b716e3fcde0c6bf67416e2c2882830ad40f6 # 1.5
uses: cirrus-actions/rebase@b87d48154a87a85666003575337e27b8cd65f691 # 1.8
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+153
View File
@@ -0,0 +1,153 @@
name: Cypress
on:
pull_request:
push:
branches:
- main
- master
- stable*
env:
# Adjust APP_NAME if your repository name is different
APP_NAME: ${{ github.event.repository.name }}
# Server requires head_ref instead of base_ref, as we want to test the PR branch
BRANCH: ${{ github.head_ref || github.ref_name }}
jobs:
init:
runs-on: ubuntu-latest
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}
steps:
- name: Checkout app
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Check composer.json
id: check_composer
uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
with:
files: "composer.json"
- name: Install composer dependencies
if: steps.check_composer.outputs.files_exists == 'true'
run: composer install --no-dev
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: "^14"
fallbackNpm: "^7"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install node dependencies & build app
run: |
npm ci
TESTING=true npm run build --if-present
- name: Save context
uses: buildjet/cache/save@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
key: cypress-context-${{ github.run_id }}
path: ./
cypress:
runs-on: ubuntu-latest
needs: init
strategy:
fail-fast: false
matrix:
# Run multiple copies of the current job in parallel
# Please increase the number or runners as your tests suite grows
containers: ["component", 1, 2]
name: runner ${{ matrix.containers }}
steps:
- name: Restore context
uses: buildjet/cache/restore@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
fail-on-cache-miss: true
key: cypress-context-${{ github.run_id }}
path: ./
- name: Set up node ${{ needs.init.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ needs.init.outputs.nodeVersion }}
- name: Set up npm ${{ needs.init.outputs.npmVersion }}
run: npm i -g npm@"${{ needs.init.outputs.npmVersion }}"
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@d69252d52b9a31bad4f418f05ba2bc83687a02eb # v5.8.3
with:
record: true
parallel: true
# cypress run type
component: ${{ matrix.containers == 'component' }}
group: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }}
# cypress env
ci-build-id: ${{ github.sha }}-${{ github.run_number }}
tag: ${{ github.event_name }}
env:
# Needs to be prefixed with CYPRESS_
CYPRESS_BRANCH: ${{ env.BRANCH }}
# https://github.com/cypress-io/github-action/issues/124
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}
# Needed for some specific code workarounds
TESTING: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- name: Upload snapshots
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: always()
with:
name: snapshots_${{ matrix.containers }}
path: cypress/snapshots
- name: Extract NC logs
if: failure() && matrix.containers != 'component'
run: docker logs nextcloud-cypress-tests-${{ env.APP_NAME }} > nextcloud.log
- name: Upload NC logs
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: failure() && matrix.containers != 'component'
with:
name: nc_logs_${{ matrix.containers }}
path: nextcloud.log
- name: Create data dir archive
if: failure() && matrix.containers != 'component'
run: docker exec nextcloud-cypress-tests-server tar -cvjf - data > data.tar
- name: Upload data dir archive
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}
path: data.tar
summary:
runs-on: ubuntu-latest
needs: [init, cypress]
if: always()
name: cypress-summary
steps:
- name: Summary status
run: if ${{ needs.init.result != 'success' || ( needs.cypress.result != 'success' && needs.cypress.result != 'skipped' ) }}; then exit 1; fi
+12 -1
View File
@@ -8,13 +8,24 @@ name: Dependabot
on:
pull_request_target:
branches:
- main
- master
- stable*
permissions:
contents: read
concurrency:
group: dependabot-approve-merge-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
auto-approve-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
# for hmarr/auto-approve-action to approve PRs
pull-requests: write
steps:
# Github actions bot approve
@@ -23,7 +34,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2.6.6
- uses: ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
+16 -3
View File
@@ -3,18 +3,31 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Pull request checks
name: Block fixup and squash commits
on: pull_request
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: fixup-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
commit-message-check:
if: github.event.pull_request.draft == false
permissions:
pull-requests: write
name: Block fixup and squash commits
runs-on: ubuntu-latest
steps:
- name: Run check
uses: xt0rted/block-autosquash-commits-action@79880c36b4811fe549cfffe20233df88876024e7 # v2.2.0
uses: skjnldsv/block-fixup-merge-action@42d26e1b536ce61e5cf467d65fb76caf4aa85acf # v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
+6 -4
View File
@@ -1,4 +1,4 @@
name: FTP
name: FTP unit tests
on:
push:
branches:
@@ -23,14 +23,14 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.4', '8.0']
php-versions: ['8.0']
ftpd: ['proftpd', 'vsftpd', 'pure-ftpd']
name: php${{ matrix.php-versions }}-${{ matrix.ftpd }}
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v3
with:
submodules: true
@@ -42,11 +42,13 @@ jobs:
if [[ "${{ matrix.ftpd }}" == 'vsftpd' ]]; then docker run --name ftp -d --net host -e FTP_USER=test -e FTP_PASS=test -e PASV_ADDRESS=127.0.0.1 -v /tmp/ftp:/home/vsftpd/test fauria/vsftpd; fi
if [[ "${{ matrix.ftpd }}" == 'pure-ftpd' ]]; then docker run --name ftp -d --net host -e "PUBLICHOST=localhost" -e FTP_USER_NAME=test -e FTP_USER_PASS=test -e FTP_USER_HOME=/home/test -v /tmp/ftp2:/home/test -v /tmp/ftp2:/etc/pure-ftpd/passwd stilliard/pure-ftpd; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
@@ -0,0 +1,39 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Lint eslint
on:
pull_request:
paths-ignore:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
permissions:
contents: read
jobs:
lint:
permissions:
contents: none
runs-on: ubuntu-latest
name: eslint
steps:
- run: 'echo "No eslint required"'
+28 -10
View File
@@ -2,15 +2,33 @@
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Lint
name: Lint eslint
on:
pull_request:
push:
branches:
- master
- stable*
paths:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
permissions:
contents: read
concurrency:
group: lint-eslint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
@@ -20,17 +38,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@1e2f46e78e31476bc71ebd909105e6e033d5a6f4 # v1.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
+40
View File
@@ -0,0 +1,40 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Lint php-cs
on: pull_request
permissions:
contents: read
concurrency:
group: lint-php-cs-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
name: php-cs
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Set up php
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
with:
php-version: 8.1
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: composer i
- name: Lint
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
+60
View File
@@ -0,0 +1,60 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Lint php
on:
pull_request:
push:
branches:
- main
- master
- stable*
permissions:
contents: read
concurrency:
group: lint-php-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
php-lint:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ "8.0", "8.1", "8.2" ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Lint
run: composer run lint
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: php-lint
if: always()
name: php-lint-summary
steps:
- name: Summary status
run: if ${{ needs.php-lint.result != 'success' && needs.php-lint.result != 'skipped' }}; then exit 1; fi
-42
View File
@@ -1,42 +0,0 @@
name: Lint
on: pull_request
jobs:
php-linters:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1']
name: php${{ matrix.php-versions }} lint
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up php${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Lint
run: composer run lint
php-cs-fixer:
name: php-cs check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
tools: cs2pr
- name: Install dependencies
run: composer i
- name: Run coding standards check
run: |
composer run cs:check -- --format=checkstyle | cs2pr
composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
shell: bash
+19 -17
View File
@@ -1,4 +1,4 @@
name: Node
name: Node tests
on:
pull_request:
@@ -19,14 +19,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v3
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@1e2f46e78e31476bc71ebd909105e6e033d5a6f4 # v1.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'
test:
runs-on: ubuntu-latest
@@ -34,10 +34,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v3
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -45,13 +45,15 @@ jobs:
run: npm i -g npm@"${{ needs.versions.outputs.npmVersion }}"
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: npm ci
- name: Test
run: npm run test
- name: Test and process coverage
run: npm run test:coverage
- name: Collect coverage
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
files: ./coverage/lcov.info
jsunit:
runs-on: ubuntu-latest
@@ -59,10 +61,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v3
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -73,7 +75,7 @@ jobs:
run: npm ci
- name: Test
run: ./autotest-js.sh
run: npm run test:jsunit
handlebars:
runs-on: ubuntu-latest
@@ -81,10 +83,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v3
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
+43
View File
@@ -0,0 +1,43 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# Use node together with node-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Node
on:
pull_request:
paths-ignore:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
push:
branches:
- main
- master
- stable*
concurrency:
group: node-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
permissions:
contents: none
runs-on: ubuntu-latest
name: node
steps:
- name: Skip
run: 'echo "No JS/TS files changed, skipped Node"'
+25 -6
View File
@@ -7,11 +7,29 @@ name: Node
on:
pull_request:
paths:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
push:
branches:
- main
- master
- stable*
permissions:
contents: read
concurrency:
group: node-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
@@ -19,17 +37,17 @@ jobs:
name: node
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@1e2f46e78e31476bc71ebd909105e6e033d5a6f4 # v1.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -43,10 +61,11 @@ jobs:
- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || exit 1"
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
- name: Show changes on failure
if: failure()
run: |
git status
git --no-pager diff
exit 1 # make it red to grab attention
+71
View File
@@ -0,0 +1,71 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Npm audit fix and compile
on:
workflow_dispatch:
schedule:
# At 2:30 on Sundays
- cron: '30 2 * * 0'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branches: ["main", "master", "stable27", "stable26", "stable25", "stable24"]
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ matrix.branches }}
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Fix npm audit
run: |
npm audit fix
- name: Run npm ci and npm run build
if: always()
run: |
npm ci
npm run build --if-present
- name: Create Pull Request
if: always()
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 # v5
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "chore(deps): fix npm audit"
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/${{ matrix.branches }}-fix-npm-audit
title: "[${{ matrix.branches }}] Fix npm audit"
body: |
Auto-generated fix of npm audit
labels: |
dependencies
3. to review
+18 -22
View File
@@ -1,11 +1,13 @@
name: PHPUnit
name: PHPUnit oci
on:
pull_request:
push:
branches:
- master
- stable*
on: pull_request
permissions:
contents: read
concurrency:
group: phpunit-oci-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
phpunit-oci:
@@ -14,12 +16,8 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
php-versions: [ '7.4', '8.0', '8.1']
databases: [ 'oci' ]
name: php${{ matrix.php-versions }}-${{ matrix.databases }}
php-versions: ['8.0', '8.1', '8.2']
services:
oracle:
@@ -44,22 +42,20 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,oci8,openssl,pcntl,pdo_sqlite,posix,sqlite,xml,zip
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, oci8, openssl, pcntl, pdo_sqlite, posix, sqlite, xml, zip
tools: phpunit:9
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
+33
View File
@@ -0,0 +1,33 @@
name: OpenAPI
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
openapi:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: xml
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: OpenAPI checker
run: build/openapi-checker.sh
+108
View File
@@ -0,0 +1,108 @@
name: Performance testing
on:
pull_request:
jobs:
performance-testing:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.0']
name: performance-${{ matrix.php-versions }}
steps:
- name: Checkout server before PR
uses: actions/checkout@v3
with:
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -S localhost:8080 &
- name: Apply blueprint
uses: icewind1991/blueprint@v0.1.2
with:
blueprint: tests/blueprints/basic.toml
ref: ${{ github.event.pull_request.head.ref }}
- name: Run before measurements
uses: nextcloud/profiler@1e66a9de5f76a01e9d1db4f0153bcc1cbf989b3d
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
curl -s -u test:test http://localhost:8080/remote.php/dav/files/test/test.txt
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test/many_files
curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: before.json
profiler-branch: master
- name: Apply PR
run: |
git remote add pr ${{ github.event.pull_request.head.repo.clone_url }}
git fetch pr ${{ github.event.pull_request.head.ref }}
git checkout -b pr/${{ github.event.pull_request.head.ref }}
git submodule update
./occ upgrade
- name: Run after measurements
id: compare
uses: nextcloud/profiler@1e66a9de5f76a01e9d1db4f0153bcc1cbf989b3d
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
curl -s -u test:test http://localhost:8080/remote.php/dav/files/test/test.txt
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test/many_files
curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: after.json
profiler-branch: master
compare-with: before.json
- name: Upload profiles
if: always()
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: profiles
path: |
before.json
after.json
- uses: actions/github-script@v5
if: failure() && steps.compare.outcome == 'failure'
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
let comment = `Possible performance regression detected\n`;
comment += `<details><summary>Show Output</summary>
\`\`\`
${{ steps.compare.outputs.compare }}
\`\`\`
</details>`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: comment
})
+65
View File
@@ -0,0 +1,65 @@
name: PHPUnit 32bits
on:
pull_request:
paths:
- 'version.php'
- '.github/workflows/phpunit-32bits.yml'
workflow_dispatch:
schedule:
- cron: "15 1 * * 1-6"
permissions:
contents: read
concurrency:
group: phpunit-32bits-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
phpunit-32bits:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
container: shivammathur/node:latest-i386
strategy:
matrix:
php-versions: ['8.0']
steps:
- name: Checkout server
uses: actions/checkout@v3
with:
submodules: true
- name: Install tools
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@9c77701ae57b0c47f6732beebfbdec76e4e5c90a #debian bookworm fix
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
tools: phpunit:9
coverage: none
ini-values:
apc.enabled=on,
apc.enable_cli=on
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
+29
View File
@@ -0,0 +1,29 @@
name: 'Ask for feedback on PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
pr-feedback:
runs-on: ubuntu-22.04
steps:
- name: The get-github-handles-from-website action
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
id: scrape
with:
website: 'https://nextcloud.com/team/'
- uses: marcelklehr/pr-feedback-action@601109aa729eb4c8d6d0ece7567b9d4901db4aef
with:
feedback-message: |
Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
We hope that the reviewing process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR reviewing process.
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6
Thank you for contributing to Nextcloud and we hope to hear from you soon!
days-before-feedback: 14
start-date: "2023-07-10"
exempt-authors: "${{ steps.scrape.outputs.users }}"
exempt-bots: true
-28
View File
@@ -1,28 +0,0 @@
name: Psalm show github
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
with:
submodules: recursive
- name: Psalm
uses: docker://vimeo/psalm-github-actions:4.9.3
continue-on-error: true
with:
composer_ignore_platform_reqs: false
report_file: results.sarif
- name: Upload Analysis results to GitHub
uses: github/codeql-action/upload-sarif@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
with:
sarif_file: results.sarif
-28
View File
@@ -1,28 +0,0 @@
name: Psalm Security Analysis
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
with:
submodules: recursive
- name: Psalm
uses: docker://vimeo/psalm-github-actions:4.9.3
with:
security_analysis: true
composer_ignore_platform_reqs: false
report_file: results.sarif
- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
with:
sarif_file: results.sarif
+11 -7
View File
@@ -23,7 +23,7 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.4', '8.0']
php-versions: ['8.0', '8.1']
name: php${{ matrix.php-versions }}-minio
@@ -38,16 +38,18 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
@@ -57,7 +59,7 @@ jobs:
php -S localhost:8080 &
- name: PHPUnit
run: |
echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
@@ -74,7 +76,7 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.4', '8.0']
php-versions: ['8.0', '8.1']
name: php${{ matrix.php-versions }}-localstack
@@ -89,16 +91,18 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
@@ -0,0 +1,86 @@
name: S3 primary storage integration tests
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
s3-primary-integration-tests-minio:
runs-on: ubuntu-20.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0']
key: ['objectstore', 'objectstore_multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
services:
redis:
image: redis
ports:
- "6379:6379"
minio:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.12.29
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd, redis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Wait for S3
run: |
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
- name: Set up Nextcloud
run: |
mkdir data
echo '<?php $CONFIG=["${{ matrix.key }}" => ["class" => "OC\Files\ObjectStore\S3", "arguments" => ["bucket" => "nextcloud", "autocreate" => true, "key" => "minio", "secret" => "minio123", "hostname" => "localhost", "port" => 9000, "use_ssl" => false, "use_path_style" => true, "uploadPartSize" => 52428800]]];' > config/config.php
echo '<?php $CONFIG=["redis" => ["host" => "localhost", "port" => 6379], "memcache.local" => "\OC\Memcache\Redis", "memcache.distributed" => "\OC\Memcache\Redis"];' > config/redis.config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f index.php
- name: Integration
run: |
cd build/integration
bash run.sh --tags "~@failure-s3" features/webdav-related.feature
- name: S3 logs
if: always()
run: |
cat data/nextcloud.log
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
s3-primary-integration-summary:
runs-on: ubuntu-latest
needs: [s3-primary-integration-tests-minio]
if: always()
steps:
- name: Summary status
run: if ${{ needs.s3-primary-integration-tests-minio.result != 'success' }}; then exit 1; fi
+4 -2
View File
@@ -32,16 +32,18 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
+11 -20
View File
@@ -5,12 +5,12 @@ on:
- master
- stable*
paths:
- "apps/files_external/**"
- ".github/workflows/smb-kerberos.yml"
- 'apps/files_external/**'
- '.github/workflows/smb-kerberos.yml'
pull_request:
paths:
- "apps/files_external/**"
- ".github/workflows/smb-kerberos.yml"
- 'apps/files_external/**'
- '.github/workflows/smb-kerberos.yml'
jobs:
smb-kerberos-tests:
@@ -18,16 +18,11 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
php-versions: ["7.4", "8.0"]
name: smb-kerberos-sso
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v3
with:
submodules: true
- name: Pull images
@@ -71,13 +66,9 @@ jobs:
CONTENT=$(./client-cmd.sh ${{ env.DC_IP }} curl -b /shared/cookies/jar -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/remote.php/webdav/smb/test.txt)
CONTENT=$(echo $CONTENT | head -n 1 | tr -d '[:space:]')
[[ $CONTENT == "testfile" ]]
smb-kerberos-summary:
runs-on: ubuntu-latest
needs: smb-kerberos-tests
if: always()
steps:
- name: Summary status
run: if ${{ needs.smb-kerberos-tests.result != 'success' }}; then exit 1; fi
- name: Show logs
if: failure()
run: |
docker exec --user 33 apache ./occ log:file
FILEPATH=$(docker exec --user 33 apache ./occ log:file | grep "Log file:" | cut -d' ' -f3)
docker exec --user 33 apache cat $FILEPATH
+4 -2
View File
@@ -15,7 +15,7 @@ jobs:
issues: write
steps:
- uses: actions/stale@f7176fd3007623b69d27091f9b9d4ab7995f0a06 # v5.2.1
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.COMMAND_BOT_PAT }}
stale-issue-message: >
@@ -25,7 +25,9 @@ jobs:
for your contributions.
stale-issue-label: 'stale'
only-labels: 'needs info'
labels-to-remove-when-unstale: 'needs info,stale'
exempt-issue-labels: '1. to develop,2. developing,3. to review,4. to release,security'
days-before-stale: 30
days-before-close: 14
debug-only: true
# debug-only: true
+93 -54
View File
@@ -1,62 +1,101 @@
name: Static code analysis
name: Psalm static code analysis
on: [pull_request]
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
static-code-analysis:
runs-on: ubuntu-latest
static-code-analysis:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up php7.4
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: 7.4
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
run: |
bash -c "[[ ! \"`git status --porcelain build/psalm-baseline.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff build/psalm-baseline.xml)"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
static-code-analysis-ocp:
runs-on: ubuntu-latest
- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
- name: Composer install
run: composer i
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up php7.4
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: 7.4
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
run: |
bash -c "[[ ! \"`git status --porcelain build/psalm-baseline-ocp.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff build/psalm-baseline.xml)"
- name: Psalm
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
- name: Show potential changes in Psalm baseline
if: always()
run: git diff -- . ':!lib/composer'
- name: Upload Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif
static-code-analysis-security:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@master
with:
php-version: '8.0'
extensions: ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
run: composer i
- name: Psalm taint analysis
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis
- name: Upload Security Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif
static-code-analysis-ocp:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm:ci -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline
- name: Show potential changes in Psalm baseline
if: always()
run: git diff -- . ':!lib/composer'
@@ -0,0 +1,42 @@
name: Update CA certificate bundle
on:
workflow_dispatch:
schedule:
- cron: "5 2 * * *"
jobs:
update-ca-certificate-bundle:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branches: ["master", "stable27", "stable26", "stable25", "stable24", "stable23", "stable22"]
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ matrix.branches }}
submodules: true
- name: Download CA certificate bundle from curl
run: curl --etag-compare build/ca-bundle-etag.txt --etag-save build/ca-bundle-etag.txt --output resources/config/ca-bundle.crt https://curl.se/ca/cacert.pem
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "fix(security): Update CA certificate bundle"
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/${{ matrix.branches }}-update-ca-cert-bundle
title: "[${{ matrix.branches }}] fix(security): Update CA certificate bundle"
body: |
Auto-generated update of CA certificate bundle from [https://curl.se/docs/caextract.html](https://curl.se/docs/caextract.html)
labels: |
dependencies
3. to review
+22 -10
View File
@@ -3,7 +3,7 @@ name: Update Psalm baseline
on:
workflow_dispatch:
schedule:
- cron: '5 4 * * *'
- cron: "5 2 * * *"
jobs:
update-psalm-baseline:
@@ -11,17 +11,27 @@ jobs:
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
branches: ["master", "stable27", "stable26", "stable25"]
name: update-psalm-baseline-${{ matrix.branches }}
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@v3
with:
ref: ${{ matrix.branches }}
submodules: true
- name: Set up php7.4
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: '8.0'
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer install
@@ -30,23 +40,25 @@ jobs:
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline
continue-on-error: true
- name: Psalm OCP
run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline
continue-on-error: true
- name: Reset composer
run: |
git clean -f lib/composer
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3.14.0
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update psalm baseline
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/psalm-baseline-update
# Make sure we can open multiple PRs
branch-suffix: timestamp
title: '[Automated] Update psalm-baseline.xml'
branch: automated/noid/${{ matrix.branches }}-update-psalm-baseline
title: "[${{ matrix.branches }}] Update psalm-baseline.xml"
body: |
Auto-generated update psalm-baseline.xml with fixed psalm warnings
labels: |
+11 -1
View File
@@ -13,7 +13,6 @@
# ignore all apps except core ones
/apps*/*
!/apps/accessibility
!/apps/cloud_federation_api
!/apps/comments
!/apps/contactsinteraction
@@ -25,6 +24,7 @@
!/apps/sharebymail
!/apps/encryption
!/apps/files_external
!/apps/files_reminders
!/apps/files_sharing
!/apps/files_trashbin
!/apps/files_versions
@@ -74,6 +74,7 @@ CVS/*
RCS/*
*.backup*
.php_cs.cache
.php-cs-fixer.cache
# kdevelop
.kdev
@@ -96,6 +97,7 @@ nbproject
# vscode
.vscode
*.code-workspace
# geany
*.geany
@@ -153,6 +155,7 @@ Vagrantfile
/config/config-autotest-backup.php
/config/autoconfig.php
clover.xml
/coverage
# Tests - dependencies
tests/acceptance/vendor/
@@ -160,3 +163,10 @@ tests/acceptance/vendor/
composer.phar
/lib/composer/bin
/vendor-bin/**/vendor
./.htaccess
core/js/mimetypelist.js
# Tests - cypress
cypress/snapshots
cypress/videos
+3 -12
View File
@@ -40,7 +40,7 @@
</IfModule>
# Add cache control for static resources
<FilesMatch "\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)$">
<FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>
@@ -55,17 +55,6 @@
</FilesMatch>
</IfModule>
# PHP 7.x
<IfModule mod_php7.c>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
# PHP 8+
<IfModule mod_php.c>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
@@ -79,6 +68,8 @@
AddType image/svg+xml svg svgz
AddType application/wasm wasm
AddEncoding gzip svgz
# Serve ESM javascript files (.mjs) with correct mime type
AddType text/javascript js mjs
</IfModule>
<IfModule mod_dir.c>
+1 -1
View File
@@ -13,5 +13,5 @@ repos:
- id: php-lint
- id: php-cs-fixer
files: \.(php)$
exclude: ^(config|data|composer)
exclude: ^(config|data|composer|lib\/composer)
args: []
+170 -170
View File
@@ -1,183 +1,183 @@
[main]
host = https://www.transifex.com
lang_map = bg_BG: bg, cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja
host = https://www.transifex.com
lang_map = fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja, bg_BG: bg, cs_CZ: cs
[nextcloud.core]
file_filter = translationfiles/<lang>/core.po
source_file = translationfiles/templates/core.pot
source_lang = en
type = PO
[nextcloud.files]
file_filter = translationfiles/<lang>/files.po
source_file = translationfiles/templates/files.pot
source_lang = en
type = PO
[nextcloud.settings-1]
file_filter = translationfiles/<lang>/settings.po
source_file = translationfiles/templates/settings.pot
source_lang = en
type = PO
[nextcloud.lib]
file_filter = translationfiles/<lang>/lib.po
source_file = translationfiles/templates/lib.pot
source_lang = en
type = PO
[nextcloud.dav]
file_filter = translationfiles/<lang>/dav.po
source_file = translationfiles/templates/dav.pot
source_lang = en
type = PO
[nextcloud.files_encryption]
file_filter = translationfiles/<lang>/encryption.po
source_file = translationfiles/templates/encryption.pot
source_lang = en
type = PO
[nextcloud.files_external]
file_filter = translationfiles/<lang>/files_external.po
source_file = translationfiles/templates/files_external.pot
source_lang = en
type = PO
[nextcloud.files_sharing]
file_filter = translationfiles/<lang>/files_sharing.po
source_file = translationfiles/templates/files_sharing.pot
source_lang = en
type = PO
[nextcloud.files_trashbin]
file_filter = translationfiles/<lang>/files_trashbin.po
source_file = translationfiles/templates/files_trashbin.pot
source_lang = en
type = PO
[nextcloud.files_versions]
file_filter = translationfiles/<lang>/files_versions.po
source_file = translationfiles/templates/files_versions.pot
source_lang = en
type = PO
[nextcloud.user_ldap]
file_filter = translationfiles/<lang>/user_ldap.po
source_file = translationfiles/templates/user_ldap.pot
source_lang = en
type = PO
[nextcloud.comments]
file_filter = translationfiles/<lang>/comments.po
source_file = translationfiles/templates/comments.pot
source_lang = en
type = PO
[nextcloud.federatedfilesharing]
file_filter = translationfiles/<lang>/federatedfilesharing.po
source_file = translationfiles/templates/federatedfilesharing.pot
source_lang = en
type = PO
[nextcloud.federation]
file_filter = translationfiles/<lang>/federation.po
source_file = translationfiles/templates/federation.pot
source_lang = en
type = PO
[nextcloud.oauth2]
file_filter = translationfiles/<lang>/oauth2.po
source_file = translationfiles/templates/oauth2.pot
source_lang = en
type = PO
[nextcloud.sharebymail]
file_filter = translationfiles/<lang>/sharebymail.po
source_file = translationfiles/templates/sharebymail.pot
source_lang = en
type = PO
[nextcloud.systemtags]
file_filter = translationfiles/<lang>/systemtags.po
source_file = translationfiles/templates/systemtags.pot
source_lang = en
type = PO
[nextcloud.updatenotification]
file_filter = translationfiles/<lang>/updatenotification.po
source_file = translationfiles/templates/updatenotification.pot
source_lang = en
type = PO
[nextcloud.theming]
file_filter = translationfiles/<lang>/theming.po
source_file = translationfiles/templates/theming.pot
source_lang = en
type = PO
[nextcloud.twofactor_backupcodes]
file_filter = translationfiles/<lang>/twofactor_backupcodes.po
source_file = translationfiles/templates/twofactor_backupcodes.pot
source_lang = en
type = PO
[nextcloud.workflowengine]
file_filter = translationfiles/<lang>/workflowengine.po
source_file = translationfiles/templates/workflowengine.pot
source_lang = en
type = PO
[nextcloud.accessibility]
file_filter = translationfiles/<lang>/accessibility.po
source_file = translationfiles/templates/accessibility.pot
source_lang = en
type = PO
[nextcloud.provisioning_api]
file_filter = translationfiles/<lang>/provisioning_api.po
source_file = translationfiles/templates/provisioning_api.pot
source_lang = en
type = PO
[nextcloud.lookup_server_connector]
file_filter = translationfiles/<lang>/lookup_server_connector.po
source_file = translationfiles/templates/lookup_server_connector.pot
source_lang = en
type = PO
[nextcloud.dashboard-shipped-with-server]
file_filter = translationfiles/<lang>/dashboard.po
source_file = translationfiles/templates/dashboard.pot
source_lang = en
type = PO
[nextcloud.contactsinteraction]
file_filter = translationfiles/<lang>/contactsinteraction.po
source_file = translationfiles/templates/contactsinteraction.pot
source_lang = en
type = PO
[nextcloud.cloud_federation_api]
file_filter = translationfiles/<lang>/cloud_federation_api.po
source_file = translationfiles/templates/cloud_federation_api.pot
source_lang = en
type = PO
[nextcloud.admin_audit]
[o:nextcloud:p:nextcloud:r:admin_audit]
file_filter = translationfiles/<lang>/admin_audit.po
source_file = translationfiles/templates/admin_audit.pot
source_lang = en
type = PO
type = PO
[nextcloud.user_status]
[o:nextcloud:p:nextcloud:r:cloud_federation_api]
file_filter = translationfiles/<lang>/cloud_federation_api.po
source_file = translationfiles/templates/cloud_federation_api.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:comments]
file_filter = translationfiles/<lang>/comments.po
source_file = translationfiles/templates/comments.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:contactsinteraction]
file_filter = translationfiles/<lang>/contactsinteraction.po
source_file = translationfiles/templates/contactsinteraction.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:core]
file_filter = translationfiles/<lang>/core.po
source_file = translationfiles/templates/core.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:dashboard-shipped-with-server]
file_filter = translationfiles/<lang>/dashboard.po
source_file = translationfiles/templates/dashboard.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:dav]
file_filter = translationfiles/<lang>/dav.po
source_file = translationfiles/templates/dav.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:federatedfilesharing]
file_filter = translationfiles/<lang>/federatedfilesharing.po
source_file = translationfiles/templates/federatedfilesharing.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:federation]
file_filter = translationfiles/<lang>/federation.po
source_file = translationfiles/templates/federation.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:files]
file_filter = translationfiles/<lang>/files.po
source_file = translationfiles/templates/files.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:files_encryption]
file_filter = translationfiles/<lang>/encryption.po
source_file = translationfiles/templates/encryption.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:files_external]
file_filter = translationfiles/<lang>/files_external.po
source_file = translationfiles/templates/files_external.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:files_reminders]
file_filter = translationfiles/<lang>/files_reminders.po
source_file = translationfiles/templates/files_reminders.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:files_sharing]
file_filter = translationfiles/<lang>/files_sharing.po
source_file = translationfiles/templates/files_sharing.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:files_trashbin]
file_filter = translationfiles/<lang>/files_trashbin.po
source_file = translationfiles/templates/files_trashbin.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:files_versions]
file_filter = translationfiles/<lang>/files_versions.po
source_file = translationfiles/templates/files_versions.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:lib]
file_filter = translationfiles/<lang>/lib.po
source_file = translationfiles/templates/lib.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:lookup_server_connector]
file_filter = translationfiles/<lang>/lookup_server_connector.po
source_file = translationfiles/templates/lookup_server_connector.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:oauth2]
file_filter = translationfiles/<lang>/oauth2.po
source_file = translationfiles/templates/oauth2.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:provisioning_api]
file_filter = translationfiles/<lang>/provisioning_api.po
source_file = translationfiles/templates/provisioning_api.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:settings-1]
file_filter = translationfiles/<lang>/settings.po
source_file = translationfiles/templates/settings.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:sharebymail]
file_filter = translationfiles/<lang>/sharebymail.po
source_file = translationfiles/templates/sharebymail.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:systemtags]
file_filter = translationfiles/<lang>/systemtags.po
source_file = translationfiles/templates/systemtags.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:theming]
file_filter = translationfiles/<lang>/theming.po
source_file = translationfiles/templates/theming.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:twofactor_backupcodes]
file_filter = translationfiles/<lang>/twofactor_backupcodes.po
source_file = translationfiles/templates/twofactor_backupcodes.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:updatenotification]
file_filter = translationfiles/<lang>/updatenotification.po
source_file = translationfiles/templates/updatenotification.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:user_ldap]
file_filter = translationfiles/<lang>/user_ldap.po
source_file = translationfiles/templates/user_ldap.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:user_status]
file_filter = translationfiles/<lang>/user_status.po
source_file = translationfiles/templates/user_status.pot
source_lang = en
type = PO
type = PO
[nextcloud.weather_status]
[o:nextcloud:p:nextcloud:r:weather_status]
file_filter = translationfiles/<lang>/weather_status.po
source_file = translationfiles/templates/weather_status.pot
source_lang = en
type = PO
type = PO
[o:nextcloud:p:nextcloud:r:workflowengine]
file_filter = translationfiles/<lang>/workflowengine.po
source_file = translationfiles/templates/workflowengine.pot
source_lang = en
type = PO
+130 -28
View File
@@ -1,33 +1,40 @@
Nextcloud is written by:
- AW-UC <git@a-wesemann.de>
- Aaron Ball <nullspoon@oper.io>
- Aaron Wood <aaronjwood@gmail.com>
- Abijeet <abijeetpatro@gmail.com>
- Achim Königs <garfonso@tratschtante.de>
- Adam Williamson <awilliam@redhat.com>
- Administrator "Administrator@WINDOWS-2012"
- Adrian Brzezinski <adrian.brzezinski@eo.pl>
- Akhil <akhil.potukuchi@gmail.com>
- Akhil <akhil@e.email>
- Akhil Potukuchi <akhil.potukuchi@gmail.com>
- Alan Meeson <alan@carefullycalculated.co.uk>
- Aldo "xoen" Giambelluca <xoen@xoen.org>
- Alecks Gates <alecks.g@gmail.com>
- Alejandro Varela <epma01@gmail.com>
- Alex Harpin <development@landsofshadow.co.uk>
- Alex Weirig <alex.weirig@technolink.lu>
- Alexander A. Klimov <grandmaster@al2klimov.de>
- Alexander Bergolth <leo@strike.wu.ac.at>
- Alexey Pyltsyn <lex61rus@gmail.com>
- Alexander F <32201363+alx-tuilmenau@users.noreply.github.com>
- Allan Nordhøy <epost@anotheragency.no>
- Anderson Luiz Alves <alacn1@gmail.com>
- Andreas Fischer <bantu@owncloud.com>
- Andreas Pflug <dev@admin4.org>
- Andrew Brown <andrew@casabrown.com>
- André Gaul <gaul@web-yard.de>
- Andy Xheli <axheli@axtsolutions.com>
- Anna Larch <anna@nextcloud.com>
- ArcticFall <23174635+ArcticFall@users.noreply.github.com>
- Ardinis <Ardinis@users.noreply.github.com>
- Ari Selseng <ari@selseng.net>
- Arne Hamann <kontakt+github@arne.email>
- Artem Kochnev <MrJeos@gmail.com>
- Artem Sidorenko <artem@posteo.de>
- Arthur Schiwon <blizzz@arthur-schiwon.de>
- Artur Neumann <artur@jankaritech.com>
- Artur Neumann <info@individual-it.net>
- Ashod Nakashian <ashod.nakashian@collabora.co.uk>
- Avior <florian.bouillon@delta-wings.net>
- Asier Iturralde Sarasola <asier.iturralde@gmail.com>
- Axel Helmert <axel.helmert@luka.de>
- Azul <azul@riseup.net>
- Bart Visscher <bartv@thisnet.nl>
@@ -36,13 +43,19 @@ Nextcloud is written by:
- Bastien Ho <bastienho@urbancube.fr>
- Benjamin Diele <benjamin@diele.be>
- Benjamin Liles <benliles@arch.tamu.edu>
- Bennet Becker <bbecker@pks.mpg.de>
- Bennet Becker <dev@bennet.cc>
- Bernard Spil <Sp1l@users.noreply.github.com>
- Bernd Rederlechner <Bernd.Rederlechner@t-systems.com>
- Bernd Stellwag <burned@zerties.org>
- Bernhard Ostertag <bernieo.code@gmx.de>
- Bernhard Posselt <dev@bernhard-posselt.com>
- Bernhard Reiter <ockham@raz.or.at>
- Bill McGonigle <bill-github.com@bfccomputing.com>
- Birk Borkason <daniel.niccoli@gmail.com>
- Bjoern Schiessle <bjoern@schiessle.org>
- Björn Schießle <bjoern@schiessle.org>
- Bjørn Forsman <bjorn.forsman@gmail.com>
- Blaok <i@blaok.me>
- Boris Rybalkin <ribalkin@gmail.com>
- Borjan Tchakaloff <borjan@tchakaloff.fr>
@@ -50,7 +63,9 @@ Nextcloud is written by:
- Brandon Kirsch <brandonkirsch@github.com>
- Branko Kokanovic <branko@kokanovic.org>
- Brice Maron <brice@bmaron.net>
- Byron Marohn <combustible@live.com>
- CRA Yoshihito Nakatani <yoshihito.nakatani@craftsman-software.com>
- Carl Csaposs <carl@csaposs.com>
- Carl Schwan <carl@carlschwan.eu>
- Carla Schroder <carla@owncloud.com>
- Carlos Cerrillo <ccerrillo@gmail.com>
- Carlos Ferreira <carlos@reendex.com>
@@ -60,37 +75,47 @@ Nextcloud is written by:
- Christian Berendt <berendt@b1-systems.de>
- Christian Jürges <christian@eqipe.ch>
- Christian Kampka <christian@kampka.net>
- Christian Oliff <christianoliff@yahoo.com>
- Christian Weiske <cweiske@cweiske.de>
- Christoph Schaefer "christophł@wolkesicher.de"
- Christoph Seitz <christoph.seitz@posteo.de>
- Christoph Wickert <cwickert@suse.de>
- Christoph Wurst <christoph@winzerhof-wurst.at>
- Christopher Bartz <bartz@dkrz.de>
- Christopher Ng <chrng8@gmail.com>
- Christopher Schäpers <kondou@ts.unde.re>
- Christopher T. Johnson <ctjctj@gmail.com>
- Claas Augner <github@caugner.de>
- Clark Tomlinson <fallen013@gmail.com>
- Claus-Justus Heine <himself@claus-justus-heine.de>
- Clement Wong <git@clement.hk>
- Cornelius Kölbel <cornelius.koelbel@netknights.it>
- Cthulhux <git@tuxproject.de>
- Cyrille Bollu <cyrpub@bollu.be>
- Cédric Neukom <github@webguy.ch>
- Côme Chilliet <91878298+come-nc@users.noreply.github.com>
- Côme Chilliet <come.chilliet@nextcloud.com>
- Damjan Georgievski <gdamjan@gmail.com>
- Dan Callahan <dan.callahan@gmail.com>
- Daniel <mail@danielkesselberg.de>
- Daniel Calviño Sánchez <danxuliu@gmail.com>
- Daniel Hansson <daniel@techandme.se>
- Daniel Jagszent <daniel@jagszent.de>
- Daniel Kesselberg <mail@danielkesselberg.de>
- Daniel Rudolf <github.com@daniel-rudolf.de>
- Daniel Schneider <daniel@schneidoa.de>
- Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
- Dariusz Olszewski <starypatyk@users.noreply.github.com>
- David <37280718+yeyulantu@users.noreply.github.com>
- David Prévot <taffit@debian.org>
- David Toledo <dtoledo@solidgear.es>
- Denis Mosolov <denismosolov@gmail.com>
- Derek <derek.kelly27@gmail.com>
- Dominik Schmidt <dev@dominik-schmidt.de>
- Donquixote <marjunebatac@gmail.com>
- Dries Mys <dries.mys@my-dreams.be>
- EWouters <6179932+EWouters@users.noreply.github.com>
- Elijah Martin-Merrill <elijah@nyp-itsours.com>
- Ember 'n0emis' Keske <git@n0emis.eu>
- Eric Masseran <rico.masseran@gmail.com>
- Erik van Velzen <erik@evanv.nl>
- Evgeny Golyshev <eugulixes@gmail.com>
- Fabrizio Steiner <fabrizio.steiner@gmail.com>
- Felix Epp <work@felixepp.de>
@@ -99,29 +124,38 @@ Nextcloud is written by:
- Felix Nieuwenhuizen <felix@tdlrali.com>
- Felix Nüsse <Felix.nuesse@t-online.de>
- Felix Rupp <github@felixrupp.com>
- Ferdinand Thiessen <opensource@fthiessen.de>
- Ferdinand Thiessen <rpm@fthiessen.de>
- Filis Futsarov <filisko@users.noreply.github.com>
- Florent <florent@coppint.com>
- Florian Schunk <florian.schunk@rwth-aachen.de>
- Florin Peter <github@florin-peter.de>
- Flávio Gomes da Silva Lisboa <flavio.lisboa@serpro.gov.br>
- Frank Isemann <frank@isemann.name>
- Frank Karlitschek <frank@karlitschek.de>
- François Freitag <mail@franek.fr>
- François Kubler <francois@kubler.org>
- François Ménabé <francois.menabe@gmail.com>
- Frederic Werner <frederic-github@werner-net.work>
- Frédéric Fortier <frederic.fortier@oronospolytechnique.com>
- Gary Kim <gary@garykim.dev>
- Georg Ehrke <oc.list@georgehrke.com>
- Git'Fellow <12234510+solracsf@users.noreply.github.com>
- Git'Fellow <carlos@reendex.com>
- Glandos <bugs-github@antipoul.fr>
- GrayFix <grayfix@gmail.com>
- Greta Doci <gretadoci@gmail.com>
- GretaD <gretadoci@gmail.com>
- Guillaume COMPAGNON <gcompagnon@outlook.com>
- Guillaume Colson <guillaume.colson@univ-lorraine.fr>
- Guillaume Virlet <github@virlet.org>
- Hasso Tepper <hasso@zone.ee>
- Hemanth Kumar Veeranki <hems.india1997@gmail.com>
- Hendrik Leppelsack <hendrik@leppelsack.de>
- Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
- Holger Hees <holger.hees@gmail.com>
- HouraisanNEET <HouraisanNEET@users.noreply.github.com>
- Ilja Neumann <ineumann@owncloud.com>
- Ilya Apasov <apasov@users.noreply.github.com>
- Immanuel Pasanec <immanuel.pasanec@compaso.de>
- Individual IT Services <info@individual-it.net>
- Iscle <albertiscle9@gmail.com>
- J0WI <J0WI@users.noreply.github.com>
@@ -129,13 +163,15 @@ Nextcloud is written by:
- Jacob Neplokh <me@jacobneplokh.com>
- Jakob Sack <mail@jakobsack.de>
- Jakub Onderka <ahoj@jakubonderka.cz>
- James Letendre <James.Letendre@gmail.com>
- James Guo <i@ze3kr.com>
- Jan C. Borchardt <hey@jancborchardt.net>
- Jan Messer <jan@mtec-studios.ch>
- Jan-Christoph Borchardt <hey@jancborchardt.net>
- Jan-Philipp Litza <jpl@plutex.de>
- Jan-Philipp Litza <jplitza@users.noreply.github.com>
- Janis Köhr <janis.koehr@novatec-gmbh.de>
- Jared Boone <jared.boone@gmail.com>
- JanBartels <j.bartels@arcor.de>
- Jarkko Lehtoranta <devel@jlranta.com>
- Jasper Weyne <jasperweyne@gmail.com>
- Jean-Louis Dupond <jean-louis@dupond.be>
- Jens-Christian Fischer <jens-christian.fischer@switch.ch>
- Jesús Macias <jmacias@solidgear.es>
@@ -150,25 +186,31 @@ Nextcloud is written by:
- Johannes Schlichenmaier <johannes@schlichenmaier.info>
- Johannes Willnecker <johannes@willnecker.com>
- John Molakvoæ <skjnldsv@protonmail.com>
- Jonas <jonas@freesources.org>
- Jonas Heinrich <heinrich@synyx.de>
- Jonas Meurer <jonas@freesources.org>
- Jonas Rittershofer <jotoeri@users.noreply.github.com>
- Jonas Sulzer <jonas@violoncello.ch>
- Jonny007-MKD <1-23-4-5@web.de>
- Jos Poortvliet <jos@opensuse.org>
- Jose Quinteiro <github@quinteiro.org>
- Josh Richards <josh.t.richards@gmail.com>
- Juan Pablo Villafañez <jvillafanez@solidgear.es>
- Juan Pablo Villafáñez <jvillafanez@solidgear.es>
- Julien Lutran <julien.lutran@corp.ovh.com>
- Julien Veyssier <eneiluj@posteo.net>
- Julien Veyssier <julien-nc@posteo.net>
- Julius Haertl <jus@bitgrid.net>
- Julius Härtl <jus@bitgrid.net>
- Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
- Jörn Friedrich Dreyer <jfd@butonic.de>
- KB7777 <k.burkowski@gmail.com>
- Kamil Domanski <kdomanski@kdemail.net>
- Karel Hink <info@karelhink.cz>
- Kawohl <john@owncloud.com>
- Kenneth Newwood <kenneth@newwood.name>
- Kevin Lanni <therealklanni@gmail.com>
- Kevin Ndung'u <kevgathuku@gmail.com>
- Kim Brose <kim.brose@rwth-aachen.de>
- Kevin Niehage <k.niehage@syseleven.de>
- Kirill Popov <kirill.s.popov@gmail.com>
- Klaas Freitag <freitag@owncloud.com>
- Knut Ahlers <knut@ahlers.me>
- Ko- <k.stoffelen@cs.ru.nl>
@@ -179,7 +221,7 @@ Nextcloud is written by:
- Lars Knickrehm <mail@lars-sh.de>
- Laurens Post <Crote@users.noreply.github.com>
- Laurens Post <lkpost@scept.re>
- Lauris Binde <laurisb@users.noreply.github.com>
- Lee Garrett <lgarrett@rocketjump.eu>
- Lennart Rosam <hello@takuto.de>
- Lennart Rosam <lennart.rosam@medien-systempartner.de>
- Leon Klingele <git@leonklingele.de>
@@ -189,13 +231,22 @@ Nextcloud is written by:
- Lionel Elie Mamane <lionel@mamane.lu>
- Loki3000 <github@labcms.ru>
- Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it>
- Lorenzo Tanganelli <35271287+tanganellilore@users.noreply.github.com>
- Louis <6653109+artonge@users.noreply.github.com>
- Louis Chemineau <louis@chmn.me>
- Loïc Hermann <loic.hermann@sciam.fr>
- Luka Trovic <luka@nextcloud.com>
- Lukas Reschke <lukas@statuscode.ch>
- Lukas Stabe <lukas@stabe.de>
- Luke Policinski <lpolicinski@gmail.com>
- Magnus Walbeck <mw@mwalbeck.org>
- Maksim Sukharev <antreesy.web@gmail.com>
- Marc Hefter <marchefter@gmail.com>
- Marc Hefter <marchefter@march42.net>
- Marcel Klehr <mklehr@gmx.net>
- Marcel Müller <marcel-mueller@gmx.de>
- Marcel Waldvogel <marcel.waldvogel@uni-konstanz.de>
- Marco Ambrosini <marcoambrosini@pm.me>
- Marco Ziech <marco@ziech.net>
- Marin Treselj <marin@pixelipo.com>
- Mario Danic <mario@lovelyhq.com>
@@ -204,19 +255,25 @@ Nextcloud is written by:
- Marius David Wieschollek <git.public@mdns.eu>
- Markus Goetz <markus@woboq.com>
- Markus Staab <markus.staab@redaxo.de>
- Markus Zeller <git@markuszeller.com>
- MartB <mart.b@outlook.de>
- Martin <github@diemattels.at>
- Martin Brugnara <martin@0x6d62.eu>
- Martin Konrad <info@martin-konrad.net>
- Martin Konrad <konrad@frib.msu.edu>
- Martin Mattel <martin.mattel@diemattels.at>
- Marvin Thomas Rabe <mrabe@marvinrabe.de>
- Masaki Kawabata Neto <masaki.kawabata@gmail.com>
- MasterOfDeath <rinat.gumirov@mail.ru>
- Matthew Setter <matthew@matthewsetter.com>
- Matthieu Gallien <matthieu.gallien@nextcloud.com>
- Mattia Narducci <mattianarducci1@gmail.com>
- Max <max@nextcloud.com>
- Max Kovalenko <mxss1998@yandex.ru>
- Max Kunzelmann <maxdev@posteo.de>
- Maxence Lange <maxence@artificial-owl.com>
- Maxence Lange <maxence@nextcloud.com>
- Maxence Lange <maxence@pontapreta.net>
- Maxime Besson <maxime.besson@worteks.com>
- Maximilian Martin <maximilian_martin@gmx.de>
- Maxopoly <max@dermax.org>
- MichaIng <28480705+MichaIng@users.noreply.github.com>
- MichaIng <micha@dietpi.com>
@@ -224,40 +281,51 @@ Nextcloud is written by:
- Michael Göhler <somebody.here@gmx.de>
- Michael Jobst <mjobst+github@tecratech.de>
- Michael Jobst <mjobst@necls.com>
- Michael Kuhn <github@ikkoku.de>
- Michael Kuhn <michael@ikkoku.de>
- Michael Letzgus <www@chronos.michael-letzgus.de>
- Michael Roitzsch <reactorcontrol@icloud.com>
- Michael Weimann <mail@michael-weimann.eu>
- Michael Zamot <michael@zamot.io>
- Michał Węgrzynek <michal.wegrzynek@malloc.com.pl>
- Michiel de Jong <michiel@unhosted.org>
- Micke Nordin <kano@sunet.se>
- Mickey Knox <mickey@netfreaks.org>
- Miguel Prokop <miguel.prokop@vtu.com>
- Mikael Hammarin <mikael@try2.se>
- Mikael Nordin <mickenordin@users.noreply.github.com>
- Mikael Saarinen <mikaels@iki.fi>
- Mikhail Sazanov <m@sazanof.ru>
- Mitar <mitar.git@tnode.com>
- Mohammed Abdellatif <m.latief@gmail.com>
- Morris Jobke <hey@morrisjobke.de>
- Mátyás Jani <jzombi@gmail.com>
- Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
- Nazar Mokrynskyi <nazar@mokrynskyi.com>
- Nick Sweeting <git@sweeting.me>
- Nicolai Ehemann <en@enlightened.de>
- Nicolas Grekas <nicolas.grekas@gmail.com>
- Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
- Nils <git@to.nilsschnabel.de>
- Nils Wittenbrink <nilswittenbrink@web.de>
- Nina Pypchenko <22447785+nina-py@users.noreply.github.com>
- Nmz <nemesiz@nmz.lt>
- NoSleep82 <52562874+NoSleep82@users.noreply.github.com>
- Noveen Sachdeva <noveen.sachdeva@research.iiit.ac.in>
- Ole Ostergaard <ole.c.ostergaard@gmail.com>
- Ole Ostergaard <ole.ostergaard@knime.com>
- Oliver Kohl D.Sc. <oliver@kohl.bz>
- Oliver Wegner <void1976@gmail.com>
- Olivier Paroz <github@oparoz.com>
- Orzu Ionut <orzu.ionut@gmail.com>
- Owen Winkler <a_github@midnightcircus.com>
- Pascal de Bruijn <pmjdebruijn@pcode.nl>
- Patrick Paysant <patrick.paysant@linagora.com>
- Patrik Kernstock <info@pkern.at>
- Pauli Järvinen <pauli.jarvinen@gmail.com>
- Pavel Krasikov <klonishe@gmail.com>
- Pawel Boguslawski <pawel.boguslawski@ib.pl>
- Pellaeon Lin <nfsmwlin@gmail.com>
- Peter Kubica <peter@kubica.ch>
- Petre T <petre.tudor@dorkfarm.com>
- Phil Davis <phil.davis@inf.org>
- Philipp Kapfer <philipp.kapfer@gmx.at>
- Philipp Schaffrath <github@philipp.schaffrath.email>
@@ -269,6 +337,7 @@ Nextcloud is written by:
- Piotr M <mrow4a@yahoo.com>
- Piotr Mrowczynski <mrow4a@yahoo.com>
- Piotr Mrówczyński <mrow4a@yahoo.com>
- Pytal <24800714+Pytal@users.noreply.github.com>
- Qingping Hou <dave2008713@gmail.com>
- Raghu Nayyar <hey@raghunayyar.com>
- Ralph Krimmel <rkrimme1@gwdg.de>
@@ -279,7 +348,10 @@ Nextcloud is written by:
- RealRancor <fisch.666@gmx.de>
- Rello <Rello@users.noreply.github.com>
- Remco Brenninkmeijer <requist1@starmail.nl>
- Retidurc Silvernight <retidurc@silvernight.social>
- Richard Steinmetz <richard@steinmetz.cloud>
- Richard de Boer <github@tubul.net>
- Rid <rid@cylo.io>
- Rinat Gumirov <rinat.gumirov@mail.ru>
- Robert Dailey <rcdailey@gmail.com>
- Robin Appelman <robin@icewind.nl>
@@ -291,6 +363,7 @@ Nextcloud is written by:
- Romain Rivière <lecoyote@lecoyote.org>
- Roman Kreisel <mail@romankreisel.de>
- Ross Nicoll <jrn@jrn.me.uk>
- Rsplwe <i@rsplwe.com>
- Ruben Homs <ruben@homs.codes>
- RussellAult <RussellAult@users.noreply.github.com>
- Rémy Jacquin <remy@remyj.fr>
@@ -303,11 +376,10 @@ Nextcloud is written by:
- Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
- Sander Ruitenbeek <sander@grids.be>
- Sandro Lutz <sandro.lutz@temparus.ch>
- Sascha Sambale <mastixmc@gmail.com>
- Sanpi <sanpi@homecomputing.fr>
- Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
- Scott Dutton <exussum12@users.noreply.github.com>
- Scott Dutton <scott@exussum.co.uk>
- Scott Shambarger <devel@shambarger.net>
- Sean Comeau <sean@ftlnetworks.ca>
- Sean Molenaar <sean@seanmolenaar.eu>
- Sebastian Döll <sebastian.doell@libasys.de>
@@ -322,10 +394,16 @@ Nextcloud is written by:
- Sergey Shliakhov <husband.sergey@gmail.com>
- Sergio Bertolin <sbertolin@solidgear.es>
- Sergio Bertolín <sbertolin@solidgear.es>
- Sijmen Schoon <me@sijmenschoon.nl>
- Simon Könnecke <simonkoennecke@gmail.com>
- Simon L <szaimen@e.mail.de>
- Simon Leiner <simon@leiner.me>
- Simon Spannagel <simonspa@kth.se>
- Simounet <contact@simounet.net>
- Sjors van der Pluijm <sjors@desjors.nl>
- Stanimir Bozhilov <stanimir.bozhilov.1998@gmail.com>
- Stanimir Bozhilov <stanimir@audriga.com>
- Stefan <Stefan.Schilling@EXXETA.com>
- Stefan Rado <owncloud@sradonia.net>
- Stefan Schneider <stefan.schneider@squareweave.com.au>
- Stefan Weiberg <sweiberg@suse.com>
@@ -339,6 +417,7 @@ Nextcloud is written by:
- Sujith Haridasan <Sujith_Haridasan@mentor.com>
- Sujith Haridasan <sujith.h@gmail.com>
- Sven Strickroth <email@cs-ware.de>
- Sylvain <git@sylvain.dev>
- Sylvia van Os <sylvia@hackerchick.me>
- Tekhnee <info@tekhnee.org>
- Temtaime <temtaime@gmail.com>
@@ -357,6 +436,7 @@ Nextcloud is written by:
- Timo Förster <tfoerster@webfoersterei.de>
- Tobia De Koninck <LEDfan@users.noreply.github.com>
- Tobia De Koninck <tobia@ledfan.be>
- Tobias Assmann <tobias.assmann@ecsec.de>
- Tobias Kaminsky <tobias@kaminsky.me>
- Tobias Perschon <tobias@perschon.at>
- Tom Grant <TomG736@users.noreply.github.com>
@@ -364,30 +444,42 @@ Nextcloud is written by:
- Tomasz Grobelny <tomasz@grobelny.net>
- Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
- Tor Lillqvist <tml@collabora.com>
- UmbrellaCodr <umbrella@biohazard.cc>
- Unknown <anpz.asutp@gmail.com>
- Unpublished <unpublished@gmx.net>
- Valdnet <47037905+Valdnet@users.noreply.github.com>
- Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
- Varun Patil <radialapps@gmail.com>
- Varun Patil <varunpatil@ucla.edu>
- Victor Dubiniuk <dubiniuk@owncloud.com>
- Viktor Szépe <viktor@szepe.net>
- Vincent Chan <plus.vincchan@gmail.com>
- Vincent Petry <vincent@nextcloud.com>
- Vincent Van Houtte <vvh@aplusv.be>
- Vinicius Cubas Brand <vinicius@eita.org.br>
- Vitor Mattos <vitor@php.rio>
- Vlastimil Pecinka <pecinka@email.cz>
- Volkan Gezer <volkangezer@gmail.com>
- Volker <skydiablo@gmx.net>
- William <william.hak57@gmail.com>
- William Pain <pain.william@gmail.com>
- Xheni Myrtaj <myrtajxheni@gmail.com>
- Xuanwo <xuanwo@yunify.com>
- ZitronePlus <tobiasscharf92@gmail.com>
- acsfer <12234510+acsfer@users.noreply.github.com>
- acsfer <carlos@reendex.com>
- adrien <adrien.waksberg@believedigital.com>
- alanmeeson <alan@carefullycalculated.co.uk>
- aler9 <46489434+aler9@users.noreply.github.com>
- alexweirig <alex.weirig@technolink.lu>
- b108@volgograd "b108@volgograd"
- bbx-github <53237674+bbx-github@users.noreply.github.com>
- bladewing <lukas@ifflaender-family.de>
- bline <scottbeck@gmail.com>
- blizzz <blizzz@arthur-schiwon.de>
- brad2014 <brad2014@users.noreply.github.com>
- brumsel <brumsel@losecatcher.de>
- cahogan <caitlin.hogan@swiftsolar.com>
- call-me-matt <nextcloud@matthiasheinisch.de>
- castillo92 <37965565+castillo92@users.noreply.github.com>
- cetra3 <peter@parashift.com.au>
@@ -400,27 +492,32 @@ Nextcloud is written by:
- duritong <peter.meier+github@immerda.ch>
- eduardo <eduardo@vnexu.net>
- eleith <online+github@eleith.com>
- enoch <lanxenet@hotmail.com>
- essys <essys@users.noreply.github.com>
- exner104 <59639860+exner104@users.noreply.github.com>
- fabian <fabian@web2.0-apps.de>
- felixboehm <felix@webhippie.de>
- fenn-cs <fenn25.fn@gmail.com>
- fnuesse <felix.nuesse@t-online.de>
- fnuesse <fnuesse@techfak.uni-bielefeld.de>
- helix84 <helix84@centrum.sk>
- greta <gretadoci@gmail.com>
- hkjolhede <hkjolhede@gmail.com>
- hoellen <dev@hoellen.eu>
- howardZa <33491519+howardZa@users.noreply.github.com>
- ideaship <ideaship@users.noreply.github.com>
- j-ed <juergen@eisfair.org>
- j3l11234 <297259024@qq.com>
- jaltek <jaltek@mailbox.org>
- jknockaert <jasper@knockaert.nl>
- jld3103 <jld3103yt@gmail.com>
- josh4trunks <joshruehlig@gmail.com>
- julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
- karakayasemi <karakayasemi@itu.edu.tr>
- kevin147147 <kevintamool@gmail.com>
- korelstar <korelstar@users.noreply.github.com>
- leith abdulla <online-nextcloud@eleith.com>
- lui87kw <lukas.ifflaender@uni-wuerzburg.de>
- luz paz <luzpaz@github.com>
- luz paz <luzpaz@pm.me>
- lynn-stephenson <lynn.stephenson@protonmail.com>
- macjohnny <estebanmarin@gmx.ch>
- marco44 <cousinmarc@gmail.com>
@@ -431,7 +528,6 @@ Nextcloud is written by:
- michaelletzgus <michaelletzgus@users.noreply.github.com>
- michag86 <micha_g@arcor.de>
- mmccarn <mmccarn-github@mmsionline.us>
- nacho <nacho@ownyourbits.com>
- nhirokinet <nhirokinet@nhiroki.net>
- nik gaffney <nik@fo.am>
- nishiki <nishiki@yaegashi.fr>
@@ -439,9 +535,12 @@ Nextcloud is written by:
- noveens <noveen.sachdeva@research.iiit.ac.in>
- npmbuildbot[bot] "npmbuildbot[bot]@users.noreply.github.com"
- onehappycat <one.happy.cat@gmx.com>
- oparoz <owncloud@interfasys.ch>
- phisch <git@philippschaffrath.de>
- pjft <pjft@users.noreply.github.com>
- plumbeo <plumbeo@users.noreply.github.com>
- rakekniven <2069590+rakekniven@users.noreply.github.com>
- rakekniven <mark.ziegler@rakekniven.de>
- raul <raul@nextcloud.com>
- robottod <83244577+robottod@users.noreply.github.com>
- root "root@oc.(none)"
- root <root@localhost.localdomain>
@@ -451,6 +550,8 @@ Nextcloud is written by:
- scolebrook <scolebrook@mac.com>
- shkdee <louis.traynard@m4x.org>
- simonspa <1677436+simonspa@users.noreply.github.com>
- smichel17 <git@smichel.me>
- sodimel <corentin@244466666.xyz>
- ste101 <stephan_bauer@gmx.de>
- sualko <klaus@jsxc.org>
- szaimen <szaimen@e.mail.de>
@@ -462,6 +563,7 @@ Nextcloud is written by:
- v1r0x <vinzenz.rosenkranz@gmail.com>
- voxsim "Simon Vocella"
- waleczny <michal@walczak.xyz>
- zorn-v <zorn7@yandex.ru>
- zulan <git@zulan.net>
- Łukasz Buśko <busko.lukasz@pm.me>
+24
View File
@@ -0,0 +1,24 @@
# Nextcloud Design contribution guidelines
## 👋 Welcome
At Nextcloud we want to make sure to have everything in place to enable designers to contribute making our apps universally accessible and easy to use.
## 🚢 How to contribute design
We have a dedicated page with more in-detail guidelines on our website:
https://nextcloud.com/design/
**TL;DR**
1. Check out open [issues](https://github.com/nextcloud/server/issues) here on GitHub (we label them with `design`)
2. Make sure create publicly accessible assets
3. Add your contributions to an issue and we promise we will review your contribution carefully and foster discussions
[This issue](https://github.com/nextcloud/desktop/issues/877) has examples of other apps, some simple mockups, and specifications about the design. In the discussions in the comments there are updates to the design as well.
[This pull request](https://github.com/nextcloud/desktop/pull/1565) by a developer has the implementation of that issue, the changes they made, and more design discussions and adjustments.
**We encourage you to:**
- Get in touch with the team by joining our [public Talk channel](https://cloud.nextcloud.com/call/gqff69i8)
+35 -16
View File
@@ -1,26 +1,27 @@
# Nextcloud Server ☁
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=stable24)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=stable24)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/stable24/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=master)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/master/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/209/badge)](https://bestpractices.coreinfrastructure.org/projects/209)
[![Design](https://contribute.design/api/shield/nextcloud/server)](https://contribute.design/nextcloud/server)
**A safe home for all your data.**
![](https://raw.githubusercontent.com/nextcloud/screenshots/master/files/Files%20Sharing.png)
![](https://raw.githubusercontent.com/nextcloud/screenshots/master/nextcloud-hub-files-25-preview.png)
## Why is this so awesome? 🤩
* 📁 **Access your Data** You can store your files, contacts, calendars and more on a server of your choosing.
* 🔄 **Sync your Data** You keep your files, contacts, calendars and more synchronized amongst your devices.
* 📁 **Access your Data** You can store your files, contacts, calendars, and more on a server of your choosing.
* 🔄 **Sync your Data** You keep your files, contacts, calendars, and more synchronized amongst your devices.
* 🙌 **Share your Data** …by giving others access to the stuff you want them to see or to collaborate with.
* 🚀 **Expandable with hundreds of Apps** ...like [Calendar](https://github.com/nextcloud/calendar), [Contacts](https://github.com/nextcloud/contacts), [Mail](https://github.com/nextcloud/mail), [Video Chat](https://github.com/nextcloud/spreed) and all those you can discover in our [App Store](https://apps.nextcloud.com)
* 🔒 **Security** with our encryption mechanisms, [HackerOne bounty program](https://hackerone.com/nextcloud) and two-factor authentication.
You want to learn more about how you can use Nextcloud to access, share and protect your files, calendars, contacts, communication & more at home and at your organization? [**Learn about all our Features**](https://nextcloud.com/athome/).
Do you want to learn more about how you can use Nextcloud to access, share and protect your files, calendars, contacts, communication & more at home and in your organization? [**Learn about all our Features**](https://nextcloud.com/athome/).
## Get your Nextcloud 🚚
- ☑️ [**Simply sign up**](https://nextcloud.com/signup/) at one of our providers either through our website or through the apps directly.
- 🖥 [**Install** a server by yourself](https://nextcloud.com/install/#instructions-server) on your own hardware or by using one of our ready to use **appliances**
- 🖥 [**Install** a server by yourself](https://nextcloud.com/install/#instructions-server) on your hardware or by using one of our ready to use **appliances**
- 📦 Buy one of the [awesome **devices** coming with a preinstalled Nextcloud](https://nextcloud.com/devices/)
- 🏢 Find a [service **provider**](https://nextcloud.com/providers/) who hosts Nextcloud for you or your company
@@ -38,7 +39,7 @@ You can also [get support for Nextcloud](https://nextcloud.com/support)!
## Join the team 👪
There are many ways to contribute, of which development is only one! Find out [how to get involved](https://nextcloud.com/contribute/), including as translator, designer, tester, helping others and much more! 😍
There are many ways to contribute, of which development is only one! Find out [how to get involved](https://nextcloud.com/contribute/), including as a translator, designer, tester, helping others, and much more! 😍
### Development setup 👩‍💻
@@ -47,7 +48,7 @@ There are many ways to contribute, of which development is only one! Find out [h
2. 🐛 [Pick a good first issue](https://github.com/nextcloud/server/labels/good%20first%20issue)
3. 👩‍🔧 Create a branch and make your changes. Remember to sign off your commits using `git commit -sm "Your commit message"`
4. ⬆ Create a [pull request](https://opensource.guide/how-to-contribute/#opening-a-pull-request) and `@mention` the people from the issue to review
5. 👍 Fix things that come up during review
5. 👍 Fix things that come up during a review
6. 🎉 Wait for it to get merged!
Third-party components are handled as git submodules which have to be initialized first. So aside from the regular git checkout invoking `git submodule update --init` or a similar command is needed, for details see Git documentation.
@@ -58,9 +59,9 @@ Otherwise, git checkouts can be handled the same as release archives, by using t
### Working with front-end code 🏗
#### Building
#### Building Vue components and scripts
We are moving more and more towards using Vue.js in the frontend, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
We are moving more and more toward using Vue.js in the front-end, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
```bash
# install dependencies
@@ -76,11 +77,26 @@ make watch-js
make build-js-production
```
#### Building styles
Styles are written in SCSS and compiled to css.
```bash
# install dependencies
make dev-setup
# compile style sheets
npm run sass
# compile style sheets and watch edits
npm run sass:watch
```
#### Committing changes
**When making changes, also commit the compiled files!**
We still use Handlebars templates some places in Files and Settings. We will replace these step-by-step with Vue.js, but in the meantime you need to compile them separately.
We still use Handlebars templates in some places in Files and Settings. We will replace these step-by-step with Vue.js, but in the meantime, you need to compile them separately.
If you dont have Handlebars installed yet, you can do it with this terminal command:
```bash
@@ -107,7 +123,7 @@ Please note that if you used `make build-js` or `make watch-js` before, you'll n
### Working with back-end code 🏗
When changing back-end PHP code, in general no additional steps are needed before checking in.
When changing back-end PHP code, in general, no additional steps are needed before checking in.
However, if new files were created, you will need to run the following command to update the autoloader files:
```bash
@@ -120,17 +136,20 @@ After that, please also include the autoloader file changes in your commits.
- [👀 BrowserStack](https://browserstack.com) for cross-browser testing
- [🌊 WAVE](https://wave.webaim.org/extension/) for accessibility testing
- [🚨 Lighthouse](https://developers.google.com/web/tools/lighthouse/) for testing of performance, accessibility and more
- [🚨 Lighthouse](https://developers.google.com/web/tools/lighthouse/) for testing performance, accessibility, and more
#### Helpful bots at github :robot:
- Comment on a pull request with `/update-3rdparty` to update the 3rd party submodule. It will update to the last commit of the 3rd party branch named like the PR target.
## Contribution guidelines 📜
All contributions to this repository from June, 16 2016 on are considered to be
All contributions to this repository from June 16, 2016, and onward are considered to be
licensed under the AGPLv3 or any later version.
Nextcloud doesn't require a CLA (Contributor License Agreement).
The copyright belongs to all the individual contributors. Therefore we recommend
that every contributor adds following line to the header of a file, if they
that every contributor adds the following line to the header of a file if they
changed it substantially:
```
+34
View File
@@ -0,0 +1,34 @@
/**
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
export const getCurrentUser = function() {
return {
uid: 'test',
displayName: 'Test',
isAdmin: false,
}
}
export const getRequestToken = function() {
return 'test-token-1234'
}
export const onRequestTokenUpdate = function() {}
+26
View File
@@ -0,0 +1,26 @@
/**
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
export default {
get: async () => ({ status: 200, data: {} }),
delete: async () => ({ status: 200, data: {} }),
post: async () => ({ status: 200, data: {} }),
}
+30
View File
@@ -0,0 +1,30 @@
/**
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import { jest } from '@jest/globals'
export const showMessage = jest.fn()
export const showSuccess = jest.fn()
export const showWarning = jest.fn()
export const showInfo = jest.fn()
export const showError = jest.fn()
export const showUndo = jest.fn()
@@ -1,8 +1,7 @@
/**
* @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com>
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Julius Härtl <jus@bitgrid.net>
*
* @license AGPL-3.0-or-later
*
@@ -21,5 +20,6 @@
*
*/
import '../js/app'
import '../js/sharedfilelist'
export const loadState = function(app: string, key: string, fallback?: any) {
return fallback
}
@@ -1,5 +1,5 @@
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
@@ -19,3 +19,4 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
export default '<svg>SvgMock</svg>'
@@ -1,7 +1,6 @@
/**
* @copyright Copyright (c) 2020 Roeland Jago Douma <roeland@famdouma.nl>
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author Jan C. Borchardt <hey@jancborchardt.net>
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license AGPL-3.0-or-later
@@ -20,3 +19,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
export const createClient = () => {}
export const getPatcher = () => {
return {
patch: () => {}
}
}
@@ -20,7 +20,10 @@
*
*/
const babelJest = require('babel-jest')
const babelConfig = require('@nextcloud/babel-config')
import '@testing-library/jest-dom'
module.exports = babelJest.createTransformer(babelConfig)
// Mock `window.location` with Jest spies and extend expect
import 'jest-location-mock'
// Mock `window.fetch` with Jest
import 'jest-fetch-mock'
+6
View File
@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"verbatimModuleSyntax": false
}
}
-9
View File
@@ -1,9 +0,0 @@
root = true
[*]
charset = utf-8
indent_style = tab
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
-12
View File
@@ -1,12 +0,0 @@
.DS_Store
node_modules/
dist/
npm-debug.log
yarn-error.log
# Editor directories and files
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
-3
View File
@@ -1,3 +0,0 @@
{
"esversion": 6
}
-2
View File
@@ -1,2 +0,0 @@
# compiled vue templates
js/
-26
View File
@@ -1,26 +0,0 @@
all: dev-setup build-js-production
dev-setup: clean clean-dev npm-init
npm-init:
npm install
npm-update:
npm update
build-js:
npm run dev
build-js-production:
npm run build
watch-js:
npm run watch
clean:
rm -f js/accessibility.js
rm -f js/accessibility.js.map
clean-dev:
rm -rf node_modules
-22
View File
@@ -1,22 +0,0 @@
# Accessibility ♿
> This app provide multiple features to ease the use of nextcloud.
## Build Setup
``` bash
# install dependencies
make dev-setup
# build for development
make build-js
# build for development and watch edits
make watch-js
# build for production with minification
make build-js-production
# clean output files
make clean
```
-32
View File
@@ -1,32 +0,0 @@
<?xml version="1.0"?>
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>accessibility</id>
<name>Accessibility</name>
<summary>Accessibility options for nextcloud</summary>
<description><![CDATA[Provides multiple accessibilities options to ease your use of Nextcloud]]></description>
<version>1.10.0</version>
<licence>agpl</licence>
<author>John Molakvoæ</author>
<namespace>Accessibility</namespace>
<default_enable/>
<category>customization</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="24" max-version="24"/>
</dependencies>
<repair-steps>
<pre-migration>
<step>OCA\Accessibility\Migration\RepairUserConfig</step>
</pre-migration>
</repair-steps>
<settings>
<personal>OCA\Accessibility\Settings\Personal</personal>
<personal-section>OCA\Accessibility\Settings\PersonalSection</personal-section>
</settings>
</info>
@@ -1,18 +0,0 @@
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = $vendorDir;
return array(
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'OCA\\Accessibility\\AccessibilityProvider' => $baseDir . '/../lib/AccessibilityProvider.php',
'OCA\\Accessibility\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
'OCA\\Accessibility\\Controller\\AccessibilityController' => $baseDir . '/../lib/Controller/AccessibilityController.php',
'OCA\\Accessibility\\Controller\\ConfigController' => $baseDir . '/../lib/Controller/ConfigController.php',
'OCA\\Accessibility\\Migration\\RepairUserConfig' => $baseDir . '/../lib/Migration/RepairUserConfig.php',
'OCA\\Accessibility\\Service\\JSDataService' => $baseDir . '/../lib/Service/JSDataService.php',
'OCA\\Accessibility\\Settings\\Personal' => $baseDir . '/../lib/Settings/Personal.php',
'OCA\\Accessibility\\Settings\\PersonalSection' => $baseDir . '/../lib/Settings/PersonalSection.php',
);
@@ -1,44 +0,0 @@
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitAccessibility
{
public static $prefixLengthsPsr4 = array (
'O' =>
array (
'OCA\\Accessibility\\' => 18,
),
);
public static $prefixDirsPsr4 = array (
'OCA\\Accessibility\\' =>
array (
0 => __DIR__ . '/..' . '/../lib',
),
);
public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'OCA\\Accessibility\\AccessibilityProvider' => __DIR__ . '/..' . '/../lib/AccessibilityProvider.php',
'OCA\\Accessibility\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
'OCA\\Accessibility\\Controller\\AccessibilityController' => __DIR__ . '/..' . '/../lib/Controller/AccessibilityController.php',
'OCA\\Accessibility\\Controller\\ConfigController' => __DIR__ . '/..' . '/../lib/Controller/ConfigController.php',
'OCA\\Accessibility\\Migration\\RepairUserConfig' => __DIR__ . '/..' . '/../lib/Migration/RepairUserConfig.php',
'OCA\\Accessibility\\Service\\JSDataService' => __DIR__ . '/..' . '/../lib/Service/JSDataService.php',
'OCA\\Accessibility\\Settings\\Personal' => __DIR__ . '/..' . '/../lib/Settings/Personal.php',
'OCA\\Accessibility\\Settings\\PersonalSection' => __DIR__ . '/..' . '/../lib/Settings/PersonalSection.php',
);
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitAccessibility::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitAccessibility::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitAccessibility::$classMap;
}, null, ClassLoader::class);
}
}
-111
View File
@@ -1,111 +0,0 @@
// SCSS variables
$color-main-text: #d8d8d8;
$color-main-background: #181818;
$color-background-hover: lighten($color-main-background, 4%);
$color-background-dark: lighten($color-main-background, 7%);
$color-background-darker: lighten($color-main-background, 14%);
$color-placeholder-light: lighten($color-main-background, 10%);
$color-placeholder-dark: lighten($color-main-background, 20%);
$color-text-maxcontrast: darken($color-main-text, 30%);
$color-text-light: darken($color-main-text, 10%);
$color-text-lighter: darken($color-main-text, 20%);
$color-loading-light: #777;
$color-loading-dark: #ccc;
$color-box-shadow: transparentize(darken($color-main-background, 70%), 0.5);
$color-border: lighten($color-main-background, 7%);
$color-border-dark: lighten($color-main-background, 14%);
$image-logo: url('../../../core/img/logo/logo.svg?v=1');
$image-logoheader: url('../../../core/img/logo/logo.svg?v=1');
#app-navigation > ul > li > a:first-child,
#app-navigation > ul > li > ul > li > a:first-child,
#expanddiv a,
.activity-section .activity-icon.monochrome {
& > img,
:not(.avatardiv) > img {
filter: invert(100%);
}
}
#navigation #apps li a,
#body-settings #content-vue.app-settings .app-image-icon,
#body-settings #content-vue.app-settings #app-sidebar #app-details-view h2 {
svg {
filter: invert(100%);
}
}
// Otherwise icon-more gets inverted via function
#appmenu .icon-more-white {
filter: invert(100%);
}
// since svg icons are inverted, revert to white for the header
.header-right > * {
>[class^='icon-'] {
filter: invert(100%);
}
}
.bubble,
.app-navigation-entry-menu,
.popovermenu,
.popover__menu {
li {
> button,
> a,
> .menuitem, > .popover__menuitem {
> img {
filter: invert(100%);
}
}
}
}
.bubble,
.app-navigation-entry-menu,
.popovermenu,
#header .menu {
border: 1px solid var(--color-border);
}
.popover[x-placement^='top'] .popover__arrow {
border-top-color: var(--color-border);
}
.popover[x-placement^='bottom'] .popover__arrow {
border-bottom-color: var(--color-border);
}
.popover[x-placement^='left'] .popover__arrow {
border-left-color: var(--color-border);
}
.popover[x-placement^='right'] .popover__arrow {
border-right-color: var(--color-border);
}
.popover .popover__inner {
border: 1px solid var(--color-border);
}
// Prevent slideshow icons from going dark
#slideshow {
[class^='icon-'], [class*=' icon-']{
filter: invert(100%);
}
}
input[type=checkbox] {
&.checkbox {
&:checked + label:before {
background-image: url('../../../core/img/actions/checkbox-mark-dark.svg');
}
&:indeterminate + label:before {
background-image: url('../../../core/img/actions/checkbox-mixed-dark.svg');
}
}
}
-18
View File
@@ -1,18 +0,0 @@
@font-face {
font-family: 'OpenDyslexic';
font-style: normal;
font-weight: 400;
src: url('../fonts/OpenDyslexic-Regular.woff') format('woff');
}
@font-face {
font-family: 'OpenDyslexic';
font-style: normal;
font-weight: 700;
src: url('../fonts/OpenDyslexic-Bold.woff') format('woff');
}
$font-face: OpenDyslexic, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', Arial, 'Noto Color Emoji', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
$image-logo: url('../../../core/img/logo/logo.svg?v=1');
$image-logoheader: url('../../../core/img/logo/logo.svg?v=1');
-31
View File
@@ -1,31 +0,0 @@
// SCSS variables
$color-main-text: #000;
$color-main-background: #fff;
$color-background-dark: darken($color-main-background, 30%);
$color-background-darker: darken($color-main-background, 30%);
$color-placeholder-light: darken($color-main-background, 30%);
$color-placeholder-dark: darken($color-main-background, 45%);
$color-text-maxcontrast: $color-main-text;
$color-text-light: $color-main-text;
$color-text-lighter: $color-main-text;
$color-loading-light: #ddd;
$color-loading-dark: #000;
$color-box-shadow: $color-main-text;
$color-border: darken($color-main-background, 50%);
$color-border-dark: darken($color-main-background, 50%);
$image-logo: url('../../../core/img/logo/logo.svg?v=1');
$image-logoheader: url('../../../core/img/logo/logo.svg?v=1');
[class^='icon-'], [class*=' icon-'],
.action,
#appmenu li a,
.menutoggle {
opacity: 1 !important;
}
@@ -1,25 +0,0 @@
// SCSS variables
$color-main-text: #fff;
$color-main-background: #000;
$color-background-dark: lighten($color-main-background, 30%);
$color-background-darker: lighten($color-main-background, 30%);
$color-text-maxcontrast: $color-main-text;
$color-text-light: $color-main-text;
$color-text-lighter: $color-main-text;
$color-loading-light: #000;
$color-loading-dark: #ddd;
$color-box-shadow: $color-main-text;
$color-border: lighten($color-main-background, 50%);
$color-border-dark: lighten($color-main-background, 50%);
[class^='icon-'], [class*=' icon-'],
.action,
#appmenu li a,
.menutoggle {
opacity: 1 !important;
}
-73
View File
@@ -1,73 +0,0 @@
// Rules we could port to the rest of Nextcloud too
// Proper highlight for links and focus feedback
#accessibility a {
font-weight: bold;
&:hover,
&:focus {
text-decoration: underline;
}
}
// Highlight checkbox label in bold for focus feedback
// Drawback: Text width increases a bit
#accessibility .checkbox:focus + label {
font-weight: bold;
}
// Limit width of settings sections for readability
#accessibility.section p {
max-width: 800px;
}
// End of rules we could port to rest of Nextcloud
.preview-list {
display: flex;
flex-direction: column;
max-width: 800px;
}
.preview {
display: flex;
justify-content: flex-start;
margin-top: 3em;
position: relative;
&,
* {
user-select: none;
}
.preview-image {
flex-basis: 200px;
flex-shrink: 0;
margin-right: 1em;
background-position: top left;
background-size: cover;
background-repeat: no-repeat;
border-radius: var(--border-radius);
}
.preview-description {
display: flex;
flex-direction: column;
label {
padding: 12px 0;
}
}
}
@media (max-width: ($breakpoint-mobile / 2)) {
.app-settings #accessibility .preview-list .preview {
display: unset;
.preview-image {
height: 150px;
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-76
View File
@@ -1,76 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg2"
width="16"
height="16"
viewBox="0 0 16 16"
sodipodi:docname="app-dark.svg"
inkscape:version="0.92.2 5c3e80d, 2017-08-06">
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1880"
inkscape:window-height="993"
id="namedview4"
showgrid="false"
showguides="true"
inkscape:guide-bbox="true"
inkscape:zoom="36.460193"
inkscape:cx="8.4752826"
inkscape:cy="18.273624"
inkscape:window-x="20"
inkscape:window-y="67"
inkscape:window-maximized="0"
inkscape:current-layer="g848"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<g
id="g848"
transform="matrix(1.1307959,0,0,1.0801738,-1.0463882,-0.84269722)"
style="stroke-width:0.90481776;fill:#000000">
<circle
r="1.9587879"
cy="2.8315151"
cx="7.990303"
id="path844"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.90481776;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill" />
<path
sodipodi:nodetypes="scsssscsccccczzcccccssssccsscs"
inkscape:connector-curvature="0"
id="path843"
d="m 2.3519709,4.2557871 c -0.3126291,0 -0.4819578,0.1287194 -0.5322266,0.4028321 -0.053173,0.2899914 0.1062609,0.5159057 0.4370117,0.6274414 1.420521,0.4790277 2.4256503,0.6675279 3.8410483,0.9800416 0.327839,0.072385 0.6900295,0.2893751 0.6520998,1.0948483 C 6.6985575,8.451345 6.6372144,9.7041167 6.2631031,11.323353 6.0397526,12.290062 5.6782112,13.622766 5.4305838,14.3922 5.3416728,14.668443 5.281658,14.922355 5.281658,15.031849 c 0,0.08257 0.053443,0.249642 0.097656,0.307617 0.023823,0.03125 0.075039,0.07397 0.1147462,0.09522 0.062879,0.03361 0.096262,0.03787 0.2612304,0.03663 0.3361373,-0.0026 0.4608113,-0.08245 0.6665037,-0.429687 0.4838657,-0.939315 0.7378785,-2.132191 0.9402993,-3.014266 0.092189,-0.517235 0.2624476,-1.66347 0.6710287,-1.66347 0.4085811,0 0.4979093,0.95008 0.6812062,1.687228 0.1832969,0.737148 0.6122738,2.295202 0.7738717,2.704862 0.2137476,0.54186 0.5742238,0.836985 0.8764648,0.717774 0.03316,-0.01301 0.116937,-0.04526 0.187989,-0.0708 0.147435,-0.053 0.186715,-0.07824 0.219726,-0.156249 0.0655,-0.154793 -0.01013,-0.454047 -0.349121,-1.41114 C 9.7721847,11.597192 9.2651806,9.3990255 9.3334308,7.2974743 9.3630343,6.3859259 9.6837054,6.305369 10.075725,6.2075087 c 1.17285,-0.2927798 2.00228,-0.379973 3.387085,-0.8579717 0.468513,-0.1617184 0.727539,-0.2608264 0.727539,-0.5590819 0,-0.2554049 -0.153084,-0.4346541 -0.437011,-0.5102538 -0.116851,-0.031101 -0.318383,-0.028905 -0.632326,0.00243 -1.085189,0.10834 -2.939683,0.5153868 -4.0234365,0.6710819 -0.529944,0.076133 -1.7229392,0.094015 -2.2729489,0 C 5.6763224,4.7574297 4.1363176,4.4147025 2.9061699,4.2997326 2.6560099,4.2763537 2.4068766,4.2557871 2.3519709,4.2557871 Z"
style="fill:#000000;stroke-width:0.9048177" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.0 KiB

-76
View File
@@ -1,76 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg2"
width="16"
height="16"
viewBox="0 0 16 16"
sodipodi:docname="app.svg"
inkscape:version="0.92.2 5c3e80d, 2017-08-06">
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1880"
inkscape:window-height="993"
id="namedview4"
showgrid="false"
showguides="true"
inkscape:guide-bbox="true"
inkscape:zoom="36.460193"
inkscape:cx="8.4752826"
inkscape:cy="18.273624"
inkscape:window-x="20"
inkscape:window-y="67"
inkscape:window-maximized="0"
inkscape:current-layer="g848"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<g
id="g848"
transform="matrix(1.1307959,0,0,1.0801738,-1.0463882,-0.84269722)"
style="stroke-width:0.90481776;fill:#000000">
<circle
r="1.9587879"
cy="2.8315151"
cx="7.990303"
id="path844"
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.90481776;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke markers fill" />
<path
sodipodi:nodetypes="scsssscsccccczzcccccssssccsscs"
inkscape:connector-curvature="0"
id="path843"
d="m 2.3519709,4.2557871 c -0.3126291,0 -0.4819578,0.1287194 -0.5322266,0.4028321 -0.053173,0.2899914 0.1062609,0.5159057 0.4370117,0.6274414 1.420521,0.4790277 2.4256503,0.6675279 3.8410483,0.9800416 0.327839,0.072385 0.6900295,0.2893751 0.6520998,1.0948483 C 6.6985575,8.451345 6.6372144,9.7041167 6.2631031,11.323353 6.0397526,12.290062 5.6782112,13.622766 5.4305838,14.3922 5.3416728,14.668443 5.281658,14.922355 5.281658,15.031849 c 0,0.08257 0.053443,0.249642 0.097656,0.307617 0.023823,0.03125 0.075039,0.07397 0.1147462,0.09522 0.062879,0.03361 0.096262,0.03787 0.2612304,0.03663 0.3361373,-0.0026 0.4608113,-0.08245 0.6665037,-0.429687 0.4838657,-0.939315 0.7378785,-2.132191 0.9402993,-3.014266 0.092189,-0.517235 0.2624476,-1.66347 0.6710287,-1.66347 0.4085811,0 0.4979093,0.95008 0.6812062,1.687228 0.1832969,0.737148 0.6122738,2.295202 0.7738717,2.704862 0.2137476,0.54186 0.5742238,0.836985 0.8764648,0.717774 0.03316,-0.01301 0.116937,-0.04526 0.187989,-0.0708 0.147435,-0.053 0.186715,-0.07824 0.219726,-0.156249 0.0655,-0.154793 -0.01013,-0.454047 -0.349121,-1.41114 C 9.7721847,11.597192 9.2651806,9.3990255 9.3334308,7.2974743 9.3630343,6.3859259 9.6837054,6.305369 10.075725,6.2075087 c 1.17285,-0.2927798 2.00228,-0.379973 3.387085,-0.8579717 0.468513,-0.1617184 0.727539,-0.2608264 0.727539,-0.5590819 0,-0.2554049 -0.153084,-0.4346541 -0.437011,-0.5102538 -0.116851,-0.031101 -0.318383,-0.028905 -0.632326,0.00243 -1.085189,0.10834 -2.939683,0.5153868 -4.0234365,0.6710819 -0.529944,0.076133 -1.7229392,0.094015 -2.2729489,0 C 5.6763224,4.7574297 4.1363176,4.4147025 2.9061699,4.2997326 2.6560099,4.2763537 2.4068766,4.2557871 2.3519709,4.2557871 Z"
style="fill:#ffffff;stroke-width:0.9048177" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

-14
View File
@@ -1,14 +0,0 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Donker Tema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "n Donker tema om u oë n ruskans te gee deur die algehele ligsterkte en helderheid te verminder. Dit word nog ontwikkel; rapporteer asb. enige probleme wat u ervaar.",
"High contrast mode" : "Hoëkontrasmodus",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "n Hoëkontrasmodus om u navigasie te vergemaklik. Visuele kwaliteit sal verminder word, maar die duidelikheid sal verbeter.",
"Dyslexia font" : "Disleksie-font",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic is n gratis lettertipe/font wat ontwerp is om sommige van die algemene leesfoute wat deur disleksie veroorsaak word, te versag.",
"Accessibility" : "Toeganklikheid",
"Accessibility options for nextcloud" : "Toeganklikheidsopsies vir nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Bied veelvuldige toeganklikheidsopsies om u gebruik van Nextcloud te vergemaklik"
},
"nplurals=2; plural=(n != 1);");
-12
View File
@@ -1,12 +0,0 @@
{ "translations": {
"Dark theme" : "Donker Tema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "n Donker tema om u oë n ruskans te gee deur die algehele ligsterkte en helderheid te verminder. Dit word nog ontwikkel; rapporteer asb. enige probleme wat u ervaar.",
"High contrast mode" : "Hoëkontrasmodus",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "n Hoëkontrasmodus om u navigasie te vergemaklik. Visuele kwaliteit sal verminder word, maar die duidelikheid sal verbeter.",
"Dyslexia font" : "Disleksie-font",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic is n gratis lettertipe/font wat ontwerp is om sommige van die algemene leesfoute wat deur disleksie veroorsaak word, te versag.",
"Accessibility" : "Toeganklikheid",
"Accessibility options for nextcloud" : "Toeganklikheidsopsies vir nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Bied veelvuldige toeganklikheidsopsies om u gebruik van Nextcloud te vergemaklik"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
-19
View File
@@ -1,19 +0,0 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "مظهر داكن",
"Enable dark theme" : "تفعيل المظهر الداكن",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "المظهر الداكن يخفف من الإرهاق على عينيك، وذلك بتخفيض حدّة الإضاءة والسطوع. هذه الميزة لا تزال تحت التطوير، لهذا نود منكم الإبلاغ عن أي مشكلة قد تصادفكم.",
"High contrast mode" : "وضع تباين الألوان العالي",
"Enable high contrast mode" : "تفعيل وضع تباين الألوان العالي",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "وضع تباين الألوان العالي يساعدك على التنقل في الموقع بسهولة. الجودة المرئية سوف تقل بينما الوضوح سيزداد.",
"Dyslexia font" : "خط خاص بالمصابين بعسر القراءة",
"Enable dyslexia font" : "تفعيل الخط الخاص بالمصابين بعسر القراءة",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic خط مجاني مصمم للمساعدة على تفادي الأخطاء لمن يعانون من عسر القراءة.",
"Accessibility" : "تسهيل الإستعمال",
"Accessibility options for nextcloud" : "خيارات تسهيل إستعمال نكست كلاود",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "توفر عدة خيارات تسهيل إستعمال لتسهيل تنقلك على نكست كلاود",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "الوصول الشامل مهم جدا بالنسبة لنا. نحن نتبع معايير ويب صارمة ونتأكد من أن كل شيء يمكن إستعماله حتى دون الحاجة للفأرة أو إلى أي برامج مساعدة مثل برامج قراءة الشاشة. هدفنا أن نكون متوافقين مع {guidelines} توجيهات تسهيل إستعمال محتوى الويب {linkend} 2.1 بمستوى AA، ومتوافقين مع مظهر تباين الألوان العالي بمستوى يصل حتى إلى AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "إذا واجهت أي مشاكل، لا تتردد بالإبلاغ عنها على {issuetracker} متعقب المشاكل الخاص بنا {linkend}. أما إذا أردت المشاركة في التطوير، إنضم إلى {designteam} فريق التصميم {linkend}!"
},
"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;");
-17
View File
@@ -1,17 +0,0 @@
{ "translations": {
"Dark theme" : "مظهر داكن",
"Enable dark theme" : "تفعيل المظهر الداكن",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "المظهر الداكن يخفف من الإرهاق على عينيك، وذلك بتخفيض حدّة الإضاءة والسطوع. هذه الميزة لا تزال تحت التطوير، لهذا نود منكم الإبلاغ عن أي مشكلة قد تصادفكم.",
"High contrast mode" : "وضع تباين الألوان العالي",
"Enable high contrast mode" : "تفعيل وضع تباين الألوان العالي",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "وضع تباين الألوان العالي يساعدك على التنقل في الموقع بسهولة. الجودة المرئية سوف تقل بينما الوضوح سيزداد.",
"Dyslexia font" : "خط خاص بالمصابين بعسر القراءة",
"Enable dyslexia font" : "تفعيل الخط الخاص بالمصابين بعسر القراءة",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic خط مجاني مصمم للمساعدة على تفادي الأخطاء لمن يعانون من عسر القراءة.",
"Accessibility" : "تسهيل الإستعمال",
"Accessibility options for nextcloud" : "خيارات تسهيل إستعمال نكست كلاود",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "توفر عدة خيارات تسهيل إستعمال لتسهيل تنقلك على نكست كلاود",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "الوصول الشامل مهم جدا بالنسبة لنا. نحن نتبع معايير ويب صارمة ونتأكد من أن كل شيء يمكن إستعماله حتى دون الحاجة للفأرة أو إلى أي برامج مساعدة مثل برامج قراءة الشاشة. هدفنا أن نكون متوافقين مع {guidelines} توجيهات تسهيل إستعمال محتوى الويب {linkend} 2.1 بمستوى AA، ومتوافقين مع مظهر تباين الألوان العالي بمستوى يصل حتى إلى AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "إذا واجهت أي مشاكل، لا تتردد بالإبلاغ عنها على {issuetracker} متعقب المشاكل الخاص بنا {linkend}. أما إذا أردت المشاركة في التطوير، إنضم إلى {designteam} فريق التصميم {linkend}!"
},"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"
}
-19
View File
@@ -1,19 +0,0 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Цёмная тэма",
"Enable dark theme" : "Уключыць цёмную тэму",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Цёмная тэма зніжае напружанне на вочы зніжаючы яркасць. Функцыя знаходзіцца ў стадыі распрацоўкі, таму, калі ласка, паведамляйце пра ўсе знойдзеныя памылкі.",
"High contrast mode" : "Рэжым высокай кантраснасці",
"Enable high contrast mode" : "Уключыць рэжым высокай кантраснасці",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Рэжым высокай кантраснасці каб палегчыць навігацыю. Гэта паменшыць візуальную якасць, але палепшыць зразумеласць.",
"Dyslexia font" : "Шрыфт для людзей з дыслексіяй",
"Enable dyslexia font" : "Выкарыстоўваць шрыфт для людзей з дыслексіяй",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic — гэта бясплатны шрыфт, распрацаваны каб паменшыць колькасць частых памылак чытання, якія выкліканы дыслексіяй,",
"Accessibility" : "Спецыяльныя магчымасці",
"Accessibility options for nextcloud" : "Налады спецыяльных магчымасцяў для Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Налады спецыяльных магчымасцяў, якія спрашчаюць карыстанне Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Універсальны доступ вельмі важны для нас. Мы прытрымліваемся стандартам і правяраем магчымасць выкарыстоўвання нашых сэрвісаў без мышы ці з выкарыстоўваннем дапаможных праграм, такіх, як экраны дыктар. Мы стараемся цалкам адпавядаць {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 на ўзроўні AA, а разам з рэжымам высокай кантраснасці на ўзроўні AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Калі вы знайшлі нейкую праблему, не саромейцеся напісаць у {issuetracker}наш трэкер памылак{linkend}. Таксама калі вы жадаеце прыняць удзел, можаце прыяднацца да {designteam}нашай каманды дызайнераў{linkend}!"
},
"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);");
-17
View File
@@ -1,17 +0,0 @@
{ "translations": {
"Dark theme" : "Цёмная тэма",
"Enable dark theme" : "Уключыць цёмную тэму",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Цёмная тэма зніжае напружанне на вочы зніжаючы яркасць. Функцыя знаходзіцца ў стадыі распрацоўкі, таму, калі ласка, паведамляйце пра ўсе знойдзеныя памылкі.",
"High contrast mode" : "Рэжым высокай кантраснасці",
"Enable high contrast mode" : "Уключыць рэжым высокай кантраснасці",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Рэжым высокай кантраснасці каб палегчыць навігацыю. Гэта паменшыць візуальную якасць, але палепшыць зразумеласць.",
"Dyslexia font" : "Шрыфт для людзей з дыслексіяй",
"Enable dyslexia font" : "Выкарыстоўваць шрыфт для людзей з дыслексіяй",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic — гэта бясплатны шрыфт, распрацаваны каб паменшыць колькасць частых памылак чытання, якія выкліканы дыслексіяй,",
"Accessibility" : "Спецыяльныя магчымасці",
"Accessibility options for nextcloud" : "Налады спецыяльных магчымасцяў для Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Налады спецыяльных магчымасцяў, якія спрашчаюць карыстанне Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Універсальны доступ вельмі важны для нас. Мы прытрымліваемся стандартам і правяраем магчымасць выкарыстоўвання нашых сэрвісаў без мышы ці з выкарыстоўваннем дапаможных праграм, такіх, як экраны дыктар. Мы стараемся цалкам адпавядаць {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 на ўзроўні AA, а разам з рэжымам высокай кантраснасці на ўзроўні AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Калі вы знайшлі нейкую праблему, не саромейцеся напісаць у {issuetracker}наш трэкер памылак{linkend}. Таксама калі вы жадаеце прыняць удзел, можаце прыяднацца да {designteam}нашай каманды дызайнераў{linkend}!"
},"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"
}

Some files were not shown because too many files have changed in this diff Show More