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

Use project name for project folder question #1573

Open
ramezquitao opened this issue Jan 6, 2025 · 4 comments
Open

Use project name for project folder question #1573

ramezquitao opened this issue Jan 6, 2025 · 4 comments

Comments

@ramezquitao
Copy link

In the WebDAV access, when I select the "Use project name for project folder" option, the file listing shows the project's name as the folder name, but it also adds a number that I suspect is the project ID. Is it possible to remove this number?

Regards

@picman
Copy link
Collaborator

picman commented Jan 7, 2025

The reason of the project's IDs prefix is that projects' names, unlike projects' identifiers, are not unique. You can have, for example, two projects called "A". How would you display two "A" folders via WebDAV?

@ramezquitao
Copy link
Author

@picman, thanks for your answer and effort in keeping this plugin working.

Regarding your question, yes, several Projects can have the same name. I'm using sub-projects as sub-folders, and I know this is not the only use case. While, in my case, it is uncommon for two projects or sub-projects at the same depth of the structure to have identical names, it could happen. Perhaps an option would be to use IDs + names only when two projects share the same name?

Currently, I'm using project identifiers as folder names, but I would like to use names instead, as they are more versatile than project identifiers (you can use accented characters, capital letters, spaces or change names). However, in my opinion, IDs + names do not look natural.

Thank you again for your help.

@ctarara
Copy link

ctarara commented Feb 3, 2025

Hi all,
First, @picman , thank you for your effort to create and keep improving this very useful plugin. We all appreciate this.
Usually, the identical names issue is solved by adding a suffix to the name (ex the unique ID of the file or, the Project/ Subproj Id.
Or, you can use the Windows style - if there is a second name add (2).
When talking about displaying, there is no problem to display 2 files with same name. When talking about API it can be, on API, file unique ID.
You are the specialist. I am the user.
Idea is that in any case, a file name shall be unique only when, it is in same folder, automatically append (as windows) a (n) to the name. Throughout the ecosystem - I mean in DMSF, the unique identifier of the file is given automatically by DMSF ( I assume).

In addition, I think all of us felt the need to have, at general Redmine level, a Repository for files that do not depend on a particular project (ex. Procedure to use Redmine). If you can also create a general folder for Redmine App to be accessed from Projects Page, as a Tab, I would be very grateful to you.

I hope the above suggestions can help.
Thank you again for your effort and dedication.
Cristian

Image

@picman
Copy link
Collaborator

picman commented Feb 3, 2025

There is an option in the plugin's settings Global DMS menu disabled. If unchecked, you will see DMS in the top menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants