nextcloud / files-clients

1 stars 0 forks source link

🪟📁📄Windows compatible file names #58

Closed tobiasKaminsky closed 1 month ago

tobiasKaminsky commented 5 months ago

Server: https://github.com/nextcloud/server/issues/44963

Bugs

tobiasKaminsky commented 4 months ago

most important is https://github.com/nextcloud/server/issues/44963#issuecomment-2186666275

with Accept-Language: en,fr,de

we can later localize it, so that response returns correct language.

tobiasKaminsky commented 4 months ago

Capabilities:

"blacklisted_files": [
                        ".htaccess"
                    ],
                    "forbidden_filename_characters": [
                        "\\",
                        "\/",
                        "?",
                        "<",
                        ">",
                        ":",
                        "*",
                        "|",
                        "\"",
                        "",
                        "\n",
                        "\r"
                    ],

"Endpoints"

alperozturk96 commented 4 months ago

We need to cover the following use-cases for this feature

  1. [Create a New Document] Tap the plus button on the home screen, select "New Document," and enter a file name for the new document.
  2. [Rename a File] Tap the three dots icon at the end of any file in the list, and select "Rename."
  3. [Rename a File From File Details] Go to "File Details". From the top right, tap the three dots icon, select "Rename," and test it.
  4. [Create a New Folder] Tap the plus button on the home screen, select "New Folder," and enter a name for the new folder.
  5. [Move or Copy file to Any Folder] Tap the three dots icon at the end of any file in the list, and select "Move" or "Copy." Attempt to move or copy to both an invalid and a valid folder path.
  6. [Share a File From Other Any App] From any other app, try to share a file with the Nextcloud Files app. If the shared file contains invalid characters or reserved name, user must receive feedback, and the operation should not be allowed.
  7. [Upload Contents From Other Apps] Tap the plus button on the home screen, select "Upload Contents from Other Apps." If the contents include a path, the user must receive feedback, and the operation should not be allowed.
  8. [Create a New File From Other File Manager Apps] User can create forbidden file names from native files app such as Google Files.
  9. [Create a New Template] User may have a template for creating office files such as new presentation and new text document etc
claucambra commented 3 months ago

Desktop client implementation: https://github.com/nextcloud/desktop/pull/6965