Skip to content
Merged

Fixes #6858

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## Version 25.03.25
Fixes:
- [crashes] Fixed resolving audit log recording
- [location] Fixed updating none gps coordinate location after gps location was used
-
Enterprise Fixes:
- [ab-testing] Add script for fixing variant cohort
- [groups] Fix user permission update after updating user group permission
Expand Down
4 changes: 2 additions & 2 deletions api/parts/data/usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ plugins.register("/sdk/user_properties", async function(ob) {

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

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") {
// only override lat/lon if no recent gps location exists in user document
if (!params.app_user.loc || (params.app_user.loc.gps && params.time.mstimestamp - params.app_user.loc.date > 7 * 24 * 3600)) {
if (!params.app_user.loc || !params.app_user.loc.gps || params.time.mstimestamp - params.app_user.loc.date > 7 * 24 * 3600) {
userProps.loc = {
gps: false,
geo: {
Expand Down
2 changes: 1 addition & 1 deletion plugins/crashes/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ plugins.setConfigs("crashes", {
var crashes = params.qstring.args.crashes || [params.qstring.args.crash_id];
common.db.collection('app_crashgroups' + params.qstring.app_id).update({'_id': {$in: crashes} }, {"$set": {is_resolving: true}}, {multi: true}, function() {
for (var i = 0; i < crashes.length; i++) {
plugins.dispatch("/systemlogs", {params: params, action: "crash_shown", data: {app_id: params.qstring.app_id, crash_id: params.qstring.args.crash_id}});
plugins.dispatch("/systemlogs", {params: params, action: "crash_resolving", data: {app_id: params.qstring.app_id, crash_id: params.qstring.args.crash_id}});
}
common.returnMessage(params, 200, 'Success');
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ crashes.home.unique = Number of crashes (fatal or non-fatal) that occurred uniqu
crashes.home.per-session=Number of crashes for the applied filter occurring per session, expressed as a percentage, in the selected time period.
systemlogs.action.crash_resolved = Crash Resolved
systemlogs.action.crash_unresolved = Crash Unresolved
systemlogs.action.crash_resolving = Crash Resolving
systemlogs.action.crash_shared = Crash Shared
systemlogs.action.crash_unshared = Crash Unshared
systemlogs.action.crash_modify_share = Crash Modified Share
Expand Down
Loading