Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

course copy should support columnboard #4377

Merged
merged 34 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
3823300
course copy should support columnboard
Metauriel Sep 1, 2023
257f3f2
support AuthorizableObject instead of BaseEntity in copy interface
Metauriel Sep 4, 2023
fd9725c
WIP - scetch copy function
Metauriel Sep 5, 2023
f4a2181
copying of empty columnboards and columns
Metauriel Sep 5, 2023
fc5c27d
copying of empty cards
Metauriel Sep 5, 2023
6e1c98a
copy richtext elements
Metauriel Sep 6, 2023
23082ad
copy empty submission container
Metauriel Sep 6, 2023
fd88c87
(dont) copy submission items
Metauriel Sep 6, 2023
ec7f8e1
WIP remove unnecessary test
Metauriel Sep 6, 2023
ca07b90
recursively copy children
Metauriel Sep 6, 2023
5957908
copy file elements
Metauriel Sep 8, 2023
7cad3a7
refactor visitor to hide inside injectable
Metauriel Sep 9, 2023
cd19abe
rename do copy service file
Metauriel Sep 9, 2023
869a00b
column board copy orchestration
Metauriel Sep 9, 2023
0c6b623
Merge branch 'main' into BC-3439-column-board-copy
Metauriel Sep 9, 2023
0669f8c
add new services to board module
Metauriel Sep 9, 2023
5f51f34
wip fix board module
Metauriel Sep 9, 2023
bfb5b19
remove unnecessary code
Metauriel Sep 9, 2023
2959fed
ignore coverage on errors that cant happen
Metauriel Sep 9, 2023
e668e52
increase stability of copy process when persist fails
Metauriel Sep 18, 2023
9afc77b
extract visitor into seperate file
Metauriel Sep 18, 2023
24dd5b9
simplify copy dict
Metauriel Sep 19, 2023
edcb39e
extract file copy parameters into a service wrapper
Metauriel Sep 19, 2023
0cd1373
add filecopyservice wrapper factory to module
Metauriel Sep 19, 2023
1dd5fb4
Merge branch 'main' into BC-3439-column-board-copy
Metauriel Sep 19, 2023
e6dc8ef
use injectable instead of embeddable
Metauriel Sep 20, 2023
5ff1691
Merge branch 'main' into BC-3439-column-board-copy
Metauriel Sep 20, 2023
bbee3d1
Merge branch 'main' into BC-3439-column-board-copy
Metauriel Sep 21, 2023
a337fb3
Merge branch 'main' into BC-3439-column-board-copy
Metauriel Sep 21, 2023
2e897d4
Merge branch 'main' into BC-3439-column-board-copy
Metauriel Sep 21, 2023
ff4dd2e
Merge branch 'main' into BC-3439-column-board-copy
Metauriel Sep 21, 2023
e61bc05
fix hidden merge conflict
Metauriel Sep 21, 2023
04397f7
Merge branch 'main' into BC-3439-column-board-copy
Metauriel Sep 21, 2023
82d7b22
Merge branch 'main' into BC-3439-column-board-copy
Metauriel Sep 21, 2023
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
9 changes: 8 additions & 1 deletion apps/server/src/modules/board/board.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ConsoleWriterModule } from '@shared/infra/console';
import { CourseRepo } from '@shared/repo';
import { LoggerModule } from '@src/core/logger';
import { FilesStorageClientModule } from '../files-storage-client';
import { UserModule } from '../user';
import { BoardDoRepo, BoardNodeRepo } from './repo';
import { RecursiveDeleteVisitor } from './repo/recursive-delete.vistor';
import {
Expand All @@ -15,9 +16,11 @@ import {
ContentElementService,
SubmissionItemService,
} from './service';
import { BoardDoCopyService, SchoolSpecificFileCopyServiceFactory } from './service/board-do-copy-service';
import { ColumnBoardCopyService } from './service/column-board-copy.service';

@Module({
imports: [ConsoleWriterModule, FilesStorageClientModule, LoggerModule],
imports: [ConsoleWriterModule, FilesStorageClientModule, LoggerModule, UserModule],
providers: [
BoardDoAuthorizableService,
BoardDoRepo,
Expand All @@ -31,6 +34,9 @@ import {
CourseRepo, // TODO: import learnroom module instead. This is currently not possible due to dependency cycle with authorisation service
RecursiveDeleteVisitor,
SubmissionItemService,
BoardDoCopyService,
ColumnBoardCopyService,
SchoolSpecificFileCopyServiceFactory,
],
exports: [
BoardDoAuthorizableService,
Expand All @@ -39,6 +45,7 @@ import {
ColumnService,
ContentElementService,
SubmissionItemService,
ColumnBoardCopyService,
],
})
export class BoardModule {}
Loading
Loading