Commit graph

63488 commits

Author SHA1 Message Date
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
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
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
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