Skip to content

Separate AppStorage to protocol oriented architecture. - #69

Merged
volodymyr-chekyrta merged 3 commits into
developfrom
appstorage-refactoring
Aug 31, 2023
Merged

Separate AppStorage to protocol oriented architecture.#69
volodymyr-chekyrta merged 3 commits into
developfrom
appstorage-refactoring

Conversation

@IvanStepanok

Copy link
Copy Markdown
Contributor

Add new protocols: CoreStorage, ProfileStorage, DashboardStorage, DiscussionStorage
Code refactoring
Update Unit tests

@IvanStepanok
IvanStepanok requested a review from a team as a code owner August 31, 2023 07:39
@IvanStepanok
IvanStepanok force-pushed the appstorage-refactoring branch from 445d713 to 97e2466 Compare August 31, 2023 10:53
@volodymyr-chekyrta
volodymyr-chekyrta merged commit eea114b into develop Aug 31, 2023
@volodymyr-chekyrta
volodymyr-chekyrta deleted the appstorage-refactoring branch August 31, 2023 11:46
volodymyr-chekyrta added a commit that referenced this pull request Sep 22, 2023
* bug fix (#57)

* Fix DisclosureGroup fields bug on SignUpView (#58)

* Hide no discussion while update (#59)

* Consolidating Databases and Refactoring Module Logic (#60)

This merge request aims to consolidate multiple databases into a single one for improved efficiency and maintainability in the OpenEdx project.
The changes involve creating a new class, DatabaseManager, which handles CoreData operations and moving CoreData logic from specific modules to this central manager.
Additionally, a new method, deleteAllFiles(), is added to the DownloadManager class for convenient file deletion upon user logout.

* Migrate all colors to Theme (#61)

* Added support for multiple color schemes to quickly switch between educational platforms. Updated variables throughout the project accordingly.

* Fix not updating completion error (#64)

completion doesn't update status when user has finished learning the contents of a unit

* Remove custom navigation controller (#63)

* Remove custom navigation controller
Change navigation controller from custom to system for feature changes and adding possibility to swipe gestures

* disable routing whenever handouts is empty (#66)

* Fix the isMobileData variable in the Connectivity module. (#67)

Add the possibility to play videos with sound in silent mode.

* encoded video dissmiss by device rotation (#68)

* fixed

* Separate AppStorage to protocol oriented architecture. (#69)

* Separate AppStorage to protocol oriented architecture.

* Added path field to the DownloadData model. (#70)

* Added path field to the DownloadData model.
All control over files was refactored using the new path field.

* Fix CourseContainerViewModelTests

* September bugfixes (#71)

* fix incorrect back button on the course screen

* Fix issue on Delete account view. The inactive button is clickable.

* change CourseDetailsEndpoint to CourseEndpoint
fix WebView bug with iframe
fix doubling courses on Dashboard after subscribe to a new course

* Create 0001-strategy-for-maintaining-OS-versions.rst (#72)

* Create 0001-strategy-for-maintaining-OS-versions.rst

* Update 0001-strategy-for-maintaining-OS-versions.rst

* Deprecate iOS 14 (#74)

* Deprecate iOS 14

Remove isIOS14 in ViewExtension

Change deployment target to iOS 15

Add a new RefreshableScrollView for better pull to refresh animation on any iOS
update loading logic in DiscoveryViewModel, ThreadViewModel, and PostsViewModel for a smooth refreshing

* Update refreshable ScrollView to native for iOS 16+ (#75)

* Update refreshable ScrollView to native for iOS 16+

* Codestyle improvements (#76)

* codestyle improvements

* remove unused code

* ios 17 bugfixes (#77)

* bugfixes

* Change license to Apache (#78)

---------

Co-authored-by: IvanStepanok <128456094+IvanStepanok@users.noreply.github.com>
volodymyr-chekyrta pushed a commit that referenced this pull request Sep 30, 2024
* fix: core data crash with inverse attribute (#69)

* chore: set deletetionRule as Cascade

---------

Co-authored-by: Vadim Kuznetsov <vadim@touchappmedia.com>
Co-authored-by: Anton Yarmolenko <37253+rnr@users.noreply.github.com>
IvanStepanok added a commit to raccoongang/openedx-app-ios that referenced this pull request Sep 1, 2025
* Separate AppStorage to protocol oriented architecture.
IvanStepanok added a commit to raccoongang/openedx-app-ios that referenced this pull request Sep 1, 2025
* bug fix (openedx#57)

* Fix DisclosureGroup fields bug on SignUpView (openedx#58)

* Hide no discussion while update (openedx#59)

* Consolidating Databases and Refactoring Module Logic (openedx#60)

This merge request aims to consolidate multiple databases into a single one for improved efficiency and maintainability in the OpenEdx project.
The changes involve creating a new class, DatabaseManager, which handles CoreData operations and moving CoreData logic from specific modules to this central manager.
Additionally, a new method, deleteAllFiles(), is added to the DownloadManager class for convenient file deletion upon user logout.

* Migrate all colors to Theme (openedx#61)

* Added support for multiple color schemes to quickly switch between educational platforms. Updated variables throughout the project accordingly.

* Fix not updating completion error (openedx#64)

completion doesn't update status when user has finished learning the contents of a unit

* Remove custom navigation controller (openedx#63)

* Remove custom navigation controller
Change navigation controller from custom to system for feature changes and adding possibility to swipe gestures

* disable routing whenever handouts is empty (openedx#66)

* Fix the isMobileData variable in the Connectivity module. (openedx#67)

Add the possibility to play videos with sound in silent mode.

* encoded video dissmiss by device rotation (openedx#68)

* fixed

* Separate AppStorage to protocol oriented architecture. (openedx#69)

* Separate AppStorage to protocol oriented architecture.

* Added path field to the DownloadData model. (openedx#70)

* Added path field to the DownloadData model.
All control over files was refactored using the new path field.

* Fix CourseContainerViewModelTests

* September bugfixes (openedx#71)

* fix incorrect back button on the course screen

* Fix issue on Delete account view. The inactive button is clickable.

* change CourseDetailsEndpoint to CourseEndpoint
fix WebView bug with iframe
fix doubling courses on Dashboard after subscribe to a new course

* Create 0001-strategy-for-maintaining-OS-versions.rst (openedx#72)

* Create 0001-strategy-for-maintaining-OS-versions.rst

* Update 0001-strategy-for-maintaining-OS-versions.rst

* Deprecate iOS 14 (openedx#74)

* Deprecate iOS 14

Remove isIOS14 in ViewExtension

Change deployment target to iOS 15

Add a new RefreshableScrollView for better pull to refresh animation on any iOS
update loading logic in DiscoveryViewModel, ThreadViewModel, and PostsViewModel for a smooth refreshing

* Update refreshable ScrollView to native for iOS 16+ (openedx#75)

* Update refreshable ScrollView to native for iOS 16+

* Codestyle improvements (openedx#76)

* codestyle improvements

* remove unused code

* ios 17 bugfixes (openedx#77)

* bugfixes

* Change license to Apache (openedx#78)

---------

Co-authored-by: IvanStepanok <128456094+IvanStepanok@users.noreply.github.com>
IvanStepanok pushed a commit to raccoongang/openedx-app-ios that referenced this pull request Sep 1, 2025
* fix: core data crash with inverse attribute (openedx#69)

* chore: set deletetionRule as Cascade

---------

Co-authored-by: Vadim Kuznetsov <vadim@touchappmedia.com>
Co-authored-by: Anton Yarmolenko <37253+rnr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants