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

BC-6871 - Adapt board domain object mapping to unified persistence entity #4964

Closed
wants to merge 103 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
fb8bca5
add domain object and persistence
uidp Jan 14, 2024
7fab721
add minor changes and comments
uidp Jan 15, 2024
6a49333
Merge branch 'main' of github.com:hpi-schul-cloud/schulcloud-server i…
uidp Apr 11, 2024
dccffe3
add entity, repo and example domain object
uidp Apr 11, 2024
6860b73
add TODO item
uidp Apr 12, 2024
8f19c72
fix orm entity and test
uidp Apr 12, 2024
40d3767
BC-6870 - fixes and add findByIds
virgilchiriac Apr 15, 2024
d12bf40
BC-6870 - add a couple of functions
virgilchiriac Apr 15, 2024
ca33b28
add todo
uidp Apr 16, 2024
8969652
Revert "BC-6870 - add a couple of functions"
uidp Apr 16, 2024
9b106ea
Revert "BC-6870 - fixes and add findByIds"
uidp Apr 16, 2024
7d8e9d6
implement typings
uidp Apr 17, 2024
b880cd4
isAllowedAsChild added
wolfganggreschus Apr 18, 2024
d1c7bfc
add simple column domain object
uidp Apr 19, 2024
024fb6d
improve board node domain object
uidp Apr 19, 2024
4521db9
improve board node repo
uidp Apr 19, 2024
5d9400f
add comments and todos
uidp Apr 19, 2024
a03088b
Merge branch 'BC-6870-board-persistence' of github.com:hpi-schul-clou…
uidp Apr 19, 2024
a40c5c1
use spcific board node type on properties types
uidp Apr 22, 2024
435d3c5
add context embeddable
uidp Apr 22, 2024
059fce1
fix test factories
uidp Apr 22, 2024
713d419
add findByIdAndType to board node repo
uidp Apr 22, 2024
3d444f6
add simple board node service
uidp Apr 22, 2024
70a3b29
implement child position update
uidp Apr 23, 2024
157e269
refactor types and implement repo.findByIds
uidp Apr 24, 2024
d19d187
add repo methods
uidp Apr 25, 2024
7164d18
Merge branch 'main' of github.com:hpi-schul-cloud/schulcloud-server i…
uidp Apr 25, 2024
d48baad
improve mapping, add rich text element
uidp Apr 26, 2024
f7b13fe
Merge branch 'main' of github.com:hpi-schul-cloud/schulcloud-server i…
uidp Apr 26, 2024
8d122cc
update type to class mapping
uidp Apr 29, 2024
f5d2c7e
add the regular DOs and types
virgilchiriac Apr 29, 2024
a82fb1a
add collaboration text DO
virgilchiriac Apr 29, 2024
1a80524
add collaboration text DO
virgilchiriac Apr 29, 2024
8ee0f9c
minor changes in test factories
uidp Apr 29, 2024
935c830
Merge branch 'BC-6871-board-objects' of github.com:hpi-schul-cloud/sc…
uidp Apr 29, 2024
7ee9ae8
fixes
virgilchiriac Apr 29, 2024
bb0d59f
add media board and update map
virgilchiriac Apr 29, 2024
6560208
media adjustments
virgilchiriac Apr 29, 2024
aa29554
refactor board node authorizable
uidp Apr 30, 2024
b8b2723
Merge branch 'BC-6871-board-objects' of github.com:hpi-schul-cloud/sc…
uidp Apr 30, 2024
50fb6fd
move boardb ase. uc to separate service
virgilchiriac Apr 30, 2024
88fa7ff
implement canHaveChildren check and update position on remove
uidp May 2, 2024
3af20f9
update uc tests
virgilchiriac May 2, 2024
fd63a71
add test
uidp May 3, 2024
06c0a42
adapt board authorizable tests
uidp May 3, 2024
e8b483f
Merge branch 'BC-6871-board-objects' of github.com:hpi-schul-cloud/sc…
uidp May 3, 2024
713ed2b
minor changes
uidp May 3, 2024
a59a50e
use new authrorizable service
virgilchiriac May 3, 2024
b33e7f9
update media-line UC to use board permission service
virgilchiriac May 3, 2024
a9bc935
fix media-board UCs
virgilchiriac May 3, 2024
3a928a4
first update of UC with the new POC stuff
virgilchiriac May 3, 2024
90ade9f
more updates to UCs
virgilchiriac May 6, 2024
bd31e71
refactor content element update
uidp May 6, 2024
84c1dd1
Merge branch 'BC-6871-board-objects' of github.com:hpi-schul-cloud/sc…
uidp May 6, 2024
d1561e9
add contentElement create and update UCs
virgilchiriac May 7, 2024
c6ebb8e
refactor use cases, remove repo dependency
uidp May 7, 2024
28b1259
Merge branch 'BC-6871-board-objects' of github.com:hpi-schul-cloud/sc…
uidp May 7, 2024
dcae452
refactor input format enum
uidp May 8, 2024
2c0fc06
Update the meda board UC and services
virgilchiriac May 8, 2024
ec33d61
refactor board copying
uidp May 9, 2024
417097f
Merge branch 'BC-6871-board-objects' of github.com:hpi-schul-cloud/sc…
uidp May 9, 2024
172e374
implement after delete hooks for board nodes
uidp May 10, 2024
441542f
refactor media board use cases
uidp May 11, 2024
5e70208
fix import
uidp May 11, 2024
8207deb
fix event handler
uidp May 11, 2024
7ef8937
fix media board domain imports
uidp May 11, 2024
e449d33
rename media board node factory to avoid confusion
uidp May 12, 2024
3e9426b
add board common tool service
uidp May 12, 2024
d11ac47
add deleteByCourseId for feathers
uidp May 12, 2024
a2fc344
update TODO list
uidp May 12, 2024
61e4893
update TODO list
uidp May 12, 2024
bbddbc6
Merge branch 'main' of github.com:hpi-schul-cloud/schulcloud-server i…
uidp May 13, 2024
311342f
move services repo and domain to board module
uidp May 14, 2024
f1b9af0
fix imports
uidp May 15, 2024
d174e05
prevent import-cycles for test factories
virgilchiriac May 15, 2024
e94ced4
Merge branch 'BC-6871-board-objects' of github.com:hpi-schul-cloud/sc…
uidp May 15, 2024
f7f6733
Revert "prevent import-cycles for test factories"
virgilchiriac May 15, 2024
9652c35
fix lernroom shared
uidp May 15, 2024
448d2b4
adapt legacy board repository
uidp May 15, 2024
1d6126a
adapt column board visibility update
uidp May 15, 2024
fdb74c0
move test factories in shared folder
virgilchiriac May 15, 2024
1a23d35
fix factory imports
uidp May 15, 2024
3971ae0
fix import cycle with learnroom
uidp May 17, 2024
74e6ebf
move test factories back to module
uidp May 17, 2024
5dfdc9b
fix board.uc test
virgilchiriac May 17, 2024
da1ae90
fix dependencies
uidp May 17, 2024
843b35a
fix module loading
uidp May 17, 2024
e70176b
fix imports
uidp May 17, 2024
f4d0c3c
Merge branch 'BC-6871-board-objects' of github.com:hpi-schul-cloud/sc…
uidp May 17, 2024
a8fa3aa
fix context embeddable mapping
uidp May 17, 2024
58be6e8
fix legacy board reference
uidp May 17, 2024
b738f74
fix node loading depth
uidp May 17, 2024
94f03af
fix find by context
uidp May 18, 2024
ad3d49f
fix title when copying
uidp May 18, 2024
e261f6c
rename save and delete repo methods
uidp May 22, 2024
27653bb
refactor content element update
uidp May 22, 2024
a0d77cb
fix use cases
uidp May 22, 2024
4b88efe
remove unecessary service methods
uidp May 22, 2024
214bd59
fix service imports
uidp May 22, 2024
38f700a
refactor service exports
uidp May 22, 2024
65818f2
add custom objectid type
uidp May 24, 2024
8d5eceb
fix property mapping
uidp May 24, 2024
d574356
fix use case tests
uidp May 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Migration } from '@mikro-orm/migrations-mongodb';
import { BoardLayout } from '@shared/domain/domainobject';
import { BoardNodeType } from '@shared/domain/entity';
import { BoardLayout } from '@modules/board';
import { BoardNodeType } from '@modules/board/domain';

export class Migration20240415124640 extends Migration {
async up(): Promise<void> {
Expand Down
4 changes: 2 additions & 2 deletions apps/server/src/modules/authorization/authorization.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { UserRepo } from '@shared/repo';
import { LoggerModule } from '@src/core/logger';
import { AuthorizationHelper, AuthorizationService, RuleManager } from './domain';
import {
BoardDoRule,
BoardNodeRule,
ContextExternalToolRule,
CourseGroupRule,
CourseRule,
Expand Down Expand Up @@ -33,7 +33,7 @@ import { FeathersAuthorizationService, FeathersAuthProvider } from './feathers';
RuleManager,
AuthorizationHelper,
// rules
BoardDoRule,
BoardNodeRule,
ContextExternalToolRule,
CourseGroupRule,
CourseRule,
Expand Down
Loading
Loading