-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #5001: Set Up Firestore and Upload Free Form Responses #5098
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f81bdb1 - Browse repository at this point
Copy the full SHA f81bdb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c51017f - Browse repository at this point
Copy the full SHA c51017fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eadc30 - Browse repository at this point
Copy the full SHA 1eadc30View commit details
Commits on Jul 9, 2023
-
Some of the production code was updated in the previous commit.
Configuration menu - View commit details
-
Copy full SHA for b258164 - Browse repository at this point
Copy the full SHA b258164View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50ac657 - Browse repository at this point
Copy the full SHA 50ac657View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ad3a23 - Browse repository at this point
Copy the full SHA 6ad3a23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 913e2fe - Browse repository at this point
Copy the full SHA 913e2feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ea7a13 - Browse repository at this point
Copy the full SHA 7ea7a13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2558c0b - Browse repository at this point
Copy the full SHA 2558c0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b2f8da - Browse repository at this point
Copy the full SHA 4b2f8daView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb42456 - Browse repository at this point
Copy the full SHA bb42456View commit details -
Configuration menu - View commit details
-
Copy full SHA for 277f3c9 - Browse repository at this point
Copy the full SHA 277f3c9View commit details -
Remove large tests that can't run on either local or CI.
These scenarios are covered in other tests so I'm fine with not trying to make them work.
Configuration menu - View commit details
-
Copy full SHA for 8e7f3f6 - Browse repository at this point
Copy the full SHA 8e7f3f6View commit details
Commits on Jul 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bd844aa - Browse repository at this point
Copy the full SHA bd844aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a264b3a - Browse repository at this point
Copy the full SHA a264b3aView commit details
Commits on Jul 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f68e8ae - Browse repository at this point
Copy the full SHA f68e8aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9237c66 - Browse repository at this point
Copy the full SHA 9237c66View commit details
Commits on Jul 21, 2023
-
This commit sets up the logging infrastructure, including tests. Since Firestore is introduced, some tests in the app module may be broken, and will be fixed in the next commit. This commit soes not handle actual upload to firestore yet, because firebase auth is not yet properly configured.
Configuration menu - View commit details
-
Copy full SHA for cb22dfb - Browse repository at this point
Copy the full SHA cb22dfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 110d96f - Browse repository at this point
Copy the full SHA 110d96fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1d4c19 - Browse repository at this point
Copy the full SHA c1d4c19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 931019a - Browse repository at this point
Copy the full SHA 931019aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32566a6 - Browse repository at this point
Copy the full SHA 32566a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba318eb - Browse repository at this point
Copy the full SHA ba318ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for f573158 - Browse repository at this point
Copy the full SHA f573158View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b4d488 - Browse repository at this point
Copy the full SHA 6b4d488View commit details
Commits on Jul 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 44e37b0 - Browse repository at this point
Copy the full SHA 44e37b0View commit details -
Fix npe in domain/src/test/java/org/oppia/android/domain/oppialogger/…
…loguploader/LogUploadWorkerTest.kt
Configuration menu - View commit details
-
Copy full SHA for d1a11d3 - Browse repository at this point
Copy the full SHA d1a11d3View commit details
Commits on Jul 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cb25e31 - Browse repository at this point
Copy the full SHA cb25e31View commit details
Commits on Jul 26, 2023
-
Introduce AuthenticationController
This new controller provides functionality to retrieve the current signed in user and also sign in user anonymously, and can be called from anywhere. This decouples authentication from a firestore-only use case. The implementation relies on an AuthenticationListener to switch out the real and fake authentication controllers for testing purposes. This commit has not included the Auth module in app module test files(Fragment/Acticity tests), hence these will fail to build with a dagger error. This is fixed in the subsequent commit.
Configuration menu - View commit details
-
Copy full SHA for b03011c - Browse repository at this point
Copy the full SHA b03011cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9a7fe5 - Browse repository at this point
Copy the full SHA d9a7fe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0a48da - Browse repository at this point
Copy the full SHA c0a48daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6c2568 - Browse repository at this point
Copy the full SHA e6c2568View commit details -
Merge branch 'develop' of github.com:oppia/oppia-android into nps-opt…
…ional-response-upload
Configuration menu - View commit details
-
Copy full SHA for 9ad162a - Browse repository at this point
Copy the full SHA 9ad162aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0de4f3a - Browse repository at this point
Copy the full SHA 0de4f3aView commit details -
Add more tests for FirestoreDataController
Now that we can successfully mock firebase auth, we can test for upload, cache and sync scenarios.
Configuration menu - View commit details
-
Copy full SHA for b7bafb5 - Browse repository at this point
Copy the full SHA b7bafb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b13358 - Browse repository at this point
Copy the full SHA 7b13358View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe1dfdf - Browse repository at this point
Copy the full SHA fe1dfdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d66b9f - Browse repository at this point
Copy the full SHA 9d66b9fView commit details
Commits on Jul 27, 2023
-
Add TestAuthenticationModule to test files.
This is to allow the fake version of firebase
Configuration menu - View commit details
-
Copy full SHA for 6f1fb2a - Browse repository at this point
Copy the full SHA 6f1fb2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3f1e84 - Browse repository at this point
Copy the full SHA e3f1e84View commit details
Commits on Jul 28, 2023
-
Rename variable in ViewEventLogsViewModel.kt
To be more descriptive of its purpose.
Configuration menu - View commit details
-
Copy full SHA for 2996787 - Browse repository at this point
Copy the full SHA 2996787View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec2e3f8 - Browse repository at this point
Copy the full SHA ec2e3f8View commit details
Commits on Jul 31, 2023
-
Lower the versions of Firestore and Auth. The previously included versions were not compatible with older libraries currently in use within the project. I also added a dontwarn to proguard for FirestoreChannel
Configuration menu - View commit details
-
Copy full SHA for 52c438a - Browse repository at this point
Copy the full SHA 52c438aView commit details
Commits on Aug 1, 2023
-
Switch out logger for controller which should swap debug vs real event loggers
Configuration menu - View commit details
-
Copy full SHA for dc5dac3 - Browse repository at this point
Copy the full SHA dc5dac3View commit details
Commits on Aug 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 93d3c6a - Browse repository at this point
Copy the full SHA 93d3c6aView commit details -
Merge branch 'develop' of github.com:oppia/oppia-android into nps-opt…
…ional-response-upload
Configuration menu - View commit details
-
Copy full SHA for a04caa9 - Browse repository at this point
Copy the full SHA a04caa9View commit details -
Exempt AuthenticationModule from tests
I have been unable to mock firebase for this test class since it is supposed to verify the real controller is returned, and not a mock.
Configuration menu - View commit details
-
Copy full SHA for 3e81132 - Browse repository at this point
Copy the full SHA 3e81132View commit details -
This test cannot pass due to the version of robolectric. There is a conflict between Firestore's SQLite database connection and Robolectric's shadow implementation of SQLite. Firestore is trying to access an illegal connection pointer (pointer 52), which indicates a problem with the database connection.
Configuration menu - View commit details
-
Copy full SHA for aeb213e - Browse repository at this point
Copy the full SHA aeb213eView commit details -
Merge branch 'develop' of github.com:oppia/oppia-android into nps-opt…
…ional-response-upload
Configuration menu - View commit details
-
Copy full SHA for 781644f - Browse repository at this point
Copy the full SHA 781644fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca5cd8c - Browse repository at this point
Copy the full SHA ca5cd8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a0b78f - Browse repository at this point
Copy the full SHA 6a0b78fView commit details
Commits on Sep 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bc05e0b - Browse repository at this point
Copy the full SHA bc05e0bView commit details
Commits on Sep 6, 2023
-
Merge branch 'develop' of github.com:oppia/oppia-android into nps-opt…
…ional-response-upload
Configuration menu - View commit details
-
Copy full SHA for 6bb7831 - Browse repository at this point
Copy the full SHA 6bb7831View commit details
Commits on Sep 7, 2023
-
Add FakeAuthenticationControllerFactory
This is to swap out the real factory in tests
Configuration menu - View commit details
-
Copy full SHA for 64ad461 - Browse repository at this point
Copy the full SHA 64ad461View commit details -
Add test for AuthenticationModule
Ensure the production controller is always created in prod
Configuration menu - View commit details
-
Copy full SHA for 8f5fc58 - Browse repository at this point
Copy the full SHA 8f5fc58View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccbc2e3 - Browse repository at this point
Copy the full SHA ccbc2e3View commit details
Commits on Sep 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 89a5bdf - Browse repository at this point
Copy the full SHA 89a5bdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1c7240 - Browse repository at this point
Copy the full SHA d1c7240View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78efadc - Browse repository at this point
Copy the full SHA 78efadcView commit details
Commits on Sep 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 54d2538 - Browse repository at this point
Copy the full SHA 54d2538View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8d9d8c - Browse repository at this point
Copy the full SHA d8d9d8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4314ca0 - Browse repository at this point
Copy the full SHA 4314ca0View commit details
Commits on Sep 27, 2023
-
Add test for TestAuthenticationModule
And remove the test file exemption to ensure the bindings stay intentional as the modules change over time.
Configuration menu - View commit details
-
Copy full SHA for e0bc397 - Browse repository at this point
Copy the full SHA e0bc397View commit details
Commits on Sep 29, 2023
-
Refactor AuthenticationController and its bindings.
Removed the factory pattern and converted the class to a singleton
Configuration menu - View commit details
-
Copy full SHA for ffb07d9 - Browse repository at this point
Copy the full SHA ffb07d9View commit details -
Renamed AuthenticationListener to AuthenticationWrapper.kt
I renamed it because the methods encapsulated here are required to be called by implementations of the interface.
Configuration menu - View commit details
-
Copy full SHA for 64bb998 - Browse repository at this point
Copy the full SHA 64bb998View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85115a6 - Browse repository at this point
Copy the full SHA 85115a6View commit details
Commits on Oct 2, 2023
-
Create a debug interface for FirestoreEventLogger
We can bind the same implementation instances to both listener types in Dagger (such that the debug-only module provides an implementation for DebugFirestoreEventLogger that can be used by the debug-only view models).
Configuration menu - View commit details
-
Copy full SHA for 7cccc8b - Browse repository at this point
Copy the full SHA 7cccc8bView commit details -
Merge branch 'develop' of github.com:oppia/oppia-android into nps-opt…
…ional-response-upload
Configuration menu - View commit details
-
Copy full SHA for 47921bd - Browse repository at this point
Copy the full SHA 47921bdView commit details
Commits on Oct 3, 2023
-
Refactor DebugFirestoreEventLoggerImpl
Instead of Injecting the real logger's factory, injecting the interface allows for swapping out the implementation with a fake for testing purposes.
Configuration menu - View commit details
-
Copy full SHA for 90cf929 - Browse repository at this point
Copy the full SHA 90cf929View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e00d16 - Browse repository at this point
Copy the full SHA 3e00d16View commit details
Commits on Oct 18, 2023
-
Merge branch 'develop' of github.com:oppia/oppia-android into nps-opt…
…ional-response-upload
Configuration menu - View commit details
-
Copy full SHA for 022ef33 - Browse repository at this point
Copy the full SHA 022ef33View commit details
Commits on Oct 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 35c0956 - Browse repository at this point
Copy the full SHA 35c0956View commit details
Commits on Oct 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ab161bf - Browse repository at this point
Copy the full SHA ab161bfView commit details
Commits on Oct 26, 2023
-
Merge branch 'develop' of github.com:oppia/oppia-android into nps-opt…
…ional-response-upload
Configuration menu - View commit details
-
Copy full SHA for 5848741 - Browse repository at this point
Copy the full SHA 5848741View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8215c53 - Browse repository at this point
Copy the full SHA 8215c53View commit details
Commits on Nov 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 99a15d3 - Browse repository at this point
Copy the full SHA 99a15d3View commit details
Commits on Nov 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8336320 - Browse repository at this point
Copy the full SHA 8336320View commit details
Commits on Jan 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e190fd9 - Browse repository at this point
Copy the full SHA e190fd9View commit details
Commits on Jan 12, 2024
-
The comment on timeout possibility and creating a sealed class for fakeauthenticationwrapperimp have not been addressed in this commit.
Configuration menu - View commit details
-
Copy full SHA for 8a8d20d - Browse repository at this point
Copy the full SHA 8a8d20dView commit details -
Merge branch 'develop' of github.com:oppia/oppia-android into nps-opt…
…ional-response-upload
Configuration menu - View commit details
-
Copy full SHA for 893f6e9 - Browse repository at this point
Copy the full SHA 893f6e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8e19df - Browse repository at this point
Copy the full SHA a8e19dfView commit details
Commits on Jan 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8fb5e6b - Browse repository at this point
Copy the full SHA 8fb5e6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06a999c - Browse repository at this point
Copy the full SHA 06a999cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5a1230 - Browse repository at this point
Copy the full SHA b5a1230View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d3a893 - Browse repository at this point
Copy the full SHA 4d3a893View commit details
Commits on Jan 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e1776b8 - Browse repository at this point
Copy the full SHA e1776b8View commit details
Commits on Jan 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2d4228c - Browse repository at this point
Copy the full SHA 2d4228cView commit details
Commits on Jan 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8a0088d - Browse repository at this point
Copy the full SHA 8a0088dView commit details -
Ensure debug firestore pushes events to the cloud
This is important so that we can verify uploads and also test appcheck
Configuration menu - View commit details
-
Copy full SHA for dddbd98 - Browse repository at this point
Copy the full SHA dddbd98View commit details
Commits on Jan 26, 2024
-
- refactor FakeAuthState from sealed to enum class - refactor auth timeout to constant - fix remove uploaded logs logic - fix firebase authwrapper test set up and naming - refactor event log viewmodel list mapping
Configuration menu - View commit details
-
Copy full SHA for d704240 - Browse repository at this point
Copy the full SHA d704240View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f49d4a - Browse repository at this point
Copy the full SHA 1f49d4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e65643 - Browse repository at this point
Copy the full SHA 5e65643View commit details