Commit Graph

182 Commits

Author SHA1 Message Date
Matthieu fe08782803 At least make integration tests compile 2021-02-11 01:24:05 +01:00
Matthieu 70f0e59d66 add blurhash to discover 2021-02-09 23:28:08 +01:00
Matthieu 6f9bbf5100 Fix discover 2021-02-09 20:47:04 +01:00
Matthieu c88f4a4cec Initial support for using API size values for single photos 2021-02-08 18:01:48 +01:00
Matthieu f66475bbdb Initial blurhash use 2021-02-08 01:32:10 +01:00
Matthieu 71714a5f3c Check if size of image isn't too big, and show dialog if it is 2021-02-07 22:55:34 +01:00
Matthieu 50957ea228 Disable add picture button and gray it out when max attained 2021-02-06 17:31:56 +01:00
Matthieu cf45f79ad9 Don't allow adding more images than the server permits 2021-02-05 19:06:57 +01:00
Matthieu cf3021c26a Alert user if API is not enabled. Store some settings in db 2021-02-05 14:48:12 +01:00
Matthieu 9bf62832d3 undo a dependency update for now 2021-02-04 20:49:33 +01:00
Matthieu f8b3e1627a use nodeinfo whenever possible 2021-02-04 20:44:31 +01:00
Matthieu ed1d35b539 Fix media descriptions being wrapped with string 2021-01-25 18:54:55 +01:00
Matthieu 03cf950bab Add check before proceding to upload to fix multi upload 2021-01-25 18:18:56 +01:00
Matthieu f3aff36ad7 Fix crash when clicking on username 2021-01-25 17:34:36 +01:00
Matthieu 8471fd4909 Merge branch 'plurals' into 'master'
Add plurals to strings

Closes #234

See merge request pixeldroid/PixelDroid!297
2021-01-25 11:06:30 +00:00
Matthieu 59d513cfac Add plurals to strings 2021-01-25 11:52:27 +01:00
Matthieu 4c935918d6 Add 'What's an instance' dialog in login instead of opening link 2021-01-25 10:57:27 +01:00
Matthieu 9dd6f3f1a8 Add image description functionality 2021-01-25 00:02:03 +01:00
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