Commit Graph

3430 Commits

Author SHA1 Message Date
charlag a43a749eb3
WIP prefs: adapt code to PrefStore 2022-06-08 18:23:21 +02:00
charlag 942afc8503
WIP prefs: account prefs 2022-06-08 17:59:51 +02:00
charlag f8dd5c0e9d
WIP prefs: filters fragment 2022-06-07 15:56:06 +02:00
charlag 674e86feff
WIP prefs: missing main prefs 2022-06-07 15:42:56 +02:00
charlag c5f4bead8a
WIP prefs: redo items with xml layout 2022-06-07 15:19:25 +02:00
charlag 4eb5a484e3
WIP prefs: editText preference without summary 2022-06-07 14:11:45 +02:00
charlag 20e9cc7d5f
WIP prefs: clickable preference for filters 2022-06-07 13:28:37 +02:00
charlag 13f928f057
WIP prefs: wellbeing category 2022-05-29 17:45:23 +02:00
charlag b574650f1f
WIP prefs: browser category, fix layout 2022-05-29 17:35:54 +02:00
charlag 90a338aa69
WIP prefs: implement emoji preference 2022-05-29 17:26:03 +02:00
charlag 9b1bffaf8e
WIP prefs: fix language selection 2022-05-29 16:51:07 +02:00
charlag 5b97f890f2
WIP Prefs: language picker 2022-05-21 23:06:54 +02:00
charlag a07f2f20fc
WIP Prefs: ListPreference, autoupdate 2022-05-21 22:33:13 +02:00
charlag 8b8f39e13b
WIP Prefs: SwitchPreference 2022-05-17 23:31:24 +02:00
charlag c894cf0cb1
Fix serializing prefs 2022-05-17 21:15:35 +02:00
charlag 2e61639784
WIP prefs UI 2022-04-26 23:51:39 +02:00
charlag 3130ffd8ea
WIP prefs UI 2022-04-10 22:12:12 +02:00
charlag 210a98367a
WIP 2022-04-03 20:36:07 +02:00
charlag b1ea335e3e
WIP: prefs via androidx.datastore 2022-03-19 23:28:00 +01:00
charlag b7e0494778
WIP: prefs 2022-03-19 01:34:17 +01:00
Konrad Pozniak 0dc32774ec
handle screen rotation in LoginWebViewActivity (#2390) 2022-03-17 21:50:14 +01:00
cketti e6f7d9d5af
Fix image preview in share sheet (#2389) 2022-03-16 18:46:26 +01:00
Konrad Pozniak e05fdc6d7b
Fix status diffing and improve timeline performance (#2386)
* fix status & account diffing

* introduce TimelineAccount

* use TimelineAccount where possible

* improve tests

* improve ConversationEntity equals/hashcode

* fix mistake in ConversationEntity

* improve StatusViewData comparison

* improve tests

* fix typo in comment
2022-03-15 21:34:57 +01:00
Konrad Pozniak 6e4a9fb0e6
upgrade glide animation plugin to 2.18.0 (#2387) 2022-03-15 19:37:29 +01:00
Konrad Pozniak a257d9b769
correctly render whitespace in posts (#2383)
* correctly preserve whitespace in posts

* use extension function to convert from Spanned to Html

* improve comment
2022-03-14 14:43:00 +01:00
Konrad Pozniak 991d261459
change media download location to Download directory (#2384) 2022-03-14 13:55:25 +01:00
Konrad Pozniak e7886271fc
Merge pull request #2375 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2022-03-13 20:06:46 +01:00
Konrad Pozniak 7c21ce169c
Merge pull request #2374 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-03-13 20:06:38 +01:00
sphoneix 10a9acebe4 Translated using Weblate (Italian)
Currently translated at 60.0% (9 of 15 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/it/
2022-03-13 15:08:30 +00:00
Hồ Nhất Duy 6a6e1e5566 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Hồ Nhất Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-03-13 15:08:30 +00:00
x 99402d3c6e Translated using Weblate (Italian)
Currently translated at 60.0% (9 of 15 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/it/

Translated using Weblate (Italian)

Currently translated at 53.3% (8 of 15 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/it/
2022-03-13 15:08:30 +00:00
sphoneix fb2c6be25a Translated using Weblate (Italian)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: sphoneix <simone.pugliese21@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-03-13 15:08:30 +00:00
sphoneix 64748c1d0c Translated using Weblate (Italian)
Currently translated at 53.3% (8 of 15 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/it/
2022-03-13 15:08:30 +00:00
ButterflyOfFire 594f3129ca Translated using Weblate (French)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-03-13 15:08:30 +00:00
XoseM edfd4296c4 Translated using Weblate (Galician)
Currently translated at 100.0% (15 of 15 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/gl/
2022-03-13 15:08:30 +00:00
XoseM ac19247f19 Translated using Weblate (Galician)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-03-13 15:08:30 +00:00
Konrad Pozniak 38eded4efb
update dependencies (#2381) 2022-03-13 16:08:27 +01:00
Konrad Pozniak 90ceb9514e
update Gradle and Android Gradle Plugin (#2380) 2022-03-13 16:08:15 +01:00
Konrad Pozniak 15304440ef
fix "nothing here" flickering when starting Tusky (#2377) 2022-03-12 09:38:59 +01:00
kyori19 72bb34bf27
Fix some network timeline bugs (#2373)
* Fix network timeline gap loading

* Fix fullReload keeps nextKey

* Fix reload after clearing timeline

* Improve logic to handle overlapped statuses
2022-03-12 09:38:48 +01:00
Konrad Pozniak 55513e8e2b
Android 12 support, update AndroidX libraries (#2367)
* Android 12 support, update AndroidX libraries

* fix ktlint

* add Android 12 splash screen support

* fix comments in MainActivity

* remove deprecated Intent.ACTION_CLOSE_SYSTEM_DIALOGS

* delete TimelineViewModelTest

* fix notifications on Android 12

* improve splash screen

* handle pending intent flags in a dedicated function
2022-03-09 20:50:23 +01:00
Konrad Pozniak 221cdb3611
move "animate custom emojis" preference next to "animate avatars" (#2376) 2022-03-08 21:40:10 +01:00
Konrad Pozniak 34b7a3c8ee
Don't hide potential timeline bugs by catching all exceptions (#2372)
* don't hide potential timeline bugs by catching all exceptions

* fix NetworkTimelineRemoteMediatorTest

* improve ifExpected function

* fix code formatting
2022-03-08 21:39:59 +01:00
Ivan Kupalov 4d8289b245
Implement Login via WebView (#2371)
* Improve login process with newer APIs

* Implement login with WebView instead of browser tab or external browser

Oauth process requires us to open login prompt for correct instance and
we need to receive the result back. Usually it is done with redirect
parameter.

Previously we've been using BrowserTabs API and have been falling back
to just opening browser. This mostly worked but is very clumsy:

 - It relies on few system mechanisms for opening URLs in both
directions
 - Browsers do weird things and tend to break quite a bit
 - There's a good chance that the app can die in the process and we need
to recover our state.

So instead we are now using WebView. It has disadvantages (users have
to trust us to show correct page, logins are not shared w/ browser) but
it should be more reliable.

* Changes to login after review

* Move login classes to their own package

* Fix linting issues
2022-03-08 21:22:19 +01:00
Konrad Pozniak 1b380f07f5
Merge pull request #2363 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2022-03-07 15:28:48 +01:00
GunChleoc 9404f474f3 Translated using Weblate (Gaelic)
Currently translated at 13.3% (2 of 15 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/gd/
2022-03-07 14:28:35 +00:00
Jonathan Soares 7f1a184de9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (15 of 15 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/pt_BR/
2022-03-07 14:28:35 +00:00
Konrad Pozniak d7698b8e0f
Merge pull request #2362 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-03-07 15:28:32 +01:00
Ihor Hordiichuk 98a2bc381d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
Sveinn í Felli c0b8a6f92a Translated using Weblate (Icelandic)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00