index.html

450 views
Skip to first unread message

Hannes Papenberg

unread,
Oct 7, 2014, 10:15:23 AM10/7/14
to Joomla! CMS Development
Hi folks,
I know we talked about this some time ago already, but I actually don't
know the result of that discussion: Why are we still keeping the
index.html files?

I just looked this up and while its only 40kb(*) in size, its almost
1300 extra files in our codebase which are essentially useless and could
be removed right now and replaced with one line in our .htaccess. It
would be a big advantage if we removed those for all the people that
unzip first and then upload to their servers...

Any insight?

Regards,
Hannes

(*) Considering how harddrives work, its actually a lot more. The files
are only about 40kb in size, but with one file per harddrive sector, its
more like 700kb that this occupies.

Michael Babker

unread,
Oct 7, 2014, 10:20:28 AM10/7/14
to joomla-...@googlegroups.com
I think if we get https://github.com/joomla/joomla-cms/pull/4171 merged in then we're in better shape to try it, but that's just one opinion.


--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.

Sergio Manzi

unread,
Oct 7, 2014, 10:22:43 AM10/7/14
to joomla-...@googlegroups.com
What about when Joomla is run under IIS or nginx? Do they have something corresponding to "Options -Indexes "?

sovainfo

unread,
Oct 7, 2014, 10:48:29 AM10/7/14
to joomla-...@googlegroups.com

sovainfo

unread,
Oct 7, 2014, 10:53:22 AM10/7/14
to joomla-...@googlegroups.com

Johan Janssens

unread,
Oct 7, 2014, 11:02:46 AM10/7/14
to joomla-...@googlegroups.com
# Why did we do this before 

This measure stems from the time before PHP 4.2 when register globals was on by default.  Adding index.html files prevented direct access to a folder. The goal was to prevent listing the content of a folder to prevent someone from trying to easily find out what files the folder contains.

If you know the php files in a folder you can try to call/executem them which could lead to exposure of server paths or in worse case could lead to being able to execute code on the server, especially on servers that had register_globals enabled.

In essence this technique is more security by obscurity. If someone knew the direct URL of a PHP file he could still try to execute it.

# Why can be stop doing this

- Joomla's code base has been completely refactored since the Mambo days. Globals are not longer used, and the code (in most cases) follows a one class per file standard preventing any code from getting executed.

-  Register globals (http://php.net/manual/en/security.globals.php) is deprecated and removed in PHP 5.4 and Joomla request context can only be setup by going in through index.php

Taken both into account there is really no reason to keep adding index.html files to folders. I also do not think Joomla should prevent directly listings out of the box. This is really the responsibility of the hosting provider and or sysadmin.

Johan

Chad Windnagle

unread,
Oct 7, 2014, 11:12:11 AM10/7/14
to joomla-...@googlegroups.com

Regards,
Chad Windnagle

On Tue, Oct 7, 2014 at 11:11 AM, Chad Windnagle <ch...@cohesivewebsites.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.

Sergio Manzi

unread,
Oct 7, 2014, 11:15:10 AM10/7/14
to joomla-...@googlegroups.com
@sovainfo: thanks for the research!

@Johan Janssen: nice historical an technical insight! As far as regards not turning on "Options -Indexes"  in .htaccess (or the like...), I substantially agree, but I think we can put it in as a commented-out "advice"

Partially related to this matter, isn't it the time we get rid of "Options +FollowSymLinks" from htaccess.txt or at least we change it to "Options +SymLinksIfOwnerMatch"?

smz

Sergio Manzi

unread,
Oct 7, 2014, 11:20:19 AM10/7/14
to joomla-...@googlegroups.com
Oh... and if we get rid of all the index.html files (and I agree), we should remember to coordinate with the JED: if I'm not mistaken they have a requirement for that...

Chad Windnagle

unread,
Oct 7, 2014, 11:22:40 AM10/7/14
to joomla-...@googlegroups.com

Regards,
Chad Windnagle

Sergio Manzi

unread,
Oct 7, 2014, 11:23:22 AM10/7/14
to joomla-...@googlegroups.com
... and be sure that some otherwise empty directory (/cache, /tmp, etc..) is created.

Sergio Manzi

unread,
Oct 7, 2014, 11:29:27 AM10/7/14
to joomla-...@googlegroups.com
I was mistaken! :-)

Johan Janssens

