Commit Graph

3571 Commits

Author SHA1 Message Date
Konrad Pozniak 9756d97e0e
Merge pull request #2402 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-03-23 19:14:16 +01:00
GunChleoc 9385c5338b Translated using Weblate (Gaelic)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-03-22 18:40:54 +00:00
Ihor Hordiichuk 413e1b1cbc Translated using Weblate (Ukrainian)
Currently translated at 100.0% (469 of 469 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-22 18:40:54 +00:00
Vegard Skjefstad 0bd09427b9 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-03-22 18:40:54 +00:00
Eric 2e9a62ec94 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-03-22 18:40:54 +00:00
Konrad Pozniak d9931e3d2c
Rename Toots to Posts (#2396)
* rename toots -> posts in strings

* extract tusky_compose_post_quicksetting_label string

* rename toot -> status in code
2022-03-20 20:21:42 +01:00
Konrad Pozniak bfcdee4a53
Merge pull request #2392 from tuskyapp/enable_javascript
enable JavaScript in LoginWebViewActivity
2022-03-19 21:07:15 +01:00
Konrad Pozniak e0f29c1fc1
Merge pull request #2391 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-03-19 21:07:05 +01:00
Daniele Lira Mereb d0efe27de2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Daniele Lira Mereb <danielelmereb@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/pt_BR/
Translation: Tusky/Tusky
2022-03-19 17:40:51 +00:00
Ralf Thees fcc801564f Translated using Weblate (German)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Ralf Thees <ralf@herrthees.de>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-03-19 17:40:51 +00:00
Conny Duck 152c8b45d0 enable JavaScript in LoginWebViewActivity 2022-03-17 21:52:06 +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
GunChleoc 4646685e0a Translated using Weblate (Gaelic)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
Hồ Nhất Duy 75ef1ae11d 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-06 16:40:28 +00:00
Vegard Skjefstad f14e9e80d0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
Eric 7efafe7cb4 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
ButterflyOfFire a053490bdf Translated using Weblate (French)
Currently translated at 100.0% (468 of 468 strings)

Translated using Weblate (Occitan)

Currently translated at 97.2% (455 of 468 strings)

Translated using Weblate (Arabic)

Currently translated at 98.9% (463 of 468 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ar/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/oc/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
Jonathan Soares 52933d00a8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Jonathan Soares <vsrw5bfj@duck.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/pt_BR/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
Konrad Pozniak 841373e947
fix various timeline related crashes (#2369)
* fix various timeline related crashes

* fix ktlint
2022-03-06 17:40:24 +01:00
Konrad Pozniak 73e9338f3c
fix timeline jumping to top when activity is recreated (#2364) 2022-03-03 20:01:47 +01:00
Konrad Pozniak 497b434663
Improve timeline dao (#2353)
* improve TimelineDao methods

* remove @Transaction from cleanup methods
2022-03-02 20:40:06 +01:00