Commit Graph

37 Commits

Author SHA1 Message Date
ngfrolov
cb20a81cb0
namespace to fileScope 2024-08-19 10:01:07 +05:00
654b5f235e fix encoding to utf8 (without bom), u200b, line endings, tabs to 3 spaces, variants of minus char to base minus char 2024-07-04 11:02:45 +05:00
ngfrolov
33c49e8a48
replace ArgumentInvalidException by ValidationBadRequest in Controllers 2023-09-28 17:50:58 +05:00
ngfrolov
772360cb6e
SubsystemOperationTimeRequest implements IValidatableObject;
Add Controller.ValidationBadRequest(..)
2023-09-28 16:25:29 +05:00
48343964ca Рефакторинг путей api 2023-07-28 15:52:28 +05:00
ecc62c8404 Сделал обязательный CancellationToken в контроллерах 2023-07-03 14:33:34 +05:00
907fcc88e8 -refact path convert file 2023-01-25 05:33:02 +05:00
350759f1c6 -типы методов класса конвертации изменены на статические
-удаляются только преобразованные файлы
2023-01-20 08:32:22 +05:00
ngfrolov
6512a7e752 doc 2022-06-16 17:37:10 +05:00
ngfrolov
7080b3e855 autoclean. 2022-06-15 14:57:37 +05:00
ngfrolov
521131d27a Fix DrillingProgramController.AddFile error message text. 2022-05-18 17:02:03 +05:00
ngfrolov
24ccc2a128 fix emails triggers and bodies 2022-05-18 11:07:39 +05:00
ngfrolov
fa9486e44d grouping services and controllers 2022-04-11 18:00:34 +05:00
Фролов
bafa372d66 rename some methods 2022-03-02 17:42:34 +05:00
Фролов
6a0289f216 fix drillingProgram permissions 2022-03-02 17:41:22 +05:00
Фролов
f286410eff Add DrillingProgramCreateError 2022-02-28 14:44:15 +05:00
Фролов
4863b69cfe DrillingProgram replace idPart by idFileCategory. 2022-02-18 14:16:35 +05:00
Фролов
7a77ff7904 Add backgroundService.
ReportService uses backgroundService.
Drilling program alpha
2022-02-17 15:37:27 +05:00
Фролов
e4e906c8d7 DrillingProgramService существенно переработан. 2022-02-12 11:28:16 +05:00
Фролов
4d89f3785b CS2-147 При отсутствии файла выдавать 404 2022-02-08 10:25:05 +05:00
Харченко Владимир
b46a7c33a2 Added Permission attribute to non-anonymous controller methods 2022-01-19 11:42:26 +05:00
Фролов
345ca47f87 CS2-135. Db model uses DateTimeOffset. see about using DateTime[Offset].md 2022-01-05 17:50:45 +05:00
Фролов
b6c2f60296 fix use fileshare only when needed. 2021-11-17 13:06:48 +05:00
Фролов
170693f445 Refactor:
FilesService move FileSharing functions to GoogleDriveService;
FilesService.CreateFileMarkAsync() Move drillingProgram related logic into DrillingProgramService.CreateFileMarkAsync();
FilesService.MarkFileMarkAsDeletedAsync() Move drillingProgram related logic into DrillingProgramService.MarkFileMarkAsDeletedAsync();
IGoogleDriveService cleanup and rename to IFileShareService;
GoogleDriveService check token before usage and resresh it id needeed;
DrillingProgramController move logic to service;
DrillingProgramController use dto;
FileController remove unused method;
2021-11-09 17:36:44 +05:00
cult
e716c6fbeb CS2-104: Added deleting of existing drilling program on file marks actions 2021-11-03 14:12:39 +05:00
cult
2f2193da76 CS2-104: Added recreate of drilling program if new files were confirmed 2021-11-02 16:33:49 +05:00
cult
a53d557f2a CS2-104: Added confirm of drilling program parts 2021-11-01 16:41:25 +05:00
cult
e79cf9f5d1 CS2-106: Inserted logic from DrillingProgram controller in fileService.GetFileWebUrlAsync() 2021-10-29 16:03:24 +05:00
cult
45b4d8bb23 CS2-106: Fixed Drilling program creation and preview logic 2021-10-29 12:47:18 +05:00
cult
e8ad17bc1d CS2-106: Added .GetFileWebLinkAsync() in DrillingProgramController.cs 2021-10-28 16:59:00 +05:00
cult
c3be8bceea CS2-106: Fixed .GetAsync() in DrillingProgramController to return file web url in cloud 2021-10-28 15:08:06 +05:00
cult
2ab29df231 CS2-106: Added description that web url for drilling program file is created only if such file was created. 2021-10-27 17:23:43 +05:00
cult
ab13e97837 CS2-106: Added GoogleDriveService and .GetWebLink() to DrillingProgramController 2021-10-27 17:00:27 +05:00
Фролов
956e564f56 переименовал ряд методов для лучшего понимания 2021-09-23 15:26:55 +05:00
Фролов
b471efc59e File author is optional (for drillingProgram) 2021-09-01 15:55:10 +05:00
Фролов
4e0e9b93d7 fix route in DrillingProgramController 2021-08-29 17:29:24 +05:00
Фролов
14cf99a1dd Add DrillingProgramController 2021-08-29 17:25:16 +05:00