Skip to content

Commit

Permalink
Merge pull request concretecms#11830 from aembler/misc-fixes-120623
Browse files Browse the repository at this point in the history
Misc. Fixes 9.2.4
  • Loading branch information
aembler authored Dec 7, 2023
2 parents 4075c46 + 06e7e33 commit b63df16
Show file tree
Hide file tree
Showing 20 changed files with 50 additions and 25 deletions.
10 changes: 5 additions & 5 deletions build/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"production": "mix --production"
},
"devDependencies": {
"@concretecms/bedrock": "^1.4.10",
"@concretecms/bedrock": "^1.4.12",
"cross-env": "^5.1.1",
"download": "~8.0.0",
"grunt": "^1.5.3",
Expand Down
2 changes: 1 addition & 1 deletion build/tasks/build-release/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const download = require('download');

module.exports = function(grunt, config, parameters, done) {
var zipUrl = parameters.releaseSourceZip || 'https://github.com/concretecms/concretecms/archive/refs/tags/9.2.3.zip';
var zipUrl = parameters.releaseSourceZip || 'https://github.com/concretecms/concretecms/archive/refs/tags/9.2.4.zip';
var workFolder = parameters.releaseWorkFolder || './release';
function endForError(e) {
process.stderr.write(e.message || e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@
margin-right: 10px;
padding: 0;
}

.ccm-block-share-this-page {
svg {
max-height: 13px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@
margin-right: 10px;
padding: 0;
}

.ccm-block-social-links {
svg {
max-height: 13px;
}
}
4 changes: 2 additions & 2 deletions concrete/config/concrete.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*
* @var string
*/
'version' => '9.2.3',
'version_installed' => '9.2.3',
'version' => '9.2.4',
'version_installed' => '9.2.4',
'version_db' => '20231207100748', // the key of the latest database migration

/*
Expand Down
6 changes: 3 additions & 3 deletions concrete/config/install/base/attributes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@
<attributekey handle="meta_keywords" name="Meta Keywords" package="" searchable="1" indexed="0" type="textarea" category="collection">
<type mode=""/>
</attributekey>
<attributekey handle="desktop_priority" name="Desktop Priority" package="" searchable="0" indexed="0" type="number" internal="1" category="collection" />
<attributekey handle="is_desktop" name="Is Desktop" package="" searchable="0" indexed="0" type="boolean" internal="1" category="collection" />
<attributekey handle="icon_dashboard" name="Dashboard Icon" package="" searchable="0" indexed="0" type="textarea" internal="1" category="collection">
<attributekey handle="desktop_priority" name="Desktop Priority" package="" searchable="1" indexed="0" type="number" internal="1" category="collection" />
<attributekey handle="is_desktop" name="Is Desktop" package="" searchable="1" indexed="0" type="boolean" internal="1" category="collection" />
<attributekey handle="icon_dashboard" name="Dashboard Icon" package="" searchable="1" indexed="0" type="textarea" internal="1" category="collection">
<type mode=""/>
</attributekey>
<attributekey handle="exclude_nav" name="Exclude From Nav" package="" searchable="1" indexed="0" type="boolean" category="collection">
Expand Down
1 change: 1 addition & 0 deletions concrete/controllers/dialog/file/bulk/sets.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public function submit()
foreach ($this->files as $file) {
if ($fsp->canAddFile($file)) {
switch ($value) {
case '':
case '0':
if ($file->inFileSet($fs)) {
$fs->removeFileFromSet($file);
Expand Down
2 changes: 1 addition & 1 deletion concrete/css/features/social/frontend.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 13 additions & 4 deletions concrete/elements/files/bulk/add_to_sets.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
$checkbox->addClass("form-check-input");
$checkbox->setAttribute("id", $id);

$input = new Input('hidden', 'fsID:' . $fileset->getFileSetID(), $fileset->getFileSetID());
$input = new Input('hidden', 'fsID:' . $fileset->getFileSetID());
$input->setAttribute('data-set-input', $fileset->getFileSetID());

$found = 0;
Expand Down Expand Up @@ -96,7 +96,16 @@
$('#ccm-file-set-list input.tristate').tristate({
change: function (state) {
let $input = $('input[data-set-input=' + $(this).attr('data-set') + ']');

if (state === null) {
$input.val(1);
} else if (state === true) {
$input.val(2);
} else if (state !== true) {
$input.val(0);
}
},
init: function(state) {
let $input = $('input[data-set-input=' + $(this).attr('data-set') + ']');
if (state === null) {
$input.val(1);
} else if (state === true) {
Expand All @@ -105,7 +114,7 @@
$input.val(0);
}
}
});
})
$('#ccm-file-set-list input[type=checkbox]:not(".tristate")').on('change', function () {
let $input = $('input[data-set-input=' + $(this).attr('data-set') + ']');

Expand All @@ -114,6 +123,6 @@
} else {
$input.val(0);
}
});
}).trigger('change')
});
</script>
2 changes: 1 addition & 1 deletion concrete/js/cms.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion concrete/js/features/documents/frontend.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion concrete/src/Sharing/ShareThisPage/ServiceList.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ protected static function getServices()
{
return array(
array('facebook', 'Facebook', 'fab fa-facebook'),
array('twitter', 'X', null, '<svg width="auto" height="auto" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg>'),
array('twitter', 'X', null, '<svg width="auto" height="auto" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg>'),
array('linkedin', 'LinkedIn', 'fab fa-linkedin'),
array('reddit', 'Reddit', 'fab fa-reddit'),
array('pinterest', 'Pinterest', 'fab fa-pinterest'),
Expand Down
2 changes: 1 addition & 1 deletion concrete/src/Sharing/SocialNetwork/ServiceList.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ protected static function getServices()
{
$services = [
['facebook', 'Facebook', 'fab fa-facebook'],
['twitter', 'X', null, '<svg width="auto" height="auto" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg>'],
['twitter', 'X', null, '<svg width="auto" height="auto" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg>'],
['instagram', 'Instagram', 'fab fa-instagram'],
['tumblr', 'Tumblr', 'fab fa-tumblr-square'],
['github', 'Github', 'fab fa-github-square'],
Expand Down
2 changes: 2 additions & 0 deletions concrete/themes/atomik/css/scss/features/_social.scss
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
// Import base stylesheets
@import "@concretecms/bedrock/assets/social/scss/frontend/frontend";
@import "social/share-this-page";
2 changes: 1 addition & 1 deletion concrete/themes/atomik/css/skins/default.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion concrete/themes/atomik/css/skins/rustic-elegance.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion concrete/themes/atomik/main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions concrete/themes/atomik/page_theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function getThemeSupportedFeatures()
Features::ACCORDIONS,
Features::DESKTOP,
Features::BASICS,
Features::SOCIAL,
Features::TYPOGRAPHY,
Features::DOCUMENTS,
Features::CONVERSATIONS,
Expand Down
2 changes: 1 addition & 1 deletion concrete/themes/dashboard/main.js

Large diffs are not rendered by default.

0 comments on commit b63df16

Please sign in to comment.