From a5deb19177da7327af2f23ea5916f1355768b81a Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 10 Mar 2020 22:59:45 +0000 Subject: [PATCH] --- devdocs/todo.txt | 1 - server/AyaNova/biz/UserBiz.cs | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/devdocs/todo.txt b/devdocs/todo.txt index e7fe4194..7a4a3675 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -4,7 +4,6 @@ ## IMMEDIATE ITEMS -TODO: DataDump plugin make sure locale export json files are named "translation" instead as raven only sees "translation" when importing TODO: BizRoles.cs seems to get hammered on every single request, is it efficient? diff --git a/server/AyaNova/biz/UserBiz.cs b/server/AyaNova/biz/UserBiz.cs index 2f6b6667..7b467f0a 100644 --- a/server/AyaNova/biz/UserBiz.cs +++ b/server/AyaNova/biz/UserBiz.cs @@ -655,13 +655,13 @@ namespace AyaNova.Biz i.UserOptions.EmailAddress = j["EmailAddress"].Value(); //UI colour - //TODO: this needs to be switched to a web friendly value + //TODO: this needs to be tested now that it's a web friendly value in the dbdump file /* Hexadecimal notation: #RGB[A] R (red), G (green), B (blue), and A (alpha) are hexadecimal characters (0–9, A–F). A is optional. The three-digit notation (#RGB) is a shorter version of the six-digit form (#RRGGBB). For example, #f09 is the same color as #ff0099. Likewise, the four-digit RGB notation (#RGBA) is a shorter version of the eight-digit form (#RRGGBBAA). For example, #0f38 is the same color as #00ff3388. */ - throw new ArgumentOutOfRangeException("UserBiz::ImportV7Async - UI color needs to be pre-converted in DataDump to RGB values"); - //i.UserOptions.UiColor = j["ScheduleBackColor"].Value(); + // This is untested as of now, but should work, maybe if it doesn't the selector needs to be combined with dot notation instead of two array notations? + i.UserOptions.UiColor = j["jextra"]["hexaScheduleBackColor"].Value(); //Set unusable random login credentials