Skip to content

Commit d898c78

Browse files
authored
Merge branch 'next' into anna/next
2 parents 8c3d989 + 5864276 commit d898c78

File tree

32 files changed

+2348
-1511
lines changed

32 files changed

+2348
-1511
lines changed

CHANGELOG.md

Lines changed: 83 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,72 @@
1-
## Version 24.10.3
1+
## Version 24.12
2+
Features:
3+
- [audit-logs] Exported audit logs from UI now would have "BEFORE" and "AFTER" fields
4+
- [core] Ability to mark reports as 'dirty' to make sure they are regenerated in full
5+
- [core] Adding a cancel button to "create new app" form
6+
- [core] Adding a nightly job to delete old data
7+
- [core] Redirecting user to a newly created app
8+
- [core] Removing HTML from localization files
9+
- [core] Showing a flex banner on sidebar if the version is Countly Lite
10+
- [crashes] Adding confirmation for deleting crash groups
11+
- [dashoards] Fixed the "Add/ manage notes" button that did not work for the technology widget
12+
- [dbviewer] Preventing aggregation of using any stages which might open user to harmful actions (like $merge, $out, $lookup, $uninonWith) for all users except global admin
13+
- [populator] Adding ability to select features to populate and other small improvements
14+
15+
Enterprise Features:
16+
- [cohorts] Adding ability to edit cohorts. This deletes historical calculations
17+
- [content] Adding "Content Builder" feature
18+
- [core] Adding support For SingleStore Kai
19+
- [flows] Adding UX improvements to the editor
20+
- [journey_engine] Adding "Journey Engine" feature
21+
- [remote-config] Moving enable/disable functionality to the dropdown
22+
23+
Dependencies:
24+
- Bump countly-sdk-nodejs from 22.6.0 to 24.10.0
25+
- Bump countly-sdk-web from 24.4.1 to 24.11.0
26+
- Bump form-data from 4.0.0 to 4.0.1
27+
- Bump jimp from 0.22.12 to 1.6.0
28+
- Bump jsdoc from 4.0.3 to 4.0.4
29+
- Bump nodemailer from 6.9.15 to 6.9.16
30+
- Bump puppeteer from 23.8.0 to 23.9.0
31+
- Bump tslib from 2.7.0 to 2.8.1
32+
33+
## Version 24.10
34+
Fixes:
35+
- [core] Correct aggregated collection cleanup on event omitting
36+
- [core] Interpreting carrier value of "--" as an unknown value
37+
- [core] Removed use of commands which needs admin rights from report manager.
38+
- [crash] Fixed issues with visualisation of Flutter stack traces
39+
- [dashoards] If a user is given access to a dashboard, they will now be able to see all widgets even if they don't have access to the underlying data
40+
- [density] UI fixed
41+
- [events] Fixed issue where slower loading data would replace newest event selection
42+
43+
Enterprise fixes:
44+
- [crashes-jira] Preventing crashing when jira authentification fails
45+
- [formulas] Removing HTML from tooltip localization
46+
47+
Features:
48+
- Making user guide icons stand out more before first use
49+
- [alerts] UI improvements
50+
- [alerts] small improvements in email notifications
51+
- [code] Unifying bottom menu for bulk operations
52+
- [core] Aggregated events data collections merged together
53+
- [nps] UI improvements
54+
- [surveys] UI improvements
55+
- upgraded mongoDB to version 8
56+
- upgraded nodejs to version 20
57+
58+
Enterprise Features:
59+
- [crash_symbolication] Added ability to set custom domain override for the symbolication server
60+
- [drill] Drill "by query" vizualization improved
61+
- [drill] Drill data collections merged together
62+
- [events] Added a quick transition to drill
63+
- [hooks] Added audit log entries for hook "create", "edit", "delete", "update" actions
64+
- [users] "Last Session" column in User Profiles is now sortable
65+
- [users] Crashes in the crashes tab can now be sorted
66+
- [users] UI improvements
67+
- [views] Added a quick transition to drill
68+
69+
## Version 24.05.19
270
Fixes:
371
- [dashboards] Fixing issue where dashboard widgets go into single column
472

@@ -10,78 +78,49 @@ Security:
1078
- Bump cross-spawn from 7.0.3 to 7.0.6 in /ui-tests
1179
- Bump cross-spawn from 7.0.3 to 7.0.6 in /plugins/hooks
1280

13-
## Version 24.10.2
81+
## Version 24.05.18
1482
Fixes:
15-
- [core] Correct aggregated collection cleanup on event omitting
1683
- [core] Fixed bug where changing passwords results in the loss of the "Global Admin" role
1784
- [core] Fixed bug where exporting incoming data logs could result in "Incorrect parameter \"data\" error
18-
- [core] Removed use of commands which needs admin rights from report manager.
1985
- [crash] Fixed bug in crash ingestion for scenarios where the "app version" is not a string.
2086
- [script] Fixing bug with "delete_old_members" script that led to malformed requests
2187

2288
Enterprise fixes:
2389
- [nps] Fixed bug that showed the wrong nps preview title
2490

25-
## Version 24.10.1
91+
## Version 24.05.17
2692
Fixes:
27-
- [core] Replaced "Users" with "Sessions" label on technology home widgets
2893
- [push] Improved ability to observe push related errors
29-
- [push] Replaced push plugin with an earlier version of the plugin
3094

3195
Enterprise fixes:
3296
- [cohorts] Fixed issues with nightly cleanup
3397
- [data-manager] Fixed UI bug where rules were not visible when editing "Merge by regex" transformations
34-
- [drill] Fixed wrong pie chart label tooltip in dashboard widget
98+
- [drill] Fixed wrong pie chart label tooltip in dashboard widget
3599
- [flows] Fixed bug in case of null data in schema
36-
- [license] Fixed bug with MAU type of licenses that would prevent the server from starting
37100
- [nps] Fixed bug in the editor where the "internal name" field was not mandatory
38-
- [nps] Fixed bug where it was possible to submit empty nps surveys
39-
- [ratings] Fixed bug with user consent
40101
- [ratings] Fixed UI bug where "Internal name" was not a mandatory field
41102

42103
Security:
43-
- Bumped cookie-parser from 1.4.6 to 1.4.7
44-
- Bumped express-rate-limit from 7.4.0 to 7.4.1
45-
- Bumped moment-timezone from 0.5.45 to 0.5.46
46-
- Bumped sass from 1.79.3 to 1.79.4
47104
- Fixing minor vulnerability that would allow for unauthorized file upload
48105

49106
Enterprise Features:
50107
- [block] Added a way to filter crashes by their error (stacktrace)
51108

52-
## Version 24.10
109+
## Version 24.05.16
53110
Fixes:
54-
- [core] Interpreting carrier value of "--" as an unknown value
55-
- [crash] Fixed issues with visualisation of Flutter stack traces
56-
- [dashoards] If a user is given access to a dashboard, they will now be able to see all widgets even if they don't have access to the underlying data
57-
- [density] UI fixed
58-
- [events] Fixed issue where slower loading data would replace newest event selection
111+
- [core] Replaced "Users" with "Sessions" label on technology home widgets
112+
- [push] Replaced push plugin with an earlier version of the plugin
59113

60114
Enterprise fixes:
61-
- [crashes-jira] Preventing crashing when jira authentification fails
62-
- [formulas] Removing HTML from tooltip localization
63-
64-
Features:
65-
- Making user guide icons stand out more before first use
66-
- [alerts] UI improvements
67-
- [alerts] small improvements in email notifications
68-
- [code] Unifying bottom menu for bulk operations
69-
- [core] Aggregated events data collections merged together
70-
- [nps] UI improvements
71-
- [surveys] UI improvements
72-
- upgraded mongoDB to version 7
73-
- upgraded nodejs to version 20
115+
- [license] Fixed bug with MAU type of licenses that would prevent the server from starting
116+
- [nps] Fixed bug where it was possible to submit empty nps surveys
117+
- [ratings] Fixed bug with user consent
74118

75-
Enterprise Features:
76-
- [crash_symbolication] Added ability to set custom domain override for the symbolication server
77-
- [drill] Drill "by query" vizualization improved
78-
- [drill] Drill data collections merged together
79-
- [events] Added a quick transition to drill
80-
- [hooks] Added audit log entries for hook "create", "edit", "delete", "update" actions
81-
- [users] "Last Session" column in User Profiles is now sortable
82-
- [users] Crashes in the crashes tab can now be sorted
83-
- [users] UI improvements
84-
- [views] Added a quick transition to drill
119+
Security:
120+
- Bumped cookie-parser from 1.4.6 to 1.4.7
121+
- Bumped express-rate-limit from 7.4.0 to 7.4.1
122+
- Bumped moment-timezone from 0.5.45 to 0.5.46
123+
- Bumped sass from 1.79.3 to 1.79.4
85124

86125
## Version 24.05.15
87126
Enterprise fixes:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM phusion/baseimage:focal-1.2.0
22

33
ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,logger,systemlogs,populator,reports,crashes,push,star-rating,slipping-away-users,compare,server-stats,dbviewer,times-of-day,compliance-hub,alerts,onboarding,consolidate,remote-config,hooks,dashboards,sdk,data-manager,guides
44
# Countly Enterprise:
5-
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides
5+
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides,journey_engine,content
66

77
ARG COUNTLY_CONFIG_API_MONGODB_HOST=localhost
88
ARG COUNTLY_CONFIG_FRONTEND_MONGODB_HOST=localhost

Dockerfile-api

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM node:hydrogen-bullseye-slim
22

