Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🪟📁📄Windows compatible file names #58

Closed
3 of 7 tasks
tobiasKaminsky opened this issue Jun 28, 2024 · 4 comments
Closed
3 of 7 tasks

🪟📁📄Windows compatible file names #58

tobiasKaminsky opened this issue Jun 28, 2024 · 4 comments
Assignees

Comments

@tobiasKaminsky
Copy link
Member Author

most important is nextcloud/server#44963 (comment)

with Accept-Language: en,fr,de

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

@tobiasKaminsky
Copy link
Member Author

tobiasKaminsky commented Jul 1, 2024

<d:error
	xmlns:d="DAV:"
	xmlns:s="http://sabredav.org/ns"
	xmlns:o="http://owncloud.org/ns">
	<s:exception>OCA\DAV\Connector\Sabre\Exception\InvalidPath</s:exception>
	<s:message>Der Dateiname enthält mindestens ein ungültiges Zeichen</s:message>
	<o:retry
		xmlns:o="o:">false
	</o:retry>
	<o:reason
		xmlns:o="o:">Der Dateiname enthält mindestens ein ungültiges Zeichen
	</o:reason>
</d:error>

Capabilities:

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

"Endpoints"

  • Webdav: copy, move, create, rename
  • apps can share to Nextcloud: how to check, report error?
  • create text file
  • use collabora -> save file as

@AndyScherzinger AndyScherzinger changed the title Windows compatible file names 🪟📁📄Windows compatible file names Jul 12, 2024
@alperozturk96
Copy link

alperozturk96 commented Jul 15, 2024

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
Copy link

Desktop client implementation: nextcloud/desktop#6965

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🎉 Done
Archived in project
Development

No branches or pull requests

4 participants