Skip to content
Open
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
3481901
add: file uploader element to add solution page
semrosin Sep 29, 2025
383d594
add: files count validation
semrosin Sep 30, 2025
d63504f
feat: files processing in studentSolutionPage
semrosin Oct 6, 2025
af8e93a
feat: get files info for solutions in converter
semrosin Oct 6, 2025
cdb659c
feat: processing files after adding solution
semrosin Oct 6, 2025
883c0cc
feat: add solution privacy attribute
semrosin Oct 19, 2025
3178a3d
feat: add privacy attribute for processing
semrosin Oct 19, 2025
41c6df2
feat: add lecturer or student role
semrosin Oct 19, 2025
62dbff8
feat: change download link validation (back)
semrosin Oct 19, 2025
b47ec51
feat: add scope dto with file id
semrosin Oct 19, 2025
43b7aca
feat: change download link api call (front)
semrosin Oct 19, 2025
f92fc7f
feat: add files access for groups
semrosin Oct 20, 2025
284f0dc
refactor: make studentIds HashSet
semrosin Oct 23, 2025
3f50d01
feat: process files for groupmates
semrosin Oct 23, 2025
73691ca
feat: separate access files functionality
semrosin Oct 25, 2025
1b9a1de
refactor: delete unused function in files accessor
semrosin Oct 25, 2025
cda3b8c
fix: intervalRef usage in files accessor
semrosin Oct 25, 2025
6dc598a
fix: subscribe updating course files on course id
semrosin Oct 25, 2025
91345ee
feat: update solutions components for files accessor
semrosin Oct 25, 2025
c788abe
fix: return alien code
semrosin Oct 26, 2025
0e8281d
refactor: deleteunused variables, await with async calls
semrosin Oct 28, 2025
6fb426a
feat [back]: method to get file scope
semrosin Nov 19, 2025
2cf7146
fix: delete unused role
semrosin Nov 19, 2025
af36e5d
feat [back]: file link dto
semrosin Nov 19, 2025
05eca02
fix: download link request
semrosin Nov 19, 2025
9ffd3b8
refactor: delete unused validation attributes
semrosin Nov 19, 2025
e96d2d2
refactor [front]: rename files upload waiter
semrosin Nov 19, 2025
ba52fa6
feat [front]: variability for max files count
semrosin Nov 19, 2025
1d49d30
refactor [back]: type validation by foreign library
semrosin Nov 20, 2025
ad978fb
fix [back]: return with privacy error
semrosin Nov 21, 2025
bdb9956
feat [back]: add max files count filter
semrosin Nov 21, 2025
b90a95c
feat [back]: showing max files count on limit exceeding
semrosin Nov 22, 2025
7bad8b1
refactor: separate methods in privacy filter
semrosin Dec 15, 2025
7653cda
refactor: create courseUnitType constans
semrosin Dec 15, 2025
f78bb49
wip
DedSec256 Jan 10, 2026
10f591b
wip
DedSec256 Jan 11, 2026
4a16312
add: file uploader element to add solution page
semrosin Sep 29, 2025
4ab35e9
add: files count validation
semrosin Sep 30, 2025
67ed67b
feat: files processing in studentSolutionPage
semrosin Oct 6, 2025
f769f6d
feat: get files info for solutions in converter
semrosin Oct 6, 2025
5d04708
feat: processing files after adding solution
semrosin Oct 6, 2025
7ba3505
feat: add solution privacy attribute
semrosin Oct 19, 2025
c40eb4c
feat: add privacy attribute for processing
semrosin Oct 19, 2025
44fbc2f
feat: add lecturer or student role
semrosin Oct 19, 2025
7bceb6b
feat: change download link validation (back)
semrosin Oct 19, 2025
eb93453
feat: add scope dto with file id
semrosin Oct 19, 2025
0f988d4
feat: change download link api call (front)
semrosin Oct 19, 2025
72c3890
feat: add files access for groups
semrosin Oct 20, 2025
30c521d
refactor: make studentIds HashSet
semrosin Oct 23, 2025
8db58f7
feat: process files for groupmates
semrosin Oct 23, 2025
9cf2324
feat: separate access files functionality
semrosin Oct 25, 2025
50e82da
refactor: delete unused function in files accessor
semrosin Oct 25, 2025
52c6365
fix: intervalRef usage in files accessor
semrosin Oct 25, 2025
11f8b56
fix: subscribe updating course files on course id
semrosin Oct 25, 2025
d739ff8
feat: update solutions components for files accessor
semrosin Oct 25, 2025
4f3d4fd
fix: return alien code
semrosin Oct 26, 2025
4eb5463
refactor: deleteunused variables, await with async calls
semrosin Oct 28, 2025
cabb158
feat [back]: method to get file scope
semrosin Nov 19, 2025
6a7bc5e
fix: delete unused role
semrosin Nov 19, 2025
f19a14b
feat [back]: file link dto
semrosin Nov 19, 2025
34f0a5e
fix: download link request
semrosin Nov 19, 2025
de17631
refactor: delete unused validation attributes
semrosin Nov 19, 2025
90bb68a
refactor [front]: rename files upload waiter
semrosin Nov 19, 2025
c0339cf
feat [front]: variability for max files count
semrosin Nov 19, 2025
0317404
refactor [back]: type validation by foreign library
semrosin Nov 20, 2025
ef20dd8
fix [back]: return with privacy error
semrosin Nov 21, 2025
8cd5a2d
feat [back]: add max files count filter
semrosin Nov 21, 2025
d3d2aed
feat [back]: showing max files count on limit exceeding
semrosin Nov 22, 2025
17e5908
refactor: separate methods in privacy filter
semrosin Dec 15, 2025
3b1e8d8
refactor: create courseUnitType constans
semrosin Dec 15, 2025
0ef5390
wip
DedSec256 Jan 10, 2026
8d89252
wip
DedSec256 Jan 11, 2026
21fc69e
fix: bug of accounting deleted files in files limiter
semrosin Mar 5, 2026
b7d0840
wip
semrosin Mar 5, 2026
1889ba8
wip
semrosin Mar 5, 2026
47c6e8f
fix: count uploading and deleting error files in limiter
semrosin Mar 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ public async Task<bool> CheckCountLimit(ProcessFilesDTO processFilesDto)
var existingStatuses = await contentServiceClient.GetFilesStatuses(processFilesDto.FilesScope);
if (!existingStatuses.Succeeded) return false;

var existingIds = existingStatuses.Value.Select(f => f.Id).ToList();
var existingIds = existingStatuses.Value
.Where(f => f.Status == "ReadyToUse" || f.Status == "Uploading" || f.Status == "DeletingError")
.Select(f => f.Id).ToList();
if (processFilesDto.DeletingFileIds.Any(id => !existingIds.Contains(id)))
return false;

Expand Down
Loading