From 198a65fe67609fc1c2d6e715b4172ae8bd31bdf9 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 18 Mar 2022 16:45:13 +0000 Subject: [PATCH] --- devdocs/todo.txt | 12 ++++++------ docs/8.0/ayanova/docs/ops-install-linux-server.md | 15 +++++++++++++++ server/AyaNova/DataList/LoanUnitDataList.cs | 3 +-- server/AyaNova/biz/WorkOrderItemPriorityBiz.cs | 3 +-- server/AyaNova/biz/WorkOrderItemStatusBiz.cs | 2 +- server/AyaNova/biz/WorkOrderStatusBiz.cs | 2 +- 6 files changed, 25 insertions(+), 12 deletions(-) diff --git a/devdocs/todo.txt b/devdocs/todo.txt index 089dd2f4..68dd0efe 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -5,7 +5,9 @@ can a site be in a sufolder so I don't need a domain name or key, just hang them proxy if path? - +Key name and passphrase to unlock it +C:\data\work stuff\digitalocean\keys\v8trialprivatekey.ppk +ANY TRIAL SERVER@helloayanova.com: workingatthecarwash # OUTSTANDING BEFORE RELEASE @@ -25,9 +27,6 @@ critical path items: - business stuff like rockfish, licensing new site, new forums (update docs links when new forum), direct purchase -TODO: //MIGRATE_OUTSTANDING comment tag - search for this comment tag as it will contain items that could not be done until other items were migrated first - The tag will contain the description for each - Beta testing completed @@ -145,7 +144,9 @@ todo:2 subscribe to all sources of security vulnerabilities that could apply to ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ███████ - +1: work order item loan / loaner units not being set with what workorder item id they are on is flagged as todo MIGRATE_OUTSTANDING + needs to re-work the loaner list and match up the id's of any active work order they are on somehow and then flag that in v8 so + immediately after workorders are exported that's the step to re-run through the loaners and flag them ## TESTING ITEMS @@ -422,7 +423,6 @@ todo: 2 VERY IMPORTANT test on windows where all paths have spaces, i.e. set the confirm everything in raven that writes to disk still works, logging, backup, attachments, temp files served (reports) etc -todo: 2 search for //MIGRATE_OUTSTANDING in server and in client and deal with it todo: 2 sample seeder add "In progress" status to workorder status list as there is currently no match to that diff --git a/docs/8.0/ayanova/docs/ops-install-linux-server.md b/docs/8.0/ayanova/docs/ops-install-linux-server.md index a75066bb..4c7445a5 100644 --- a/docs/8.0/ayanova/docs/ops-install-linux-server.md +++ b/docs/8.0/ayanova/docs/ops-install-linux-server.md @@ -387,6 +387,11 @@ server { proxy_cache_bypass $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + proxy_connect_timeout 3600; + proxy_send_timeout 3600; + proxy_read_timeout 3600; + send_timeout 3600; + client_max_body_size 10G; } listen 443 ssl; @@ -437,6 +442,11 @@ server { proxy_cache_bypass $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + proxy_connect_timeout 3600; + proxy_send_timeout 3600; + proxy_read_timeout 3600; + send_timeout 3600; + client_max_body_size 10G; } } ``` @@ -517,6 +527,11 @@ server { proxy_cache_bypass $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + proxy_connect_timeout 3600; + proxy_send_timeout 3600; + proxy_read_timeout 3600; + send_timeout 3600; + client_max_body_size 10G; } listen 443 ssl; # managed by Certbot diff --git a/server/AyaNova/DataList/LoanUnitDataList.cs b/server/AyaNova/DataList/LoanUnitDataList.cs index 3c0bc766..ad9fc8c0 100644 --- a/server/AyaNova/DataList/LoanUnitDataList.cs +++ b/server/AyaNova/DataList/LoanUnitDataList.cs @@ -12,8 +12,7 @@ namespace AyaNova.DataList "left join aworkorderitemloan as wil on (aloanunit.workorderitemloanid=wil.id) " + "left join aworkorderitem as wi on (wil.workorderitemid=wi.id)" + "left join aworkorder as w on (wi.workorderid=w.id)"; - //MIGRATE_OUTSTANDING awaiting workorderitemloan coding - //todo: look at loanitemlist in v7 it surfaces due date, out date etc in the list and should here too once those fields are coded for + var RoleSet = BizRoles.GetRoleSet(DefaultListAType); AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change; DefaultColumns = new List() { "LoanUnitName", "LoanUnitSerial", "LoanUnitCurrentWorkOrderItemLoan", "LoanUnitShadowUnit" }; diff --git a/server/AyaNova/biz/WorkOrderItemPriorityBiz.cs b/server/AyaNova/biz/WorkOrderItemPriorityBiz.cs index 4d33db70..d4fdc121 100644 --- a/server/AyaNova/biz/WorkOrderItemPriorityBiz.cs +++ b/server/AyaNova/biz/WorkOrderItemPriorityBiz.cs @@ -231,8 +231,7 @@ namespace AyaNova.Biz } private async Task ValidateCanDeleteAsync(WorkOrderItemPriority inObj) - { - //MIGRATE_OUTSTANDING - check workorder records once wo is coded here + { await Task.CompletedTask; //Referential integrity //FOREIGN KEY CHECKS diff --git a/server/AyaNova/biz/WorkOrderItemStatusBiz.cs b/server/AyaNova/biz/WorkOrderItemStatusBiz.cs index a15a5979..e5e4abf6 100644 --- a/server/AyaNova/biz/WorkOrderItemStatusBiz.cs +++ b/server/AyaNova/biz/WorkOrderItemStatusBiz.cs @@ -233,7 +233,7 @@ namespace AyaNova.Biz private async Task ValidateCanDeleteAsync(WorkOrderItemStatus inObj) { - //MIGRATE_OUTSTANDING - check workorder records once wo is coded here + await Task.CompletedTask; //Referential integrity //FOREIGN KEY CHECKS diff --git a/server/AyaNova/biz/WorkOrderStatusBiz.cs b/server/AyaNova/biz/WorkOrderStatusBiz.cs index 6c896017..4e3d058e 100644 --- a/server/AyaNova/biz/WorkOrderStatusBiz.cs +++ b/server/AyaNova/biz/WorkOrderStatusBiz.cs @@ -233,7 +233,7 @@ namespace AyaNova.Biz private async Task ValidateCanDeleteAsync(WorkOrderStatus inObj) { - //MIGRATE_OUTSTANDING - check workorder records once wo is coded here + await Task.CompletedTask; //Referential integrity //FOREIGN KEY CHECKS