Skip to content

Changes

Started by timer
Started 13 days ago
Took 2 min 48 sec

Summary

  1. Fix ADB command line start link example. (commit: 027260e) (details)
  2. Create ClassInvite entities for new classes. (commit: 1830dfc) (details)
  3. Update AcceptInviteScreen to show details for class invite. (commit: 0c73812) (details)
  4. Initial implementation handling acceptance for teacher or student of class invite. (commit: 9be5f71) (details)
  5. Initial implementation of approval for class invites for teachers and students. (commit: 667172a) (details)
  6. Remove use of role dropdown when inviting to class: this is no longer visible or needed when a user goes through add teacher/add student. (commit: 957eb8c) (details)
  7. Fix handling permissions for Invite. (commit: 4bfc9e8) (details)
  8. Maestro fixes: (commit: 43a2896) (details)
  9. Update invite screen: add support for class invites that are via parents. (commit: c4090d2) (details)
  10. Invitation management: updates to support signup via parent devices for classes. (commit: 5f93539) (details)
  11. Initial end-to-end implementation of parent device signup for a class invitation. (commit: 0789180) (details)
  12. Shorten  001_001 test due to Maestro bug. (commit: c08b922) (details)
  13. Fix admin_add_app_and_teacher.yaml flow with new update system. (commit: c5cb269) (details)
  14. Update AcceptInvite to show error message if/when required and loading indicator. (commit: 5eb65e6) (details)
  15. Ensure waiting for permission to join is enforced in UI. (commit: 8d8e5e9) (details)
  16. Invite edge case handling (commit: a7a2071) (details)
  17. Update notices. (commit: fbf6419) (details)
  18. Update AddSchoolUseCase and permissions to prevent creation of an additional admin during school self registration (commit: c04cefd) (details)
  19. Remove obsolete / unused DeepLinkConstants. Update RegisterSchoolUseCase to use shared invite code logic. (commit: c2700cf) (details)
  20. Fix SchoolDirectoryMode (commit: d91f51a) (details)
  21. Bump version (commit: b35dc52) (details)
Commit 027260ea030f3ea246eedfa709c13af34e8fa56f by Mike Dawson
Fix ADB command line start link example.
(commit: 027260e)
The file was addedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/11.json
The file was modifiedrespect-app-compose/README.md (diff)
Commit 1830dfc47e6b053ae7a5c386afdea59fef3f7cb2 by Mike Dawson
Create ClassInvite entities for new classes.

Make flow from class detail screen to invite student/teacher work as expected.
(commit: 1830dfc)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Invite.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/createclass/CreateClassUseCase.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/list/PersonListScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/inviteperson/InvitePersonScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/list/PersonListViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/inviteperson/InvitePersonViewModel.kt (diff)
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/domain/school/add/AddSchoolUseCase.kt (diff)
Commit 0c73812e4f16034c8148e783fbcfd79dfa15d250 by Mike Dawson
Update AcceptInviteScreen to show details for class invite.
(commit: 0c73812)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/respect/model/invite/RespectInviteInfo.kt (diff)
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/account/invite/GetInviteInfoUseCaseServer.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/acceptinvite/AcceptInviteScreen.kt (diff)
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff)
Commit 9be5f719aab3f3b11f94d4f2fcd783b1c3680c60 by Mike Dawson
Initial implementation handling acceptance for teacher or student of class invite.
(commit: 9be5f71)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/list/PersonListViewModel.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/InviteDataSourceDb.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Person.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ext/PersonExt.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/toPerson.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/InviteEntityDao.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ext/InviteExt.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/ext/SnackBarDispatcherUseCaseExt.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ext/JsonObjectBuilderExt.kt
The file was modifiedrespect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/invite/RedeemInviteUseCaseDb.kt (diff)
Commit 667172afa926f0df7241b3a62fb87749974ce2e3 by Mike Dawson
Initial implementation of approval for class invites for teachers and students.
(commit: 667172a)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/InviteEntityDao.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ext/EnrollmentExt.kt
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Person.kt (diff)
The file was modifiedrespect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/invite/RedeemInviteUseCaseDb.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ext/PersonExt.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/invite/ApproveOrDeclineInviteRequestUseCase.kt (diff)
Commit 957eb8c7e3efa1b2118696fe4d0ecabff1a4585a by Mike Dawson
Remove use of role dropdown when inviting to class: this is no longer visible or needed when a user goes through add teacher/add student.
(commit: 957eb8c)
The file was modified.maestro/flows/001_001_invite_users_using_qr_code_or_link_test.yaml (diff)
Commit 4bfc9e8fd0a3ea9855b82216113bd475127e3a03 by Mike Dawson
Fix handling permissions for Invite.
(commit: 4bfc9e8)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/InviteDataSourceDb.kt (diff)
Commit 43a28968413d151563b4e5208773536a68ab42a8 by Mike Dawson
Maestro fixes:
Accept invite screen: change class to class name to match maestro flow
class detail screen: use IconButton instead of clickable.
Fix teacher password in maestro flow.
(commit: 43a2896)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/acceptinvite/AcceptInviteScreen.kt (diff)
The file was modified.maestro/flows/001_001_invite_users_using_qr_code_or_link_test.yaml (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClassPendingPersonListItem.kt
Commit c4090d26a41be1f7769f8553af46a83274845b99 by Mike Dawson
Update invite screen: add support for class invites that are via parents.
(commit: c4090d2)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/ClassInvteModeEnum.kt
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Invite.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/createclass/CreateClassUseCase.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/inviteperson/InvitePersonScreen.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/SchoolTypeConverters.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/InviteAdapter.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/InviteEntity.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/inviteperson/InvitePersonViewModel.kt (diff)
The file was modifiedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/11.json (diff)
Commit 5f93539b3987640a4b93c09304deb93c986da0b1 by Mike Dawson
Invitation management: updates to support signup via parent devices for classes.
(commit: 5f93539)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/enterpasswordsignup/EnterPasswordSignUpViewModel.kt (diff)
The file was removedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/ProfileType.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/acceptinvite/AcceptInviteViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/SignupViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/otheroptionsignup/OtherOptionsSignupViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/signup/SignupScreenModeEnum.kt
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/ext/InviteExt.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/acceptinvite/AcceptInviteScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/termsandcondition/TermsAndConditionViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/navigation/onaccountcreated/NavigateOnAccountCreatedUseCase.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/signup/CreateAccountViewModel.kt (diff)
Commit 078918025ea17b73948f42bf60e896ca30c3c030 by Mike Dawson
Initial end-to-end implementation of parent device signup for a class invitation.
(commit: 0789180)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClassPendingPersonListItem.kt (diff)
The file was removedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseDataSource.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCase.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/signup/CreateAccountViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/navigation/onaccountcreated/NavigateOnAccountCreatedUseCase.kt (diff)
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/routes/school/respect/AddChildAccountRoute.kt (diff)
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseClient.kt
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/invite/ApproveOrDeclineInviteRequestUseCase.kt (diff)
The file was addedrespect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseDb.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/SignupViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/invite/RedeemInviteUseCaseDb.kt (diff)
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/Application.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ext/InviteExt.kt (diff)
Commit c08b922db4c9827c9f385a2fa2db18a78f54e0a3 by Mike Dawson
Shorten  001_001 test due to Maestro bug.

Remove visibility of invite option for adding family member.
(commit: c08b922)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/SignupViewModel.kt (diff)
The file was removed.maestro/flows/001_001_invite_using_invite_code_test.yaml
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ext/InviteExt.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/list/PersonListViewModel.kt (diff)
The file was modified.maestro/flows/subflows/openlink_flow.yaml (diff)
The file was modified.maestro/flows/001_001_invite_users_using_qr_code_or_link_test.yaml (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/RespectViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
Commit c5cb2698fa8fd42130586f7b3bd7ed8f819bfade by Mike Dawson
Fix admin_add_app_and_teacher.yaml flow with new update system.
(commit: c5cb269)
The file was modified.maestro/flows/subflows/admin_add_app_and_teacher.yaml (diff)
Commit 5eb65e682d129df4ff26e65fda92a6b10c18244b by Mike Dawson
Update AcceptInvite to show error message if/when required and loading indicator.
(commit: 5eb65e6)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/waitingforapproval/WaitingForApprovalViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/acceptinvite/AcceptInviteViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/acceptinvite/AcceptInviteScreen.kt (diff)
Commit 8d8e5e95d6f9f37595ee71295f06ad73b458af21 by Mike Dawson
Ensure waiting for permission to join is enforced in UI.

Hide profile button when waiting for approval.
Make sure selecting an account pending approval goes to wait for approval screen.
Make sure logging in with an account waiting for approval goes to the wait for approval screen.
(commit: 8d8e5e9)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/accountlist/AccountListViewModel.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/PersonDataSourceRepository.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/RespectAccountManager.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/login/LoginViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/accountlist/AccountListScreen.kt (diff)
Commit a7a20719f1026dc9e0da5566519f8999bb79e53b by Mike Dawson
Invite edge case handling

1) Update AccountList screen to prevent clicking on a family member when account is not yet approved.
2) Update AddChildAccountUseCase to fetch updated parent and child Person to ensure that parent will see child in family members immediately when approval not required.
(commit: a7a2071)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/accountlist/AccountListScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseDb.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCase.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseClient.kt (diff)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/accountlist/AccountListViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/accountlist/AccountListScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/acknowledgement/AcknowledgementScreen.kt (diff)
Commit c04cefd54bc651b5b489538ff16afba87330aa6a by Mike Dawson
Update AddSchoolUseCase and permissions to prevent creation of an additional admin during school self registration
(commit: c04cefd)
The file was modifiedrespect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/invite/RedeemInviteUseCaseDb.kt (diff)
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/domain/AddDefaultSchoolPermissionGrantsUseCase.kt (diff)
The file was modifiedrespect-datalayer-db/src/jvmTest/kotlin/world/respect/datalayer/db/school/domain/TestCheckPersonPermissionUseCaseImpl.kt (diff)
The file was modifiedrespect-datalayer-db/src/jvmTest/kotlin/world/respect/datalayer/db/school/TestPersonStorage.kt (diff)
The file was modifiedrespect-lib-test/src/jvmMain/kotlin/world/respect/lib/test/clientservertest/ClientServerDatasourceTest.kt (diff)
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/domain/school/add/AddSchoolUseCase.kt (diff)
Commit c2700cf4aef6ab8ebb314741f6f8ae018a0fc78e by Mike Dawson
Remove obsolete / unused DeepLinkConstants. Update RegisterSchoolUseCase to use shared invite code logic.
(commit: c2700cf)
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/util/DeepLinkConstants.kt
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/domain/school/add/RegisterSchoolUseCase.kt (diff)
Commit d91f51a602ce426e739723ba637c2be15ffef4b6 by Mike Dawson
Fix SchoolDirectoryMode

Was using an enum as a constructor argument instead of string.
(commit: d91f51a)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/otheroption/OtherOptionsViewModel.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/list/SchoolDirectoryMode.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/edit/SchoolDirectoryEditViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/list/SchoolDirectoryListScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/getstarted/GetStartedViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/list/SchoolDirectoryListViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-app-compose/build.gradle.kts (diff)