unread,
Oct 7, 2014, 11:40:06 AM10/7/14
to joomla-...@googlegroups.com
@chad : Thanks! I forgot about that one. With JED having removed the requirement it doesn't make sense at all for Joomla core to continue doing this.  

@sergio : I would keep this focussed on the question to remove the index.html files. Making additional changes to htaccess are worthwhile to consider but not coupled to Hannes his question. 

So in short : The JED doesn't require index.html anymore. This makes it absolutely unnecessary to have them in the Joomla core. If you have them them you need to have them everywhere, if you don't have them everywhere, you don't need them anywhere. 

Simple, done, time to bring the broom out Hannes and do some cleanup! This can go in as patch for 3.4 for sure.

Johan

--
You received this message because you are subscribed to a topic in the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joomla-dev-cms/en1G7QoUW2s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to joomla-dev-cm...@googlegroups.com.

Chad Windnagle

unread,
Oct 7, 2014, 11:44:45 AM10/7/14
to joomla-...@googlegroups.com
I can update my PR if you all want. Check what Michael wrote on it regarding the build script. That piece might be beyond my available time at the moment. 

Regards,
Chad Windnagle

Sergio Manzi

unread,
Oct 7, 2014, 11:46:24 AM10/7/14
to joomla-...@googlegroups.com
Agreed: I will make a separate PR for the SymLinks stuff.

It makes me feel happy when it is clean-up time: go for it, Hannes! :-)

... and don't forget about empty directories ...

Johan Janssens

unread,
Oct 7, 2014, 12:08:16 PM10/7/14
to joomla-...@googlegroups.com
@chad : Makes sense to update the PR. It's related to the topic here.


@all : Happy to see a short and productive discussion on the list. Lets have more of those! 

Johan

Matt Thomas

unread,
Oct 7, 2014, 12:19:29 PM10/7/14
to joomla-...@googlegroups.com
@all : Happy to see a short and productive discussion on the list. Lets have more of those!

+1,000,000!

Chad Windnagle

unread,
Oct 7, 2014, 12:19:57 PM10/7/14
to joomla-...@googlegroups.com
PR is up to date

Regards,
Chad Windnagle

On Tue, Oct 7, 2014 at 12:08 PM, Johan Janssens <jjan...@gmail.com> wrote:

Troy

unread,
Oct 8, 2014, 1:28:51 PM10/8/14
to joomla-...@googlegroups.com
I'm sorry I can't agree with you at all. Joomla is designed for the
average website owner. I'm so sick of hearing "lets hack down joomla so
it only has xyz" making it better for devs and less friendly for
everyone else. If you wanna do that then hardcode HTML
Bear

Johan Janssens

unread,
Oct 8, 2014, 1:47:27 PM10/8/14
to joomla-...@googlegroups.com
Hi Bear, 

You are 100% correct that Joomla is build for small and mid size sites focussed on default LAMP stacks. I don't recall we ever said in this thread 'lets hack Joomla down so it only has xyz". If we did, or you read my reply like that my sincerest apologies.

For Joomla to strive and move forward us developers need to consider some of the 'best' practices we used for years and asked ourself if in light of recent technology advancement they are still necessary. The index.html files is one such old 'best' practice that is no longer needed.

I understand that those discussions might seem a bit odd, strange, geeky, ... and speckled with drama. They are however done with the best intentions in mind. Our mutual goal is to make Joomla better, leaner and meaner so you as a small site owner can keep enjoying it.

Sidenote, about the harcoded HTML, trust me, I do still enjoy writing some plain HTML from time to time. Just because not every project requires a CMS. 

Sincerely,

Johan Janssens, Joomla Co-Founder.

brian teeman

unread,
Oct 8, 2014, 2:14:12 PM10/8/14
to joomla-...@googlegroups.com
Hi Bear

What are you not agreeing to? Can you explain why?

Brian

Troy

unread,
Oct 8, 2014, 5:29:01 PM10/8/14
to joomla-...@googlegroups.com
My reply was ONLY in content to the statement about not needing to protect against directory listings.  I understand removing index.html :D
Bear
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4765 / Virus Database: 4037/8349 - Release Date: 10/08/14


Brad Gies

unread,
Oct 10, 2014, 10:48:31 PM10/10/14
to joomla-...@googlegroups.com

