Skip to content

Commit 45eb8d6

Browse files
committed
Merge pull request #2 from joomla/master
Update master
2 parents 36ee939 + 5737018 commit 45eb8d6

File tree

2,937 files changed

+102692
-39077
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,937 files changed

+102692
-39077
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@
1616

1717
# Test Related Files #
1818
/phpunit.xml
19+
/tests/system/webdriver/tests/logs/
20+
21+
# phpDocumentor Logs #
22+
phpdoc-*

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ php:
55
- 5.4
66

77
before_script:
8+
- composer self-update
89
- pyrus channel-discover pear.phpunit.de
910
- pyrus install --force phpunit/DbUnit
1011
- phpenv rehash

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
Joomla! CMS [![Build Status](https://travis-ci.org/joomla/joomla-cms.png)](https://travis-ci.org/joomla/joomla-cms)
1+
Joomla! CMS
22
====================
33

4+
Build Status
5+
---------------------
6+
Travis-CI: [![Build Status](https://travis-ci.org/joomla/joomla-cms.png)](https://travis-ci.org/joomla/joomla-cms)
7+
Jenkins: [![Build Status](http://build.joomla.org/job/cms/badge/icon)](http://build.joomla.org/job/cms/)
8+
49
What is this?
510
---------------------
6-
* This is a Joomla! installation/upgrade package to version 3.0.x
11+
* This is a Joomla! installation/upgrade package to version 3.x
712
* Joomla! [Official site](http://www.joomla.org)
8-
* Joomla! 3.0 [version history](http://docs.joomla.org/Joomla_3.0_version_history)
9-
* Detailed changes in the [Changelog](http://joomlacode.org/gf/project/joomla/scmsvn/?action=browse&path=/development/trunk/administrator/&view=log)
13+
* Joomla! 3.1 [version history](http://docs.joomla.org/Joomla_3.1_version_history)
14+
* Detailed changes in the [Changelog](https://github.com/joomla/joomla-cms/commits/master)
1015

1116
What is Joomla?
1217
---------------------
@@ -61,13 +66,13 @@ Where can you get support and help?
6166
* Post questions at [our forums](http://forum.joomla.org)
6267
* [Joomla Resources Directory](http://resources.joomla.org/tos.html) (JRD):
6368

64-
Do you already have a Joomla site that's not built with Joomla 3.0.x ?
69+
Do you already have a Joomla site that's not built with Joomla 3.x ?
6570
---------------------
66-
* What's [new in Joomla 3.0.x](http://www.joomla.org/3)
67-
* What are the [main differences from 2.5 to 3.0](http://docs.joomla.org/Differences_from_Joomla_2.5_to_Joomla_3.0)?
68-
* How to [migrate from 2.5.x to 3.0.x](http://docs.joomla.org/Migrating_from_Joomla_2.5_to_Joomla_3.0)?
71+
* What's [new in Joomla 3.x](http://www.joomla.org/3)
72+
* What are the [main differences from 2.5 to 3.x](http://docs.joomla.org/Differences_from_Joomla_2.5_to_Joomla_3.0)?
73+
* How to [migrate from 2.5.x to 3.x](http://docs.joomla.org/Migrating_from_Joomla_2.5_to_Joomla_3.0)?
6974
* What are the [main differences from 1.5 to 2.5](http://docs.joomla.org/Differences_from_Joomla_1.5_to_Joomla_2.5)?
70-
* How to [migrate from 1.5.x to 3.0.x](http://docs.joomla.org/Migrating_from_Joomla_1.5_to_Joomla_3.0)?
75+
* How to [migrate from 1.5.x to 3.x](http://docs.joomla.org/Migrating_from_Joomla_1.5_to_Joomla_3.0)?
7176
* [Convert an existing Web site to Joomla](http://docs.joomla.org/How_to_Convert_an_existing_Web_site_to_a_Joomla!_Web_site)
7277

7378
Do you want to improve Joomla?
@@ -81,6 +86,6 @@ Do you want to improve Joomla?
8186
Copyright:
8287
---------------------
8388
* Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
84-
* [Credits](http://docs.joomla.org/Joomla_3.0_Credits)
89+
* [Credits](http://docs.joomla.org/Joomla_3_Credits)
8590
* Distributed under the GNU General Public License version 2 or later
8691
* See [Licenses details](http://docs.joomla.org/Joomla_Licenses)

README.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
1- What is this?
2-
* This is a Joomla! installation/upgrade package to version 3.0.x
2+
* This is a Joomla! installation/upgrade package to version 3.x
33
* Joomla! Official site: http://www.joomla.org
4-
* Joomla 3.0 version history - http://docs.joomla.org/Joomla_3.0_version_history
5-
* Detailed changes in the Changelog: http://joomlacode.org/gf/project/joomla/scmsvn/?action=browse&path=/development/trunk/administrator/&view=log
4+
* Joomla 3.1 version history - http://docs.joomla.org/Joomla_3.1_version_history
5+
* Detailed changes in the Changelog: https://github.com/joomla/joomla-cms/commits/master
66

77
2- What is Joomla?
88
* Joomla is a Content Management System (CMS) which enables you to build Web sites and powerful online applications.
@@ -49,12 +49,12 @@
4949
* Post questions at our forums: http://forum.joomla.org
5050
* Joomla Resources Directory (JRD): http://resources.joomla.org/tos.html
5151

52-
11- Do you already have a Joomla site that's not built with Joomla 3.0.x ?
53-
* What's new in Joomla 3.0.x - http://www.joomla.org/3
54-
* What are the main differences from 2.5 to 3.0? Table of contents: http://docs.joomla.org/Differences_from_Joomla_2.5_to_Joomla_3.0
55-
* How to migrate from 2.5.x to 3.0.x? Tutorial: http://docs.joomla.org/Migrating_from_Joomla_2.5_to_Joomla_3.0
52+
11- Do you already have a Joomla site that's not built with Joomla 3.x ?
53+
* What's new in Joomla 3.x - http://www.joomla.org/3
54+
* What are the main differences from 2.5 to 3? Table of contents: http://docs.joomla.org/Differences_from_Joomla_2.5_to_Joomla_3.0
55+
* How to migrate from 2.5.x to 3.x? Tutorial: http://docs.joomla.org/Migrating_from_Joomla_2.5_to_Joomla_3.0
5656
* What are the main differences from 1.5 to 2.5? Table of contents: http://docs.joomla.org/Differences_from_Joomla_1.5_to_Joomla_2.5
57-
* How to migrate from 1.5.x to 3.0.x? Tutorial: http://docs.joomla.org/Migrating_from_Joomla_1.5_to_Joomla_3.0
57+
* How to migrate from 1.5.x to 3.x? Tutorial: http://docs.joomla.org/Migrating_from_Joomla_1.5_to_Joomla_3.0
5858
* Convert an existing Web site to Joomla - http://docs.joomla.org/How_to_Convert_an_existing_Web_site_to_a_Joomla!_Web_site
5959

6060
12- Do you want to improve Joomla?
@@ -66,6 +66,6 @@
6666

6767
Copyright:
6868
* Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
69-
* Credits: http://docs.joomla.org/Joomla_3.0_Credits
69+
* Credits: http://docs.joomla.org/Joomla_3_Credits
7070
* Distributed under the GNU General Public License version 2 or later
7171
* See Licenses details at http://docs.joomla.org/Joomla_Licenses

administrator/components/com_admin/admin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99

1010
defined('_JEXEC') or die;
11+
JHtml::_('behavior.tabstate');
1112

1213
// No access check.
1314

administrator/components/com_admin/models/forms/profile.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,26 @@
1717
size="30"
1818
/>
1919

20-
<field name="password" type="password"
20+
<field name="password2" type="password"
2121
autocomplete="off"
22-
class="inputbox validate-password"
22+
class="validate-password"
2323
description="COM_ADMIN_USER_FIELD_PASSWORD_DESC"
24+
field="password1"
2425
filter="raw"
2526
label="JGLOBAL_PASSWORD"
27+
message="COM_ADMIN_USER_FIELD_PASSWORD1_MESSAGE"
2628
size="30"
2729
validate="equals"
28-
field="password2"
2930
/>
3031

31-
<field name="password2" type="password"
32+
<field name="password1" type="password"
3233
autocomplete="off"
33-
class="inputbox validate-password"
34+
class="validate-password"
3435
description="COM_ADMIN_USER_FIELD_PASSWORD2_DESC"
3536
filter="raw"
3637
label="COM_ADMIN_USER_FIELD_PASSWORD2_LABEL"
3738
size="30"
39+
validate="password"
3840
/>
3941

4042
<field name="email" type="email"

administrator/components/com_admin/models/sysinfo.php

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -200,30 +200,26 @@ public function getDirectory()
200200

201201
// List all admin languages
202202
$admin_langs = new DirectoryIterator(JPATH_ADMINISTRATOR . '/language');
203-
foreach ($admin_langs as $alang)
203+
foreach ($admin_langs as $folder)
204204
{
205-
if (!$alang->isDir() || $alang->isDot())
205+
if (!$folder->isDir() || $folder->isDot())
206206
{
207207
continue;
208208
}
209209

210-
$name = $alang->getFilename();
211-
212-
$this->_addDirectory('administrator/language/' . $name, JPATH_ADMINISTRATOR . '/language/' . $name);
210+
$this->_addDirectory('administrator/language/' . $folder->getFilename(), JPATH_ADMINISTRATOR . '/language/' . $folder->getFilename());
213211
}
214212

215213
// List all manifests folders
216214
$manifests = new DirectoryIterator(JPATH_ADMINISTRATOR . '/manifests');
217-
foreach ($manifests as $manifest)
215+
foreach ($manifests as $folder)
218216
{
219-
if (!$manifest->isDir() || $manifest->isDot())
217+
if (!$folder->isDir() || $folder->isDot())
220218
{
221219
continue;
222220
}
223221

224-
$name = $manifest->getFilename();
225-
226-
$this->_addDirectory('administrator/manifests/' . $name, JPATH_ADMINISTRATOR . '/manifests/' . $name);
222+
$this->_addDirectory('administrator/manifests/' . $folder->getFilename(), JPATH_ADMINISTRATOR . '/manifests/' . $folder->getFilename());
227223
}
228224

229225
$this->_addDirectory('administrator/modules', JPATH_ADMINISTRATOR . '/modules');
@@ -242,25 +238,21 @@ public function getDirectory()
242238
continue;
243239
}
244240

245-
$name = $manifest->getFilename();
246-
247-
$this->_addDirectory('images/' . $name, JPATH_SITE . '/' . $cparams->get('image_path') . '/' . $name);
241+
$this->_addDirectory('images/' . $folder->getFilename(), JPATH_SITE . '/' . $cparams->get('image_path') . '/' . $folder->getFilename());
248242
}
249243

250244
$this->_addDirectory('language', JPATH_SITE . '/language');
251245

252246
// List all site languages
253247
$site_langs = new DirectoryIterator(JPATH_SITE . '/language');
254-
foreach ($site_langs as $alang)
248+
foreach ($site_langs as $folder)
255249
{
256-
if (!$alang->isDir() || $alang->isDot())
250+
if (!$folder->isDir() || $folder->isDot())
257251
{
258252
continue;
259253
}
260254

261-
$name = $alang->getFilename();
262-
263-
$this->_addDirectory('language/' . $name, JPATH_SITE . '/language/' . $name);
255+
$this->_addDirectory('language/' . $folder->getFilename(), JPATH_SITE . '/language/' . $folder->getFilename());
264256
}
265257

266258
$this->_addDirectory('libraries', JPATH_LIBRARIES);
@@ -269,22 +261,20 @@ public function getDirectory()
269261
$this->_addDirectory('modules', JPATH_SITE . '/modules');
270262
$this->_addDirectory('plugins', JPATH_PLUGINS);
271263

272-
$plugin_groups = new DirectoryIterator(JPATH_SITE . '/language');
264+
$plugin_groups = new DirectoryIterator(JPATH_SITE . '/plugins');
273265
foreach ($plugin_groups as $folder)
274266
{
275-
if (!$alang->isDir() || $alang->isDot())
267+
if (!$folder->isDir() || $folder->isDot())
276268
{
277269
continue;
278270
}
279271

280-
$name = $alang->getFilename();
281-
282-
$this->_addDirectory('plugins/' . $name, JPATH_PLUGINS . '/' . $name);
272+
$this->_addDirectory('plugins/' . $folder->getFilename(), JPATH_PLUGINS . '/' . $folder->getFilename());
283273
}
284274

285275
$this->_addDirectory('templates', JPATH_SITE . '/templates');
286276
$this->_addDirectory('configuration.php', JPATH_CONFIGURATION . '/configuration.php');
287-
$this->_addDirectory('cache', JPATH_SITE.'/cache', 'COM_ADMIN_CACHE_DIRECTORY');
277+
$this->_addDirectory('cache', JPATH_SITE . '/cache', 'COM_ADMIN_CACHE_DIRECTORY');
288278
$this->_addDirectory('administrator/cache', JPATH_CACHE, 'COM_ADMIN_CACHE_DIRECTORY');
289279

290280
$this->_addDirectory($registry->get('log_path', JPATH_ROOT . '/log'), $registry->get('log_path', JPATH_ROOT . '/log'), 'COM_ADMIN_LOG_DIRECTORY');

0 commit comments

Comments
 (0)