Commit Graph

101 Commits

Author SHA1 Message Date
Matthieu ccadaac718 Catch filenotfoundexception, add build variant for debug 2021-05-19 11:05:44 +02:00
Matthieu 5ffd71f957 reset the version code to 1 since we changed appId 2021-05-12 23:36:26 +02:00
Matthieu 704507327d Merge branch 'fix_crash_add_picture' into 'master'
Add dependency on androidx.fragment

See merge request pixeldroid/PixelDroid!338
2021-05-12 19:51:34 +00:00
Matthieu b1ba19826e Update dependencies 2021-05-09 18:42:28 +02:00
Matthieu 0a70792851 Add dependency on androidx.fragment 2021-05-09 14:08:36 +02:00
Matthieu 09c35a25f7 Merge branch 'receive_share' into 'master'
Receive shares

Closes #289

See merge request pixeldroid/PixelDroid!337
2021-05-09 11:49:08 +00:00
Matthieu d8cd3e71aa undo gradle update (breaks CI?), remove testbutler 2021-05-09 13:18:10 +02:00
Matthieu 8a925c1e2f Add Test Butler and restore offline login test 2021-05-08 21:58:14 +02:00
Matthieu d222e15810 Update dependencies 2021-05-08 20:35:45 +02:00
Matthieu b12b8f8e0e fix some leaks, try out leak_canary 2021-05-08 20:12:05 +02:00
Matthieu fb7152880d update version 2021-04-30 23:30:44 +02:00
Matthieu 0526e480b8 update dependencies 2021-04-28 15:24:05 +02:00
Matthieu f3f3fb97f8 Add test repetition 2021-04-22 16:55:23 +02:00
Matthieu 1ce5c54055 rename app id 2021-04-22 11:47:18 +02:00
Matthieu b25262db2f Fix coverage stat, update dependencies, remove useless db passing 2021-04-20 12:07:18 +00:00
Matthieu 539c6973ec Update camerax 2021-04-18 20:56:17 +02:00
Matthieu 3af4708b9c update dependencies 2021-04-18 20:48:58 +02:00
Matthieu 473b71429b Add default env values 2021-04-09 22:01:09 +02:00
Matthieu f270c5a718 add dependency 2021-03-21 13:35:58 +01:00
Matthieu bd68012026 Make jcenter exceptions explicit 2021-03-16 00:48:08 +01:00
Matthieu 2632e045ab Update TraceDroid to jitpack 2021-03-16 00:23:10 +01:00
Matthieu e9430bb6ef Update dependencies 2021-03-14 21:55:20 +01:00
Matthieu 8b90e17fc4 Restore integration tests in CI 2021-02-17 22:55:31 +01:00
Matthieu 9bf62832d3 undo a dependency update for now 2021-02-04 20:49:33 +01:00
Matthieu 360e40b7fa Update dependencies 2021-02-04 17:34:56 +01:00
Matthieu ed5b780ee6 Release, and minify apk/use proguard properly 2021-01-25 20:41:00 +01:00
Matthieu c9a43f0c1c Increment version number 2021-01-14 11:51:15 +01:00
Matthieu 79c0d5c0b4 Finish removing deprecated kotlin-android-extensions uses 2021-01-13 11:16:03 +01:00
Matthieu bebf0233dc Start removing deprecated kotlin-android-extensions uses 2021-01-13 01:28:08 +01:00
Matthieu 8bfbe2fbb5 Finish implementing carousel+grid postcreation 2021-01-12 17:16:37 +01:00
Matthieu d6e7d2377f Carousel in the PostCreationActivity, change PhotoEditActivity to be more intuitive 2021-01-09 16:19:26 +01:00
Matthieu 0a4d285d14 Big reorganization of code into logical units (#251)
Not much actual code is changed
2020-12-26 12:10:54 +01:00
Matthieu 6c66863305 Update version number 2020-12-20 14:31:48 +01:00
Matthieu 08f8bbcc13 Update dependencies 2020-12-19 21:12:56 +01:00
Matthieu 570b76ecdc update dependencies 2020-12-08 18:12:00 +01:00
Matthieu 624cff117a Cache feeds with database using the new paging3 API 2020-11-27 17:02:52 +01:00
Matthieu d589e464ea Remove emulator tests from CI, since they are very flaky. 2020-11-08 20:24:38 +01:00
Matthieu 16529b40fd Alpha release 5 2020-11-06 14:49:49 +01:00
Matthieu 2e88e49875 Add error messages instead of toasts 2020-10-31 11:21:56 +01:00
Matthieu 96fd086c5f Fix upload adding error 2020-10-05 13:21:59 +02:00
Matthieu 6bf532698a Prepare for alpha 4 release 2020-10-04 23:40:42 +02:00
Matthieu 50dd0bad51 Add reporting and link sharing functionality, polish UI 2020-10-04 23:27:06 +02:00
Matthieu 0910ef176a Create About activity with licenses and dependency list 2020-09-25 16:46:01 +02:00
Matthieu fa5e9b764e update dependencies 2020-09-14 16:04:53 +02:00
Matthieu 98e18635b5 Add crash report using TraceDroid 2020-09-10 22:47:04 +02:00
Matthieu 7066c8e903 Switch to flexbox to fix #242 2020-09-10 22:09:14 +02:00
Matthieu 7bca413d60 Use nodeinfo endpoint to get info about the capabilities of the instance 2020-08-22 22:34:21 +02:00
Matthieu 21925e7af4 Dependency injection
Configure dependency injection for API and the database. Uses Dagger (dagger.dev)

The API is held in a holder, so that it can be invalidated or recreated as needed.

Big refactor of the feeds, this introduces a bit more duplication of code (some very similar methods that differ only in the types or minor details), but now the inheritance makes more sense and there is less "forcing" to make the inheritance work (for example: no more casting Int to String just to have the right type for the key)
It should be easier to work with the feeds in the future, maybe we'll find better abstractions later on.
2020-07-26 20:56:01 +02:00
Matthieu 5f773bef1a release 3 2020-06-05 23:09:25 +02:00
Ulysse Widmer 34f3d12dbc
Offline mode part 2 - Store posts in the DB (#209)
* store posts base idea

* switch to nullable types in Status object

* store posts first try + switch to nullable types for Attachment objects

* fix some tests, add converters

* update gradle

* wip: display stored post

* first draft of functional offline post

* added likes and shares to offline data

* fully functional

* clear activity correctly

* clear correctly activities

* refactored some tests and added offline feed test

* Distinguish between users, and only store home timeline

* count better

* Sort when getting statuses

* disable buttons, since we're offline anyways

Co-authored-by: Matthieu <61561059+Wv5twkFEKh54vo4tta9yu7dHa3@users.noreply.github.com>
2020-06-05 20:14:57 +02:00