Skip to content

Commit cff8d12

Browse files
authored
Merge branch '6.0-dev' into mvcdbtrait
2 parents f06178d + cff1bf4 commit cff8d12

File tree

93 files changed

+409
-497
lines changed

Some content is hidden

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

93 files changed

+409
-497
lines changed

administrator/components/com_actionlogs/src/Field/LogcreatorField.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
*
2222
* @since 3.9.0
2323
*
24-
* No longer used, will be removed without replacement
25-
*
26-
* @deprecated 7.0 will be removed in 7.0
24+
* @deprecated 5.3 will be removed in 7.0 without replacement
2725
*/
2826
class LogcreatorField extends ListField
2927
{

administrator/components/com_content/src/Model/ArticleModel.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,18 @@ protected function loadFormData()
584584
'state',
585585
((isset($filters['published']) && $filters['published'] !== '') ? $filters['published'] : null)
586586
);
587-
$data->catid = $app->getInput()->getInt('catid', (!empty($filters['category_id']) ? $filters['category_id'] : null));
587+
588+
// If multiple categories are filtered, pick the first one to avoid loading all fields
589+
$filteredCategories = $filters['category_id'] ?? null;
590+
$selectedCatId = null;
591+
592+
if (\is_array($filteredCategories)) {
593+
$selectedCatId = (int) reset($filteredCategories);
594+
} elseif (!empty($filteredCategories)) {
595+
$selectedCatId = (int) $filteredCategories;
596+
}
597+
598+
$data->catid = $app->getInput()->getInt('catid', $selectedCatId);
588599

