Skip to content

Commit fe74bb7

Browse files
authored
Merge branch 'release.24.10' into resolve-conflicts-24.05->24.10
2 parents 1a7551a + 4775082 commit fe74bb7

279 files changed

Lines changed: 15080 additions & 5144 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,6 @@
237237
"for-direction": [
238238
"off"
239239
],
240-
"no-console": [
241-
"off"
242-
],
243240
"no-control-regex": [
244241
"off"
245242
],
@@ -343,4 +340,4 @@
343340
}
344341
}
345342
]
346-
}
343+
}

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ jobs:
160160
shell: bash
161161
run: "sed -i 's/port: 3001,/port: 3001, workers: 1,/' /opt/countly/api/config.js"
162162

163+
- name: NPM install
164+
shell: bash
165+
working-directory: /opt/countly
166+
run: npm install
167+
163168
- name: Run tests
164169
shell: bash
165170
working-directory: /opt/countly
@@ -207,6 +212,11 @@ jobs:
207212
shell: bash
208213
run: "sed -i 's/port: 3001,/port: 3001, workers: 1,/' /opt/countly/api/config.js"
209214

215+
- name: NPM install
216+
shell: bash
217+
working-directory: /opt/countly
218+
run: npm install
219+
210220
- name: Install plugins
211221
shell: bash
212222
run: |
@@ -260,6 +270,11 @@ jobs:
260270
shell: bash
261271
run: "sed -i 's/mongosh --quiet/mongosh --host mongodb --quiet/' /opt/countly/bin/backup/import_events.sh && sed -i 's/mongoimport --db/mongoimport --host mongodb --db/' /opt/countly/bin/backup/import_events.sh"
262272

273+
- name: NPM install
274+
shell: bash
275+
working-directory: /opt/countly
276+
run: npm install
277+
263278
- name: Prepare environment
264279
shell: bash
265280
working-directory: /opt/countly
@@ -338,6 +353,11 @@ jobs:
338353
shell: bash
339354
run: "sed -i 's/mongosh --quiet/mongosh --host mongodb --quiet/' /opt/countly/bin/backup/import_events.sh && sed -i 's/mongoimport --db/mongoimport --host mongodb --db/' /opt/countly/bin/backup/import_events.sh"
340355

356+
- name: NPM install
357+
shell: bash
358+
working-directory: /opt/countly
359+
run: npm install
360+
341361
- name: Prepare environment
342362
shell: bash
343363
working-directory: /opt/countly

CHANGELOG.md

Lines changed: 66 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,35 @@
1-
## Version 24.05.x
21

3-
## Version 24.05.31
4-
Fixes:
2+
## Version 24.10.x
3+
Features:
4+
- [crashes] Fix unescaped SDK logs
5+
- [dashboards] Added the option to set a refresh rate for dashboards, allowing data to update more frequently for selected dashboards
56
- [feedback] Uniformize drawer internal name input texts
67
- [feedback] Uniformize feedback widgets status tag
78
- [star-rating] Allow bulk update of widget status
89
- [star-rating] Fix rating score and responses table sorting
10+
- [ui] Fix alignment of drawers title and close icon
911
- [UI] Remove white background from input character amount suffix
1012

1113
Enterprise Fixes:
1214
- [retention] Fixed report loading
1315

14-
15-
## Version 24.05.30
16-
Features:
17-
- [crashed] Fix unescaped SDK logs
18-
- [dashboards] Added the option to set a refresh rate for dashboards, allowing data to update more frequently for selected dashboards
19-
- [star-rating] Added missing columns to Rating Widgets table edit
20-
- [ui] Fix alignment of drawers title and close icon
21-
22-
## Version 24.05.29
16+
## Version 24.10.9
2317
Fixes:
2418
- [core] Allow downloading data also from other databases in dbviewer
2519
- [crash_symbolication] Symbolication server api end point test fix
20+
- [crashes] Remove memory addresses from stack trace grouping
2621
- [push] Fixed push notifications title and content text and variables combination
2722
- [reports] Correctly match event for email report if event key contains '.'
28-
29-
## Version 24.05.28
30-
Enterprise Fixes:
31-
- [cohorts] Fixed issue with combining multiple cohorts
32-
33-
## Version 24.05.27
34-
Fixes:
35-
- [crashes] Remove memory addresses from stack trace grouping
23+
- [script] Refined delete_custom_events.js to clean up faulty/dead events completely.
3624
- [user-management] Prevent global admin from self-revoke and self-delete
3725

3826
Enterprise Fixes:
39-
- [cohorts] Fixed issue with combining multiple cohorts
40-
41-
## Version 24.05.26
42-
Enterprise fixes:
4327
- [ab-testing] Fixed bug with variant user filtering
28+
- [cohorts] Fixed issue with combining multiple cohorts
29+
- [drill] Do not recheck old collections on app_user data deletion if querying from old collections is disabled
4430
- [license] Fixed issue with handling invalid date periods
4531

