-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is currently just a dumb boolean field that a user can set that the frontend can use to determine whether or not it should link to arena.
- Loading branch information
Showing
14 changed files
with
86 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,8 @@ trait ImportService { | |
email = "[email protected]", | ||
arenaEnabled = true, | ||
arenaGroups = List(ArenaGroup.ADMIN), | ||
shareName = true | ||
shareName = true, | ||
arenaAccepted = true | ||
) | ||
userRepository.insertUser("ndla_admin", toInsert)(session) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,8 @@ class ArenaControllerTest extends UnitTestSuite with TestEnvironment with TapirC | |
email = "[email protected]", | ||
arenaEnabled = true, | ||
arenaGroups = List.empty, | ||
shareName = false | ||
shareName = false, | ||
arenaAccepted = true | ||
) | ||
|
||
test("That feide token parsing works if token present") { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,8 @@ class FolderControllerTest extends UnitTestSuite with TestEnvironment with Tapir | |
email = "[email protected]", | ||
arenaEnabled = true, | ||
arenaGroups = List.empty, | ||
shareName = false | ||
shareName = false, | ||
arenaAccepted = true | ||
) | ||
|
||
test("That resources fetching works and doesnt interfere with folder/:id") { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,7 +125,8 @@ class ArenaTest | |
email = "[email protected]", | ||
arenaEnabled = true, | ||
arenaGroups = List.empty, | ||
shareName = false | ||
shareName = false, | ||
arenaAccepted = true | ||
) | ||
|
||
val testAdmin: MyNDLAUser = MyNDLAUser( | ||
|
@@ -141,7 +142,8 @@ class ArenaTest | |
email = "[email protected]", | ||
arenaEnabled = true, | ||
arenaGroups = List(ArenaGroup.ADMIN), | ||
shareName = false | ||
shareName = false, | ||
arenaAccepted = true | ||
) | ||
|
||
def createCategory( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,8 @@ class ArenaRepositoryTest | |
email = "[email protected]", | ||
arenaEnabled = true, | ||
arenaGroups = List(), | ||
shareName = true | ||
shareName = true, | ||
arenaAccepted = true | ||
) | ||
val feideId = "feideId1" | ||
|
||
|
@@ -112,7 +113,8 @@ class ArenaRepositoryTest | |
email = "[email protected]", | ||
arenaEnabled = true, | ||
arenaGroups = List(), | ||
shareName = true | ||
shareName = true, | ||
arenaAccepted = true | ||
) | ||
val feideId = "feideId1" | ||
|
||
|
@@ -176,7 +178,8 @@ class ArenaRepositoryTest | |
email = "[email protected]", | ||
arenaEnabled = true, | ||
arenaGroups = List(), | ||
shareName = true | ||
shareName = true, | ||
arenaAccepted = true | ||
) | ||
val feideId = "feideId1" | ||
val feideId2 = "feideId2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -366,7 +366,8 @@ class FolderReadServiceTest extends UnitTestSuite with TestEnvironment { | |
arenaEnabled = false, | ||
displayName = "Feide", | ||
shareName = true, | ||
arenaGroups = List.empty | ||
arenaGroups = List.empty, | ||
arenaAccepted = true | ||
) | ||
|
||
val folderUUID = UUID.randomUUID() | ||
|
@@ -530,7 +531,8 @@ class FolderReadServiceTest extends UnitTestSuite with TestEnvironment { | |
email = "[email protected]", | ||
arenaEnabled = true, | ||
arenaGroups = List.empty, | ||
shareName = false | ||
shareName = false, | ||
arenaAccepted = true | ||
) | ||
) | ||
) | ||
|
@@ -552,7 +554,8 @@ class FolderReadServiceTest extends UnitTestSuite with TestEnvironment { | |
email = "[email protected]", | ||
arenaEnabled = true, | ||
arenaGroups = List.empty, | ||
shareName = false | ||
shareName = false, | ||
arenaAccepted = true | ||
) | ||
) | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters