This commit is contained in:
@@ -249,8 +249,8 @@ namespace AyaNova.PlugIn.V8
|
|||||||
progress.Op("Exporting objects");
|
progress.Op("Exporting objects");
|
||||||
//BIZ objects
|
//BIZ objects
|
||||||
|
|
||||||
if (progress.KeepGoing)
|
//if (progress.KeepGoing)
|
||||||
await ExportLocales(progress);
|
// await ExportLocales(progress);
|
||||||
|
|
||||||
if (progress.KeepGoing)
|
if (progress.KeepGoing)
|
||||||
await ExportUsers(progress);
|
await ExportUsers(progress);
|
||||||
@@ -259,7 +259,6 @@ namespace AyaNova.PlugIn.V8
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//dumpGlobalSettings(tempArchiveFolder, progress);
|
//dumpGlobalSettings(tempArchiveFolder, progress);
|
||||||
|
|
||||||
//dumpSeedNumbers(tempArchiveFolder, progress);
|
//dumpSeedNumbers(tempArchiveFolder, progress);
|
||||||
@@ -439,7 +438,10 @@ namespace AyaNova.PlugIn.V8
|
|||||||
d = rOptions.ObjectResponse["data"];
|
d = rOptions.ObjectResponse["data"];
|
||||||
d.uiColor = System.Drawing.ColorTranslator.ToHtml(System.Drawing.Color.FromArgb(c.ScheduleBackColor));
|
d.uiColor = System.Drawing.ColorTranslator.ToHtml(System.Drawing.Color.FromArgb(c.ScheduleBackColor));
|
||||||
d.emailAddress = string.IsNullOrWhiteSpace(c.EmailAddress) ? null : c.EmailAddress;
|
d.emailAddress = string.IsNullOrWhiteSpace(c.EmailAddress) ? null : c.EmailAddress;
|
||||||
|
if (LocaleMap.ContainsKey(c.DefaultLanguage))
|
||||||
d.translationId = LocaleMap[c.DefaultLanguage];
|
d.translationId = LocaleMap[c.DefaultLanguage];
|
||||||
|
else
|
||||||
|
d.translationId = 1;
|
||||||
|
|
||||||
await util.PutAsync("UserOptions/" + RavenId.ToString(), d.ToString());
|
await util.PutAsync("UserOptions/" + RavenId.ToString(), d.ToString());
|
||||||
}
|
}
|
||||||
@@ -449,11 +451,14 @@ namespace AyaNova.PlugIn.V8
|
|||||||
|
|
||||||
//docs
|
//docs
|
||||||
string NonFileUrls = await ExportDocs(UserTID, c.Docs, progress);
|
string NonFileUrls = await ExportDocs(UserTID, c.Docs, progress);
|
||||||
if (!string.IsNullOrEmpty(NonFileUrls)) {
|
if (!string.IsNullOrEmpty(NonFileUrls))
|
||||||
|
{
|
||||||
//need to repost the user with the notes modified
|
//need to repost the user with the notes modified
|
||||||
d = rMainObject.ObjectResponse["data"];
|
d = rMainObject.ObjectResponse["data"];
|
||||||
d.notes = NonFileUrls + "\r\n-----------------\r\n" + d.notes;
|
d.login = null;
|
||||||
await util.PutAsync("User", d.ToString());
|
d.password = null;
|
||||||
|
d.notes = NonFileUrls + "\n-----------------\n" + d.notes;
|
||||||
|
await util.PutAsync("User/" + RavenId.ToString(), d.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user