Commit Graph

1067 Commits

Author SHA1 Message Date
Фролов
3aef211b94 Add Roles Related Dictionaries 2022-02-01 14:31:36 +05:00
Харченко Владимир
87d7563ed3 CS2-27: Fixed ClusterService unit tests 2022-01-31 16:13:27 +05:00
Фролов
99a2592ace Add shorthand to check admins permissions 2022-01-31 11:09:24 +05:00
Фролов
366a61cae5 Enable permissions middleware 2022-01-31 11:06:36 +05:00
Харченко Владимир
eaf7cb85b2 Disabled PermissionMiddleware and removed [Permission] from TelemetryController 2022-01-27 13:21:12 +05:00
Харченко Владимир
a16cada896 Added ClusterServiceTest 2022-01-27 09:38:52 +05:00
Харченко Владимир
52c8f6a79b Fix: Added null check for cluster stats with no operations 2022-01-25 15:00:17 +05:00
Фролов
e1afec1810 Add Permissions 'generator' file 2022-01-21 17:58:02 +05:00
Фролов
2037160545 Edit validators 2022-01-21 17:56:36 +05:00
Фролов
e6ac04c6bc fix DrillFlowChartController.EditAsync() wrong service method 2022-01-21 17:34:23 +05:00
Фролов
c6bfeb4e04 PermissionsMiddlware Add ulimate admin? check by idUser == 1 2022-01-21 17:33:28 +05:00
Фролов
8633616481 Fix DrillFlowChartService.UpdateAsync() utc time 2022-01-21 17:32:10 +05:00
Харченко Владимир
8a3bcf311f Fixed dto ids validation 2022-01-20 12:07:15 +05:00
Харченко Владимир
b46a7c33a2 Added Permission attribute to non-anonymous controller methods 2022-01-19 11:42:26 +05:00
Фролов
f5ec155bbb AdminPermissionController.GetAutogenerated() change generation algorithm. 2022-01-18 17:21:05 +05:00
Фролов
7a10d26ca6 CS2-145 Добавить специальный ArgumentInvalidException кастомной вылидации для замены ArgumentException 2022-01-18 11:04:44 +05:00
Фролов
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