Commit Graph

651 Commits

Author SHA1 Message Date
Фролов
ae8b549617 Add verified SendMail example 2022-01-17 17:55:00 +05:00
Фролов
1f1f86f00e Merge branch 'dev' of https://bitbucket.org/autodrilling/asbcloudserver into dev 2022-01-17 16:07:09 +05:00
Фролов
995ed49b81 Add UserServiceTest 2022-01-17 16:06:20 +05:00
Фролов
2192cdc242 Extract BeforeRunHandle method. It runs some procedures like Migrate() on startup. 2022-01-17 15:33:00 +05:00
Фролов
7cf1a69dd5 CS2-138 Запретить удалять и редактировать пользователя dev 2022-01-17 14:31:07 +05:00
Харченко Владимир
52122358b8 Merge branch 'dev' of https://bitbucket.org/autodrilling/asbcloudserver into dev 2022-01-17 10:40:27 +05:00
Фролов
ee4632ae38 Reconnect reports. 2022-01-14 17:59:22 +05:00
Фролов
e0bfc8d420 AdminPermissionController. Add method to generate names of auto-permissions. 2022-01-14 17:59:07 +05:00
Фролов
f81dcf2a46 PermissionsMiddlware Add auto generate permissionsName 2022-01-13 17:08:07 +05:00
Фролов
c2c82c2cda Complete UserRoleService crud and unit test. 2022-01-13 15:51:06 +05:00
Фролов
38243082cd cleanup 2022-01-13 14:36:54 +05:00
Фролов
0109e529f6 CS2-142 Изменить UserRole 2022-01-13 14:36:27 +05:00
Фролов
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