Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
8a3a789
Update README.md (#40175)
brianteeman Mar 23, 2023
3a298ce
Cypress test for contact form in com_contact. (#40171)
rajputanuj31 Mar 23, 2023
d4aeb55
[4.4] Rebuild plugin PageNavigation with new Joomla 4 structure (#40142)
sandewt Mar 23, 2023
a9c3775
Add cypress com_banners test (#40183)
charvimehradu Mar 24, 2023
822ce5f
[4.4] Cypress small update README.md (2) (#40179)
sandewt Mar 24, 2023
4d6d43a
Deprecating CMS Filesystem package (#40111)
Hackwar Mar 24, 2023
9af564d
[4.3] fix for #40182 : Router error in NomenuRules (#40184)
conseilgouz Mar 24, 2023
2adf119
Create Default.cy.js (#40189)
sandewt Mar 25, 2023
7644c36
Fix incorrect HTML rendering (#40194)
Fedik Mar 25, 2023
2f119a0
Add ATT Codeowner (#40203
fancyFranci Mar 26, 2023
16a7dc9
Merge branch '4.3-dev' into 4.4-dev
laoneo Mar 26, 2023
b7f4ddf
Remove duplicate assignment (#40161)
QuyTon Mar 26, 2023
52660a6
[4.3] Revert CSP related changes in Grid.php (back to inline scripts)…
dgrammatiko Mar 26, 2023
7d56184
[4.3] Guided Tours Caption [a11y] (#40214)
brianteeman Mar 27, 2023
dbd395f
Merge branch '4.3-dev' into 4.4-dev
laoneo Mar 27, 2023
20ff4df
[4.4] Make code consistent, change <folder>services</folder> to <fold…
sandewt Mar 28, 2023
7d28502
Split the back end CRUD tests into single tests (#40219)
laoneo Mar 28, 2023
245ff34
Cypress test for adding field in contact form in com_contact (#40186)
rajputanuj31 Mar 28, 2023
7e84e7c
Cypress test for Categories wise view of contacts in com_contact. (#4…
rajputanuj31 Mar 28, 2023
2180f28
Test not featured articles (#40164)
laoneo Mar 28, 2023
dd2e875
Fix deprecated warning in contenthistory (#40213)
chmst Mar 29, 2023
de59f6c
Guided Tours: Colon in header and unused strings (#40212)
Kostelano Mar 29, 2023
71491f0
Update namespacemap.php (#40227)
brianteeman Mar 29, 2023
c9c478a
[4.4] Introduce local variables to replace repeating method calls (#4…
joomdonation Mar 29, 2023
e3a9ef2
Set a higher timeout for cypress verification (#40223)
laoneo Mar 29, 2023
aecd8e4
[4.4] Replace JPATH_PLATFORM with _JEXEC in plugin code (#40232)
sandewt Mar 29, 2023
951e55d
Convert user plugins to service provider (#40180)
laoneo Mar 29, 2023
5b7fa70
Do not log to console in tours js (#40101)
laoneo Mar 29, 2023
9a004f9
unification header language files (#40236)
heelc29 Mar 29, 2023
d5850ae
[4.3] Fixing comparison in Url Filter (#40229)
Hackwar Mar 29, 2023
c71e594
Merge branch '4.3-dev' into 4.4-dev
laoneo Mar 30, 2023
9599a0c
Convert privacy plugins to service provider (#40174)
laoneo Mar 30, 2023
229e27d
Fixes to Form Filter classes from static code analysis (#40241)
Hackwar Mar 30, 2023
cf0e769
Merge branch '4.4-dev' into upmerge/4.4-5.0
HLeithner Apr 2, 2023
1c5797d
Upmerge drone.yml
HLeithner Apr 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ steps:
volumes:
- name: cypress-cache
path: /root/.cache/Cypress
environment:
CYPRESS_VERIFY_TIMEOUT: 100000
commands:
- mv cypress.config.dist.js cypress.config.js
- npx cypress install
Expand Down Expand Up @@ -363,6 +365,6 @@ trigger:

---
kind: signature
hmac: 8cf1bf21cd6ed0fb836683510df6a44fe8b096704593aa2f30478b3d41bb0fdf
hmac: 7d729d1bdab99cbf37d96324d129a7f3c7eca72a271c70af8755d99c0ae91142

...
12 changes: 6 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ libraries/src/Installer/* @rdeutz @zero-24
libraries/src/Updater/* @rdeutz @zero-24

# Automated Testing
tests/* @hackwar
tests/Unit/* @rdeutz
.appveyor.yml @rdeutz @hackwar
.drone.yml @rdeutz @hackwar
phpunit.xml.dist @rdeutz @hackwar
phpunit-pgsql.xml.dist @rdeutz @hackwar
tests/* @hackwar @fancyFranci
tests/Unit/* @rdeutz @fancyFranci
.appveyor.yml @rdeutz @hackwar @fancyFranci
.drone.yml @rdeutz @hackwar @fancyFranci
phpunit.xml.dist @rdeutz @hackwar @fancyFranci
phpunit-pgsql.xml.dist @rdeutz @hackwar @fancyFranci

# HttpHeaders Plugin
plugins/system/httpheaders/* @zero-24
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static function decodeFields($jsonString)

if (is_object($object)) {
foreach ($object as $name => $value) {
if ($subObject = json_decode($value)) {
if (!is_null($value) && $subObject = json_decode($value)) {
$object->$name = $subObject;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected function addToolbar()

$canDo = ContentHelper::getActions('com_guidedtours');

ToolbarHelper::title(Text::_('COM_GUIDEDTOURS') . ' - ' . ($isNew ? Text::_('COM_GUIDEDTOURS_MANAGER_STEP_NEW') : Text::_('COM_GUIDEDTOURS_MANAGER_STEP_EDIT')), 'map-signs');
ToolbarHelper::title(Text::_($isNew ? 'COM_GUIDEDTOURS_MANAGER_STEP_NEW' : 'COM_GUIDEDTOURS_MANAGER_STEP_EDIT'), 'map-signs');

$toolbarButtons = [];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected function addToolbar()

$toolbar = Toolbar::getInstance();

ToolbarHelper::title(Text::_('COM_GUIDEDTOURS') . ' - ' . ($isNew ? Text::_('COM_GUIDEDTOURS_MANAGER_TOUR_NEW') : Text::_('COM_GUIDEDTOURS_MANAGER_TOUR_EDIT')), 'map-signs');
ToolbarHelper::title(Text::_($isNew ? 'COM_GUIDEDTOURS_MANAGER_TOUR_NEW' : 'COM_GUIDEDTOURS_MANAGER_TOUR_EDIT'), 'map-signs');

$toolbarButtons = [];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<table class="table" id="stepsList">

<caption class="visually-hidden">
<?php echo Text::_('COM_GUIDEDTOURS_TABLE_CAPTION'); ?>,
<?php echo Text::_('COM_GUIDEDTOURS_STEPS_TABLE_CAPTION'); ?>,
<span id="orderedBy"><?php echo Text::_('JGLOBAL_SORTED_BY'); ?></span>,
<span id="filteredBy"><?php echo Text::_('JGLOBAL_FILTERED_BY'); ?></span>
</caption>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Joomla\Component\Privacy\Administrator\Export\Domain;
use Joomla\Component\Privacy\Administrator\Export\Field;
use Joomla\Component\Privacy\Administrator\Export\Item;
use Joomla\Database\DatabaseAwareTrait;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
Expand All @@ -28,11 +29,14 @@
*/
abstract class PrivacyPlugin extends CMSPlugin
{
use DatabaseAwareTrait;

/**
* Database object
*
* @var \Joomla\Database\DatabaseDriver
* @since 3.9.0
* @deprecated __DEPLOY_VERSION__ will be removed in 6.0 use $this->getDatabase() instead
*/
protected $db;

Expand Down
15 changes: 5 additions & 10 deletions administrator/language/en-GB/com_guidedtours.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ COM_GUIDEDTOURS_DESCRIPTION="Description"
COM_GUIDEDTOURS_DESCRIPTION_TRANSLATION="Description (%s)"
COM_GUIDEDTOURS_EDIT_TOUR="Edit Tour"
COM_GUIDEDTOURS_ERROR_NO_GUIDEDTOURS_SELECTED="No tour selected."
COM_GUIDEDTOURS_ERROR_TOUR_NOT_FOUND="Tour not found!"
COM_GUIDEDTOURS_EXTENSIONS_DESC="Restrict the tour to be displayed only when the selected component is active."
COM_GUIDEDTOURS_EXTENSIONS_LABEL="Component Selector"
COM_GUIDEDTOURS_FIELD_NOTE_LABEL="Note"
Expand All @@ -23,14 +22,11 @@ COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_NEXT="Next"
COM_GUIDEDTOURS_FIELD_VALUE_STEP_TYPE_REDIRECT="Redirect"
COM_GUIDEDTOURS_FILTER_SEARCH_DESC="Search in id, title and description. Prefix with ID: to search for tour ID or DESCRIPTION: to search only description text."
COM_GUIDEDTOURS_FILTER_SEARCH_LABEL="Search"
COM_GUIDEDTOURS_GUIDEDTOUR_STEPS_PAGE_TITLE="Guided Tour - List of Steps"
COM_GUIDEDTOURS_GUIDEDTOURS_LABEL_DESCRIPTION="Description"
COM_GUIDEDTOURS_GUIDEDTOURS_PAGE_TITLE="Guided Tours - List of Tours"
COM_GUIDEDTOURS_GUIDEDTOURS_TABLE_CAPTION="List of Tours"
COM_GUIDEDTOURS_MANAGER_STEP_EDIT="Edit Step"
COM_GUIDEDTOURS_MANAGER_STEP_NEW="New Step"
COM_GUIDEDTOURS_MANAGER_TOUR_EDIT="Edit Tour"
COM_GUIDEDTOURS_MANAGER_TOUR_NEW="New Tour"
COM_GUIDEDTOURS_MANAGER_STEP_EDIT="Guided Tours: Edit Step"
COM_GUIDEDTOURS_MANAGER_STEP_NEW="Guided Tours: New Step"
COM_GUIDEDTOURS_MANAGER_TOUR_EDIT="Guided Tours: Edit Tour"
COM_GUIDEDTOURS_MANAGER_TOUR_NEW="Guided Tours: New Tour"
COM_GUIDEDTOURS_N_ITEMS_ARCHIVED_1="Item archived."
COM_GUIDEDTOURS_N_ITEMS_ARCHIVED="%s items archived."
COM_GUIDEDTOURS_N_ITEMS_CHECKED_IN_1="Item checked in."
Expand All @@ -47,8 +43,6 @@ COM_GUIDEDTOURS_NEW_TOUR="New Tour"
COM_GUIDEDTOURS_ORDER_TYPE_ASC="Type ascending"
COM_GUIDEDTOURS_ORDER_TYPE_DESC="Type descending"
COM_GUIDEDTOURS_STATUS="Status"
COM_GUIDEDTOURS_STEP_ASC="Step ascending"
COM_GUIDEDTOURS_STEP_DESC="Step descending"
COM_GUIDEDTOURS_STEP_DESCRIPTION_TRANSLATION="Description (%s)"
COM_GUIDEDTOURS_STEP_EDIT_STEP="Edit Step"
COM_GUIDEDTOURS_STEP_FILTER_SEARCH_DESC="Search in id, title and description. Prefix with ID: to search for step ID or DESCRIPTION: to search only description text."
Expand All @@ -69,6 +63,7 @@ COM_GUIDEDTOURS_STEPS_EMPTYSTATE_CONTENT="A tour can only be functional if steps
COM_GUIDEDTOURS_STEPS_EMPTYSTATE_TITLE="No steps for this tour have been created yet."
COM_GUIDEDTOURS_STEPS_EMPTYSTATE_BUTTON_ADD="Add your first step"
COM_GUIDEDTOURS_STEPS_LIST="Guided Tour: %s"
COM_GUIDEDTOURS_STEPS_TABLE_CAPTION="List of Steps"
COM_GUIDEDTOURS_TITLE="Title"
COM_GUIDEDTOURS_TITLE_TRANSLATION="Title (%s)"
COM_GUIDEDTOURS_TOUR_ID="ID"
Expand Down
5 changes: 1 addition & 4 deletions administrator/language/en-GB/com_guidedtours.sys.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
; Joomla! Project
; (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
; GNU General Public License version 2 or later; see LICENSE.txt
; License GNU General Public License version 2 or later; see LICENSE.txt
; Note : All ini files need to be saved as UTF-8

COM_GUIDEDTOURS="Guided Tours"
COM_GUIDEDTOURS_ERROR_TOUR_NOT_FOUND="Tour not found!"
COM_GUIDEDTOURS_GUIDEDTOUR_STEPS_PAGE_TITLE="Guided Tours - List of Steps"
COM_GUIDEDTOURS_GUIDEDTOURS_PAGE_TITLE="Guided Tours - List of Tours"
COM_GUIDEDTOURS_GUIDEDTOURS_TABLE_CAPTION="List of Tours"
COM_GUIDEDTOURS_TOURS_VIEW_DEFAULT_TITLE="List All Guided Tours"
COM_GUIDEDTOURS_TOURS_VIEW_DEFAULT_DESC="Shows a list of all guided tours."
Expand Down
2 changes: 1 addition & 1 deletion administrator/language/en-GB/plg_system_guidedtours.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; Joomla! Project
; (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
; GNU General Public License version 2 or later; see LICENSE.txt
; License GNU General Public License version 2 or later; see LICENSE.txt
; Note : All ini files need to be saved as UTF-8

PLG_SYSTEM_GUIDEDTOURS="System - Guided Tours Plugin"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; Joomla! Project
; (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
; GNU General Public License version 2 or later; see LICENSE.txt
; License GNU General Public License version 2 or later; see LICENSE.txt
; Note : All ini files need to be saved as UTF-8

PLG_SYSTEM_GUIDEDTOURS="System - Guided Tours Plugin"
Expand Down
6 changes: 5 additions & 1 deletion administrator/templates/atum/html/layouts/status.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@
$dom->loadHTML('<?xml encoding="utf-8" ?>' . $out);
$els = $dom->getElementsByTagName('a');

$moduleCollapsedHtml[] = $dom->saveHTML($els[0]); //$els[0]->nodeValue;
if ($els[0]) {
$moduleCollapsedHtml[] = $dom->saveHTML($els[0]);
} else {
$moduleCollapsedHtml[] = $out;
}
} else {
$moduleCollapsedHtml[] = $out;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,8 @@ function addStepToTourButton(tour, stepObj, buttons) {
} else {
resolve();
}
}).catch((error) => {
// eslint-disable-next-line no-console
console.log(`Exception error - ${error.message} - Bypass Shepherd target`);
}).catch(() => {
// Ignore
});
},
when: {
Expand Down
2 changes: 1 addition & 1 deletion libraries/namespacemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ private function getNamespaces(string $type): array
}

/**
* Returns an array of with extension paths as keys and manifest paths as values.
* Returns an array of extensions with their respective paths as keys and manifest paths as values.
*
* @param string $type The extension type
*
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Component/Router/Rules/NomenuRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function parse(&$segments, &$vars)

if (isset($view->key) && isset($segments[0])) {
if (\is_callable([$this->router, 'get' . ucfirst($view->name) . 'Id'])) {
$input = $this->app->getInput();
$input = $this->router->app->getInput();
if ($view->parent_key && $input->get($view->parent_key)) {
$vars[$view->parent->key] = $input->get($view->parent_key);
$vars[$view->parent_key] = $input->get($view->parent_key);
Expand Down
28 changes: 28 additions & 0 deletions libraries/src/Filesystem/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
* A File handling class
*
* @since 1.7.0
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\File instead.
*/
class File
{
Expand Down Expand Up @@ -69,6 +71,8 @@ public static function getExt($file)
* @return string The file name without the extension
*
* @since 1.7.0
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\File::stripExt() instead.
*/
public static function stripExt($file)
{
Expand All @@ -83,6 +87,8 @@ public static function stripExt($file)
* @return string The sanitised string
*
* @since 1.7.0
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\File::makeSafe() instead.
*/
public static function makeSafe($file)
{
Expand Down Expand Up @@ -111,6 +117,9 @@ public static function makeSafe($file)
* @return boolean True on success
*
* @since 1.7.0
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\File::copy() instead.
* The framework class throws Exceptions in case of error which you have to catch.
*/
public static function copy($src, $dest, $path = null, $useStreams = false)
{
Expand Down Expand Up @@ -187,6 +196,8 @@ public static function copy($src, $dest, $path = null, $useStreams = false)
* FALSE from opcache_invalidate (like file not found).
*
* @since 4.0.1
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\File::invalidateFileCache() instead.
*/
public static function invalidateFileCache($filepath, $force = true)
{
Expand All @@ -210,6 +221,9 @@ public static function invalidateFileCache($filepath, $force = true)
* @return boolean TRUE if we can proceed to use opcache_invalidate to flush a file from the OPCache
*
* @since 4.0.1
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\File::invalidateFileCache() instead.
* This method will be removed without replacement.
*/
public static function canFlushFileCache()
{
Expand Down Expand Up @@ -238,6 +252,9 @@ public static function canFlushFileCache()
* @return boolean True on success
*
* @since 1.7.0
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\File::delete() instead.
* The framework class throws Exceptions in case of error which you have to catch.
*/
public static function delete($file)
{
Expand Down Expand Up @@ -311,6 +328,9 @@ public static function delete($file)
* @return boolean True on success
*
* @since 1.7.0
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\File::move() instead.
* The framework class throws Exceptions in case of error which you have to catch.
*/
public static function move($src, $dest, $path = '', $useStreams = false)
{
Expand Down Expand Up @@ -382,6 +402,8 @@ public static function move($src, $dest, $path = '', $useStreams = false)
* @return boolean True on success
*
* @since 1.7.0
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\File::write() instead.
*/
public static function write($file, $buffer, $useStreams = false)
{
Expand Down Expand Up @@ -440,6 +462,7 @@ public static function write($file, $buffer, $useStreams = false)
* @return boolean True on success
*
* @since 3.6.0
*
*/
public static function append($file, $buffer, $useStreams = false)
{
Expand Down Expand Up @@ -499,6 +522,9 @@ public static function append($file, $buffer, $useStreams = false)
* @return boolean True on success
*
* @since 1.7.0
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\File::upload() instead.
* The framework class throws Exceptions in case of error which you have to catch.
*/
public static function upload($src, $dest, $useStreams = false, $allowUnsafe = false, $safeFileOptions = [])
{
Expand Down Expand Up @@ -588,6 +614,8 @@ public static function upload($src, $dest, $useStreams = false, $allowUnsafe = f
* @return boolean True if path is a file
*
* @since 1.7.0
* @deprecated 4.4 will be removed in 6.0
* Use is_file() instead.
*/
public static function exists($file)
{
Expand Down
Loading