-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3,956 changed files
with
510,016 additions
and
1,931 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Custom Fields | ||
administrator/components/com_fields/* @laoneo | ||
components/com_fields/* @laoneo | ||
plugins/content/fields/* @laoneo | ||
plugins/editors-xtd/fields/* @laoneo | ||
plugins/fields/* @laoneo | ||
plugins/systems/fields/* @laoneo | ||
|
||
# Smart Search | ||
administrator/components/com_finder/* @mbabker | ||
components/com_finder/* @mbabker | ||
modules/mod_finder/* @mbabker | ||
plugins/content/finder/* @mbabker | ||
plugins/finder/* @mbabker | ||
|
||
# Language strings | ||
administrator/language/en-GB/* @brianteeman | ||
installation/language/en-GB/* @brianteeman | ||
language/en-GB/* @brianteeman | ||
README.md @brianteeman | ||
README.txt @brianteeman | ||
|
||
# CodeMirror | ||
media/editors/codemirror/* @okonomiyaki3000 | ||
plugins/editors/codemirror/* @okonomiyaki3000 | ||
|
||
# Statistics Server | ||
plugins/system/stats/* @mbabker @wilsonge | ||
|
||
# Release Tools | ||
build.xml @mbabker | ||
build/build.php @mbabker @rdeutz @wilsonge | ||
build/bump.php @mbabker @rdeutz @wilsonge | ||
build/deleted_file_check.php @mbabker @rdeutz @wilsonge | ||
|
||
# Core/Extension Install/Update Tools | ||
administrator/components/com_joomlaupdate/* @mbabker @rdeutz @wilsonge @zero-24 | ||
libraries/src/Installer/* @mbabker @rdeutz @wilsonge @zero-24 | ||
libraries/src/Updater/* @mbabker @rdeutz @wilsonge @zero-24 | ||
|
||
# Automated Testing | ||
build/jenkins/* @mbabker @rdeutz | ||
build/travis/* @mbabker @rdeutz | ||
tests/codeception/* @rdeutz | ||
tests/javascript/* @dgt41 @rdeutz | ||
tests/unit/* @mbabker @rdeutz | ||
.appveyor.yml @mbabker @rdeutz | ||
.drone.yml @rdeutz | ||
.hound.yml @mbabker | ||
.travis.yml @mbabker @rdeutz | ||
appveyor-phpunit.xml @mbabker @rdeutz | ||
codeception.yml @rdeutz | ||
karma.conf.js @dgt41 @rdeutz | ||
phpunit.xml.dist @mbabker @rdeutz | ||
RoboFile.dist.ini @rdeutz | ||
RoboFile.php @rdeutz | ||
travis-phpunit.xml @mbabker @rdeutz | ||
|
||
# Core JS | ||
media/*/js/* @dgt41 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
### Steps to reproduce the issue | ||
|
||
|
||
|
||
### Expected result | ||
|
||
|
||
|
||
### Actual result | ||
|
||
|
||
|
||
### System information (as much as possible) | ||
|
||
|
||
|
||
### Additional comments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: Fix this template | ||
about: Suggest a fix it | ||
|
||
--- | ||
|
||
### What needs to be fixed | ||
|
||
|
||
### Why this should be fixed | ||
|
||
|
||
### How would you fix it | ||
|
||
|
||
### Side Effects expected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
### Is your feature request related to a problem? Please describe. | ||
|
||
|
||
|
||
### Describe the solution you'd like | ||
|
||
|
||
|
||
### Additional context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Security Policies and Procedures | ||
|
||
This document outlines security procedures and policies for the `Joomla! Project`. | ||
|
||
* [Reporting a Bug](#reporting-a-bug) | ||
* [Response Handling](#response-handling) | ||
* [Security Announcement Policy](#security-announcement-policy) | ||
* [Further Details on the Joomla! Security Policies](https://security.joomla.org) | ||
|
||
## Reporting a Bug | ||
|
||
The `Joomla` team and community take all security bugs in `Joomla` seriously. | ||
|
||
The Joomla! Project takes security vulnerabilities very seriously. As such, the Joomla! Security Strike Team (JSST) oversees the project's security issues and follows some specific procedures when dealing with these issues. | ||
|
||
If you find a possible vulnerability, please report it to the JSST using the [online form](https://developer.joomla.org/security/contact-the-team.html) or via email at [email protected] | ||
|
||
We maintain a list of [GPG keys and addresses](https://developer.joomla.org/security/gpg-keys.html) for the [email protected] address and members of the JSST to allow signed and encrypted communications. | ||
|
||
To report an issue in a Joomla! extension, please submit it to the [Vulnerable Extensions List.](https://vel.joomla.org/submit-vel) | ||
|
||
For support with a site which has been attacked, please visit the [Joomla! Forum.](https://forum.joomla.org/viewforum.php?f=714) | ||
|
||
Thank you for improving the security of `Joomla`. | ||
|
||
## Response Handling | ||
|
||
The JSST aims to ensure all issues are handled in a timely manner and for clear communication between the team and issue reporters. As such, we have established the following guidelines for responding to issue reports: | ||
|
||
* Within 24 hours every report gets acknowledged | ||
* Within 7 days every report gets a further response stating either | ||
* the issue is closed (and why) | ||
* the issue is still under investigation; if needed, additional information will be requested | ||
* Within 21 days every report must be resolved unless there are exceptional circumstances requiring additional time | ||
|
||
## Security Announcement Policy | ||
* Verified vulnerabilities will only be publicly announced AFTER a release is issued which fixes the vulnerability. | ||
* All announcements will contain as much information as possible, but will NOT contain step-by-step instructions for the vulnerability. | ||
* The `Joomla! Project` will properly credit individuals and/or organizations who responsibly disclose security issues to the JSST. You can indicate the way you would like to be referred to in the advisory about the vulnerability. Our preference is to use full names. If you do not specify then we will use the contact name associated with the email address the report was received from. You can also request a pseudonym or having your name withheld. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
/** | ||
* @package Joomla.Administrator | ||
* @subpackage com_admin | ||
* | ||
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. | ||
* @license GNU General Public License version 2 or later; see LICENSE.txt | ||
*/ | ||
|
||
defined('_JEXEC') or die; | ||
JHtml::_('behavior.tabstate'); | ||
|
||
// No access check. | ||
|
||
$controller = JControllerLegacy::getInstance('Admin'); | ||
$controller->execute(JFactory::getApplication()->input->get('task')); | ||
$controller->redirect(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<name>com_admin</name> | ||
<author>Joomla! Project</author> | ||
<creationDate>April 2006</creationDate> | ||
<copyright>(C) 2005 - 2017 Open Source Matters. All rights reserved.</copyright> | ||
<copyright>(C) 2005 - 2018 Open Source Matters. All rights reserved.</copyright> | ||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> | ||
<authorEmail>[email protected]</authorEmail> | ||
<authorUrl>www.joomla.org</authorUrl> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
/** | ||
* @package Joomla.Administrator | ||
* @subpackage com_admin | ||
* | ||
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. | ||
* @license GNU General Public License version 2 or later; see LICENSE.txt | ||
*/ | ||
|
||
defined('_JEXEC') or die; | ||
|
||
/** | ||
* Admin Controller | ||
* | ||
* @since 1.6 | ||
*/ | ||
class AdminController extends JControllerLegacy | ||
{ | ||
} |
79 changes: 79 additions & 0 deletions
79
administrator/components/com_admin/controllers/profile.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<?php | ||
/** | ||
* @package Joomla.Administrator | ||
* @subpackage com_admin | ||
* | ||
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. | ||
* @license GNU General Public License version 2 or later; see LICENSE.txt | ||
*/ | ||
|
||
defined('_JEXEC') or die; | ||
|
||
/** | ||
* User profile controller class. | ||
* | ||
* @since 1.6 | ||
*/ | ||
class AdminControllerProfile extends JControllerForm | ||
{ | ||
/** | ||
* Method to check if you can edit a record. | ||
* | ||
* Extended classes can override this if necessary. | ||
* | ||
* @param array $data An array of input data. | ||
* @param string $key The name of the key for the primary key. | ||
* | ||
* @return boolean | ||
* | ||
* @since 1.6 | ||
*/ | ||
protected function allowEdit($data = array(), $key = 'id') | ||
{ | ||
return isset($data['id']) && $data['id'] == JFactory::getUser()->id; | ||
} | ||
|
||
/** | ||
* Overrides parent save method to check the submitted passwords match. | ||
* | ||
* @param string $key The name of the primary key of the URL variable. | ||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). | ||
* | ||
* @return boolean True if successful, false otherwise. | ||
* | ||
* @since 3.2 | ||
*/ | ||
public function save($key = null, $urlVar = null) | ||
{ | ||
$this->setRedirect(JRoute::_('index.php?option=com_admin&view=profile&layout=edit&id=' . JFactory::getUser()->id, false)); | ||
|
||
$return = parent::save(); | ||
|
||
if ($this->getTask() != 'apply') | ||
{ | ||
// Redirect to the main page. | ||
$this->setRedirect(JRoute::_('index.php', false)); | ||
} | ||
|
||
return $return; | ||
} | ||
|
||
/** | ||
* Method to cancel an edit. | ||
* | ||
* @param string $key The name of the primary key of the URL variable. | ||
* | ||
* @return boolean True if access level checks pass, false otherwise. | ||
* | ||
* @since 1.6 | ||
*/ | ||
public function cancel($key = null) | ||
{ | ||
$return = parent::cancel($key); | ||
|
||
// Redirect to the main page. | ||
$this->setRedirect(JRoute::_('index.php', false)); | ||
|
||
return $return; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.