Commit Graph

67589 Commits (d5c2e75db656fb7ac5b2ea021aa7262d91b6abae)
 

Author SHA1 Message Date
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 +07:00
Nextcloud bot b85c2dab27
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-12 02:28:13 +07: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 +07:00
Anna Larch 5c2eb732f1 fix(carddav): expose system address book
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-11 18:59:30 +07: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
Simon L 4a89b7ea22 adjust tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-11 14:15:47 +07: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 +07:00
John Molakvoæ 979f4033ca
Merge pull request #33381 from luzpaz/fix/lib-public-typos 2023-05-11 10:26:50 +07: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 +07: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 +07:00
John Molakvoæ e1768485db
Merge pull request #38194 from nextcloud/fix/unsupported-redirect 2023-05-11 10:15:41 +07:00
Arthur Schiwon 2d41f0c064
Merge pull request #38067 from nextcloud/fix/noid/sortTags
fix: sort tags by name
2023-05-11 09:54:15 +07: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 +07:00
John Molakvoæ db02684008
Merge pull request #37691 from nextcloud/object-store-background-scan 2023-05-11 08:15:41 +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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Joas Schilling 0983572e65
chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-10 12:03:15 +07: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 +07: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 +07:00
John Molakvoæ 14cb58c0e5
Merge pull request #31469 from nextcloud/feat/workflow-auto-update-lint-eslint.yml 2023-05-10 11:41:29 +07: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 +07: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 +07: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 +07: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 +07:00
Julius Härtl b935725b70
Merge pull request #38100 from tanganellilore/fix_delete_ChunkingV2Plugin 2023-05-10 08:34:25 +07:00
Nextcloud bot 46bb952ba5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-10 02:31:27 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Robin Appelman ddc53a9046
minor fixes for get/put
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-09 17:38:43 +07: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 +07: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 +07:00
John Molakvoæ 31302c4528
Merge pull request #38095 from nextcloud/artonge/fix/file_metadata_scan 2023-05-09 17:28:47 +07: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 +07:00
Pytal 972b2097d0
Merge pull request #38104 from nextcloud/feat/um-32-bit 2023-05-09 08:20:41 +07:00