How about this as an option? Remove all the .html files except one, and then in the installer ask the user if they want .html files in all directories. The code is pretty simple, and it gives everyone what they want. A smaller installation .zip file, and the .html files in every directory if they want them.

Brad

brian teeman

unread,
Oct 11, 2014, 3:42:17 AM10/11/14
to joomla-...@googlegroups.com
Do you really think that the user who has such bad web hosting that they need the blank index.html files will understand the question?

Johan Janssens

unread,
Oct 12, 2014, 7:07:15 AM10/12/14
to joomla-...@googlegroups.com
Additionally, even if the user would understand the choice he is presented with. You are presented with following challenges :

1.  You would need to implement a mechanism to ensure all folders are writable. This isn't always possible through code, hence why Joomla has an overview of the folders that need to be writable for the installer in the administrator. 

If you want to do this in the installer. You would need to add the same overview to the installer, but then show all the folders that need to be writable. Once the operation has been completed you need to tell the person installing to make all the folders unwritable (besides the once that the extentension installer requires) again if Joomla cannot do it. 

2. The JED no longer requires extensions to include index.html files. If you automatically add index.html files for the core, you also need to go back to adding index.html files for extensions, when they are being installed. Otherwise you still allow directory listings of extensions.

As I said, this is really the responsibility of the hoster and server setup, not the application running on it. 


On Sat, Oct 11, 2014 at 9:42 AM, brian teeman <joom...@googlemail.com> wrote:
Do you really think that the user who has such bad web hosting that they need the blank index.html files will understand the question?

--
You received this message because you are subscribed to a topic in the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joomla-dev-cms/en1G7QoUW2s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to joomla-dev-cm...@googlegroups.com.

Beat

unread,
Oct 12, 2014, 10:39:07 AM10/12/14
to joomla-...@googlegroups.com
agree.
+1 for removing all index.html's except in empty folders where a file is needed by git's design, so that we have the folder present in git repository (alternatively a dummy .gitignore file could be there, but removed at packaging Joomla).

Beat
http://www.joomlapolis.com/

Johan Janssens

unread,
Oct 12, 2014, 7:44:42 PM10/12/14
to joomla-...@googlegroups.com
Empty folders in Git are best solved using  either .gitignore or .gitkeep depending on developers preference. They 'could' be stripped out when the code is deployed or when a downloadable package is build. There is no harm in keeping them though.

Chad Windnagle

unread,
Oct 13, 2014, 10:28:23 AM10/13/14
to joomla-...@googlegroups.com
Hi Johan

Hannes and I have been discussing this on the PR. Currently we've opted to just pop in a few index.html for simplicities sake.


Chad

--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.

Hannes Papenberg

unread,
Dec 10, 2014, 7:05:39 AM12/10/14
to joomla-...@googlegroups.com
Wooohooo!!! Today we finally got rid of all the index.html files. :-)
\o/ That means for every new installation, about 1800 less files have to
be copied over. (The Konga-line for the party starts behind me. *music
on* *dancing commences*)
> <mailto:joomla-dev-cm...@googlegroups.com>.
> To post to this group, send email to
> joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/joomla-dev-cms.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! CMS Development" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cm...@googlegroups.com>.
> To post to this group, send email to
> joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/joomla-dev-cms.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! CMS Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cm...@googlegroups.com>.
> To post to this group, send email to joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>.

Vic Drover

unread,
Dec 10, 2014, 7:58:42 AM12/10/14
to joomla-...@googlegroups.com
That's pretty awesome :)

Cheers,

Victor Drover
Founder and CEO, Anything Digital LLC (BBB Accredited)
Co-founder, Watchful.li & jInbound.com
262-309-4140
Facebook: AnythingDigital | watchfulli | JInbound
Twitter: @AnythingDig | @watchfulli | @JoomlaInbound


To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.

Johan Janssens

unread,
Dec 10, 2014, 10:29:35 AM12/10/14
to joomla-...@googlegroups.com
Congrats Hannes! One little commit, ... one big step for Joomla.

Hannes Papenberg

unread,
Dec 10, 2014, 10:43:03 AM12/10/14
to joomla-...@googlegroups.com
Don't congratulate me. It was mainly the work of Elijah Madden and
Thomas and George who merged this. :-)

