Commit Graph

839 Commits

Author SHA1 Message Date
Фролов
f3803c0622 Add companyTypeId 2022-01-13 14:34:58 +05:00
Фролов
7487dfb342 Merge branch 'dev' into RefactorRoles 2022-01-12 17:50:21 +05:00
Фролов
9eb1070941 Add Day to TVD 2022-01-12 17:46:33 +05:00
Харченко Владимир
d1440ea0d0 CS2-125: Added newly created dto validators in DependencyInjection 2022-01-12 17:35:14 +05:00
Харченко Владимир
9792fe2196 CS2-125: Added base dto validation 2022-01-12 17:28:27 +05:00
Фролов
e09e358cd0 Add RelationUserRoleUserRole for multiple parents. INCOMPLETE 2022-01-12 16:33:53 +05:00
Фролов
2c51c352b1 CS2-139 Добавить контроллер AdminCompanyType 2022-01-12 13:33:16 +05:00
Фролов
fed253d0f6 merge net6_migrate 2022-01-11 11:51:02 +05:00
Фролов
5be4102feb merge 2022-01-11 11:49:37 +05:00
Фролов
f7b09c8124 update js - client 2022-01-11 11:46:28 +05:00
Фролов
cb22c0afa5 fix test. add user to controller 2022-01-11 08:50:34 +05:00
Фролов
0050427ccf Doc.
Remove https config.
Default timezone on create new telemetry by data received.
2022-01-10 18:12:31 +05:00
Фролов
90a0aa9e5b Add TryGetTimezone methods.
EnshureTimezonesIsSet() sets default timezone if can't find correct one.
Edit WellDto to fix exception by constr: FK_t_well_t_well_type_id_well_type. Make IdWellType optional.
2022-01-10 17:39:33 +05:00
Харченко Владимир
42c5974d68 Merge branch 'Validation' into dev 2022-01-10 16:01:06 +05:00
Харченко Владимир
831ef72be4 Removed dtoValidators folder 2022-01-10 16:00:09 +05:00
Фролов
0687efa5af WellService.Update can get IdTelemetry from dto.IdTelemetry or dto.telemetry.id. 2022-01-10 11:45:14 +05:00
Фролов
28c35b5487 draft unit tests 2022-01-09 11:46:27 +05:00
Фролов
e9d980438b fix tests 2022-01-06 11:03:11 +05:00
Фролов
345ca47f87 CS2-135. Db model uses DateTimeOffset. see about using DateTime[Offset].md 2022-01-05 17:50:45 +05:00
Фролов
7ffb6d96fd Add_timeZone_to_IMapPoint 2022-01-02 12:33:18 +05:00
Фролов
4872b4a495 не доделано перед праздниками 2021-12-30 17:05:44 +05:00
Фролов
962d6e15b6 Fix spelling for defaults.
Replace DateTime to DateTimeOffset in models
2021-12-30 10:45:06 +05:00
Фролов
989fb8ad95 Update constants in GoogleDriveService 2021-12-28 16:36:01 +05:00
Фролов
ab5f43edbe Migrate projects to net 6.
Update nuget packadges.
2021-12-28 16:35:31 +05:00
Фролов
35e4b55e82 Fix Messure. Replace Dictionary<> by class.
Clean DbContext.
2021-12-28 16:34:11 +05:00
Харченко Владимир
42ed7f6ec7 CS2-125: Enlarged Dto validation 2021-12-28 16:24:08 +05:00
Харченко Владимир
9f4e7764be CS2-125: Added FluentValidation lib and AuthDto validation 2021-12-27 17:35:49 +05:00
Фролов
e7d6aef6a6 Move logic from AsbCloudDbContext.GetDepthToIntervalAsync() to TelemetryAnalyticsService.GetWellDepthToIntervalAsync() 2021-12-27 13:49:29 +05:00
Фролов
ca969c99ad Remove query datesRange from context.
Replace source for DatesRange from db to telemetry tracker.
2021-12-27 11:48:23 +05:00
Фролов
a30c8883a5 Fix DB Models. Specify TypeName = "timestamp with time zone" on DateTime. 2021-12-27 10:53:18 +05:00
Фролов
46c244a7d7 Update report dlls 2021-12-24 17:14:17 +05:00
Фролов
896e5dc8db update packs Swashbuckle.AspNetCore*.
Fix optional param MeasureController.GetHisoryAsync()
2021-12-24 15:50:30 +05:00
Фролов
f2c416a071 TelemetryDataBaseService Add info about dbSaveDurationTime in exception 2021-12-24 13:00:16 +05:00
Фролов
03ded4e6cf TelemetryDataBaseController doesn't await sending to SignalR 2021-12-24 12:59:17 +05:00
Фролов
24c0ba5e16 Fix dateTime bug 2021-12-24 11:42:23 +05:00
Фролов
889a8a8757 refactor ITelemetryService. Rename FixDatesRangeByTimeZoneAsync to DatesRangeToTelemetryTimeZoneAsync 2021-12-24 11:36:20 +05:00
Фролов
d43b1a7cd8 Restore tracking last telemetryData date 2021-12-24 10:38:14 +05:00
Фролов
dfacd04b47 fix UserService 2021-12-23 18:07:20 +05:00
Фролов
a8e1c4bd06 comments for https 2021-12-23 18:07:00 +05:00
Фролов
9233b45966 Handle ArgumentException in SimplifyExceptionsMiddleware. It replaces StatusCode 500 (server error) to StatusCode 400 (bad request) 2021-12-23 17:15:05 +05:00
Фролов
e29dbf49df Reorder SectionsTypes to keep existing operations 2021-12-22 19:18:09 +05:00
Фролов
95df836155 Add WellOperationController.GetSectionTypes() 2021-12-22 17:09:26 +05:00
Фролов
ecfdbfc394 Fix UserService.UpdateAsync() preserve users password. 2021-12-22 16:55:39 +05:00
Фролов
4d116769a8 disable open browser on debug start 2021-12-22 16:17:26 +05:00
Фролов
774447e51f Merge branch 'dev' of https://bitbucket.org/autodrilling/asbcloudserver into dev 2021-12-22 16:07:17 +05:00
Фролов
76e580179d fix https urls 2021-12-22 16:07:03 +05:00
Харченко Владимир
525ccc67f8 Merge branch 'dev' of https://bitbucket.org/autodrilling/asbcloudserver into dev 2021-12-22 16:06:40 +05:00
Харченко Владимир
33c3e74e53 Added new well section types 2021-12-22 16:06:30 +05:00
Фролов
a59b1897ce Restore https 2021-12-22 15:59:02 +05:00
Фролов
2019386a71 fix AdminCompanyController.Get*(). Include CompanyType 2021-12-22 15:58:49 +05:00