Commit Graph

675 Commits

Author SHA1 Message Date
Фролов
696dbee375 Merge branch 'dev' of https://bitbucket.org/autodrilling/asbcloudserver into dev 2022-02-08 10:05:00 +05:00
Kahrchenko Vladimir
887cb493f2 Added EventServiceTest 2022-02-07 15:10:18 +05:00
Фролов
4c19186158 Add UserRole related matrix defaults 2022-02-03 09:58:42 +05:00
Фролов
d0d0200679 Add some permissions, new web client 2022-02-03 08:23:52 +05:00
Фролов
981ae016c7 fix userRole validator. IdType can be anything 2022-02-02 11:11:10 +05:00
Фролов
2598738c46 Add Permissions to base crud controller. Add optional custom forbid check on edit methods. 2022-02-01 17:58:31 +05:00
Фролов
fc752e8f3b fix validators. lat, long is nullable. 2022-02-01 17:55:56 +05:00
Фролов
9e546a4cfd Add role type ids 2022-02-01 15:07:06 +05:00
Фролов
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