Am 10.12.2014 um 16:29 schrieb Johan Janssens:
> Congrats Hannes! One little commit, ... one big step for Joomla.
>
> On Wed, Dec 10, 2014 at 1:58 PM, Vic Drover
> <ad...@anything-digital.com <mailto:ad...@anything-digital.com>> wrote:
>
> That's pretty awesome :)
>
> Cheers,
>
> Victor Drover
> Founder and CEO, Anything Digital LLC
> <https://mail.google.com/> (BBB Accredited
> <http://www.bbb.org/milwaukee/business-reviews/computer-software-publishers-and-developers/anything-digital-llc-in-sussex-wi-1000009940/>)
> Co-founder, Watchful.li <https://watchful.li/> & jInbound.com
> <http://jinbound.com/>
> 262-309-4140
> Facebook: AnythingDigital
> <https://www.facebook.com/AnythingDigital> | watchfulli
> <https://www.facebook.com/watchfulli> | JInbound
> <https://www.facebook.com/JInbound>
> Twitter: @AnythingDig
> <https://twitter.com/AnythingDig> | @watchfulli
> <https://twitter.com/watchfulli> | @JoomlaInbound
> <https://twitter.com/joomlainbound>
>
>
> On Wed, Dec 10, 2014 at 6:04 AM, Hannes Papenberg
> <hack...@googlemail.com <mailto:hack...@googlemail.com>> wrote:
>
> Wooohooo!!! Today we finally got rid of all the index.html
> files. :-)
> \o/ That means for every new installation, about 1800 less
> files have to
> be copied over. (The Konga-line for the party starts behind
> me. *music
> on* *dancing commences*)
>
> Am 13.10.2014 <tel:13.10.2014> um 16:27 schrieb Chad Windnagle:
> > Hi Johan
> >
> > Hannes and I have been discussing this on the PR. Currently
> we've
> > opted to just pop in a few index.html for simplicities sake.
> >
> > https://github.com/joomla/joomla-cms/pull/3788
> >
> > Chad
> >
> > On Sun, Oct 12, 2014 at 7:44 PM, Johan Janssens
> <jjan...@gmail.com <mailto:jjan...@gmail.com>
> > <mailto:jjan...@gmail.com <mailto:jjan...@gmail.com>>>
> wrote:
> >
> > Empty folders in Git are best solved using either
> .gitignore or
> > .gitkeep depending on developers preference. They 'could' be
> > stripped out when the code is deployed or when a
> downloadable
> > package is build. There is no harm in keeping them though.
> >
> > On Sun, Oct 12, 2014 at 4:39 PM, Beat <bea...@gmail.com
> <mailto:bea...@gmail.com>
> > <mailto:bea...@gmail.com <mailto:bea...@gmail.com>>>
> <mailto:joom...@googlemail.com>> wrote:
> >
> > Do you really think that the user who has
> such bad web
> > hosting that they need the blank index.html
> files will
> > understand the question?
> > --
> > You received this message because you are
> subscribed
> > to a topic in the Google Groups "Joomla! CMS
> > Development" group.
> > To unsubscribe from this topic, visit
> >
> https://groups.google.com/d/topic/joomla-dev-cms/en1G7QoUW2s/unsubscribe.
> > To unsubscribe from this group and all its
> topics,
> > send an email to
> joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cm...@googlegroups.com>.
> > To post to this group, send email to
> > joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>.
> > Visit this group at
> > http://groups.google.com/group/joomla-dev-cms.
> > For more options, visit
> > https://groups.google.com/d/optout.
> >
> >
> > --
> > You received this message because you are subscribed
> to a
> > topic in the Google Groups "Joomla! CMS Development"
> group.
> > To unsubscribe from this topic, visit
> >
> https://groups.google.com/d/topic/joomla-dev-cms/en1G7QoUW2s/unsubscribe.
> > To unsubscribe from this group and all its topics,
> send an
> > email to joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>
> > <mailto:joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>>.
> > To post to this group, send email to
> > joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>
> > <mailto:joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>>.
> > Visit this group at
> http://groups.google.com/group/joomla-dev-cms.
> > For more options, visit
> https://groups.google.com/d/optout.
> >
> >
> > --
> > You received this message because you are subscribed to
> the Google
> > Groups "Joomla! CMS Development" group.
> > To unsubscribe from this group and stop receiving emails
> from it,
> > send an email to
> joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>
> > <mailto:joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>>.
> > To post to this group, send email to
> > joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>
> > <mailto:joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>>.
> > Visit this group at
> http://groups.google.com/group/joomla-dev-cms.
> > For more options, visit https://groups.google.com/d/optout.
> >
> >
> > --
> > You received this message because you are subscribed to the
> Google
> > Groups "Joomla! CMS Development" group.
> > To unsubscribe from this group and stop receiving emails
> from it, send
> > an email to joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>
> > <mailto:joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>>.
> > To post to this group, send email to
> joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>
> > <mailto:joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>>.
> > Visit this group at
> http://groups.google.com/group/joomla-dev-cms.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the
> Google Groups "Joomla! CMS Development" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
> joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>.
> To post to this group, send an email to

