1. 02 Oct, 2020 2 commits
  2. 24 Sep, 2020 1 commit
    • Ondrej Holy's avatar
      trash: Do not fail when G_FILE_COPY_NO_FALLBACK_FOR_MOVE is used · 5c0bc82e
      Ondrej Holy authored
      Restoring files from the trash folder is slow in Nautilus as it attempts
      to do it recursively. This is because G_IO_ERROR_NOT_SUPPORTED is
      returned from g_file_move when G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag is
      used. The error is returned from client-side for pull/push operations
      after commit 2e765449 as in the most cases the copy-and-delete approach
      is really used there. But the problem is that it is not in all
      cases, like in the trash backend case, where the native move operation
      is used in fact. Let's handle the G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
      directly in the backends, but not in the trash backend.
      
      Fixes: nautilus#1589
      5c0bc82e
  3. 23 Sep, 2020 1 commit
    • Ondrej Holy's avatar
      dav: Be sure that enumeration is possible when looking for a root · b03b7955
      Ondrej Holy authored
      The DAV backend tries to find the top-most directory when mounting.
      Unfortunatelly, for example with nextcloud.com, the enumeration job
      fails with `Method not allowed` error for the root directory found
      by this logic:
      
      ```
      <?xml version="1.0" encoding="utf-8"?>
      <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
        <s:exception>Sabre\DAV\Exception\MethodNotAllowed</s:exception>
        <s:message>Listing members of this collection is disabled</s:message>
      </d:error>
      ```
      
      This is because nextcloud.com prevents listing of its users. Let's
      change the mount logic and always require info about children to be
      sure that enumeration won't fail later.
      
      Fixes: #468
      b03b7955
  4. 11 Sep, 2020 2 commits
  5. 04 Sep, 2020 2 commits
  6. 23 Aug, 2020 1 commit
  7. 22 Aug, 2020 1 commit
  8. 12 Aug, 2020 1 commit
  9. 11 Aug, 2020 1 commit
    • Iñigo Martínez's avatar
      build: Link libgvfscommon to libmetadata · eee4bb84
      Iñigo Martínez authored
      `gvfsd-metadata` uses the `gvfs_randomize_string` function by
      including `gvfsutils.h` header file from `libgvfscommon`. However,
      the library is not linked, only the directory is included.
      
      This has been fixed by linking `libgvfscommon` to `libmetadata`.
      eee4bb84
  10. 07 Aug, 2020 3 commits
  11. 05 Aug, 2020 2 commits
  12. 04 Aug, 2020 1 commit
  13. 12 Jul, 2020 1 commit
  14. 03 Jul, 2020 3 commits
  15. 30 Jun, 2020 1 commit
    • Ondrej Holy's avatar
      client: Add support for zone identifiers in IPv6 addresses · 52665955
      Ondrej Holy authored
      The IPv6 addresses with zone identifiers are refused by GVfs currently.
      THis is because of g_uri_unescape_segment failure as RFC 4007 allows bare
      % sign to be used as separator. Although, RFC 6874 tries to fix that by
      the %25 separator, however, at the same time, it suggests that the bare %
      sign should still be accepted in user interfaces. But this would make this
      too complex and lead to various problems (e.g. it would not be clear what
      separator should be used for g_file_get_uri function). So I intentionally
      don't plan to support what is suggested by RFC 6874 for now, which
      effectively means that zone identifiers with non-ASCII chars won't be
      supported. Let's skip the g_uri_unescape_segment function for IPv6 address
      and also fix the gvfs_is_ipv6 function in order to accept the zone
      identifiers...
      
      Fixes: #483
      52665955
  16. 25 Jun, 2020 1 commit
  17. 22 Jun, 2020 1 commit
  18. 17 Jun, 2020 1 commit
  19. 16 Jun, 2020 1 commit
  20. 29 May, 2020 2 commits
  21. 19 May, 2020 1 commit
    • Sergio Costas's avatar
      Notify changes in metadata · aa9164dc
      Sergio Costas authored
      When a program (like Nautilus) modifies the metadata in a file
      (like metadata::custom-icon) there is no way of detecting that
      change from other programs: neither inotify generates an event
      in the file or the directory holding it, nor is possible to use
      it in the files at, or the folder itself,
      ~/.local/share/gvfs-metadata, because writting in them is delayed
      for nearly a minute.
      
      Unfortunately, there are cases where it is needed to be able
      to detect that. An example (and the reason for this patch) is
      when Nautilus (or another file manager) modifies the custom
      icon in a file from the desktop, and the desktop is managed
      by a different program (in this case, Desktop Icons NG), because
      the later can't detect the change made by the former and, thus,
      the file will keep the old icon until the whole desktop is
      refreshed.
      
      To fix this, this patch proposes to add a signal to the
      org.gtk.vfs.Metadata DBus interface, which will be triggered
      whenever a key is modified. To avoid saturating the system in
      case of modifying a lot of keys, it is triggered up to once
      per second.
      aa9164dc
  22. 12 May, 2020 4 commits
    • gentoo-root's avatar
      sftp: Copy file timestamps on push/pull · 8e75d145
      gentoo-root authored
      Copy and move operations preserve file attributes (such as modification
      time) in most of existing scenarios: local copy/move, remote copy/move,
      file_copy_fallback in glib. However, one case remains special: copy/move
      between local and remote (gvfs) locations. It's implemented by push and
      pull operations in backends, which don't attempt to preserve the usual
      attributes (e.g., mtime and atime).
      
      This commit implements the missing piece of functionality in sftp
      backend. Modification time is preserved on copy and move, and access
      time is preserved on move only, complying to the settable attributes
      list of sftp backend.
      Signed-off-by: gentoo-root's avatarMaxim Mikityanskiy <maxtram95@gmail.com>
      8e75d145
    • Ondrej Holy's avatar
      dav: Add support for NTLM authentication · 8f45ea4d
      Ondrej Holy authored
      Currently, only Basic and Digest authentication is possible for	webdav
      backend. Let's add support for NTLM also.
      
      #342
      8f45ea4d
    • Ondrej Holy's avatar
      dav: Add support for Negotiate authentication · b2dad7da
      Ondrej Holy authored
      Currently, only Basic and Digest authentication is possible for webdav
      backend. Let's add support for Negotiate also.
      
      #342
      b2dad7da
    • Ondrej Holy's avatar
      Post branch version bump · 4d86c250
      Ondrej Holy authored
      4d86c250
  23. 02 May, 2020 1 commit
  24. 10 Apr, 2020 1 commit
  25. 03 Apr, 2020 1 commit
  26. 27 Mar, 2020 2 commits
  27. 19 Mar, 2020 1 commit