Commit graph

3410 commits

Author SHA1 Message Date
Benjamin Stürmer
d159b8edc9
#2177 enhance 'show more' visibility (#2765) 2022-11-07 20:18:33 +01:00
Benjamin Stürmer
a64dee9be0
#2072: hide add reaction when limit is reached (#2766)
* #2072: hide add reaction when limit is reached

* use extensions function for show/hide view

* fix condition :(
2022-11-07 20:10:49 +01:00
Abrar Wiryawan
c0a06f7188
migrate IOUtils to Kotlin (#2763)
* migrate `IOUtils` to Kotlin

* Fix ktlint

* change functions inside IOUtils to extension function
2022-11-07 20:10:06 +01:00
Abrar Wiryawan
d4b690033d Translated using Weblate (Indonesian)
Currently translated at 33.3% (168 of 503 strings)

Co-authored-by: Abrar Wiryawan <abrarwiryawan@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/id/
Translation: Tusky/Tusky
2022-11-07 19:05:54 +00:00
Hồ Nhất Duy
0c498c85fe Translated using Weblate (Vietnamese)
Currently translated at 100.0% (503 of 503 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-11-07 19:05:54 +00:00
Ihor Hordiichuk
c68e52c62d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (503 of 503 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-11-07 19:05:54 +00:00
Eric
58d747e503 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (503 of 503 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-11-07 19:05:54 +00:00
Manuel
d2fc700d76 Translated using Weblate (Italian)
Currently translated at 100.0% (503 of 503 strings)

Co-authored-by: Manuel <manueltassi91@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-11-07 19:05:54 +00:00
Gilles
520500b82f Translated using Weblate (Esperanto)
Currently translated at 93.8% (472 of 503 strings)

Co-authored-by: Gilles <weblate@octidi.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eo/
Translation: Tusky/Tusky
2022-11-07 19:05:54 +00:00
papapep
c05ce6bb8b Translated using Weblate (Catalan)
Currently translated at 86.8% (437 of 503 strings)

Co-authored-by: papapep <papapep@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
Translation: Tusky/Tusky
2022-11-07 19:05:54 +00:00
Connyduck
7af53fbc20 Translated using Weblate (German)
Currently translated at 97.0% (488 of 503 strings)

Added translation using Weblate (Indonesian)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-11-07 19:05:54 +00:00
Gabriel Beecham
ca29cbfeff Translated using Weblate (Irish)
Currently translated at 85.2% (429 of 503 strings)

Translated using Weblate (Irish)

Currently translated at 82.2% (412 of 501 strings)

Co-authored-by: Gabriel Beecham <gabriel.beecham@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ga/
Translation: Tusky/Tusky
2022-11-07 19:05:54 +00:00
Vegard Skjefstad
ffb772725b Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (503 of 503 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (501 of 501 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-11-07 19:05:54 +00:00
Eva Tatarka
b39cb06748
Navigate to the Follow Requests page from notification (#2757)
* Navigate to the Follow Requests page from notification

Fixes #2655

* Fix lock status
2022-11-07 20:04:07 +01:00
Benjamin Stürmer
c52ecc24ce
#2752: enable to copy the profile bio and its account fields (#2756) 2022-11-07 19:57:58 +01:00
Eva Tatarka
4bf541932a
Handle config changes for video playback (#2754)
Fixes #2419
2022-11-07 19:57:13 +01:00
Konrad Pozniak
bf61b37961
fix compose field on landscape tablets (#2747) 2022-11-07 19:56:28 +01:00
Konrad Pozniak
8e9b356074
show rules on the login screen (#2746)
* show rules on the login screen

* fix code formatting

* fix code formatting

* fix tests
2022-11-05 17:37:20 +01:00
Colin Lee
3fb1173d3f
Introduce Gradle version catalogs for versioning (#2745)
* Introduce Gradle version catalogs for versioning

* Correct some versions for version catalogs
2022-11-04 20:10:26 +01:00
Bruno Miguel
7c7278a522 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (501 of 501 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
Gera, Zoltan
743beac5a4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (501 of 501 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
Vri
3bc8d15680 Translated using Weblate (German)
Currently translated at 97.4% (488 of 501 strings)

Co-authored-by: Vri <tusky@vrifox.cc>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
Alexander Skwar
ad0668f5ba Translated using Weblate (German)
Currently translated at 96.8% (485 of 501 strings)

Co-authored-by: Alexander Skwar <com+weblate.tusky.app@skwar.me>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
puf
3a9ee9a49f Translated using Weblate (Welsh)
Currently translated at 86.6% (434 of 501 strings)

Co-authored-by: puf <puffinux@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
Hồ Nhất Duy
8062daf647 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (501 of 501 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (501 of 501 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-11-04 18:22:57 +00:00
Ihor Hordiichuk
3e3b84c38f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (501 of 501 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
Vegard Skjefstad
6003340d47 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (501 of 501 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
Eric
3ea9bb0976 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (501 of 501 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
joenepraat
a18229cae7 Translated using Weblate (Dutch)
Currently translated at 100.0% (501 of 501 strings)

Co-authored-by: joenepraat <joenepraat@posteo.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
ButterflyOfFire
a708649e19 Translated using Weblate (French)
Currently translated at 98.0% (491 of 501 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
Newidyn
3f03966feb Translated using Weblate (Welsh)
Currently translated at 87.8% (440 of 501 strings)

Translated using Weblate (Welsh)

Currently translated at 86.6% (434 of 501 strings)

Co-authored-by: Newidyn <grugallt@protonmail.ch>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
GunChleoc
e5c48c6c5a Translated using Weblate (Gaelic)
Currently translated at 100.0% (500 of 500 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-11-04 18:22:57 +00:00
Konrad Pozniak
f870445b54
Fix rendering of link preview images (#2743)
* fix link previews in timelines rendering images incorrectly

* fix ripple effect when clicking on cards

* remove unnecessary line of code
2022-11-04 19:22:53 +01:00
Konrad Pozniak
d17a0c43ab
Api 33 support (#2719)
* update to Api 33, fix some deprecations

* fix deprecated serializable/parcelable methods

* ask for notification permission

* fix code formatting

* add back comment in PreferencesActivity
2022-11-04 19:22:38 +01:00
Levi Bard
58e8f75287
Don't markup urls where the display text is exactly the domain (#2732)
* Don't markup urls where the display text is exactly the domain (or www.thedomain)

* Remove unused arguments
2022-11-01 16:41:55 +01:00
Weblate
b7412e1e48
Translations update from Weblate (#2724)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (500 of 500 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (496 of 496 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (500 of 500 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (496 of 496 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky

* Translated using Weblate (Vietnamese)

Currently translated at 100.0% (500 of 500 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (496 of 496 strings)

Co-authored-by: Hồ Nhất Duy <kantcer@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky

* Translated using Weblate (Galician)

Currently translated at 100.0% (496 of 496 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (500 of 500 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky

* Translated using Weblate (Bulgarian)

Currently translated at 86.8% (434 of 500 strings)

Co-authored-by: Delian <iirumamiu@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bg/
Translation: Tusky/Tusky

* Translated using Weblate (Dutch)

Currently translated at 100.0% (500 of 500 strings)

Co-authored-by: joenepraat <joenepraat@posteo.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
Translation: Tusky/Tusky

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Co-authored-by: Hồ Nhất Duy <kantcer@gmail.com>
Co-authored-by: XoseM <xosem@disroot.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Delian <iirumamiu@protonmail.com>
Co-authored-by: joenepraat <joenepraat@posteo.org>
2022-10-28 16:46:52 +02:00
Konrad Pozniak
532afaad2b
warn before deleting a scheduled post (#2721) 2022-10-28 16:46:38 +02:00
Konrad Pozniak
2481bc0523
improve check for media upload status (#2720) 2022-10-28 16:46:12 +02:00
fynngodau
050891ebe5
Retain instance state in compose activity (#2722)
* Correctly restore instance state in compose activity

Store post visiblity, schedule time, and visibility of content warning
field to instance state and restore upon restoration.

* Remove redundant line
2022-10-18 19:38:27 +02:00
mcclure
85a6b2d96b
Preference to disable multiple-login usernames (#2718)
* Preference to disable multiple-login usernames (with problems)

* Fix problem where 'show self username disambiguation' does not take effect immediately because MainActivity needed to be restarted

* Make 'show username in toolbars' a 3-option selector, default when multiple accounts logged in

* Move SHOW_SELF_USERNAME higher in preference fragment
2022-10-18 19:38:17 +02:00
helabasa
5259af1d86 Translated using Weblate (Sinhala)
Currently translated at 48.8% (242 of 495 strings)

Co-authored-by: helabasa <R45XvezA@pm.me>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/si/
Translation: Tusky/Tusky
2022-10-15 17:19:30 +00:00
Casey Riley
8ead17e92f Translated using Weblate (Polish)
Currently translated at 99.5% (493 of 495 strings)

Co-authored-by: Casey Riley <zdrojola+weblate@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2022-10-15 17:19:30 +00:00
puf
aabc525747 Translated using Weblate (Welsh)
Currently translated at 72.5% (359 of 495 strings)

Translated using Weblate (Welsh)

Currently translated at 67.6% (335 of 495 strings)

Co-authored-by: puf <puffinux@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2022-10-15 17:19:30 +00:00
idontwanttohaveausername
0a29d9999c Translated using Weblate (Ukrainian)
Currently translated at 100.0% (495 of 495 strings)

Co-authored-by: idontwanttohaveausername <bydlanm@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-10-15 17:19:30 +00:00
Vegard Skjefstad
8e0b1e3f64 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (495 of 495 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-10-15 17:19:30 +00:00
Hồ Nhất Duy
1050299a0b Translated using Weblate (Vietnamese)
Currently translated at 100.0% (495 of 495 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (493 of 493 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-10-15 17:19:30 +00:00
Eric
dde28a8986 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (495 of 495 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (493 of 493 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-10-15 17:19:30 +00:00
Ihor Hordiichuk
6d4c940f4a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (495 of 495 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (493 of 493 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (492 of 492 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-10-15 17:19:30 +00:00
mcclure
0e892be48e
Add a description to the focus dialog (#2711)
* Show explanation atop focus set dialog

* Update app/src/main/res/layout/dialog_focus.xml

Per Connyduck suggestion

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2022-10-15 19:04:27 +02:00
Levi Bard
9dd3a3d79b
Parse html tags out of status content before applying filters. (#2713)
Fixes #2660
2022-10-14 20:03:19 +02:00
Ivan Kupalov
91d18998ac
Request status language in getStatuses() (#2710) 2022-09-26 11:06:44 +02:00
mcclure
7684f06938
Add UI for image-attachment "focus" (#2620)
* Attempt-zero implementation of a "focus" feature for image attachments. Choose "Set focus" in the attachment menu, tap once to select focus point (no visual feedback currently), tap "OK". Works in tests.

* Remove code duplication between 'update description' and 'update focus'

* Fix ktlint/bitrise failures

* Make updateMediaItem private

* When focus is set on a post attachment the preview focuses correctly. ProgressImageView now inherits from MediaPreviewImageView.

* Replace use of PointF for Focus where focus is represented, fix ktlint

* Substitute 'focus' for 'focus point' in strings

* First attempt draw focus point. Only updates on initial load. Modeled on code from RoundedCorners builtin from Glide

* Redraw focus after each tap

* Dark curtain where focus isn't (now looks like mastosoc)

* Correct ktlint for FocusDialog

* draft: switch to overlay for focus indicator

* Draw focus circle, but ImageView and FocusIndicatorView seem to share a single canvas

* Switch focus circle to path approach

* Correctly scale, save and load focuses. Clamp to visible area. Focus editor looks and feels right

* ktlint fixes and comments

* Focus indicator drawing should use device-independent pixels

* Shrink focus window when it gets unattractively tall (no linting, misbehaves on wide aspect ratio screens)

* Correct max-height behavior for screens in landscape mode

* Focus attachment result is are flipped on x axis; fix this

* Correctly thread focus through on scheduled posts, redrafted posts, and drafts (but draft focus is lost on post)

* More focus ktlint fixes

* Fix specific case where a draft is given a focus, then deleted, then posted in that order

* Fix accidental file change in focus PR

* ktLint fix

* Fix property style warnings in focus

* Fix remaining style warnings from focus PR

Co-authored-by: Conny Duck <k.pozniak@gmx.at>
2022-09-21 20:28:06 +02:00
Levi Bard
5d09a67b52
Fix the tag span generation for tags with nonascii characters (#2700)
* Update mention and tag regexes from mastodon

* Normalize nonascii tag names the same way that mastodon does
2022-09-17 19:06:45 +02:00
Levi Bard
687cffd540
Show target domains for non-mention/non-hashtag links where the target domain is not provided or differs from the domain in the text (#2698)
* Show target domains for non-mention/non-hashtag links where the target domain is not provided or differs from the domain in the text.
Addresses #2694

* Add link signifier to the marked-up domain

* Back down on validating hashtags and mentions, don't markup _any_ urls where the text starts with #/@
2022-09-17 19:06:07 +02:00
Vivianne
c908ebb3f1
Add display of handle when using multiple accounts (#2697)
- Shown on the main toolbar (subtitle)
- Shown just above the "replying to" message (even if not replying)
2022-09-17 19:05:56 +02:00
Konrad Pozniak
ffe42c992f
update okhttp to 4.10.0 (#2696) 2022-09-13 19:48:20 +02:00
Konrad Pozniak
eb167c623b
new app icon (#2695)
* new app icon

* make icon in readme a bit smaller
2022-09-13 19:48:09 +02:00
Konrad Pozniak
655ce30031
migrate timeline api calls from Rx Single to suspending functions (#2690)
* migrate timeline api calls from Rx Single to suspending functions

* fix tests
2022-09-13 19:47:55 +02:00
Sveinn í Felli
b3532c0749 Translated using Weblate (Icelandic)
Currently translated at 100.0% (492 of 492 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-09-12 16:21:05 +00:00
Vegard Skjefstad
0dac54ae26 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (492 of 492 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-09-12 16:21:05 +00:00
Hồ Nhất Duy
8336b4ddab Translated using Weblate (Vietnamese)
Currently translated at 100.0% (492 of 492 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-09-12 16:21:05 +00:00
Eric
00024864ce Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (492 of 492 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-09-12 16:21:05 +00:00
Stefano Pigozzi
deeb0678f6 Translated using Weblate (Italian)
Currently translated at 99.3% (488 of 491 strings)

Co-authored-by: Stefano Pigozzi <me@steffo.eu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-09-12 16:21:05 +00:00
Luca
21fa853a47 Translated using Weblate (Italian)
Currently translated at 99.3% (488 of 491 strings)

Translated using Weblate (Italian)

Currently translated at 99.3% (488 of 491 strings)

Co-authored-by: Luca <f5e54431-cf3e-4a72-afcd-66ad76a38c19@anonaddy.me>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-09-12 16:21:05 +00:00
Prat
5bc680ab78
Refactor Caption Dialog to handle screen rotation (#2626) (#2693)
Co-authored-by: Prat T <pt2121@users.noreply.github.com>
2022-09-12 18:21:00 +02:00
Konrad Pozniak
c8fc2418b8
AccountMediaFragment improvements (#2684)
* initial setup

* add spacing between images

* use blurhash

* handle hidden state and show video indicator

* handle item clicks

* small cleanup

* move SquareImageView into account.media package

* fix build

* improve AccountMediaGridAdapter

* handle loadstate, errors and refreshing

* remove commented out code

* log error

* show audio attachments with icon

* fix glitchy transition animation

* set image Description on imageview

* show toast with media description on long press
2022-09-02 16:52:47 +02:00
Ivan Kupalov
257f3a5c1c
Fix broken timeline when there are only expired filters (#2689)
* Fix broken timeline when there are only expired filters

The issue happened when the only applicable filters are expired. There
was a check to not produce an empty regex when there are no filters but
it was done before removing expired filters so we would produce an
empty regex that would match (and remove) everything and the timeline
would get stuck.

* Make a mini-optimization for FilterModel
2022-08-31 18:55:27 +02:00
Konrad Pozniak
4665637086
make all model classes immutable (#2686) 2022-08-31 18:54:40 +02:00
Levi Bard
0041acf2d4
Add language dropdown to compose view (#2651)
* Add UI for selecting post language

* Apply selected language when sending status

* Save/restore post language with drafts

* Fall back to english if the configured language isn't found in the locale list (no-NB)

* Remove comment about no_NB

* Move language dropdown to top of compose view

* Preserve language when redrafting

* Set default language to target post's language when replying

* Add Tusky license header to new source file

* Tweak language dropdown button width
2022-08-31 18:53:57 +02:00
Ivan Kupalov
c638ad7e6b
Make CaptionDialog non-cancellable, fix #2626 (#2676)
This prevents accidental closing of dialog by clicking
outside of the dialog.
2022-08-22 16:18:45 +02:00
Vegard Skjefstad
070b60de10 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (491 of 491 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-08-22 13:17:58 +00:00
Hồ Nhất Duy
27e5c15958 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (491 of 491 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-08-22 13:17:58 +00:00
Eric
a7c77e4485 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (491 of 491 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-08-22 13:17:58 +00:00
Tobiasz Kubisiowski
a248dcee4b Translated using Weblate (Esperanto)
Currently translated at 96.9% (474 of 489 strings)

Co-authored-by: Tobiasz Kubisiowski <tobiasz.kub@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eo/
Translation: Tusky/Tusky
2022-08-22 13:17:58 +00:00
Konrad Pozniak
e020b35774
fix view thread back button content description (#2682) 2022-08-22 15:17:55 +02:00
Konrad Pozniak
f094f84b86
fix ConversationLineItemDecoration (#2677)
* fix ConversationLineItemDecoration

* cleanup code a bit
2022-08-22 15:17:08 +02:00
Donno
e68e3d1825
a monochrome icon for tusky (#2683) 2022-08-20 16:26:34 +02:00
Levi Bard
c47d9ef6ac
Support setting filter expirations (#2667)
* Show filter expiration in list

* Add support for setting and updating the duration of a filter

* Add tests for duration conversion math

* Refactor network wrapper code

* Mark updated mastodon api functions as suspend

* Avoid creating unnecessary Date objects

* Apply suggestions to filter dialog layout
2022-08-17 17:50:34 +02:00
Konrad Pozniak
9beea540de
upgrade glide to 4.13.2 (#2673) 2022-08-16 20:33:19 +02:00
Konrad Pozniak
95191bbb8d
upgrade glide animation plugin to 2.23.0 (#2674) 2022-08-16 20:09:40 +02:00
Konrad Pozniak
19ef80432a
upgrade unified push connector to 2.0.1 (#2672) 2022-08-16 20:08:23 +02:00
Konrad Pozniak
7a53bce439
improve sending error notifications (#2671)
* improve sending error notifications

* rename draftNotification -> buildDraftNotification
2022-08-16 20:08:03 +02:00
Konrad Pozniak
edbc624625
fix saving multiple attachments as draft (#2670) 2022-08-16 20:07:49 +02:00
Konrad Pozniak
94ae64b52d
upgrade android image cropper to 4.3.1 (#2669) 2022-08-16 20:06:59 +02:00
Konrad Pozniak
46278636f4
upgrade mockito-inline to 4.7.0 (#2668) 2022-08-16 20:06:48 +02:00
Konrad Pozniak
3c7bfb7047
upgrade okhttp to 4.10.0 (#2666) 2022-08-16 20:06:22 +02:00
Konrad Pozniak
30c87e04e2
upgrade dagger to 2.43.2 (#2665) 2022-08-16 20:06:00 +02:00
Levi Bard
decd8a0f4b
Upgrade robolectric (#2664)
* Upgrade robolectric to 4.8.1

* Make TimelineDAO cleanup test deterministic
2022-08-15 11:01:17 +02:00
Levi Bard
b21def5041
Respect filter expiration date when applying filters (#2661)
* Respect filter expiration date when applying filters. #2578

* Fix typing for filter `expires_in` api points
2022-08-15 11:01:04 +02:00
Ihor Hordiichuk
b54ee32ea1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-08-15 09:00:23 +00:00
GunChleoc
0de452a332 Translated using Weblate (Gaelic)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-08-15 09:00:23 +00:00
Hồ Nhất Duy
77d3d1bb0f Translated using Weblate (Vietnamese)
Currently translated at 100.0% (489 of 489 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (489 of 489 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-08-15 09:00:23 +00:00
Vegard Skjefstad
43aeea357d Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-08-15 09:00:23 +00:00
Connyduck
2004d870a0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (487 of 489 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 99.7% (488 of 489 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-08-15 09:00:23 +00:00
Konrad Pozniak
741461acde
rewrite threads with Kotlin & coroutines (#2617)
* initial class setup

* handle events and filters

* handle status state changes

* code formatting

* fix status filtering

* cleanup code a bit

* implement removeAllByAccountId

* move toolbar into fragment, implement menu

* error and load state handling

* fix pull to refresh

* implement reveal button

* use requireContext() instead of context!!

* jump to detailed status

* add ViewThreadViewModelTest

* fix ktlint

* small code improvements (thx charlag)

* add testcase for toggleRevealButton

* add more state change testcases to ViewThreadViewModel
2022-08-15 11:00:18 +02:00
Levi Bard
607f448eb3
Rename norsk bokmål translation from no_NB to nb_NO (#2652)
* Rename norsk bokmål translation from no_NB to nb_NO

* Revert locale name migration
2022-08-08 11:02:22 +02:00
Eric
4826d17bed Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-08-08 08:54:41 +00:00
GunChleoc
a5862c3547 Translated using Weblate (Gaelic)
Currently translated at 99.5% (487 of 489 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-08-08 08:54:41 +00:00
joenepraat
3065eae9f2 Translated using Weblate (Dutch)
Currently translated at 99.5% (485 of 487 strings)

Co-authored-by: joenepraat <joenepraat@posteo.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
Translation: Tusky/Tusky
2022-08-08 08:54:41 +00:00
Konrad Pozniak
1fed84f948
fix caching of instance defaults and emojis (#2643)
* fix caching of instance defaults and emojis

* use correct OnConflictStrategy

* rename dao methods
2022-08-07 22:18:53 +02:00
Konrad Pozniak
1c11671f3e
update kotlin coroutines to 1.6.4 (#2648) 2022-08-07 19:36:20 +02:00
Konrad Pozniak
4f0f9a7a12
update Kotlin to 1.7.10 and fix some (new?) warnings (#2647)
* update Kotlin to 1.7.10 and fix some (new?) warnings

* remove unused import
2022-08-07 19:36:09 +02:00
Konrad Pozniak
17cfa3d9b4
support Pleroma upload_limit configuration (#2646)
* support Pleroma upload_limit configuration

* fix ComposeActivityTest
2022-08-07 19:14:42 +02:00
Konrad Pozniak
68c9870b19
update AndroidX dependencies (#2641)
* update AndroidX dependencies

* fix ComposeActivityTest
2022-08-07 19:13:59 +02:00
Levi Bard
042176e523
Add support for following hashtags (#2642)
* Add support for following hashtags. Addresses #2637

* Update rxjava to coroutines

* Update new tag api to use suspend functions

* Update hashtag unfollow icon

* Set correct tint on hashtag follow/unfollow icons

* Translate hashtag follow/unfollow error messages

* Toast => Snackbar

* Remove unnecessary view lookup
2022-08-07 19:09:26 +02:00
Hồ Nhất Duy
3ee5efcb43 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (487 of 487 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-08-06 06:42:33 +00:00
Eric
5eb0764bd9 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (487 of 487 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-08-06 06:42:33 +00:00
Vegard Skjefstad
46e78210af Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (487 of 487 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-08-06 06:42:33 +00:00
Weblate
2a2d96fbd9 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
Translation: Tusky/Tusky
2022-08-06 06:42:33 +00:00
Weblate
5e425cdaf0 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
Translation: Tusky/Tusky
2022-08-05 16:55:17 +00:00
Connyduck
69e43d718f Translated using Weblate (German)
Currently translated at 100.0% (489 of 489 strings)

Translated using Weblate (German)

Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-08-05 16:55:17 +00:00
QuirkyPony
17fb93626c
adapt file size error messages to show real instance upload limit (#2630)
* remove megabyte counts from file size error messages

The file size limits depend on the server; change strings to reflect that.

* show real file size limits instead of assuming Mastodon defaults

* correct previous commit

* correct previous commit (again)

* remove megabyte counts from file size error messages

The file size limits depend on the server; change strings to reflect that.

* Translated using Weblate (Galician)

Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky

* Translated using Weblate (Finnish)

Currently translated at 5.5% (1 of 18 strings)

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

* correct previous commit

correct previous commit (again)

fixed type error caused by previous commits

* fix lint error...

* Update strings.xml

* improve code, calculate correct max size and format it

Co-authored-by: Laura <the-ceo-of-antifa@protonmail.com>
Co-authored-by: XoseM <xosem@disroot.org>
Co-authored-by: Konrad Pozniak <k.pozniak@gmx.at>
2022-08-05 18:55:13 +02:00
Bruno Miguel
df9e2652e9 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-08-04 17:19:13 +02:00
knuxify
afa92a7ca1 Translated using Weblate (Polish)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: knuxify <knuxify@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2022-08-04 17:18:45 +02:00
Laura Aléanor
f1556ef97e Translated using Weblate (Finnish)
Currently translated at 51.9% (254 of 489 strings)

Co-authored-by: Laura Aléanor <the-ceo-of-antifa@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fi/
Translation: Tusky/Tusky
2022-08-04 17:18:21 +02:00
Konstantin
119693bc3c Translated using Weblate (German)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Konstantin <konstantin.tutsch@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-08-04 17:17:49 +02:00
Konrad Pozniak
55796c9a30
update minSdkVersion to 23 (#2638)
closes #2606
2022-08-04 16:48:26 +02:00
Konrad Pozniak
2d2d7569e3
fix compose field focus when replying to post with cw (#2634) 2022-08-03 17:23:54 +02:00
XoseM
ec5e4a6c09 Translated using Weblate (Galician)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-07-27 19:06:55 +00:00
Martin Marconcini
8b026991e0
2616: Save Scheduled Time for Drafts. (#2624)
* 2616: Save Scheduled Time for Drafts.

Signed-off-by: Martin Marconcini <martin.marconcini.rodriguez@nl.abnamro.com>

* Revert 39.json schema to the original state before my changes.
2022-07-27 21:06:51 +02:00
Konrad Pozniak
1b6a0908f6
Handle even more instance defaults (#2612)
* handle media size instance limits

* remove unused attributes from Instance entity

* support max_media_attachments

* support pleroma field limits, remove max_bio_chars support

* improve field input margin

* fix tests

* MAX_ACCOUNT_FIELDS -> DEFAULT_MAX_ACCOUNT_FIELDS

* improve "add field" button behavior

* fix copy paste mistake in AccountFieldEditAdapter

* refactor sendStatus to be a suspending function
2022-07-26 20:24:50 +02:00
Constantin A
25f637f0a8
Set FilemojiCompat to version 3.2.3 (#2611) 2022-07-25 12:36:35 +02:00
Hồ Nhất Duy
378e87033e Translated using Weblate (Vietnamese)
Currently translated at 100.0% (489 of 489 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-07-15 14:26:58 +00:00
Conny Duck
3ae18fd923 Release 94 2022-07-11 18:41:21 +02:00
Gera, Zoltan
3a7d89189d Translated using Weblate (Hungarian)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-07-11 16:26:14 +00:00
codl
5ed0cc24a5 Translated using Weblate (French)
Currently translated at 99.7% (488 of 489 strings)

Co-authored-by: codl <codl@codl.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-07-11 16:26:14 +00:00
Konrad Pozniak
526f170d51
don't crash on invalid json response for push subscription (#2613) 2022-07-11 18:17:58 +02:00
Conny Duck
3a4a7d8701 Release 93 2022-07-05 18:30:57 +02:00
Konrad Pozniak
a8a97b6834
fix relogin bug (#2609)
* fix relogin bug

* fix ktlint
2022-07-05 18:18:12 +02:00
Hồ Nhất Duy
ae5364612e Translated using Weblate (Vietnamese)
Currently translated at 100.0% (489 of 489 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-07-02 16:26:53 +00:00
Ihor Hordiichuk
ad4163d319 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-07-02 16:26:53 +00:00
Vegard Skjefstad
4fccd1a93a Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-07-02 16:26:53 +00:00
Eric
b3eeb9bcfa Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-07-02 16:26:53 +00:00
Šimon Hořánek
8067ef863e Translated using Weblate (Czech)
Currently translated at 86.0% (421 of 489 strings)

Co-authored-by: Šimon Hořánek <simonhoranek@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/
Translation: Tusky/Tusky
2022-07-02 16:26:52 +00:00
Konrad Pozniak
86403ac6dc
add test for InstanceSwitchAuthInterceptor and convert it to Kotlin (#2596)
* add test for InstanceSwitchAuthInterceptor

* improve InstanceSwitchAuthInterceptorTest

* Rename .java to .kt

* convert InstanceSwitchAuthInterceptor to Kotlin

* fix ktlint issues

* improve InstanceSwitchAuthInterceptorTest

* improve InstanceSwitchAuthInterceptorTest
2022-06-30 21:25:44 +02:00
Konrad Pozniak
62c4cfde89
improve media upload error messages (#2602) 2022-06-30 20:51:05 +02:00
Ihor Hordiichuk
da082b8ef7 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-06-30 18:50:14 +00:00
Konrad Pozniak
8a0848d252
fix data loss when re-adding existing account (#2601) 2022-06-30 20:49:48 +02:00
Konrad Pozniak
9dcb1b666c
show push migration snackbar above floating action button (#2598) 2022-06-30 20:49:27 +02:00
ButterflyOfFire
69d8dd9662 Translated using Weblate (French)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Gera, Zoltan
d9a1c55ee4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Hồ Nhất Duy
6c9f1f1563 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (488 of 488 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-06-26 08:59:49 +00:00
Vegard Skjefstad
ea0436d2f5 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Eric
8bccc96a5f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Stefano Pigozzi
aba31be49a Translated using Weblate (Italian)
Currently translated at 98.5% (481 of 488 strings)

Co-authored-by: Stefano Pigozzi <me@steffo.eu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Weblate
d0adfbd607 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
codl
de358e5307 Translated using Weblate (French)
Currently translated at 100.0% (488 of 488 strings)

Translated using Weblate (French)

Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: codl <codl@codl.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Levi Bard
8551785389
Fix hiding/showing preview cards for sensitive statuses (#2600)
* Update comment on StatusViewData.isCollapsible

* Fix hiding/showing preview cards for sensitive statuses.
Fixes #2565

* Fix typo
2022-06-24 21:47:49 +02:00
mcclure
3ca8a0b549
Use specific term "image" in error UI, not "attachment" (#2592)
The new message for the crop feature, "The attachment could not be edited.", turned out to be awkward in some languages (French) where according to the translator it would be better to more specifically say "The image could not be edited." (as currently we can only edit images). Patch replaces error_media_edit_failed with a error_image_edit_failed and deletes the existing error_media_edit_failed-s.
2022-06-21 22:14:11 +02:00
Conny Duck
0375aa1d18 release 92 2022-06-20 17:05:22 +02:00
Conny Duck
18506f7092 add 39.json 2022-06-20 16:52:01 +02:00
Konrad Pozniak
f419e83c16
improve logout (#2579)
* improve logout

* fix tests

* add db migration

* delete wrongly committed file again

* improve LogoutUsecase
2022-06-20 16:45:54 +02:00
XoseM
e0f5c35eff Translated using Weblate (Galician)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-06-20 14:11:34 +00:00
Konrad Pozniak
dba2fbc5c1
fix empty timeline on initial load (#2586) 2022-06-20 16:11:30 +02:00
Levi Bard
2e33233309
Don't display bot badge in account selection dialog (#2589) 2022-06-20 16:11:07 +02:00
Konrad Pozniak
1a29a589e1
rewrite InstanceDao queries to drop unused columns (#2585) 2022-06-20 16:08:19 +02:00
hebbeff
eeab688d9d Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: hebbeff <hebbeff@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-06-16 16:51:39 +00:00
Konrad Pozniak
3417a7272a
use moshis Rfc3339DateJsonAdapter for json date parsing (#2584)
* Rename .java to .kt

* use moshis Rfc3339DateJsonAdapter for json date parsing
2022-06-16 18:51:35 +02:00
Konrad Pozniak
fd568aedba
fix refreshing notifications screen when there are no notifications (#2583) 2022-06-16 18:50:01 +02:00
Karmanyaah Malhotra
cbc5077b1f
UnifiedPush: FEATURE_BYTES_MESSAGE distributors (#2581)
Only use distributors which are compatible with FEATURE_BYTES_MESSAGE
This is because Mastodon sends notifications that are arbritary bytes,
not UTF-8. This causes issues in older versions of UnifiedPush
distributors and providers that don't support FEATURE_BYTES_MESSAGE
2022-06-09 20:03:27 +02:00
Sveinn í Felli
dcc04fb640 Translated using Weblate (Icelandic)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-06-06 14:51:53 +00:00
XoseM
45a77b8d05 Translated using Weblate (Galician)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-06-06 14:51:53 +00:00
Ihor Hordiichuk
6251aa0d14 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-06-06 14:51:53 +00:00
hebbeff
e378e03fae Translated using Weblate (Chinese (zh_SG))
Currently translated at 69.2% (338 of 488 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 90.3% (441 of 488 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: hebbeff <hebbeff@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_SG/
Translation: Tusky/Tusky
2022-06-06 14:51:53 +00:00
Danial Behzadi
0fd43d0b54 Translated using Weblate (Persian)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2022-06-06 14:51:53 +00:00
tobi
530eb61505
Use NetworkResult in MediaUploadApi (#2577) 2022-06-06 16:04:33 +02:00
Konrad Pozniak
e1c8461423
replace kotlin-result-calladapter with networkresult-calladapter (#2569)
* replace kotlin-result-calladapter with networkresult-calladapter

* fix tests
2022-05-30 20:03:40 +02:00
Konrad Pozniak
131309e99c
Fix conversations (#2556)
* fix conversations

* cleanup ConversationsRemoteMediator

* update conversation timestamps regularly

* improve loadStateListener

* add db migration

* make deleting from conversation db suspending

* reorganize code in ConversationsFragment

* delete NetworkStateViewHolder

* cleanup imports

* add 38.json

* honor fabHide setting in ConversationsFragment

* set page size to 30
2022-05-30 19:06:14 +02:00
Konrad Pozniak
2983c3f48e
Add UtcDateTypeAdapter for Gson (#2549)
* Add UtcDateTypeAdapter for Gson

* add 38.json
2022-05-30 18:15:17 +02:00
Konrad Pozniak
434d345d01
remove unused member vars from TimelineFragment (#2561) 2022-05-29 19:23:08 +02:00
Ivan Kupalov
e63cd68baf
Fix filters in timelines in a simple way, fix #2546 (#2566)
Loading of statuses and loading of filters is an "intended" race:
we want to display statuses first, especially if they are cached.
Unfortunately we do not cache filters themselves so when we load cached
statuses we do not apply filters.

One part of the solution is to re-filter the statuses once we fetch the
filters. This commit implements it. Caching of filters is not included
yet.
2022-05-29 19:22:59 +02:00
Konrad Pozniak
579f0eb833
update android animation glide plugin to 2.22.0 (#2557) 2022-05-29 19:21:44 +02:00
mcclure
06e32f703a
Fix unintended [mismatched] show-replies preference (with key force-reset) (#2568)
* Fix unintended [mismatched] show-replies preference and add a comment to prevent confusion.

* Change the key on TAB_FILTER_HOME_REPLIES to reset everyone's value here once.
2022-05-29 19:21:33 +02:00
UlrichKu
d2befa83d3
2554 refresh timestamps on resume (#2562)
* Fire observable to update timestamps directly on resume (#2554)

* Fire observable to update timestamps directly on resume (#2554)
2022-05-27 19:51:22 +02:00
Konrad Pozniak
becb677176
make WebView debuggable in debug builds (#2548) 2022-05-27 18:44:16 +02:00
Luca
3020ea59dc Translated using Weblate (Italian)
Currently translated at 98.7% (482 of 488 strings)

Co-authored-by: Luca <f5e54431-cf3e-4a72-afcd-66ad76a38c19@anonaddy.me>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Bruno Miguel
eef7ce4bb7 Translated using Weblate (Portuguese (Portugal))
Currently translated at 97.7% (477 of 488 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 98.1% (477 of 486 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Stefano Pigozzi
c3bac680ae Translated using Weblate (Italian)
Currently translated at 98.1% (477 of 486 strings)

Co-authored-by: Stefano Pigozzi <me@steffo.eu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Gera, Zoltan
40bd54d5bd Translated using Weblate (Hungarian)
Currently translated at 100.0% (488 of 488 strings)

Translated using Weblate (Hungarian)

Currently translated at 99.5% (484 of 486 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
mondstern
f156188d02 Translated using Weblate (German)
Currently translated at 99.1% (482 of 486 strings)

Co-authored-by: mondstern <mondstern@snopyta.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
XoseM
d0937077a2 Translated using Weblate (Galician)
Currently translated at 100.0% (485 of 485 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
GunChleoc
86470459b1 Translated using Weblate (Gaelic)
Currently translated at 99.5% (486 of 488 strings)

Translated using Weblate (Gaelic)

Currently translated at 99.5% (483 of 485 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Vegard Skjefstad
1546ea2e1f Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (488 of 488 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (486 of 486 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (485 of 485 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
hebbeff
47e269fd07 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (485 of 485 strings)

Co-authored-by: hebbeff <hebbeff@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
ButterflyOfFire
d7d3c6a183 Translated using Weblate (French)
Currently translated at 98.7% (479 of 485 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Hồ Nhất Duy
9cdf1ced87 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (488 of 488 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (486 of 486 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (485 of 485 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-05-27 16:43:13 +00:00
Eric
6fd76f7622 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (488 of 488 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (486 of 486 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (485 of 485 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Ihor Hordiichuk
55e99be123 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (485 of 485 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (485 of 485 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
UlrichKu
2424dde9cc
Fire observable to update timestamps directly on resume (#2554) (#2555) 2022-05-27 18:43:10 +02:00
Constantin A
9139e7bbf1
Set FilemojiCompat to version 3.2.2 (#2553) 2022-05-25 20:55:00 +02:00
Konrad Pozniak
fd9d48e4a6
remove legacy notification channel cleanup (#2550) 2022-05-25 20:54:25 +02:00
mcclure
00c139190e
Ability to crop images attached to posts (#2531)
* First attachment crop attempt: Can crop in place, but does not delete/replace on server so has no effect

* Attachment crop feature works

* ktlint fixes on attachment crop patch

* Upgrade Android-Image-Cropper to 4.2.1

* An error message should be displayed if attachment cropping fails and it is not because the user intentionally cancelled.

* Remove 2 of the 3 "state passing" variables by using MediaUtils

* Cropper should use content uri (MIME type bearing) and setOutputCompressFormat so that PNGs reach the server safely.

* Change to crop requested by Conny: Store inflight cropImageItemOld in view model

* Change to crop requested by Conny: Sort cropImage with the other contracts

* ktlint fixes on attachment crop patch (again)
2022-05-22 21:01:14 +02:00
Levi Bard
4188670b42
Implement reply count indicator to track web UI (#2467)
Addresses #882
2022-05-20 16:47:45 +02:00
Konrad Pozniak
b2f2ca6c22
add shrinker rules to keep bouncycastle EC classes (#2542) 2022-05-19 07:19:16 +02:00
Konrad Pozniak
5abb82004a
migrate Lists from RxJava to Kotlin coroutines (#2537)
* migrate Lists from RxJava to Kotlin coroutines

* use DROP_OLDEST when creating MutableSharedFlow
2022-05-18 18:45:35 +02:00
Konrad Pozniak
bdd94d43c5
update android material to 1.6.0 (#2524) 2022-05-17 19:56:12 +02:00
Konrad Pozniak
7a5175c266
update dagger to 2.42 (#2523) 2022-05-17 19:55:58 +02:00
Konrad Pozniak
9a84d14f19
add app category to AndroidManifest (#2513) 2022-05-17 19:55:46 +02:00
Konrad Pozniak
cec8f6dd65
modernize autocomplete (#2510)
* modernize autocomplete

* use @WorkerThread annotation
2022-05-17 19:55:37 +02:00
Konrad Pozniak
4c9cd4084b
show list title when viewing list timeline (#2503) 2022-05-17 19:55:26 +02:00
Martin Marconcini
d97493d312
Issue 2477: Show account's creation date in Profile. (#2480)
* Show account's creation date in Profile.

* Fix broken test.

* Store account creation date in the Database.

* Reformat and reposition Joined Date according to PR Feedback.

* Revert "Store account creation date in the Database."

This reverts commit d9761f53 as it's not needed.

* Change Account's Creation Date to a java.util.Date.
Update Test.

* Fix wildcard import.

* Show full month instead of an abbreviation.

* Remove `lazy` usage in favor of local instantiation.

Co-authored-by: Martin Marconcini <martin.marconcini.rodriguez@nl.abnamro.com>
Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2022-05-17 19:49:42 +02:00
Konrad Pozniak
df49851042
never collapse tabs in SearchActivity (#2505) 2022-05-17 19:37:09 +02:00
Peter Cai
9ec5d6e3b0
Push notifications support via UnifiedPush (#2303)
Fixes #793.

This is an implementation for push notifications based on UnifiedPush
for Tusky. No push gateway (other than UP itself) is needed, since
UnifiedPush is simple enough such that it can act as a catch-all
endpoint for WebPush messages. When a UnifiedPush distributor is present
on-device, we will by default register Tusky as a receiver; if no
UnifiedPush distributor is available, then pull notifications are used
as a fallback mechanism.

Because WebPush messages are encrypted, and Mastodon does not send the
keys and IV needed for decryption in the request body, for now the push
handler simply acts as a trigger for the pre-existing NotificationWorker
which is also used for pull notifications. Nevertheless, I have
implemented proper key generation and storage, just in case we would
like to implement full decryption support in the future when Mastodon
upgrades to the latest WebPush encryption scheme that includes all
information in the request body.

For users with existing accounts, push notifications will not be enabled
until all of the accounts have been re-logged in to grant the new push
OAuth scope. A small prompt will be shown (until dismissed) as a
Snackbar to explain to the user about this, and an option is added in
Account Preferences to facilitate re-login without deleting local drafts
and cache.
2022-05-17 19:32:09 +02:00
Conny Duck
20f3ec921f Release 91 2022-05-17 19:24:17 +02:00
GunChleoc
0bf71e6420 Translated using Weblate (Gaelic)
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-05-17 09:40:38 +00:00
hebbeff
725ce02ab1 Translated using Weblate (Chinese (Traditional))
Currently translated at 91.6% (439 of 479 strings)

Co-authored-by: hebbeff <hebbeff@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant/
Translation: Tusky/Tusky
2022-05-17 09:40:38 +00:00
ButterflyOfFire
ec72cd0b52 Translated using Weblate (French)
Currently translated at 99.5% (477 of 479 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-05-17 09:40:38 +00:00
Konrad Pozniak
8c6ccf4261
fix notification message formatting when username is not at the beginning of the message (#2522)
* fix notification message formatting when username is not at the beginning of the message

* search for placeholder in format string
2022-05-13 22:00:30 +02:00
GunChleoc
8fc2c1601e Translated using Weblate (Gaelic)
Currently translated at 100.0% (479 of 479 strings)

Translated using Weblate (Gaelic)

Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-05-13 18:41:13 +00:00
Hồ Nhất Duy
a6dc7ef425 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (479 of 479 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-05-13 18:41:13 +00:00
Ihor Hordiichuk
47eabafed3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-05-13 18:41:13 +00:00
Eric
6f515ad98a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-05-13 18:41:13 +00:00
Agee Kalisz
354b07aa73 Translated using Weblate (Polish)
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: Agee Kalisz <maciupeq@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2022-05-13 18:41:13 +00:00
Konrad Pozniak
d9c6269d44
fix deleting media attachments removing the wrong ones (#2517) 2022-05-12 18:21:43 +02:00
Konrad Pozniak
b8e3b6b884
fix currently logged in profiles not being visible in main drawer when offline (#2516) 2022-05-12 18:21:33 +02:00
mcclure
4159826f26
Allow build on systems without git (#2514)
Set git revision to "unknown" if git not available.
2022-05-11 17:16:51 +02:00
Konrad Pozniak
0f1e95d0ca add 35.json 2022-05-11 07:43:30 +02:00
Conny Duck
7db504775c Release 90 2022-05-10 20:00:53 +02:00
Bruno Miguel
23d6d04b39 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Christian Schmidt
3d3287cc42 Translated using Weblate (German)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Christian Schmidt <mastodon@jcs-net.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
ruben
d421de6ba8 Translated using Weblate (Catalan)
Currently translated at 93.3% (446 of 478 strings)

Co-authored-by: ruben <rubnx@proton.me>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
GunChleoc
529452c193 Translated using Weblate (Gaelic)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Hồ Nhất Duy
9ec41903cf Translated using Weblate (Vietnamese)
Currently translated at 100.0% (478 of 478 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-05-09 17:40:36 +00:00
Vegard Skjefstad
aa20040479 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Eric
010a4372f9 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Stefano Pigozzi
078603819a Translated using Weblate (Italian)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Stefano Pigozzi <me@steffo.eu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Ihor Hordiichuk
8b840396fd Translated using Weblate (Ukrainian)
Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
idontwanttohaveausername
fc1e153cb3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: idontwanttohaveausername <bydlanm@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Konrad Pozniak
45ac280db7
Add Portuguese (Portugal) to the in-app language picker (#2507) 2022-05-09 19:40:32 +02:00
Konrad Pozniak
beaed6b875
Fix crash when saving redrafted media to drafts (#2502)
* fix crash when saving draft from redraft

* fix crash when saving draft from redraft

* replace ... with …
2022-05-09 19:39:43 +02:00
Levi Bard
b4eda5ea65
Unbreak link previews in timelines (#2506) 2022-05-05 18:27:05 +02:00
Konrad Pozniak
db81ede04a
fix login webview title color with light theme (#2497) 2022-05-04 18:40:29 +02:00
Stefano Pigozzi
cb1f4898ba Translated using Weblate (Italian)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Italian)

Currently translated at 96.6% (461 of 477 strings)

Co-authored-by: Stefano Pigozzi <me@steffo.eu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-05-03 18:00:09 +00:00
Bruno Miguel
7b98adf1ee Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-05-03 18:00:09 +00:00
Makis Diakatos
58bd20edca Translated using Weblate (Greek)
Currently translated at 22.0% (105 of 477 strings)

Co-authored-by: Makis Diakatos <jerry_deus@hotmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/el/
Translation: Tusky/Tusky
2022-05-03 18:00:09 +00:00
Hồ Nhất Duy
95581fa026 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (477 of 477 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-05-03 18:00:09 +00:00
mondstern
97e8a25a47 Translated using Weblate (German)
Currently translated at 99.1% (473 of 477 strings)

Co-authored-by: mondstern <mondstern@snopyta.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-05-03 18:00:09 +00:00
ButterflyOfFire
76accf0d0d Translated using Weblate (French)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Arabic)

Currently translated at 98.3% (469 of 477 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/
Translation: Tusky/Tusky
2022-05-03 18:00:09 +00:00
Konrad Pozniak
a2cc622683
fix EmojiCompat.get().process crash in polls (#2494) 2022-05-03 19:15:59 +02:00
Ivan Kupalov
f3d7923803
Improve UX when Login WebView fails to load the page (#2492)
Previously we simply closed the screen with the login WebView which
could cause confusion. Now we specify that page could not be loaded.

As a side effect it will also show the error message which the server
returns (if any).
2022-05-03 19:14:55 +02:00
Konrad Pozniak
1eed0e1cc2
fix unparsed html when sharing status content (#2491) 2022-05-03 19:13:13 +02:00
Konrad Pozniak
444e7365c9
fix race condition where multiple uploaded media can get same internal id (#2479)
* fix race condition where multiple uploaded media can get same internal id

* atomically update media stateflow

* atomically update media stateflow
2022-05-03 19:12:35 +02:00
Konrad Pozniak
ce5ec15ff1
increase timeout for media uploads (#2489) 2022-05-01 17:16:22 +02:00
Bruno Miguel
2ccc87231d Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-04-30 17:19:26 +00:00
Connyduck
8fa5141f27 Added translation using Weblate (Portuguese (Portugal))
Co-authored-by: Connyduck <weblate@connyduck.at>
2022-04-30 17:19:26 +00:00
Roj
ba8747a99a Translated using Weblate (Sorani)
Currently translated at 88.4% (423 of 478 strings)

Co-authored-by: Roj <ez@roj.im>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ckb/
Translation: Tusky/Tusky
2022-04-30 17:19:26 +00:00
Ihor Hordiichuk
40a6d6a08a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-04-30 17:19:26 +00:00
Vegard Skjefstad
f80994956a Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-04-30 17:19:26 +00:00
Martin Marconcini
260e25a0a4
Issue 2379: Make it possible to select text in posts. (#2472)
* Set TextIsSelectable on the corresponding view holders and remove a longpress listener to let Android select text.

* Revert changes, and make selectable text only in detailed status.

Remove long press listener to copy to clipboard (as it interferes with natural text selection on Android).

* Remove unused string (copy_to_clipboard_success) from all translations.

Co-authored-by: Martin Marconcini <martin.marconcini.rodriguez@nl.abnamro.com>
2022-04-30 19:05:44 +02:00
Konrad Pozniak
2a42536b27
Merge pull request #2483 from tuskyapp/fix_timeline_refresh_spinner
fix timeline refresh indicator finishing before updates are visible
2022-04-30 19:05:15 +02:00
GunChleoc
4c612107a3 Translated using Weblate (Gaelic)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-30 09:17:55 +00:00
Eric
ddf3a5992b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-04-30 09:17:55 +00:00
Luna
0b46e6bc35 Translated using Weblate (Polish)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Luna <moonyblush@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2022-04-30 09:17:54 +00:00
Konrad Pozniak
7fd54e3b4f fix timeline refresh spinner finishing before updates are visible 2022-04-30 08:09:59 +02:00
Guntbert Reiter
9a8dfaa744
Remove code to check the server version (#2469)
solves #2439
2022-04-29 18:35:25 +02:00
Konrad Pozniak
898cff1df3 Merge remote-tracking branch 'weblate/develop' into develop
# Conflicts:
#	app/src/main/res/values-gd/strings.xml
2022-04-28 21:56:32 +02:00
Konrad Pozniak
e9b75119b3
improve bot badge (#2466)
* improve bot badge

* change badge corner radius
2022-04-28 20:39:06 +02:00
Konrad Pozniak
e5b58770ce
improve LoginWebViewActivityUX (#2465) 2022-04-28 20:38:51 +02:00
Konrad Pozniak
28ac190212
fix SearchActivity transition animations (#2464) 2022-04-28 20:37:46 +02:00
Konrad Pozniak
671d2c6a45
Check if media processing finished before sending status (#2458)
* make MastodonApi.createStatus suspending

* check if media processing has finished before sending status

* add backoff for retrying processed media check
2022-04-28 20:37:31 +02:00
Konrad Pozniak
4f8c6cf5c7
Merge pull request #2454 from nailyk-weblate/weblate-tusky-tusky
None
2022-04-28 18:55:49 +02:00
Roj
895130bd4b Translated using Weblate (Sorani)
Currently translated at 88.6% (423 of 477 strings)

Co-authored-by: Roj <ez@roj.im>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ckb/
Translation: Tusky/Tusky
2022-04-28 16:55:15 +00:00
Marek Ľach
516f75b643 Translated using Weblate (Slovak)
Currently translated at 26.4% (126 of 477 strings)

Co-authored-by: Marek Ľach <mareklachbc@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sk/
Translation: Tusky/Tusky
2022-04-28 16:55:14 +00:00
Sveinn í Felli
f7599db777 Translated using Weblate (Icelandic)
Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-04-28 16:55:14 +00:00
GunChleoc
b94d723663 Translated using Weblate (Gaelic)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Gaelic)

Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Gaelic)

Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-28 16:55:14 +00:00
Hồ Nhất Duy
384236f832 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (477 of 477 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-04-28 16:55:14 +00:00
Gera, Zoltan
464f9d6412 Translated using Weblate (Hungarian)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-04-28 16:55:14 +00:00
codl
a3603c2154 Translated using Weblate (French)
Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: codl <codl@codl.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-04-28 16:55:14 +00:00
Constantin A
3a11b9900e
EmojiCompat fix (#2468)
* Add back the emojiInitCallback and move EmojiCompat init

* Small adjustments

* Make sure that we don't hit the IllegalStateException when EmojiCompat-ing the display names

* Add a TODO for when Material Drawer 9 can be used

* Remove EmojiCompat.process and initcallback
2022-04-28 18:55:10 +02:00
GunChleoc
04e5155454 Translated using Weblate (Gaelic)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Gaelic)

Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-28 16:13:28 +00:00
Hồ Nhất Duy
bdb53a333b Translated using Weblate (Vietnamese)
Currently translated at 100.0% (477 of 477 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-04-28 16:13:28 +00:00
Gera, Zoltan
3a7f31f833 Translated using Weblate (Hungarian)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-04-28 16:13:28 +00:00
codl
f34aaa889d Translated using Weblate (French)
Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: codl <codl@codl.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-04-28 16:13:28 +00:00
moddedBear
0e9d362351
Remove Identity Proof Support (#2456)
* Remove IdentityProof.kt and refactor

* Remove accountFieldData from viewmodel

* Remove unused imports
2022-04-27 19:58:39 +02:00
Constantin A
f15b3e61bb
New emoji picker (#2395)
* Update to Emoji2

* Hopefully fix the emoji picker preference

* Switch to released Filemojicompat version

* Filemojicompat version as an own var

* Remove an unused import

* Small cleanup

* Correct onDisplayPreferenceDialog; test TuskyApplication

* Use TextViews instead of EmojiTextViews

* Recreate the Main Activity if the emoji pack is updated

* Enable coreLibraryDesugaring (for Java Streams); update Filemojicompat, downgrade Emoji2

* Update emoji font versions to 14

* Use FilemojiCompat 3.2.0-beta01

* Make ktLint happy again

* Remove coreLibraryDesugaring and a FIXME

* Use EmojiPickerPreference.get()

* Disable emoji pack import

* Update FilemojiCompat to Beta 2

* Update FilemojiCompat to Beta 3

* Update FilemojiCompat to Beta 3.2.0 final

* Update FilemojiCompat to 3.2.1
2022-04-26 18:50:58 +02:00
Connyduck
1b0f02d48c Translated using Weblate (Gaelic)
Currently translated at 99.3% (474 of 477 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
Ralf Thees
2a0f1c6707 Translated using Weblate (German)
Currently translated at 96.6% (461 of 477 strings)

Co-authored-by: Ralf Thees <ralf@herrthees.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
XoseM
b39588ec2a Translated using Weblate (Galician)
Currently translated at 100.0% (473 of 473 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
GunChleoc
d49785b23b Translated using Weblate (Gaelic)
Currently translated at 99.3% (474 of 477 strings)

Translated using Weblate (Gaelic)

Currently translated at 100.0% (473 of 473 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
Hồ Nhất Duy
5ecc58d9dd Translated using Weblate (Vietnamese)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (473 of 473 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-04-21 16:47:08 +00:00
Ihor Hordiichuk
7461315c33 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (473 of 473 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
Vegard Skjefstad
1a921ec394 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (473 of 473 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
ButterflyOfFire
5243c8ddb5 Translated using Weblate (Occitan)
Currently translated at 93.0% (440 of 473 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
codl
8109a126ae Translated using Weblate (French)
Currently translated at 100.0% (473 of 473 strings)

Co-authored-by: codl <codl@codl.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
Konrad Pozniak
adcbe1a831
fix unparsed html in announcements (#2451) 2022-04-21 18:47:05 +02:00
Konrad Pozniak
db7eac0a8d
guard against the status of a notification being null in rare cases (#2449)
* guard against the status of a notification being null in rare cases

* improve code, fix bug when payloads is not null

* remove findViewById

* add comments in NotificationsAdapter
2022-04-21 18:46:55 +02:00
Konrad Pozniak
43709532d6
fix unparsed html in "replying to" toggle (#2448) 2022-04-21 18:46:43 +02:00
Konrad Pozniak
7499ff5733
never collapse bottom app bar tabs (#2447) 2022-04-21 18:46:30 +02:00
Konrad Pozniak
d2bfceae7b
refactor compose & announcements to coroutines (#2446)
* refactor compose & announcements to coroutines

* fix code formatting

* add javadoc to InstanceInfoRepository

* fix comments in ImageDownsizer

* remove unused Either extensions

* add explicit return type for InstanceInfoRepository.getEmojis

* make ComposeViewModel.pickMedia return Result

* cleanup code in ImageDownsizer
2022-04-21 18:46:21 +02:00
Konrad Pozniak
b5d8b73044
fix "account moved" on profiles not being clickable (#2438) 2022-04-19 11:10:23 +02:00
Levi Bard
dff039e123
Add support for post edit notifications (#2431)
* Add support for post edit notifications

* Update notification icon
2022-04-19 11:10:13 +02:00
Mélanie Chauvel
e0abcbfada
Improve time format of posts when using absolute time (#2413)
* Improve time format of posts when using absolute time

* fix AbsoluteTimeFormatter, add tests

* fix tests

Co-authored-by: Conny Duck <k.pozniak@gmx.at>
2022-04-18 21:41:18 +02:00
Konrad Pozniak
216f094e98
upgrade ktlint gradle plugin to 10.2.1 (#2435) 2022-04-16 09:45:45 +02:00
Konrad Pozniak
f2fc87a79e
upgrade Kotlin and Coroutines (#2434) 2022-04-16 09:44:37 +02:00
Konrad Pozniak
027b659d1c
fix notifications showing unparsed html (#2436) 2022-04-16 09:44:05 +02:00
Konrad Pozniak
3e849244f9
move Html parsing to ViewData (#2414)
* move Html parsing to ViewData

* refactor reports to use viewdata

* cleanup code

* refactor conversations

* fix getEditableText

* rename StatusParsingHelper

* fix tests

* commit db schema file

* add file header

* rename helper function to parseAsMastodonHtml

* order imports correctly

* move mapping off main thread to default dispatcher

* fix ktlint
2022-04-15 13:20:27 +02:00
Konrad Pozniak
ffbc4b6403
upgrade Kotlin Result CallAdapter to v1.0.1 to fix crash (#2433) 2022-04-15 11:00:36 +02:00
Konrad Pozniak
7aa328b3dc
fix login on Android API level <24 (#2432) 2022-04-15 10:50:28 +02:00
Levi Bard
ad077cf092
Don't show preview cards on statuses with polls. (#2430)
Fixes #2427
2022-04-14 19:58:08 +02:00
Konrad Pozniak
3e8c6a318a
introduce KotlinResultCallAdapter for nice suspending network calls (#2415)
* introduce KotlinResultCallAdapter for nice suspending network calls

* fix tests
2022-04-14 19:49:49 +02:00
kyori19
d21d045eda
Support new signup notifications (#2357) 2022-04-14 19:39:30 +02:00
Conny Duck
0c840a706d Release 89 2022-04-14 19:07:17 +02:00
Conny Duck
660c5c08d7 remove buggy string from gd translation 2022-04-14 18:33:23 +02:00
XoseM
0c38f0f09c Translated using Weblate (Galician)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-04-14 03:40:27 +00:00
Sveinn í Felli
b84d41522d Translated using Weblate (Icelandic)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-04-14 03:40:27 +00:00
knuxify
63bb4d9395 Translated using Weblate (Polish)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: knuxify <knuxify@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2022-04-14 03:40:26 +00:00
Konrad Pozniak
1d20a02d17
fix crash in ConversationsFragment (#2426) 2022-04-13 19:22:19 +02:00
Konrad Pozniak
c705e9cbbb
remove extra slash in OAuth authorize url (#2425) 2022-04-13 19:22:09 +02:00
Konrad Pozniak
b4a913b2d5
fix black theme on Android 12 (#2424)
* fix black theme on Android 12

* Revert "fix black theme on Android 12"

This reverts commit 2286706fdb239e15be72ac8943405ffeb2258219.

* bring back SplashActivity
2022-04-13 19:22:01 +02:00
Ihor Hordiichuk
cd8f335e88 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-04-07 18:04:43 +00:00
Hồ Nhất Duy
be5a41152e Translated using Weblate (Vietnamese)
Currently translated at 100.0% (469 of 469 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (469 of 469 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-04-07 18:04:43 +00:00
Konrad Pozniak
f570aba492
Fix crash on startup on Api levels 25 and lower (#2422)
* fix startup crash on API level 25 and lower

* fix crash on Api < 24
2022-04-07 20:04:39 +02:00
Konrad Pozniak
79c8f59e4e
fix crash when applying new emoji font on Android 12 (#2420) 2022-04-06 19:53:28 +02:00
Konrad Pozniak
d4eeef99d0
upgrade splashscreen library to 1.0.0-beta02 (#2416) 2022-04-04 10:10:23 +02:00
Konrad Pozniak
b61436e096 Merge remote-tracking branch 'weblate/develop' into develop
# Conflicts:
#	app/src/main/res/values-vi/strings.xml
2022-04-03 11:23:01 +02:00
Konrad Pozniak
59b627664f
Fix saving failed status to drafts (#2410)
* fix saving failed statuses to drafts

* use coroutine delay instead of timer
2022-04-02 16:15:18 +02:00
XoseM
ad448859a0 Translated using Weblate (Galician)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-04-02 14:14:31 +00:00
GunChleoc
5d2be0eecd 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-04-02 14:14:31 +00:00
Hồ Nhất Duy
175e29fc2d Translated using Weblate (Vietnamese)
Currently translated at 100.0% (469 of 469 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (469 of 469 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-04-02 14:14:31 +00:00
Vegard Skjefstad
e62f622303 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-04-02 14:14:31 +00:00
Eric
267dd55db4 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-04-02 14:14:31 +00:00
Pixelcode
e9391ae545 Translated using Weblate (English (United Kingdom))
Currently translated at 10.8% (51 of 469 strings)

Translated using Weblate (German)

Currently translated at 96.8% (454 of 469 strings)

Co-authored-by: Pixelcode <pixelcode@dismail.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/en_GB/
Translation: Tusky/Tusky
2022-04-02 14:14:31 +00:00
ButterflyOfFire
cbba7fe0b3 Translated using Weblate (Bulgarian)
Currently translated at 92.5% (434 of 469 strings)

Translated using Weblate (Bengali (Bangladesh))

Currently translated at 93.8% (440 of 469 strings)

Translated using Weblate (Kabyle)

Currently translated at 53.3% (250 of 469 strings)

Translated using Weblate (Korean)

Currently translated at 80.5% (378 of 469 strings)

Translated using Weblate (Slovenian)

Currently translated at 81.6% (383 of 469 strings)

Translated using Weblate (French)

Currently translated at 99.7% (468 of 469 strings)

Translated using Weblate (Arabic)

Currently translated at 98.9% (464 of 469 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/bg/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bn_BD/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ko/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sl/
Translation: Tusky/Tusky
2022-04-02 14:14:31 +00:00
XoseM
d6ef939c49 Translated using Weblate (Galician)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-03-31 17:02:46 +00:00
GunChleoc
1c70c30b43 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-31 17:02:46 +00:00
Hồ Nhất Duy
b2820f6c43 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (469 of 469 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-31 17:02:46 +00:00
Vegard Skjefstad
a25cec095e 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-31 17:02:46 +00:00
Eric
bdb4bb71ee 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-31 17:02:46 +00:00
Pixelcode
6074f84470 Translated using Weblate (English (United Kingdom))
Currently translated at 10.8% (51 of 469 strings)

Translated using Weblate (German)

Currently translated at 96.8% (454 of 469 strings)

Co-authored-by: Pixelcode <pixelcode@dismail.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/en_GB/
Translation: Tusky/Tusky
2022-03-31 17:02:46 +00:00
ButterflyOfFire
f281158a23 Translated using Weblate (Bulgarian)
Currently translated at 92.5% (434 of 469 strings)

Translated using Weblate (Bengali (Bangladesh))

Currently translated at 93.8% (440 of 469 strings)

Translated using Weblate (Kabyle)

Currently translated at 53.3% (250 of 469 strings)

Translated using Weblate (Korean)

Currently translated at 80.5% (378 of 469 strings)

Translated using Weblate (Slovenian)

Currently translated at 81.6% (383 of 469 strings)

Translated using Weblate (French)

Currently translated at 99.7% (468 of 469 strings)

Translated using Weblate (Arabic)

Currently translated at 98.9% (464 of 469 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/bg/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bn_BD/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ko/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sl/
Translation: Tusky/Tusky
2022-03-31 17:02:46 +00:00
Constantin A
4011242257
Update emoji font versions to 14 (#2411) 2022-03-31 19:02:42 +02:00
Levi Bard
ad001d044d
Revert unintentional behavior change for mention spans to use remote usernames (#2408) 2022-03-30 19:33:31 +02:00
Conny Duck
71739ba87f Release 88 2022-03-28 19:28:38 +02:00
Konrad Pozniak
f2529a8e61
Fix Timeline not loading (#2398)
* fix cached timeline

* fix network timeline

* delete unused inc / dec extensions

* fix tests and bug in network timeline

* add db migration

* remove unused import

* commit 31.json

* improve placeholder inserting logic, add comment

* fix tests

* improve tests
2022-03-28 18:39:16 +02:00
Konrad Pozniak
c47804997c
Improve handling of shared media (#2388)
* support file:// uris

* support subjects on image shares

* improve code

* improve code

* improve code
2022-03-28 18:39:05 +02:00
Konrad Pozniak
106585f4fe Merge remote-tracking branch 'weblate/develop' into develop
# Conflicts:
#	app/src/main/res/values-fr/strings.xml
2022-03-28 11:36:50 +02:00
Mélanie Chauvel
b101a8fa37 Translated using Weblate (French)
Currently translated at 98.2% (461 of 469 strings)

Translation: Tusky/Tusky
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
2022-03-27 10:23:29 +00:00
Mélanie Chauvel
2fc3ba3cee
Replace “status” by “post” in strings name and source values (#2405) 2022-03-27 12:23:25 +02:00
Levi Bard
bbd818084d
When calculating post length, count all urls as being of the reserved character count, even if they're shorter. (#2404)
Addresses #2399
2022-03-24 19:52:18 +01:00
Konrad Pozniak
2017d0b13b
update glide animation plugin to 2.20.0 (#2401) 2022-03-23 19:14:41 +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
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
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
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
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
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
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
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
Konrad Pozniak
a6335e6bcd
update Android Image Cropper and get rid of deprecated onActivityResult (#2351)
* update Android Image Cropper and get rid of deprecated onActivityResult

* add comment why skipping caches is necessary

* inject application into EditProfileViewModel instead of passing it everytime
2022-03-02 20:39:56 +01:00
Konrad Pozniak
4dee5c2774
display account name when display name is not set (#2361) 2022-03-01 21:29:16 +01:00
Konrad Pozniak
b145fc9d50
fix String.inc() and String.dec() not being inverse operations (#2355) 2022-03-01 21:29:05 +01:00
Konrad Pozniak
60c32b3370
Merge pull request #2356 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-03-01 19:44:25 +01:00
Levi Bard
7114575497
Instance configuration: the easy parts (#2341)
* Add data model for instance configuration

* Support instance.configuration.statuses.max_characters

* Support instance.configuration.statuses.characters_reserved_per_url

* Support instance.configuration.polls.max_options and max_characters_per_option

* Pacify ktlint

* Support instance-configured poll durations

* Fixup versions for migration after rebase
2022-03-01 19:43:36 +01:00
Eric
2a135cd3a1 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-02-28 15:54:28 +00:00
Levi Bard
cdefcc441f
Fix relinkifying tags in posts from remote servers (#2359)
* Fix relinkifying tags in posts from remote servers

* Completely ignore urls, and (case-insensitively) match tag names instead
2022-02-28 16:54:25 +01:00
Konrad Pozniak
2c91b1148c
fix database migration to v29 (#2354) 2022-02-27 20:16:41 +01:00
Conny Duck
842ab9e131 fix LinkHelperTest 2022-02-25 19:35:02 +01:00
Konrad Pozniak
bd05bf6b01
correctly align buttons in follow requests (#2342) 2022-02-25 18:58:01 +01:00
Konrad Pozniak
2960a85ff1
use ViewData only instead of Pair<Status, ViewData> in Search (#2336) 2022-02-25 18:57:49 +01:00
Konrad Pozniak
c592dfef78
Don't use notifyDataSetChanged in TimelineFragment (#2334) 2022-02-25 18:57:40 +01:00
Konrad Pozniak
f7dfffa762
merge ModalTimelineActivity & ViewTagActivity into StatusListActivity (#2332)
* Rename .java to .kt

* merge ModalTimelineActivity & ViewTagActivity into StatusListActivity

* fix crash when opening hashtag
2022-02-25 18:57:31 +01:00
Konrad Pozniak
eea81d7106
use POST api/v2/media to upload media (#2327) 2022-02-25 18:57:18 +01:00
Konrad Pozniak
8dbf255617
get rid of deprecated onActivityCreated in TimelineFragment (#2326) 2022-02-25 18:56:58 +01:00
Levi Bard
addce87eb6
Use tags from status when adding handlers to hashtag spans in status content (#2344)
* Migrate LinkHelper to kotlin

* Support tags field on statuses

* Use embedded tags list in status instead of text scraping to embed tag click handler.
Fixes #2283

* Make mentions and tags lists nonnullable

* Make LinkHelper.openLink a Context extension method

* Use builtin extension for uri conversion

* More cleanup in LinkHelper

* Add tests for LinkHelper.getDomain

* Unbreak tags in places that don't have a tag list (e.g. profiles)

* Fixup javadoc
2022-02-25 18:56:21 +01:00
Levi Bard
f822234995
Add "open as" to profiles (#2340)
* Extract "open as" utilities to BaseActivity

* Add "open as" to profiles.
Fixes #2329

* Rename STATUS_URL intent extra key

* Add nullability notations for new java code

* Pacify ktlint
2022-02-25 18:55:58 +01:00
Conny Duck
fcc9265703 Release 87 2022-02-25 18:42:31 +01:00
Conny Duck
25263b15ca Release 86 2022-02-21 19:46:33 +01:00
Konrad Pozniak
69bcc92c46
fix cache cleanup deleting more statuses than it should (#2348)
* fix cache cleanup deleting more statuses than it should

* reset LOAD_AT_ONCE

* improve tests

* move cache clean code back to ViewModel
2022-02-21 19:33:10 +01:00
Connyduck
d7bc584cca Translated using Weblate (German)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-02-21 18:32:21 +00:00
Ralf Thees
883b5dc17a Translated using Weblate (German)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ralf Thees <ralf@herrthees.de>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-02-21 18:32:21 +00:00
Konrad Pozniak
a76c580d7e
fix duplicate detail status (#2345) 2022-02-20 10:58:12 +01:00
Konrad Pozniak
a90be172ee fix bad strings 2022-02-18 20:30:27 +01:00
Connyduck
e702a3aa1d Translated using Weblate (Bengali (Bangladesh))
Currently translated at 98.9% (457 of 462 strings)

Translated using Weblate (Irish)

Currently translated at 92.2% (426 of 462 strings)

Translated using Weblate (Thai)

Currently translated at 97.8% (452 of 462 strings)

Translated using Weblate (Slovenian)

Currently translated at 85.4% (395 of 462 strings)

Translated using Weblate (Occitan)

Currently translated at 98.4% (455 of 462 strings)

Translated using Weblate (Dutch)

Currently translated at 99.5% (460 of 462 strings)

Translated using Weblate (Persian)

Currently translated at 99.3% (459 of 462 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/bn_BD/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fa/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ga/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/nl/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/oc/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/sl/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/th/
Translation: Tusky/Tusky
2022-02-18 19:22:58 +00:00
Mélanie Chauvel
c8ed6b482e
increase default poll max option chars from 25 to 50 (#2343)
25 is old Mastodon default, the new one is 50
2022-02-18 20:08:38 +01:00
Hồ Nhất Duy
3b9bcd4045 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 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-02-15 16:04:05 +00:00
Vladyslav Stepanov
589fc7ce7d Translated using Weblate (Russian)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Vladyslav Stepanov <wrottkitkatt@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ru/
Translation: Tusky/Tusky
2022-02-15 16:04:05 +00:00
Konrad Pozniak
c20effe6c9
fix some mentions not being opened in Tusky (#2339)
* fix some mentions not being opened in Tusky

* link PR in code
2022-02-15 17:04:00 +01:00
Konrad Pozniak
97fe4f88c5
fix crash in drafts caused by minification of DraftAttachment (#2337)
* fix crash in drafts caused by minification of DraftAttachment

* fix formatting
2022-02-14 19:20:15 +01:00
Konrad Pozniak
329df1280b
fix sensitive media in search and notifications (#2335) 2022-02-12 09:56:08 +01:00
Vladyslav Stepanov
ff5fcf4015 Translated using Weblate (Russian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Vladyslav Stepanov <wrottkitkatt@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ru/
Translation: Tusky/Tusky
2022-02-11 18:40:39 +00:00
Mélanie Chauvel
28571c29fb Translated using Weblate (French)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Esperanto)

Currently translated at 99.7% (461 of 462 strings)

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/eo/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-02-11 18:40:39 +00:00
ButterflyOfFire
a71b1baa99 Translated using Weblate (Kabyle)
Currently translated at 54.5% (252 of 462 strings)

Translated using Weblate (Arabic)

Currently translated at 98.9% (457 of 462 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/kab/
Translation: Tusky/Tusky
2022-02-11 18:40:39 +00:00
Conny Duck
b99e421786 Release 85 2022-02-09 20:59:13 +01:00
Konrad Pozniak
b145e8163d
add additional R8 rules so conversations work again (#2322) 2022-02-09 20:46:13 +01:00
Konrad Pozniak
ae656a17a8
fix vertical insets of AccountActivity (#2320) 2022-02-09 20:45:56 +01:00
Ho Nhat Duy
010ab979bd Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Gera, Zoltan
d5b7be9a2b Translated using Weblate (Hungarian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Mélanie Chauvel
23482edf64 Translated using Weblate (French)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Esperanto)

Currently translated at 98.7% (456 of 462 strings)

Translated using Weblate (French)

Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/eo/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Darck Crystale
74627fb2b6 Translated using Weblate (French)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Darck Crystale <vraken@live.fr>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Conny Duck
b21e2256ea Release 84 2022-02-08 19:34:02 +01:00
ButterflyOfFire
1674e83bb8 Translated using Weblate (French)
Currently translated at 99.5% (460 of 462 strings)

Translated using Weblate (Arabic)

Currently translated at 98.7% (456 of 462 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/
Translation: Tusky/Tusky
2022-02-07 19:38:58 +00:00
Ho Nhat Duy
ca3c455082 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-02-07 19:38:58 +00:00
Konrad Pozniak
2fd45c1cdb
Fix comparing statuses and diffing in NotificationsFragment (#2318) 2022-02-07 20:38:54 +01:00
Konrad Pozniak
d2d52da717
Fix crash in TimelineFragment (#2317) 2022-02-07 20:04:40 +01:00
Konrad Pozniak
db1cc02fb8
Fix announcement reactions (#2311)
* fix size of announcement reactions

* fix announcement reactions not updating correctly

* remove unused code

* improve code

* remove unused imports
2022-02-05 19:13:05 +01:00
Konrad Pozniak
329bc51f90
fix apng emojis not rendered when animation is turned off (#2312) 2022-02-05 08:56:24 +01:00
Konrad Pozniak
17207312d6
update licenses (#2315) 2022-02-04 21:59:42 +01:00
Konrad Pozniak
808cb5f27b
add new translations (Scottish Gaelic, Galician, Ukrainian) to in-app language picker (#2314) 2022-02-04 21:59:30 +01:00
Connyduck
00e13e98ea Deleted translation using Weblate (Punjabi) 2022-02-04 17:51:11 +00:00
Connyduck
67e3716670 Deleted translation using Weblate (Telugu) 2022-02-04 17:51:01 +00:00
Connyduck
6d1ffe9f4b Deleted translation using Weblate (Luxembourgish) 2022-02-04 17:49:25 +00:00
Connyduck
dccf7c0ec1 Deleted translation using Weblate (French (Belgium)) 2022-02-04 17:49:10 +00:00
Connyduck
f97c3bb869 Deleted translation using Weblate (English (Australia)) 2022-02-04 17:48:42 +00:00
Konrad Pozniak
61ba6fe181
Fix disappearing placeholders (#2309)
* add getNextPlaceholderIdAfter to TimelineDao

* fix disappearing placeholders

* fix disappearing placeholders
2022-02-03 18:51:15 +01:00
Konrad Pozniak
c3da6f901f
display custom emoji in announcements (#2310) 2022-02-02 21:43:16 +01:00
Konrad Pozniak
ab6ea6dc89
fix placeholder not disappearing when no statuses are loaded (#2305) 2022-02-02 18:29:59 +01:00
Konrad Pozniak
8f5fb5b35c
Fix some weird behavior when clicking links in statuses (#2304)
* Fix some weird behavior when clicking links in statuses

* open browser when user clicks a status link again
2022-01-28 07:44:38 +01:00
Connyduck
2850775c14 Translated using Weblate (German)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-01-23 19:25:08 +00:00
Konrad Pozniak
6c5c628b90
delete unused class NetworkState (#2301) 2022-01-23 20:25:06 +01:00
Konrad Pozniak
e29567c9ec
Cleanup dagger setup (#2300)
* cleanup dagger setup

* fix tests

* fix ktlint

* cleanup FragmentBuildersModule
2022-01-23 20:24:55 +01:00
Konrad Pozniak
0b70f52ad2
add proguard rules to make Jsondadapter annotation work (#2299) 2022-01-21 18:26:57 +01:00
Konrad Pozniak
2fd01f7e2d
use custom JsonAdapter to be compatible with instances that have a custom subscribing feature (#2298) 2022-01-21 07:34:26 +01:00
Konrad Pozniak
1586817c3d
Update gradle, kotlin and other dependencies (#2291)
* update gradle, kotlin and other dependencies

* fix new warnings

* remove unused import

* update Proguard rules

* add explicit dependency on Gson to get the newest version

* remove debug flag from proguard rules again

* fix typo
2022-01-20 21:10:32 +01:00
Konrad Pozniak
a000228165
correctly detect end of pagination in network timeline (#2296)
* correctly detect end of pagination in network timeline

closes #2293

* improve NetworkTimelineRemoteMediatorTest

* remove unused import
2022-01-20 18:30:21 +01:00
Konrad Pozniak
f29e46ad55
fix media hidden default in ViewThreadFragment (#2295) 2022-01-17 18:45:11 +01:00
leo
0d9067b2cf Translated using Weblate (Russian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: leo <aaoth@aaoth.xyz>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ru/
Translation: Tusky/Tusky
2022-01-13 10:03:20 +00:00
Konrad Pozniak
fe350ccf36
move AccountActivity and related classes to a new package (#2216)
* move AccountActivity and related classes to a new package

* fix ktlint

* fix ktlint

* fix imports
2022-01-11 19:55:17 +01:00
Ho Nhat Duy
07798a90c1 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-01-11 18:00:33 +00:00
Mélanie Chauvel
879493bd2d Translated using Weblate (French)
Currently translated at 99.1% (458 of 462 strings)

Translated using Weblate (Esperanto)

Currently translated at 96.5% (446 of 462 strings)

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/eo/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-01-11 18:00:33 +00:00
Konrad Pozniak
643e012b11
Timeline paging (#2238)
* first setup

* network timeline paging / improvements

* rename classes / move to correct package

* remove unused class TimelineAdapter

* some code cleanup

* remove TimelineRepository, put mapper functions in TimelineTypeMappers.kt

* add db migration

* cleanup unused code

* bugfix

* make default timeline settings work again

* fix pinning statuses from timeline

* fix network timeline

* respect account settings in NetworkTimelineRemoteMediator

* respect account settings in NetworkTimelineRemoteMediator

* update license headers

* show error view when an error occurs

* cleanup some todos

* fix db migration

* fix changing mediaPreviewEnabled setting

* fix "load more" button appearing on top of timeline

* fix filtering and other bugs

* cleanup cache after 14 days

* fix TimelineDAOTest

* fix code formatting

* add NetworkTimeline unit tests

* add CachedTimeline unit tests

* fix code formatting

* move TimelineDaoTest to unit tests

* implement removeAllByInstance for CachedTimelineViewModel

* fix code formatting

* fix bug in TimelineDao.deleteAllFromInstance

* improve loading more statuses in NetworkTimelineViewModel

* improve loading more statuses in NetworkTimelineViewModel

* fix bug where empty state was shown too soon

* reload top of cached timeline on app start

* improve CachedTimelineRemoteMediator and Tests

* improve cached timeline tests

* fix some more todos

* implement TimelineFragment.removeItem

* fix ListStatusAccessibilityDelegate

* fix crash in NetworkTimelineViewModel.loadMore

* fix default state of collapsible statuses

* fix default state of collapsible statuses -tests

* fix showing/hiding media in the timeline

* get rid of some not-null assertion operators in TimelineTypeMappers

* fix tests

* error handling in CachedTimelineViewModel.loadMore

* keep local status state when refreshing cached statuses

* keep local status state when refreshing network timeline statuses

* show placeholder loading state in cached timeline

* better comments, some code cleanup

* add TimelineViewModelTest, improve code, fix bug

* fix ktlint

* fix voting in boosted polls

* code improvement
2022-01-11 19:00:29 +01:00
Mélanie Chauvel
c0c8eec36b
filter messages by also looking at media descriptions (#2285) 2022-01-04 19:28:49 +01:00