JoomGalleryfriends / JG4-dev

Development repository for JoomGallery v4.x
GNU General Public License v3.0
10 stars 7 forks source link

Choose different filesystem in categories #231

Closed Elfangor93 closed 3 months ago

Elfangor93 commented 4 months ago

This PR adds the functionality to choose a different filesystem for each category. This makes it possible to create categories whos images are stored on a different drive or server for this specific category which makes the whole filesystem functionality much more flexible and opens a lot of new usecases for endusers.

grafik

But there are some implications to be discussed and considered:

My Proposition:

AlexanderSupp commented 4 months ago

File system is also a parameter in Configuration Sets, General Settings, Common Settings. The Configuration Sets depends on User Groups. It hasn't been clear to me for a while how this is supposed to work. Does that even make sense? Who would use something like that? With all the dependencies and consequences, it becomes very complex and not very transparent. Now you suggest using such an option for the category too. You name some consequences straight away. Dealing with such solutions is beyond my imagination.

Elfangor93 commented 4 months ago

It hasn't been clear to me for a while how this is supposed to work.

It works exactlx the same as in previous JoomGallery 3.x and before. You can define different sets of configuration for each user group. Meaning that you can create different user experiences for different user groups.

Now you suggest using such an option for the category too.

Yes, this will allow you to have images stored in different locations. Images from category 1 are stored locally, images from category 2 are stored in Dropbox and images from category 3 are stored on Amazon servers, etc. It could open a whole bunch of new possibilities and expansion options. Of course for small image collections this is way to much, but imagine an image collection like Pixabay. There you need the possibility to spread the files accross different servers.

eumel1602 commented 3 months ago

Zwei Sachen zu Beginn.

Elfangor93 commented 3 months ago

die Installation des PR bringt in Joomla 5.1 beim speichern einer Kategorie wieder

Ich habe den PR mit einem rebase auf den aktuellen Stand (wie main branch) gebracht. Somit sollte der Fehler behoben sein.