1
0
mirror of https://gitlab.shinice.net/pixeldroid/PixelDroid synced 2024-12-25 06:23:58 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
Matthieu
4259b92d05 Add cirrus 2020-03-21 19:46:45 +01:00
Wv5twkFEKh54vo4tta9yu7dHa3
260062a72b
Notifications tab (#57)
* Add notification fragment to notification tab

* First functional-ish version of notifications

* Fix test failing due to profile requesting multiple times (?)

* Test notifications list

* Move resource that was in the wrong place for some reason

* Improve fallback image, add new drawable for it, add a margin

* Only show image thumbnail when there is one

* Go to post activity on click

* Add pull to refresh

* Refactor somewhat

* Test other notification too

* Test opening post

* add icons for various things (heart, follow, share, image fallback)
2020-03-18 20:56:42 +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
26427d5377 Added tests for settings 2020-03-08 20:41:01 +01:00
Matthieu
b944201b3c Remove duplicate config in build.gradle 2020-03-08 12:55:48 +01:00
Matthieu
1d13b5e621 Move settings to activity, remove upper bar 2020-03-08 12:54:18 +01:00
Ulysse Widmer
edbf3aafa7 resolved conflicts before merge 2020-03-08 19:17:26 +09:00
Matthieu
f36b45ba15 Specify integration library for glide 2020-03-07 19:45:27 +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
Matthieu
33f0711b1f Finish authentication 2020-03-06 18:24:20 +01:00
Matthieu
0892ff536f Fix dependencies for custom tab 2020-03-06 08:37:59 +01:00
Andrea Clement
c42bdca444 hooked build gradle from master 2020-03-05 23:05:28 +01:00
Sanimys
10ee546ab9
Merge branch 'master' into settingsUI 2020-03-05 22:06:49 +01:00
mjaillot
5f3abfa4dc Added glide dependency 2020-03-05 21:59:40 +01:00
Joachim Dunant
0ec320792a Cleaned code in fragments, Manifest, gradle build and MainActivity 2020-03-05 21:48:25 +01:00
Joachim Dunant
e7e3d19475 First implementation of settings UI & Main menu drawer 2020-03-05 21:07:10 +01:00
Andrea Clement
85e1db49ca deleted login template 2020-03-05 18:59:46 +01:00
Andrew Dobis
8a026d0bd4 renamed pdf 2020-03-05 18:29:10 +01:00
Matthieu
b3e4525e85 implement a lot of the API, a lot of the plumbing that is required 2020-03-05 18:23:23 +01:00
Andrea Clement
47be94ba02 fixed merged features 2020-03-05 17:00:49 +01:00
Andrea Clement
c976d1214c corrected build 2020-03-05 16:46:56 +01:00
Andrea Clement
746b670403 inital login activity 2020-03-05 16:46:18 +01:00
Wv5twkFEKh54vo4tta9yu7dHa3
aa788f9720
Implement most of the API (#23)
Add Kotlin representations (data classes) of the Types of the Mastodon API. 
Create helper function to make API from the interface.
Test the deserialization.
2020-03-04 18:04:55 +01:00
Andrea Clement
6f56ca350c inital login activity 2020-03-03 21:17:53 +01:00
Matthieu
f81cc9b595 specify debug version for jacoco 2020-02-29 14:09:20 +01:00
Matthieu
c9d2842401 Correct version in build.gradle 2020-02-28 17:59: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