-
-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/2.x' into 3.x
* origin/2.x: (104 commits) Change the RSS feed URLs to HTTPS MODX Revolution 2.7.1-pl Update lexicons from crowdin Change after review Update phpThumb 1.7.15-201902101903 Restore html in resource tree (#14358) while preserving XSS protections in trees by default Handle deprecated $type and $responseCode parameters in $modx->sendRedirect and fix message Update lexicon entry Include not deleted children of deleted parents in the list Using cltr/cmd and click will open the url in a new tab/window again for ExtJS elements that use `loadPage()` to open URLs Forbid generating child resources for deleted resources Fix #14094 XSS in the tree Fix #14105 Fix #14104 Fix #14103 Fix #14102 Enable remote avatars Fix regression in resourcelist that prevents parents from working correctly Improve wording in variables ...
- Loading branch information
Showing
329 changed files
with
2,051 additions
and
1,208 deletions.
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
7 changes: 7 additions & 0 deletions
7
.github/ISSUE_TEMPLATE.md → .github/ISSUE_TEMPLATE/bug_report.md
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,18 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea that makes MODX Revolution even better | ||
|
||
--- | ||
|
||
## Feature request | ||
### Summary | ||
Quick summary what's this feature request about. | ||
|
||
### Why is it needed? | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
### Suggested solution(s) | ||
A clear and concise description of what you want to happen. | ||
|
||
### Related issue(s)/PR(s) | ||
Let us know if this is related to any issue/pull request. |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
MODX Revolution is Copyright (c) 2006-2018 by MODX, LLC. | ||
MODX Revolution is Copyright (c) 2006-present by MODX, LLC. | ||
|
||
All Rights Reserved. |
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
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,55 @@ | ||
<?php | ||
/* | ||
* This file is part of the MODX Revolution package. | ||
* | ||
* Copyright (c) MODX, LLC | ||
* | ||
* For complete copyright and license information, see the COPYRIGHT and LICENSE | ||
* files found in the top-level directory of this distribution. | ||
* | ||
* @package modx-test | ||
*/ | ||
|
||
/** | ||
* Tests related to creating transport packages | ||
* | ||
* @package modx-test | ||
* @subpackage modx | ||
* @group Transport | ||
*/ | ||
class TransportCoreTest extends MODxTestCase | ||
{ | ||
|
||
public function setUp() | ||
{ | ||
parent::setUp(); | ||
|
||
if (!defined('MODX_SOURCE_PATH')) { | ||
define('MODX_SOURCE_PATH', dirname(__DIR__) . '/../../../'); | ||
} | ||
|
||
if (!defined('MODX_BUILD_DIR')) { | ||
define('MODX_BUILD_DIR', MODX_SOURCE_PATH . '_build/'); | ||
} | ||
|
||
if (!defined('MODX_PACKAGES_PATH')) { | ||
define('MODX_PACKAGES_PATH', MODX_SOURCE_PATH . 'core/packages/'); | ||
} | ||
} | ||
|
||
public function tearDown() | ||
{ | ||
@unlink(MODX_PACKAGES_PATH. "core.transport.zip"); | ||
} | ||
|
||
public function testBuildCoreTransportPackage() | ||
{ | ||
$transportCoreFile = MODX_BUILD_DIR. 'transport.core.php'; | ||
$transportCorePackFile = MODX_PACKAGES_PATH. 'core.transport.zip'; | ||
|
||
$result = shell_exec("php $transportCoreFile"); | ||
$this->assertContains('Transport zip created. Build script finished.', $result); | ||
|
||
$this->assertFileExists($transportCorePackFile); | ||
} | ||
} |
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
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.