Sergio Manzi

unread,
Dec 10, 2014, 11:27:46 AM12/10/14
to joomla-...@googlegroups.com
Congrats to everyone who was involved!

I think one slipped in: /administrator/components/index.html

Johan Janssens

unread,
Dec 10, 2014, 11:41:46 AM12/10/14
to joomla-...@googlegroups.com
Sorry Hannes! A big pat on the back or Elijah Madden, Thomas and George. 

To post to this group, send an email to joomla-...@googlegroups.com.

Bakual

unread,
Dec 10, 2014, 4:23:10 PM12/10/14
to joomla-...@googlegroups.com
And Chad who started the discussion :)
>         >         email to joomla-dev-cms+unsubscribe@googlegroups.com
>         <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>
>         >         <mailto:joomla-dev-cms+unsub...@googlegroups.com
>         <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>>.
>         >         To post to this group, send email to
>         >         joomla-dev-cms@googlegroups.com
>         <mailto:joomla-dev-cms@googlegroups.com>
>         >         <mailto:joomla-dev-cms@googlegroups.com
>         <mailto:joomla-dev-cms@googlegroups.com>>.
>         >         Visit this group at
>         http://groups.google.com/group/joomla-dev-cms.
>         >         For more options, visit
>         https://groups.google.com/d/optout.
>         >
>         >
>         >     --
>         >     You received this message because you are subscribed to
>         the Google
>         >     Groups "Joomla! CMS Development" group.
>         >     To unsubscribe from this group and stop receiving emails
>         from it,
>         >     send an email to
>         <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>>.
>         >     To post to this group, send email to
>         >     joomla-dev-cms@googlegroups.com
>         <mailto:joomla-dev-cms@googlegroups.com>
>         >     <mailto:joomla-dev-cms@googlegroups.com
>         <mailto:joomla-dev-cms@googlegroups.com>>.
>         >     Visit this group at
>         http://groups.google.com/group/joomla-dev-cms.
>         >     For more options, visit https://groups.google.com/d/optout.
>         >
>         >
>         > --
>         > You received this message because you are subscribed to the
>         Google
>         > Groups "Joomla! CMS Development" group.
>         > To unsubscribe from this group and stop receiving emails
>         from it, send
>         <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>>.
>         > To post to this group, send email to
>         joomla-dev-cms@googlegroups.com
>         <mailto:joomla-dev-cms@googlegroups.com>
>         > <mailto:joomla-dev-cms@googlegroups.com
>         <mailto:joomla-dev-cms@googlegroups.com>>.
>         > Visit this group at
>         http://groups.google.com/group/joomla-dev-cms.
>         > For more options, visit https://groups.google.com/d/optout.
>
>         --
>         You received this message because you are subscribed to the
>         Google Groups "Joomla! CMS Development" group.
>         To unsubscribe from this group and stop receiving emails from
>         it, send an email to
>         <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>.
>         To post to this group, send an email to
>         Visit this group at http://groups.google.com/group/joomla-dev-cms.
>         For more options, visit https://groups.google.com/d/optout.
>
>
>     --
>     You received this message because you are subscribed to a topic in
>     the Google Groups "Joomla! CMS Development" group.
>     To unsubscribe from this topic, visit
>     https://groups.google.com/d/topic/joomla-dev-cms/en1G7QoUW2s/unsubscribe.
>     To unsubscribe from this group and all its topics, send an email
>     To post to this group, send email to
>
>     Visit this group at http://groups.google.com/group/joomla-dev-cms.
>     For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! CMS Development" group.
> To unsubscribe from this group and stop receiving emails from it, send

Bakual

