Skip to content

Commit 06319a4

Browse files
authored
Merge branch 'master' into dependabot/npm_and_yarn/sharp-0.34.2
2 parents 8a23c80 + 9c733b8 commit 06319a4

12 files changed

Lines changed: 722 additions & 551 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Enterprise Features:
55

66
Fixes:
77
- [core] Unifying alphabetical order for dropdowns with dashboard apps
8+
- [hooks] Added null check for incoming data
89

910
Enterprise Fixes:
1011
- [content] Asset URL was wrongly constructed when user switches between apps
@@ -16,6 +17,7 @@ Enterprise Fixes:
1617
Dependencies:
1718
- Bump eslint-plugin-vue from 9.33.0 to 10.1.0
1819
- Bump lint-staged from 15.5.2 to 16.0.0
20+
- Bump moment-timezone from 0.5.48 to 0.6.0
1921
- Bump nodemailer from 6.10.1 to 7.0.3
2022
- Bump puppeteer from 24.8.0 to 24.9.0
2123
- Bump sass from 1.87.0 to 1.89.0

api/utils/countly-request/package-lock.json

Lines changed: 11 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/scripts/timezones/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/scripts/timezones/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"homepage": "https://count.ly/",
2424
"dependencies": {
25-
"moment-timezone": "0.5.48",
25+
"moment-timezone": "0.6.0",
2626
"node-fetch": "3.3.2"
2727
}
2828
}

frontend/express/public/core/report-manager/templates/reportmanager-dialog.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div>
22
<slot :showDialog="showDialog" name="trigger">
3-
<el-button @click="showDialog" :disabled="disabled" type="default" size="small">
3+
<el-button data-test-id="last-queries-button" @click="showDialog" :disabled="disabled" type="default" size="small">
44
<div v-show="unread > 0" class="cly-bullet cly-bullet--orange bu-mr-1"></div>
55
Last queries
66
<span class="bu-tag is-curved">{{runningCount}}</span>
@@ -13,4 +13,4 @@
1313
:visible.sync="isDialogVisible">
1414
<cly-report-manager-table maxHeight="400px" @view-task="onViewTask" :disableAutoNavigationToTask="disableAutoNavigationToTask" report-type="auto" :fixed-origin="origin" compact></cly-report-manager-table>
1515
</cly-dialog>
16-
</div>
16+
</div>

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"mcc-mnc-list": "1.1.11",
8585
"method-override": "3.0.0",
8686
"moment": "2.30.1",
87-
"moment-timezone": "0.5.48",
87+
"moment-timezone": "0.6.0",
8888
"mongodb": "6.16.0",
8989
"nginx-conf": "2.1.0",
9090
"nodemailer": "7.0.3",

plugins/hooks/api/parts/triggers/incoming_data.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ class IncomingDataTrigger {
189189
*/
190190
function assertOperation(value, filterObj) {
191191
var matched = true;
192+
if (typeof value === 'undefined' || value === null) {
193+
return false;
194+
}
192195
if (filterObj.$in && filterObj.$in.indexOf(value) === -1) {
193196
matched = false;
194197
}

plugins/star-rating/api/api.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ function uploadFile(myfile, id, callback) {
474474
params.app_user = params.app_user || {};
475475

476476
var user = JSON.parse(JSON.stringify(params.app_user));
477-
common.db.collection('feedback_widgets').find({"app_id": params.app_id + "", "status": true, type: "rating"}, {_id: 1, popup_header_text: 1, cohortID: 1, type: 1, appearance: 1, showPolicy: 1, trigger_position: 1, hide_sticker: 1, trigger_bg_color: 1, trigger_font_color: 1, trigger_button_text: 1, trigger_size: 1, target_pages: 1}).toArray(function(err, widgets) {
477+
common.db.collection('feedback_widgets').find({"app_id": params.app_id + "", "status": true, type: "rating"}, {_id: 1, popup_header_text: 1, cohortID: 1, type: 1, appearance: 1, showPolicy: 1, trigger_position: 1, hide_sticker: 1, trigger_bg_color: 1, trigger_font_color: 1, trigger_button_text: 1, trigger_size: 1, target_pages: 1, wv: 1}).toArray(function(err, widgets) {
478478
if (err) {
479479
log.e(err);
480480
reject(err);
@@ -492,6 +492,7 @@ function uploadFile(myfile, id, callback) {
492492
}
493493
widget.tg = widget.target_pages;
494494
widget.name = widget.popup_header_text;
495+
widget.wv = widget.wv?.toString() || null;
495496
// remove this props from response
496497
delete widget.hide_sticker;
497498
delete widget.trigger_position;
@@ -565,6 +566,11 @@ function uploadFile(myfile, id, callback) {
565566
phone: true,
566567
tablet: true
567568
};
569+
/**
570+
* NOTE: This property is used to help SDK identify if the widget has the new handling for close button and
571+
* allows widget to be fullscreen. Since the server will support this from here on, it can be hardcoded.
572+
*/
573+
widget.wv = 1;
568574

569575
//widget.created_by = common.db.ObjectID(obParams.member._id);
570576
validateCreate(obParams, FEATURE_NAME, function(params) {

plugins/star-rating/frontend/public/stylesheets/ratings-iframe.scss

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
.ratings-popup .modal-content {
66
.hidden {
77
display: none;
8-
}
8+
}
99

10-
.disabled {
10+
.disabled {
1111
cursor: auto !important;
1212
opacity: 0.5;
13-
}
13+
}
14+
1415
border-radius: 13px;
1516
background-color: white;
1617
padding: 0px 25px 40px 25px;
@@ -31,6 +32,17 @@
3132
cursor: pointer;
3233
}
3334
}
35+
36+
/* .ratings-popup .modal-content--fullscreen */
37+
&--fullscreen {
38+
margin: 40px 0;
39+
height: calc(100vh - 100px);
40+
41+
/* .ratings-popup--fullscreen .modal-content__top */
42+
&__top {
43+
margin-top: 0px;
44+
}
45+
}
3446
}
3547

3648
.ratings-popup .emotions-area {
@@ -228,4 +240,4 @@
228240

229241
.rating-loader-wrapper .rating-loader {
230242
width: 50px;
231-
}
243+
}

0 commit comments

Comments
 (0)