21 Commits

Author SHA1 Message Date
mjaillot
8802bf9905
My profile (#46)
* Layout of my-profile page

* implements swipe motion

add a new class to implement swipe motion
add the swipe right from home page to display settings
passed the homepage in a fragment

* transform profile activity into fragment

transformed profile activity and layout into fragment
linked it with a swipe motion

* Implement swipeable tabs

* Ask for login on first start, add API endpoints, change profile to show the user's profile

* Added constraint view

* Layout of my-profile page

* Added constraint view

* Rebase myProfile with login-flow

* Add tests

* delete test for now

* Adapt test to changes (no more profile from drawer)

* Add unit test for api

* Add test for profile, refactor to allow testing, add exception to security policy to allow tests

* Adapt test to new situation

* Fix typo due to change

* refactor somewhat

* Added myProfile fragment to main activity + edit link

* Layout of my-profile page

* Added constraint view

* Layout of my-profile page

* Added constraint view

* Rebase myProfile with login-flow

* Added myProfile fragment to main activity + edit link

* Working tests for MyProfile

Co-authored-by: Ulysse Widmer <ulysse.widmer@epfl.ch>
2020-03-13 12:17:17 +01:00
Wv5twkFEKh54vo4tta9yu7dHa3
20c5ff4ee0
First use login flow (#44)
* transform profile activity into fragment

* Implement swipeable tabs

* Ask for login on first start, add API endpoints, change profile to show the user's profile

* Add tests

* delete test for now

* Adapt test to changes (no more profile from drawer)

* Add unit test for api

* Add test for profile, refactor to allow testing, add exception to security policy to allow tests

* Adapt test to new situation

* Fix typo due to change

* refactor somewhat

* remove unused function

* remove test dependent on network

* update test

* remove test

Co-authored-by: Ulysse Widmer <ulysse.widmer@epfl.ch>
2020-03-13 11:48:45 +01:00
Sanimys
2d7020fd21
Added a database working in LRU (#43)
Co-authored-by: Joachim Dunant <joachim.dunant@epfl.ch>
2020-03-12 23:27:40 +01:00
Ulysse Widmer
de314dc9de
Implements swipe motion & fragmentalize (#41)
* implements swipe motion

add a new class to implement swipe motion
add the swipe right from home page to display settings
passed the homepage in a fragment

* transform profile activity into fragment

transformed profile activity and layout into fragment
linked it with a swipe motion

* refactor settings drawer tests

* added more tests and refactored some files

* added animations to the sliding of the swipe motion
2020-03-12 22:23:25 +01:00
Joachim Dunant
191a499a04 Added tests for the settings UI 2020-03-12 17:36:57 +01:00
Joachim Dunant
26427d5377 Added tests for settings 2020-03-08 20:41:01 +01:00
Matthieu
79f45d6ca8 Remove duplicate test 2020-03-07 23:51:26 +01:00
Matthieu
f36b45ba15 Specify integration library for glide 2020-03-07 19:45:27 +01:00
Matthieu
ae4cba818e Less dependent on a server 2020-03-07 19:36:07 +01:00
Wv5twkFEKh54vo4tta9yu7dHa3
f0d5f918e2
Merge branch 'master' into oath 2020-03-07 19:02:45 +01:00
Matthieu
b79ebca03a Some more tests, move values into xml 2020-03-07 18:13:26 +01:00
Matthieu
1405d69861 Add tests for login, fix coverage not being counted 2020-03-07 11:00:24 +01:00
Ulysse Widmer
f8c6974a79 fixed le test 2020-03-06 19:25:17 +09:00
Ulysse Widmer
faf5a0838b fixing some more cancer 2020-03-06 19:19:14 +09:00
Matthieu
dbe936faa4 Make test be useful 2020-03-06 10:04:31 +01:00
Matthieu
03ec30ef28 Remove useless network requests, change names 2020-03-06 00:11:12 +01:00
mjaillot
88193dd588 Merge 2020-03-05 23:16:48 +01:00
mjaillot
9bcf715a88 Tests for the profile page's textViews 2020-03-05 23:10:33 +01:00
mjaillot
e6939891fb Created profile test file 2020-03-05 18:38:54 +01:00
Matthieu
a63c7ccb97 Switch to Kotlin 2020-02-28 17:08:54 +01:00
Ulysse Widmer
b10a800b36 init project files 2020-02-28 00:36:26 +01:00