The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/shared/serialization/StringOrObjectSerializer.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterUser.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/OpdsFacet.kt The file was modified settings.gradle.kts (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/ReadiumContributorObject.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterOrgGUIDRef.kt (diff) The file was modified respect-cli/src/main/java/world/respect/clitools/RespectCLI.kt (diff) The file was modified respect-lib-shared/src/jvmTest/kotlin/world/respect/domain/validator/TestValidationScenarios.kt (diff) The file was modified respect-lib-cache/build.gradle.kts (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/TransferJobItemDao.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/OpdsAcquisition.kt The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/opds/validator/ValidateLinkUseCaseImpl.kt (diff) The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsFacet.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/OpdsDataSource.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/OpdsFeedMetadata.kt The file was added respect-lib-serializers/src/commonMain/kotlin/world/respect/lib/serializers/LocalDateOrDateTime.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/OpdsSeries.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/detail/AppsDetailScreen.kt (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/TransferJobItem.kt The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/ReadiumContributorObject.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/ReadiumLinkProperties.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/opds/adapters/ReadiumSubjectEntityAdapters.kt (diff) The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/ReadiumLinkProperties.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/shared/serialization/StringValue.kt The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/ReadiumLinkPropertiesEncrypted.kt The file was added respect-lib-serializers/src/commonMain/kotlin/world/respect/lib/serializers/StringOrObjectSerializer.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/OpdsGroup.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/OpdsFeed.kt The file was added respect-lib-serializers/src/commonMain/kotlin/world/respect/lib/serializers/InstantISO8601Serializer.kt The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsPrice.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/detail/AppsDetailViewModel.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/opds/OpdsDataSourceHttp.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/shared/serialization/SingleItemToListTransformerSerializer.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/shared/adapters/LangMapAdapter.kt (diff) The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsGroup.kt The file was added respect-lib-opds-model/build.gradle.kts The file was modified respect-lib-shared/src/jvmTest/kotlin/world/respect/OpdsSerializationTest.kt (diff) The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/ReadiumMetadata.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/opds/adapters/OpdsPublicationEntityAdapter.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/list/LearningUnitListViewModel.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/opds/adapters/OpdsFacetAdapter.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/UstadCacheDb.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/ReadiumSubject.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/shared/serialization/LocalDateOrDateTime.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/opds/adapters/OpdsGroupAdapter.kt (diff) The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/opds/validator/ValidateOpdsPublicationUseCase.kt (diff) The file was modified respect-datalayer-db/src/jvmTest/kotlin/world/respect/datalayer/db/opds/adapters/TestOpdsPublicationEntityAdapter.kt (diff) The file was modified respect-datalayer/build.gradle.kts (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/AbstractEnqueuePinPublicationUseCase.kt The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/TransferJobItemStatus.kt The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/LangMap.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/OpdsBelongsTo.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/validator/ValidateLinkUseCase.kt (diff) The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/opds/validator/OpdsPublicationValidator.kt (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/TransferJob.kt The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/ReadiumLink.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/shared/serialization/UriStringSerializer.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/app/appstate/DisplayString.kt (diff) The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/LangMapExt.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/ReadiumMetadata.kt The file was added respect-lib-serializers/src/commonMain/kotlin/world/respect/lib/serializers/SingleItemToListTransformerSerializer.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/shared/serialization/InstantISO8601Serializer.kt The file was added respect-lib-serializers/src/commonMain/kotlin/world/respect/lib/serializers/UriStringSerializer.kt The file was added respect-lib-serializers/build.gradle.kts The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/opds/adapters/OpdsFeedMetadataEntityAdapter.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/compatibleapps/model/RespectAppManifest.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/LangMap.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/OpdsPublication.kt The file was added respect-lib-serializers/README.md The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/opds/validator/OpdsFeedValidator.kt (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/TransferJobDao.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/LangMapExt.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/opds/OpdsDataSourceDb.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/detail/LearningUnitDetailViewModel.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/opds/adapters/OpdsFeedAdapter.kt (diff) The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsFeedMetadata.kt The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsAcquisition.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/ReadiumLink.kt The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsPublication.kt The file was added respect-lib-serializers/src/commonMain/kotlin/world/respect/lib/serializers/StringValue.kt The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/respectappmanifest/validator/RespectAppManifestValidator.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/OpdsPrice.kt The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsSeries.kt The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsBelongsTo.kt The file was modified respect-datalayer-repository/src/jvmTest/kotlin/world/respect/datalayer/repository/opds/OpdsRespectRepositoryIntegrationTest.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/OpdsDataSourceLocal.kt (diff) The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/ReadiumSubject.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/opds/OpdsDataSourceRepository.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterResourceGUIDRef.kt (diff) The file was added respect-lib-opds-model/README.md The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsFeed.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/opds/model/ReadiumLinkPropertiesEncrypted.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/shared/serialization/StringListSerializer.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/opds/adapters/ReadiumLinkEntityAdapter.kt (diff) The file was added respect-lib-serializers/src/commonMain/kotlin/world/respect/lib/serializers/StringListSerializer.kt The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/DbTypeConverters.kt The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/EnqueueRunDownloadJobUseCase.kt The file was added respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationGetManifestInfoWorker.kt The file was removed respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/AbstractEnqueuePinPublicationUseCase.kt The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/DownloadJobDao.kt The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/EnqueuePinPublicationPrepareUseCase.kt The file was modified respect-lib-cache/schemas/com.ustadmobile.libcache.db.UstadCacheDb/15.json (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/AbstractEnqueuePinPublicationPrepareUseCase.kt The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/RunDownloadJobUseCase.kt The file was modified respect-lib-cache/build.gradle.kts (diff) The file was modified gradle/libs.versions.toml (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/RetentionLock.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/UstadCacheDb.kt (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCase.kt The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/DownloadJobItemDao.kt The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/UstadCacheImpl.kt (diff) The file was removed respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/TransferJobItemDao.kt The file was removed respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/TransferJob.kt The file was added respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/EnqueuePinPublicationPrepareUseCaseAndroid.kt The file was removed respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/TransferJobDao.kt The file was removed respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/TransferJobItem.kt The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/UstadCache.kt (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/DownloadJob.kt The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/DownloadJobItem.kt The file was modified respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/EnqueuePinPublicationPrepareUseCaseAndroid.kt (diff) The file was modified respect-lib-cache/schemas/com.ustadmobile.libcache.db.UstadCacheDb/15.json (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/DownloadJobDao.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/DownloadJobItem.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCase.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/DownloadJob.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/AbstractEnqueuePinPublicationPrepareUseCase.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/UstadCache.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/UstadCacheDb.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/DownloadJob.kt (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/PinnedPublicationDao.kt The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCase.kt (diff) The file was modified respect-lib-cache/schemas/com.ustadmobile.libcache.db.UstadCacheDb/15.json (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/PinnedPublication.kt The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/DownloadJobDao.kt (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/DownloadJobItemStatusUpdater.kt The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/EnqueueRunDownloadJobUseCase.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/RunDownloadJobUseCase.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/DownloadJobItemDao.kt (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/RunDownloadJobUseCaseImpl.kt The file was added respect-lib-util/src/commonMain/kotlin/world/respect/libutil/ext/ListExt.kt The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCase.kt (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/DownloadProgressUpdate.kt The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/okhttp/OkCallExt.kt The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/DownloadStatusUpdate.kt The file was added respect-lib-cache/src/jvmTest/resources/publication/lesson001/cover.png The file was modified respect-lib-opds-model/build.gradle.kts (diff) The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/okhttp/UstadCacheInterceptorTest.kt (diff) The file was added respect-lib-cache/src/jvmTest/resources/publication/lesson001/audio.ogg The file was added respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/downloader/DownloadIntegrationTest.kt The file was added respect-lib-cache/src/jvmTest/resources/publication/lesson001/script.js The file was added respect-lib-cache/src/jvmMain/kotlin/com/ustadmobile/libcache/downloader/EnqueuePinPublicationPrepareUseCaseJvm.kt The file was added respect-lib-cache/src/jvmTest/resources/publication/lesson001/video.mp4 The file was modified respect-lib-cache/build.gradle.kts (diff) The file was modified respect-lib-serializers/build.gradle.kts (diff) The file was modified respect-lib-util/build.gradle.kts (diff) The file was added respect-lib-cache/src/jvmTest/resources/publication/lesson001/lesson001.json The file was added respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/okhttp/AbstractCacheInterceptorTest.kt The file was added respect-lib-cache/src/jvmTest/resources/publication/lesson001/lesson001.html The file was modified gradle/libs.versions.toml (diff) The file was added respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsPublicationExt.kt The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/AbstractEnqueuePinPublicationPrepareUseCase.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/okhttp/UstadCacheInterceptor.kt (diff) The file was modified respect-lib-cache/build.gradle.kts (diff) The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/downloader/DownloadIntegrationTest.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/DownloadJobItemDao.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCase.kt (diff) The file was modified respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/EnqueuePinPublicationPrepareUseCaseAndroid.kt (diff) The file was added respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCaseWorker.kt The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/UstadCacheImpl.kt (diff) The file was removed respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationGetManifestInfoWorker.kt The file was added respect-test-end-to-end/test-description/001_003_child_user_join_class_using_invitecode_test_description.md The file was added respect-test-end-to-end/android-maestro/run_test.sh The file was added respect-test-end-to-end/test-description/001_002_Parent_user_join_class_using_invitecode_test_description.md The file was modified respect-test-end-to-end/README.md (diff) The file was added respect-test-end-to-end/test-description/003_admin_user_assigns_assignment_to_a_class_test_description.md The file was added respect-test-end-to-end/test-description/004_admin_user_adds_classes_test_description.md The file was removed respect-test-end-to-end/test-description/001_browse_lessons_test_description.md The file was added respect-test-end-to-end/test-description/001_001_user_login_to _app_with_school_name_test_description.md The file was added respect-test-end-to-end/test-description/005_admin_user_creates_a_report_test_description.md The file was added respect-test-end-to-end/test-description/002_browse_lessons_test_description.md The file was added respect-test-end-to-end/test-description/006_admin_user_adds_person_account_test_description.md The file was removed respect-test-end-to-end/test-description/001_002_Parent_user_join_class_using_invitecode_test_description.md The file was modified respect-test-end-to-end/test-description/006_admin_user_adds_person_account_test_description.md (diff) The file was modified respect-test-end-to-end/test-description/002_browse_lessons_test_description.md (diff) The file was modified respect-test-end-to-end/test-description/005_admin_user_creates_a_report_test_description.md (diff) The file was modified respect-test-end-to-end/android-maestro/e2e-tests/001_browse_lessons_test.yaml (diff) The file was modified respect-test-end-to-end/README.md (diff) The file was added respect-test-end-to-end/test-description/001_003_Parent_user_join_class_using_invitecode_test_description.md The file was modified respect-test-end-to-end/test-description/003_admin_user_assigns_assignment_to_a_class_test_description.md (diff) The file was added respect-test-end-to-end/test-description/001_002_user_login_to _app_with_school_link_provided_by_admin_test_description.md The file was removed respect-test-end-to-end/test-description/001_003_child_user_join_class_using_invitecode_test_description.md The file was modified respect-test-end-to-end/android-maestro/run_test.sh (diff) The file was added respect-test-end-to-end/test-description/001_004_child_user_join_class_using_invitecode_test_description.md The file was modified respect-test-end-to-end/README.md (diff) The file was modified respect-test-end-to-end/android-maestro/run_test.sh (diff) The file was modified respect-test-end-to-end/README.md (diff) The file was modified respect-test-end-to-end/android-maestro/run_test.sh (diff) The file was modified respect-test-end-to-end/test-description/001_003_Parent_user_join_class_using_invitecode_test_description.md (diff)
Commit
a38f3ec9fe4ec8aca9aa3e09c8e9e78942bb0152
by mandvi.verma feat: Implement Settings and School Directory screens This commit introduces the initial framework for the Settings and School Directory features. Key changes: **Navigation & ViewModels:** - Added new navigation routes: `SettingScreen`, `SchoolDirectoryList`, and `SchoolDirectoryEdit` in `AppRoutes.kt`. - Created corresponding ViewModels: `SettingViewModel`, `SchoolDirectoryListViewModel`, and `SchoolDirectoryEditViewModel`. - `SettingViewModel`: - Sets the app bar title to "Settings". - Hides the bottom navigation. - Provides `onClickSchoolDirectory` to navigate to `SchoolDirectoryList`. - `SchoolDirectoryListViewModel`: - Sets the app bar title to "School Directory". - Hides the bottom navigation. - Configures a FAB (Floating Action Button) to add a new directory, navigating to `SchoolDirectoryEdit`. - `SchoolDirectoryEditViewModel`: - Sets the app bar title to "Add Directory" (or "Edit Directory" - to be implemented). - Hides the bottom navigation. - Registered these new ViewModels in `AppKoinModule.kt`. - Integrated these new routes and ViewModels into `AppNavHost.kt`. **UI Screens (Composable):** - Created `SettingScreen.kt`: - Displays a list of settings options (currently only "School Directory"). - Uses a `LazyColumn` and `SettingListItem` composable. - `SettingListItem` displays an icon and title for each option and handles clicks. - Created `SchoolDirectoryListScreen.kt`: - Provides a basic `LazyColumn` structure for displaying school directory items (implementation pending). - Created `SchoolDirectoryEditScreen.kt`: - Provides a placeholder structure for adding/editing school directory entries (implementation pending). **Account List Integration:** - Added a "Settings" option to `AccountListScreen.kt`. - This option uses `Icons.Default.Settings` and navigates to `SettingScreen` when clicked. - Added `onClickSettings()` function to `AccountListViewModel.kt` to handle this navigation. **String Resources:** - Added new string resources in `strings.xml`: - `settings`: "Settings" - `school_directory`: "School Directory" - `add_directory`: "Add Directory" - `edit_directory`: "Edit Directory" The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/accountlist/AccountListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/list/SchoolDirectoryListViewModel.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/edit/SchoolDirectoryEditViewModel.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/list/SchoolDirectoryListScreen.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/accountlist/AccountListScreen.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/settings/SettingScreen.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/edit/SchoolDirectoryEditScreen.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/settings/SettingViewModel.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
Commit
7d6ceaeaeb8fc9989ccc86204d23081e7e807c75
by mandvi.verma feat: Implement Settings and School Directory screens This commit introduces the initial framework for the Settings and School Directory features. Key changes: **Navigation & ViewModels:** - Added new navigation routes: `SettingScreen`, `SchoolDirectoryList`, and `SchoolDirectoryEdit` in `AppRoutes.kt`. - Created corresponding ViewModels: `SettingViewModel`, `SchoolDirectoryListViewModel`, and `SchoolDirectoryEditViewModel`. - `SettingViewModel`: - Sets the app bar title to "Settings". - Hides the bottom navigation. - Provides `onClickSchoolDirectory` to navigate to `SchoolDirectoryList`. - `SchoolDirectoryListViewModel`: - Sets the app bar title to "School Directory". - Hides the bottom navigation. - Configures a FAB (Floating Action Button) to add a new directory, navigating to `SchoolDirectoryEdit`. - `SchoolDirectoryEditViewModel`: - Sets the app bar title to "Add Directory" (or "Edit Directory" - to be implemented). - Hides the bottom navigation. - Registered these new ViewModels in `AppKoinModule.kt`. - Integrated these new routes and ViewModels into `AppNavHost.kt`. **UI Screens (Composable):** - Created `SettingScreen.kt`: - Displays a list of settings options (currently only "School Directory"). - Uses a `LazyColumn` and `SettingListItem` composable. - `SettingListItem` displays an icon and title for each option and handles clicks. - Created `SchoolDirectoryListScreen.kt`: - Provides a basic `LazyColumn` structure for displaying school directory items (implementation pending). - Created `SchoolDirectoryEditScreen.kt`: - Provides a placeholder structure for adding/editing school directory entries (implementation pending). **Account List Integration:** - Added a "Settings" option to `AccountListScreen.kt`. - This option uses `Icons.Default.Settings` and navigates to `SettingScreen` when clicked. - Added `onClickSettings()` function to `AccountListViewModel.kt` to handle this navigation. **String Resources:** - Added new string resources in `strings.xml`: - `settings`: "Settings" - `school_directory`: "School Directory" - `add_directory`: "Add Directory" - `edit_directory`: "Edit Directory" The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/SchoolDataSourceRepository.kt (diff)
Commit
d67e61f911e9e34d0fc6316c69f71b6e0da5a724
by mandvi.verma Feat: Implement delete directory functionality This commit introduces the ability to delete school directories. Key changes: - Added `deleteDirectory` function to `SchoolDirectoryDataSource` interface and its implementations (`SchoolDirectoryDataSourceDb`, `SchoolDirectoryDataSourceHttp`, `SchoolDirectoryDataSourceRepository`). - In `SchoolDirectoryDataSourceDb`, `deleteDirectory` calls `deleteByUrl` on `SchoolDirectoryEntityDao`. - Added `deleteByUrl` query to `SchoolDirectoryEntityDao` to delete a directory by its URL. - `SchoolDirectoryListViewModel` now: - Injects `RespectAppDataSource`. - Loads school directories on initialization. - Provides an `onDeleteDirectory` function which calls `deleteDirectory` on the data source and reloads the list. - Updates `SchoolDirectoryListUIState` to hold a list of `RespectSchoolDirectory` objects instead of `String`. - `SchoolDirectoryListScreen` now: - Displays a list of `SchoolDirectoryListItem` composables. - Passes the `onDeleteDirectory` function from the ViewModel to each item. - Introduced `SchoolDirectoryListItem` composable: - Displays the directory's base URL. - Includes a delete icon button that triggers the `onDeleteClick` callback. - Added a new string resource `delete_directory`. The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryDataSourceRepository.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryDataSourceDb.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryDataSourceHttp.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/list/SchoolDirectoryListScreen.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntityDao.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryDataSource.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/list/SchoolDirectoryListViewModel.kt (diff)
Commit
1669ddb47a49652cf109a35508d686f114e854d0
by mandvi.verma Feat: Initial setup for SchoolDirectoryEdit screen This commit introduces the basic structure for the school directory editing feature. Key changes: - Added `SchoolDirectoryEditViewModel` with an initial `SchoolDirectoryEditUIState`. - `SchoolDirectoryEditUIState` now includes `schoolDirectoryUrlError` and `schoolDirectory` (a `DataLoadState` for `SchoolDirectoryEntry`). - Added a `fieldsEnabled` computed property to `SchoolDirectoryEditUIState` based on the `schoolDirectory` loading state. - `SchoolDirectoryEditViewModel` now implements `KoinScopeComponent` and injects `RespectAppDataSource`. - The ViewModel initializes the app UI state to set the top app bar title to "Add Directory" and hide the bottom navigation. - Added an `onClearError` function to clear `schoolDirectoryUrlError` in the UI state. - Created `SchoolDirectoryEditScreen.kt` with an initial layout. - The screen displays an `OutlinedTextField` for entering a link. - The text field's label is "Enter link" and has supporting text "Required". - The text field's enabled state is controlled by `uiState.fieldsEnabled`. - The text field's error state is controlled by `uiState.schoolDirectoryUrlError`. - Added `onClearError` callback to the screen. The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/edit/SchoolDirectoryEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/edit/SchoolDirectoryEditScreen.kt (diff)
Commit
17a87c28b8138996ce185c2598ee1231ba4fa2b9
by mandvi.verma Refactor: Move deleteDirectory functionality to SchoolDirectoryEntryDataSource This commit refactors the `deleteDirectory` functionality from `SchoolDirectoryDataSource` to `SchoolDirectoryEntryDataSource`. Key changes: - Removed `deleteDirectory` from `SchoolDirectoryDataSource` interface and its implementations (`SchoolDirectoryDataSourceHttp`, `SchoolDirectoryDataSourceRepository`, `SchoolDirectoryDataSourceDb`). - Removed `deleteByUrl` from `SchoolDirectoryEntityDao`. - Added `deleteDirectory` to `SchoolDirectoryEntryDataSource` interface and its implementations (`SchoolDirectoryEntryDataSourceHttp`, `SchoolDirectoryEntryDataSourceRepository`, `SchoolDirectoryEntryDataSourceDb`). - Added `deleteByUrl` to `SchoolDirectoryEntryEntityDao`. - Added `listAsPagingSource` (with a TODO) to `SchoolDirectoryEntryDataSource` and its implementations. - `SchoolDirectoryListViewModel` now uses `SchoolDirectoryEntryDataSource` to load and delete directories. - `SchoolDirectoryListUIState` now holds a list of `SchoolDirectoryEntry` instead of `RespectSchoolDirectory`. - `SchoolDirectoryListScreen` and `SchoolDirectoryListItem` updated to use `SchoolDirectoryEntry`. The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryEntryDataSourceDb.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryEntryDataSourceHttp.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntityDao.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryEntryDataSourceRepository.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryDataSourceRepository.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/list/SchoolDirectoryListViewModel.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryDataSourceHttp.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryEntryDataSource.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryDataSourceDb.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/list/SchoolDirectoryListScreen.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntryEntityDao.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryDataSource.kt (diff)
Commit
e009056b50f00f8671e192a8a879267d302ebd8f
by mandvi.verma Refactor: Move deleteDirectory functionality to SchoolDirectoryEntryDataSource This commit refactors the `deleteDirectory` functionality from `SchoolDirectoryDataSource` to `SchoolDirectoryEntryDataSource`. Key changes: - Removed `deleteDirectory` from `SchoolDirectoryDataSource` interface and its implementations (`SchoolDirectoryDataSourceHttp`, `SchoolDirectoryDataSourceRepository`, `SchoolDirectoryDataSourceDb`). - Removed `deleteByUrl` from `SchoolDirectoryEntityDao`. - Added `deleteDirectory` to `SchoolDirectoryEntryDataSource` interface and its implementations (`SchoolDirectoryEntryDataSourceHttp`, `SchoolDirectoryEntryDataSourceRepository`, `SchoolDirectoryEntryDataSourceDb`). - Added `deleteByUrl` to `SchoolDirectoryEntryEntityDao`. - Added `listAsPagingSource` (with a TODO) to `SchoolDirectoryEntryDataSource` and its implementations. - `SchoolDirectoryListViewModel` now uses `SchoolDirectoryEntryDataSource` to load and delete directories. - `SchoolDirectoryListUIState` now holds a list of `SchoolDirectoryEntry` instead of `RespectSchoolDirectory`. - `SchoolDirectoryListScreen` and `SchoolDirectoryListItem` updated to use `SchoolDirectoryEntry`. The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/list/SchoolDirectoryListViewModel.kt (diff)
Commit
b804f78f632849ec536c0777a5f1f3731f9226e4
by mandvi.verma Refactor: Improve School Directory Edit screen UI and ViewModel This commit refactors the School Directory Edit screen and its ViewModel for an improved user experience. Key changes: - In `SchoolDirectoryEditViewModel`: - Renamed `schoolDirectoryUrlError` in `SchoolDirectoryEditUIState` to `errorMessage` and changed its type to `UiText?`. - Added `linkUrl` to `SchoolDirectoryEditUIState` to hold the input link. - Added `onLinkChanged` function to update `linkUrl` and clear any existing error message. - Added `onClickNext` function to handle the "Next" button click, which currently parses the entered link. - Removed `onClearError` function as error handling is now managed within `onLinkChanged`. - In `SchoolDirectoryEditScreen.kt`: - Updated the `SchoolDirectoryEditScreen` composable to take `onLinkChanged` and `onClickNext` as parameters. - Added a `Text` composable to display an introductory message (`app_link_provided_message`). - The `OutlinedTextField` now uses `uiState.linkUrl` for its value and calls `onLinkChanged` on value change. - The `OutlinedTextField` now displays a placeholder (`example_url_placeholder`) and uses `link_label` for its label. - Error messages are now displayed using `uiState.errorMessage` and `uiTextStringResource`. - Added a "Next" `Button` that calls `onClickNext` when clicked. - General layout adjustments with `Spacer` and `padding`. - Removed an unused newline in `EnterLinkViewModel.kt`. - Minor formatting change in `SchoolDirectoryEntryDataSourceHttp.kt`. The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/edit/SchoolDirectoryEditScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/enterlink/EnterLinkViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/edit/SchoolDirectoryEditViewModel.kt (diff)
Commit
bbf9b808edf89e2a9255fdc8af239e5567b86d3d
by mandvi.verma Refactor: Remove app link message from SchoolDirectoryEditScreen This commit removes the `Text` composable that displayed the "app_link_provided_message" string resource from the `SchoolDirectoryEditScreen`. Key changes: - Deleted the `Text` composable responsible for showing the app link message. The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/edit/SchoolDirectoryEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/edit/SchoolDirectoryEditScreen.kt (diff)
Commit
6e1a8b9c12dc6289c9fe3e9ed96accc2e337a0f7
by mandvi.verma Refactor: Implement School Directory Entry Insertion and Improve UI This commit introduces functionality to insert school directory entries and enhances the user interface for managing accounts and editing school directories. Key changes: - Added `insertDirectoryEntry` function to `SchoolDirectoryEntryDataSource`, `SchoolDirectoryEntryDataSourceDb`, `SchoolDirectoryEntryDataSourceHttp`, and `SchoolDirectoryEntryDataSourceRepository` to support adding new directory entries. - In `SchoolDirectoryEntryDataSourceDb`: - `insertDirectoryEntry` now uses a database transaction to insert a new school directory entry. - `deleteByUrl` in `SchoolDirectoryEntryEntityDao` and its usage in `SchoolDirectoryEntryDataSourceDb` now correctly accepts a `Url` object instead of a `String`. - In `SchoolDirectoryEditViewModel`: - `onClickNext` now constructs a `SchoolDirectoryEntry` from the provided link. - It inserts the new entry using `respectAppDataSource.schoolDirectoryEntryDataSource.insertDirectoryEntry`. - Navigates to `SchoolDirectoryList` upon successful insertion. - Implemented error handling for invalid URLs, updating the UI with an error message. - In `SchoolDirectoryListViewModel`: - Removed the call to `loadSchoolDirectories()` after deleting a directory, as the list is likely observed and will update automatically. - In `AccountListViewModel`: - Added a `loading` state to `AccountListUiState` to indicate when account data is being fetched. - The `loading` state is set to `true` before starting to collect `selectedAccountAndPersonFlow` and set to `false` once the data is received. The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/edit/SchoolDirectoryEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/accountlist/AccountListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/list/SchoolDirectoryListViewModel.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryEntryDataSourceDb.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryEntryDataSourceHttp.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryEntryDataSourceRepository.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryEntryDataSource.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntryEntityDao.kt (diff)
Commit
233a293bfd08d72b26f7e4d3daf76b8c500b1740
by mandvi.verma feat: Add email field to Person entity and related screens This commit introduces an email field to the `Person` entity and integrates it across various parts of the application. Key changes: - Added `email` (nullable String) property to the `Person` data model in `respect-datalayer`. - Updated `PersonEntity` in `respect-datalayer-db` to include `pEmail` (nullable String). - Modified `PersonAdapter` in `respect-datalayer-db` to map the `email` field during entity creation. - Added `email` (nullable String) property to `PersonListDetails` composite model in `respect-datalayer`. - Updated the `asListDetails()` extension function in `respect-datalayer` to include the new `email` field. - Added a new string resource `email` ("Email") in `respect-lib-shared`. - Integrated an `OutlinedTextField` for `email` in `PersonEditScreen` within `respect-app-compose`, allowing users to view and edit the person's email. The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/adapters/PersonAdapters.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/composites/PersonListDetails.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/PersonEntity.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/PersonAdapter.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Person.kt (diff)
Commit
4e72dae3d2485dc6ced6c68e887abda89aa82d46
by mandvi.verma Feat: Add phone number field to Person entity and edit screen This commit introduces a phone number field to the `Person` entity and integrates it into the person editing and detail screens. It also adds utility classes for phone number formatting and validation. Key changes: - Added `phoneNumber` field to `Person` data class and `PersonEntity` database entity. - Updated `PersonListDetails` to include `phoneNumber`. - Added `phone_number` string resource. - Introduced `UstadPhoneNumberTextField` composable for phone number input with country code selection and formatting. - Integrated `UstadPhoneNumberTextField` into `PersonEditScreen`. - Displayed phone number in `PersonDetailScreen`. - Added `nationalPhoneNumSet` to `PersonEditUiState` and `onNationalPhoneNumSetChanged` to `PersonEditViewModel` to track if a national number has been entered. - Created utility classes for phone number handling: - `PhoneNumberTransformation`: Visual transformation for formatting phone numbers as they are typed. - `CountryCodeTransformation`: Visual transformation to prefix country codes with "+". - `GuessCountryCode`: Composable function to guess the initial phone country code (platform-specific implementation needed). - `PhoneUtils`: Utility functions for phone number character validation (platform-specific implementation needed). - Interfaces for phone number utilities (`IPhoneNumber`, `IPhoneNumberUtil`, `IAsYouTypeFormatter`, `PhoneNumValidatorUseCase`, `OnClickPhoneNumUseCase`). - Updated database schema for `PersonEntity` to include `pPhoneNumber`. The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/IPhoneNumberUtilExt.kt The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/OnClickPhoneNumUseCase.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/phonenum/GuessCountryCode.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/adapters/PersonAdapters.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/PhoneNumValidatorUseCase.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Person.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/detail/PersonDetailScreen.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/phonenum/PhoneUtils.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/PersonEntity.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/UstadPhoneNumberTextField.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/IAsYouTypeFormatter.kt The file was added respect-app-compose/src/androidMain/kotlin/world/respect/app/util/ext/phonenum/GuessCountryCode.android.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/IPhoneNumber.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/PersonAdapter.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/IPhoneNumberUtil.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/composites/PersonListDetails.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/phonenum/PhoneNumberVisualTransformation.kt The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/1.json (diff) The file was added respect-app-compose/src/desktopMain/kotlin/world/respect/app/util/ext/phonenum/PhoneUtils.desktop.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/phonenum/CountryCodeTransformation.kt
Commit
5b3c4e795e585f2ae160009f2e84864c421d456d
by mandvi.verma Feat: Implement Android phone number utilities This commit introduces utility functions for handling phone numbers on Android. Key changes: - Added `PhoneUtils.android.kt` with constants for phone number characters (`PAUSE`, `WAIT`, `WILD`). - Implemented `isNonSeparator` function to check if a character is a non-separable phone number character. - Implemented `isReallyDialable` function to check if a character is a dialable phone number character. The file was added respect-app-compose/src/androidMain/kotlin/world/respect/app/util/ext/phonenum/PhoneUtils.android.kt
Commit
c2fd32f364b874c3696f622cd2ff23b1f01453b0
by mandvi.verma Refactor: Integrate phone number formatting and validation This commit introduces phone number formatting and validation capabilities using `libphonenumber`. Key changes: - Added `libphonenumber` dependency. - Implemented `guessInitialPhoneCountryCode` for Android and desktop to determine the initial country code based on device settings (network/SIM for Android, default locale for desktop). - Created Android-specific implementations for phone number utilities: - `IPhoneNumberUtilAndroid`: Wraps `com.google.i18n.phonenumbers.PhoneNumberUtil`. - `PhoneNumberAndroid`: Wraps `com.google.i18n.phonenumbers.Phonenumber.PhoneNumber`. - `IAsYouTypeFormatterAdapterAndroid`: Adapts `com.google.i18n.phonenumbers.AsYouTypeFormatter`. - `OnClickPhoneNumberUseCaseAndroid`: Handles clicks on phone numbers by initiating a dial intent. - `PhoneNumValidatorAndroid`: Validates phone numbers using `IPhoneNumberUtil`. - Registered `PhoneNumberUtil` and `IPhoneNumberUtilAndroid` in the Android Koin module. - Updated `PersonDetailScreen` to conditionally display phone number and email fields only if they are present. The file was added respect-app-compose/src/desktopMain/kotlin/world/respect/app/util/ext/phonenum/GuessCountryCode.desktop.kt The file was modified gradle/libs.versions.toml (diff) The file was added respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/OnClickPhoneNumberUseCaseAndroid.kt The file was added respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/PhoneNumValidatorAndroid.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/app/util/ext/phonenum/GuessCountryCode.android.kt (diff) The file was added respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/PhoneNumberAndroid.kt The file was modified respect-app-compose/build.gradle.kts (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was added respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/IAsYouTypeFormatterAdapterAndroid.kt The file was added respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/IPhoneNumberUtilAndroid.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/detail/PersonDetailScreen.kt (diff)
Commit
695fc2f907c54be67f1ce54f95f169444479c9d7
by mandvi.verma Refactor: Rename UstadPhoneNumberTextField to RespectPhoneNumberTextField This commit renames the composable function `UstadPhoneNumberTextField` to `RespectPhoneNumberTextField`. Key changes: - Renamed `UstadPhoneNumberTextField.kt` to `RespectPhoneNumberTextField.kt`. - Updated the function name from `UstadPhoneNumberTextField` to `RespectPhoneNumberTextField`. - Removed an unused `isPreview` variable that was checking `LocalInspectionMode.current`. - Updated call sites in `PersonEditScreen.kt` to use the new composable name. The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/UstadPhoneNumberTextField.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPhoneNumberTextField.kt
Commit
a87ffb79bab7529dacb5f1a87d24d93fe0ffa2be
by mandvi.verma Refactor: Organize utility files and remove unused code This commit reorganizes utility files by moving phone number related utilities to a dedicated `phonenum` subpackage and renames the `ext` package to `extt`. Additionally, it removes the unused `ModifierExt.kt` file and cleans up unused imports in `RespectPersonAvatar.kt` and `RespectPhoneNumberTextField.kt`. Key changes: - Moved `GuessCountryCode.kt`, `PhoneUtils.kt`, `PhoneNumberVisualTransformation.kt`, and `CountryCodeTransformation.kt` from `world.respect.app.util.ext.phonenum` to `world.respect.app.util.phonenum`. - Renamed package `world.respect.app.util.ext` to `world.respect.app.util.extt`. - Updated package declaration in `IntExt.kt`. - Updated import path for `rgbaColor` in `RespectPersonAvatar.kt`. - Deleted `respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/ModifierExt.kt` as it was empty. - Removed unused imports in `RespectPersonAvatar.kt`: - `androidx.compose.foundation.layout.size` - `androidx.compose.ui.unit.dp` - Removed unused import in `RespectPhoneNumberTextField.kt`: - `androidx.compose.ui.platform.LocalInspectionMode` The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/util/extt/IntExt.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/phonenum/GuessCountryCode.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPersonAvatar.kt (diff) The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/phonenum/PhoneUtils.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPhoneNumberTextField.kt (diff) The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/phonenum/CountryCodeTransformation.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/util/phonenum/PhoneNumberVisualTransformation.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/util/phonenum/CountryCodeTransformation.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/phonenum/PhoneNumberVisualTransformation.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/util/phonenum/PhoneUtils.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/ModifierExt.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/IntExt.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/util/phonenum/GuessCountryCode.kt
Commit
9a30059e3ff4c5f2bc44711b75040d390ac57fd7
by mandvi.verma Refactor: Remove trailing newlines and whitespace This commit removes unnecessary trailing newlines and whitespace from various files. Key changes: - Removed trailing newlines from `PersonListDetails.kt` and `strings.xml`. - Trimmed whitespace and newlines in `PersonEditScreen.kt`. - Adjusted newlines in `PersonAdapters.kt`. - Removed extra newlines in `GuessCountryCode.desktop.kt`, `AppKoinModule.kt`, `IntExt.kt`, `GuessCountryCode.android.kt`, `RespectPhoneNumberTextField.kt`, `PhoneUtils.android.kt`, `IPhoneNumber.kt`, `PhoneNumberAndroid.kt`, `PhoneNumValidatorAndroid.kt`, and `IAsYouTypeFormatterAdapterAndroid.kt`. - Added a `testTag` to the phone number field in `PersonEditScreen.kt`. The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/PhoneNumValidatorAndroid.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPhoneNumberTextField.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/app/util/ext/phonenum/PhoneUtils.android.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/util/extt/IntExt.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/composites/PersonListDetails.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/PhoneNumberAndroid.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/adapters/PersonAdapters.kt (diff) The file was modified respect-app-compose/src/desktopMain/kotlin/world/respect/app/util/ext/phonenum/GuessCountryCode.desktop.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/IAsYouTypeFormatterAdapterAndroid.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/app/util/ext/phonenum/GuessCountryCode.android.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/IPhoneNumber.kt (diff)
Commit
1e431a9ae4bc6dca0c2e81a4c7f3d42286a572a3
by mandvi.verma Refactor: Simplify School Directory Data Model and Operations This commit refactors the school directory data handling by replacing `SchoolDirectoryEntry` with `RespectSchoolDirectory` across various layers of the application. This change simplifies the data model and streamlines related operations. Key changes: - Replaced `SchoolDirectoryEntry` with `RespectSchoolDirectory` in: - `SchoolDirectoryListViewModel` for UI state and delete operations. - `SchoolDirectoryEditViewModel` for UI state and adding new directories. - `SchoolDirectoryDataSource` interface for `deleteDirectory` and `insertDirectoryEntry` methods. - `SchoolDirectoryDataSourceRepository` for local data operations. - `SchoolDirectoryDataSourceDb` for database interactions, including moving `deleteDirectory` and `insertDirectoryEntry` from `SchoolDirectoryEntryDataSourceDb`. - `SchoolDirectoryListScreen` composable and its item composable. - Introduced `SchoolDirectoryAdapter.kt` with `toEntities` and `toModel` extension functions for converting between `RespectSchoolDirectory` and `SchoolDirectoryEntity`. - Updated `SchoolDirectoryEntityDao`: - Added `deleteByUrl(url: Url)` to delete a directory by its URL. - Added `upsert(entity: SchoolDirectoryEntity)` to insert or replace a directory entity. - Removed `deleteDirectory` and `insertDirectoryEntry` methods from `SchoolDirectoryEntryDataSource` and its implementations (`SchoolDirectoryEntryDataSourceDb`, `SchoolDirectoryEntryDataSourceHttp`, `SchoolDirectoryEntryDataSourceRepository`). - Removed `deleteByUrl` from `SchoolDirectoryEntryEntityDao` as it's now handled by `SchoolDirectoryEntityDao`. - Adjusted `SchoolDirectoryDataSourceHttp` to reflect changes in the `SchoolDirectoryDataSource` interface, though implementations for delete/insert are marked as `TODO`. The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/list/SchoolDirectoryListScreen.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryEntryDataSourceHttp.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/list/SchoolDirectoryListViewModel.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryDataSourceHttp.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/edit/SchoolDirectoryEditViewModel.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntityDao.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryEntryDataSourceRepository.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryDataSourceDb.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryEntryDataSourceDb.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/adapters/SchoolEntryAdapter.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryDataSource.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryDataSourceRepository.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryEntryDataSource.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntryEntityDao.kt (diff)
Commit
dea0e8fb17d933e862424b182a7e4e45f3cad820
by mandvi.verma Refactor: Rename `insertDirectoryEntry` to `insertDirectory` and implement HTTP POST This commit refactors the `SchoolDirectoryDataSource` interface and its implementations to rename the `insertDirectoryEntry` function to `insertDirectory`. It also implements the `insertDirectory` function in `SchoolDirectoryDataSourceHttp` to perform an HTTP POST request. Key changes: - Renamed `insertDirectoryEntry` to `insertDirectory` in: - `SchoolDirectoryDataSource.kt` - `SchoolDirectoryDataSourceDb.kt` - `SchoolDirectoryDataSourceRepository.kt` - `SchoolDirectoryEditViewModel.kt` (updated the call site) - Implemented `insertDirectory` in `SchoolDirectoryDataSourceHttp.kt`: - It now makes an HTTP POST request to the endpoint `api/directory/add` on the directory's base URL. - Sets the `Content-Type` to `application/json`. - Sends the `RespectSchoolDirectory` object as the request body. The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryDataSourceDb.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryDataSourceHttp.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryDataSourceRepository.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryDataSource.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/edit/SchoolDirectoryEditViewModel.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryDataSourceDb.kt (diff)
Commit
87a5993c6b0a1388431e2022a35b7b8103505c1a
by mandvi.verma Refactor: Update SchoolDirectoryDataSource and related components This commit introduces several changes to the SchoolDirectoryDataSource and its related classes to improve functionality and data handling. Key changes: - **SchoolDirectoryDataSourceDb**: - Modified `deleteByUrl` to accept `String` instead of `Url` for the URL parameter. - **Database Schema (RespectAppDatabase/1.json)**: - Updated the `identityHash`. - Added `cLastModified` and `cStored` fields (INTEGER, NOT NULL) to the `SchoolDirectoryEntity` table. - **SchoolDirectoryEntityDao**: - Changed the `deleteByUrl` function parameter from `Url` to `String`. - Added a new query function `getLastModifiedByUrl` to retrieve the `cLastModified` timestamp for a given URL. - **SchoolDirectoryListViewModel**: - When navigating to `SchoolDirectoryEdit` after clicking add, it now pops up to `SchoolDirectoryList`. - After deleting a directory, `loadSchoolDirectories()` is called to refresh the list. - **SchoolDirectoryEditViewModel**: - When saving a new school directory, the `invitePrefix` is now initialized as an empty string. - Navigation after saving now pops up to `SchoolDirectoryList` inclusively. - **SchoolDirectoryDataSourceHttp**: - `allDirectories()` now delegates to the local data source. - `deleteDirectory()` now delegates to the local data source. - **File Rename**: - Renamed `SchoolEntryAdapter.kt` to `SchoolDirectoryAdapter.kt`. The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntityDao.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryDataSourceDb.kt (diff) The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/adapters/SchoolEntryAdapter.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/edit/SchoolDirectoryEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/list/SchoolDirectoryListViewModel.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectAppDatabase/1.json (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/adapters/SchoolDirectoryAdapter.kt The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryDataSourceHttp.kt (diff)
Commit
b5e47717bd4ff64e96b5540c3cb48ebccbf0583e
by mandvi.verma Refactor: Enhance School Directory Management and Server-Side Logic This commit introduces significant changes to how school directories are managed, both on the client and server sides. It refines the data model, updates database interactions, and adds new server endpoints for directory operations. Key changes: - **Database Schema (RespectAppDatabase/1.json)**: - Updated the `identityHash`. - Removed `cLastModified` and `cStored` fields from the `SchoolDirectoryEntity` table as they are no longer used. - **SchoolDirectoryEntityDao**: - Removed the `getLastModifiedByUrl` function, as the `cLastModified` field has been removed from the entity. - **Server-Side Logic**: - Introduced `AddDirectoryUseCase` to handle the creation of new school directories on the server. This use case generates a random invite prefix for the new directory. - Added `AddDirectoryUseCase` to the `ServerKoinModule`. - Created a new POST endpoint `api/directory/adddirectory` in `RespectSchoolDirectoryRoute.kt`. This endpoint accepts a `url` query parameter and uses `AddDirectoryUseCase` to create the directory. - **SchoolDirectoryDataSourceHttp**: - `allDirectories()`: - Now fetches all directories from the remote server endpoint `api/directory/school` using the base URL of the first locally stored directory. It throws an `IllegalStateException` if no local directory is found to determine the base URL. - `insertDirectory(directory: RespectSchoolDirectory)`: - Now makes a POST request to the new `api/directory/adddirectory` endpoint. - Instead of sending the `RespectSchoolDirectory` object in the request body, it now sends the directory's `baseUrl` as a `url` query parameter. - **SchoolDirectoryDataSourceRepository**: - `insertDirectory(directory: RespectSchoolDirectory)`: - Now calls `remote.insertDirectory(directory)` before inserting locally, ensuring the directory is first added via the remote data source. The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryDataSourceRepository.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryDataSourceHttp.kt (diff) The file was added respect-server/src/main/kotlin/world/respect/server/domain/school/add/AddDirectoryUseCase.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntityDao.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/routes/RespectSchoolDirectoryRoute.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectAppDatabase/1.json (diff)
Commit
a534f652933a0e45a81506cc897f05962aa41c10
by mandvi.verma Refactor: Update School Directory data source HTTP implementation This commit updates `SchoolDirectoryDataSourceHttp` to correctly implement `deleteDirectory` and `insertDirectory` using HTTP DELETE and POST requests respectively. It also modifies `SchoolDirectoryDataSourceRepository` to only call the local data source for `insertDirectory`. Key changes: - **SchoolDirectoryDataSourceHttp**: - `deleteDirectory`: Now sends an HTTP DELETE request to the `api/directory/deletedirectory` endpoint. The `RespectSchoolDirectory` object is sent in the request body with `Content-Type: application/json`. - `insertDirectory`: - Sends an HTTP POST request to the `api/directory/add` endpoint. - The `RespectSchoolDirectory` object is now sent in the request body instead of as a URL parameter. - `Content-Type` is set to `application/json`. - `allDirectories()`: No longer throws an exception if no base URL is found locally, as this was likely a leftover from previous logic. - **SchoolDirectoryDataSourceRepository**: - `insertDirectory`: Removed the call to `remote.insertDirectory(directory)`. Directory insertion is now only handled by the local data source within the repository layer. The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryDataSourceHttp.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryDataSourceRepository.kt (diff)
Commit
e4e5e28a7df58d1a057eefd495bb19472ccce961
by mandvi.verma Refactor: Remove unused PagingSource from SchoolDirectoryEntryDataSource This commit removes the `listAsPagingSource` function and its implementations from `SchoolDirectoryEntryDataSource` and related classes, as it is no longer used. Key changes: - Removed `listAsPagingSource` from the `SchoolDirectoryEntryDataSource` interface. - Removed the `TODO` implementation of `listAsPagingSource` from: - `SchoolDirectoryEntryDataSourceHttp.kt` - `SchoolDirectoryEntryDataSourceRepository.kt` - `SchoolDirectoryEntryDataSourceDb.kt` - Removed extraneous new lines in: - `SchoolDataSource.kt` - `SchoolDirectoryDataSource.kt` - `SchoolDirectoryEditScreen.kt` - `SchoolDataSourceDb.kt` - Corrected inconsistent spacing in `ServerKoinModule.kt`. The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryEntryDataSourceHttp.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryEntryDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/edit/SchoolDirectoryEditScreen.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryDataSource.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryEntryDataSourceRepository.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryEntryDataSourceDb.kt (diff) The file was modified respect-test-end-to-end/test-description/005_admin_user_creates_a_report_test_description.md (diff) The file was modified respect-test-end-to-end/test-description/001_003_Parent_user_join_class_using_invitecode_test_description.md (diff)
Commit
00d439fe7c899a113b2ed2517666f3b315adb45c
by mandvi.verma Refactor: Remove invite code logic from data sources This commit removes the concept of fetching directory information via an invite code directly from the `SchoolDirectoryDataSource` and its database implementation. Key changes: - **SchoolDirectoryDataSource**: - Removed the `getInviteInfo` function from the interface, as this logic is no longer handled at this layer. - **SchoolDirectoryDataSourceDb**: - Removed the implementation of `getDirectoryByInviteCode`, which previously queried the local database for a directory matching an invite code. The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryDataSource.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryDataSourceDb.kt (diff)
Commit
422d3d036727e6ccb27e6d19ef783245ed0a26ff
by mandvi.verma Refactor: Remove invite code logic from data sources This commit removes the concept of fetching directory information via an invite code directly from the `SchoolDirectoryDataSource` and its database implementation. Key changes: - **SchoolDirectoryDataSource**: - Removed the `getInviteInfo` function from the interface, as this logic is no longer handled at this layer. - **SchoolDirectoryDataSourceDb**: - Removed the implementation of `getDirectoryByInviteCode`, which previously queried the local database for a directory matching an invite code. The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryDataSource.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryDataSourceDb.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/writequeue/DrainRemoteWriteQueueUseCase.kt (diff) The file was added respect-server/src/main/kotlin/world/respect/server/routes/school/respect/PersonPasswordRoute.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/setusernameandpassword/SetUsernameAndPasswordScreen.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonPasswordDataSource.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/setpassword/EncryptPersonPasswordUseCase.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/SchoolDataSourceHttp.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/detail/PersonDetailScreen.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonPasswordDataSourceLocal.kt The file was added respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/school/PersonPasswordDataSourceHttp.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/PersonPasswordEntityDao.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/PersonPasswordEntity.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/PersonPasswordDataSourceDb.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSourceLocal.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/PersonPassword.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/detail/PersonDetailViewModel.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/setpassword/EncryptPersonPasswordUseCaseImpl.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/writequeue/WriteQueueItem.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/SchoolDataSourceRepository.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/PersonPasswordAdapter.kt The file was modified respect-server/src/main/kotlin/world/respect/server/Application.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/setusernameandpassword/SetUsernameAndPasswordViewModel.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/7.json (diff) The file was modified .gitignore (diff) The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/setpassword/SetPasswordUseDbImpl.kt (diff) The file was added respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/PersonPasswordDataSourceRepository.kt
Commit
e7ca236cffc5e54b716b8181048a6ea8c0060243
by mandvi.verma feat: Add email and phone number to Person entity This commit updates the `PersonEntity` to include optional fields for `pEmail` and `pPhoneNumber`. Key changes: - Updated `gradle/libs.versions.toml` to bump the Android Gradle Plugin (agp) version from `8.12.2` to `8.12.3`. - Modified the `PersonEntity` in the database schema to add `pEmail` and `pPhoneNumber` columns. - Disabled the selection of future dates in the `RespectLocalDateField` date picker. - Added explicit parameter names to the `joinDateAndTime` lambda in `rememberFormattedDateTime`. The file was modified gradle/libs.versions.toml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectLocalDateField.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/RememberDateTimeFormat.kt (diff) The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/util/RememberDateTimeFormat.jvm.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/7.json (diff)
Commit
bd8048541b5811ba2b410fc5fca566b79eaa4052
by mandvi.verma feat: Add email and phone number to Person entity This commit updates the `PersonEntity` to include optional fields for `pEmail` and `pPhoneNumber`. Key changes: - Updated `gradle/libs.versions.toml` to bump the Android Gradle Plugin (agp) version from `8.12.2` to `8.12.3`. - Modified the `PersonEntity` in the database schema to add `pEmail` and `pPhoneNumber` columns. - Disabled the selection of future dates in the `RespectLocalDateField` date picker. - Added explicit parameter names to the `joinDateAndTime` lambda in `rememberFormattedDateTime`. The file was added respect-server/log/respect-server.log The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/PersonPasswordDataSourceRepository.kt (diff) The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/personPassword/GetPersonPasswordDbImpl.kt The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/personPassword/GetPersonPassword.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/manageaccount/ManageAccountScreen.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonPasswordDataSource.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonPasswordDataSourceExt.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/manageaccount/ManageAccountViewModel.kt (diff) The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/invite/RedeemInviteUseCaseDb.kt (diff) The file was modified respect-lib-shared/src/jvmTest/kotlin/world/respect/domain/account/invite/RedeemInviteIntegrationTest.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/domain/school/add/AddSchoolUseCase.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/PersonPasswordDataSourceDb.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/PersonPasswordEntityDao.kt (diff) The file was modified respect-lib-shared/src/jvmTest/kotlin/world/respect/shared/domain/account/AuthWithPasswordIntegrationTest.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/setpassword/SetPasswordUseCase.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonPasskeyDataSource.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/school/PersonPasswordDataSourceHttp.kt (diff) The file was removed respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/setpassword/SetPasswordUseDbImpl.kt
Commit
8b7fbbee3a9da952011e4b943fcf9fdc9e06c909
by mandvi.verma feat: Validate date of birth on save This commit introduces validation to prevent the date of birth from being in the future. The validation is now handled in the `PersonEditViewModel` when the save button is clicked, rather than restricting the date selection in the UI. Key changes: - Removed the future date restriction from the `RespectLocalDateField` date picker, allowing users to select any date. - Added a new string resource `date_of_birth_in_future` for the error message. - Updated `PersonEditViewModel` to validate the date of birth upon saving. If the selected date is in the future, an error message is displayed and the save is aborted. - Modified `PersonEditScreen` to display the date of birth validation error message below the input field. The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectLocalDateField.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/setpassword/EncryptPersonPasswordUseCase.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/changepassword/ChangePasswordScreen.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was added respect-lib-shared-se/README.md The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/changepassword/ChangePasswordViewModel.kt The file was modified respect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/setusernameandpassword/SetUsernameAndPasswordViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/manageaccount/ManageAccountScreen.kt (diff) The file was added respect-lib-shared-se/src/commonMain/kotlin/world/respect/sharedse/domain/account/authenticatepassword/AuthenticatePasswordUseCaseDbImpl.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/setpassword/EncryptPersonPasswordUseCaseImpl.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-server/build.gradle.kts (diff) The file was modified settings.gradle.kts (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/login/LoginViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/ext/PersonExt.kt (diff) The file was modified respect-lib-shared/src/jvmTest/kotlin/world/respect/domain/account/invite/RedeemInviteIntegrationTest.kt (diff) The file was modified respect-lib-shared/build.gradle.kts (diff) The file was modified respect-app-compose/build.gradle.kts (diff) The file was added respect-lib-shared-se/build.gradle.kts The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-shared/src/jvmTest/kotlin/world/respect/shared/domain/account/AuthWithPasswordIntegrationTest.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/authenticatepassword/AuthenticatePasswordUseCase.kt The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/authwithpassword/GetTokenAndUserProfileWithCredentialDbImpl.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/manageaccount/ManageAccountViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/setusernameandpassword/SetUsernameAndPasswordViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/changepassword/ChangePasswordViewModel.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/validatepassword/ValidatePasswordUseCase.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/changepassword/ChangePasswordScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/manageaccount/ManageAccountScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/setusernameandpassword/SetUsernameAndPasswordScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/app/appstate/Snack.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/changepassword/ChangePasswordViewModel.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/app/appstate/SnackBarFlowDispatcher.kt The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryEntryDataSourceDb.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/otheroption/OtherOptionsViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/list/SchoolDirectoryListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/list/SchoolDirectoryListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/routes/RespectSchoolDirectoryRoute.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntryEntityDao.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntityDao.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/schooldirectory/edit/SchoolDirectoryEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/otheroption/OtherOptionsScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/schooldirectory/edit/SchoolDirectoryEditScreen.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff) The file was removed respect-server/src/main/kotlin/world/respect/server/domain/school/add/AddDirectoryUseCase.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/view/settings/SettingScreen.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/accountlist/AccountListViewModel.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/settings/SettingViewModel.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/SchoolDirectoryDataSourceDb.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryEntryDataSource.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryEntryDataSourceHttp.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/adapters/SchoolDirectoryAdapter.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/enterlink/EnterLinkViewModel.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectAppDataSourceDb.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryEntryDataSourceRepository.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/schooldirectory/SchoolDirectoryDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/accountlist/AccountListScreen.kt (diff) The file was added respect-datalayer-db/src/jvmTest/kotlin/world/respect/datalayer/db/school/TestPersonStorage.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/PersonRelatedPersonEntity.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/PersonEntityWithRoles.kt (diff) The file was modified respect-datalayer-db/build.gradle.kts (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/7.json (diff)
Commit
819ef3904418041d7353bfa75d4eb44787df6eff
by Mike Dawson Tidy: a) move phone number domain packages to respect-lib-shared (should not have been in respect-app-compose) b) Use libphonenumber-android on Android (as per Ustad Mobile) c) Fix package names (various classes were in com.ustadmobile instead of world.respect package). d) Fix person adapter toModel function: without this change phonenumber and email would always be lost when converting from db entity to model. The file was removed respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/PhoneNumValidatorAndroid.kt The file was removed respect-app-compose/src/androidMain/kotlin/world/respect/app/util/ext/phonenum/PhoneUtils.android.kt The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/7.json (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/detail/PersonDetailScreen.kt (diff) The file was removed respect-app-compose/src/desktopMain/kotlin/world/respect/app/util/ext/phonenum/GuessCountryCode.desktop.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/phonenumber/IPhoneNumberUtilExt.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/phonenumber/IAsYouTypeFormatter.kt The file was added respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/phonenumber/PhoneNumberJvm.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/util/phonenum/CountryCodeTransformation.kt (diff) The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/PhoneNumValidatorUseCase.kt The file was added respect-app-compose/src/desktopMain/kotlin/world/respect/app/util/phonenum/GuessCountryCode.desktop.kt The file was added respect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/phonenumber/OnClickPhoneNumberUseCaseAndroid.kt The file was removed respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/OnClickPhoneNumberUseCaseAndroid.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/OnClickPhoneNumUseCase.kt The file was added respect-app-compose/src/androidMain/kotlin/world/respect/app/util/phonenum/PhoneUtils.android.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/IPhoneNumberUtilExt.kt The file was added respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/phonenumber/PhoneNumberUtilJvm.kt The file was added respect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/phonenumber/PhoneNumberAndroid.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/phonenumber/IPhoneNumberUtil.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/util/phonenum/PhoneNumberVisualTransformation.kt (diff) The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/IPhoneNumber.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPhoneNumberTextField.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/phonenumber/PhoneNumValidatorUseCase.kt The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/IAsYouTypeFormatter.kt The file was removed respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/IAsYouTypeFormatterAdapterAndroid.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was added respect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/phonenumber/PhoneNumValidatorAndroid.kt The file was added respect-app-compose/src/desktopMain/kotlin/world/respect/app/util/phonenum/PhoneUtils.desktop.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/util/phonenum/GuessCountryCode.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/IntExt.kt The file was removed respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/IPhoneNumberUtilAndroid.kt The file was modified respect-app-compose/build.gradle.kts (diff) The file was added respect-app-compose/src/androidMain/kotlin/world/respect/app/util/phonenum/GuessCountryCode.android.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/util/extt/IntExt.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was removed respect-app-compose/src/desktopMain/kotlin/world/respect/app/util/ext/phonenum/PhoneUtils.desktop.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/phonenumber/OnClickPhoneNumUseCase.kt The file was added respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/phonenumber/AsYouTypeFormatterJvm.kt The file was modified gradle/libs.versions.toml (diff) The file was added respect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/phonenumber/IAsYouTypeFormatterAdapterAndroid.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/phonenumber/IPhoneNumber.kt The file was added respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/phonenumber/OnClickPhoneNumUseCaseJvm.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/phonenumber/IPhoneNumberUtil.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/PersonAdapter.kt (diff) The file was added respect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/phonenumber/IPhoneNumberUtilAndroid.kt The file was modified respect-lib-shared/build.gradle.kts (diff) The file was removed respect-app-compose/src/androidMain/kotlin/world/respect/app/components/phonenumber/PhoneNumberAndroid.kt The file was removed respect-app-compose/src/androidMain/kotlin/world/respect/app/util/ext/phonenum/GuessCountryCode.android.kt The file was added respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/phonenumber/PhoneNumValidatorJvm.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/util/phonenum/PhoneUtils.kt (diff) The file was removed respect-server/log/respect-server.log The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPersonAvatar.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/detail/PersonDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/detail/PersonDetailViewModel.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/otheroption/OtherOptionsViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-lib-util/build.gradle.kts (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/RespectAccountManager.kt (diff) The file was added respect-lib-util/src/androidMain/kotlin/world/respect/libutil/util/PutDebugCrashCustomData.android.kt The file was added respect-lib-util/src/commonMain/kotlin/world/respect/libutil/util/PutDebugCrashCustomData.kt The file was added respect-lib-util/src/jvmMain/kotlin/world/respect/libutil/util/PutDebugCrashCustomData.jvm.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/effects/NavControllerLogEffect.kt The file was modified gradle/libs.versions.toml (diff) The file was modified respect-app-compose/build.gradle.kts (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/enterpasswordsignup/EnterPasswordSignUpScreen.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectGenderExposedDropDownMenuField.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/signup/SignUpScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/createaccount/CreateAccountScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified gradle/libs.versions.toml (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/RespectApp.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/PersonPassword.kt (diff) The file was modified respect-lib-test/src/jvmMain/kotlin/world/respect/lib/test/clientservertest/ClientServerDatasourceTest.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Clazz.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/ManagerServerCLI.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/respect/model/SchoolDirectoryEntry.kt (diff) The file was modified respect-lib-serializers/build.gradle.kts (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/list/LearningUnitListViewModel.kt (diff) The file was modified respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/UstadCacheBuilder.kt (diff) The file was modified respect-lib-cache/src/jvmMain/kotlin/com/ustadmobile/libcache/UstadCacheBuilder.kt (diff) The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/distributed/DistributedCacheHashtableIntegrationTest.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterClass.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterEnrollment.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Enrollment.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/PersonPasskey.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Person.kt (diff) The file was modified respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCaseWorker.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was modified respect-datalayer-db/src/jvmTest/kotlin/world/respect/datalayer/db/opds/adapters/TestOpdsPublicationEntityAdapter.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Report.kt (diff) The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/UstadCacheJvmTest.kt (diff) The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/okhttp/AbstractCacheInterceptorTest.kt (diff) The file was modified gradle.properties (diff) The file was modified respect-lib-cache/build.gradle.kts (diff) The file was added respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/EnqueueRunDownloadJobUseCaseAndroid.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/detail/LearningUnitDetailViewModel.kt (diff) The file was added respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/CoroutineWorkerExt.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/detail/LearningUnitDetailScreen.kt (diff) The file was added respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/RunDownloadJobUseCaseWorker.kt The file was modified respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCaseWorker.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/RunDownloadJobUseCaseImpl.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCase.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/detail/PersonDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/detail/PersonDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/ext/PersonRoleEnumExt.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/signup/SignUpScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/invite/RespectRedeemInviteRequest.kt (diff) The file was modified respect-app-compose/build.gradle.kts (diff) The file was modified respect-app-compose/build.gradle.kts (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/DbTypeConverters.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-cache/src/jvmMain/kotlin/com/ustadmobile/libcache/UstadCacheBuilder.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectOfflineItemStatusIcon.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/detail/LearningUnitDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/detail/LearningUnitDetailScreen.kt (diff) The file was modified respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/UstadCacheBuilder.kt (diff) The file was modified respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/EnqueuePinPublicationPrepareUseCaseAndroid.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/UstadCacheImpl.kt (diff) The file was modified respect-lib-cache/src/jvmMain/kotlin/com/ustadmobile/libcache/downloader/EnqueuePinPublicationPrepareUseCaseJvm.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/UstadCache.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/AbstractEnqueuePinPublicationPrepareUseCase.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/DownloadJobItemDao.kt (diff) The file was added respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/connectivitymonitor/ConnectivityMonitorAndroid.kt The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/okhttp/AbstractCacheInterceptorTest.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/okhttp/UstadCacheInterceptor.kt (diff) The file was added respect-lib-cache/src/jvmMain/kotlin/com/ustadmobile/libcache/connectivitymonitor/ConnectivityMonitorJvm.kt The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/UstadCacheJvmTest.kt (diff) The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/downloader/DownloadIntegrationTest.kt (diff) The file was added respect-lib-cache/src/androidMain/AndroidManifest.xml The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was added respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/connectivitymonitor/ConnectivityMonitor.kt The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/distributed/DistributedCacheHashtableIntegrationTest.kt (diff) The file was modified respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/CoroutineWorkerExt.kt (diff) The file was modified respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/RunDownloadJobUseCaseWorker.kt (diff) The file was modified respect-lib-cache/src/androidMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCaseWorker.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/detail/LearningUnitDetailScreen.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCase.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCase.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/RunDownloadJobUseCaseImpl.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/DownloadJobDao.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/DownloadJobItemStatusUpdater.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/entities/TransferJobItemStatus.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/downloader/PinPublicationPrepareUseCase.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/UstadCache.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/DownloadJobItemDao.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectOfflineItemStatusIcon.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/DownloadJobDao.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/UstadCache.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/UstadCacheImpl.kt (diff) The file was modified respect-lib-cache/src/commonMain/kotlin/com/ustadmobile/libcache/db/dao/RetentionLockDao.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/AssignmentDatasourceDb.kt The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/AssignmentEntityDao.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/AssignmentAssigneeRefEntityDao.kt The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/AssignmentEntity.kt The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/7.json (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/AssignmentLearningResourceRefEntityDao.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectSchoolDatabase.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/Application.kt (diff) The file was added respect-server/src/main/kotlin/world/respect/server/routes/school/respect/AssignmentRoute.kt The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/AssignmentAssigneeRefEntity.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/AssignmentDataSourceLocal.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/AssignmentDataSource.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Assignment.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/AssignmentAdapter.kt The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/AssignmentLearningResourceRefEntity.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/AssignmentLearningResourceRef.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/AssignmentAssigneeRefEntity.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Assignment.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/AssignmentAdapter.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/AssignmentAssigneeRef.kt The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/7.json (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/SchoolTypeConverters.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/AssignmentAssigneeRefTypeEnum.kt The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/SchoolDataSourceHttp.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/AssignmentEntity.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/SchoolDataSourceRepository.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSourceLocal.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/list/AssignmentListScreen.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Assignment.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/AssignmentDataSource.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/school/SchoolPrimaryKeyGenerator.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/writequeue/DrainRemoteWriteQueueUseCase.kt (diff) The file was removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignments/AssignmentViewModel.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignments/AssignmentScreen.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/AssignmentEntityDao.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/list/AssignmentListViewModel.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/AssignmentDatasourceDb.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/7.json (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/writequeue/WriteQueueItem.kt (diff) The file was added respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/school/AssignmentDataSourceHttp.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/edit/AssignmentEditScreen.kt The file was added respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/AssignmentDataSourceRepository.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectLocalTimeField.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectLocalDateTimeField.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/edit/AssignmentEditScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/waitingforapproval/WaitingForApprovalViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/list/LearningUnitListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectLocalDateTimeField.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/accountlist/AccountListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/acknowledgement/AcknowledgementViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/RespectComposeNavController.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/NavCommand.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/edit/AssignmentEditScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/login/LoginViewModel.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/RouteWithResultDest.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/launcher/AppLauncherViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/list/LearningUnitListViewModel.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/NavResultReturnerExt.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/AssignmentLearningResourceRef.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/launcher/AppLauncherViewModel.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/AssignmentAdapter.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/detail/AppsDetailViewModel.kt (diff) The file was modified respect-lib-opds-model/src/commonMain/kotlin/world/respect/lib/opds/model/OpdsPublicationExt.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/LearningUnitResult.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/AssignmentLearningUnitRef.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Assignment.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/edit/AssignmentEditScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/NavResult.kt (diff)
Commit
89727f6a751552c3f3a4f0e1e866134b519fb5f6
by Mike Dawson Assignment work in progress and make back arrow display consistent Edit screen save/restore runs as expected. Back arrow: remove use of root screen logic. Explicitly set hide using app ui state. The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/list/AssignmentListViewModel.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/detail/AssignmentDetailScreen.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/list/PersonListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/list/LearningUnitListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/detail/AssignmentDetailViewModel.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppBar.kt (diff) The file was removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/LearningUnitResult.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/LearningUnitSelection.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/launcher/AppLauncherViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/report/list/ReportListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/list/AssignmentListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/list/AssignmentListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/detail/AssignmentDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectQuickActionButton.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/detail/LearningUnitDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/LearningUnitSelection.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/detail/LearningUnitDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/list/AssignmentListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/list/LearningUnitListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/detail/AssignmentDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/edit/AssignmentEditScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/detail/AssignmentDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/detail/AssignmentDetailScreen.kt (diff) The file was added respect-app-compose/src/desktopMain/kotlin/world/respect/app/components/BasicWebView.desktop.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/onboarding/OnboardingViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/accountlist/AccountListViewModel.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/BasicWebView.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/acknowledgement/AcknowledgementViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/getstarted/GetStartedViewModel.kt (diff) The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/webview/UstadWebViewNavigator.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/termsandcondition/TermsAndConditionScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was added respect-app-compose/src/androidMain/kotlin/world/respect/app/components/BasicWebView.android.kt The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/downloader/DownloadIntegrationTest.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/SchoolAppEntityDao.kt The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/SchoolAppEntity.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectSchoolDatabase.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/writequeue/DrainRemoteWriteQueueUseCase.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/detail/AppsDetailViewModel.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/SchoolAppDataSourceDb.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff) The file was added respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/SchoolAppDataSourceRepository.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/launcher/AppLauncherScreen.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/Application.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/SchoolAppDataSource.kt The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/SchoolDataSourceHttp.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/writequeue/WriteQueueItem.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/SchoolAppAdapter.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/launcher/AppLauncherViewModel.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/SchoolAppDataSourceLocal.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/7.json (diff) The file was added respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/school/SchoolAppDataSourceHttp.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSourceLocal.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/SchoolApp.kt The file was added respect-server/src/main/kotlin/world/respect/server/routes/school/respect/SchoolAppRoute.kt The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/SchoolDataSourceRepository.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/launcher/AppLauncherViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/detail/AppsDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/launcher/AppLauncherScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/detail/AppsDetailViewModel.kt (diff) The file was modified respect-app-compose/build.gradle.kts (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/launcher/AppLauncherViewModel.kt (diff) The file was added respect-lib-shared/src/commonMain/composeResources/drawable/empty.png The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/launcher/AppLauncherScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/launcher/AppLauncherScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/drawable/empty.png (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/launcher/AppLauncherScreen.kt (diff) The file was modified respect-test-end-to-end/README.md (diff) The file was modified README.md (diff) The file was modified respect-test-end-to-end/test-description/002_browse_lessons_test_description.md (diff) The file was removed respect-test-end-to-end/test-description/006_admin_user_adds_person_account_test_description.md The file was removed respect-test-end-to-end/test-description/001_003_Parent_user_join_class_using_invitecode_test_description.md The file was removed respect-test-end-to-end/test-description/001_001_user_login_to _app_with_school_name_test_description.md The file was removed respect-test-end-to-end/test-description/004_create_report_test_description.md The file was removed respect-test-end-to-end/test-description/005_admin_user_creates_a_report_test_description.md The file was removed respect-test-end-to-end/test-description/001_002_user_login_to _app_with_school_link_provided_by_admin_test_description.md The file was modified respect-test-end-to-end/README.md (diff) The file was added respect-test-end-to-end/test-description/001_002_add_user_direct_test_description.md The file was added respect-test-end-to-end/test-description/001_003_login_using_school_link_test_description.md The file was added respect-test-end-to-end/test-description/001_001_invite_using_invite_code_test_description.md The file was removed respect-test-end-to-end/test-description/001_004_child_user_join_class_using_invitecode_test_description.md The file was removed respect-test-end-to-end/android-maestro/run_test.sh The file was removed respect-test-end-to-end/test-description/003_admin_user_assigns_assignment_to_a_class_test_description.md The file was removed respect-test-end-to-end/test-description/004_admin_user_adds_classes_test_description.md The file was modified respect-test-end-to-end/test-description/001_003_login_using_school_link_test_description.md (diff) The file was modified respect-test-end-to-end/test-description/001_001_invite_using_invite_code_test_description.md (diff) The file was modified respect-test-end-to-end/test-description/001_002_add_user_direct_test_description.md (diff) The file was added respect-test-end-to-end/test-description/003_admin_user_assigns_assignment_to_a_class_test_description.md The file was added respect-test-end-to-end/test-description/006_user_signup_using_passkey_test_description.md The file was modified respect-test-end-to-end/test-description/006_user_signup_using_passkey_test_description.md (diff) The file was modified respect-test-end-to-end/test-description/001_001_invite_using_invite_code_test_description.md (diff) The file was modified respect-test-end-to-end/test-description/001_002_add_user_direct_test_description.md (diff) The file was modified respect-test-end-to-end/test-description/003_admin_user_assigns_assignment_to_a_class_test_description.md (diff) The file was modified respect-test-end-to-end/README.md (diff) The file was modified respect-test-end-to-end/test-description/001_001_invite_using_invite_code_test_description.md (diff) The file was removed respect-test-end-to-end/test-description/003_admin_user_assigns_assignment_to_a_class_test_description.md The file was modified respect-test-end-to-end/README.md (diff) The file was added respect-test-end-to-end/test-description/003_teacher_user_assigns_assignment_to_a_class_test_description.md