aegif / CmisSync

Synchronize content between a CMIS repository and your desktop. Like Dropbox for Enterprise Content Management!
http://CmisSync.com
164 stars 123 forks source link

Enhance folder selection for Alfresco #229

Open Ashex opened 11 years ago

Ashex commented 11 years ago

When adding a folder against an Alfresco server, the entire repository is exposed to you. End users rarely see the full repository so they don't know what to do with it.

These are the only root folders that should be exposed by default:

/Sites /User Homes

That would probably be a good start, to take it a step further replace User Homes with a shortcut directly to the user home folder since that's the only folder they'll have access to within User Homes. Additionally there's an unnecessary performance hit on the server when you request the list of folders within User Homes (plus Alfresco is hard coded to limit results to 5,000 so a user may never find their folder depending on the size of the environment).

If you really want to get crazy with it, show the sites display name rather then folder name (My Little Pony rather than my-little-pony) and filter out the non-document library folders like datalist, wiki, links, etc.

nicolas-raoul commented 11 years ago

Interesting ideas! About showing just a portion of /User Homes: When creating users with Alfresco Explorer, I remember that one can freely choose the folder for the new user, that might cause problems? I don't think the CMIS protocol has a concept of user home. I did not know about this 5000 limit! Worrying indeed.

Ashex commented 11 years ago

The primary issue with User Homes is a person is scrolling through a very long list of usernames to just find theres. What I'm thinking is to enhance the folder selection and build it around "standard" practice, if a user wants to add a special path they can click the Advanced button to see the entire repository.

I was thinking that CmisSync would build the path to the users home folder automatically once it detects it's an Alfresco environment. I think there's a way to check if a path exists via CMIS, if it doesn't then pop up a warning to the user and ask if they want to find it manually.

Ashex commented 11 years ago

Minor update on the User Homes bit. A regular user will only ever see a folder they have access to so they won't see the 1,000+ folders that an Administrator will. I'm effectively a special snowflake since I see everything, therefore loading the repository takes a bit longer as it lists the full directory contents. The issue still remains that things like Data Dictionary appear for a regular user so I believe this ticket is still valid.

lelmarir commented 9 years ago

don't filter out the non-document library folders like datalist, wiki, links, etc. Some my be interested in syncing the wiki or the data list, they are regular files anyway