Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.1] Upmerges 2024-08-10 #43901

Merged
merged 33 commits into from
Aug 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ed9e9e1
Joomla! 4.4.6 Release Candidate 1
bembelimen Jul 4, 2024
0434d7b
Revert to dev
bembelimen Jul 4, 2024
e1c51ee
Prepare Joomla! 4.4.6 581
MacJoom Jul 8, 2024
3d9e88d
Prepare Joomla! 4.4.6 585
MacJoom Jul 8, 2024
e1eac60
Prepare Joomla! 4.4.6 589
MacJoom Jul 8, 2024
ce38a59
Prepare Joomla! 4.4.6 592
MacJoom Jul 8, 2024
93db036
Prepare Joomla! 4.4.6 594
MacJoom Jul 8, 2024
ae87846
Joomla! 4.4.6 Stable
MacJoom Jul 8, 2024
4fca71b
Revert to dev
MacJoom Jul 9, 2024
25168d3
[4.4] Fix display of total votes (#43740)
QuyTon Jul 10, 2024
7133483
execute-manual (#43750)
alikon Jul 11, 2024
cba319d
Fix wrong search for id in fields groups (#43774)
chmst Jul 13, 2024
8bceedb
Fix copy/paste (#43782)
chmst Jul 19, 2024
1221ba2
2nd ESM Update tests/System/README.md (#43731)
muhme Jul 22, 2024
1b5560a
Backendmenu: Fixing export of additionla features for menu items (#43…
Hackwar Jul 24, 2024
29ee5c2
[4.4] Typo Update showon.es6.js (#43848)
brianteeman Jul 26, 2024
4a21f3e
Don't execute max system tests on pr commits (#43846)
laoneo Jul 29, 2024
0959556
[4.4][bugfix] Use iife for the scripts core and validate (#43755)
dgrammatiko Aug 1, 2024
dfe907c
[4.4] Fix missing $db->quoteName in FieldLayoutField (#43851)
LadySolveig Aug 1, 2024
936d1ee
Fix syntax (#43818)
QuyTon Aug 2, 2024
7202543
[4.x] Fix com_content batch modal button logic (#43651)
SniperSister Aug 2, 2024
69a6529
[4.4] fixing typo (#43875)
hans2103 Aug 2, 2024
789ed19
Multiselect do not interfere with interactive elements (#43574)
Fedik Aug 5, 2024
c73f790
[4.4] Fix SQL field, get the filter value from the linked filter fiel…
Fedik Aug 5, 2024
23afb6d
Checking id is set as down-merge from 5.1-dev (#43879)
muhme Aug 6, 2024
fd67382
Setting publish_up in db_createArticle (#43881)
muhme Aug 6, 2024
897f05b
Checking id is set as down-merge from 5.1-dev (#43880)
muhme Aug 6, 2024
2f275c0
Update Captcha.php (#43888)
artur-stepien Aug 6, 2024
98a4b2a
Revert 42934 (#43827)
Fedik Aug 6, 2024
46c3bc0
[4.4] Use joomla-cypress 1.1.1 (#43722)
muhme Aug 7, 2024
2284c09
[4.0] close collapse when opening a dropdown (#43891)
hans2103 Aug 9, 2024
7aaa9d3
[4.4] Form Text Field: Translate text for frontend validation (#43198)
Hackwar Aug 9, 2024
7f400b8
Merge remote-tracking branch 'Joomla/4.4-dev' into upmerges/2024-08-10
bembelimen Aug 10, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class VotelistField extends ListField
*
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as as an array container for the field.
* @param string $group The field name group control value. This acts as an array container for the field.
* For example if the field has name="foo" and the group value is set to "bar" then the
* full field name would end up being "bar[foo]".
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class VoteradioField extends RadioField
*
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as as an array container for the field.
* @param string $group The field name group control value. This acts as an array container for the field.
* For example if the field has name="foo" and the group value is set to "bar" then the
* full field name would end up being "bar[foo]".
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ protected function addToolbar()
if (
$user->authorise('core.create', 'com_content')
&& $user->authorise('core.edit', 'com_content')
&& $user->authorise('core.execute.transition', 'com_content')
) {
$childBar->popupButton('batch', 'JTOOLBAR_BATCH')
->popupType('inline')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ protected function getInput()
// Build the query.
$query->select('element, name')
->from('#__extensions')
->where('client_id = 0')
->where('type = ' . $db->quote('template'))
->where('enabled = 1');
->where($db->quoteName('client_id') . ' = 0')
->where($db->quoteName('type') . ' = ' . $db->quote('template'))
->where($db->quoteName('enabled') . ' = 1');

// Set the query and load the templates.
$db->setQuery($query);
Expand Down
2 changes: 1 addition & 1 deletion administrator/components/com_users/src/Helper/Mfa.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static function getConfigurationInterface(User $user): ?string
/** @var CMSApplication $app */
$app = Factory::getApplication();

if (!$app->getInput()->getCmd('option', '') === 'com_users') {
if ($app->getInput()->getCmd('option', '') !== 'com_users') {
$app->getLanguage()->load('com_users');
$app->getDocument()
->getWebAssetManager()
Expand Down
9 changes: 8 additions & 1 deletion build/build-modules-js/javascript/compile-to-es2017.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ const { renderSync } = require('sass-embedded');
const { minifyJsCode } = require('./minify.es6.js');
const { getPackagesUnderScope } = require('../init/common/resolve-package.es6.js');

function esmOrIife(file) {
if (file.endsWith('core.es6.js') || file.endsWith('validate.es6.js')) {
return 'iife';
}
return 'es';
}

const getWcMinifiedCss = async (file) => {
let scssFileExists = false;
const scssFile = file.replace(`${sep}js${sep}`, `${sep}scss${sep}`).replace(/\.w-c\.es6\.js$/, '.scss');
Expand Down Expand Up @@ -126,7 +133,7 @@ module.exports.handleESMFile = async (file) => {
});

bundle.write({
format: 'es',
format: esmOrIife(file),
sourcemap: false,
file: resolve(`${newPath}.js`),
})
Expand Down
Loading