Commit Graph

623 Commits

Author SHA1 Message Date
Matthieu 10a96a33d4 Merge branch 'performance-tweaks' into 'master'
Performance tweaks

Closes #268

See merge request pixeldroid/PixelDroid!267
2020-12-19 13:33:13 +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 6483989c09 Merge branch 'translation_tweaks' into 'master'
Translation tweaks (#265)

Closes #265

See merge request pixeldroid/PixelDroid!266
2020-12-16 22:17:31 +01:00
Matthieu 60ba840421 Use BaseActivity to inject the database and api 2020-12-16 22:11:45 +01:00
Matthieu ba5fd1c1cf Remove activity declaration in manifest for BaseActivity 2020-12-16 21:54:18 +01:00
Matthieu 9980d651d2 Remove imports and make CameraActivity inherit from BaseActivity 2020-12-16 21:50:27 +01:00
Matthieu 1d4af5bffe Add CONTRIBUTING.md and TRANSLATION.md 2020-12-16 21:30:49 +01:00
Matthieu 7066c942e8 Add direct links to translation and forge platforms 2020-12-16 17:50:47 +01:00
Matthieu 969ec214fa Fix default language being broken 2020-12-16 17:27:29 +01:00
Matthieu 2256691cd1 add icons 2020-12-12 00:51:06 +01:00
Matthieu 15e294fda7 move about button down 2020-12-11 16:59:02 +01:00
Matthieu 689dffe7c1 Add in-app language setting 2020-12-11 16:53:12 +01:00
Matthieu 271b9f310d Merge branch 'refresh_tokens' into 'master'
Store refresh tokens and use them if request fails with 401

Closes #169

See merge request pixeldroid/PixelDroid!265
2020-12-08 18:48:15 +01:00
Matthieu e71e5c304a clean imports 2020-12-08 18:33:16 +01:00
Matthieu 570b76ecdc update dependencies 2020-12-08 18:12:00 +01:00
Matthieu e3f9539af2 Fix unit test for token 2020-11-29 20:35:26 +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 18df0d030b Merge branch 'post-context-menu' into 'master'
Delete posts with three-dot "more options" menu

See merge request pixeldroid/PixelDroid!238
2020-11-28 15:05:13 +01:00
Matthieu f465e495d2 Delete posts with three-dot "more options" menu 2020-11-28 15:05:13 +01:00
Matthieu b5f42e2662 Merge branch 'database_backed_feeds' into 'master'
Database backed feeds

Closes #235

See merge request pixeldroid/PixelDroid!262
2020-11-27 17:02:53 +01:00
Matthieu 624cff117a Cache feeds with database using the new paging3 API 2020-11-27 17:02:52 +01:00
Matthieu 6103b05fad Merge branch 'translations' into 'master'
Translated using Weblate (Persian)

See merge request pixeldroid/PixelDroid!263
2020-11-17 20:40:08 +01:00
Mostafa Ahangarha d54a240424 Translated using Weblate (Persian)
Currently translated at 100.0% (123 of 123 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: https://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/fa/
2020-11-16 20:44:26 +00:00
Matthieu 06e8ce7667 Merge branch 'translations' into 'master'
Translated using Weblate (Galician)

See merge request pixeldroid/PixelDroid!261
2020-11-09 15:15:06 +01:00
Xose M 4d1ea9f4db Translated using Weblate (Galician)
Currently translated at 100.0% (123 of 123 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: https://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/gl/
2020-11-09 13:54:55 +00:00
Matthieu b04224babb Merge branch 'translations' into 'master'
Translated using Weblate (Russian)

See merge request pixeldroid/PixelDroid!260
2020-11-09 14:19:38 +01:00
Matthieu b1efd0dd2e Merge branch 'fix_ci' into 'master'
Fix ci

See merge request pixeldroid/PixelDroid!259
2020-11-08 20:24:38 +01:00
Matthieu d589e464ea Remove emulator tests from CI, since they are very flaky. 2020-11-08 20:24:38 +01:00
ge 346ee316b4 Translated using Weblate (Russian)
Currently translated at 100.0% (123 of 123 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: https://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/ru/
2020-11-08 03:44:43 +00:00
Matthieu 0718aeadac Merge branch 'release_5' into 'master'
Alpha release 5

See merge request pixeldroid/PixelDroid!257
2020-11-06 15:53:39 +01:00
Matthieu d53a00863a Merge branch 'translations' into 'master'
Translated using Weblate (Italian)

See merge request pixeldroid/PixelDroid!258
2020-11-06 15:48:15 +01:00
Matthieu 16529b40fd Alpha release 5 2020-11-06 14:49:49 +01:00
x b0f48a1cea Translated using Weblate (Italian)
Currently translated at 100.0% (123 of 123 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: https://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/it/
2020-11-03 18:44:42 +00:00
Matthieu 9c91bec9cb Merge branch 'recycler_view_fixes' into 'master'
Hide comments by default. Fixes #141

Closes #141

See merge request pixeldroid/PixelDroid!256
2020-11-03 10:13:28 +01:00
Matthieu 245c9c2e64 Hide comments by default. Fixes #141 2020-11-03 10:13:43 +01:00
Matthieu ee06e0229c Merge branch 'crash_fixes' into 'master'
Crash fixes, various small improvements

Closes #255 and #223

See merge request pixeldroid/PixelDroid!254
2020-11-02 22:45:53 +01:00
Matthieu ae96961dbe make sure album icon is hidden on re-used recyclerview viewholder 2020-11-02 22:36:25 +01:00
Matthieu 18bb33f3ca Merge branch 'translations' into 'master'
Translations

See merge request pixeldroid/PixelDroid!255
2020-11-02 22:32:36 +01:00
Matthieu c65a121e28 add reload and error to profile 2020-11-02 21:58:01 +01:00
Matthieu 0167a63148 Add attribution for error panda 2020-11-02 16:12:39 +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