[RTFACT-20199] Apache style FancyIndexing for http directory listings Created: 25/Sep/19  Updated: 25/Sep/19

Status: Open
Project: Artifactory Binary Repository
Component/s: None
Affects Version/s: 6.12.2
Fix Version/s: None

Type: New Feature Priority: Normal
Reporter: Ken Martindale Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Many users find it helpful to be able to sort http directory listings on Last modified time, Name, or Size by clicking the desired column heading when browsing a directory on an Apache or Nginx web server.

They would like to see functionality in Artifactory similar to the FancyIndexing option of the mod_autoindex module for Apache, or the fancyindex module for Nginx.  This would allow them to easily pick the newest item when browsing a repository manually.



 Comments   
Comment by Ken Martindale [ 25/Sep/19 ]

One potential command-line workaround might look something like:

export URL=https://artifactory.domain.com/artifactory/myrepo/folder/
curl -s $URL|sed 's/<[^>]*>//g;/:[0-9]/!d'|sort -k2.8b,2.11bnr -k2.4b,2.6Mbr -k2b,2bnr -k3br

However, a command like the above is somewhat fragile and may not work in all cases.  Users have become accustomed to Fancy Index style browser listings that offer the ability to sort ascending/descending by column and would find it very helpful if Artifactory also offered that functionality.

Comment by Ken Martindale [ 25/Sep/19 ]

One potential command-line workaround might look something like:

export URL=https://artifactory.domain.com/artifactory/myrepo/folder/
curl -s $URL|sed 's/<[^>]*>//g;/:[0-9]/!d'|sort -k2.8b,2.11bnr -k2.4b,2.6Mbr -k2b,2bnr -k3br

However, a command like the above is somewhat fragile and may not work in all cases.  Users have become accustomed to Fancy Index style browser listings that offer the ability to sort ascending/descending by column and would find it very helpful if Artifactory also offered that functionality.

Generated at Tue Jan 21 12:18:46 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.