589600
if ($app->isClient('administrator')) {
590601
$data->language = $app->getInput()->getString('language', (!empty($filters['language']) ? $filters['language'] : null));

administrator/components/com_guidedtours/src/Helper/GuidedtoursHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
class GuidedtoursHelper
2525
{
2626
/**
27-
* Load the translation files for an Guided Tour
27+
* Load the translation files for a Guided Tour
2828
*
2929
* @param string $uid Guided Tour Unique Identifier
3030
* @param boolean $steps Should tour steps language file be loaded

administrator/components/com_guidedtours/src/View/Step/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// phpcs:enable PSR1.Files.SideEffects
2525

2626
/**
27-
* View to edit an Step
27+
* View to edit a Step
2828
*
2929
* @since 4.3.0
3030
*/

administrator/components/com_guidedtours/src/View/Tour/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// phpcs:enable PSR1.Files.SideEffects
2424

2525
/**
26-
* View to edit an tour.
26+
* View to edit a tour.
2727
*
2828
* @since 4.3.0
2929
*/

administrator/components/com_installer/src/Model/InstallModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ protected function _getPackageFromUpload()
329329

330330
// Move uploaded file.
331331
try {
332-
File::upload($tmp_src, $tmp_dest, false, true);
332+
File::upload($tmp_src, $tmp_dest);
333333
} catch (FilesystemException) {
334334
Factory::getApplication()->enqueueMessage(Text::_('COM_INSTALLER_MSG_INSTALL_WARNINSTALLUPLOADERROR'), 'error');
335335

administrator/components/com_joomlaupdate/src/Model/UpdateModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ public function upload()
994994

995995
// Move uploaded file.
996996
try {
997-
File::upload($tmp_src, $tmp_dest, false);
997+
File::upload($tmp_src, $tmp_dest);
998998
} catch (FilesystemException $exception) {
999999
throw new \RuntimeException(Text::_('COM_INSTALLER_MSG_INSTALL_WARNINSTALLUPLOADERROR'), 500, $exception);
10001000
}

administrator/components/com_media/resources/scripts/components/browser/browser.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<div
3131
v-if="isEmpty"
3232
class="text-center"
33-
style="display: grid; justify-content: center; align-content: center; margin-top: -1rem; color: var(--gray-200); height: 100%;"
33+
style="display: grid; justify-content: center; align-content: center; color: var(--gray-200); height: 100%;"
3434
>
3535
<span
3636
class="fa-8x icon-cloud-upload upload-icon"

administrator/language/en-GB/com_joomlaupdate.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ COM_JOOMLAUPDATE_VIEW_COMPLETE_WITH_ERROR_MESSAGE="The update completed with err
9696
COM_JOOMLAUPDATE_VIEW_DEFAULT_ACTUAL="Actual"
9797
COM_JOOMLAUPDATE_VIEW_DEFAULT_COMPATIBILITY_CHECK="Joomla! %s Compatibility Check"
9898
COM_JOOMLAUPDATE_VIEW_DEFAULT_COMPATIBLE_UPDATE_WARNING="Extensions marked with <span class='label label-warning'>X.X.X</span> have an extension update available for the current version of Joomla which is not marked as compatible with the updated version of Joomla. You should contact the extension developer for more information."
99-
COM_JOOMLAUPDATE_VIEW_DEFAULT_DATABASE_STRUCTURE_NOTICE="Go to 'System - Maintenance - Database' and use the 'Update Structure' button."
99+
COM_JOOMLAUPDATE_VIEW_DEFAULT_DATABASE_STRUCTURE_NOTICE="Go to <a href=\"index.php?option=com_installer&view=database\">'System - Maintenance - Database'</a> and use the 'Update Structure' button."
100100
COM_JOOMLAUPDATE_VIEW_DEFAULT_DATABASE_STRUCTURE_TITLE="Database Table Structure Up to Date"
101101
COM_JOOMLAUPDATE_VIEW_DEFAULT_DB_NOT_SUPPORTED="Your database type is not supported"
102102
COM_JOOMLAUPDATE_VIEW_DEFAULT_DB_NOT_SUPPORTED_DESC="An update to Joomla %1$s was found, but your current database type is not supported by the new version.<br>For further details take a look at <a href=\"https://downloads.joomla.org/technical-requirements\">the minimum requirements for Joomla %1$s</a>."

administrator/language/en-GB/com_scheduler.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ COM_SCHEDULER_OPTION_EXECUTION_MANUAL_LABEL="Manual Execution"
127127
COM_SCHEDULER_OPTION_ORPHANED_HIDE="Hide Orphaned"
128128
COM_SCHEDULER_OPTION_ORPHANED_ONLY="Only Orphaned"
129129
COM_SCHEDULER_OPTION_ORPHANED_SHOW="Show Orphaned"
130-
COM_SCHEDULER_PERMISSION_TESTRUN="Test task"
130+
COM_SCHEDULER_PERMISSION_TESTRUN="Run Manually"
131131
COM_SCHEDULER_ROUTINE_LOG_PREFIX="Task> "
132132
COM_SCHEDULER_RUNNING_SINCE="Running since %s"
133133
COM_SCHEDULER_SCHEDULER="Scheduler"
@@ -158,15 +158,15 @@ COM_SCHEDULER_TASK_TIMES_DESC="Times descending"
158158
COM_SCHEDULER_TASK_TYPE="Task Type"
159159
COM_SCHEDULER_TASK_TYPE_ASC="Task Type ascending"
160160
COM_SCHEDULER_TASK_TYPE_DESC="Task Type descending"
161-
COM_SCHEDULER_TEST_RUN="Run Test"
161+
COM_SCHEDULER_TEST_RUN="Run Task"
162162
COM_SCHEDULER_TEST_RUN_DURATION="Duration: %s seconds"
163163
COM_SCHEDULER_TEST_RUN_OUTPUT="Output:<br>%s"
164164
COM_SCHEDULER_TEST_RUN_STATUS_COMPLETED="Status: Completed"
165165
COM_SCHEDULER_TEST_RUN_STATUS_STARTED="Status: Started"
166166
COM_SCHEDULER_TEST_RUN_STATUS_TERMINATED="Status: Terminated"
167167
COM_SCHEDULER_TEST_RUN_TASK="Task: \"%s\""
168-
COM_SCHEDULER_TEST_RUN_TITLE="Test task (ID: %d)"
169-
COM_SCHEDULER_TEST_TASK="Test Task"
168+
COM_SCHEDULER_TEST_RUN_TITLE="Run Task (ID: %d)"
169+
COM_SCHEDULER_TEST_TASK="Run Manually"
170170
COM_SCHEDULER_TOOLBAR_PURGE="Clear History"
171171
COM_SCHEDULER_TOOLBAR_PURGE_CONFIRM="Are you sure you want to delete all Execution History?"
172172
COM_SCHEDULER_TOOLBAR_UNLOCK="Unlock"

0 commit comments

Comments
 (0)