Commit Graph

159 Commits

Author SHA1 Message Date
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
Matthieu 50dd0bad51 Add reporting and link sharing functionality, polish UI 2020-10-04 23:27:06 +02:00
Matthieu c014eef3f3 Make action bars contain info and back button 2020-09-26 00:25:08 +02:00
Matthieu b14242a448 Extract strings 2020-09-25 17:00:08 +02:00
Matthieu 0910ef176a Create About activity with licenses and dependency list 2020-09-25 16:46:01 +02:00
Matthieu 4f5e08d73e fix for dark mode 2020-09-13 23:48:03 +02:00