1
0
Fork 0
mirror of https://github.com/MatomoCamp/matomocamp-companion-android.git synced 2024-09-19 16:13:46 +02:00
Commit graph

346 commits

Author SHA1 Message Date
b7424c541f
switch out sidebar logo 2021-09-18 23:12:48 +02:00
d3e2c65444
targetSdkVersion 31 2021-09-18 22:45:07 +02:00
215d81e789
rename a bit more 2021-09-18 13:03:26 +02:00
6f6964e002
live all event view 2021-09-18 12:50:21 +02:00
3a1cf7bbbc
rename URLS and 3h instead of 30min 2021-09-18 11:57:01 +02:00
7a833d9251
rename to MatomoCamp 2021-09-18 11:26:27 +02:00
Christophe Beyls
07b6bc16a0 upgrade Kotlin, Coroutines, Hilt, Fragment, AppCompat 2021-07-23 12:19:54 +02:00
Christophe Beyls
7531b22a0a update Gradle plugin, Core, Material Components 2021-07-10 12:03:49 +02:00
Christophe Beyls
71b1bcaf37 update Hilt to 2.37, inject HttpClient in FosdemApi, inject Call.Factory in HttpClient 2021-07-10 11:45:54 +02:00
Christophe Beyls
684131fb51
Add dependency injection using Hilt (#68)
Configure Hilt to inject FosdemApi, FosdemAlarmManager, BookmarksDao and ScheduleDao
2021-05-14 21:47:10 +02:00
Christophe Beyls
d5e246ef20 cleanup methods deprecated since Kotlin 1.5 2021-05-14 02:01:42 +02:00
Christophe Beyls
3a90a1ed79 remove custom enum type conversion. Room now supports enums since version 2.3.0 2021-05-14 01:53:48 +02:00
Christophe Beyls
0b707b5872 update Gradle Plugin to 4.2.0, Kotlin to 1.5.0, fragment-ktx to 1.3.3 and Room to 2.3.0 2021-05-07 22:35:18 +02:00
Christophe Beyls
44e9e69a5d upgrade various libraries and replace custom ConcatAdapter implementation with RecyclerView's ConcatAdapter 2021-04-09 19:01:58 +02:00
Christophe Beyls
51d25112bc update Material Components library to 1.3.0 and replace custom MaterialHorizontalProgressBar with LinearProgressIndicator 2021-02-16 18:46:27 +01:00
Christophe Beyls
389af5475c update fragments to 1.3.0 and use the new Activity Result and Fragment Result APIs 2021-02-15 22:03:36 +01:00
Christophe Beyls
cf91dcc0f8 allow alarms to go off while the device is in low-power idle mode 2021-02-07 16:57:54 +01:00
Christophe Beyls
258598e730
Import bookmarks feature (#65)
- move ICalendarWriter to ical package
- create ICalendarReader and share CRLF constant with ICalendarWriter
- add import icon
- implement bookmarks parser and add file picker to send parsed bookmark ids to ExternalBookmarksActivity
- add feature to import all bookmarks shown in the external bookmarks list at once, with confirmation dialog.
2021-02-06 01:33:41 +01:00
Christophe Beyls
b7484e406c always expect non-null body in case of successful http response 2021-01-27 19:56:59 +01:00
Jaime Soriano Pastor
3518208b3a
Ignore duplicated person in event (#64) 2021-01-26 18:48:33 +01:00
Christophe Beyls
7e63735a7d replace "more info" menu item with floating action button in PersonInfoActivity
use a single ViewModel in the Activity as data source for both Activity and Fragment.
2020-12-21 18:01:57 +01:00
Christophe Beyls
5a0b641b61 replace deprecated method call setToolbarColor() with setDefaultColorSchemeParams() in CustomTabsIntent.Builder 2020-12-19 19:13:20 +01:00
Christophe Beyls
9386b9c107 refresh the list of libraries used in the project 2020-12-19 19:04:29 +01:00
Christophe Beyls
2771cea3a4 only display the room name instead of "(Building Unknown)" in case of unknown building 2020-12-12 14:19:37 +01:00
Christophe Beyls
72734576db replace android's JsonReader with Moshi's JsonReader to parse room statuses more efficiently 2020-12-12 00:34:39 +01:00
Christophe Beyls
241ff25398 move overridden library resources to a separate resources folder for clarity 2020-11-29 12:57:08 +01:00
Christophe Beyls
d1a336c1e0 upgrade Kotlin to 1.4.20 and coroutines to 1.4.1
replace java.util.* imports with individual imports
2020-11-25 14:57:50 +01:00
Christophe Beyls
475ce1a451 defer initialization of OkHttpClient on a background thread 2020-11-11 19:26:18 +01:00
Christophe Beyls
9578ca949e use okhttp-tls library to build custom SSLSocketFactory and TrustManager instances 2020-11-11 13:02:35 +01:00
Christophe Beyls
06f902eadb
Add missing room images for building U (#61)
replace existing images and add 3 new ones.
2020-11-10 00:46:20 +01:00
Christophe Beyls
e7de633383 Use async Handler for LiveData scheduling 2020-11-06 16:25:01 +01:00
Christophe Beyls
e306f6436b revert workaround for compound drawables tinting bug in some Android versions, bug has been fixed 2020-09-14 15:51:36 +02:00
Christophe Beyls
ae3212822d upgrade to Kotlin 1.4.10 + new versions of AppCompat & Material Components
+ add workaround for FAB tinting on API < 21
2020-09-14 15:51:32 +02:00
Christophe Beyls
2c5a0eaa7a fix: use DateParceler to serialize startTime and endTime fields 2020-07-18 01:05:25 +02:00
Christophe Beyls
b2a93a2165 upgrade Gradle plugin to 4.0
restrict the Jitpack Repository to the PhotoView dependency
2020-05-29 12:07:58 +02:00
Christophe Beyls
4b20c0b3a4 rely on FragmentFactory to instantiate all fragments, replace newInstance() factory methods with createArguments() 2020-05-21 15:16:50 +02:00
Christophe Beyls
7335b6021e make ViewLifecycleLazy implementation private and make it implement LifecycleEventObserver to save an object allocation 2020-05-12 00:06:58 +02:00
Christophe Beyls
f7b6ea857e remove double negation 2020-05-08 22:33:41 +02:00
Christophe Beyls
64188a1bd6 tweak code in RecyclerViewExt 2020-05-08 00:45:42 +02:00
Christophe Beyls
e87ca567be extract findActivity() to a public utility function in ViewExt 2020-05-08 00:41:52 +02:00
Christophe Beyls
b8235f8e93 use += operator for collections 2020-05-06 23:32:53 +02:00
Christophe Beyls
9ea8200c07 use with(obtainStyledAttributes) for consistency with other screens 2020-05-04 23:53:27 +02:00
Christophe Beyls
ecbe98f9e4 combine download schedule progress and result into LoadingState 2020-05-02 00:46:14 +02:00
Christophe Beyls
400bcdea53 use += operator to add view 2020-04-29 01:01:00 +02:00
Christophe Beyls
3194c80cf4 remove some unnecessary null checks 2020-04-25 21:01:53 +02:00
Christophe Beyls
f447c0069b don't use Parcelize in MultiChoiceHelper for better reusability 2020-04-23 17:53:24 +02:00
Christophe Beyls
afd488be58 fix multiChoiceHelper adapter lifecycle 2020-04-23 16:04:24 +02:00
Christophe Beyls
5ad84338ee provide Calendar instance directly as argument default value in DateUtils.getYear() 2020-04-23 15:20:13 +02:00
Christophe Beyls
1eff855426 refactor HttpUtils to suspending functions and perform parsing on the OkHttp background thread 2020-04-22 19:07:47 +02:00
Christophe Beyls
dc02336785 fix the download progress bar logic and encapsulate it in FadeOutViewMediator 2020-04-21 20:15:56 +02:00