-
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.
* Send and react to "LEAVE_CONFERENCE" Messages. * Detect closed ConferenceWindow and delete conference after 60s if still empty. * Remove SetOnce property. * Remove SetOnce property. * Time conference deletion in backend. Delete 20s after the last user left, if the conference is still empty. Closes #7 * Global error handling in web-ui * Send and react to "LEAVE_CONFERENCE" Messages. * Detect closed ConferenceWindow and delete conference after 60s if still empty. * Remove SetOnce property. Remove SetOnce property. * Time conference deletion in backend. Delete 20s after the last user left, if the conference is still empty. Closes #7 * Global error handling in web-ui * Handle multiple conferences in client. #46 * Debug configuration uses localhost:4200 as address. * Basic display of conferences. TODO: Styling. * Backend stores multiple conferences per User * Fixed conference references * Only take first conference info and check only if its not empty. This assures, that the inviting user has joined a conference before sending the invitation. Fixes #37, #27. * Only list users in classroom when socket connection is established. * Change logging levels. Move messages from debug -> trace. * Fixed problem with exception when calling "last()" on empty Flux. * Refactoring + Send event when conference is closed. * Remove priority from create-ticket form. * Use NotificationService instead of Snackbar. * Fix typo in component name * Create conferences via dialog to set name. Conferences for tickets are created with ticket name. Fixed ClassroomInfo propagation. Part of #62, #46. Step towards #16. * Refactor classroom-component * move sorting function * Fixes #64 * Example env-file. * Conference + ConferenceInfo hold attendees. * Ktlint introduction. * User visibility changeable. Conference attendence per user is calculated in client to reduce network messages and enable future adjustment via BBB API. #56 * fixed invitation problem. * tutor PW in Create XML * Choose which conference to invite to. * sort users #2 * remove debug log * [web-gui][UserDisplay] fix linting error Co-authored-by: Max Stephan <[email protected]>
- Loading branch information
Showing
115 changed files
with
1,304 additions
and
1,053 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,6 @@ out/ | |
### VS Code ### | ||
.vscode/ | ||
/src/main/resources/static/ | ||
|
||
*.env | ||
!example.env |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CLASSROOM_BBB_UPSTREAM_URL=https://fk-vv.mni.thm.de/bigbluebutton/api | ||
CLASSROOM_BBB_UPSTREAM_SECRET=8Dsupersecurekeydf0 | ||
CLASSROOM_SECRET=8Dsupersecurekeydf0 | ||
CLASSROOM_HOST=http://localhost:8085 | ||
CLASSROOM_PORT=8085 | ||
CLASSROOM_JWT_SECRET=8Dsupersecurekeydf0 | ||
CLASSROOM_JWT_EXPIRATION=900 | ||
CLASSROOM_SSL_ENABLED=true | ||
CLASSROOM_KEYSTORE_PATH=classpath:keystore.p12 | ||
CLASSROOM_KEYSTORE_TYPE=PKCS12 | ||
CLASSROOM_KEYSTORE_PASS=passwd |
3 changes: 0 additions & 3 deletions
3
src/main/kotlin/de/thm/mni/ii/classroom/DigitalClassroomApplication.kt
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
10 changes: 8 additions & 2 deletions
10
src/main/kotlin/de/thm/mni/ii/classroom/controller/BBBApiController.kt
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
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 |
---|---|---|
@@ -1,17 +1,14 @@ | ||
package de.thm.mni.ii.classroom.event | ||
|
||
import de.thm.mni.ii.classroom.model.classroom.User | ||
import de.thm.mni.ii.classroom.model.classroom.UserDisplay | ||
|
||
data class UserEvent( | ||
val user: User, | ||
val inConference: Boolean = false, | ||
val conferenceId: String? = null, | ||
val user: UserDisplay, | ||
val userAction: UserAction | ||
): ClassroomEvent(UserEvent::class.simpleName!!) | ||
) : ClassroomEvent(UserEvent::class.simpleName!!) | ||
|
||
enum class UserAction { | ||
JOIN, | ||
JOIN_CONFERENCE, | ||
LEAVE_CONFERENCE, | ||
VISIBILITY_CHANGE, | ||
LEAVE | ||
} |
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
8 changes: 4 additions & 4 deletions
8
src/main/kotlin/de/thm/mni/ii/classroom/exception/api/ClassroomNotFoundException.kt
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package de.thm.mni.ii.classroom.exception.api | ||
|
||
class ClassroomNotFoundException( | ||
meetingID: String = "", | ||
bbbMessageKey: String = "meetingDoesNotExist", | ||
bbbMessage: String = "MeetingID $meetingID does not exist!" | ||
): ApiException(bbbMessageKey, null, bbbMessage) | ||
meetingID: String = "", | ||
bbbMessageKey: String = "meetingDoesNotExist", | ||
bbbMessage: String = "MeetingID $meetingID does not exist!" | ||
) : ApiException(bbbMessageKey, null, bbbMessage) |
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
4 changes: 2 additions & 2 deletions
4
src/main/kotlin/de/thm/mni/ii/classroom/exception/api/NoUsernameSpecifiedException.kt
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package de.thm.mni.ii.classroom.exception.api | ||
|
||
class NoUsernameSpecifiedException ( | ||
class NoUsernameSpecifiedException( | ||
bbbMessageKey: String = "noUsernameSpecified", | ||
bbbMessage: String = "You must specify a full name for a user to join a meeting." | ||
): ApiException(bbbMessageKey, null, bbbMessage) | ||
) : ApiException(bbbMessageKey, null, bbbMessage) |
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
2 changes: 1 addition & 1 deletion
2
src/main/kotlin/de/thm/mni/ii/classroom/exception/classroom/ClassroomException.kt
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package de.thm.mni.ii.classroom.exception.classroom | ||
|
||
open class ClassroomException(message: String): Exception(message) | ||
open class ClassroomException(message: String) : Exception(message) |
3 changes: 3 additions & 0 deletions
3
src/main/kotlin/de/thm/mni/ii/classroom/exception/classroom/ConferenceNotFoundException.kt
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package de.thm.mni.ii.classroom.exception.classroom | ||
|
||
class ConferenceNotFoundException(conferenceId: String) : Exception("Conference with id $conferenceId does not exist!") |
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 |
---|---|---|
|
@@ -3,5 +3,4 @@ package de.thm.mni.ii.classroom.model | |
interface ClassroomDependent { | ||
|
||
val classroomId: String | ||
|
||
} |
Oops, something went wrong.