46-
Fixes:
47-
- [script] Refined delete_custom_events.js to clean up faulty/dead events completely.
48-
49-
## Version 24.05.25
32+
## Version 24.10.8
5033
Fixes:
5134
- [app-management] Unescaping HTML for created/updated application names
5235
- [countly-edge] Add import from Countly Edge Server
@@ -57,27 +40,23 @@ Features:
5740

5841
Enterprise fixes:
5942
- [ab-testing] Mismatching user counts between ab-testing and user profiles
60-
61-
## Version 24.05.24
62-
Enterprise fixes:
6343
- [ldap] Fixed issues that would lead to configuration options not being picked up
6444

65-
## Version 24.05.23
66-
Features:
67-
- [hooks] Added remote config changes to internal actions
68-
- [system-utility] New endpoint: /take-heap-snapshot.
69-
- [system-utility] Using nodejs fs to write profiler files instead of gridfs.
70-
45+
## Version 24.10.7
7146
Fixes:
47+
- [data-manager] Modifying existing values when segment values want to be updated in the Data Manager
7248
- [drill] Fix for UI error when push plugin is not enabled
7349

7450
Enterprise fixes:
7551
- [drill] Fixed empty events list in drill section
76-
77-
## Version 24.05.22
52+
7853
Features:
7954
- [core] Add self tracking capability
55+
- [hooks] Added remote config changes to internal actions
56+
- [system-utility] New endpoint: /take-heap-snapshot.
57+
- [system-utility] Using nodejs fs to write profiler files instead of gridfs.
8058

59+
## Version 24.10.6
8160
Fixes:
8261
- [push] Using apns-id header as message result in debug mode
8362
- [server-stats] Fix data point calculation in job
@@ -86,6 +65,7 @@ Fixes:
8665

8766
Enterprise fixes:
8867
- [drill] Encoding url component before changing history state
68+
- [drill] Fixed drill meta regeneration
8969
- [drill] [license] Update license loader to enable supplying db client
9070
- [users] Format data points displayed in user sidebar
9171
- [cohorts] Unescape drill texts in cohort component
@@ -98,7 +78,7 @@ Enterprise Dependencies:
9878
- Bump nanoid in /plugins/cognito from 2.1.11 to 3.3.8
9979
- Bump shortid in /plugins/cognito from 2.2.16 to 2.2.17
10080

101-
## Version 24.05.21
81+
## Version 24.10.5
10282
Fixes:
10383
- [core] Fixed a bug causing events to not being loaded when there's an escaped character in the event name
10484
- [core] Fixed a bug that was causing drill to crash when there's a percentage symbol in the event name
@@ -107,15 +87,14 @@ Fixes:
10787
- [surveys] "Select one" text in the widget can be edited now
10888
- [system-utility] Fixed: Mongo error (code: 26) in some Countly instances when the profiler gets run for the first time
10989

110-
11190
Dependencies:
11291
- Bump countly-sdk-nodejs from 24.10.0 to 24.10.1
11392
- Bump countly-sdk-web from 24.11.2 to 24.11.4
11493
- Bump express-rate-limit from 7.4.1 to 7.5.0
11594
- Bump puppeteer from 23.10.4 to 23.11.1
11695
- Bump sass from 1.81.0 to 1.83.4
11796

118-
## Version 24.05.20
97+
## Version 24.10.4
11998
Fixes:
12099
- [push] Fixed bug where IOS credentials get mixed up while sending messages from different apps at the same time
121100
- [push] Fixed bug where it crashes in connection pool growth because of a type mismatch in an if condition
@@ -135,8 +114,10 @@ Dependencies:
135114
- Bump nodemailer from 6.9.15 to 6.9.16
136115
- Bump puppeteer from 23.8.0 to 23.9.0
137116
- Bump tslib from 2.7.0 to 2.8.1
117+
- Bump express from 4.21.1 to 4.21.2
118+
- Bump mocha from 10.2.0 to 10.8.2
138119

139-
## Version 24.05.19
120+
## Version 24.10.3
140121
Fixes:
141122
- [dashboards] Fixing issue where dashboard widgets go into single column
142123

@@ -148,49 +129,78 @@ Security:
148129
- Bump cross-spawn from 7.0.3 to 7.0.6 in /ui-tests
149130
- Bump cross-spawn from 7.0.3 to 7.0.6 in /plugins/hooks
150131

151-
## Version 24.05.18
132+
## Version 24.10.2
152133
Fixes:
134+
- [core] Correct aggregated collection cleanup on event omitting
153135
- [core] Fixed bug where changing passwords results in the loss of the "Global Admin" role
154136
- [core] Fixed bug where exporting incoming data logs could result in "Incorrect parameter \"data\" error
137+
- [core] Removed use of commands which needs admin rights from report manager.
155138
- [crash] Fixed bug in crash ingestion for scenarios where the "app version" is not a string.
156139
- [script] Fixing bug with "delete_old_members" script that led to malformed requests
157140

158141
Enterprise fixes:
159142
- [nps] Fixed bug that showed the wrong nps preview title
160143

