Skip to content

Commit 846c9ab

Browse files
Merge branch 'master' into dependabot/npm_and_yarn/uglify-js-3.19.3
2 parents 9881cf7 + 0c4a116 commit 846c9ab

File tree

15 files changed

+152
-2496
lines changed

15 files changed

+152
-2496
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## Version 24.05.11
2+
Fixes:
3+
- [cache] Use a cursor without timeout
4+
5+
## Version 24.05.10
6+
Fixes:
7+
- [alerts] Alerts improvements
8+
- [core] Various fixes for frontend to support running countly from subdirectory
9+
- [logs] Show collected problems on logger
10+
11+
Enterprise fixes:
12+
- [data-manager] Fixes n UI to allow events starting with "/"
13+
- [flows] Fixes for flows step generation
14+
- [surveys] Other is not allowed as a valid answer for required questions
15+
116
## Version 24.05.9
217
Fixes:
318
- [crashes] Fix crashes template paths and add data check

api/config.sample.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ var countlyConfig = {
9999
* @property {string} algorithm - name of the algorithm to use for encryption. The algorithm is dependent on OpenSSL, examples are 'aes192', etc. On recent OpenSSL releases, openssl list-cipher-algorithms will display the available cipher algorithms. Default value is aes-256-cbc
100100
* @property {string} input_encoding - how encryption input is encoded. Used as output for decrypting. Default utf-8.
101101
* @property {string} output_encoding - how encryption output is encoded. Used as input for decrypting. Default hex.
102+
* @property {string} reports_key - key used for encryption of reports links
102103
*/
103104
encryption: {},
104105

api/parts/data/cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ class StreamedCollection {
971971
let [col, last] = await createCollection(this.db, this.name, 1e7);
972972

973973
this.col = col;
974-
this.stream = col.find({_id: {$gt: last}}, {tailable: true, awaitData: true, numberOfRetries: -1}).stream();
974+
this.stream = col.find({_id: {$gt: last}}, {tailable: true, awaitData: true, noCursorTimeout: true, numberOfRetries: -1}).stream();
975975

976976
this.stream.on('data', doc => {
977977
if (this.inserts.indexOf(doc._id.toString()) !== -1) {

api/parts/data/fetch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,7 +1589,7 @@ function fetchTimeObj(collection, params, isCustomEvent, options, callback) {
15891589
options = {};
15901590
}
15911591

1592-
if (typeof options === "undefined") {
1592+
if (!options) {
15931593
options = {};
15941594
}
15951595

@@ -1679,7 +1679,7 @@ function fetchTimeObj(collection, params, isCustomEvent, options, callback) {
16791679

16801680
var zeroDocs = [zeroIdToFetch];
16811681
var monthDocs = [monthIdToFetch];
1682-
if (!(options && options.dontBreak)) {
1682+
if (!options.dontBreak) {
16831683
for (let i = 0; i < common.base64.length; i++) {
16841684
zeroDocs.push(zeroIdToFetch + "_" + common.base64[i]);
16851685
monthDocs.push(monthIdToFetch + "_" + common.base64[i]);

frontend/express/public/core/events/javascripts/countly.details.views.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* global countlyVue, countlyGlobal, countlyAllEvents, countlyCommon, CV,app*/
1+
/* global countlyVue, countlyGlobal, countlyAllEvents, countlyCommon, CountlyHelpers, CV,app*/
22
(function() {
33
var EventsTable = countlyVue.views.create({
44
template: CV.T("/core/events/templates/eventsTable.html"),
@@ -400,9 +400,10 @@
400400
clyModel: countlyAllEvents
401401
}],
402402
});
403-
app.route("/analytics/events/key/:eventKey", "events", function(eventKey) {
403+
app.route("/analytics/events/key/*eventKey", "events", function(query) {
404+
var queryUrlParameter = query && CountlyHelpers.isJSON(query) ? JSON.parse(query) : query;
404405
var params = {
405-
eventKey: eventKey
406+
eventKey: queryUrlParameter
406407
};
407408
var eventsViewWrapper = getAllEventsView();
408409
eventsViewWrapper.params = params;

frontend/express/public/core/events/javascripts/countly.overview.views.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
methods: {
1414
onRowClick: function(params) {
15-
app.navigate("#/analytics/events/key/" + params.key, true);
15+
app.navigate("#/analytics/events/key/" + JSON.stringify(params.key), true);
1616
},
1717
formatNumber: function(val) {
1818
return countlyCommon.formatNumber(val);
@@ -243,7 +243,7 @@
243243
this.$store.dispatch('countlyEventsOverview/fetchMonitorEvents');
244244
},
245245
onMetricClick: function(params) {
246-
app.navigate("#/analytics/events/key/" + params.key, true);
246+
app.navigate("#/analytics/events/key/" + JSON.stringify(params.key), true);
247247
},
248248
durCheck: function(item) {
249249
var eventMapKey = item.eventKey;

frontend/express/public/javascripts/dom/gridstack/gridstack-h5.js

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

0 commit comments

Comments
 (0)