PixelDroid-App-Android/app/src/main/res/drawable
Ulysse Widmer 92c534ca1b
Feature/post creation (#83)
* added perm and features for cameraS, gps and external storage

* added camera activity accessible from main activity

* added button to redirect to camera activity

* implementing callback flow to use camera

* working camera

* added texture view for camera display

* added camera activity

* implemented texture listener

* camera not working, flow done, no feedback implemented

* camera working

* refactored code, still an activity

* added private to internal function, better error function handling

* deleted camera activity

* added camera fragment

* added camera fragment

* refactored camera as fragment

* necessary dependencies for fragment testing

* initial camera fragment test

* corrected access to activity form fragment

* Added state changes and termination

* added lines to test, to test coverage

* Removed unsupported state STARTED state transition

* Added basic tests to test code coverage

* use layout for tests, to trigger permissions requirements

* grant camera permission to app in camera test

* replaced null handlers by proper function getter

* changed layout, added takePictureButton

* using expresso to get code coverage on camea

* take picture flow not finished

* dummy change to camera test to perform new build

* added connection flow before test to reach main activity

* can take a picture and put it to ImageView

* replaced button text with images

* smaller buttons

* test camera fragment buttons

* added orientation handler

* changed icon to make travis happy

* test new espresso config for travis

* removed useless rule

* deleted useless val

* added layout ID's

* moved swipes from Before to Tests, and thread sleep

* stoped swiping, now tests from fragment directly

* start post creation flow

* use Uri when taking photo, can now go back from picture preview

* adjusted test and flow idea

* tests on displayed UI elements for the post creation fragment

* refactor camera fragment into transition new post fragemnt

* finished first phase: get a picture Uri

* fixed lint error found by travis CI

* added global timeout to test

* test the new way of test

* refactor new way of testing

* added in-app camera view and linked everything to the final flow + started API to post

* strugling on the upload media part

* upload image on server implemented

* post upload implemented

* added API call to get max_toot_chars and correct def of a post description

* fixed some tests

* fix tests: clicking on tabs make the app crash because of the camera fragment

* comment problematic chunk of code while samuel tries to fix it

* switch minimumsdk to api 24

* Revert "switch minimumsdk to api 24"

This reverts commit 24ce46dd82038b59732fd958e5e071ded39cd549.

* deactivited live camera for API 23

* tests for post creation fragment UI elements

* remove worthless UI testing and add gallery intent test

* removed camera intent for now

* some refactor

* lint error and more refactor

* more refactor on merge from master

* refactor and test for PostCreationActivity

* Revert "refactor and test for PostCreationActivity"

This reverts commit a0c146bcc545cdc3792df4806e6b0c908bd18747.

* Revert "Revert "refactor and test for PostCreationActivity""

This reverts commit 147a9ed80d5f9c9e3c38b5a977786bfb39eeb1b6.

* permissions correction for test

* updtated test

* fix a test and refactor

* relink correct fragment

* save picture locally

* test post button

* requested changes

* fixed required changes

* Revert "fixed required changes"

This reverts commit 405a9d4d1af05353e30028e60041cc1c97569c1b.

* redo change request

* added /media api response to mockserver

Co-authored-by: Andrea Clement <samuel.dietz@epfl.ch>
2020-04-24 12:44:12 +02:00
..
ic_add_black_24dp.xml Added a database working in LRU (#43) 2020-03-12 23:27:40 +01:00
ic_apenstaart.xml Notifications tab (#57) 2020-03-18 20:56:42 +01:00
ic_bluetooth.xml First implementation of settings UI & Main menu drawer 2020-03-05 21:07:10 +01:00
ic_comment_blue.xml Reblogging and HTML text (#107) 2020-04-23 17:48:45 +02:00
ic_comment_empty.xml Reblogging and HTML text (#107) 2020-04-23 17:48:45 +02:00
ic_comment_full.xml Reblogging and HTML text (#107) 2020-04-23 17:48:45 +02:00
ic_default_user.xml Notifications tab (#57) 2020-03-18 20:56:42 +01:00
ic_dot_blue_12dp.xml Added handling of multiple images in a post (#111) 2020-04-23 18:49:32 +02:00
ic_dot_blue_24dp.xml Added handling of multiple images in a post (#111) 2020-04-23 18:49:32 +02:00
ic_follow.xml Notifications tab (#57) 2020-03-18 20:56:42 +01:00
ic_font_size.xml First implementation of settings UI & Main menu drawer 2020-03-05 21:07:10 +01:00
ic_fred_phone.xml Feature/post creation (#83) 2020-04-24 12:44:12 +02:00
ic_heart.xml Notifications tab (#57) 2020-03-18 20:56:42 +01:00
ic_home_white_24dp.xml Implements swipe motion & fragmentalize (#41) 2020-03-12 22:23:25 +01:00
ic_like_empty.xml Reblogging and HTML text (#107) 2020-04-23 17:48:45 +02:00
ic_like_full.xml Reblogging and HTML text (#107) 2020-04-23 17:48:45 +02:00
ic_notifications.xml First implementation of settings UI & Main menu drawer 2020-03-05 21:07:10 +01:00
ic_person_white_24dp.xml Implements swipe motion & fragmentalize (#41) 2020-03-12 22:23:25 +01:00
ic_photo_camera_white_24dp.xml Implements swipe motion & fragmentalize (#41) 2020-03-12 22:23:25 +01:00
ic_picture_fallback.xml Notifications tab (#57) 2020-03-18 20:56:42 +01:00
ic_reblog.xml Reblogging and HTML text (#107) 2020-04-23 17:48:45 +02:00
ic_reblog_blue.xml Reblogging and HTML text (#107) 2020-04-23 17:48:45 +02:00
ic_search_white_24dp.xml Implements swipe motion & fragmentalize (#41) 2020-03-12 22:23:25 +01:00
ic_send_blue.xml Reblogging and HTML text (#107) 2020-04-23 17:48:45 +02:00
ic_settings.xml First implementation of settings UI & Main menu drawer 2020-03-05 21:07:10 +01:00
ic_star_white_24dp.xml Implements swipe motion & fragmentalize (#41) 2020-03-12 22:23:25 +01:00
ic_time.xml First implementation of settings UI & Main menu drawer 2020-03-05 21:07:10 +01:00
ic_translate.xml First implementation of settings UI & Main menu drawer 2020-03-05 21:07:10 +01:00
side_nav_bar.xml First implementation of settings UI & Main menu drawer 2020-03-05 21:07:10 +01:00
theme.xml Add splash screen to avoid white screen while opening (#112) 2020-04-23 19:49:30 +02:00