Commit Graph

164 Commits

Author SHA1 Message Date
Matthieu 80cdaacf03 Fix infinite dialog loop 2021-01-14 13:15:40 +01:00
Matthieu 417332fb5c Do edit check in onBackPressed to also catch pressing the system back button 2021-01-14 12:49:50 +01:00
Matthieu 6fa4488296 Use view binding more 2021-01-13 22:46:00 +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 4b8f47155c Make buttons prettier, defer uploading to when the image is posted, add remove button 2021-01-10 22:30:35 +01:00
Matthieu d6e7d2377f Carousel in the PostCreationActivity, change PhotoEditActivity to be more intuitive 2021-01-09 16:19:26 +01:00
Matthieu 8e5e2c2d87 Fix #271 by updating the apiholder before relaunching the application 2021-01-05 00:38:16 +01:00
Matthieu edd6f4d0b4 Everything is a coroutine 2020-12-30 18:13:39 +01:00
Matthieu f38e823578 More coroutines. 2020-12-29 22:35:45 +01:00
Matthieu 1254a3566d More coroutinification 2020-12-29 22:14:32 +01:00
Matthieu 3a91b02e55 Use coroutines 2020-12-29 19:34:48 +01:00
Matthieu 86543ee74c Correct a bunch of small things raised by inspection 2020-12-28 20:53:24 +01:00
Matthieu 46c4719a72 Remove duplicate or unused drawables. Use dynamic colours instead of night drawables 2020-12-28 17:43:07 +01:00
Matthieu ff7f18d2ae Refactor and move out openUrl method to utils 2020-12-28 17:18:07 +01:00
Matthieu d6d1262629 Don't query but try catch to bypass new package visibility feature in android 11 2020-12-28 17:00:02 +01:00
Matthieu 12ed06cce8 Move ReportActivity to posts package 2020-12-28 15:20:31 +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 77e30cf04c Remove useless interfaces 2020-12-20 18:39:50 +01:00
Matthieu 6c66863305 Update version number 2020-12-20 14:31:48 +01:00
Matthieu 94cb52e25c Merge branch 'fix_report' into 'master'
Fix report API

See merge request pixeldroid/PixelDroid!269
2020-12-19 21:47:23 +01:00
Matthieu 0f5d7c20bd Fix report API 2020-12-19 21:41:07 +01:00
Matthieu bba487b98b Hide report option for your own posts 2020-12-19 21:13:30 +01:00
Matthieu 08f8bbcc13 Update dependencies 2020-12-19 21:12:56 +01:00
Matthieu bacd5e138b Don't re-bind camera if already bound
This prevents flashing black when entering the CameraFragment
2020-12-19 13:23:59 +01:00
Matthieu 1e2c73c2cf List of lambdas to defer creation of fragments 2020-12-19 13:22:45 +01:00
Matthieu 00f3dd5a19 Re-use gson instance (improves performance) 2020-12-19 13:14:38 +01:00
Matthieu 60ba840421 Use BaseActivity to inject the database and api 2020-12-16 22:11:45 +01:00
Matthieu 9980d651d2 Remove imports and make CameraActivity inherit from BaseActivity 2020-12-16 21:50:27 +01:00
Matthieu 969ec214fa Fix default language being broken 2020-12-16 17:27:29 +01:00
Matthieu 689dffe7c1 Add in-app language setting 2020-12-11 16:53:12 +01:00
Matthieu e71e5c304a clean imports 2020-12-08 18:33:16 +01:00
Matthieu 3370001c4c store client ID and secret, and set up refresh if a request fails with 401 2020-11-29 20:19:25 +01:00
Matthieu bf9d5287ba Store refresh tokens 2020-11-29 14:58:54 +01:00
Matthieu f465e495d2 Delete posts with three-dot "more options" menu 2020-11-28 15:05:13 +01:00
Matthieu 624cff117a Cache feeds with database using the new paging3 API 2020-11-27 17:02:52 +01:00
Matthieu 16529b40fd Alpha release 5 2020-11-06 14:49:49 +01:00
Matthieu 245c9c2e64 Hide comments by default. Fixes #141 2020-11-03 10:13:43 +01:00
Matthieu ae96961dbe make sure album icon is hidden on re-used recyclerview viewholder 2020-11-02 22:36:25 +01:00
Matthieu c65a121e28 add reload and error to profile 2020-11-02 21:58:01 +01:00
Matthieu 7f04028125 Move duplicated error to layout file, create strings 2020-11-02 13:28:27 +01:00
Matthieu 22b03fca54 add poll to prevent crashes with mastodon 2020-11-01 19:57:56 +01:00
Matthieu 2c1fef2a0a Make null-ness possibility explicit. Improve fallback of displayname 2020-11-01 18:44:32 +01:00
Matthieu 5be0f1f773 Fix thumbnail on newer android versions 2020-11-01 00:07:28 +01:00
Matthieu afeae16c31 Don't reset the pages to 0, but to 1 2020-10-31 22:40:05 +01:00
Matthieu d0015b805c Add album icon, fix some API calls, remove superfluous API call 2020-10-31 22:11:01 +01:00
Matthieu 2e88e49875 Add error messages instead of toasts 2020-10-31 11:21:56 +01:00
Matthieu 40f4d03bd1 Add serializable to Source 2020-10-28 11:19:36 +01:00
Matthieu 96fd086c5f Fix upload adding error 2020-10-05 13:21:59 +02:00