unread,
Dec 10, 2014, 4:23:44 PM12/10/14
to joomla-...@googlegroups.com
If there is still one, feel free to do a PR :)
>>         To post to this group, send email to
>>         joomla-dev-cms@googlegroups.com
>>         <mailto:joomla-dev-cms@googlegroups.com>.
>>         Visit this group at http://groups.google.com/group/joomla-dev-cms.
>>         For more options, visit https://groups.google.com/d/optout.
>>
>>
>>     --
>>     You received this message because you are subscribed to the Google
>>     Groups "Joomla! CMS Development" group.
>>     To unsubscribe from this group and stop receiving emails from it,
>>     To post to this group, send email to
>>     Visit this group at http://groups.google.com/group/joomla-dev-cms.
>>     For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Joomla! CMS Development" group.
>> To unsubscribe from this group and stop receiving emails from it, send

brian teeman

unread,
Dec 10, 2014, 4:37:44 PM12/10/14
to joomla-...@googlegroups.com


On Wednesday, 10 December 2014 21:23:44 UTC, Bakual wrote:
If there is still one, feel free to do a PR :)

I know we  need to keep the file in an empty directory such as /cache

But 
  1. do we need to keep the file in a directory that has sub-directories but no files eg /administrator/components
  2. We have quite a few directories that dont have any files AND cant have any user created files do we need to keep thosee directories eg administrator/components/com_media/models/forms/index.html

Bakual

unread,
Dec 10, 2014, 4:58:16 PM12/10/14
to joomla-...@googlegroups.com
1. No. That file can be deleted.
2. The whole folder can be deleted here. Makes no sense to have that one.

brian teeman

unread,
Dec 10, 2014, 5:16:42 PM12/10/14
to joomla-...@googlegroups.com


On Wednesday, 10 December 2014 21:58:16 UTC, Bakual wrote:
1. No. That file can be deleted.

Good I see someone has create a PR
 
2. The whole folder can be deleted here. Makes no sense to have that one.

Looks like there are three to remove

administrator/components/com_media/models/forms/index.html 
administrator/components/com_tags/helpers/html/index.html
administrator/components/com_tags/models/fields/index.html

Sergio Manzi

unread,
Dec 10, 2014, 6:01:35 PM12/10/14
to joomla-...@googlegroups.com
Thomas, Brian, I'm the one who did the PR for the "last" index.html.

I left the others because they were in empty directories, but if everybody agrees I can get rid of those too...
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.

Ove Eriksson

unread,
Dec 11, 2014, 2:28:40 AM12/11/14
to joomla-...@googlegroups.com
Great step!

1. Shouldn't the index.html files be removed from the manifest files? Not urgent since my tests didn't show any messages when uninstalling or discovering a plugin. With a created installation package it,as expected, did not install.

I made an example with content-contact PR 5392

https://github.com/joomla/joomla-cms/pull/5392

2. Are there some problems with empty folders in images? If not could the index.html creation be removed from the media manager. existing and hopefully coming versons.
I can create the PR for the current version if you don't see any problems. (remove two lines)


Bakual

unread,
Dec 11, 2014, 2:50:33 AM12/11/14
to joomla-...@googlegroups.com
Those directories should be fine to remove. They look like copy-pasted stuff which never had a function.


Am Donnerstag, 11. Dezember 2014 00:01:35 UTC+1 schrieb Sergio Manzi:
Thomas, Brian, I'm the one who did the PR for the "last" index.html.

I left the others because they were in empty directories, but if everybody agrees I can get rid of those too...


On 2014-12-10 23:16, brian teeman wrote:


On Wednesday, 10 December 2014 21:58:16 UTC, Bakual wrote:
1. No. That file can be deleted.

Good I see someone has create a PR
 
2. The whole folder can be deleted here. Makes no sense to have that one.

Looks like there are three to remove

administrator/components/com_media/models/forms/index.html 
administrator/components/com_tags/helpers/html/index.html
administrator/components/com_tags/models/fields/index.html

--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send email to joomla-dev-cms@googlegroups.com.

Bakual

unread,
Dec 11, 2014, 3:03:41 AM12/11/14
to joomla-...@googlegroups.com
Had to put some back in the top level directories because we use them in our build script.

Tobias Zulauf

unread,
Dec 11, 2014, 5:07:14 AM12/11/14
to joomla-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages