Skip to content

Commit 96b108e

Browse files
authored
Merge pull request #41028 from Digital-Peak/upmerge
Upmerge from 4.4-dev
2 parents de1a338 + 72e47a2 commit 96b108e

File tree

106 files changed

+2854
-2235
lines changed

Some content is hidden

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

106 files changed

+2854
-2235
lines changed

administrator/components/com_actionlogs/src/Dispatcher/Dispatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
// phpcs:enable PSR1.Files.SideEffects
1919

2020
/**
21-
* ComponentDispatcher class for com_admin
21+
* ComponentDispatcher class for com_actionlogs
2222
*
2323
* @since 4.2.7
2424
*/
2525
class Dispatcher extends ComponentDispatcher
2626
{
2727
/**
28-
* com_admin does not require check permission, so we override checkAccess method and have it empty
28+
* Method to check component access permission
2929
*
3030
* @return void
3131
*

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

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

2323
/**
24-
* Field to load a list of all users that have logged actions
24+
* Field to load a list of all extensions that have logged actions
2525
*
2626
* @since 3.9.0
2727
*/

administrator/components/com_guidedtours/src/Model/StepsModel.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public function __construct($config = [])
5050
'created_by', 'a.created_by',
5151
'modified', 'a.modified',
5252
'modified_by', 'a.modified_by',
53+
'note', 'a.note',
5354
];
5455
}
5556

@@ -200,9 +201,10 @@ protected function getListQuery()
200201
$search = '%' . str_replace(' ', '%', trim($search)) . '%';
201202
$query->where(
202203
'(' . $db->quoteName('a.title') . ' LIKE :search1'
203-
. ' OR ' . $db->quoteName('a.description') . ' LIKE :search2)'
204+
. ' OR ' . $db->quoteName('a.description') . ' LIKE :search2'
205+
. ' OR ' . $db->quoteName('a.note') . ' LIKE :search3)'
204206
)
205-
->bind([':search1', ':search2'], $search);
207+
->bind([':search1', ':search2', ':search3'], $search);
206208
}
207209
}
208210

administrator/components/com_guidedtours/src/Model/ToursModel.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public function __construct($config = [])
5151
'created_by', 'a.created_by',
5252
'modified', 'a.modified',
5353
'modified_by', 'a.modified_by',
54+
'note', 'a.note',
5455
];
5556
}
5657

@@ -220,9 +221,10 @@ public function getListQuery()
220221
$search = '%' . str_replace(' ', '%', trim($search)) . '%';
221222
$query->where(
222223
'(' . $db->quoteName('a.title') . ' LIKE :search1'
223-
. ' OR ' . $db->quoteName('a.description') . ' LIKE :search2)'
224+
. ' OR ' . $db->quoteName('a.description') . ' LIKE :search2'
225+
. ' OR ' . $db->quoteName('a.note') . ' LIKE :search3)'
224226
)
225-
->bind([':search1', ':search2'], $search);
227+
->bind([':search1', ':search2', ':search3'], $search);
226228
}
227229
}
228230

administrator/components/com_joomlaupdate/src/Controller/UpdateController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function download()
5959
$message = null;
6060
$messageType = null;
6161

62-
// The validation was not successful so abort.
62+
// The validation was not successful so stop.
6363
if ($result['check'] === false) {
6464
$message = Text::_('COM_JOOMLAUPDATE_VIEW_UPDATE_CHECKSUM_WRONG');
6565
$messageType = 'error';

administrator/components/com_joomlaupdate/src/Dispatcher/Dispatcher.php

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

2020
/**
21-
* ComponentDispatcher class for com_admin
21+
* ComponentDispatcher class for com_joomlaupdate
2222
*
2323
* @since 4.0.0
2424
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default {
7777
}
7878
7979
return this.item.thumb_path.split(Joomla.getOptions('system.paths').rootFull).length > 1
80-
? `${this.item.thumb_path}?${api.mediaVersion}`
80+
? `${this.item.thumb_path}?${this.item.modified_date ? new Date(this.item.modified_date).valueOf() : api.mediaVersion}`
8181
: `${this.item.thumb_path}`;
8282
},
8383
width() {

administrator/components/com_menus/presets/alternate.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,14 @@
349349
permission="core.manage;com_joomlaupdate"
350350
/>
351351

352+
<menuitem
353+
title="MOD_MENU_MANAGE_GUIDEDTOURS"
354+
type="component"
355+
element="com_guidedtours"
356+
link="index.php?option=com_guidedtours&amp;view=tours"
357+
permission="core.manage;com_guidedtours"
358+
/>
359+
352360
<menuitem
353361
title="COM_POSTINSTALL"
354362
type="component"

administrator/components/com_newsfeeds/src/Table/NewsfeedTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function check()
118118
$this->metadesc = StringHelper::str_ireplace($bad_characters, '', $this->metadesc);
119119
}
120120

121-
if (is_null($this->hits)) {
121+
if (!$this->hits) {
122122
$this->hits = 0;
123123
}
124124

administrator/components/com_users/src/Helper/Mfa.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public static function getConfigurationInterface(User $user): ?string
114114
$view->returnURL = base64_encode(Uri::getInstance()->toString());
115115
$view->user = $user;
116116
$view->set('forHMVC', true);
117+
$view->setLanguage($app->getLanguage());
117118

118119
@ob_start();
119120

0 commit comments

Comments
 (0)