Skip to content

Commit 08d9d23

Browse files
Merge remote-tracking branch 'origin/master' into master-v25.03.25-into-next
2 parents 9af6af1 + 62830dd commit 08d9d23

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Dependencies:
33
- Remove SQLite
44

55
## Version 25.03.25
6+
Fixes:
7+
- [crashes] Fixed resolving audit log recording
8+
- [location] Fixed updating none gps coordinate location after gps location was used
9+
-
610
Enterprise Fixes:
711
- [ab-testing] Add script for fixing variant cohort
812
- [groups] Fix user permission update after updating user group permission

api/parts/data/usage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ plugins.register("/sdk/user_properties", async function(ob) {
10301030

10311031
if (plugins.getConfig('api', params.app && params.app.plugins, true).city_data === true && !userProps.loc && typeof data.lat !== "undefined" && typeof data.lon !== "undefined") {
10321032
// only override lat/lon if no recent gps location exists in user document
1033-
if (!params.app_user.loc || (params.app_user.loc.gps && params.time.mstimestamp - params.app_user.loc.date > 7 * 24 * 3600)) {
1033+
if (!params.app_user.loc || !params.app_user.loc.gps || params.time.mstimestamp - params.app_user.loc.date > 7 * 24 * 3600) {
10341034
userProps.loc = {
10351035
gps: false,
10361036
geo: {
@@ -1061,7 +1061,7 @@ plugins.register("/sdk/user_properties", async function(ob) {
10611061

10621062
if (plugins.getConfig('api', params.app && params.app.plugins, true).city_data === true && !userProps.loc && data.ll && typeof data.ll[0] !== "undefined" && typeof data.ll[1] !== "undefined") {
10631063
// only override lat/lon if no recent gps location exists in user document
1064-
if (!params.app_user.loc || (params.app_user.loc.gps && params.time.mstimestamp - params.app_user.loc.date > 7 * 24 * 3600)) {
1064+
if (!params.app_user.loc || !params.app_user.loc.gps || params.time.mstimestamp - params.app_user.loc.date > 7 * 24 * 3600) {
10651065
userProps.loc = {
10661066
gps: false,
10671067
geo: {

plugins/crashes/api/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ plugins.setConfigs("crashes", {
15231523
var crashes = params.qstring.args.crashes || [params.qstring.args.crash_id];
15241524
common.db.collection('app_crashgroups' + params.qstring.app_id).update({'_id': {$in: crashes} }, {"$set": {is_resolving: true}}, {multi: true}, function() {
15251525
for (var i = 0; i < crashes.length; i++) {
1526-
plugins.dispatch("/systemlogs", {params: params, action: "crash_shown", data: {app_id: params.qstring.app_id, crash_id: params.qstring.args.crash_id}});
1526+
plugins.dispatch("/systemlogs", {params: params, action: "crash_resolving", data: {app_id: params.qstring.app_id, crash_id: params.qstring.args.crash_id}});
15271527
}
15281528
common.returnMessage(params, 200, 'Success');
15291529
return true;

plugins/crashes/frontend/public/localization/crashes.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ crashes.home.unique = Number of crashes (fatal or non-fatal) that occurred uniqu
219219
crashes.home.per-session=Number of crashes for the applied filter occurring per session, expressed as a percentage, in the selected time period.
220220
systemlogs.action.crash_resolved = Crash Resolved
221221
systemlogs.action.crash_unresolved = Crash Unresolved
222+
systemlogs.action.crash_resolving = Crash Resolving
222223
systemlogs.action.crash_shared = Crash Shared
223224
systemlogs.action.crash_unshared = Crash Unshared
224225
systemlogs.action.crash_modify_share = Crash Modified Share

0 commit comments

Comments
 (0)