Commit Graph

56 Commits

Author SHA1 Message Date
mashazyu 57a6d94790 Realm sync functions call fix 2019-01-06 19:27:03 +01:00
mashazyu cb95c98031 adds delete app data functionality 2019-01-03 23:47:16 +01:00
Julia Friesel bb0a535d65 Replace getOrCreateCycleDay 2018-11-16 14:38:36 +01:00
Julia Friesel 2552a01efc Remove debug log 2018-11-02 15:25:40 +01:00
Julia Friesel fa85f321c3 Always persist connection. Throw all unknown errors. 2018-10-30 09:46:42 +01:00
Julia Friesel 207b5504e7 Only throw unexpected errors from openDb 2018-10-30 09:14:46 +01:00
Julia Friesel 8445cc8ed8 Determine isCycleStart on importing data too 2018-10-25 15:42:10 +02:00
Julia Friesel 918d383163 Simplify cycle start detection funtions 2018-10-25 15:17:26 +02:00
Julia Friesel e2b426727b Set cycleStart to false when bleeding deleted 2018-10-25 10:00:39 +02:00
Julia Friesel 9188d84797 Use new isCycleStartFunctions throughout cycle module 2018-10-25 09:18:25 +02:00
Julia Friesel ca4cccfd65 Set isCycleStart when saving symptom 2018-10-23 19:42:51 +02:00
Julia Friesel 1b20658eed Move db-unchanged to db dir 2018-10-22 21:24:54 +02:00
Julia Friesel 7b8b905550 Add new home screen 2018-10-03 19:14:53 +02:00
Julia Friesel 8e31215860 Run migrations if necessary 2018-09-27 17:05:36 +02:00
bl00dymarie d93e91f366 Merge branch '172-add-unprotected-to-contraceptives' into 'master'
Add 'unprotected' and 'diaphragm" to contraceptives

Closes #172

See merge request bloodyhealth/drip!81
2018-09-26 10:32:10 +00:00
emelko fc514a793d Rename contraception option 'unprotected' in 'none' 2018-09-26 12:25:44 +02:00
emelko b973119321 Add 'unprotected' and 'diaphragm" to contraceptives 2018-09-20 22:36:21 +02:00
emelko 19d4743d0e Leaves out position value for db fixtures and test data 2018-09-20 21:00:43 +02:00
emelko ef51dab423 Update fixtures for test dummy data in app 2018-09-18 11:24:48 +02:00
Julia Friesel 8ed26f3e59 Pull password settings apart into individual components 2018-09-16 11:47:33 +02:00
Julia Friesel 9f11170f8b Bring back persist argument to openDb
This reverts commit fc1028dba411711c46e3976693552632af4b9dc6.
2018-09-16 11:47:33 +02:00
Julia Friesel 1c5c6a804b Remove unneeded argument to openDb 2018-09-16 11:47:33 +02:00
Julia Friesel f6e8950816 Move create password flow to settings page 2018-09-16 11:47:33 +02:00
Julia Friesel c476a7a278 Clean up 2018-09-16 11:47:33 +02:00
Julia Friesel 3dbc26f50a Unify encrypt function 2018-09-16 11:47:33 +02:00
Julia Friesel b153f8d0ff Add password setting and check password before deleting it 2018-09-16 11:47:05 +02:00
Julia Friesel 3c1653bc8c Add db deletion button for when things go wrong 2018-09-16 11:47:05 +02:00
Julia Friesel b82b2d625a Use SHA512 for encryption too 2018-09-16 11:47:05 +02:00
Julia Friesel 34648a3d89 Take user password and try to open db 2018-09-16 11:47:05 +02:00
Julia Friesel 04e43b823d Extract schema and open db when called 2018-09-16 11:46:17 +02:00
Julia Friesel 4839f95312 Use nodejs-mobile and bcrypt to generate encryption key, and encrypt db 2018-09-16 11:46:17 +02:00
Julia Friesel b7470151b4 Copy database and delete old one 2018-09-16 11:46:17 +02:00
emelko 14989d81d5 Add better test as dummy cervix data 2018-09-13 10:49:42 +02:00
emelko 3ff7dd7340 Merge branch 'master' 2018-09-03 10:55:27 +02:00
emelko ea83d6eb6b Merge branch 'master' into 117-implement-pain 2018-08-31 20:59:23 +02:00
tina 3bd5770c33 adds note to temperature 2018-08-31 14:01:48 +02:00
emelko 4dd1ae3f29 Adds migraine as pain item to the db 2018-08-30 21:38:37 +02:00
Bl00dyMarie e68b8f5460 Adding "other" as pain option and link text input to it 2018-08-27 18:05:53 +02:00
Bl00dyMarie 30752a05c2 Adding pain with 7 boolean values to track 2018-08-27 18:05:53 +02:00
Julia Friesel af8c2c1401 Merge branch 'master' into 82-chart-improvements 2018-08-16 14:46:08 +02:00
Julia Friesel 2883aaa879 Merge branch '114-add-import-button' into 'master'
Resolve "Add Import button"

Closes #114

See merge request bloodyhealth/drip!48
2018-08-16 12:28:02 +00:00
Julia Friesel b07a2c8a53 Move db operations back to db module 2018-08-16 08:26:08 +02:00
Julia Friesel 88b0dba3b6 Clean up file structure 2018-08-16 08:26:08 +02:00
Julia Friesel 949fe91e9e Improve boolean parsing and ignore empty fields 2018-08-16 08:26:08 +02:00
Julia Friesel a948cf716b Handle merge import 2018-08-16 08:26:08 +02:00
Julia Friesel 456f4fe7d8 Parse values according to schema type and write to db 2018-08-16 08:26:08 +02:00
Julia Friesel ed474fd5cb Import file contents and move csv function to db module 2018-08-16 08:23:48 +02:00
Bl00dyMarie a64bfbcd50 Implement Sex \o/:
* Offers tracking sex activities and contraceptives as much as you want
* "Other" contraceptive allows to specify with text input
2018-08-13 16:47:19 +02:00
Julia Friesel cd1e689aae Get actual amount of cycle days to display 2018-08-12 11:21:11 +02:00
Julia Friesel 7ea6a683ff Merge branch '113-add-button-to-export-to-settings-page' into 'master'
Resolve "Add button to export to settings page"

Closes #113

See merge request bloodyhealth/drip!46
2018-08-06 12:49:44 +00:00