Commit graph

24 commits

Author SHA1 Message Date
41298ae655 modified usermodel to have an events array 2019-04-01 00:34:36 -06:00
09e8e14fb6 Refactored all providers to export singletons to avoid multiple instantiation of them 2019-03-08 23:46:24 -06:00
79b3f98812 Fixed bug where a method was being called on the parameter of the constructor and not the instance variable causing it to sometimes call on null 2019-03-08 22:00:21 -06:00
e21d8dfd54 Finished repository class, more methods may be necessary 2019-03-05 21:07:14 -06:00
5d4fa06382 Changed the [createUser] method to accept a uid for the document 2019-03-05 20:06:05 -06:00
0b06d86d0a Added tests for the new methods in firestore provider 2019-03-02 23:41:11 -06:00
79a5196aff Added method to update user data in the firestore provider 2019-03-02 23:05:35 -06:00
b009cb7462 Added method for verifying user existance 2019-03-02 20:40:33 -06:00
f296eb94e7 Added method for user creation 2019-03-02 19:08:25 -06:00
8363efe59b Added docs for the attributes in the user model class 2019-03-02 18:59:24 -06:00
167472154e Implemented the [deleteFile] method 2019-02-27 20:02:11 -06:00
410ede26cc Changed the firestore instance to be a private variable in the firestore provider 2019-02-26 20:25:19 -06:00
f1226aea99 Changed constructor implementation of the firestore provider to avoid name conflicts. Firebase plugins no longer throw whe performing operations 2019-02-25 22:36:27 -06:00
7e8b0b074a Added tests for the events operations in firebase 2019-02-24 21:38:12 -06:00
ee7b5748c0 Added the ability to inject a custom Firestore instance for testing purposes 2019-02-24 20:07:33 -06:00
376557e35e Added docs for the event operations and empty check for the update operations in both event and task 2019-02-23 19:36:13 -06:00
b86d88785c Added the remaining CRUD operations for events 2019-02-23 19:36:13 -06:00
e7fa1e7afa Implemented the rest of CRUD operations for the task model 2019-02-23 19:36:13 -06:00
9374108453 Implemented method to add a task to firestore 2019-02-23 19:36:13 -06:00
5c46398be1 Changed id to be optional on [EventModel], [TaskModel] and [UserModel] 2019-02-23 19:36:13 -06:00
c95939f5df Implemented the rest of CRUD operations for the task model 2019-02-23 17:03:07 -06:00
f164a2a8f7 Implemented method to add a task to firestore 2019-02-23 17:03:07 -06:00
8498517b1e Changed id to be optional on [EventModel], [TaskModel] and [UserModel] 2019-02-23 17:03:07 -06:00
c1a0487071 Created the [FirestoreProvider], added the id attribute to the user, event and task models 2019-02-22 00:13:06 -06:00