161-
## Version 24.05.17
144+
## Version 24.10.1
162145
Fixes:
146+
- [core] Replaced "Users" with "Sessions" label on technology home widgets
163147
- [push] Improved ability to observe push related errors
148+
- [push] Replaced push plugin with an earlier version of the plugin
164149

165150
Enterprise fixes:
166151
- [cohorts] Fixed issues with nightly cleanup
167152
- [data-manager] Fixed UI bug where rules were not visible when editing "Merge by regex" transformations
168153
- [drill] Fixed wrong pie chart label tooltip in dashboard widget
169154
- [flows] Fixed bug in case of null data in schema
155+
- [license] Fixed bug with MAU type of licenses that would prevent the server from starting
170156
- [nps] Fixed bug in the editor where the "internal name" field was not mandatory
157+
- [nps] Fixed bug where it was possible to submit empty nps surveys
158+
- [ratings] Fixed bug with user consent
171159
- [ratings] Fixed UI bug where "Internal name" was not a mandatory field
172160

173161
Security:
162+
- Bumped cookie-parser from 1.4.6 to 1.4.7
163+
- Bumped express-rate-limit from 7.4.0 to 7.4.1
164+
- Bumped moment-timezone from 0.5.45 to 0.5.46
165+
- Bumped sass from 1.79.3 to 1.79.4
174166
- Fixing minor vulnerability that would allow for unauthorized file upload
175167

176168
Enterprise Features:
177169
- [block] Added a way to filter crashes by their error (stacktrace)
178170

179-
## Version 24.05.16
171+
## Version 24.10
180172
Fixes:
181-
- [core] Replaced "Users" with "Sessions" label on technology home widgets
182-
- [push] Replaced push plugin with an earlier version of the plugin
173+
- [core] Interpreting carrier value of "--" as an unknown value
174+
- [crash] Fixed issues with visualisation of Flutter stack traces
175+
- [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
176+
- [density] UI fixed
177+
- [events] Fixed issue where slower loading data would replace newest event selection
183178

184179
Enterprise fixes:
185-
- [license] Fixed bug with MAU type of licenses that would prevent the server from starting
186-
- [nps] Fixed bug where it was possible to submit empty nps surveys
187-
- [ratings] Fixed bug with user consent
180+
- [crashes-jira] Preventing crashing when jira authentification fails
181+
- [formulas] Removing HTML from tooltip localization
188182

189-
Security:
190-
- Bumped cookie-parser from 1.4.6 to 1.4.7
191-
- Bumped express-rate-limit from 7.4.0 to 7.4.1
192-
- Bumped moment-timezone from 0.5.45 to 0.5.46
193-
- Bumped sass from 1.79.3 to 1.79.4
183+
Features:
184+
- Making user guide icons stand out more before first use
185+
- [alerts] UI improvements
186+
- [alerts] small improvements in email notifications
187+
- [code] Unifying bottom menu for bulk operations
188+
- [core] Aggregated events data collections merged together
189+
- [nps] UI improvements
190+
- [surveys] UI improvements
191+
- upgraded mongoDB to version 7
192+
- upgraded nodejs to version 20
193+
194+
Enterprise Features:
195+
- [crash_symbolication] Added ability to set custom domain override for the symbolication server
196+
- [drill] Drill "by query" vizualization improved
197+
- [drill] Drill data collections merged together
198+
- [events] Added a quick transition to drill
199+
- [hooks] Added audit log entries for hook "create", "edit", "delete", "update" actions
200+
- [users] "Last Session" column in User Profiles is now sortable
201+
- [users] Crashes in the crashes tab can now be sorted
202+
- [users] UI improvements
203+
- [views] Added a quick transition to drill
194204

195205
## Version 24.05.15
196206
Enterprise fixes:

api/api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ plugins.connectToAllDatabases().then(function() {
156156
console.log("Successfully stored batch state");
157157
}
158158
catch (ex) {
159-
console.log("Could not store batch state");
159+
console.log("Could not store batch state", ex);
160160
}
161-
process.exit(code);
161+
process.exit(typeof code === "number" ? code : 1);
162162
}
163163

164164
/**

api/config.sample.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ var countlyConfig = {
107107
* Specifies where to store files. Value "fs" means file system or basically storing files on hard drive. Another currently supported option is "gridfs" storing files in MongoDB database using GridFS. By default fallback to "fs";
108108
* @type {string} [default=fs]
109109
*/
110-
fileStorage: "fs",
110+
fileStorage: "gridfs",
111111
/**
112112
* Specifies after how long time configurations are reloded from data base. Default value is 10000 (10 seconds)
113113
* @type {integer} [default=10000]
@@ -121,7 +121,7 @@ var countlyConfig = {
121121
/**
122122
* Share same database connection pool between databases
123123
*/
124-
shared_connection: false,
124+
shared_connection: true,
125125
/**
126126
* Simple SMTP mail sender configuration.
127127
* Can only be used when you don't have custom mailer extend ({@code countly/extend/mail.js}).

0 commit comments

Comments
 (0)