33
ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,logger,systemlogs,populator,reports,crashes,push,star-rating,slipping-away-users,compare,server-stats,dbviewer,times-of-day,compliance-hub,alerts,onboarding,consolidate,remote-config,hooks,dashboards,sdk,data-manager,guides
44
# Countly Enterprise:
5-
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides
5+
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides,journey_engine,content
66

77
ARG GEOIP=empty
88
EXPOSE 3001

Dockerfile-centos-api

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM centos:8
22

33
ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,logger,systemlogs,populator,reports,crashes,push,star-rating,slipping-away-users,compare,server-stats,dbviewer,times-of-day,compliance-hub,alerts,onboarding,consolidate,remote-config,hooks,dashboards,sdk,data-manager,guides
44
# Countly Enterprise:
5-
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides
5+
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides,journey_engine,content
66

77
ARG GEOIP=empty
88
EXPOSE 3001

Dockerfile-centos-frontend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM centos:8
22

33
ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,logger,systemlogs,populator,reports,crashes,push,star-rating,slipping-away-users,compare,server-stats,dbviewer,times-of-day,compliance-hub,alerts,onboarding,consolidate,remote-config,hooks,dashboards,sdk,data-manager,guides
44
# Countly Enterprise:
5-
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides
5+
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides,journey_engine,content
66

77
EXPOSE 6001
88
HEALTHCHECK --start-period=400s CMD curl --fail http://localhost:6001/ping || exit 1

Dockerfile-core

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM phusion/baseimage:focal-1.2.0
22

33
ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,logger,systemlogs,populator,reports,crashes,push,star-rating,slipping-away-users,compare,server-stats,dbviewer,times-of-day,compliance-hub,alerts,onboarding,consolidate,remote-config,hooks,dashboards,sdk,data-manager,guides
44
# Countly Enterprise:
5-
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides
5+
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides,journey_engine,content
66

77
ARG COUNTLY_CONFIG_API_MONGODB_HOST=localhost
88
ARG COUNTLY_CONFIG_FRONTEND_MONGODB_HOST=localhost

Dockerfile-frontend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM node:hydrogen-bullseye-slim
22

33
ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,logger,systemlogs,populator,reports,crashes,push,star-rating,slipping-away-users,compare,server-stats,dbviewer,times-of-day,compliance-hub,alerts,onboarding,consolidate,remote-config,hooks,dashboards,sdk,data-manager,guides
44
# Countly Enterprise:
5-
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides
5+
#ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,license,drill,funnels,retention_segments,flows,cohorts,surveys,remote-config,ab-testing,formulas,activity-map,concurrent_users,revenue,logger,systemlogs,populator,reports,crashes,push,geo,block,users,star-rating,slipping-away-users,compare,server-stats,dbviewer,crash_symbolication,crashes-jira,groups,white-labeling,alerts,times-of-day,compliance-hub,onboarding,active_users,performance-monitoring,config-transfer,consolidate,data-manager,hooks,dashboards,heatmaps,sdk,guides,journey_engine,content
66

77
EXPOSE 6001
88
HEALTHCHECK --start-period=400s CMD curl --fail http://localhost:6001/ping || exit 1

api/parts/mgmt/apps.js

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ appsApi.getAppsDetails = function(params) {
170170
* @param {params} params - params object with args to create app
171171
* @return {object} return promise object;
172172
**/
173-
const iconUpload = function(params) {
173+
const iconUpload = async function(params) {
174174
const appId = params.app_id || common.sanitizeFilename(params.qstring.args.app_id);
175175
if (params.files && params.files.app_image) {
176176
const tmp_path = params.files.app_image.path,
@@ -183,25 +183,18 @@ const iconUpload = function(params) {
183183
return Promise.reject();
184184
}
185185
try {
186-
return jimp.read(tmp_path, function(err, icon) {
187-
if (err) {
188-
log.e(err, err.stack);
189-
fs.unlink(tmp_path, function() {});
190-
return true;
186+
const icon = await jimp.Jimp.read(tmp_path);
187+
const buffer = await icon.cover({h: 72, w: 72}).getBuffer(jimp.JimpMime.png);
188+
countlyFs.saveData("appimages", target_path, buffer, {id: appId + ".png", writeMode: "overwrite"}, function(err3) {
189+
if (err3) {
190+
log.e(err3, err3.stack);
191191
}
192-
icon.cover(72, 72).getBuffer(jimp.MIME_PNG, function(err2, buffer) {
193-
countlyFs.saveData("appimages", target_path, buffer, {id: appId + ".png", writeMode: "overwrite"}, function(err3) {
194-
if (err3) {
195-
log.e(err3, err3.stack);
196-
}
197-
fs.unlink(tmp_path, function() {});
198-
});
199-
});
200192
});
201193
}
202194
catch (e) {
203-
log.e(e.stack);
195+
console.log("Problem uploading app icon", e);
204196
}
197+
fs.unlink(tmp_path, function() {});
205198
}
206199
};
207200

0 commit comments

Comments
 (0)