Compare commits

..

1199 commits
3.16.2 ... main

Author SHA1 Message Date
Thomas
cf022002c5 Release 3.33.1 2025-06-06 18:53:44 +02:00
Thomas
4b4b6c49b2 Release 3.33.0 2025-06-06 15:28:38 +02:00
Thomas
49cc9a187e some release notes 2025-06-06 15:21:47 +02:00
Thomas
b954708e3a Fix issue #1238 - Improve language picker when filtered with some languages 2025-06-06 14:52:00 +02:00
Thomas
0fcd1c6d4b Merge remote-tracking branch 'origin/develop' into develop 2025-06-06 11:29:29 +02:00
Thomas
1c2c6f404a Add/Remove featured tags from profile editor 2025-06-06 11:29:00 +02:00
Thomas
2e33cd58f5 Add some margin to delete buttons 2025-06-06 10:42:08 +02:00
Thomas
c5e096728e Change layout for featured hashtags 2025-06-06 10:34:34 +02:00
Thomas
b0c11f5c2c Change layout for custom fields 2025-06-06 10:16:28 +02:00
Thomas
c0b6bbd4ea Change profile activity to manage featured hashtags 2025-06-06 09:50:06 +02:00
Christof Damian
442e27760a
Translated using Weblate (German)
Currently translated at 99.0% (1218 of 1230 strings)

Co-authored-by: Christof Damian <christof@damian.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2025-06-06 03:01:52 +02:00
Thomas
d514c7b8d6 Featured tags displayed in profiles 2025-06-05 17:34:51 +02:00
Thomas
5b843291a7 improve fields 2025-06-05 15:39:57 +02:00
Thomas
8a9b0d897f Fix embedded quotes not displayed 2025-06-05 11:56:54 +02:00
Thomas
e051bec7a0 Fix a memory leak for not cropped media 2025-06-05 11:22:50 +02:00
Thomas
6a74a35efe Merge remote-tracking branch 'origin/develop' into develop 2025-06-05 10:33:04 +02:00
Thomas
723771e464 Fix a memory leak for not cropped media 2025-06-05 10:32:39 +02:00
Thomas
b1b3c5230c Change regex for bottom tags 2025-06-05 09:37:57 +02:00
Thomas
764e3a1762 Fix a crash with long threads 2025-06-05 07:35:17 +02:00
大王叫我来巡山
a71fa29f72
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1230 of 1230 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2025-06-04 17:02:18 +02:00
josé m
cb2c811970
Translated using Weblate (Galician)
Currently translated at 100.0% (1230 of 1230 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2025-06-04 17:02:13 +02:00
Максим Горпиніч
bc81e32720
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1230 of 1230 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1228 of 1228 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic4@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-06-04 17:02:09 +02:00
Thomas
a79121a8dd #1214 - Support Trending Links 2025-06-03 16:38:00 +02:00
Thomas
293a811392 #1219 - highlight bottom hashtags 2025-06-03 11:38:31 +02:00
Thomas
1df2cba3d0 Merge remote-tracking branch 'origin/develop' into develop 2025-06-03 09:15:57 +02:00
Thomas
5e2e91df3d Merge branch '0xd9a-update_peertube_picker_drawer' into develop 2025-06-03 09:15:01 +02:00
dicaeffe
b06a5731bd
Translated using Weblate (Italian)
Currently translated at 20.0% (7 of 35 strings)

Co-authored-by: dicaeffe <dicaeffe@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/it/
Translation: Fedilab/description
2025-06-02 19:37:18 +02:00
dicaeffe
dfe30f9bfb
Translated using Weblate (Italian)
Currently translated at 99.5% (1220 of 1226 strings)

Co-authored-by: dicaeffe <dicaeffe@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/it/
Translation: Fedilab/Strings
2025-06-02 19:37:05 +02:00
Thomas
477b2bfc3b #1237 - Wrong messages deleted for scheduled (messages and boosts) 2025-06-02 07:58:08 +02:00
Thomas
e6a8a45e03 Merge remote-tracking branch 'origin/develop' into develop 2025-06-01 10:46:09 +02:00
Thomas
e93d6660f1 #1222 - Open toot by tapping on Scheduled Boost 2025-06-01 10:45:58 +02:00
Thomas
65383b8787 #1165 - Improve animated emoji 2025-06-01 09:53:17 +02:00
Yurt Page
5d78347d3f
Translated using Weblate (Russian)
Currently translated at 93.3% (1144 of 1226 strings)

Co-authored-by: Yurt Page <yurtpage@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2025-05-28 01:06:31 +02:00
Thomas
02a066a253 Avoid a crash when max_char defined by the instance is not an integer 2025-05-27 08:06:16 +02:00
Thomas
749aefe858 Merge remote-tracking branch 'origin/develop' into develop 2025-05-26 12:06:30 +02:00
Thomas
15e10958b8 Add confirmation dialog when long pressing the boost button 2025-05-26 12:03:14 +02:00
Thomas
a12e2910c5 Fix issue #1217 - Pleroma instances cannot select media 2025-05-26 10:18:41 +02:00
Thomas
7e6d0a5c6e Fix issue #1220 - Limits number of fetch for filters 2025-05-26 09:41:31 +02:00
Moonshadow
e9ce3bd664
Translated using Weblate (Kabyle)
Currently translated at 2.8% (1 of 35 strings)

Co-authored-by: Moonshadow <moonshadow@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/kab/
Translation: Fedilab/description
2025-05-25 17:42:43 +02:00
abdelbasset jabrane
7dc61b8aaf
Translated using Weblate (Arabic)
Currently translated at 51.4% (18 of 35 strings)

Co-authored-by: abdelbasset jabrane <naminio201@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/ar/
Translation: Fedilab/description
2025-05-21 19:03:43 +00:00
abdelbasset jabrane
ebdaa79c81
Translated using Weblate (Arabic)
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: abdelbasset jabrane <naminio201@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ar/
Translation: Fedilab/Strings
2025-05-18 12:01:48 +02:00
Максим Горпиніч
d8abb4213e
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic4@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-05-17 05:02:42 +00:00
0xd9a
b77d87ccb1 Make pickup button more visible 2025-05-13 20:04:54 +05:30
0xd9a
c611438172 Update Peertube Instance Picker Drawer 2025-05-13 19:41:24 +05:30
Jean-Luc Tibaux
7aa02a8b15
Translated using Weblate (French)
Currently translated at 99.3% (1218 of 1226 strings)

Co-authored-by: Jean-Luc Tibaux <eugentoptic@outlook.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2025-05-12 00:03:12 +02:00
Wydow
e1da85235d
Translated using Weblate (French)
Currently translated at 99.3% (1218 of 1226 strings)

Co-authored-by: Wydow <wydow@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2025-05-12 00:03:12 +02:00
Dream X
cca71af7c2
Translated using Weblate (French)
Currently translated at 99.3% (1218 of 1226 strings)

Translated using Weblate (Spanish)

Currently translated at 97.3% (1194 of 1226 strings)

Translated using Weblate (Welsh)

Currently translated at 52.2% (640 of 1226 strings)

Co-authored-by: Dream X <nodem49316@daupload.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cy/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/es/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2025-05-12 00:03:12 +02:00
Dream X
c83acd6b17
Translated using Weblate (Spanish)
Currently translated at 8.5% (3 of 35 strings)

Co-authored-by: Dream X <nodem49316@daupload.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/es/
Translation: Fedilab/description
2025-05-12 00:03:00 +02:00
Joan Pujolar
df50f40843
Translated using Weblate (Catalan)
Currently translated at 100.0% (35 of 35 strings)

Co-authored-by: Joan Pujolar <joan.pujolar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/ca/
Translation: Fedilab/description
2025-05-09 05:02:03 +00:00
Joan Pujolar
d6e78e78ba
Translated using Weblate (Catalan)
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: Joan Pujolar <joan.pujolar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2025-05-08 20:03:17 +02:00
Joan Pujolar
cbea08af24
Translated using Weblate (Catalan)
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: Joan Pujolar <joan.pujolar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2025-05-08 04:03:09 +02:00
Joan Pujolar
db984a485f
Translated using Weblate (Catalan)
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: Joan Pujolar <joan.pujolar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2025-05-07 09:01:52 +00:00
Bob Idle
a09d08b826
Translated using Weblate (German)
Currently translated at 98.5% (1208 of 1226 strings)

Co-authored-by: Bob Idle <102661087+bobidle@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2025-05-06 08:06:17 +02:00
Joan Pujolar
200488fa6a
Translated using Weblate (Catalan)
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: Joan Pujolar <joan.pujolar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2025-05-06 08:06:17 +02:00
Joan Pujolar
18ae76c6f7
Translated using Weblate (Catalan)
Currently translated at 17.1% (6 of 35 strings)

Co-authored-by: Joan Pujolar <joan.pujolar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/ca/
Translation: Fedilab/description
2025-05-05 08:56:41 +02:00
Joan Pujolar
7e2b3d0c8f
Translated using Weblate (Catalan)
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: Joan Pujolar <joan.pujolar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2025-05-05 08:56:30 +02:00
Bob Idle
e889b19673
Translated using Weblate (German)
Currently translated at 98.5% (1208 of 1226 strings)

Co-authored-by: Bob Idle <102661087+bobidle@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2025-05-05 05:30:51 +02:00
Joan Pujolar
e1cb74911a
Translated using Weblate (Catalan)
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: Joan Pujolar <joan.pujolar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2025-05-05 05:30:51 +02:00
Vaclovas Intas
1f4503cd96
Translated using Weblate (Lithuanian)
Currently translated at 31.8% (391 of 1226 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/lt/
Translation: Fedilab/Strings
2025-05-02 11:12:48 +00:00
Vaclovas Intas
5a51c48302
Translated using Weblate (Lithuanian)
Currently translated at 8.5% (3 of 35 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/lt/
Translation: Fedilab/description
2025-05-02 12:02:19 +02:00
Poesty Li
c821c96396
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (35 of 35 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/zh_Hans/
Translation: Fedilab/description
2025-04-28 07:01:52 +02:00
josé m
1374bfdca9
Translated using Weblate (Galician)
Currently translated at 45.7% (16 of 35 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/gl/
Translation: Fedilab/description
2025-04-26 05:29:57 +02:00
Максим Горпиніч
5f83abff97
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (35 of 35 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-04-25 22:25:46 +02:00
Thomas
e69c46661d Merge remote-tracking branch 'origin/main' 2025-04-25 15:40:57 +02:00
Thomas
66f2bd4639 Release 3.32.3 2025-04-25 15:40:32 +02:00
Thomas
96fa8abbfa Fix trend messages repeated in the timeline 2025-04-25 15:18:49 +02:00
Thomas
9216c86658 Merge pull request 'Add Misskey URL basic support' (#1180) from AntoninDelFabbro/Fedilab:misskey-url into main
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1180
2025-04-25 04:53:18 +00:00
0xd9a
786a4bc846 Fix: Polls without CWs not viewable 2025-04-24 02:15:17 +05:30
josé m
b06fc3e952
Translated using Weblate (Galician)
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2025-04-23 10:14:58 +02:00
大王叫我来巡山
4ea7e592a2
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2025-04-23 02:03:20 +00:00
Jean-Luc Tibaux
36d4c6dc11
Translated using Weblate (German)
Currently translated at 98.1% (1203 of 1226 strings)

Co-authored-by: Jean-Luc Tibaux <eugentoptic@outlook.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2025-04-23 02:03:18 +00:00
Максим Горпиніч
caba5201f9
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (34 of 34 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-04-21 23:02:20 +00:00
Максим Горпиніч
4ea99e4385
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1226 of 1226 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-04-21 23:01:50 +00:00
Thomas
cb0bac8ff6 Release 3.32.2 2025-04-21 18:19:31 +02:00
Antonin Del Fabbro
1d77fd9106
Add Misskey URL basic support 2025-04-21 16:05:27 +02:00
Thomas
6e932b6fd8 Release notes 2025-04-21 10:32:54 +02:00
Thomas
d044d1d36f Disable by default the mention to the booster when replying. Can be enabled in Settings > Compose (per account) 2025-04-21 10:27:56 +02:00
Thomas
bbd9c909b7 Merge branch 'fix_530' into develop 2025-04-21 10:03:02 +02:00
Thomas
ea6cb35b73 Gif media not animated by default 2025-04-21 10:02:08 +02:00
Thomas
fd00042f4d Downgrade animated emoji lib 2025-04-21 09:57:51 +02:00
Thomas
dd2a4dcf28 Merge branch '0xd9a-cw_hide_polls' into develop 2025-04-21 09:55:12 +02:00
0xd9a
78a4b51e4e Make username, displayname in nav drawer clickable
(This restores the previous behavior,
which toggled the accounts panel when clicked)
2025-04-20 18:43:20 +05:30
Alireza Rashidi
c465858eaa
Translated using Weblate (Persian)
Currently translated at 100.0% (1223 of 1223 strings)

Co-authored-by: Alireza Rashidi <alirezarashidigoorabi@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fa/
Translation: Fedilab/Strings
2025-04-18 04:02:49 +00:00
0xd9a
7747a99585 Hide polls with CWs 2025-04-18 00:50:51 +05:30
Alireza Rashidi
75283ef507
Translated using Weblate (Persian)
Currently translated at 100.0% (1223 of 1223 strings)

Co-authored-by: Alireza Rashidi <alirezarashidigoorabi@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fa/
Translation: Fedilab/Strings
2025-04-17 04:47:12 +02:00
Alireza Rashidi
e60d5e9882
Translated using Weblate (Persian)
Currently translated at 9.0% (3 of 33 strings)

Co-authored-by: Alireza Rashidi <alirezarashidigoorabi@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/fa/
Translation: Fedilab/description
2025-04-17 04:47:04 +02:00
Alireza Rashidi
a9386d6927
Translated using Weblate (Persian)
Currently translated at 57.3% (702 of 1223 strings)

Co-authored-by: Alireza Rashidi <alirezarashidigoorabi@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fa/
Translation: Fedilab/Strings
2025-04-16 22:34:43 +02:00
Haui
cc234a6aee
Translated using Weblate (German)
Currently translated at 15.1% (5 of 33 strings)

Co-authored-by: Haui <hauisminecraft@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/de/
Translation: Fedilab/description
2025-04-16 18:28:32 +02:00
Yurt Page
a5c6a60a20
Translated using Weblate (Russian)
Currently translated at 92.8% (1136 of 1223 strings)

Co-authored-by: Yurt Page <yurtpage@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2025-04-15 02:08:00 +02:00
XblateX
d8a417983a
Translated using Weblate (Russian)
Currently translated at 92.5% (1132 of 1223 strings)

Co-authored-by: XblateX <blate@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2025-04-13 04:01:51 +00:00
Lukáš Jelínek
df27c45434
Translated using Weblate (Czech)
Currently translated at 100.0% (1223 of 1223 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2025-04-13 04:01:48 +00:00
Thomas
6d5dbb2585 Merge pull request 'Add an outline around media' (#1174) from 0xd9a/Fedilab:media_borders into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1174
2025-04-12 08:50:30 +00:00
Thomas
578c9b3d66 Fix issue #1173 - Refresh and pagination broken for the Trending timeline 2025-04-12 10:49:34 +02:00
0xd9a
fb932b293f Add an outline around media 2025-04-10 10:07:18 +05:30
Thomas
3bde1ae578 Fix a potential crash when translating with MinT 2025-04-09 15:57:45 +02:00
Thomas
78fccc9578 Fix issue #810 - Wrong preview picture on share from another app 2025-04-09 12:28:30 +02:00
ButterflyOfFire
1be12f1fe1
Translated using Weblate (Kabyle)
Currently translated at 61.2% (749 of 1223 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/kab/
Translation: Fedilab/Strings
2025-04-09 02:20:00 +02:00
Максим Горпиніч
4fefda1f68
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (33 of 33 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-04-08 20:33:32 +02:00
ButterflyOfFire
59952c8203
Translated using Weblate (Kabyle)
Currently translated at 61.0% (747 of 1223 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/kab/
Translation: Fedilab/Strings
2025-04-08 20:33:23 +02:00
Thomas
fdc2cb07c8 Release 3.32.1 2025-04-08 18:01:42 +02:00
Thomas
a8b16b1956 Merge remote-tracking branch 'origin/develop' into develop 2025-04-08 17:51:19 +02:00
Thomas
edbe7689bf - Fix layout issues with media descriptions
- Fix a crash when taping the media to open original message
2025-04-08 17:51:07 +02:00
0xd9a
c4cf8f58a1 re-hide quote button by default 2025-04-08 16:29:58 +05:30
大王叫我来巡山
d1e8a6ce43
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1223 of 1223 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2025-04-08 12:49:44 +02:00
josé m
7547d4e681
Translated using Weblate (Galician)
Currently translated at 100.0% (1223 of 1223 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2025-04-08 05:05:50 +02:00
0xd9a
b99d55e5ff Add an id for ConstraintLayout Flow 2025-04-07 23:45:24 +05:30
Максим Горпиніч
b57de8254c
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1223 of 1223 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-04-07 20:06:27 +02:00
Максим Горпиніч
0d9f46c66c
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (32 of 32 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-04-07 20:06:18 +02:00
Thomas
45f573bce1 Merge remote-tracking branch 'origin/main' 2025-04-07 17:42:54 +02:00
Thomas
1b72a95658 Release 3.32.0 2025-04-07 17:42:18 +02:00
Thomas
8db458704c Merge branch 'fix_528' into develop 2025-04-07 17:32:52 +02:00
Thomas
14a3ad5a8e Fix a background color issue when displaying media 2025-04-07 17:30:33 +02:00
Thomas
5cf8332024 Fix a crash when opening conversations 2025-04-07 17:21:03 +02:00
Thomas
4baadfba17 Fix a crash with auto-split messages 2025-04-07 17:16:52 +02:00
Thomas
c2683995a1 Fix #1163 - Posting messages does not work on some Friendica instances 2025-04-07 16:06:32 +02:00
0xd9a
89355894fc Add option to disable auto hiding compose button
(issue #802)
2025-04-07 17:52:17 +05:30
Thomas
7baab31549 Merge remote-tracking branch 'origin/develop' into develop 2025-04-07 12:15:01 +02:00
Thomas
59c05e35fd Fix issue #1164 - Custom emojis in bio do not render 2025-04-07 12:11:39 +02:00
Poesty Li
3cd35a4ea0
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1220 of 1220 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2025-04-07 00:03:01 +02:00
Максим Горпиніч
ab6c56d922
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1220 of 1220 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-04-06 06:58:51 +02:00
Yurt Page
991f15c832
Translated using Weblate (Russian)
Currently translated at 92.5% (1129 of 1220 strings)

Co-authored-by: Yurt Page <yurtpage@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2025-04-06 06:58:51 +02:00
0xd9a
5fe2d1ec0d Squeeze buttons when needed to prevent overlapping 2025-04-05 23:09:09 +05:30
Thomas
6a238d970f Fix issue #1169 - Fix crash when media are too heavy 2025-04-05 18:36:25 +02:00
Thomas
470663884f Merge remote-tracking branch 'origin/develop' into develop 2025-04-05 09:05:33 +02:00
Thomas
a2e23ae14a Merge branch '0xd9a-drawer_header' into develop 2025-04-05 09:05:20 +02:00
Максим Горпиніч
89a5ca001c
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1216 of 1216 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-04-05 05:01:50 +00:00
josé m
3ac1e85a9c
Translated using Weblate (Galician)
Currently translated at 100.0% (1216 of 1216 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2025-04-05 05:01:48 +00:00
0xd9a
eb276ba874 Update navigation drawer header
- proxy setting moved to Network preferences page
- 'Instance information' is now a nav drawer item
- A 'Manage accounts' button to open accounts list
2025-04-05 03:27:18 +05:30
Thomas
d7774cc5f6 Merge pull request 'Change title in bottom nav menu from Private to Direct' (#1045) from sertonix/Fedilab:nav-menu-direct into main
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1045
2025-04-04 05:38:53 +00:00
Thomas
c41caddcf5 Merge pull request 'Add some content descriptions + update some buttons' (#1166) from 0xd9a/Fedilab:better_buttons into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1166
2025-04-04 05:38:02 +00:00
0xd9a
dc486381ff Update some buttons 2025-04-03 17:24:29 +05:30
0xd9a
c542f97df0 Add some content descriptions 2025-04-03 16:33:52 +05:30
Thomas
42b4793b14 update apng lib 2025-04-03 08:08:17 +02:00
Thomas
0ffc7c0440 Restore FOREGROUND_SERVICE 2025-04-02 11:27:27 +02:00
Максим Горпиніч
8f53e6f503
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (31 of 31 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-04-02 01:16:32 +02:00
Lukáš Jelínek
5bea4662cb
Translated using Weblate (Czech)
Currently translated at 100.0% (1200 of 1200 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2025-04-02 01:16:21 +02:00
Thomas
6d7faa996d Release 3.31.3 2025-04-01 18:28:14 +02:00
Thomas
19f5e4c801 Merge pull request 'Add more logos' (#1162) from 0xd9a/Fedilab:more_icons into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1162
2025-04-01 16:17:27 +00:00
Thomas
16fb7dcc1f Merge branch 'fix_527' into develop 2025-04-01 18:17:02 +02:00
Thomas
e7b9fd9f1d Display reaction buttons only if instance 2025-04-01 18:16:31 +02:00
0xd9a
97f9c78073 Add new logos 2025-04-01 20:27:02 +05:30
Thomas
c8c1e5e75b Improve a little more media layout with translations 2025-04-01 15:38:30 +02:00
Thomas
d901a50bba Merge remote-tracking branch 'origin/develop' into develop 2025-04-01 14:58:43 +02:00
Thomas
78a0c23e34 Remove permission FOREGROUND_SERVICE 2025-04-01 14:58:01 +02:00
Thomas
c69cf6e295 Remove permission FOREGROUND_SERVICE 2025-04-01 14:57:32 +02:00
Thomas
98a8ac0df3 Make logout/proxy button more visible in main menu 2025-04-01 10:11:11 +02:00
Thomas
90a6297c8f Fix status bar icons not visible in light theme with custom accent color 2025-04-01 09:43:53 +02:00
Максим Горпиніч
1981876fac
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (30 of 30 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-04-01 07:10:54 +02:00
Thomas
fed33cf600 Release 3.31.2 2025-03-31 18:34:23 +02:00
Thomas
02d6ef3bf5 Change the media activity status bar 2025-03-31 18:28:02 +02:00
Thomas
7bcb8dc9fb Merge remote-tracking branch 'origin/develop' into develop 2025-03-31 18:22:17 +02:00
Thomas
462f13f492 Downgrade Material lib until fix with the new Tonal Surface Color system 2025-03-31 18:21:58 +02:00
Thomas
5dfdb99c06 Merge branch 'fix_526' into develop 2025-03-31 15:06:29 +02:00
Thomas
62951a4a3a Change layout for media descriptions 2025-03-31 15:06:09 +02:00
Максим Горпиніч
27a9199e05
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (29 of 29 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-03-31 12:54:32 +02:00
Thomas
62fe2cde10 Fix issue #1161 - handle included twice when replying to a self user's boost 2025-03-31 08:33:27 +02:00
Hosted Weblate
f4a5c31f8f
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/
Translation: Fedilab/description
2025-03-31 07:41:32 +02:00
Thomas
d0835834f7 Merge remote-tracking branch 'origin/develop' into develop 2025-03-31 07:41:23 +02:00
Thomas
40a7d6f29b Merge branch 'fix_526' into develop 2025-03-31 07:41:11 +02:00
Thomas
2f663d1bd9 Fix a crash when translating media descriptions 2025-03-31 07:40:50 +02:00
Ajeje Brazorf
5f509bb481
Translated using Weblate (Sardinian)
Currently translated at 100.0% (1200 of 1200 strings)

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/sc/
Translation: Fedilab/Strings
2025-03-31 04:01:21 +02:00
Antonin Del Fabbro
7121cca1f1
Translated using Weblate (French)
Currently translated at 99.9% (1199 of 1200 strings)

Co-authored-by: Antonin Del Fabbro <message@antonin.one>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2025-03-31 04:01:19 +02:00
Thomas
19d64a778f #1160 - Use of fedilinks (scheme web+ap) / Fix url scheme to support with and without // 2025-03-30 12:34:35 +02:00
ButterflyOfFire
f7ca327572
Translated using Weblate (French)
Currently translated at 99.9% (1199 of 1200 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2025-03-30 12:01:15 +02:00
Thomas
aedfaaddbc #1160 - Open profile when receiving an intent 2025-03-29 16:50:36 +01:00
Thomas
db17df93f0 #1160 - Detects acct and intent in URL with scheme web+activitypub 2025-03-29 16:07:53 +01:00
ButterflyOfFire
67c455f057
Translated using Weblate (Kabyle)
Currently translated at 61.6% (740 of 1200 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/kab/
Translation: Fedilab/Strings
2025-03-29 07:02:50 +01:00
Thomas
b961145575 Release 3.31.1 2025-03-28 16:50:18 +01:00
Thomas
3f12ad0f2d #1122 - Support instance only for GoToSocial 2025-03-28 16:42:59 +01:00
Thomas
e83b4d1acf Merge remote-tracking branch 'origin/develop' into develop 2025-03-28 09:25:04 +01:00
Thomas
4387cac67f Use language of messages for translations with MinT 2025-03-28 09:24:48 +01:00
Thomas
6aa3fd738a Merge pull request 'Update README.md' (#1157) from 0xd9a/Fedilab:update_readme into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1157
2025-03-28 05:43:00 +00:00
0xd9a
f48753c780 Update README.md 2025-03-28 08:52:40 +05:30
Максим Горпиніч
969d4457d0
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (29 of 29 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-03-27 19:16:01 +01:00
Thomas
fec6b8510e Release 3.31.1 2025-03-27 16:39:38 +01:00
Thomas
9f57e77d77 Add MinT machine translation system support 2025-03-27 16:31:12 +01:00
Thomas
f3ae0a6cea Fix issue #1136 - Top bar coloring at scroll for conversations 2025-03-27 15:14:28 +01:00
Thomas
f2ad02bbda Fix issue #1154 - Back screen when going back from the Peertube section 2025-03-27 12:22:10 +01:00
Thomas
cb947a7d3c Fix a crash when unpinning timelines 2025-03-27 12:08:54 +01:00
Thomas
7bdc67f922 Merge remote-tracking branch 'origin/develop' into develop 2025-03-27 10:14:08 +01:00
Thomas
504816e21c Fix issue #1156 - GIF are not displayed in timelines 2025-03-27 09:55:56 +01:00
Максим Горпиніч
152d70e4d7
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (28 of 28 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-03-26 21:01:53 +01:00
大王叫我来巡山
3ba4b64952
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1198 of 1198 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2025-03-26 15:02:03 +01:00
josé m
d3ec23fad5
Translated using Weblate (Galician)
Currently translated at 100.0% (1198 of 1198 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2025-03-26 15:02:01 +01:00
Максим Горпиніч
4160a4be1b
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1198 of 1198 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-03-26 01:01:59 +01:00
Thomas
c982e5a452 Release 3.31.0 2025-03-25 17:08:16 +01:00
Thomas
5b8d589598 Merge branch 'Fix_523' into develop 2025-03-25 16:57:04 +01:00
Thomas
0590458738 Merge remote-tracking branch 'origin/develop' into develop 2025-03-25 16:56:25 +01:00
Thomas
2e66b1dad6 Fix issue #1152 - Add a pinned Trending timeline (can be hidden in Manage Timelines) 2025-03-25 16:55:55 +01:00
Максим Горпиніч
59dc4a5a9f
Translated using Weblate (Ukrainian)
Currently translated at 99.8% (1196 of 1198 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-03-25 11:55:03 +01:00
Thomas
8ddb02ddeb Add a fallback to default translator when the DeepL API key is empty 2025-03-25 10:59:35 +01:00
Thomas
b46eed26ba Fix issue #727 - Only a part of DeepL translations are shown 2025-03-25 10:30:08 +01:00
Thomas
1b711d03eb Merge remote-tracking branch 'origin/develop' into develop 2025-03-25 09:48:26 +01:00
Thomas
9fbdfc3db0 add icon for the pixelfed settings 2025-03-25 09:46:47 +01:00
Thomas
9f79620d58 Fix issue #1150 - Allow to disable fullscreen media for Pixelfed 2025-03-25 09:41:53 +01:00
Thomas
6f3433da03 - Fix Lingva truncated translations
- Improve deobfuscation process
2025-03-25 08:16:48 +01:00
Thomas
6f26a55ae8 Merge pull request 'Add tooltips for tabs in profile (Issue #104)' (#1151) from 0xd9a/Fedilab:profile_tabs_tooltips into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1151
2025-03-24 07:07:06 +00:00
Thomas
07b7347417 Fix a crash when fetching remote profiles 2025-03-24 07:47:54 +01:00
Thomas
a9c50ab41f Fix a crash when displaying Home cache charts 2025-03-24 07:38:27 +01:00
Thomas
524fb7dd2a Fix a crash when animating a custom emoji 2025-03-24 07:32:43 +01:00
0xd9a
58aecf8db9 Add tooltips for tabs in profile (Issue #104) 2025-03-23 07:00:35 +05:30
Thomas
657b63b201 Merge pull request 'Increase touch area of reply, menu buttons (Issue #741)' (#1149) from 0xd9a/Fedilab:a_bit_better_buttons into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1149
2025-03-18 13:06:30 +00:00
0xd9a
f7ac237d6c Increase touch area of reply, menu buttons (Issue #741) 2025-03-18 18:08:38 +05:30
Thomas
5cb3b43eeb Fix issue #1147 - Media description not updated when there are several 2025-03-18 09:05:24 +01:00
Thomas
1d5d874415 Merge pull request 'Show a dialog after settings export (Issue #5)' (#1146) from 0xd9a/Fedilab:develop into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1146
2025-03-17 06:29:12 +00:00
0xd9a
66b117b81f Show a dialog after settings export (Issue #5) 2025-03-17 11:29:19 +05:30
Vaclovas Intas
97db978c8a
Translated using Weblate (Lithuanian)
Currently translated at 25.9% (310 of 1194 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/lt/
Translation: Fedilab/Strings
2025-03-15 22:33:03 +01:00
大王叫我来巡山
721d18669a
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1194 of 1194 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2025-03-15 20:19:46 +01:00
Максим Горпиніч
71c183d8a7
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1194 of 1194 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-03-15 20:19:46 +01:00
josé m
aa0ad9d57e
Translated using Weblate (Galician)
Currently translated at 100.0% (1194 of 1194 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2025-03-15 13:30:20 +01:00
Максим Горпиніч
1bf44bad10
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1194 of 1194 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-03-14 19:16:48 +00:00
Максим Горпиніч
5b3bbee285
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (27 of 27 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-03-14 20:16:38 +01:00
Thomas
238f31e3fc Release 3.30.1 2025-03-14 17:21:30 +01:00
Thomas
88c18cc487 Follow Twitter/X tags through Nitter 2025-03-14 16:51:01 +01:00
Thomas
0d2ae2eedf Fix layout issues in small dialogs (padding) 2025-03-14 16:13:01 +01:00
Thomas
a63175ff7d Merge remote-tracking branch 'origin/develop' into develop 2025-03-14 15:58:50 +01:00
Thomas
9001676971 Fix async actions with cached notifications 2025-03-14 10:50:46 +01:00
Thomas
ef6319b735 Update Unifiedpush Android connector to 3.0.7 2025-03-14 07:37:46 +01:00
XblateX
e14d2c143a
Translated using Weblate (Russian)
Currently translated at 30.7% (8 of 26 strings)

Co-authored-by: XblateX <blate@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/ru/
Translation: Fedilab/description
2025-03-14 03:25:24 +01:00
Thomas
b0cc06a3e5 Fix issue #1142 - Filters not applied to media descriptions 2025-03-13 16:37:20 +01:00
Thomas
90da257037 Fix #1143 - Fix a crash when scrolling 2025-03-13 15:52:48 +01:00
Thomas
916fe40381 Fix a crash with threads and decorations 2025-03-13 10:36:45 +01:00
Thomas
4c23100021 Fix a crash with media when exiting the app 2025-03-13 10:36:25 +01:00
Thomas
440fb41f1c Reduce the buffering when looping through GIF 2025-03-13 10:36:03 +01:00
Thomas
41d98b88d2 remove automatic backup for Google 2025-03-10 11:51:34 +01:00
Максим Горпиніч
d9cdfc88e9
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (26 of 26 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-03-06 23:31:26 +01:00
Thomas
3a571b8a22 Merge pull request 'Update README.md: Change wiki to documentation' (#1138) from 0xd9a/Fedilab:update_readme into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1138
2025-03-06 21:02:53 +00:00
0xd9a
b51ba4d88b Update README.md: Change wiki to documentation 2025-03-07 02:28:39 +05:30
Thomas
a71bf2c6f3 Release 3.30.0 - quick link fix 2025-03-06 19:10:07 +01:00
Thomas
97d803e97f Release 3.30.0 2025-03-06 17:35:20 +01:00
Thomas
0b29f2ec0a Merge remote-tracking branch 'origin/develop' into develop 2025-03-06 17:31:01 +01:00
Thomas
de9c4f902f Fix admin reports not accessible 2025-03-06 17:30:52 +01:00
Максим Горпиніч
95a344b3c2
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (25 of 25 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-03-06 16:18:50 +01:00
Thomas
170a5dfd06 small fix with use a token 2025-03-06 16:01:14 +01:00
Thomas
f35e75572f Prepare release notes 2025-03-06 15:55:45 +01:00
Thomas
7cb1e2d920 Fix fetch more size 2025-03-06 14:46:57 +01:00
Thomas
0fad05c049 Merge remote-tracking branch 'origin/develop' into develop 2025-03-06 11:06:52 +01:00
Thomas
94ea385aff Fix issue #1095 - Drafts not saved when adding/editing media descriptions 2025-03-06 11:06:25 +01:00
Thomas
ab30fc7bf2 Fix a crash when adding a media 2025-03-06 10:16:16 +01:00
Hosted Weblate
f16b415f7a
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/
Translation: Fedilab/description
2025-03-06 10:06:39 +01:00
Thomas
65dea8bf56 Prepare some release notes 2025-03-06 10:05:47 +01:00
Thomas
f266b582df Merge remote-tracking branch 'origin/develop' into develop 2025-03-06 07:33:01 +01:00
Thomas
deef87ef9d Fix issue #1136 - Top bar coloring at scroll 2025-03-06 07:32:50 +01:00
大王叫我来巡山
827124b79b
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1193 of 1193 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2025-03-06 04:12:35 +01:00
Irene
ea677dc7c6
Translated using Weblate (Swedish)
Currently translated at 6.2% (4 of 64 strings)

Co-authored-by: Irene <ps86m042i@mozmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/sv/
Translation: Fedilab/description
2025-03-05 18:03:54 +01:00
Thomas
325fbf8f5f Fix issue #1128 - Move QR code to header 2025-03-05 17:42:46 +01:00
Thomas
592be1f057 Merge remote-tracking branch 'origin/develop' into develop 2025-03-05 17:01:44 +01:00
Thomas
28021b5047 Fix issue #1131 - User search suggestions have duplicates 2025-03-05 17:01:31 +01:00
Irene
52138618bd
Translated using Weblate (Swedish)
Currently translated at 3.1% (2 of 64 strings)

Co-authored-by: Irene <ps86m042i@mozmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/sv/
Translation: Fedilab/description
2025-03-05 14:33:01 +01:00
Thomas
7b2e44c407 Fix Crash when editing scheduled message with attachments 2025-03-05 11:30:40 +01:00
Thomas
acc9f84533 Merge remote-tracking branch 'origin/develop' into develop 2025-03-05 10:38:33 +01:00
Thomas
8f641c4071 Fix issue #113 - Android password manager with Peertube 2025-03-05 10:38:22 +01:00
Vaclovas Intas
82122e2269
Translated using Weblate (Lithuanian)
Currently translated at 24.8% (296 of 1193 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/lt/
Translation: Fedilab/Strings
2025-03-05 05:08:55 +01:00
Максим Горпиніч
da81d15771
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1193 of 1193 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-03-05 05:08:54 +01:00
josé m
fe714aca0b
Translated using Weblate (Galician)
Currently translated at 100.0% (1193 of 1193 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2025-03-05 05:08:53 +01:00
Vaclovas Intas
5e21096f8c
Translated using Weblate (Lithuanian)
Currently translated at 4.6% (3 of 64 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/lt/
Translation: Fedilab/description
2025-03-05 05:08:38 +01:00
Максим Горпиніч
2049abff1e
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (64 of 64 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-03-05 05:08:37 +01:00
Thomas
848d015fd8 Release 3.30.0-beta-2 2025-03-04 17:58:49 +01:00
Thomas
01109c3842 Allow to scroll buttons for larger screen in conversation 2025-03-04 17:50:03 +01:00
Thomas
cbed45da29 Merge remote-tracking branch 'origin/develop' into develop 2025-03-04 17:05:45 +01:00
Thomas
f8ebd3435d Allow to login with a token 2025-03-04 17:05:33 +01:00
Thomas
020be16f11 Fix a crash 2025-03-04 15:41:15 +01:00
Thomas
35cd1b7b3e Fix a crash 2025-03-04 15:37:33 +01:00
Thomas
0eb3552c3c Add margin to quoted messages 2025-03-04 15:34:55 +01:00
Thomas
8d3621dbe7 Fix Nitter instances 2025-03-04 15:19:51 +01:00
Vaclovas Intas
03cc39d2e1
Translated using Weblate (Lithuanian)
Currently translated at 23.1% (275 of 1189 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/lt/
Translation: Fedilab/Strings
2025-03-04 03:52:33 +01:00
Vaclovas Intas
b913f49918
Translated using Weblate (Lithuanian)
Currently translated at 22.0% (262 of 1189 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/lt/
Translation: Fedilab/Strings
2025-03-03 23:12:10 +01:00
Lukáš Jelínek
661c373a05
Translated using Weblate (Czech)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2025-03-02 15:22:52 +01:00
Thomas
fae30e63a8 Fix Nitter using web calls 2025-03-02 11:49:22 +01:00
Isard
eb40866ea2
Translated using Weblate (Catalan)
Currently translated at 94.1% (1119 of 1189 strings)

Co-authored-by: Isard <isard@puntnet.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2025-03-02 11:04:12 +01:00
Thomas
c6494d7e04 Fix issue #1130 - Use Pixelfed layout 2025-03-01 16:23:07 +01:00
Thomas
e0b8b60fed Fix issue #1130 - Follow Pixelfed instance from the discover timeline 2025-03-01 16:06:39 +01:00
josé m
cdb0890fac
Translated using Weblate (Galician)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2025-02-28 17:02:55 +00:00
Максим Горпиніч
b5902d7ac8
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (63 of 63 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-02-28 08:02:21 +01:00
Thomas
885e8eb5d8 Merge remote-tracking branch 'origin/develop' into develop 2025-02-27 16:59:35 +01:00
Thomas
0cfb1b1eae Prepares 2.30.0-beta-1 2025-02-27 16:59:10 +01:00
Thomas
ee89abe16f keep media proportion in timelines for Pixelfed 2025-02-27 16:50:06 +01:00
Thomas
310d6bf4aa Add like button on Pixelfed timelines 2025-02-27 15:06:51 +01:00
Thomas
f94251776b Fix Pixelfed view not used for Pixelfed accounts 2025-02-27 14:11:47 +01:00
Thomas
d98ba21957 Fix issue #1129 - Changed: Give more width to the detailed message in conversations 2025-02-27 11:28:47 +01:00
Thomas
02a9e26f2c UNICODE_CASE for regex 2025-02-27 11:04:03 +01:00
Thomas
55098c50f1 #1119 - Fix URLs not clickable when Markdown is enabled 2025-02-27 10:06:08 +01:00
Thomas
8c0b5032ec #1119 - Deal with URLs having spannable with space characters 2025-02-26 12:00:00 +01:00
Thomas
d28a114650 Fix issue #1112 - Don't lowercase xmpp url 2025-02-26 10:51:36 +01:00
Максим Горпиніч
90a42c6e04
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (62 of 62 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-02-26 09:49:25 +01:00
Languages add-on
9068a60b99
Added translation using Weblate (Lithuanian)
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
2025-02-26 01:46:13 +01:00
Thomas
efc8d9d502 Release 3.29.2 2025-02-25 18:06:41 +01:00
Thomas
4c3e8b48dd Merge remote-tracking branch 'origin/develop' into develop 2025-02-25 17:50:16 +01:00
Thomas
23b6aa4c2b #1111 - Fix wrong muted time 2025-02-25 17:46:23 +01:00
Thomas
acff2ae390 #1112 - Fix xmpp links not opening xmpp client 2025-02-25 17:18:08 +01:00
Thomas
98adcc1abd Fix issue with names not displayed fully 2025-02-25 10:35:54 +01:00
Thomas
6d47a8736e Merge pull request 'Optimizations regarding push' (#1127) from s1m/Fedilab:optimizations_push into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1127
2025-02-25 09:28:21 +00:00
sim
ec60b63c68 Unregister push endpoint onUnregistered 2025-02-25 10:20:03 +01:00
sim
b26b10c651 Always register push endpoint
The mastodon server may remove the endpoint if the push server
has been in an inconsistent state (returning a 404), or the endpoint
may not be restored after a backup, or other edge cases
2025-02-25 10:19:43 +01:00
sim
f93533f95b Remove useless exclude 2025-02-25 10:17:09 +01:00
Thomas
ef50b5261a Lib update + fix TransactionTooLargeException 2025-02-25 09:47:53 +01:00
Vaclovas Intas
04e18c7518
Translated using Weblate (Lithuanian)
Currently translated at 25.9% (309 of 1190 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/lt/
Translation: Fedilab/Strings
2025-02-25 08:53:11 +01:00
Vaclovas Intas
a2338c5fca
Translated using Weblate (Lithuanian)
Currently translated at 24.7% (294 of 1190 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/lt/
Translation: Fedilab/Strings
2025-02-25 07:14:10 +00:00
Vaclovas Intas
7087f80c9c
Translated using Weblate (Lithuanian)
Currently translated at 4.9% (3 of 61 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/lt/
Translation: Fedilab/description
2025-02-25 08:13:55 +01:00
Vaclovas Intas
8512db5c01
Translated using Weblate (Lithuanian)
Currently translated at 24.5% (292 of 1190 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/lt/
Translation: Fedilab/Strings
2025-02-25 08:11:50 +01:00
Vaclovas Intas
5f53cb39bd
Translated using Weblate (Lithuanian)
Currently translated at 3.2% (2 of 61 strings)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/lt/
Translation: Fedilab/description
2025-02-24 19:40:00 +01:00
Languages add-on
e3a862abff
Added translation using Weblate (Lithuanian)
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
2025-02-24 17:57:10 +01:00
Thomas
a20f583dee Fix issue #1125 - Crash when changing the type of notifications 2025-02-24 11:36:02 +01:00
Thomas
efbfbfbc2f remove useless code 2025-02-24 10:41:05 +01:00
Максим Горпиніч
8a408c4925
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (61 of 61 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-02-24 01:03:36 +01:00
Thomas
5aa8cd909f Fix a crash in notifications for Sharkey 2025-02-23 10:51:50 +01:00
Thomas
2ddc0540a8 Release 3.29.1 2025-02-22 17:04:33 +01:00
Thomas
ef83f58648 Fix a crash 2025-02-22 16:51:05 +01:00
Thomas
91a2d61fd0 Change link for push notification helper 2025-02-22 16:11:43 +01:00
Thomas
f3265b439a Merge remote-tracking branch 'origin/develop' into develop 2025-02-22 15:49:47 +01:00
Thomas
1ca3670cb4 Fix emoji picker when there is no result 2025-02-22 15:49:23 +01:00
大王叫我来巡山
5f5cf2e3e5
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1190 of 1190 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2025-02-22 14:10:12 +01:00
josé m
37d319215c
Translated using Weblate (Galician)
Currently translated at 100.0% (1190 of 1190 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2025-02-22 14:10:12 +01:00
Thomas
661b7fb2b0 - Fix issue #961 - Quotes broken with Markdowns 2025-02-22 10:43:37 +01:00
Thomas
1a0131e05a - Fix a display bug from 2.29.0 2025-02-22 10:26:20 +01:00
Thomas
b034f6731a - Fix reports crashes after submitting
- Use full reports for profiles
2025-02-22 09:41:46 +01:00
Thomas
cb96f0df44 Merge remote-tracking branch 'origin/develop' into develop 2025-02-22 09:10:50 +01:00
Thomas
f39ba15194 Fix issue #1123 - Likes in Sharkey show up as new follows 2025-02-22 09:10:31 +01:00
Thomas
8b42c6d2b6 Remove registration for Google flavor 2025-02-22 08:51:59 +01:00
Максим Горпиніч
753cd5743b
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1190 of 1190 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-02-21 20:52:21 +01:00
Максим Горпиніч
39c7157b9f
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (60 of 60 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-02-21 20:52:11 +01:00
Anonymous
2d38090964
Translated using Weblate (Tamil)
Currently translated at 99.2% (1181 of 1190 strings)

Translated using Weblate (Gaelic)

Currently translated at 99.7% (1187 of 1190 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 54.8% (653 of 1190 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 99.7% (1187 of 1190 strings)

Translated using Weblate (Vietnamese)

Currently translated at 71.8% (855 of 1190 strings)

Translated using Weblate (Turkish)

Currently translated at 99.7% (1187 of 1190 strings)

Translated using Weblate (Sinhala)

Currently translated at 55.7% (664 of 1190 strings)

Translated using Weblate (Sardinian)

Currently translated at 99.7% (1187 of 1190 strings)

Translated using Weblate (Portuguese)

Currently translated at 84.6% (1007 of 1190 strings)

Translated using Weblate (Polish)

Currently translated at 99.7% (1187 of 1190 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 91.7% (1092 of 1190 strings)

Translated using Weblate (Dutch)

Currently translated at 92.5% (1101 of 1190 strings)

Translated using Weblate (Japanese)

Currently translated at 99.5% (1185 of 1190 strings)

Translated using Weblate (Italian)

Currently translated at 98.9% (1177 of 1190 strings)

Translated using Weblate (Hungarian)

Currently translated at 57.8% (689 of 1190 strings)

Translated using Weblate (Galician)

Currently translated at 99.7% (1187 of 1190 strings)

Translated using Weblate (French)

Currently translated at 99.6% (1186 of 1190 strings)

Translated using Weblate (Basque)

Currently translated at 95.7% (1139 of 1190 strings)

Translated using Weblate (Spanish)

Currently translated at 99.6% (1186 of 1190 strings)

Translated using Weblate (Esperanto)

Currently translated at 81.5% (970 of 1190 strings)

Translated using Weblate (Czech)

Currently translated at 99.7% (1187 of 1190 strings)

Translated using Weblate (Catalan)

Currently translated at 78.9% (939 of 1190 strings)

Translated using Weblate (Arabic)

Currently translated at 84.9% (1011 of 1190 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ar/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/eo/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/es/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/eu/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/hu/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/it/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/nl/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pl/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pt/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/sc/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/si/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ta/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/vi/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hant/
Translation: Fedilab/Strings
2025-02-21 17:09:46 +01:00
Thomas
daf1ff37ff Merge remote-tracking branch 'origin/develop' into develop 2025-02-21 16:57:03 +01:00
Thomas
759de7bca0 prepare release 3.29.0 2025-02-21 16:55:45 +01:00
Thomas
031c842ba7 Fix issue #1090 - Instant search of Hashtag repeats results 2025-02-21 16:44:27 +01:00
Thomas
7e78b5da6e Edit scheduled threads 2025-02-21 15:34:02 +01:00
Thomas
7d9d2346cc Allow to edit scheduled messages from server side 2025-02-21 11:32:34 +01:00
Thomas
92eb1ea3d1 Order list name alphabetically in profiles 2025-02-21 08:50:16 +01:00
Thomas
c49fe7901a Fix Peertube instances picker 2025-02-20 18:44:37 +01:00
Thomas
fc24e63319 Fix #1120 - Display a message when clicking a link without Internet connection 2025-02-20 17:29:04 +01:00
Thomas
97e30e00b4 Fallback to 34 + update libs 2025-02-20 11:38:50 +01:00
Thomas
38a630a4e5 Push notifications 2025-02-19 16:44:29 +01:00
ButterflyOfFire
a8e362273c
Translated using Weblate (Kabyle)
Currently translated at 61.5% (732 of 1189 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/kab/
Translation: Fedilab/Strings
2025-02-19 13:16:05 +01:00
Thomas
318a566e76 update libs + fix bugs 2025-02-18 16:10:06 +01:00
Thomas
96a43a7c32 Fix build issue 2025-02-18 12:13:56 +01:00
pitroig
dd0a432b02
Translated using Weblate (Catalan)
Currently translated at 6.7% (4 of 59 strings)

Co-authored-by: pitroig <ona@riseup.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/ca/
Translation: Fedilab/description
2025-02-17 08:08:41 +01:00
Максим Горпиніч
4d29a2baf8
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-02-15 17:02:00 +01:00
XblateX
c9325d5a53
Translated using Weblate (Russian)
Currently translated at 84.2% (1002 of 1189 strings)

Co-authored-by: XblateX <blate@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2025-02-15 17:01:58 +01:00
Mads Damgaard Mortensen
04e8f7318c
Translated using Weblate (Danish)
Currently translated at 8.4% (5 of 59 strings)

Co-authored-by: Mads Damgaard Mortensen <weblate.upcountry931@passmail.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/da/
Translation: Fedilab/description
2025-02-14 06:08:16 +01:00
XblateX
37428d8e24
Translated using Weblate (Russian)
Currently translated at 83.5% (993 of 1189 strings)

Co-authored-by: XblateX <blate@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2025-02-09 03:02:40 +00:00
snue pirat
0914fd1166
Translated using Weblate (Danish)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: snue pirat <snue@proton.me>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/da/
Translation: Fedilab/Strings
2025-02-05 00:02:03 +01:00
snue pirat
3799bf4a48
Translated using Weblate (Danish)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: snue pirat <snue@proton.me>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/da/
Translation: Fedilab/Strings
2025-02-03 04:03:07 +01:00
Максим Горпиніч
992df41002
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2025-02-01 23:41:05 +01:00
snue pirat
a965922dd7
Translated using Weblate (Danish)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: snue pirat <snue@proton.me>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/da/
Translation: Fedilab/Strings
2025-02-01 23:41:04 +01:00
Максим Горпиніч
89eaa0ea3c
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (59 of 59 strings)

Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2025-02-01 23:40:46 +01:00
Hosted Weblate
370fb94e21
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/
Translation: Fedilab/Strings
2025-01-29 21:02:11 +01:00
ButterflyOfFire
c4ad7ff87a
Translated using Weblate (Kabyle)
Currently translated at 61.5% (732 of 1189 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/kab/
Translation: Fedilab/Strings
2025-01-29 21:02:08 +01:00
snue pirat
86c7ea4021
Translated using Weblate (Danish)
Currently translated at 6.7% (4 of 59 strings)

Co-authored-by: snue pirat <snue@proton.me>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/da/
Translation: Fedilab/description
2025-01-29 14:02:07 +01:00
Hosted Weblate
ff6a0c2298
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/
Translation: Fedilab/Strings
2025-01-29 07:02:13 +01:00
snue pirat
7c50126dd4
Translated using Weblate (Kabyle)
Currently translated at 61.6% (733 of 1189 strings)

Translated using Weblate (Danish)

Currently translated at 99.7% (1186 of 1189 strings)

Co-authored-by: snue pirat <snue@proton.me>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/da/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/kab/
Translation: Fedilab/Strings
2025-01-29 07:02:11 +01:00
Bob Idle
6ad9567215
Translated using Weblate (German)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: Bob Idle <102661087+bobidle@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2025-01-21 09:00:33 +01:00
Bob Idle
e7203e1b4c
Translated using Weblate (German)
Currently translated at 16.9% (10 of 59 strings)

Co-authored-by: Bob Idle <102661087+bobidle@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/de/
Translation: Fedilab/description
2025-01-20 06:00:30 +01:00
Juli
b84ac60239
Translated using Weblate (Finnish)
Currently translated at 1.6% (1 of 59 strings)

Co-authored-by: Juli <julimiro@posteo.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/fi/
Translation: Fedilab/description
2025-01-17 10:12:09 +01:00
Bob Idle
7fb987a22b
Translated using Weblate (German)
Currently translated at 15.2% (9 of 59 strings)

Co-authored-by: Bob Idle <102661087+bobidle@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/de/
Translation: Fedilab/description
2025-01-17 10:12:09 +01:00
Juli
d47c5c44c0
Added translation using Weblate (Finnish)
Co-authored-by: Juli <julimiro@posteo.net>
2025-01-16 10:50:55 +01:00
大王叫我来巡山
9590a58b3c
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (59 of 59 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/zh_Hans/
Translation: Fedilab/description
2025-01-16 10:50:30 +01:00
Poesty Li
7369158e29
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (59 of 59 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/zh_Hans/
Translation: Fedilab/description
2025-01-16 06:01:00 +01:00
தமிழ்நேரம்
8d3111b6ab
Translated using Weblate (Tamil)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ta/
Translation: Fedilab/Strings
2024-12-26 13:02:34 +00:00
தமிழ்நேரம்
cbdb950e27
Translated using Weblate (Tamil)
Currently translated at 100.0% (59 of 59 strings)

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/ta/
Translation: Fedilab/description
2024-12-26 14:00:42 +01:00
Languages add-on
263d332f37
Added translation using Weblate (Tamil)
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
2024-12-25 17:55:08 +01:00
josé m
ec40bf1a5e
Translated using Weblate (Galician)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2024-12-22 00:05:09 +01:00
josé m
a6ee4cb684
Translated using Weblate (Galician)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2024-12-21 04:00:32 +01:00
Miren
36d29c9765
Translated using Weblate (Basque)
Currently translated at 5.0% (3 of 59 strings)

Co-authored-by: Miren <librezale@miren.be>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/eu/
Translation: Fedilab/description
2024-11-25 05:00:29 +01:00
Miren
ca126dfc1e
Translated using Weblate (Basque)
Currently translated at 96.1% (1143 of 1189 strings)

Co-authored-by: Miren <librezale@miren.be>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/eu/
Translation: Fedilab/Strings
2024-11-25 03:00:48 +01:00
phlostically
4620ebe7ff
Translated using Weblate (Esperanto)
Currently translated at 81.6% (971 of 1189 strings)

Co-authored-by: phlostically <phlostically@mailinator.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/eo/
Translation: Fedilab/Strings
2024-11-19 14:00:35 +00:00
Free_squire
4c39cc28a9
Translated using Weblate (Russian)
Currently translated at 83.4% (992 of 1189 strings)

Co-authored-by: Free_squire <danil_pyankov_2004@mail.ru>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2024-11-18 00:00:46 +01:00
phlostically
3de3192797
Translated using Weblate (Esperanto)
Currently translated at 65.6% (780 of 1189 strings)

Co-authored-by: phlostically <phlostically@mailinator.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/eo/
Translation: Fedilab/Strings
2024-11-18 00:00:46 +01:00
Free_squire
601c1e4bb3
Translated using Weblate (Russian)
Currently translated at 11.8% (7 of 59 strings)

Co-authored-by: Free_squire <danil_pyankov_2004@mail.ru>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/ru/
Translation: Fedilab/description
2024-11-18 00:00:33 +01:00
XblateX
5b4199a570
Translated using Weblate (Russian)
Currently translated at 80.4% (956 of 1189 strings)

Co-authored-by: XblateX <blate@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2024-10-11 06:56:47 +02:00
ButterflyOfFire
f3e4e9d177
Translated using Weblate (Kabyle)
Currently translated at 61.5% (732 of 1189 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/kab/
Translation: Fedilab/Strings
2024-10-09 05:15:55 +00:00
Nazar
0df166518f
Translated using Weblate (Ukrainian)
Currently translated at 69.7% (829 of 1189 strings)

Co-authored-by: Nazar <balaraz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2024-09-12 02:09:33 +00:00
harc esz
0fdb76cd83
Translated using Weblate (Polish)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: harc esz <harcesz@riseup.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pl/
Translation: Fedilab/Strings
2024-09-12 02:09:32 +00:00
ButterflyOfFire
2ea1c52202
Translated using Weblate (French)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2024-08-30 08:09:27 +02:00
Nazar
d8eee9a010
Translated using Weblate (Ukrainian)
Currently translated at 67.9% (808 of 1189 strings)

Co-authored-by: Nazar <balaraz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2024-08-25 00:09:16 +02:00
Nazar
822eb59051
Translated using Weblate (Ukrainian)
Currently translated at 66.4% (790 of 1189 strings)

Co-authored-by: Nazar <balaraz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2024-08-24 04:09:19 +00:00
josé m
de326c7292
Translated using Weblate (Galician)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2024-08-21 19:09:17 +02:00
Nazar
a2c8b36b95
Translated using Weblate (Ukrainian)
Currently translated at 65.6% (780 of 1189 strings)

Co-authored-by: Nazar <balaraz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2024-08-11 21:09:20 +02:00
Nazar
9ed18854ca
Translated using Weblate (Ukrainian)
Currently translated at 65.2% (776 of 1189 strings)

Co-authored-by: Nazar <balaraz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2024-08-08 09:09:18 +02:00
Nazar
7e6cc8ddf8
Translated using Weblate (Ukrainian)
Currently translated at 64.6% (769 of 1189 strings)

Co-authored-by: Nazar <balaraz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2024-08-07 19:09:16 +02:00
Nazar
2597425643
Translated using Weblate (Ukrainian)
Currently translated at 3.3% (2 of 59 strings)

Co-authored-by: Nazar <balaraz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2024-08-06 23:09:28 +02:00
GunChleoc
7ab3bbbf98
Translated using Weblate (Gaelic)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2024-08-06 23:09:16 +02:00
Nazar
36c0816835
Translated using Weblate (Ukrainian)
Currently translated at 62.9% (748 of 1189 strings)

Co-authored-by: Nazar <balaraz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2024-08-06 23:09:16 +02:00
Wydow
317e565b67
Translated using Weblate (French)
Currently translated at 99.6% (1185 of 1189 strings)

Co-authored-by: Wydow <wydow@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2024-08-05 06:09:23 +02:00
大王叫我来巡山
0afe1d61ef
Translated using Weblate (Chinese (Simplified))
Currently translated at 6.7% (4 of 59 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/zh_Hans/
Translation: Fedilab/description
2024-08-04 14:09:19 +00:00
大王叫我来巡山
0e0fa784d1
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2024-08-04 09:09:19 +02:00
ed tavinor
368d04e8e7
Translated using Weblate (Esperanto)
Currently translated at 62.9% (749 of 1189 strings)

Co-authored-by: ed tavinor <edtavinor@posteo.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/eo/
Translation: Fedilab/Strings
2024-08-04 09:09:17 +02:00
GunChleoc
379992a836
Translated using Weblate (Gaelic)
Currently translated at 98.4% (1170 of 1189 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2024-08-02 03:09:23 +00:00
gallegonovato
affa6623c3
Translated using Weblate (Spanish)
Currently translated at 20.3% (12 of 59 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/es/
Translation: Fedilab/description
2024-07-31 05:09:24 +02:00
Ajeje Brazorf
9dd6cc630f
Translated using Weblate (Sardinian)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/sc/
Translation: Fedilab/Strings
2024-07-29 18:42:52 +02:00
Ajeje Brazorf
e9581dfb0a
Translated using Weblate (Sardinian)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/sc/
Translation: Fedilab/Strings
2024-07-28 10:09:11 +02:00
gallegonovato
bf73c2c5ec
Translated using Weblate (Spanish)
Currently translated at 16.9% (10 of 59 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/es/
Translation: Fedilab/description
2024-07-23 00:00:26 +02:00
gallegonovato
8b566f8157
Translated using Weblate (Spanish)
Currently translated at 13.5% (8 of 59 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/es/
Translation: Fedilab/description
2024-07-13 23:09:44 +00:00
Cosmin Humeniuc
20705ef917
Translated using Weblate (Romanian)
Currently translated at 58.7% (699 of 1189 strings)

Co-authored-by: Cosmin Humeniuc <cosmin@hume.ro>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ro/
Translation: Fedilab/Strings
2024-07-13 03:09:18 +02:00
Cosmin Humeniuc
520cdd0524
Translated using Weblate (Romanian)
Currently translated at 58.2% (693 of 1189 strings)

Co-authored-by: Cosmin Humeniuc <cosmin@hume.ro>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ro/
Translation: Fedilab/Strings
2024-07-08 09:09:12 +02:00
Cosmin Humeniuc
308a8e8cfb
Translated using Weblate (Romanian)
Currently translated at 57.3% (682 of 1189 strings)

Co-authored-by: Cosmin Humeniuc <cosmin@hume.ro>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ro/
Translation: Fedilab/Strings
2024-07-07 20:09:23 +02:00
gallegonovato
df311466e8
Translated using Weblate (Spanish)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/es/
Translation: Fedilab/Strings
2024-06-30 09:09:19 +00:00
gallegonovato
7581218888
Translated using Weblate (Spanish)
Currently translated at 99.9% (1188 of 1189 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/es/
Translation: Fedilab/Strings
2024-06-23 00:09:22 +02:00
Roberto Michán Sánchez
e027f70665
Translated using Weblate (Spanish)
Currently translated at 99.9% (1188 of 1189 strings)

Co-authored-by: Roberto Michán Sánchez <robertoms258@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/es/
Translation: Fedilab/Strings
2024-06-23 00:09:22 +02:00
Buffy
275f8dfcf4
Translated using Weblate (Spanish)
Currently translated at 97.2% (1156 of 1189 strings)

Co-authored-by: Buffy <james6cuerdas@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/es/
Translation: Fedilab/Strings
2024-06-21 16:09:22 +02:00
Buffy
cf7ef6ca19
Translated using Weblate (Spanish)
Currently translated at 93.5% (1112 of 1189 strings)

Co-authored-by: Buffy <james6cuerdas@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/es/
Translation: Fedilab/Strings
2024-06-17 06:31:50 +02:00
Buffy
69fea8d8e3
Translated using Weblate (Spanish)
Currently translated at 90.2% (1073 of 1189 strings)

Co-authored-by: Buffy <james6cuerdas@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/es/
Translation: Fedilab/Strings
2024-06-15 21:16:51 +02:00
Cosmin Humeniuc
17fd8850fc
Translated using Weblate (Romanian)
Currently translated at 55.4% (659 of 1189 strings)

Co-authored-by: Cosmin Humeniuc <cosmin@hume.ro>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ro/
Translation: Fedilab/Strings
2024-06-15 04:09:27 +00:00
Buffy
58cc356ea1
Translated using Weblate (Spanish)
Currently translated at 89.4% (1064 of 1189 strings)

Co-authored-by: Buffy <james6cuerdas@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/es/
Translation: Fedilab/Strings
2024-06-15 04:09:25 +00:00
Buffy
b5f8d492a4
Translated using Weblate (Spanish)
Currently translated at 78.3% (931 of 1189 strings)

Co-authored-by: Buffy <james6cuerdas@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/es/
Translation: Fedilab/Strings
2024-06-14 13:09:22 +02:00
Allen M
ad40cc7d4d
Translated using Weblate (Japanese)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: Allen M <3point14159265358@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translation: Fedilab/Strings
2024-05-31 12:09:15 +02:00
XblateX
c4963f525a
Translated using Weblate (Russian)
Currently translated at 80.3% (955 of 1189 strings)

Co-authored-by: XblateX <blate@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2024-05-30 01:09:14 +02:00
Software In Interlingua
c511cab2bb
Translated using Weblate (Interlingua)
Currently translated at 24.3% (290 of 1189 strings)

Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ia/
Translation: Fedilab/Strings
2024-05-20 10:01:53 +02:00
XblateX
29073ebd0f
Translated using Weblate (Russian)
Currently translated at 80.2% (954 of 1189 strings)

Co-authored-by: XblateX <blate@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2024-05-12 23:01:03 +02:00
Software In Interlingua
c17d5b42b2
Translated using Weblate (Interlingua)
Currently translated at 23.9% (285 of 1189 strings)

Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ia/
Translation: Fedilab/Strings
2024-05-07 06:07:12 +02:00
XblateX
83d2fb85f0
Translated using Weblate (Ukrainian)
Currently translated at 59.1% (703 of 1189 strings)

Co-authored-by: XblateX <blate@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2024-05-07 06:07:10 +02:00
XblateX
04347c10f1
Translated using Weblate (Ukrainian)
Currently translated at 59.0% (702 of 1189 strings)

Translated using Weblate (Russian)

Currently translated at 80.0% (952 of 1189 strings)

Co-authored-by: XblateX <blate@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2024-04-29 02:07:22 +02:00
Oğuz Ersen
b3b327f60a
Translated using Weblate (Turkish)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2024-04-25 08:07:28 +02:00
Ajeje Brazorf
93ac90156f
Translated using Weblate (Sardinian)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/sc/
Translation: Fedilab/Strings
2024-04-07 08:02:00 +02:00
Oğuz Ersen
c82f171e07
Translated using Weblate (Turkish)
Currently translated at 99.9% (1188 of 1189 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2024-03-23 03:04:56 +01:00
josé m
a7b2a705f5
Translated using Weblate (Galician)
Currently translated at 25.4% (15 of 59 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/gl/
Translation: Fedilab/description
2024-03-22 18:02:23 +01:00
josé m
437fd6d0bd
Translated using Weblate (Galician)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2024-03-22 18:02:03 +01:00
Lukáš Jelínek
59d0a98729
Translated using Weblate (Czech)
Currently translated at 100.0% (1189 of 1189 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2024-03-22 00:48:59 +01:00
Anna K
3a13c0635f
Translated using Weblate (German)
Currently translated at 15.2% (9 of 59 strings)

Co-authored-by: Anna K <anna@montanha.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/de/
Translation: Fedilab/description
2024-03-22 00:47:58 +01:00
Thomas
b9b381a780 Release 3.28.2 2024-03-21 17:57:29 +01:00
Thomas
38b72e7732 align icon 2024-03-21 17:52:34 +01:00
Thomas
86e8e639a3 Create QR-Code for profile URL 2024-03-21 17:24:28 +01:00
Thomas
9907717638 Fix issue - Non clickable messages in threads 2024-03-21 09:53:30 +01:00
Thomas
f49fdfa2b9 Merge remote-tracking branch 'origin/develop' into develop 2024-03-21 09:37:18 +01:00
Thomas
91941a562d Fix issue #1047 - Long pronouns displace the user name 2024-03-21 09:36:12 +01:00
ButterflyOfFire
11361f50a6
Translated using Weblate (Kabyle)
Currently translated at 59.0% (701 of 1188 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/kab/
Translation: Fedilab/Strings
2024-03-17 02:02:07 +01:00
Lukáš Jelínek
963e10eb04
Translated using Weblate (Czech)
Currently translated at 100.0% (1188 of 1188 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2024-03-10 15:02:00 +01:00
ButterflyOfFire
7e82ec918a
Translated using Weblate (Kabyle)
Currently translated at 55.5% (660 of 1188 strings)

Translated using Weblate (Catalan)

Currently translated at 79.1% (940 of 1188 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/kab/
Translation: Fedilab/Strings
2024-03-09 09:01:53 +01:00
Max Harmathy
639297df1d
Translated using Weblate (Japanese)
Currently translated at 100.0% (1188 of 1188 strings)

Co-authored-by: Max Harmathy <max.harmathy@web.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translation: Fedilab/Strings
2024-03-08 01:01:47 +01:00
Alfika07
b54f7ddaf5
Translated using Weblate (Hungarian)
Currently translated at 58.0% (690 of 1188 strings)

Co-authored-by: Alfika07 <alfika07@vivaldi.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/hu/
Translation: Fedilab/Strings
2024-03-04 21:01:45 +01:00
claleb
db4e48eb50
Translated using Weblate (German)
Currently translated at 100.0% (1188 of 1188 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2024-03-04 21:01:45 +01:00
Integral
43697263a8
Translated using Weblate (Chinese (Simplified))
Currently translated at 5.1% (3 of 58 strings)

Co-authored-by: Integral <integral@member.fsf.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/zh_Hans/
Translation: Fedilab/description
2024-03-04 12:01:52 +01:00
Sertonix
a3efb1ddad Change title in bottom nav menu from Private to Direct 2024-03-02 16:38:50 +01:00
Poesty Li
c201b1b918
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1188 of 1188 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2024-03-02 06:02:04 +01:00
josé m
a0e4472ef2
Translated using Weblate (Galician)
Currently translated at 100.0% (1188 of 1188 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2024-02-24 20:02:15 +01:00
Thomas
9e7e100009 Release 3.28.1 2024-02-23 18:10:48 +01:00
Thomas
01d57755c2 Add more pronouns 2024-02-23 17:29:26 +01:00
Thomas
2ecd51230f Merge branch 'improve_pronouns_support' into develop 2024-02-23 15:57:31 +01:00
Thomas
f87c63acec Add more pronouns 2024-02-23 15:57:12 +01:00
Thomas
53b8f9e159 Fix a layout issue 2024-02-23 15:52:50 +01:00
Thomas
c89df20a25 update list for pronouns 2024-02-23 10:31:54 +01:00
Thomas
26d51caaf8 Allow to disable pronouns support - Default enabled 2024-02-23 10:29:36 +01:00
Thomas
b943309dd2 Add localization for pronons support 2024-02-23 10:17:55 +01:00
Thomas
ff026e260a Merge remote-tracking branch 'origin/develop' into develop 2024-02-23 09:39:10 +01:00
Thomas
70405221ea clean code 2024-02-23 09:37:54 +01:00
Thomas
d0fb1b09dc Fix layout overlays 2024-02-23 09:33:52 +01:00
Thomas
28ca138e43 Fix #1040 - Fix a crash when reporting messages 2024-02-22 15:49:42 +01:00
Thomas
ecd25badf7 Fix #1043 - Fix a crash when adding a followed tag in empty list 2024-02-22 09:10:17 +01:00
Thomas
13946fe56e Fix a crash with media 2024-02-22 07:42:31 +01:00
ButterflyOfFire
2bc6ba97f9
Translated using Weblate (Arabic)
Currently translated at 85.3% (1012 of 1186 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ar/
Translation: Fedilab/Strings
2024-02-19 23:07:05 +01:00
Cosmin Humeniuc
29867ceaec
Translated using Weblate (Romanian)
Currently translated at 1.7% (1 of 57 strings)

Co-authored-by: Cosmin Humeniuc <cosmin@hume.ro>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/ro/
Translation: Fedilab/description
2024-02-10 07:02:05 +01:00
v1s7
54771716f0
Translated using Weblate (Russian)
Currently translated at 79.5% (943 of 1186 strings)

Co-authored-by: v1s7 <v1s7@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2024-02-09 23:02:13 +01:00
Cosmin Humeniuc
acc1bcd183
Translated using Weblate (Romanian)
Currently translated at 55.4% (658 of 1186 strings)

Co-authored-by: Cosmin Humeniuc <cosmin@hume.ro>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ro/
Translation: Fedilab/Strings
2024-02-09 23:02:12 +01:00
v1s7
d6a69ee982
Translated using Weblate (Russian)
Currently translated at 78.9% (936 of 1186 strings)

Co-authored-by: v1s7 <v1s7@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2024-02-09 05:02:02 +01:00
v1s7
4b3bb1f073
Translated using Weblate (Russian)
Currently translated at 8.7% (5 of 57 strings)

Co-authored-by: v1s7 <v1s7@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/ru/
Translation: Fedilab/description
2024-02-09 02:02:35 +01:00
Mikhail Kobuk
a9cd58ceab
Translated using Weblate (Russian)
Currently translated at 77.8% (923 of 1186 strings)

Co-authored-by: Mikhail Kobuk <arktixord@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2024-02-08 16:53:44 +01:00
v1s7
71de62a838
Translated using Weblate (Russian)
Currently translated at 77.8% (923 of 1186 strings)

Co-authored-by: v1s7 <v1s7@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2024-02-08 16:53:44 +01:00
Mikhail Kobuk
6ba902607c
Translated using Weblate (Russian)
Currently translated at 77.8% (923 of 1186 strings)

Co-authored-by: Mikhail Kobuk <arktixord@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2024-02-08 16:49:39 +01:00
v1s7
70f754040c
Translated using Weblate (Russian)
Currently translated at 77.8% (923 of 1186 strings)

Co-authored-by: v1s7 <v1s7@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2024-02-08 16:49:39 +01:00
ButterflyOfFire
d4819a19b7
Translated using Weblate (French)
Currently translated at 99.0% (1175 of 1186 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2024-02-08 16:49:39 +01:00
Thomas
2f11eaf315 Fix a crash with profiles 2024-02-02 18:44:23 +01:00
Thomas
096dc6e98c Fix a crash with back button 2024-02-02 18:28:33 +01:00
Thomas
227d2ef58b Fix a crash when switching to remote profiles 2024-02-02 18:15:42 +01:00
josé m
3b677fa0a1
Translated using Weblate (Galician)
Currently translated at 100.0% (1186 of 1186 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2024-01-31 11:57:07 +01:00
josé m
1b9d7fdb75
Translated using Weblate (Galician)
Currently translated at 17.5% (10 of 57 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/gl/
Translation: Fedilab/description
2024-01-31 11:56:58 +01:00
Thomas
c44330d291 Release 3.28.0 2024-01-30 17:51:42 +01:00
Thomas
8832e89539 Fix issue #1032 - Sharing videos only download them 2024-01-30 17:37:34 +01:00
Thomas
9a8d359592 Fix #1030 - Delay for timed mute sent in ms 2024-01-30 16:48:58 +01:00
Thomas
57decc15bd Merge remote-tracking branch 'origin/develop' into develop 2024-01-30 16:43:39 +01:00
Thomas
4b051a42ae Add position/time for videos 2024-01-30 16:43:10 +01:00
Thomas
6b75118926 Fix self pronouns applied in notifications 2024-01-30 16:12:27 +01:00
Thomas
ec44a6e4f3 parse html for pronouns 2024-01-30 15:53:12 +01:00
claleb
3bda4b3f79
Translated using Weblate (German)
Currently translated at 100.0% (1186 of 1186 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2024-01-30 06:01:58 +01:00
Thomas
0400f316e6 Release notes 2024-01-29 17:26:53 +01:00
Thomas
27436916ee Release 3.28-beta-1 2024-01-29 17:25:42 +01:00
Thomas
4055f1b8c5 Merge remote-tracking branch 'origin/develop' into develop 2024-01-29 17:20:44 +01:00
Thomas
40251607e5 Fix peertuble toggle button 2024-01-29 17:19:32 +01:00
Thomas
bdbfd005fa Fix controller with Media3 2024-01-29 15:24:34 +01:00
Thomas
1ad956e965 change currentAccount with a getter 2024-01-29 15:02:56 +01:00
Lukas
44f1a4faa0
Translated using Weblate (Polish)
Currently translated at 100.0% (1186 of 1186 strings)

Co-authored-by: Lukas <ox86udoo@duck.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pl/
Translation: Fedilab/Strings
2024-01-27 23:01:57 +01:00
Lukas
5ecc2a5521
Translated using Weblate (Polish)
Currently translated at 60.0% (33 of 55 strings)

Co-authored-by: Lukas <ox86udoo@duck.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/pl/
Translation: Fedilab/description
2024-01-27 20:02:05 +01:00
josé m
275f3d78b6
Translated using Weblate (Galician)
Currently translated at 12.7% (7 of 55 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/gl/
Translation: Fedilab/description
2024-01-27 20:02:03 +01:00
Thomas
1274d83ee1 Merge remote-tracking branch 'origin/develop' into develop 2024-01-27 17:58:43 +01:00
Thomas
bba6a2edf1 Fix a crash with profiles 2024-01-27 17:58:14 +01:00
Oğuz Ersen
5f0435e447
Translated using Weblate (Turkish)
Currently translated at 100.0% (1186 of 1186 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2024-01-27 07:01:47 +01:00
Lukáš Jelínek
63ceca066f
Translated using Weblate (Czech)
Currently translated at 100.0% (1186 of 1186 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2024-01-26 10:01:53 +01:00
Salif Mehmed
7c5f1dccab
Translated using Weblate (Bulgarian)
Currently translated at 52.2% (620 of 1186 strings)

Co-authored-by: Salif Mehmed <mail@salif.eu>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/bg/
Translation: Fedilab/Strings
2024-01-25 05:01:51 +01:00
Thomas
d5aaa94045 Fix issue #1031 - Compile error for google flavor 2024-01-24 10:38:16 +01:00
Thomas
394d72bd01 Support pronouns 2024-01-23 19:03:41 +01:00
Thomas
7ab24d900b Indicator with pronouns 2024-01-23 18:48:42 +01:00
Thomas
773322b60a empty space with media 2024-01-23 17:50:58 +01:00
Thomas
ccce81c49c Merge branch 'develop' of https://codeberg.org/tom79/Fedilab into develop 2024-01-23 16:49:57 +01:00
Thomas
eb89b0a8b2 Merge branch 'fix_511' into develop 2024-01-23 16:49:48 +01:00
Thomas
067fc68402 clean 2024-01-23 16:02:28 +01:00
Thomas
dc72d9a8b0 improve media 2024-01-23 10:07:43 +01:00
Thomas
18b3f0cb26 improve media 2024-01-23 10:06:02 +01:00
Thomas
b16ecbbe72 improve media 2024-01-23 10:03:20 +01:00
Thomas
e18db746a0 Some changes 2024-01-22 17:16:09 +01:00
Thomas
a2c865a4b7 Some fixes 2024-01-22 09:49:08 +01:00
Oğuz Ersen
4de9b0bd85
Translated using Weblate (Turkish)
Currently translated at 100.0% (1185 of 1185 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2024-01-21 14:42:34 +01:00
Thomas
c778c71306 Prepare Media3 2024-01-20 18:10:05 +01:00
Thomas
596c546cce Release 3.27.1 2024-01-19 17:51:56 +01:00
Thomas
d2535fd2f8 Allow to display banner as a media 2024-01-19 17:44:45 +01:00
Thomas
4204f658d7 Fix issue #1014 - Wrong profiles when enabling remote conversations 2024-01-19 17:44:16 +01:00
Thomas
dd119449f3 Fix Peertube instances search 2024-01-19 17:06:20 +01:00
Thomas
fec7039fbe Fix Peertube local timelines 2024-01-19 16:01:19 +01:00
Thomas
5692573d9c Fix issue #1011 - Position lost when switching between accounts 2024-01-19 14:30:29 +01:00
Thomas
1e03a039b8 Merge branch 'develop' of https://codeberg.org/tom79/Fedilab into develop 2024-01-19 11:35:24 +01:00
Thomas
6d411a5033 Merge branch 'fix_510' into develop 2024-01-19 11:35:15 +01:00
Thomas
dd2c1c5bef Fix some crashes 2024-01-19 11:34:53 +01:00
Nils Van Zuijlen
af149351b8
Translated using Weblate (French)
Currently translated at 7.4% (4 of 54 strings)

Co-authored-by: Nils Van Zuijlen <nils.van-zuijlen@mailo.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/fr/
Translation: Fedilab/description
2024-01-18 08:31:09 +01:00
Thomas
a1a6005ca0 Fix potential crashes when clicking on notifications 2024-01-17 14:12:56 +01:00
Scott Starkey
afc9b4712c
Translated using Weblate (Esperanto)
Currently translated at 63.0% (747 of 1185 strings)

Co-authored-by: Scott Starkey <yekrats@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/eo/
Translation: Fedilab/Strings
2024-01-17 08:06:21 +01:00
Lukáš Jelínek
542d26d88d
Translated using Weblate (Czech)
Currently translated at 100.0% (1185 of 1185 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2024-01-17 08:06:19 +01:00
RintanBroadleaf
8953a930a0
Translated using Weblate (Japanese)
Currently translated at 100.0% (1185 of 1185 strings)

Co-authored-by: RintanBroadleaf <rintanbroadleaf@outlook.jp>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translation: Fedilab/Strings
2024-01-16 20:06:14 +01:00
josé m
e248fc65bf
Translated using Weblate (Galician)
Currently translated at 100.0% (1185 of 1185 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2024-01-16 20:06:14 +01:00
Scott Starkey
76d5ed41e9
Translated using Weblate (Esperanto)
Currently translated at 62.9% (746 of 1185 strings)

Co-authored-by: Scott Starkey <yekrats@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/eo/
Translation: Fedilab/Strings
2024-01-16 20:06:14 +01:00
claleb
bf6830deb3
Translated using Weblate (German)
Currently translated at 100.0% (1185 of 1185 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2024-01-16 20:06:14 +01:00
Thomas
1f2e6c4327 Merge branch 'develop' 2024-01-16 17:54:54 +01:00
Thomas
886b74c171 Release 3.27.0 2024-01-16 17:51:18 +01:00
Thomas
246bc7e557 Fix dialog colors in Settings 2024-01-16 17:45:55 +01:00
Thomas
aa45683a4f Fix issue #1016 - Content Warning not applied to quoted messages 2024-01-16 10:46:09 +01:00
Thomas
9d1435c1b5 Markdown support disabled by default 2024-01-16 10:32:35 +01:00
Thomas
1a237e00c3 Clean class 2024-01-16 10:32:35 +01:00
Thomas
fbf2d72f5d Fix a crash with wrong Serialization 2024-01-16 10:32:34 +01:00
Salif Mehmed
169b00af30
Translated using Weblate (Bulgarian)
Currently translated at 50.8% (602 of 1185 strings)

Co-authored-by: Salif Mehmed <mail@salif.eu>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/bg/
Translation: Fedilab/Strings
2024-01-16 05:06:35 +01:00
Scott Starkey
018b2b218e
Translated using Weblate (Esperanto)
Currently translated at 58.6% (695 of 1185 strings)

Co-authored-by: Scott Starkey <yekrats@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/eo/
Translation: Fedilab/Strings
2024-01-16 05:06:35 +01:00
Thomas
a399ce674b Release 3.27-beta-4 2024-01-15 17:29:34 +01:00
Thomas
a9e17fb5d6 Fix issue #1017 - Usage frequency of tags when composing 2024-01-15 17:26:29 +01:00
Thomas
892bb521e5 Some improvements 2024-01-15 17:26:29 +01:00
Thomas
e20fdafaa5 Fix crash with profile and context 2024-01-15 17:26:29 +01:00
josé m
7e36abb24d
Translated using Weblate (Galician)
Currently translated at 100.0% (1183 of 1183 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2024-01-15 16:08:15 +01:00
ButterflyOfFire
e3d2e4a8a8
Translated using Weblate (French)
Currently translated at 99.1% (1173 of 1183 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2024-01-15 16:08:15 +01:00
Thomas
82a7a845f6 Merge pull request 'Fix issue templates' (#1022) from aur/Fedilab:fix_issue_templates_contributing into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1022
2024-01-15 15:08:02 +00:00
aur
7bca968aff
Fix issue templates 2024-01-15 19:17:49 +09:00
Thomas
4d66a3f9a8 Merge pull request 'Allow to disable scrolling of the top bar in settings' (#1021) from aur/Fedilab:disable_topbar_scrolling into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1021
2024-01-15 08:09:13 +00:00
Thomas
2d9104c352 Merge remote-tracking branch 'origin/develop' into develop 2024-01-15 09:06:45 +01:00
Thomas
c40f6c3330 Fix a crash when searching tags 2024-01-15 09:06:30 +01:00
Salif Mehmed
56bbb7f9ac
Translated using Weblate (Bulgarian)
Currently translated at 36.2% (429 of 1183 strings)

Co-authored-by: Salif Mehmed <mail@salif.eu>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/bg/
Translation: Fedilab/Strings
2024-01-14 12:31:37 +00:00
Thomas
6b03aef11b Beta 3.27-3 2024-01-13 16:32:28 +01:00
Thomas
68b2c72414 Fix remember position 2024-01-13 16:27:35 +01:00
aur
1c01c018a0
Allow to disable scrolling of the top bar in settings 2024-01-13 12:02:06 +09:00
Thomas
aeb45f0bcf Release 3.27-beta-2 2024-01-12 20:34:46 +01:00
Thomas
b75d274fe8 Merge branch 'develop' of https://codeberg.org/tom79/Fedilab into develop 2024-01-12 18:13:46 +01:00
Thomas
eade00b0ba Release 3.27-beta-1 2024-01-12 18:13:28 +01:00
Software In Interlingua
bc8215b817
Translated using Weblate (Interlingua)
Currently translated at 23.7% (281 of 1183 strings)

Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ia/
Translation: Fedilab/Strings
2024-01-12 17:06:21 +01:00
Thomas
381d217bd5 Merge branch 'develop' of https://codeberg.org/tom79/Fedilab into develop 2024-01-12 16:28:32 +01:00
Thomas
318b869b6a Fix hashtags 2024-01-12 16:19:30 +01:00
Thomas
336fe936e8 Fix a crash 2024-01-12 11:19:25 +01:00
Thomas
16686e88eb Fix a crash 2024-01-12 11:11:57 +01:00
Thomas
e589e2549d Keep intent longer 2024-01-12 11:05:42 +01:00
Thomas
504e30c44a Cached intent for media 2024-01-12 10:36:29 +01:00
Thomas
09a8b6c43c Broadcast 2024-01-11 17:05:35 +01:00
Thomas
b052547cc4 Working pagers 2024-01-11 12:02:22 +01:00
Thomas
08c1ba943b Pass ids for pagers 2024-01-11 10:58:22 +01:00
Thomas
85e462e276 Apply for status 2024-01-10 15:58:27 +01:00
Salif Mehmed
0d4cde5a45
Translated using Weblate (Bulgarian)
Currently translated at 32.0% (379 of 1183 strings)

Co-authored-by: Salif Mehmed <mail@salif.eu>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/bg/
Translation: Fedilab/Strings
2024-01-10 01:06:17 +00:00
Thomas
1ff15b0f93 Some cleaning 2024-01-09 16:00:35 +01:00
Thomas
2edfd8c945 All accounts are cached in db before being in Intent 2024-01-09 15:57:12 +01:00
Thomas
2e20e78b7f Apply changes when serializing accounts 2024-01-09 11:39:09 +01:00
Thomas
8040a06300 Prepare db for caching bundle + logic to pass/get data 2024-01-08 11:51:19 +01:00
Salif Mehmed
ad3be92890
Translated using Weblate (Bulgarian)
Currently translated at 24.9% (295 of 1183 strings)

Co-authored-by: Salif Mehmed <mail@salif.eu>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/bg/
Translation: Fedilab/Strings
2024-01-08 03:06:16 +00:00
Salif Mehmed
0a14ea4b2f
Translated using Weblate (Bulgarian)
Currently translated at 20.2% (239 of 1183 strings)

Co-authored-by: Salif Mehmed <mail@salif.eu>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/bg/
Translation: Fedilab/Strings
2024-01-03 05:07:41 +00:00
claleb
310f3f5eda
Translated using Weblate (German)
Currently translated at 100.0% (1183 of 1183 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2024-01-03 05:07:40 +00:00
Salif Mehmed
57c66b541e
Translated using Weblate (Bulgarian)
Currently translated at 4.0% (2 of 49 strings)

Co-authored-by: Salif Mehmed <mail@salif.eu>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/bg/
Translation: Fedilab/description
2024-01-03 00:06:47 +01:00
Weblate
6d7173a487
Added translation using Weblate (Bulgarian)
Co-authored-by: Weblate <noreply@weblate.org>
2024-01-02 00:11:06 +01:00
Poesty Li
e16bfcbe1a
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.5% (1178 of 1183 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2024-01-01 06:08:30 +01:00
Thomas
36e258adb3 Fix a crash with media 2023-12-29 10:29:22 +01:00
Software In Interlingua
951b3bcb06
Translated using Weblate (Interlingua)
Currently translated at 21.5% (255 of 1183 strings)

Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ia/
Translation: Fedilab/Strings
2023-12-29 08:10:21 +01:00
ButterflyOfFire
60301948b0
Translated using Weblate (French)
Currently translated at 98.9% (1170 of 1183 strings)

Translated using Weblate (Arabic)

Currently translated at 82.7% (979 of 1183 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ar/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-12-29 08:10:20 +01:00
josé m
268ed75fc0
Translated using Weblate (Galician)
Currently translated at 100.0% (1183 of 1183 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-12-23 20:09:00 +00:00
Thomas
a1370693fb Merge branch 'develop' 2023-12-23 17:16:02 +01:00
Thomas
fcc323af2a Release 3.26.0 2023-12-23 17:13:27 +01:00
Thomas
38f7760261 Release 3.26.0 2023-12-23 17:13:19 +01:00
Thomas
d1f9378a11 Fix an issue with poll 2023-12-23 17:12:07 +01:00
Thomas
25c237f0a8 Fix theme issues 2023-12-23 17:01:26 +01:00
Thomas
d60900e2f9 Fix custom colors for Android 14 2023-12-23 16:37:47 +01:00
Thomas
0b24f02bf4 Update release notes 2023-12-23 12:27:43 +01:00
Thomas
893b060a5f Fix issue #982 - Make link clickable in media descriptions 2023-12-23 12:26:52 +01:00
Thomas
bc3b07d774 Merge branch 'develop' of https://codeberg.org/tom79/Fedilab into develop 2023-12-23 10:41:06 +01:00
Thomas
b5d7ce2de0 Prepare release 3.26.0 - Production 2023-12-23 10:40:54 +01:00
claleb
1c2db9362a
Translated using Weblate (German)
Currently translated at 100.0% (1183 of 1183 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-12-23 06:09:05 +00:00
Thomas
bc0d25c826 Release 3.25.3 - beta 2023-12-22 18:03:10 +01:00
Thomas
f7714fa738 Fix issue #894 - Add a search bar for custom emojis 2023-12-22 17:55:28 +01:00
Thomas
fadf3fb788 Emoji not displayed in the picker 2023-12-22 16:49:01 +01:00
Thomas
6ee9601e23 Fix an issue with poll and Pleroma 2023-12-22 15:31:35 +01:00
Thomas
6b876158d5 Improve scroll bar 2023-12-22 15:02:47 +01:00
Thomas
8b8e163151 Merge remote-tracking branch 'origin/develop' into develop 2023-12-22 11:03:16 +01:00
Thomas
1c529c52e1 Clear 2023-12-22 11:00:32 +01:00
Thomas
daf3e08995 Fix issue #996 - Crashes with profiles 2023-12-22 11:00:12 +01:00
Oğuz Ersen
90aff02e2d
Translated using Weblate (Turkish)
Currently translated at 100.0% (1183 of 1183 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-12-22 07:07:27 +01:00
Thomas
24fbf41d08 Fix issue #994 - Add a scroll bar for timelines (default: disabled) 2023-12-21 18:11:51 +01:00
Thomas
7554238052 Merge remote-tracking branch 'origin/develop' into develop 2023-12-21 09:55:58 +01:00
Thomas
2f60a6496f Fix prompt to split asked several times when refusing 2023-12-21 09:54:37 +01:00
Oğuz Ersen
1b12ee4962
Translated using Weblate (Turkish)
Currently translated at 100.0% (1181 of 1181 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-12-20 19:10:00 +01:00
josé m
712c4254ce
Translated using Weblate (Galician)
Currently translated at 100.0% (1181 of 1181 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-12-20 19:10:00 +01:00
claleb
3fe9a4ec0c
Translated using Weblate (German)
Currently translated at 100.0% (1181 of 1181 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-12-20 19:10:00 +01:00
Thomas
1387a6f2a9 Release 3.25.2 - beta 2023-12-19 17:31:59 +01:00
Thomas
5aae22483f Fix #1004 - Order followed tags (ASC) 2023-12-19 17:23:15 +01:00
Thomas
520a36946a Fix #1005 - Avoid duplicate tags when following 2023-12-19 17:12:02 +01:00
Thomas
ace3dc089e Fix #1007 - Improve account picker when opening a message with another account 2023-12-19 16:03:02 +01:00
Thomas
b6cbd8ea74 Fix #1008 -Allow to copy app version from the about page 2023-12-19 15:56:26 +01:00
Thomas
4ce92e67b1 Fix #1009 -Hide emoji picker when instance has no custom emojis 2023-12-19 15:35:57 +01:00
Thomas
0fe27e5a76 Fix an issue with back button for Followed Tags and List activities 2023-12-19 15:31:38 +01:00
Thomas
6149faee1d typo 2023-12-19 10:56:27 +01:00
Thomas
dade64750d Allow to underline clickable elements 2023-12-19 10:42:36 +01:00
Thomas
0064db72a1 Merge remote-tracking branch 'origin/develop' into develop 2023-12-19 10:31:38 +01:00
Thomas
bee3d772d5 Merge branch 'improve_buttons' into develop 2023-12-19 10:31:21 +01:00
Thomas
47441c3e05 More visible counters 2023-12-19 10:31:06 +01:00
Thomas
f7fc376482 Fix a crash when composing 2023-12-19 07:52:16 +01:00
Thomas
082ecce9be Counters close to button + add full date for messages (default: disabled) 2023-12-18 12:14:18 +01:00
josé m
85f8adbd76
Translated using Weblate (Galician)
Currently translated at 13.0% (6 of 46 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/gl/
Translation: Fedilab/description
2023-12-18 07:10:00 +01:00
josé m
58de6a86f5
Translated using Weblate (Galician)
Currently translated at 100.0% (1174 of 1174 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-12-18 06:08:48 +00:00
Thomas
4ebe2a2719 Release 3.25.1 2023-12-17 17:43:14 +01:00
Thomas
5b805ca9a9 Fix a crash 2023-12-17 17:41:17 +01:00
Thomas
6314e6c24a Merge remote-tracking branch 'origin/main' 2023-12-17 11:43:01 +01:00
Thomas
3148d5f9b2 Merge remote-tracking branch 'origin/develop' into develop 2023-12-17 11:42:01 +01:00
Thomas
21c193db90 Release 3.25.0 - beta release 2023-12-17 11:41:43 +01:00
Poesty Li
cc21471244
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1174 of 1174 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-12-17 10:31:08 +00:00
Oğuz Ersen
6d9bdb183c
Translated using Weblate (Turkish)
Currently translated at 100.0% (1174 of 1174 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-12-17 10:31:07 +00:00
Stefano Volpe
1858deffd3
Translated using Weblate (Italian)
Currently translated at 100.0% (1174 of 1174 strings)

Co-authored-by: Stefano Volpe <foxy@teapot.ovh>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/it/
Translation: Fedilab/Strings
2023-12-17 10:31:06 +00:00
josé m
9b6161d8fe
Translated using Weblate (Galician)
Currently translated at 100.0% (1174 of 1174 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-12-17 10:31:05 +00:00
claleb
3282f9f1db
Translated using Weblate (German)
Currently translated at 100.0% (1174 of 1174 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-12-17 10:31:05 +00:00
Matyáš Caras
3fa91ed7dc
Translated using Weblate (Czech)
Currently translated at 100.0% (1174 of 1174 strings)

Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-12-17 10:31:04 +00:00
ButterflyOfFire
be18db0649
Translated using Weblate (Arabic)
Currently translated at 81.7% (960 of 1174 strings)

Translated using Weblate (Arabic)

Currently translated at 80.4% (938 of 1166 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ar/
Translation: Fedilab/Strings
2023-12-17 10:31:03 +00:00
Thomas
06e8640219 Merge remote-tracking branch 'origin/develop' into develop 2023-12-17 11:30:48 +01:00
Stefano Volpe
ec9ccf8adf
Translated using Weblate (Italian)
Currently translated at 11.3% (5 of 44 strings)

Co-authored-by: Stefano Volpe <foxy@teapot.ovh>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/it/
Translation: Fedilab/description
2023-12-16 20:08:02 +00:00
Kaambiz
d25751972e
Translated using Weblate (Persian)
Currently translated at 11.3% (5 of 44 strings)

Co-authored-by: Kaambiz <kambizx@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/fa/
Translation: Fedilab/description
2023-12-16 20:08:00 +00:00
Thomas
197702b461 Fix profiles 2023-12-16 18:38:19 +01:00
Thomas
a9712d45b3 Fix mentions length count 2023-12-15 17:37:00 +01:00
Thomas
4711d5fd23 Make links and media clickable when composing 2023-12-15 15:15:38 +01:00
Thomas
0861becc56 Hyper links clickable in original messages when replying 2023-12-15 14:15:45 +01:00
Thomas
739912fd60 clean code 2023-12-15 13:54:39 +01:00
Thomas
c895b1c4af Change dialog title 2023-12-15 13:48:51 +01:00
Thomas
0ea5791fbd Add options in settings for automatically thread long messages (ASK, Disable, Enable) 2023-12-15 09:22:27 +01:00
Thomas
bfc362ef62 Automatically split long copied/pasted messages into threads 2023-12-14 16:55:49 +01:00
Thomas
f5bfb3e250 Allow indentation of thread up to 40 2023-12-14 14:47:06 +01:00
Thomas
cfad7131d2 Fix a crash 2023-12-14 11:16:55 +01:00
Thomas
f0324038e3 Fix issue #990 #421 - Crash during transitions 2023-12-14 10:56:09 +01:00
Thomas
0982e1bb38 Fix issue #997 - Store endpoint and create it only if it changes 2023-12-14 10:01:55 +01:00
Thomas
eb0ecd7583 Fix issue #997 - Store endpoint and create it only if it changes 2023-12-14 08:03:47 +01:00
Thomas
0d949f8dd6 some cleaning 2023-12-14 07:33:59 +01:00
Thomas
e6b34dd622 Fix somme issues with worker and Android 14 2023-12-13 18:04:15 +01:00
Thomas
5cca26e0c4 Cleaning code 1 2023-12-13 17:15:18 +01:00
Thomas
25e42fc7da Set app Id when sending BroadCasts 2023-12-12 17:27:05 +01:00
Thomas
9225ec35b5 Use ContextCompat 2023-12-12 16:07:48 +01:00
Thomas
4a07e7c5b8 Upgrade for Android 14+ 2023-12-12 15:47:15 +01:00
Thomas
4c911705ab fix issue #995 - Don't display translate popup if there is only one choice 2023-12-11 17:35:20 +01:00
Thomas
cf01ee77e1 Merge branch 'develop' of https://codeberg.org/tom79/Fedilab into develop 2023-12-11 10:15:17 +01:00
Thomas
e50a267309 Change regex 2023-12-11 10:13:37 +01:00
Thomas
90e45a2763 Merge pull request 'Adjust right margin of action buttons' (#984) from aur/Fedilab:improve_action_buttons_margin into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/984
2023-12-11 09:03:33 +00:00
Thomas
3e033f517d Merge pull request 'Improve login screen UX' (#983) from aur/Fedilab:develop into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/983
2023-12-09 09:27:17 +00:00
Thomas
f361cc568a Merge pull request 'Fixes #966 - Allow opening toots and profile from server-remote accounts' (#969) from dureuill/Fedilab:dureuill-966 into main
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/969
2023-12-09 09:26:14 +00:00
Software In Interlingua
1fd2515806
Translated using Weblate (Interlingua)
Currently translated at 21.0% (245 of 1165 strings)

Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ia/
Translation: Fedilab/Strings
2023-12-01 09:04:22 +01:00
Software In Interlingua
e9cb3c52ff
Added translation using Weblate (Interlingua)
Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
2023-11-28 19:03:59 +01:00
aur
6071e0bd23
Merge remote-tracking branch 'upstream/develop' into develop 2023-11-28 21:37:59 +09:00
Reza Almanda
00b5da0fe2
Translated using Weblate (Indonesian)
Currently translated at 4.5% (2 of 44 strings)

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/id/
Translation: Fedilab/description
2023-11-12 12:02:48 +01:00
Reza Almanda
facb376676
Translated using Weblate (Indonesian)
Currently translated at 59.7% (696 of 1165 strings)

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/id/
Translation: Fedilab/Strings
2023-11-12 12:00:43 +01:00
Bai
ddc0dda209
Translated using Weblate (Turkish)
Currently translated at 100.0% (1165 of 1165 strings)

Co-authored-by: Bai <batuhanakkurt000@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-10-23 03:01:30 +02:00
Weblate
809a064e9f
Added translation using Weblate (xx_XX (generated) (xx_XX))
Co-authored-by: Weblate <noreply@weblate.org>
2023-10-21 23:45:04 +00:00
aur
6e653693e7
Add marginEnd to action buttons
to make it easier to tap the overflow menu icon
on the right edge of the action buttons.
2023-10-19 13:48:21 +09:00
aur
6ae6ff8484
Change imeOptions from actionNext to actionDone
After entering an instance name on the login screen,
the soft input method is now automatically hidden.
2023-10-18 23:46:33 +09:00
josé m
655cfa0e75
Translated using Weblate (Galician)
Currently translated at 6.8% (3 of 44 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/gl/
Translation: Fedilab/description
2023-10-16 06:06:44 +02:00
dureuill
b3458e2888 Allow opening toots and profile from server-remote accounts
When opening a link with Fedilab, it can be opened as a status (toot) or a profile even if it is an object that is remote to the server it is requested from.
2023-10-01 20:50:02 +00:00
aur
12ff7e09a6
Translated using Weblate (Japanese)
Currently translated at 100.0% (1165 of 1165 strings)

Co-authored-by: aur <noreply@aurantiacus.bsvr.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translation: Fedilab/Strings
2023-09-28 15:59:56 +02:00
Ettore Atalan
1423aa37f7
Translated using Weblate (German)
Currently translated at 100.0% (1165 of 1165 strings)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-09-23 05:00:24 +00:00
Roberto Michán Sánchez
9f57fda4ec
Translated using Weblate (Spanish)
Currently translated at 9.0% (4 of 44 strings)

Co-authored-by: Roberto Michán Sánchez <robertoms258@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/es/
Translation: Fedilab/description
2023-09-19 09:59:29 +00:00
Jean-Luc Tibaux
caaa791760
Translated using Weblate (German)
Currently translated at 18.1% (8 of 44 strings)

Co-authored-by: Jean-Luc Tibaux <eugentoptic@outlook.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/de/
Translation: Fedilab/description
2023-09-17 12:59:35 +02:00
Thomas
ec50416a8b Merge remote-tracking branch 'origin/develop' into develop 2023-09-14 11:14:11 +02:00
Thomas
61ff1608f8 Fix polls 2023-09-14 11:14:01 +02:00
Eduardo
6185597436
Translated using Weblate (Portuguese)
Currently translated at 85.8% (1000 of 1165 strings)

Co-authored-by: Eduardo <edu200399lim@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pt/
Translation: Fedilab/Strings
2023-09-13 11:58:00 +02:00
Lukáš Jelínek
f4155f9c43
Translated using Weblate (Czech)
Currently translated at 100.0% (1165 of 1165 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-09-13 11:58:00 +02:00
ButterflyOfFire
484824d75f
Translated using Weblate (French)
Currently translated at 99.9% (1164 of 1165 strings)

Translated using Weblate (Arabic)

Currently translated at 80.0% (933 of 1165 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ar/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-09-13 11:57:59 +02:00
Thomas
14127fd203 Merge branch 'fix_500' into develop 2023-09-11 11:03:07 +02:00
Thomas
b6659de483 Fix a crash 2023-09-11 11:02:55 +02:00
Thomas
ac6d9f430e forward intent when changing the account 2023-09-10 11:57:30 +02:00
Thomas
d7d5f286f5 Notifications 2023-09-10 09:55:44 +02:00
Thomas
86dc5d2f13 Fix duplicated messages in threads 2023-09-09 16:25:21 +02:00
Thomas
dbc118064c Merge branch 'direct_messages_chat' into develop 2023-09-09 16:11:06 +02:00
Thomas
392efd2c0c Fix Direct messages 2023-09-09 16:10:33 +02:00
Thomas
63e444ffb5 Merge pull request 'fix-lock' (#959) from s1m/Fedilab:fix-lock into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/959
2023-09-09 13:36:12 +00:00
sim
a441ce8ff4 Fix IllegalMonitorStateException
When we unlock a lock the thread don't Held
2023-09-09 14:39:21 +02:00
Thomas
57860793ff Merge pull request 'Set one lock per account for push notif' (#956) from s1m/Fedilab:push-multi-lock into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/956
2023-09-05 04:53:33 +00:00
sim
ceebe74ec1 Set one lock per account for push notif 2023-09-05 00:08:48 +02:00
Thomas
5f3ca62393 Fix issue #955 - Focus the clicked messages and allow selections for remote conversations 2023-09-04 17:17:15 +02:00
Thomas
95e4952012 More visible cursor when adding media descriptions 2023-09-04 11:20:29 +02:00
Thomas
0b6c1d6504 Merge branch 'main' into develop
# Conflicts:
#	app/src/main/java/app/fedilab/android/mastodon/helper/NotificationsHelper.java
2023-09-04 11:07:14 +02:00
Thomas
c5e35b6b48 Merge pull request 'Update fastlane description based on readme (full list of features and supported servers)' (#939) from Efreak/Fedilab:efreak-patch-1-update-fastlane-description into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/939
2023-09-04 09:05:14 +00:00
Thomas
e735947362 Merge pull request 'Fix missing push notifications' (#946) from s1m/Fedilab:fix-push into main
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/946
2023-09-04 09:04:18 +00:00
Thomas
b8c96e872f Add custom user agent 2023-09-04 11:02:40 +02:00
Thomas
5204974688 Merge remote-tracking branch 'origin/develop' into develop 2023-09-04 10:44:48 +02:00
Thomas
b62982074a Apply markdown only for message content 2023-09-04 10:44:30 +02:00
RintanBroadleaf
8f90cbbbe9
Translated using Weblate (Japanese)
Currently translated at 100.0% (1165 of 1165 strings)

Co-authored-by: RintanBroadleaf <rintanbroadleaf@outlook.jp>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translation: Fedilab/Strings
2023-09-02 06:57:14 +02:00
sim
36b28a4483 Fix missing push notifications
since_ids and last_notifid_reccorded often contained the same id
so fetching notification was aborted. It looks like these variables
were introduced to avoid multiple fetches at the same time.
So this commit adds a reentrantLock with a tryLock to do it
2023-08-28 23:16:21 +02:00
Thomas
ce92f23c50 Release 3.24.1 2023-08-26 18:18:45 +02:00
Thomas
1bc12d3202 Fix custom instance max length not working 2023-08-26 18:11:26 +02:00
Thomas
2e4c3bf119 Cursor more visible when composing 2023-08-26 18:01:15 +02:00
Thomas
185479287c Change tabs in profiles 2023-08-26 17:53:55 +02:00
Thomas
a9da1752b2 New logos 2023-08-26 12:15:28 +02:00
Thomas
23cce968f8 Mardown: stop parsing tags and support strike text 2023-08-25 18:26:43 +02:00
Thomas
dd83e86382 Fix an issue when opening URLs 2023-08-25 17:46:18 +02:00
Thomas
c43fe177b5 Merge remote-tracking branch 'origin/develop' into develop 2023-08-25 14:15:08 +02:00
Thomas
14515e6ba6 keep position with remote conversations 2023-08-25 14:14:53 +02:00
Thomas
d017952ffe Bug with long values 2023-08-25 13:36:20 +02:00
Eryk Michalak
6bbf10ae7d
Translated using Weblate (Polish)
Currently translated at 99.9% (1164 of 1165 strings)

Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pl/
Translation: Fedilab/Strings
2023-08-25 09:59:55 +02:00
Efreak
c0f1b3859f Update fastlane description based on readme (full list of features and supported servers) 2023-08-23 21:24:58 +00:00
Thomas
30f3ab8dca Merge remote-tracking branch 'origin/develop' into develop 2023-08-23 09:35:54 +02:00
Thomas
14bd5e9750 Fix a crash when instance is null 2023-08-23 09:35:35 +02:00
Gaute Holmin
6805c214bc
Translated using Weblate (Norwegian Bokmål)
Currently translated at 6.9% (3 of 43 strings)

Co-authored-by: Gaute Holmin <gaute@topdogs.no>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/nb_NO/
Translation: Fedilab/description
2023-08-22 20:48:34 +02:00
Thomas
23aec94de7 Merge pull request 'accent_color_corrections' (#934) from Zekovski/Fedilab:accent_color_corrections into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/934
2023-08-21 18:45:38 +00:00
Thomas
50e88b3f86 Fix not clickable tags for some languages 2023-08-21 17:17:27 +02:00
Thomas
c646e9136c Crash when several gif in same message 2023-08-21 16:49:17 +02:00
Thomas
8b1d7d11fe Merge remote-tracking branch 'origin/develop' into develop 2023-08-21 16:41:05 +02:00
Thomas
12c4e0465e fix poll max chars 2023-08-21 16:40:59 +02:00
Zekovski
c1343f0ef0
Translated using Weblate (French)
Currently translated at 99.7% (1162 of 1165 strings)

Co-authored-by: Zekovski <zekovski@e.email>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-08-21 03:51:03 +02:00
josé m
72df83cbb3
Translated using Weblate (Galician)
Currently translated at 100.0% (1165 of 1165 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-08-19 06:28:19 +02:00
Henrik Sørensen
8949bc660e
Translated using Weblate (Danish)
Currently translated at 4.6% (2 of 43 strings)

Co-authored-by: Henrik Sørensen <henrik@millinge.dk>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/da/
Translation: Fedilab/description
2023-08-18 23:53:28 +02:00
Thomas
f11a5c544e make mastodon as default one 2023-08-18 17:47:50 +02:00
Poesty Li
f528fd3e6e
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1165 of 1165 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-08-18 03:55:29 +02:00
ButterflyOfFire
15034de546
Translated using Weblate (French)
Currently translated at 99.4% (1159 of 1165 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-08-18 03:55:29 +02:00
Lukáš Jelínek
ad70a1cf2f
Translated using Weblate (Czech)
Currently translated at 100.0% (1165 of 1165 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-08-18 03:55:29 +02:00
Michael Hainz
b7e05d48d4
Translated using Weblate (German)
Currently translated at 9.3% (4 of 43 strings)

Co-authored-by: Michael Hainz <michael@familyhainz.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/de/
Translation: Fedilab/description
2023-08-17 05:56:55 +02:00
Thomas
802b3b0926 Release 3.24.0 2023-08-16 17:59:30 +02:00
Thomas
cff4c96a04 some improvements 2023-08-16 16:43:32 +02:00
Thomas
fc643162fb Hide self messages 2023-08-16 16:34:54 +02:00
Thomas
1b80aa8df5 Some improvements 2023-08-16 16:21:54 +02:00
Thomas
c63ae5df4f Make buttons still visible when composing with media 2023-08-16 16:03:12 +02:00
Thomas
1965d196ae Merge remote-tracking branch 'origin/develop' into develop 2023-08-16 14:55:48 +02:00
Thomas
28ee0550ae Make buttons still visible when composing with media 2023-08-16 14:55:42 +02:00
claleb
a759640448
Translated using Weblate (German)
Currently translated at 100.0% (1163 of 1163 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-08-16 12:48:06 +02:00
Lukáš Jelínek
705e413661
Translated using Weblate (Czech)
Currently translated at 100.0% (1163 of 1163 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-08-16 12:48:05 +02:00
Thomas
d299c7020d CamelCase Tags when forwarding them 2023-08-16 10:22:21 +02:00
Thomas
8cffef92a5 Merge remote-tracking branch 'origin/develop' into develop 2023-08-16 10:09:49 +02:00
Thomas
c1b256f150 Fix spoiler issue when composing threads 2023-08-16 10:09:41 +02:00
Poesty Li
2137604cec
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1159 of 1159 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-08-15 17:29:33 +02:00
gbieging
bf200e6745
Translated using Weblate (Portuguese)
Currently translated at 85.4% (990 of 1159 strings)

Co-authored-by: gbieging <gaba_bieging@yahoo.com.br>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pt/
Translation: Fedilab/Strings
2023-08-15 17:29:33 +02:00
ButterflyOfFire
c530749a46
Translated using Weblate (Arabic)
Currently translated at 78.8% (914 of 1159 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ar/
Translation: Fedilab/Strings
2023-08-15 17:29:33 +02:00
Thomas
eec448491f Release 3.23.5 2023-08-15 17:27:44 +02:00
Thomas
92d52bbecf Allow to hide self boosts and self replies 2023-08-15 17:22:07 +02:00
Thomas
302b3e47d4 More place for media description 2023-08-15 16:58:31 +02:00
Zekovski
ed9563d380 Replaced SDK version check with isDynamicColorAvailable before showing DynamicColors options. 2023-08-15 13:00:26 +02:00
Zekovski
49cd05ee35 Misnamed variable 2023-08-15 12:44:30 +02:00
Thomas
4c00aa9a2e Release 3.23.4 2023-08-14 17:22:51 +02:00
Thomas
be54c49918 Whole in timelines due to cache bug 2023-08-14 16:56:40 +02:00
Thomas
9b91ebf317 Fix tags issue with RTL and bookmark 2023-08-14 11:43:04 +02:00
Thomas
ac24e25da0 Fix #929 - Scrollable bio when editing profiles 2023-08-12 09:56:11 +02:00
Thomas
e07cb78d65 Merge remote-tracking branch 'origin/develop' into develop 2023-08-12 09:48:09 +02:00
Thomas
11559ac68a Fix issue #932 - Crash when user is not in a list 2023-08-12 09:48:03 +02:00
Lukáš Jelínek
cf4d418cd0
Translated using Weblate (Czech)
Currently translated at 100.0% (1159 of 1159 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-08-12 09:45:59 +02:00
josé m
68b9b03ec7
Translated using Weblate (Galician)
Currently translated at 100.0% (1159 of 1159 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-08-09 21:55:39 +02:00
Thomas
3d0d68d9f5 Release 3.23.3 2023-08-09 18:17:33 +02:00
Thomas
5a804fd892 Improve link side effect with Markdown 2023-08-09 17:56:47 +02:00
Thomas
c9a86aae01 Fix line breaks with Markdown 2023-08-09 17:18:18 +02:00
Thomas
147917fc58 Fix issue #930 - Crash with Pixelfed 2023-08-09 17:06:06 +02:00
Thomas
c017558984 Merge remote-tracking branch 'origin/develop' into develop 2023-08-09 16:59:47 +02:00
Thomas
65b9015d51 Fix issue #931 - Click on card does not open Mastodon posts inside the app 2023-08-09 16:59:40 +02:00
GunChleoc
24486ae041
Translated using Weblate (Gaelic)
Currently translated at 100.0% (1159 of 1159 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2023-08-09 03:18:50 +02:00
Thomas
243039151a Merge remote-tracking branch 'origin/develop' into develop 2023-08-08 10:55:13 +02:00
Thomas
e66ca47198 longer fields when editing bio 2023-08-08 10:55:06 +02:00
Oğuz Ersen
d2b1ebe725
Translated using Weblate (Turkish)
Currently translated at 100.0% (1159 of 1159 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-08-08 08:46:00 +02:00
ButterflyOfFire
a7fdad7f77
Translated using Weblate (French)
Currently translated at 99.7% (1156 of 1159 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-08-08 08:45:59 +02:00
claleb
6e16a645c8
Translated using Weblate (German)
Currently translated at 100.0% (1159 of 1159 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-08-08 08:45:59 +02:00
Thomas
e00a3c6717 Release 3.23.2 2023-08-07 17:16:49 +02:00
Thomas
ba0fc54cbc Fix maths converter 2023-08-07 17:09:30 +02:00
Thomas
e954fd860a Markdown support 2023-08-07 17:03:14 +02:00
Thomas
6790158ed9 Support Markdown 2023-08-06 18:13:08 +02:00
Thomas
7825e06f69 Merge branch 'develop' of https://codeberg.org/tom79/Fedilab into develop 2023-07-30 18:18:05 +02:00
Thomas
1a3d95ef30 Release 3.23.1 2023-07-30 18:17:59 +02:00
Thomas
f37bf1df53 Scrollable media description 2023-07-30 18:16:16 +02:00
RintanBroadleaf
72d2082638
Translated using Weblate (Japanese)
Currently translated at 100.0% (1157 of 1157 strings)

Co-authored-by: RintanBroadleaf <rintanbroadleaf@outlook.jp>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translation: Fedilab/Strings
2023-07-30 18:02:00 +02:00
Lukáš Jelínek
aa5db1cc99
Translated using Weblate (Czech)
Currently translated at 100.0% (1157 of 1157 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-07-30 18:02:00 +02:00
Thomas
bbb47626ce fix for all calls 2023-07-30 11:13:14 +02:00
Thomas
ac290dec2b Fix a crash when visiting Peertube in menu 2023-07-30 10:53:37 +02:00
Thomas
1ed657eb55 Merge remote-tracking branch 'origin/develop' into develop 2023-07-30 10:38:20 +02:00
Thomas
4d2fa93632 Fix a crash when remote profiles is enabled 2023-07-30 10:38:10 +02:00
Thomas
7488ee0914 Merge pull request 'docs: fixing a markdown link in CONTRIBUTING.md' (#906) from mc80/Fedilab:develop into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/906
2023-07-29 16:08:18 +00:00
Thomas
eda23bd3b0 Release 3.23.0 2023-07-29 18:05:57 +02:00
Thomas
cf4b156863 Fix issue #913 - Fix Nitter feeds 2023-07-29 17:37:32 +02:00
Thomas
022d27ecb4 Merge remote-tracking branch 'origin/develop' into develop 2023-07-29 12:34:11 +02:00
Thomas
9e0d44824a Add preview for new logo 2023-07-29 12:34:05 +02:00
Serg
27ad666554
Translated using Weblate (Russian)
Currently translated at 75.9% (879 of 1157 strings)

Co-authored-by: Serg <karesh@bk.ru>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2023-07-29 12:12:47 +02:00
Thomas
a43a97d960 Add new logo 2023-07-29 12:12:35 +02:00
Thomas
fcef89f0c9 Display icon when changing logo 2023-07-29 11:44:13 +02:00
Thomas
bf447d823e Clean code 2023-07-27 14:47:22 +02:00
Thomas
44752cc329 Fix Punycode not supported for domains 2023-07-27 14:46:05 +02:00
Thomas
28501e7929 Merge remote-tracking branch 'origin/develop' into develop 2023-07-27 13:57:44 +02:00
Thomas
8c60348939 voice messages for Android 10+ 2023-07-27 13:57:29 +02:00
Serg
332ae125ac
Translated using Weblate (Russian)
Currently translated at 72.8% (843 of 1157 strings)

Co-authored-by: Serg <karesh@bk.ru>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ru/
Translation: Fedilab/Strings
2023-07-26 22:56:09 +02:00
Serg
3588a8b76e
Translated using Weblate (Russian)
Currently translated at 8.3% (3 of 36 strings)

Co-authored-by: Serg <karesh@bk.ru>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/ru/
Translation: Fedilab/description
2023-07-26 22:54:59 +02:00
Tomíček Rosič
0acdca0d99
Translated using Weblate (Icelandic)
Currently translated at 5.5% (2 of 36 strings)

Co-authored-by: Tomíček Rosič <tomicekrosic@proton.me>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/is/
Translation: Fedilab/description
2023-07-24 07:07:38 +02:00
Tomíček Rosič
d59c16217e
Translated using Weblate (Icelandic)
Currently translated at 35.6% (412 of 1157 strings)

Co-authored-by: Tomíček Rosič <tomicekrosic@proton.me>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/is/
Translation: Fedilab/Strings
2023-07-24 07:07:02 +02:00
Thomas
e06222733c Fix - Videos are played simultaneously 2023-07-23 17:31:35 +02:00
Thomas
870eeeb834 fix Lingva encoding issue 2023-07-22 15:15:43 +02:00
Thomas
958e4f6aa5 Fix issue #904 - Avoid sleep mode for media activity 2023-07-22 10:48:36 +02:00
Thomas
0daee80325 Merge remote-tracking branch 'origin/develop' into develop 2023-07-22 10:38:54 +02:00
Thomas
c1575fbf5f Fix a crash with PixelFed 2023-07-22 10:38:47 +02:00
josé m
40cb45b2da
Translated using Weblate (Galician)
Currently translated at 100.0% (1157 of 1157 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-07-19 18:07:19 +02:00
josé m
923fc1f8eb
Translated using Weblate (Galician)
Currently translated at 99.9% (1156 of 1157 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-07-18 18:06:43 +02:00
Mathieu CLAVEL
c1540d0267
docs: fixing a markdown link in CONTRIBUTING.md
Adding a missing opening parenthesis before the link URL.
2023-07-17 07:54:03 +02:00
Overplant Poster
47b46423c0
Translated using Weblate (Sinhala)
Currently translated at 56.4% (653 of 1157 strings)

Co-authored-by: Overplant Poster <overplant_poster435@simplelogin.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/si/
Translation: Fedilab/Strings
2023-07-17 04:32:59 +02:00
GunChleoc
23f85768c4
Translated using Weblate (Gaelic)
Currently translated at 100.0% (1157 of 1157 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2023-07-15 23:51:56 +02:00
claleb
879e8840ad
Translated using Weblate (German)
Currently translated at 100.0% (1157 of 1157 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-07-15 23:51:56 +02:00
Thomas
26760c8e15 Release 3.22.2 2023-07-14 18:25:19 +02:00
Thomas
49c5f864a7 Merge branch 'fix_3220' into develop 2023-07-14 18:16:30 +02:00
Thomas
c7f6fefc7f crash 2023-07-14 18:15:47 +02:00
Thomas
fbd2bcb418 Avoid multiple notifications 2023-07-14 15:50:54 +02:00
Thomas
e332df17a4 Merge remote-tracking branch 'origin/develop' into develop 2023-07-14 15:33:59 +02:00
Thomas
bbba486be1 Fix a crash 2023-07-14 15:25:32 +02:00
Thomas
ce607226d9 remote conversations 2023-07-14 11:11:27 +02:00
Overplant Poster
629ae3b9d3
Translated using Weblate (Sinhala)
Currently translated at 56.2% (649 of 1154 strings)

Co-authored-by: Overplant Poster <overplant_poster435@simplelogin.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/si/
Translation: Fedilab/Strings
2023-07-14 10:51:43 +02:00
Thomas
6d983a74de Oops 2023-07-14 10:14:09 +02:00
Oğuz Ersen
f364a08bbc
Translated using Weblate (Turkish)
Currently translated at 100.0% (1154 of 1154 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-07-13 17:53:10 +02:00
josé m
c4c45139d6
Translated using Weblate (Galician)
Currently translated at 99.9% (1153 of 1154 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-07-13 17:53:09 +02:00
claleb
401d43acfc
Translated using Weblate (German)
Currently translated at 100.0% (1154 of 1154 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-07-13 17:53:09 +02:00
Thomas
237801f56c Release 3.22.1 2023-07-12 17:45:28 +02:00
Thomas
7fdebf20f1 Fix issue #901 2023-07-12 16:57:34 +02:00
Thomas
ad178f3cd0 Order by date 2023-07-12 16:33:49 +02:00
Thomas
cbd1332213 Pass first message 2023-07-11 17:08:42 +02:00
Thomas
7cfe2cbecf Fetch comments 2023-07-08 16:41:37 +02:00
Thomas
58f193e71b Display lammy main threads 2023-07-08 16:32:02 +02:00
Thomas
5ca288a04b Add activity for timelines 2023-07-08 16:17:13 +02:00
Thomas
c331cbeb26 converter 2023-07-07 16:59:16 +02:00
Thomas
12b7663653 create entity 2023-07-07 16:27:46 +02:00
Thomas
a53ac333e3 Add timeline action 2023-07-07 16:01:09 +02:00
Thomas
04355116f4 Fix a crash 2023-06-08 16:27:46 +02:00
Thomas
9375abffd3 Allow to mute and unmute own user from Home timeline 2023-06-05 17:29:08 +02:00
Thomas
f6483c0ccb Merge pull request 'Reinstanciate linebreaks in shared content' (#849) from Augier/Fedilab:reinstanciate-linebreaks-in-share into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/849
2023-06-01 14:51:56 +00:00
Thomas
7e86d9377f Fix issue #875 - Visibility of the first message is changed to unlisted when adding replies 2023-06-01 16:46:23 +02:00
Thomas
3861a7b6e4 Crash due to delayed service call (Peertube) 2023-06-01 16:31:54 +02:00
Thomas
443ff2d299 Merge remote-tracking branch 'origin/develop' into develop 2023-05-30 09:45:51 +02:00
Thomas
b9026e2ac0 Release 3.22.0 2023-05-30 09:45:42 +02:00
Thomas
719665a2d8 Release 3.22.0 2023-05-30 09:44:40 +02:00
Thomas
37838681da Fix empty Home when starting 2023-05-30 08:59:28 +02:00
Thomas
cb2ede287d comment #874 - Avoid multiple notification fetch 2023-05-27 14:47:35 +02:00
Thomas
88da62b8e8 Fix a crash when forwarding tags 2023-05-26 12:14:20 +02:00
Thomas
3858220937 Add a fallback when remote profiles are not working 2023-05-26 12:05:18 +02:00
Thomas
be8943163a Fix issue #871 - Remove instance name encoded in UTF-8 2023-05-26 11:02:11 +02:00
GunChleoc
9b26ae718a
Translated using Weblate (Gaelic)
Currently translated at 3.0% (1 of 33 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/gd/
Translation: Fedilab/description
2023-05-25 03:49:53 +02:00
Parsa
ba0843ecc6
Translated using Weblate (Persian)
Currently translated at 57.0% (658 of 1153 strings)

Co-authored-by: Parsa <parsa@disr.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fa/
Translation: Fedilab/Strings
2023-05-12 04:48:58 +02:00
GunChleoc
3860fef6b8
Translated using Weblate (Gaelic)
Currently translated at 100.0% (1153 of 1153 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2023-05-06 20:48:58 +02:00
GunChleoc
0093d3d27a
Translated using Weblate (Gaelic)
Currently translated at 91.1% (1051 of 1153 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2023-05-01 02:51:21 +02:00
dreigiau
3ba8b94850
Translated using Weblate (Welsh)
Currently translated at 61.7% (712 of 1153 strings)

Co-authored-by: dreigiau <sterilgrimed23@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cy/
Translation: Fedilab/Strings
2023-04-23 08:50:16 +02:00
dreigiau
c348816809
Translated using Weblate (Welsh)
Currently translated at 9.0% (3 of 33 strings)

Co-authored-by: dreigiau <sterilgrimed23@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/cy/
Translation: Fedilab/description
2023-04-23 08:49:16 +02:00
Blood Axe
c839e82633
Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.7% (1081 of 1153 strings)

Co-authored-by: Blood Axe <bloodaxenor@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/nb_NO/
Translation: Fedilab/Strings
2023-04-18 22:50:19 +02:00
dreigiau
c5179274af
Translated using Weblate (Welsh)
Currently translated at 56.0% (646 of 1153 strings)

Co-authored-by: dreigiau <sterilgrimed23@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cy/
Translation: Fedilab/Strings
2023-04-15 05:54:57 +02:00
Hosted Weblate
45b1c0bb31
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/
Translation: Fedilab/Strings
2023-04-14 12:49:20 +02:00
Blood Axe
07bb58730a
Translated using Weblate (Norwegian Bokmål)
Currently translated at 85.1% (982 of 1153 strings)

Co-authored-by: Blood Axe <bloodaxenor@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/nb_NO/
Translation: Fedilab/Strings
2023-04-14 12:49:19 +02:00
Lukas
d9238fffa0
Translated using Weblate (Polish)
Currently translated at 99.8% (1151 of 1153 strings)

Co-authored-by: Lukas <ox86udoo@duck.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pl/
Translation: Fedilab/Strings
2023-04-12 05:53:08 +02:00
Zekovski
147bc2b709
Translated using Weblate (French)
Currently translated at 99.0% (1142 of 1153 strings)

Co-authored-by: Zekovski <zekovski@e.email>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-04-12 05:53:08 +02:00
Lukas
8076e353d2
Translated using Weblate (Polish)
Currently translated at 98.8% (1140 of 1153 strings)

Co-authored-by: Lukas <ox86udoo@duck.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pl/
Translation: Fedilab/Strings
2023-04-11 16:53:13 +02:00
Zekovski
8e9be690c3
Translated using Weblate (French)
Currently translated at 15.1% (5 of 33 strings)

Co-authored-by: Zekovski <zekovski@e.email>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/fr/
Translation: Fedilab/description
2023-04-06 01:51:30 +02:00
Jean-Luc Tibaux
d5181ce222
Translated using Weblate (French)
Currently translated at 98.0% (1130 of 1153 strings)

Co-authored-by: Jean-Luc Tibaux <eugentoptic@outlook.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-04-06 01:49:11 +02:00
Zekovski
64ad6a4ba6
Translated using Weblate (French)
Currently translated at 98.0% (1130 of 1153 strings)

Co-authored-by: Zekovski <zekovski@e.email>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-04-06 01:49:11 +02:00
Christophe Henry
0fcc2e5898 Reinstanciate linebreaks in shared content 2023-04-04 17:02:15 +02:00
GunChleoc
f072a618ee
Translated using Weblate (Gaelic)
Currently translated at 79.2% (914 of 1153 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2023-04-02 09:38:35 +02:00
GunChleoc
d6a335ec25
Translated using Weblate (Gaelic)
Currently translated at 79.2% (914 of 1153 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2023-03-30 07:37:41 +02:00
GunChleoc
667b1c7a0b
Translated using Weblate (Gaelic)
Currently translated at 74.3% (857 of 1153 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2023-03-29 19:26:24 +02:00
GunChleoc
6d2edeea29
Translated using Weblate (Gaelic)
Currently translated at 67.9% (784 of 1153 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2023-03-29 19:17:09 +02:00
Francesc
857a8960bb
Translated using Weblate (Catalan)
Currently translated at 80.4% (928 of 1153 strings)

Co-authored-by: Francesc <franzesk@live.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2023-03-29 19:06:56 +02:00
josé m
269a36217b
Translated using Weblate (Galician)
Currently translated at 99.9% (1152 of 1153 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-03-26 22:38:01 +02:00
Oğuz Ersen
4ef04c0dfa
Translated using Weblate (Turkish)
Currently translated at 100.0% (1153 of 1153 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-03-26 06:41:00 +02:00
claleb
1e51e9e7d4
Translated using Weblate (German)
Currently translated at 100.0% (1153 of 1153 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-03-26 06:41:00 +02:00
Lukáš Jelínek
d0c4a02c5a
Translated using Weblate (Czech)
Currently translated at 99.8% (1151 of 1153 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-03-26 06:40:59 +02:00
Poesty Li
dd9571c228
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1153 of 1153 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-03-26 06:40:59 +02:00
RintanBroadleaf
98eab21995
Translated using Weblate (Japanese)
Currently translated at 100.0% (1143 of 1143 strings)

Co-authored-by: RintanBroadleaf <rintanbroadleaf@outlook.jp>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translation: Fedilab/Strings
2023-03-26 06:40:59 +02:00
Parsa
811b265022
Translated using Weblate (Persian)
Currently translated at 56.6% (648 of 1143 strings)

Co-authored-by: Parsa <parsa@disr.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fa/
Translation: Fedilab/Strings
2023-03-26 06:40:59 +02:00
Paúl Sanz
b217e3647e
Translated using Weblate (Spanish)
Currently translated at 12.1% (4 of 33 strings)

Co-authored-by: Paúl Sanz <paulsanzcalvo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/es/
Translation: Fedilab/description
2023-03-26 06:40:38 +02:00
Thomas
103f030f6b Fix issue #838 - Load and display last notifications when clicking on a push notifications 2023-03-25 18:03:42 +01:00
Thomas
917f33334c some fixes 2023-03-25 17:42:36 +01:00
Thomas
a013c160b7 Release 3.21.2 2023-03-24 17:26:23 +01:00
Thomas
1513f4b667 Merge remote-tracking branch 'origin/develop' into develop 2023-03-24 16:45:12 +01:00
Thomas
a1b08b8edc custom dialog 2023-03-24 16:44:42 +01:00
Thomas
fdbb3b04f3 custom colors per account 2023-03-24 16:27:25 +01:00
Thomas
8ffd5b3a19 some changes 2023-03-24 15:13:24 +01:00
Lukas
5ff9727431
Translated using Weblate (Polish)
Currently translated at 99.3% (1135 of 1143 strings)

Co-authored-by: Lukas <ox86udoo@duck.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pl/
Translation: Fedilab/Strings
2023-03-23 10:37:14 +01:00
Lukas
c90b832811
Translated using Weblate (Polish)
Currently translated at 18.7% (6 of 32 strings)

Co-authored-by: Lukas <ox86udoo@duck.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/pl/
Translation: Fedilab/description
2023-03-23 09:39:58 +01:00
Thomas
4a8d20ed6b Release 3.21.1 2023-03-22 17:51:33 +01:00
Thomas
45078b10b0 FP when playing audio 2023-03-22 17:49:53 +01:00
Thomas
75139a8523 Fix issue #830 - Poll having html 2023-03-22 17:43:35 +01:00
Thomas
7743de24d2 Fix issue #831 - Filter messages in profiles 2023-03-22 17:32:27 +01:00
Thomas
2f9addb788 Fix crash with gif 2023-03-22 16:44:03 +01:00
Thomas
b89671c08a Merge remote-tracking branch 'origin/develop' into develop 2023-03-22 16:35:44 +01:00
Thomas
dca3e444d7 Fix issue #832 - Fetch More with wrong width 2023-03-22 16:35:36 +01:00
Hosted Weblate
67678ab6f9
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/
Translation: Fedilab/Strings
2023-03-22 04:47:02 +01:00
Poesty Li
1c3e060715
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1143 of 1143 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-03-22 04:47:01 +01:00
Oğuz Ersen
7a7cebc5ce
Translated using Weblate (Turkish)
Currently translated at 100.0% (1143 of 1143 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-03-22 04:47:01 +01:00
josé m
77755e0c93
Translated using Weblate (Galician)
Currently translated at 99.9% (1142 of 1143 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-03-22 04:47:00 +01:00
claleb
8d264a3af4
Translated using Weblate (German)
Currently translated at 100.0% (1143 of 1143 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-03-22 04:47:00 +01:00
Lukáš Jelínek
f9c36f81ae
Translated using Weblate (Czech)
Currently translated at 99.7% (1140 of 1143 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-03-22 04:46:59 +01:00
Parsa
efc5c7012c
Translated using Weblate (Persian)
Currently translated at 16.1% (5 of 31 strings)

Co-authored-by: Parsa <parsa@disr.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/fa/
Translation: Fedilab/description
2023-03-21 20:40:30 +01:00
Thomas
15416b8c5a Fix issue #833 - URL protocol in upper case 2023-03-21 13:10:14 +01:00
Thomas
6345fe6adb Merge remote-tracking branch 'origin/develop' into develop 2023-03-21 13:03:12 +01:00
Thomas
7930cdf838 Merge branch 'fixes_487' into develop 2023-03-21 13:03:03 +01:00
Thomas
7763d2f5f1 Some fixes 2023-03-21 13:02:52 +01:00
Parsa
7d1f245340
Translated using Weblate (Persian)
Currently translated at 9.6% (3 of 31 strings)

Co-authored-by: Parsa <parsa@disr.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/fa/
Translation: Fedilab/description
2023-03-20 20:40:48 +01:00
Thomas
5d97d75a13 Merge remote-tracking branch 'origin/develop' into develop 2023-03-20 18:24:02 +01:00
Thomas
3da5cdf703 Some layouts improvements 2023-03-20 18:23:39 +01:00
Thomas
b6a8df9410 clean code 2023-03-20 14:06:58 +01:00
Thomas
f698b414a5 fix flags 2023-03-20 11:42:06 +01:00
Thomas
a8f8f33a74 fix orientation issue 2023-03-20 11:27:36 +01:00
Thomas
47b767e8ce Add settings 2023-03-20 10:43:21 +01:00
Thomas
9fd701b102 Add settings 2023-03-19 16:26:20 +01:00
Thomas
327fac5f5a working track selectors 2023-03-19 12:19:26 +01:00
Thomas
0a9c5162ca track selector 2023-03-19 12:05:33 +01:00
Thomas
f082611b02 some changes with resolution 2023-03-17 17:28:20 +01:00
RintanBroadleaf
f95f7b2dfc
Translated using Weblate (Japanese)
Currently translated at 100.0% (1142 of 1142 strings)

Co-authored-by: RintanBroadleaf <rintanbroadleaf@outlook.jp>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translation: Fedilab/Strings
2023-03-17 14:38:04 +01:00
Ettore Atalan
9703133ad2
Translated using Weblate (German)
Currently translated at 100.0% (1142 of 1142 strings)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-03-16 18:41:16 +01:00
Lukáš Jelínek
d3b0ccf3d5
Translated using Weblate (Czech)
Currently translated at 99.7% (1139 of 1142 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-03-16 18:41:15 +01:00
Poesty Li
f0ef62183e
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1141 of 1141 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-03-16 18:41:15 +01:00
Oğuz Ersen
79337d7b7d
Translated using Weblate (Turkish)
Currently translated at 100.0% (1142 of 1142 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (1141 of 1141 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-03-16 18:41:14 +01:00
josé m
b1d59592bd
Translated using Weblate (Galician)
Currently translated at 100.0% (1142 of 1142 strings)

Translated using Weblate (Galician)

Currently translated at 100.0% (1141 of 1141 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-03-16 18:41:13 +01:00
ButterflyOfFire
38fb341f38
Translated using Weblate (French)
Currently translated at 96.8% (1105 of 1141 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-03-16 18:41:13 +01:00
claleb
2d2e1787d9
Translated using Weblate (German)
Currently translated at 100.0% (1141 of 1141 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-03-16 18:41:12 +01:00
Thomas
979739cc21 improve Peertube instance picker behaviour 2023-03-16 17:36:55 +01:00
Thomas
740ce71ac9 Release 3.21.0 2023-03-15 18:56:55 +01:00
Thomas
fd4133d962 some changes 2023-03-15 18:46:47 +01:00
Thomas
1dcb500c7f some changes 2023-03-15 18:46:00 +01:00
Thomas
5fbc9d54b3 some changes 2023-03-15 18:09:15 +01:00
Thomas
d95e48ef86 Change instances 2023-03-15 17:33:06 +01:00
Thomas
462a9a1d44 Some changes 2023-03-15 16:41:20 +01:00
Thomas
ffe7dbf1dd Some changes 2023-03-15 15:23:12 +01:00
Thomas
dddef9706d Merge branch 'develop' into peertube_integration 2023-03-15 09:27:53 +01:00
Thomas
d3c44489f3 Fix a crash with search/directory 2023-03-15 09:27:27 +01:00
Thomas
739183de9c Merge remote-tracking branch 'origin/develop' into develop 2023-03-14 18:20:25 +01:00
Thomas
4dfc9b9f68 Release 3.20.3 2023-03-14 18:20:20 +01:00
Thomas
82133c114e Add some elements 2023-03-14 18:16:01 +01:00
Thomas
e28b3fcf76 Add some elements 2023-03-14 18:00:47 +01:00
Oğuz Ersen
7bb0193211
Translated using Weblate (Turkish)
Currently translated at 100.0% (1140 of 1140 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-03-14 16:15:49 +01:00
Lukáš Jelínek
82c7aed836
Translated using Weblate (Czech)
Currently translated at 99.6% (1136 of 1140 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-03-14 16:15:49 +01:00
Thomas
20c797520e remote info 2023-03-14 16:15:22 +01:00
Thomas
569e4c680e Release notes 2023-03-14 11:25:56 +01:00
Thomas
50f5f15c6f Check remotely following/followers from profiles 2023-03-14 11:24:20 +01:00
Thomas
ba1aa01d46 Fix a crash 2023-03-14 10:31:18 +01:00
Thomas
3746673f9d Release 3.20.2 2023-03-13 18:09:48 +01:00
Thomas
0383007451 Merge remote-tracking branch 'origin/develop' into develop 2023-03-13 17:19:46 +01:00
Thomas
fdd39704ef Fix jumps with Akkoma/Pleroma when media preview size is not set 2023-03-13 17:19:38 +01:00
Thomas
25c372280f Faster access to remove all notifications 2023-03-13 17:08:05 +01:00
Poesty Li
ddde78f5b9
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1140 of 1140 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-03-13 16:46:50 +01:00
Thomas
bbcc9244e3 trim for nodeinfo 2023-03-13 16:40:49 +01:00
Thomas
d79c09c692 Merge remote-tracking branch 'origin/develop' into develop 2023-03-13 10:37:18 +01:00
Thomas
f6af6f9519 - Open media description when it is missing in the warning dialog 2023-03-13 10:37:08 +01:00
Thomas
f045f71337 Fix nitter 2023-03-12 18:41:08 +01:00
Thomas
cd40704d0f force left alignment with maths 2023-03-12 18:36:05 +01:00
Thomas
ac9eb64368 no controller for gif 2023-03-12 18:10:45 +01:00
Thomas
6261eadeb7 logs 2023-03-12 16:18:52 +01:00
Thomas
95ad3d687c Add indicator 2023-03-12 16:16:42 +01:00
Poesty Li
f41fdc1ea5
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1138 of 1138 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-03-12 01:41:27 +01:00
josé m
8b560b5916
Translated using Weblate (Galician)
Currently translated at 100.0% (1138 of 1138 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-03-12 01:41:27 +01:00
claleb
6e87baff6f
Translated using Weblate (German)
Currently translated at 100.0% (1138 of 1138 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-03-12 01:41:26 +01:00
Lukáš Jelínek
621e59eae5
Translated using Weblate (Czech)
Currently translated at 99.6% (1134 of 1138 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-03-12 01:41:26 +01:00
Thomas
1b88633887 Add fetching message 2023-03-11 11:12:21 +01:00
Thomas
bc27445103 Fix a crash with null media URLs 2023-03-11 09:33:46 +01:00
Oğuz Ersen
6b589fc9f6
Translated using Weblate (Turkish)
Currently translated at 100.0% (1138 of 1138 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-03-10 00:13:52 +01:00
ButterflyOfFire
5af213ca48
Translated using Weblate (Italian)
Currently translated at 89.4% (1018 of 1138 strings)

Translated using Weblate (French)

Currently translated at 96.6% (1100 of 1138 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/it/
Translation: Fedilab/Strings
2023-03-10 00:13:51 +01:00
Ettore Atalan
f3165acd64
Translated using Weblate (German)
Currently translated at 99.3% (1131 of 1138 strings)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-03-10 00:13:50 +01:00
Thomas
da67ec0e03 Release 3.20.1 2023-03-09 18:03:39 +01:00
Poesty Li
047916cf9c
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1135 of 1135 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-03-09 17:44:29 +01:00
Lukáš Jelínek
26074ae7b7
Translated using Weblate (Czech)
Currently translated at 99.6% (1131 of 1135 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-03-09 17:44:29 +01:00
Thomas
915841aa04 Fix some crashes 2023-03-09 17:44:22 +01:00
Thomas
6a1a144ca3 extend media description warning to cross boost 2023-03-09 17:31:41 +01:00
Thomas
22b43db39b Warn before boosting a message having no media description 2023-03-09 17:18:57 +01:00
Thomas
09e00cbbee Merge remote-tracking branch 'origin/develop' into develop 2023-03-09 16:42:18 +01:00
Thomas
b5f0cc3097 Fix issue #824 2023-03-09 16:42:12 +01:00
Poesty Li
aeddaf6462
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1132 of 1132 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1130 of 1130 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-03-09 15:35:21 +01:00
Oğuz Ersen
64c5bffbfa
Translated using Weblate (Turkish)
Currently translated at 100.0% (1130 of 1130 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-03-09 15:35:21 +01:00
josé m
0af1a9071b
Translated using Weblate (Galician)
Currently translated at 100.0% (1132 of 1132 strings)

Translated using Weblate (Galician)

Currently translated at 99.9% (1129 of 1130 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-03-09 15:35:21 +01:00
ButterflyOfFire
70d4434d36
Translated using Weblate (French)
Currently translated at 96.2% (1088 of 1130 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-03-09 15:35:21 +01:00
Thomas
7c1d5a4830 Follow Request By 2023-03-09 15:35:12 +01:00
Thomas
7f9d6ca2d5 Mandatory media description warn by default 2023-03-09 15:17:59 +01:00
Thomas
62f84f5637 Fix an issue with instance social 2023-03-09 14:56:43 +01:00
Thomas
426658695e move string 2023-03-09 14:31:56 +01:00
Thomas
68d9abea67 settings to automatically fetch remote media when it fails (default: disabled) 2023-03-09 14:31:02 +01:00
Thomas
8c74343843 Fix some settings not properly restored 2023-03-09 14:17:29 +01:00
Thomas
ca3142046b Button to load media from remote instance when it fails 2023-03-09 13:59:55 +01:00
Thomas
7e2c9ab4a2 Release 3.20.0 2023-03-08 18:23:03 +01:00
Thomas
e8e7527094 Release logs 2023-03-08 17:06:18 +01:00
Thomas
6e15bc93d1 Chat view by default and add a privacy indicator 2023-03-08 17:02:07 +01:00
Thomas
9a08f5eb5f Some fixes 2023-03-08 16:41:01 +01:00
Thomas
2687f85935 Add ignore battery optimizations in cache settings 2023-03-08 16:08:45 +01:00
Thomas
8548e6f098 Add follow indicator 2023-03-08 16:03:53 +01:00
Thomas
b77239b874 Add follow indicator 2023-03-08 16:01:25 +01:00
Thomas
a8ffbcae29 Merge remote-tracking branch 'origin/develop' into develop 2023-03-08 15:50:11 +01:00
Thomas
5782fe9da6 improve media description 2023-03-08 15:50:05 +01:00
Thomas
70a66ae4cd some fixes 2023-03-08 15:07:52 +01:00
Oğuz Ersen
be7a9105a0
Translated using Weblate (Turkish)
Currently translated at 100.0% (1129 of 1129 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-03-08 09:40:12 +01:00
claleb
97da17773e
Translated using Weblate (German)
Currently translated at 99.8% (1127 of 1129 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-03-08 09:40:12 +01:00
Lukáš Jelínek
ddc59156ea
Translated using Weblate (Czech)
Currently translated at 99.7% (1126 of 1129 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-03-08 09:40:11 +01:00
Thomas
827acad36d Fetch also remotely when fetching missing 2023-03-07 19:02:39 +01:00
Thomas
e22d063a1e Merge remote-tracking branch 'origin/develop' into develop 2023-03-07 18:25:21 +01:00
Thomas
caee0ad276 Records home logs 2023-03-07 18:25:15 +01:00
Thomas
f616b7df0e Records home logs 2023-03-07 12:05:27 +01:00
Dan
275d941afd
Translated using Weblate (Ukrainian)
Currently translated at 61.3% (682 of 1112 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2023-03-06 19:40:10 +01:00
RintanBroadleaf
7675543a31
Translated using Weblate (Japanese)
Currently translated at 100.0% (1112 of 1112 strings)

Co-authored-by: RintanBroadleaf <rintanbroadleaf@outlook.jp>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translation: Fedilab/Strings
2023-03-06 19:40:09 +01:00
Thomas
84814d3291 Records home logs 2023-03-06 17:36:57 +01:00
Thomas
e1c833fcd6 Records home logs 2023-03-05 18:30:08 +01:00
Thomas
0dc1fcf341 some fixes 2023-03-05 17:34:40 +01:00
Thomas
d3984bc06b some fixes 2023-03-05 16:27:43 +01:00
Thomas
74b107f1d3 Charts 2023-03-04 18:28:59 +01:00
Thomas
c04a51f3b7 Charts 2023-03-04 17:40:23 +01:00
Hosted Weblate
a13b7d9f80
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/
Translation: Fedilab/Strings
2023-03-04 01:51:59 +01:00
GunChleoc
86c899f007
Translated using Weblate (Gaelic)
Currently translated at 52.7% (587 of 1112 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2023-03-04 01:51:59 +01:00
Thomas
6019f5129b Merge remote-tracking branch 'origin/develop' into develop 2023-03-03 16:51:10 +01:00
Thomas
6fb6d295d4 Fix issue #815 - Bad behavior with gif 2023-03-03 16:51:04 +01:00
GunChleoc
39bac4e8f8
Translated using Weblate (Gaelic)
Currently translated at 51.7% (576 of 1112 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gd/
Translation: Fedilab/Strings
2023-03-03 12:33:55 +01:00
Thomas
dc9b31b4eb some changes 2023-03-03 12:25:09 +01:00
Thomas
c89cabdcb4 some changes 2023-03-03 11:59:38 +01:00
Thomas
f2c42de0ca Merge remote-tracking branch 'origin/develop' into develop 2023-03-03 11:58:23 +01:00
Thomas
f40d2d7424 Fix issue #819 - Lists are removed when failing to sync 2023-03-03 11:58:17 +01:00
claleb
3ffda44c1d
Translated using Weblate (German)
Currently translated at 100.0% (1112 of 1112 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-03-03 01:54:12 +01:00
Thomas
8a0f104992 Merge remote-tracking branch 'origin/develop' into develop 2023-03-02 14:19:49 +01:00
Thomas
688f5d8a9a Fix issue #818 2023-03-02 14:19:41 +01:00
Oğuz Ersen
5c2e1c4a4b
Translated using Weblate (Turkish)
Currently translated at 100.0% (1112 of 1112 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-03-01 19:36:21 +01:00
Lukáš Jelínek
2f984aa848
Translated using Weblate (Czech)
Currently translated at 99.8% (1110 of 1112 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-03-01 19:36:20 +01:00
Poesty Li
16ad17aebb
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1112 of 1112 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1110 of 1110 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-03-01 19:36:20 +01:00
josé m
39ca6e01b0
Translated using Weblate (Galician)
Currently translated at 100.0% (1112 of 1112 strings)

Translated using Weblate (Galician)

Currently translated at 100.0% (1108 of 1108 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-03-01 19:36:19 +01:00
Thomas
cea9abbc5b Release 3.19.1 2023-02-28 18:32:07 +01:00
Thomas
a7c76e80a0 Merge remote-tracking branch 'origin/develop' into develop 2023-02-28 16:10:32 +01:00
Thomas
a655cab7ae Request remove battery optimization 2023-02-28 16:10:24 +01:00
Oğuz Ersen
c5b7bac8f8
Translated using Weblate (Turkish)
Currently translated at 100.0% (1104 of 1104 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-02-28 11:38:05 +01:00
josé m
1ca468314e
Translated using Weblate (Galician)
Currently translated at 100.0% (1104 of 1104 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-02-28 11:38:05 +01:00
claleb
82dd3c82a6
Translated using Weblate (German)
Currently translated at 100.0% (1104 of 1104 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-02-28 11:38:05 +01:00
Lukáš Jelínek
1e998cc103
Translated using Weblate (Czech)
Currently translated at 99.9% (1103 of 1104 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-02-28 11:38:05 +01:00
Poesty Li
5d7d6568e1
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1104 of 1104 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1100 of 1100 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-28 11:38:05 +01:00
Thomas
7195f03501 bad behavior with truncated messages 2023-02-28 11:37:58 +01:00
Thomas
545fbe588c Fix cache view with large fonts 2023-02-28 10:47:09 +01:00
Thomas
97a527ab52 Allow to warn instead of blocking when there are no media description 2023-02-28 10:33:56 +01:00
Thomas
b981d2899e Release 3.19.0 2023-02-27 18:37:46 +01:00
Thomas
b9af6ee60b Fix edit media description 2023-02-27 18:08:07 +01:00
Thomas
5d5f2f9c9a Fix #800 - Add settings to don't send message if there are no media description 2023-02-27 16:14:35 +01:00
Thomas
19348ce031 #803 - Accessibility for DM 2023-02-27 14:18:23 +01:00
Thomas
ffb71f816f #803 - Accessibility for profiles 2023-02-27 14:11:14 +01:00
Thomas
c815a66be3 Fix visibility with cross replies 2023-02-27 10:51:11 +01:00
Thomas
34c81cec76 Some updates 2023-02-27 10:24:13 +01:00
Thomas
737ba73cea Merge remote-tracking branch 'origin/develop' into develop 2023-02-27 10:20:38 +01:00
Thomas
a47cbf80cd Fix issue #810 - Cache issue 2023-02-27 10:20:25 +01:00
Lukas
83fc8a46f8
Translated using Weblate (Polish)
Currently translated at 99.0% (1086 of 1096 strings)

Co-authored-by: Lukas <ox86udoo@duck.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pl/
Translation: Fedilab/Strings
2023-02-26 00:38:42 +01:00
SevicheCC
976a27229e
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: SevicheCC <me@seviche.cc>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-24 03:36:12 +01:00
josé m
a1a1a4fecb
Translated using Weblate (Galician)
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-02-21 20:37:57 +01:00
Poesty Li
2049f3c61d
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-20 02:00:33 +01:00
Oğuz Ersen
dc4186aead
Translated using Weblate (Turkish)
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-02-20 02:00:31 +01:00
Lukas
22836dca4f
Translated using Weblate (Polish)
Currently translated at 98.7% (1082 of 1096 strings)

Co-authored-by: Lukas <ox86udoo@duck.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pl/
Translation: Fedilab/Strings
2023-02-20 02:00:29 +01:00
Ettore Atalan
791fa4a082
Translated using Weblate (German)
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-02-20 02:00:28 +01:00
Lukáš Jelínek
215bc11b62
Translated using Weblate (Czech)
Currently translated at 99.8% (1094 of 1096 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-02-20 02:00:28 +01:00
Oliebol
e008afa42f
Translated using Weblate (Dutch)
Currently translated at 98.5% (1080 of 1096 strings)

Co-authored-by: Oliebol <schrijfmedan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/nl/
Translation: Fedilab/Strings
2023-02-20 02:00:26 +01:00
ButterflyOfFire
8efef5112b
Translated using Weblate (French)
Currently translated at 96.3% (1056 of 1096 strings)

Translated using Weblate (French)

Currently translated at 96.0% (1053 of 1096 strings)

Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/fr/
Translation: Fedilab/Strings
2023-02-20 02:00:26 +01:00
claleb
3bdce72d58
Translated using Weblate (German)
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-02-20 02:00:25 +01:00
Thomas
8c49260a67 add policy for push 2023-02-19 19:10:10 +01:00
Thomas
e013dc96c0 Merge remote-tracking branch 'origin/develop' into develop 2023-02-18 18:26:01 +01:00
Thomas
89190e5b86 fix typo 2023-02-18 18:25:56 +01:00
Thomas
4ae5e73b76 Fix crashes 2023-02-18 18:24:42 +01:00
Eduardo
2757f47cc2
Translated using Weblate (Portuguese)
Currently translated at 88.9% (975 of 1096 strings)

Co-authored-by: Eduardo <edu200399lim@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pt/
Translation: Fedilab/Strings
2023-02-18 04:38:17 +01:00
Poesty Li
a9e2576774
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-17 04:38:53 +01:00
Ajeje Brazorf
878c4a0a92
Translated using Weblate (Sardinian)
Currently translated at 99.0% (1086 of 1096 strings)

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/sc/
Translation: Fedilab/Strings
2023-02-17 04:38:53 +01:00
RintanBroadleaf
9edba3bbec
Translated using Weblate (Japanese)
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: RintanBroadleaf <rintanbroadleaf@outlook.jp>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ja/
Translation: Fedilab/Strings
2023-02-17 04:38:52 +01:00
Thomas
bc70576a63 Release 3.18.2 2023-02-16 18:57:22 +01:00
Thomas
187d20cc15 remove freezes 2023-02-16 18:41:32 +01:00
Thomas
0bd1a8e5de update libs 2023-02-16 17:29:14 +01:00
Thomas
740b42d5d3 Fix an issue with auto display hidden media 2023-02-16 17:20:50 +01:00
Thomas
c403dc14f9 Change first media size depending of the ratio (width/height) 2023-02-16 15:46:48 +01:00
Thomas
17b26de808 Merge remote-tracking branch 'origin/develop' into develop 2023-02-16 10:36:18 +01:00
Thomas
5aad4db2a4 Fix max lenght in chat + rework truncate feature 2023-02-16 10:36:11 +01:00
Poesty Li
6581caf589
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-15 22:04:01 +01:00
Lukáš Jelínek
7f25fe3745
Translated using Weblate (Czech)
Currently translated at 99.9% (1095 of 1096 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-02-15 22:04:00 +01:00
Thomas
a4ec09dc61 issue with media size when opening 2023-02-15 15:54:59 +01:00
Thomas
8079a213f7 Fix media not added in chat view 2023-02-15 15:45:50 +01:00
Thomas
c72d3432ee Merge branch 'develop' of https://codeberg.org/tom79/Fedilab into develop 2023-02-15 14:59:15 +01:00
Thomas
12decaea76 Fix media not added in chat view 2023-02-15 14:59:01 +01:00
Poesty Li
10cb858a6d
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-15 08:45:43 +01:00
Oğuz Ersen
b3f820d840
Translated using Weblate (Turkish)
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-02-15 08:45:43 +01:00
josé m
28d91cce16
Translated using Weblate (Galician)
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-02-15 08:45:42 +01:00
claleb
a9dda8f263
Translated using Weblate (German)
Currently translated at 100.0% (1096 of 1096 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-02-15 08:45:42 +01:00
Oğuz Ersen
777ed0a673
Translated using Weblate (Turkish)
Currently translated at 100.0% (1094 of 1094 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-02-14 19:11:19 +01:00
Lukáš Jelínek
4b1b48c235
Translated using Weblate (Czech)
Currently translated at 99.9% (1093 of 1094 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-02-14 19:11:19 +01:00
Thomas
67b9e8c7d0 Release 3.18.1 2023-02-14 19:11:07 +01:00
Thomas
dfcaed080b Some small changes 2023-02-14 19:07:05 +01:00
Thomas
e00bd1e7c3 some changes for chat 2023-02-14 17:42:27 +01:00
Thomas
3e90ac4b9e Merge pull request 'Add support for Nyastodon-style emoji reactions' (#789) from skyevg/Fedilab:develop into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/789
2023-02-14 15:34:43 +00:00
Thomas
4d92dc1f42 Merge branch 'develop' into develop 2023-02-14 15:23:55 +00:00
Thomas
c29a2bd07b some changes for chat 2023-02-14 16:21:04 +01:00
Thomas
c001b83fb4 some fixes 2023-02-14 11:26:59 +01:00
Thomas
4b8563fe7e working 2023-02-14 11:02:04 +01:00
Thomas
4eb4c6eea5 change lib 2023-02-14 10:45:23 +01:00
Thomas
5e4298c566 Release 3.18.0 2023-02-13 18:59:17 +01:00
Thomas
bbf40df10e Some improvements 2023-02-13 18:54:20 +01:00
Thomas
f9ad08f52b Merge branch 'develop' into bubble_view 2023-02-13 16:12:46 +01:00
Thomas
7c32605e85 Merge remote-tracking branch 'origin/develop' into develop 2023-02-13 16:11:42 +01:00
Thomas
4feb4659a3 Fix some crashes 2023-02-13 16:11:34 +01:00
Thomas
0a1c4f766d forward tag set to true 2023-02-13 15:34:56 +01:00
Thomas
9f4fb208a0 prepare views 2023-02-13 15:32:49 +01:00
0xd9a
dec4dd85a8 Add bottom compose layout 2023-02-12 17:49:29 +05:30
Thomas
0405e1e29f Change media 2023-02-12 12:12:35 +01:00
Poesty Li
4be8132bbf
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1090 of 1090 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-11 20:37:34 +01:00
claleb
b63c1d9a9c
Translated using Weblate (German)
Currently translated at 100.0% (1090 of 1090 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-02-11 20:37:34 +01:00
Thomas
d89c16b3ea Add chat view 2023-02-11 18:45:52 +01:00
Thomas
00a2f0b67a Add chat view 2023-02-11 18:28:25 +01:00
Lukáš Jelínek
acadb3c6db
Translated using Weblate (Czech)
Currently translated at 99.9% (1089 of 1090 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-02-11 06:09:14 +01:00
Francesc
5483c48d38
Translated using Weblate (Catalan)
Currently translated at 82.3% (898 of 1090 strings)

Co-authored-by: Francesc <franzesk@live.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2023-02-11 06:09:13 +01:00
Oğuz Ersen
8bc3ecfb4f
Translated using Weblate (Turkish)
Currently translated at 100.0% (1090 of 1090 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-02-11 06:09:13 +01:00
Poesty Li
4fad5a1614
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1090 of 1090 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1089 of 1089 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-11 06:09:12 +01:00
Ajeje Brazorf
6b85100236
Translated using Weblate (Sardinian)
Currently translated at 99.1% (1080 of 1089 strings)

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/sc/
Translation: Fedilab/Strings
2023-02-11 06:09:12 +01:00
0xd9a
979354dc75 some changes to chat views 2023-02-11 00:34:40 +05:30
Thomas
11547c56a8 Improve chat view 2023-02-10 18:30:05 +01:00
Thomas
9560bc6680 Create views 2023-02-10 18:17:44 +01:00
Thomas
25a72471a1 Update with new language 2023-02-09 19:02:28 +01:00
Thomas
7ce644e922 Add back custom tabs 2023-02-09 17:23:51 +01:00
Thomas
a6c17512cc update release notes 2023-02-09 15:56:10 +01:00
Thomas
817b4d1838 Merge remote-tracking branch 'origin/develop' into develop 2023-02-09 15:54:44 +01:00
Thomas
2b2a3dbc99 Fix issue #788 - Forwarded are added back when deleted 2023-02-09 15:54:39 +01:00
Hosted Weblate
3ac1abb2d2
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/
Translation: Fedilab/description
2023-02-09 15:44:07 +01:00
Thomas
eb861cdaa0 Archive release notes 2023-02-09 15:43:46 +01:00
Thomas
5fb9a1d05a Merge remote-tracking branch 'origin/develop' into develop 2023-02-09 15:03:09 +01:00
Thomas
159ddaea80 manage tags 2023-02-09 15:02:31 +01:00
Thomas
16962a127e Change db 2023-02-09 12:15:50 +01:00
8e12dffb69
Add support for Nyastodon-style emoji reactions 2023-02-09 10:25:10 +09:00
Joan Pujolar
3952b1caf1
Translated using Weblate (Catalan)
Currently translated at 82.5% (896 of 1085 strings)

Co-authored-by: Joan Pujolar <joan.pujolar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2023-02-09 01:52:18 +01:00
Thomas
578161d604 Some fixes 2023-02-08 17:57:50 +01:00
Thomas
6434b154b4 Merge remote-tracking branch 'origin/develop' into develop 2023-02-08 17:42:40 +01:00
Thomas
b12f9f2ded Fix empty timelines after GB 2023-02-08 17:42:27 +01:00
josé m
f372d3d44d
Translated using Weblate (Galician)
Currently translated at 100.0% (1085 of 1085 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-02-08 13:41:26 +01:00
Joan Pujolar
66d4b84d89
Translated using Weblate (Catalan)
Currently translated at 81.8% (888 of 1085 strings)

Co-authored-by: Joan Pujolar <joan.pujolar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2023-02-08 13:41:25 +01:00
dtalens
215be31021
Translated using Weblate (Catalan)
Currently translated at 81.8% (888 of 1085 strings)

Co-authored-by: dtalens <databio@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2023-02-08 13:41:25 +01:00
Francesc
aa892f2fb9
Translated using Weblate (Catalan)
Currently translated at 81.8% (888 of 1085 strings)

Co-authored-by: Francesc <franzesk@live.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/ca/
Translation: Fedilab/Strings
2023-02-08 13:41:24 +01:00
claleb
56cd4f38eb
Translated using Weblate (German)
Currently translated at 100.0% (1085 of 1085 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-02-08 07:37:08 +01:00
Lukáš Jelínek
abc301b7dd
Translated using Weblate (Czech)
Currently translated at 99.9% (1084 of 1085 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-02-08 07:37:07 +01:00
Thomas
29995fc219 Fix some crashes 2023-02-07 17:23:02 +01:00
Thomas
a3a3d9350e Fix a bug with media not available 2023-02-07 16:01:05 +01:00
Thomas
34a8a4ee85 Merge remote-tracking branch 'origin/develop' into develop 2023-02-07 15:34:38 +01:00
Thomas
70783bb532 Fix a crash when composing 2023-02-07 15:34:14 +01:00
Thomas
413d11b3c3 Height of media depends of screen size 2023-02-07 15:29:58 +01:00
Poesty Li
8686d16db6
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1085 of 1085 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-06 18:50:02 +01:00
Oğuz Ersen
4106802f4a
Translated using Weblate (Turkish)
Currently translated at 100.0% (1085 of 1085 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-02-06 18:50:02 +01:00
Thomas
c2e15c2bfb Add blurhash when available 2023-02-06 18:16:53 +01:00
Thomas
37bc798e38 Fix some crashes 2023-02-06 17:42:00 +01:00
Thomas
5c73717373 Fix some crashes 2023-02-06 14:48:45 +01:00
Thomas
4837afcfb0 Merge pull request 'Fix unpin_tag string used in place of pin_tag.' (#783) from trem/Fedilab:develop into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/783
2023-02-06 09:27:56 +00:00
Thomas
810b2e9864 Fix issue #782 - Overlapped texts with "About my instance" 2023-02-06 10:16:45 +01:00
Thomas
2fcb02ea4f Fix issue #780 - Add descriptions to images for drafts 2023-02-06 09:48:37 +01:00
Thomas
3db9d22e48 Fix issue #779 - Focus view for accessibility with visibility when composing 2023-02-06 09:41:53 +01:00
Thomas
f817fd0797 Merge remote-tracking branch 'origin/develop' into develop 2023-02-06 09:34:02 +01:00
Thomas
8bbac74334 Fix issue #778 - Add description to remove button for fields. 2023-02-06 09:33:56 +01:00
SevicheCC
fd13861603
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1080 of 1080 strings)

Co-authored-by: SevicheCC <me@seviche.cc>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-06 09:30:25 +01:00
Poesty Li
8177ffd4f3
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1080 of 1080 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-06 09:30:25 +01:00
Oğuz Ersen
82d85168d5
Translated using Weblate (Turkish)
Currently translated at 100.0% (1080 of 1080 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-02-06 09:30:25 +01:00
Ajeje Brazorf
4721b185aa
Translated using Weblate (Sardinian)
Currently translated at 99.2% (1072 of 1080 strings)

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/sc/
Translation: Fedilab/Strings
2023-02-06 09:30:25 +01:00
claleb
8e9cb798b7
Translated using Weblate (German)
Currently translated at 100.0% (1080 of 1080 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-02-06 09:30:25 +01:00
Lukáš Jelínek
e204faed0e
Translated using Weblate (Czech)
Currently translated at 99.9% (1079 of 1080 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-02-06 09:30:25 +01:00
Thomas
d78235cb11 Fix issue #777 2023-02-06 09:30:16 +01:00
Thomas
1af2ba3822 Fix issue #776 2023-02-06 09:24:15 +01:00
trem
ad28ddd6b2 Fix unpin_tag string used in place of pin_tag. 2023-02-05 22:02:12 +01:00
Thomas
97ba87aba7 Release 3.17.0 2023-02-05 18:59:05 +01:00
Thomas
7603db8ce0 Missing media description for previews 2023-02-05 18:53:05 +01:00
Thomas
663e33466d Merge remote-tracking branch 'origin/develop' into develop 2023-02-05 16:50:54 +01:00
Thomas
cbed3f1ae1 Fix media cannot be downloaded or shared (Android 10) 2023-02-05 16:50:08 +01:00
Poesty Li
8bdaf8d410
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1077 of 1077 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-05 11:55:29 +01:00
Thomas
6595af849e Fix forward tags in replies 2023-02-05 11:55:19 +01:00
Thomas
4111d00025 Group mentions at the top 2023-02-05 11:00:34 +01:00
Thomas
f75d8258f4 Fix button sizes not updated 2023-02-04 17:53:25 +01:00
Thomas
7a11e156a5 Merge remote-tracking branch 'origin/develop' into develop 2023-02-04 11:23:56 +01:00
Thomas
8977990fea Cache messages 2023-02-04 11:23:31 +01:00
Poesty Li
bc44a9be15
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1077 of 1077 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-03 18:36:46 +01:00
Eduardo
88d9bf4629
Translated using Weblate (Portuguese)
Currently translated at 89.8% (968 of 1077 strings)

Co-authored-by: Eduardo <edu200399lim@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pt/
Translation: Fedilab/Strings
2023-02-03 18:36:45 +01:00
josé m
65706e727c
Translated using Weblate (Galician)
Currently translated at 100.0% (1077 of 1077 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-02-03 18:36:45 +01:00
Thomas
b64fd393e9 Fix worker 2023-02-03 17:42:50 +01:00
Thomas
2b300ceae4 record cache work 2023-02-03 17:23:33 +01:00
Thomas
6e4bb95dda More deep link detection 2023-02-02 18:03:09 +01:00
Thomas
440ad039be Fix issues 2023-02-02 17:44:16 +01:00
Thomas
4c89a855c6 Some fixes 2023-02-02 14:18:52 +01:00
Thomas
0ca53b75d2 Fix crashes when replying 2023-02-02 14:03:13 +01:00
Oğuz Ersen
91eb579e2c
Translated using Weblate (Turkish)
Currently translated at 100.0% (1077 of 1077 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-02-02 11:40:27 +01:00
Ajeje Brazorf
1aad4f07df
Translated using Weblate (Sardinian)
Currently translated at 99.2% (1069 of 1077 strings)

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/sc/
Translation: Fedilab/Strings
2023-02-02 11:40:26 +01:00
claleb
335842c8a2
Translated using Weblate (German)
Currently translated at 100.0% (1077 of 1077 strings)

Co-authored-by: claleb <weblate@claleb.de>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/de/
Translation: Fedilab/Strings
2023-02-02 11:40:26 +01:00
Lukáš Jelínek
c10d078add
Translated using Weblate (Czech)
Currently translated at 99.9% (1076 of 1077 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-02-02 11:40:26 +01:00
Poesty Li
67cdceb90e
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1075 of 1075 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-02-01 19:01:52 +01:00
Thomas
ddbd3f8684 Release 3.16.4 2023-02-01 19:00:38 +01:00
Thomas
4ae8011eff Auto fetch messages 2023-02-01 18:52:55 +01:00
Thomas
d61dbb0315 Auto fetch messages 2023-02-01 17:56:20 +01:00
Thomas
3c13bf7199 Merge remote-tracking branch 'origin/develop' into develop 2023-02-01 15:16:42 +01:00
Thomas
b19cd7c0c9 Add settings 2023-02-01 15:14:37 +01:00
Dan
17438f6f5c
Translated using Weblate (Ukrainian)
Currently translated at 62.6% (668 of 1067 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/uk/
Translation: Fedilab/Strings
2023-02-01 13:54:31 +01:00
Oğuz Ersen
f05ab805ff
Translated using Weblate (Turkish)
Currently translated at 100.0% (1067 of 1067 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/tr/
Translation: Fedilab/Strings
2023-02-01 13:54:31 +01:00
Lukáš Jelínek
212cd9d54e
Translated using Weblate (Czech)
Currently translated at 99.9% (1066 of 1067 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-02-01 13:54:31 +01:00
Dan
f4437b6955
Translated using Weblate (Ukrainian)
Currently translated at 15.4% (13 of 84 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2023-02-01 13:54:07 +01:00
Thomas
e8950f03ae Fetch home in background to cache messages 2023-02-01 12:33:43 +01:00
0xd9a
0e16cb1730 update schedule dialog 2023-02-01 06:41:33 +05:30
Dan
67cfa9cf01
Translated using Weblate (Ukrainian)
Currently translated at 11.9% (10 of 84 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/description/uk/
Translation: Fedilab/description
2023-02-01 00:55:43 +01:00
Ajeje Brazorf
7bdf2aa1ad
Translated using Weblate (Sardinian)
Currently translated at 99.2% (1059 of 1067 strings)

Translated using Weblate (Sardinian)

Currently translated at 99.2% (1058 of 1066 strings)

Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/sc/
Translation: Fedilab/Strings
2023-01-31 18:36:50 +01:00
Thomas
44676707f0 Automatically switch to tabs when searching 2023-01-31 18:36:37 +01:00
Thomas
d9e92b13b6 avoid a crash 2023-01-31 18:16:01 +01:00
Thomas
833ea5d0c3 Fix 103 response code for OG 2023-01-31 18:11:22 +01:00
Thomas
04c5f32c53 Merge remote-tracking branch 'origin/develop' into develop 2023-01-31 17:21:15 +01:00
Thomas
93d5995ec1 remove title for media description #771 2023-01-31 17:21:01 +01:00
Eduardo
d679d1fb73
Translated using Weblate (Portuguese)
Currently translated at 90.2% (962 of 1066 strings)

Co-authored-by: Eduardo <edu200399lim@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pt/
Translation: Fedilab/Strings
2023-01-31 16:41:31 +01:00
Thomas
f8b0ed7f18 Fix some crashes 2023-01-31 15:00:40 +01:00
Poesty Li
d83f787956
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1066 of 1066 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/zh_Hans/
Translation: Fedilab/Strings
2023-01-31 02:36:27 +01:00
Eduardo
b958e24dc9
Translated using Weblate (Portuguese)
Currently translated at 90.0% (960 of 1066 strings)

Co-authored-by: Eduardo <edu200399lim@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/pt/
Translation: Fedilab/Strings
2023-01-31 02:36:27 +01:00
josé m
e61de6eb1d
Translated using Weblate (Galician)
Currently translated at 100.0% (1066 of 1066 strings)

Co-authored-by: josé m <correoxm@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/gl/
Translation: Fedilab/Strings
2023-01-31 02:36:27 +01:00
Lukáš Jelínek
b89212a4f6
Translated using Weblate (Czech)
Currently translated at 99.9% (1065 of 1066 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/fedilab/strings/cs/
Translation: Fedilab/Strings
2023-01-31 02:36:26 +01:00
Thomas
c37d8ab34f Release 3.16.3 2023-01-30 18:18:23 +01:00
Thomas
ca5b37edfe Fix dynamic colors 2023-01-30 18:15:12 +01:00
Thomas
408e51c0a6 Peertube 2FA support 2023-01-30 17:02:24 +01:00
1254 changed files with 42079 additions and 11721 deletions

View file

@ -36,6 +36,5 @@ Android version:
<!-- If you read our contributing advice --> <!-- If you read our contributing advice -->
[ ] - I read - [ ] I read the [contributing page](https://codeberg.org/tom79/Fedilab/src/branch/main/CONTRIBUTING.md)
the [contributing page](https://codeberg.org/tom79/Fedilab/src/branch/main/CONTRIBUTING.md)

View file

@ -22,5 +22,4 @@ labels:
<!-- If you read our contributing advice --> <!-- If you read our contributing advice -->
[ ] - I read - [ ] I read the [contributing page](https://codeberg.org/tom79/Fedilab/src/branch/main/CONTRIBUTING.md)
the [contributing page](https://codeberg.org/tom79/Fedilab/src/branch/main/CONTRIBUTING.md)

View file

@ -3,7 +3,7 @@ CONTRIBUTING
### Localizations: ### Localizations:
Fedilab works only with [Weblate]https://hosted.weblate.org/projects/fedilab), which offers nice Fedilab works only with [Weblate](https://hosted.weblate.org/projects/fedilab), which offers nice
tools for helping in translations. New translations will be automatically merged in a branch. tools for helping in translations. New translations will be automatically merged in a branch.
If you're submiting a merge request and your work adds new strings to the app, make sure they only If you're submiting a merge request and your work adds new strings to the app, make sure they only
@ -18,4 +18,4 @@ important part is how to reproduce the bug and steps to reproduce it.
### Pull Requests ### Pull Requests
Please target the develop branch and not the main branch. Please target the develop branch and not the main branch.

View file

@ -1,24 +1,46 @@
[![Translation status](https://hosted.weblate.org/widgets/fedilab/-/strings/svg-badge.svg)](https://hosted.weblate.org/engage/fedilab/)
&nbsp;&nbsp;&nbsp;[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
# Fedilab is a multi-accounts client for Mastodon, Pleroma, Friendica and Pixelfed <img src="src/fdroid/fastlane/metadata/android/en/images/icon.png" width="100"/>
## Donate # Fedilab
A multi-accounts client for Mastodon, Pleroma, Friendica and Pixelfed
[<img alt="Donate using Liberapay" src="https://img.shields.io/liberapay/patrons/tom79.svg?logo=liberapay"/>](https://liberapay.com/tom79/donate)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg?style=for-the-badge)](https://www.gnu.org/licenses/gpl-3.0)
[![Weblate project translated](https://img.shields.io/weblate/progress/fedilab?server=https%3A%2F%2Fhosted.weblate.org&style=for-the-badge)](https://hosted.weblate.org/engage/fedilab/)
[![F-Droid Version](https://img.shields.io/f-droid/v/fr.gouv.etalab.mastodon?label=F-Droid&style=for-the-badge)](https://f-droid.org/app/fr.gouv.etalab.mastodon)
[![Liberapay patrons](https://img.shields.io/liberapay/patrons/tom79?label=Liberapay&style=for-the-badge)](https://liberapay.com/tom79/donate)
[![Open Collective backers and sponsors](https://img.shields.io/opencollective/all/fedilab?label=Open%20Collective&style=for-the-badge)](https://opencollective.com/fedilab)
## Screenshots
<img src="src/fdroid/fastlane/metadata/android/en/images/phoneScreenshots/1.png" width="150"/>
&nbsp;&nbsp;
<img src="src/fdroid/fastlane/metadata/android/en/images/phoneScreenshots/2.png" width="150"/>
&nbsp;&nbsp;
<img src="src/fdroid/fastlane/metadata/android/en/images/phoneScreenshots/4.png" width="150"/>
&nbsp;&nbsp;
<img src="src/fdroid/fastlane/metadata/android/en/images/phoneScreenshots/7.png" width="150"/>
## Download ## Download
[<img alt='Get it on Google Play' src='./images/get-it-on-play.png' height="80"/>](https://play.google.com/store/apps/details?id=app.fedilab.android) [<img alt='Get it on F-Droid' src='./images/get-it-on-fdroid.png' height="80"/>](https://f-droid.org/app/fr.gouv.etalab.mastodon)&nbsp;&nbsp;[<img alt='Get it on Google Play' src='./images/get-it-on-play.png' height="80"/>](https://play.google.com/store/apps/details?id=app.fedilab.android)
&nbsp;&nbsp;[<img alt='Get it on F-Droid' src='./images/get-it-on-fdroid.png' height="80"/>](https://f-droid.org/app/fr.gouv.etalab.mastodon)
<img src='https://img.shields.io/f-droid/v/fr.gouv.etalab.mastodon?include_prereleases' /> ## Translate
- [Weblate](https://hosted.weblate.org/engage/fedilab/)
## Donate
- [Liberapay](https://liberapay.com/tom79/donate)
- [Open Collective](https://opencollective.com/fedilab)
- [More...](https://fedilab.app/page/donations/)
## Resources ## Resources
[WIKI](https://fedilab.app/wiki/home/) - [Wiki](https://wiki.fedilab.app)
- [Releases + Changelogs](https://codeberg.org/tom79/Fedilab/releases)
[Release notes](https://codeberg.org/tom79/Fedilab/tags) ## Contact
- Fedi:<br>[toot.fedilab.app/@apps](https://toot.fedilab.app/@apps)
Lead developer: [toot.fedilab.app/@apps](https://toot.fedilab.app/@apps)

View file

@ -8,13 +8,13 @@ plugins {
} }
def flavor def flavor
android { android {
compileSdk 33 compileSdk 34
defaultConfig { defaultConfig {
minSdk 21 minSdk 21
targetSdk 33 targetSdk 34
versionCode 474 versionCode 534
versionName "3.16.2" versionName "3.33.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
flavorDimensions "default" flavorDimensions "default"
@ -25,12 +25,13 @@ android {
} }
debug { debug {
applicationIdSuffix '.debug' applicationIdSuffix '.debug'
pseudoLocalesEnabled true
} }
} }
compileOptions { compileOptions {
coreLibraryDesugaringEnabled true coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_17
} }
productFlavors { productFlavors {
fdroid { fdroid {
@ -46,16 +47,11 @@ android {
flavor = "playstore" flavor = "playstore"
} }
} }
lintOptions {
checkReleaseBuilds false
abortOnError false
}
buildFeatures { buildFeatures {
viewBinding true viewBinding true
} }
sourceSets { sourceSets {
playstore { playstore {
manifest.srcFile "src/playstore/AndroidManifest.xml"
java.srcDirs = ['src/main/java', 'src/playstore/java'] java.srcDirs = ['src/main/java', 'src/playstore/java']
res.srcDirs = ['src/main/res', 'src/playstore/res'] res.srcDirs = ['src/main/res', 'src/playstore/res']
} }
@ -68,22 +64,34 @@ android {
'src/main/res/layouts/mastodon', 'src/main/res/layouts/mastodon',
'src/main/res/layouts/peertube', 'src/main/res/layouts/peertube',
'src/main/res/layouts', 'src/main/res/layouts',
'src/main/layout',
'src/main/res/drawables/mastodon', 'src/main/res/drawables/mastodon',
'src/main/res/drawables/peertube', 'src/main/res/drawables/peertube',
'src/main/res/drawables', 'src/main/res/drawables',
'src/main/res/menus/mastodon', 'src/main/res/menus/mastodon',
'src/main/res/menus/peertube', 'src/main/res/menus/peertube',
'src/main/res/menus', 'src/main/res/menus',
'src/main/res/values',
'src/main/res' 'src/main/res'
] ]
} }
} }
configurations { configurations {
cleanedAnnotations
implementation.exclude group: 'org.jetbrains', module: 'annotations'
all { all {
exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx' exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx'
} }
} }
namespace 'app.fedilab.android'
lint {
abortOnError false
checkReleaseBuilds false
}
buildToolsVersion '35.0.0'
} }
allprojects { allprojects {
repositories { repositories {
@ -92,20 +100,22 @@ allprojects {
} }
} }
dependencies { dependencies {
implementation project(':autoimageslider') implementation 'org.unifiedpush.android:connector:3.0.9'
implementation 'androidx.appcompat:appcompat:1.6.0'
implementation 'com.google.android.material:material:1.7.0' playstoreImplementation('org.unifiedpush.android:embedded-fcm-distributor:3.0.0')
implementation 'com.jaredrummler:colorpicker:1.1.0' implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'com.google.android.material:material:1.10.0'
implementation "com.google.code.gson:gson:2.9.1"
implementation 'androidx.constraintlayout:constraintlayout:2.2.0'
implementation "com.google.code.gson:gson:2.10.1"
implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.retrofit2:converter-simplexml:2.9.0' implementation 'com.squareup.retrofit2:converter-simplexml:2.9.0'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'androidx.preference:preference:1.2.0' implementation 'androidx.preference:preference:1.2.1'
implementation "org.conscrypt:conscrypt-android:2.5.2" implementation "org.conscrypt:conscrypt-android:2.5.2"
implementation 'com.vanniktech:emoji-one:0.6.0' implementation 'com.vanniktech:emoji-one:0.6.0'
implementation 'com.github.GrenderG:Toasty:1.5.2' implementation 'com.github.GrenderG:Toasty:1.5.2'
@ -116,91 +126,88 @@ dependencies {
transitive = false transitive = false
} }
implementation "org.jsoup:jsoup:1.15.1" implementation "org.jsoup:jsoup:1.18.1"
implementation 'com.github.mergehez:ArgPlayer:v3.1' implementation 'com.github.mergehez:ArgPlayer:v3.1'
implementation project(':autoimageslider')
implementation project(path: ':mytransl') implementation project(path: ':mytransl')
implementation project(path: ':ratethisapp') implementation project(path: ':ratethisapp')
implementation project(path: ':sparkbutton') implementation project(path: ':sparkbutton')
implementation project(path: ':colorPicker')
implementation project(path: ':mathjaxandroid')
implementation project(path: ':doubletapplayerview')
implementation 'com.burhanrashid52:photoeditor:1.5.1' implementation 'com.burhanrashid52:photoeditor:1.5.1'
implementation("com.vanniktech:android-image-cropper:4.3.3") implementation("com.vanniktech:android-image-cropper:4.3.3")
implementation project(path: ':mathjaxandroid')
annotationProcessor "com.github.bumptech.glide:compiler:4.12.0" annotationProcessor "com.github.bumptech.glide:compiler:4.12.0"
implementation 'jp.wasabeef:glide-transformations:4.3.0' implementation 'jp.wasabeef:glide-transformations:4.3.0'
implementation 'com.github.penfeizhou.android.animation:glide-plugin:2.23.0' implementation 'com.github.penfeizhou.android.animation:glide-plugin:3.0.5'
implementation 'com.google.android.exoplayer:exoplayer:2.18.1' implementation 'androidx.media3:media3-exoplayer-hls:1.2.1'
implementation "androidx.viewpager2:viewpager2:1.0.0" implementation "androidx.media3:media3-exoplayer:1.2.1"
implementation "androidx.media3:media3-exoplayer-dash:1.2.1"
implementation "androidx.media3:media3-ui:1.2.1"
implementation "androidx.media3:media3-session:1.2.1"
implementation "androidx.viewpager2:viewpager2:1.1.0"
implementation 'com.github.piasy:rxandroidaudio:1.7.0' implementation 'com.github.piasy:rxandroidaudio:1.7.0'
implementation 'com.github.piasy:AudioProcessor:1.7.0' implementation 'com.github.piasy:AudioProcessor:1.7.0'
implementation "androidx.work:work-runtime:2.7.1" implementation "androidx.work:work-runtime:2.9.0"
implementation 'app.futured.hauler:hauler:5.0.0' implementation 'app.futured.hauler:hauler:5.0.0'
implementation "com.github.chrisbanes:PhotoView:2.3.0" implementation "com.github.chrisbanes:PhotoView:2.3.0"
implementation "ch.acra:acra-mail:5.9.6" implementation "ch.acra:acra-mail:5.11.3"
implementation "ch.acra:acra-limiter:5.9.3" implementation "ch.acra:acra-limiter:5.11.3"
implementation "ch.acra:acra-dialog:5.9.6" implementation "ch.acra:acra-dialog:5.11.3"
implementation "com.madgag.spongycastle:bctls-jdk15on:1.58.0.0" implementation "com.madgag.spongycastle:bctls-jdk15on:1.58.0.0"
implementation 'com.github.UnifiedPush:android-connector:2.0.1'
// implementation 'com.github.UnifiedPush:android-foss_embedded_fcm_distributor:1.0.0-beta1'
playstoreImplementation('com.github.UnifiedPush:android-embedded_fcm_distributor:2.1.3') {
exclude group: 'com.google.firebase', module: 'firebase-core'
exclude group: 'com.google.firebase', module: 'firebase-analytics'
exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'
}
implementation 'com.burhanrashid52:photoeditor:1.5.1' implementation 'com.burhanrashid52:photoeditor:1.5.1'
implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.multidex:multidex:2.0.1'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
implementation 'androidx.lifecycle:lifecycle-livedata:2.5.1' implementation 'androidx.lifecycle:lifecycle-livedata:2.8.7'
implementation 'androidx.lifecycle:lifecycle-viewmodel:2.5.1' implementation 'androidx.lifecycle:lifecycle-viewmodel:2.8.7'
implementation 'androidx.navigation:navigation-fragment:2.5.3' implementation 'androidx.navigation:navigation-fragment:2.8.7'
implementation 'androidx.navigation:navigation-ui:2.5.3' implementation 'androidx.navigation:navigation-ui:2.8.7'
testImplementation 'junit:junit:' testImplementation 'junit:junit:'
androidTestImplementation 'androidx.test.ext:junit:1.1.4' androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1' // debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
implementation 'com.r0adkll:slidableactivity:2.1.0' implementation 'com.r0adkll:slidableactivity:2.1.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
implementation 'androidx.vectordrawable:vectordrawable:1.2.0'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0' implementation "androidx.fragment:fragment:1.8.6"
implementation "androidx.fragment:fragment:1.5.5"
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.browser:browser:1.4.0' implementation 'androidx.browser:browser:1.8.0'
implementation 'androidx.documentfile:documentfile:1.0.1' implementation 'androidx.documentfile:documentfile:1.0.1'
implementation 'com.github.amoskorir:avatarimagegenerator:1.5.0' implementation 'com.github.amoskorir:avatarimagegenerator:1.5.0'
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'
implementation 'com.google.android.exoplayer:extension-mediasession:2.18.1'
implementation "com.github.mabbas007:TagsEditText:1.0.5" implementation "com.github.mabbas007:TagsEditText:1.0.5"
implementation "net.gotev:uploadservice:4.7.0" implementation "net.gotev:uploadservice:4.9.2"
implementation "net.gotev:uploadservice-okhttp:4.7.0" implementation "net.gotev:uploadservice-okhttp:4.9.2"
implementation 'androidx.media:media:1.6.0' implementation 'androidx.media:media:1.7.0'
implementation 'com.github.mancj:MaterialSearchBar:0.8.5' implementation 'com.github.mancj:MaterialSearchBar:0.8.5'
implementation 'com.github.vkay94:DoubleTapPlayerView:1.0.0' implementation 'com.github.androidmads:QRGenerator:1.0.1'
implementation 'io.noties.markwon:core:4.6.2'
implementation 'io.noties.markwon:ext-tables:4.6.2'
implementation 'io.noties.markwon:syntax-highlight:4.6.2'
implementation 'io.noties.markwon:ext-strikethrough:4.6.2'
implementation 'io.noties.markwon:inline-parser:4.6.2'
annotationProcessor 'io.noties:prism4j-bundler:2.0.0'
//************ CAST **************/// //************ CAST **************///
//---> Google libs (google_full) //---> Google libs (google_full)
playstoreImplementation "com.google.android.gms:play-services-cast-tv:19.0.1" playstoreImplementation "com.google.android.gms:play-services-cast-tv:21.1.1"
playstoreImplementation "com.google.android.gms:play-services-cast:21.0.1" playstoreImplementation "com.google.android.gms:play-services-cast:22.0.0"
playstoreImplementation "androidx.mediarouter:mediarouter:1.3.0" playstoreImplementation "androidx.mediarouter:mediarouter:1.7.0"
playstoreImplementation 'com.google.android.gms:play-services-cast-framework:21.0.1' playstoreImplementation 'com.google.android.gms:play-services-cast-framework:22.0.0'
playstoreImplementation "com.google.android.gms:play-services-cast-tv:19.0.1"
playstoreImplementation "com.google.android.gms:play-services-cast:21.0.1"
playstoreImplementation "androidx.mediarouter:mediarouter:1.3.0"
playstoreImplementation 'com.google.android.gms:play-services-cast-framework:21.0.1'
//----> Other flavors //----> Other flavors
fdroidImplementation 'su.litvak.chromecast:api-v2:0.11.3' fdroidImplementation 'su.litvak.chromecast:api-v2:0.11.3'
fdroidImplementation 'com.fasterxml.jackson.core:jackson-core:2.12.0' fdroidImplementation 'com.fasterxml.jackson.core:jackson-core:2.12.0'
fdroidImplementation 'org.slf4j:slf4j-simple:1.7.30' fdroidImplementation 'org.slf4j:slf4j-simple:1.7.30'
fdroidImplementation 'com.github.evozi:Cyanea:1.0.7'
fdroidImplementation 'su.litvak.chromecast:api-v2:0.11.3'
fdroidImplementation 'com.fasterxml.jackson.core:jackson-core:2.12.0'
fdroidImplementation 'org.slf4j:slf4j-simple:1.7.30'
} }
def getCurrentFlavor() { def getCurrentFlavor() {

View file

@ -28,9 +28,10 @@ import android.view.View;
import android.webkit.MimeTypeMap; import android.webkit.MimeTypeMap;
import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AlertDialog;
import androidx.localbroadcastmanager.content.LocalBroadcastManager; import androidx.media3.common.Player;
import androidx.media3.exoplayer.ExoPlayer;
import com.google.android.exoplayer2.ExoPlayer;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
@ -38,6 +39,7 @@ import org.jetbrains.annotations.NotNull;
import java.io.IOException; import java.io.IOException;
import java.security.GeneralSecurityException; import java.security.GeneralSecurityException;
import app.fedilab.android.BuildConfig;
import app.fedilab.android.R; import app.fedilab.android.R;
import app.fedilab.android.databinding.ActivityPeertubeBinding; import app.fedilab.android.databinding.ActivityPeertubeBinding;
import app.fedilab.android.mastodon.activities.BaseBarActivity; import app.fedilab.android.mastodon.activities.BaseBarActivity;
@ -100,7 +102,7 @@ public class BasePeertubeActivity extends BaseBarActivity {
if (item.getItemId() == R.id.action_cast) { if (item.getItemId() == R.id.action_cast) {
if (PeertubeBaseMainActivity.chromeCasts != null && PeertubeBaseMainActivity.chromeCasts.size() > 0) { if (PeertubeBaseMainActivity.chromeCasts != null && PeertubeBaseMainActivity.chromeCasts.size() > 0) {
String[] chromecast_choice = new String[PeertubeBaseMainActivity.chromeCasts.size()]; String[] chromecast_choice = new String[PeertubeBaseMainActivity.chromeCasts.size()];
AlertDialog.Builder alt_bld = new MaterialAlertDialogBuilder(this, app.fedilab.android.mastodon.helper.Helper.dialogStyle()); AlertDialog.Builder alt_bld = new MaterialAlertDialogBuilder(this);
alt_bld.setTitle(R.string.chromecast_choice); alt_bld.setTitle(R.string.chromecast_choice);
int i = 0; int i = 0;
for (ChromeCast cc : PeertubeBaseMainActivity.chromeCasts) { for (ChromeCast cc : PeertubeBaseMainActivity.chromeCasts) {
@ -124,7 +126,8 @@ public class BasePeertubeActivity extends BaseBarActivity {
if (PeertubeBaseMainActivity.chromecastActivated) { if (PeertubeBaseMainActivity.chromecastActivated) {
b.putInt("displayed", 0); b.putInt("displayed", 0);
intentBC.putExtras(b); intentBC.putExtras(b);
LocalBroadcastManager.getInstance(BasePeertubeActivity.this).sendBroadcast(intentBC); intentBC.setPackage(BuildConfig.APPLICATION_ID);
sendBroadcast(intentBC);
Handler mainHandler = new Handler(Looper.getMainLooper()); Handler mainHandler = new Handler(Looper.getMainLooper());
Runnable myRunnable = () -> { Runnable myRunnable = () -> {
binding.doubleTapPlayerView.setVisibility(View.VISIBLE); binding.doubleTapPlayerView.setVisibility(View.VISIBLE);
@ -136,7 +139,8 @@ public class BasePeertubeActivity extends BaseBarActivity {
b.putInt("displayed", 1); b.putInt("displayed", 1);
b.putSerializable("castedTube", peertube); b.putSerializable("castedTube", peertube);
intentBC.putExtras(b); intentBC.putExtras(b);
LocalBroadcastManager.getInstance(BasePeertubeActivity.this).sendBroadcast(intentBC); intentBC.setPackage(BuildConfig.APPLICATION_ID);
sendBroadcast(intentBC);
try { try {
Handler mainHandler = new Handler(Looper.getMainLooper()); Handler mainHandler = new Handler(Looper.getMainLooper());
Runnable myRunnable = () -> { Runnable myRunnable = () -> {

View file

@ -19,12 +19,14 @@ import android.content.BroadcastReceiver;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.content.IntentFilter; import android.content.IntentFilter;
import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.os.Handler; import android.os.Handler;
import android.os.Looper; import android.os.Looper;
import android.view.View; import android.view.View;
import androidx.localbroadcastmanager.content.LocalBroadcastManager; import androidx.core.content.ContextCompat;
import java.io.IOException; import java.io.IOException;
import java.net.InetAddress; import java.net.InetAddress;
@ -34,6 +36,7 @@ import java.util.Collections;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.List; import java.util.List;
import app.fedilab.android.BuildConfig;
import app.fedilab.android.R; import app.fedilab.android.R;
import app.fedilab.android.databinding.ActivityMainPeertubeBinding; import app.fedilab.android.databinding.ActivityMainPeertubeBinding;
import app.fedilab.android.mastodon.activities.BaseActivity; import app.fedilab.android.mastodon.activities.BaseActivity;
@ -49,34 +52,35 @@ public abstract class PeertubeBaseMainActivity extends BaseActivity implements C
public static List<ChromeCast> chromeCasts; public static List<ChromeCast> chromeCasts;
public static ChromeCast chromeCast; public static ChromeCast chromeCast;
public static boolean chromecastActivated = false; public static boolean chromecastActivated = false;
protected ActivityMainPeertubeBinding binding; protected ActivityMainPeertubeBinding parentBinding;
private BroadcastReceiver manage_chromecast; private BroadcastReceiver manage_chromecast;
private VideoData.Video castedTube; private VideoData.Video castedTube;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
binding = ActivityMainPeertubeBinding.inflate(getLayoutInflater()); parentBinding = ActivityMainPeertubeBinding.inflate(getLayoutInflater());
View view = binding.getRoot(); View view = parentBinding.getRoot();
setContentView(view); setContentView(view);
ChromeCastsListener chromeCastsListener = this; ChromeCastsListener chromeCastsListener = this;
ChromeCasts.registerListener(chromeCastsListener); ChromeCasts.registerListener(chromeCastsListener);
binding.castClose.setOnClickListener(v -> { parentBinding.castClose.setOnClickListener(v -> {
Intent intentBC = new Intent(Helper.RECEIVE_CAST_SETTINGS); Intent intentBC = new Intent(Helper.RECEIVE_CAST_SETTINGS);
Bundle b = new Bundle(); Bundle b = new Bundle();
b.putInt("displayed", 0); b.putInt("displayed", 0);
intentBC.putExtras(b); intentBC.putExtras(b);
LocalBroadcastManager.getInstance(PeertubeBaseMainActivity.this).sendBroadcast(intentBC); intentBC.setPackage(BuildConfig.APPLICATION_ID);
sendBroadcast(intentBC);
}); });
binding.castTogglePlay.setOnClickListener(v -> { parentBinding.castTogglePlay.setOnClickListener(v -> {
if (chromeCast != null) { if (chromeCast != null) {
new Thread(() -> { new Thread(() -> {
try { try {
Handler mainHandler = new Handler(Looper.getMainLooper()); Handler mainHandler = new Handler(Looper.getMainLooper());
Runnable myRunnable = () -> binding.castTogglePlay.setVisibility(View.GONE); Runnable myRunnable = () -> parentBinding.castTogglePlay.setVisibility(View.GONE);
mainHandler.post(myRunnable); mainHandler.post(myRunnable);
int icon = -1; int icon = -1;
if (chromeCast.getMediaStatus().playerState == MediaStatus.PlayerState.PLAYING) { if (chromeCast.getMediaStatus().playerState == MediaStatus.PlayerState.PLAYING) {
@ -88,10 +92,10 @@ public abstract class PeertubeBaseMainActivity extends BaseActivity implements C
} }
if (icon != -1) { if (icon != -1) {
int finalIcon = icon; int finalIcon = icon;
myRunnable = () -> binding.castTogglePlay.setImageResource(finalIcon); myRunnable = () -> parentBinding.castTogglePlay.setImageResource(finalIcon);
mainHandler.post(myRunnable); mainHandler.post(myRunnable);
} }
myRunnable = () -> binding.castTogglePlay.setVisibility(View.VISIBLE); myRunnable = () -> parentBinding.castTogglePlay.setVisibility(View.VISIBLE);
mainHandler.post(myRunnable); mainHandler.post(myRunnable);
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
@ -127,14 +131,14 @@ public abstract class PeertubeBaseMainActivity extends BaseActivity implements C
if (displayed == 1) { if (displayed == 1) {
chromecastActivated = true; chromecastActivated = true;
if (castedTube != null) { if (castedTube != null) {
binding.castInfo.setVisibility(View.VISIBLE); parentBinding.castInfo.setVisibility(View.VISIBLE);
Helper.loadGiF(PeertubeBaseMainActivity.this, castedTube.getThumbnailPath(), binding.castView); Helper.loadGiF(PeertubeBaseMainActivity.this, castedTube.getThumbnailPath(), parentBinding.castView);
binding.castTitle.setText(castedTube.getTitle()); parentBinding.castTitle.setText(castedTube.getTitle());
binding.castDescription.setText(castedTube.getDescription()); parentBinding.castDescription.setText(castedTube.getDescription());
} }
} else if (displayed == 0) { } else if (displayed == 0) {
chromecastActivated = false; chromecastActivated = false;
binding.castInfo.setVisibility(View.GONE); parentBinding.castInfo.setVisibility(View.GONE);
new Thread(() -> { new Thread(() -> {
try { try {
if (chromeCast != null) { if (chromeCast != null) {
@ -147,7 +151,7 @@ public abstract class PeertubeBaseMainActivity extends BaseActivity implements C
} }
} }
}; };
LocalBroadcastManager.getInstance(PeertubeBaseMainActivity.this).registerReceiver(manage_chromecast, new IntentFilter(Helper.RECEIVE_CAST_SETTINGS)); ContextCompat.registerReceiver(PeertubeBaseMainActivity.this, manage_chromecast, new IntentFilter(Helper.RECEIVE_CAST_SETTINGS), ContextCompat.RECEIVER_NOT_EXPORTED);
} }
@Override @Override
@ -169,8 +173,8 @@ public abstract class PeertubeBaseMainActivity extends BaseActivity implements C
} }
try { try {
if (chromeCast.isAppRunning(Helper.CAST_ID) && chromeCast.getMediaStatus() != null && chromeCast.getMediaStatus().playerState != null) { if (chromeCast.isAppRunning(Helper.CAST_ID) && chromeCast.getMediaStatus() != null && chromeCast.getMediaStatus().playerState != null) {
if (binding.castInfo.getVisibility() == View.GONE) { if (parentBinding.castInfo.getVisibility() == View.GONE) {
binding.castInfo.setVisibility(View.VISIBLE); parentBinding.castInfo.setVisibility(View.VISIBLE);
} }
} }
} catch (IOException e) { } catch (IOException e) {
@ -189,8 +193,11 @@ public abstract class PeertubeBaseMainActivity extends BaseActivity implements C
super.onDestroy(); super.onDestroy();
ChromeCasts.unregisterListener(this); ChromeCasts.unregisterListener(this);
if (manage_chromecast != null) { if (manage_chromecast != null) {
LocalBroadcastManager.getInstance(PeertubeBaseMainActivity.this).unregisterReceiver(manage_chromecast); try {
unregisterReceiver(manage_chromecast);
} catch (IllegalArgumentException e) {
e.printStackTrace();
}
new Thread(() -> { new Thread(() -> {
if (chromeCasts != null && chromeCasts.size() > 0) { if (chromeCasts != null && chromeCasts.size() > 0) {
for (ChromeCast cast : chromeCasts) { for (ChromeCast cast : chromeCasts) {

View file

@ -1,17 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools">
package="app.fedilab.android">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<uses-permission <uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:name="android.permission.WRITE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" /> tools:ignore="ScopedStorage" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<uses-feature <uses-feature
android:name="android.hardware.camera" android:name="android.hardware.camera"
@ -24,6 +25,8 @@
<application <application
android:name="app.fedilab.android.MainApplication" android:name="app.fedilab.android.MainApplication"
android:allowBackup="false" android:allowBackup="false"
android:dataExtractionRules="@xml/extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:icon="@mipmap/ic_launcher_bubbles" android:icon="@mipmap/ic_launcher_bubbles"
android:label="@string/app_name" android:label="@string/app_name"
@ -69,106 +72,13 @@
android:host="*" android:host="*"
android:pathPrefix="/@" android:pathPrefix="/@"
android:scheme="https" /> android:scheme="https" />
<data
android:host="*"
android:pathPrefix="/notes"
android:scheme="https" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity-alias
android:name=".activities.MainActivity.Bubbles"
android:enabled="true"
android:exported="true"
android:icon="@mipmap/ic_launcher_bubbles"
android:roundIcon="@mipmap/ic_launcher_bubbles_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Fediverse"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_fediverse"
android:roundIcon="@mipmap/ic_launcher_fediverse_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Hero"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_hero"
android:roundIcon="@mipmap/ic_launcher_hero_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Atom"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_atom"
android:roundIcon="@mipmap/ic_launcher_atom_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.BrainCrash"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_crash"
android:roundIcon="@mipmap/ic_launcher_crash_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Mastalab"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_mastalab"
android:roundIcon="@mipmap/ic_launcher_mastalab_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity <activity
android:name=".activities.LoginActivity" android:name=".activities.LoginActivity"
@ -196,6 +106,9 @@
<activity <activity
android:name=".mastodon.activities.ContextActivity" android:name=".mastodon.activities.ContextActivity"
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity
android:name=".mastodon.activities.DirectMessageActivity"
android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".mastodon.activities.DraftActivity" android:name=".mastodon.activities.DraftActivity"
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
@ -259,7 +172,15 @@
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/action_about" android:label="@string/action_about"
android:theme="@style/AppThemeBar" /> android:theme="@style/AppThemeBar" />
<activity
android:name=".mastodon.activities.TimelineActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="@style/AppThemeBar" />
<activity
android:name=".mastodon.activities.CheckHomeCacheActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/home_cache"
android:theme="@style/AppThemeBar" />
<activity <activity
android:name=".mastodon.activities.admin.AdminDomainBlockActivity" android:name=".mastodon.activities.admin.AdminDomainBlockActivity"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
@ -313,6 +234,7 @@
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".mastodon.activities.MediaActivity" android:name=".mastodon.activities.MediaActivity"
android:hardwareAccelerated="true"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="@style/Transparent" /> android:theme="@style/Transparent" />
@ -342,6 +264,16 @@
android:label="@string/action_cache" android:label="@string/action_cache"
android:theme="@style/AppThemeBar" /> android:theme="@style/AppThemeBar" />
<activity android:name=".activities.WebActivityPub"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="web+ap" />
</intent-filter>
</activity>
<provider <provider
android:name="androidx.core.content.FileProvider" android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileProvider" android:authorities="${applicationId}.fileProvider"
@ -360,18 +292,12 @@
</intent-filter> </intent-filter>
</receiver> </receiver>
<receiver <service android:name=".mastodon.services.PushServiceImpl"
android:name=".mastodon.services.CustomReceiver" android:exported="false">
android:enabled="true"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="org.unifiedpush.android.connector.MESSAGE" /> <action android:name="org.unifiedpush.android.connector.PUSH_EVENT"/>
<action android:name="org.unifiedpush.android.connector.UNREGISTERED" />
<action android:name="org.unifiedpush.android.connector.NEW_ENDPOINT" />
<action android:name="org.unifiedpush.android.connector.REGISTRATION_FAILED" />
<action android:name="org.unifiedpush.android.connector.REGISTRATION_REFUSED" />
</intent-filter> </intent-filter>
</receiver> </service>
<activity <activity
@ -379,7 +305,7 @@
android:configChanges="keyboardHidden|orientation|screenSize" /> android:configChanges="keyboardHidden|orientation|screenSize" />
<activity <activity
android:name=".peertube.activities.PeertubeActivity" android:name=".peertube.activities.PeertubeActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout"
android:launchMode="singleTask" android:launchMode="singleTask"
android:resizeableActivity="true" android:resizeableActivity="true"
android:supportsPictureInPicture="true" android:supportsPictureInPicture="true"
@ -469,8 +395,366 @@
<service <service
android:name=".peertube.services.RetrieveInfoService" android:name=".peertube.services.RetrieveInfoService"
android:foregroundServiceType="dataSync"
android:exported="false" /> android:exported="false" />
<service
android:name="androidx.work.impl.foreground.SystemForegroundService"
android:foregroundServiceType="dataSync"
tools:node="merge" />
<!-- ============ -->
<!-- CUSTOM ICONS -->
<!-- ============ -->
<activity-alias
android:name=".activities.MainActivity.Bubbles"
android:enabled="true"
android:exported="true"
android:icon="@mipmap/ic_launcher_bubbles"
android:roundIcon="@mipmap/ic_launcher_bubbles_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.BubblesUA"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_bubbles_ua"
android:roundIcon="@mipmap/ic_launcher_bubbles_ua_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.BubblesPeaGreen"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_bubbles_pea_green"
android:roundIcon="@mipmap/ic_launcher_bubbles_pea_green_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.BubblesPride"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_bubbles_pride"
android:roundIcon="@mipmap/ic_launcher_bubbles_pride_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.BubblesPink"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_bubbles_pink"
android:roundIcon="@mipmap/ic_launcher_bubbles_pink_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.BubblesPirate"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_bubbles_pirate"
android:roundIcon="@mipmap/ic_launcher_bubbles_pirate_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Fediverse"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_fediverse"
android:roundIcon="@mipmap/ic_launcher_fediverse_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Hero"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_hero"
android:roundIcon="@mipmap/ic_launcher_hero_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Atom"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_atom"
android:roundIcon="@mipmap/ic_launcher_atom_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.BrainCrash"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_crash"
android:roundIcon="@mipmap/ic_launcher_crash_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Mastalab"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_mastalab"
android:roundIcon="@mipmap/ic_launcher_mastalab_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Leaf"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_leaf"
android:roundIcon="@mipmap/ic_launcher_leaf_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Offset"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_offset"
android:roundIcon="@mipmap/ic_launcher_offset_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Jungle"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_jungle"
android:roundIcon="@mipmap/ic_launcher_jungle_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Confetti"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_confetti"
android:roundIcon="@mipmap/ic_launcher_confetti_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Spaghetti"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_spaghetti"
android:roundIcon="@mipmap/ic_launcher_spaghetti_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Warm"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_warm"
android:roundIcon="@mipmap/ic_launcher_warm_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Purple1"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_purple_1"
android:roundIcon="@mipmap/ic_launcher_purple_1_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Purple2"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_purple_2"
android:roundIcon="@mipmap/ic_launcher_purple_2_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.YellowHeadedRedBubble"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_yellow_headed_red_bubble"
android:roundIcon="@mipmap/ic_launcher_yellow_headed_red_bubble_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
<activity-alias
android:name=".activities.MainActivity.Mosaic"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_mosaic"
android:roundIcon="@mipmap/ic_launcher_mosaic_round"
android:targetActivity=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/compose_shortcuts" />
</activity-alias>
</application> </application>
</manifest> </manifest>

View file

@ -381,7 +381,7 @@
}, },
{ {
"code": "lo", "code": "lo",
"language": "ພາສາ" "language": "ລາວ"
}, },
{ {
"code": "lt", "code": "lt",
@ -726,5 +726,109 @@
{ {
"code": "zu", "code": "zu",
"language": "isiZulu" "language": "isiZulu"
},
{
"code": "ast",
"language": "Asturianu"
},
{
"code": "ckb",
"language": "سۆرانی"
},
{
"code": "cnr",
"language": "crnogorski"
},
{
"code": "jbo",
"language": "la .lojban."
},
{
"code": "kab",
"language": "Taqbaylit"
},
{
"code": "kmr",
"language": "Kurmancî"
},
{
"code": "ldn",
"language": "Láadan"
},
{
"code": "lfn",
"language": "lingua franca nova"
},
{
"code": "sco",
"language": "Scots"
},
{
"code": "sma",
"language": "Åarjelsaemien Gïele"
},
{
"code": "smj",
"language": "Julevsámegiella"
},
{
"code": "szl",
"language": "ślůnsko godka"
},
{
"code": "tai",
"language": "ภาษาไท or ภาษาไต"
},
{
"code": "tok",
"language": "toki pona"
},
{
"code": "zba",
"language": "باليبلن"
},
{
"code": "zgh",
"language": "ⵜⴰⵎⴰⵣⵉⵖⵜ"
},
{
"code": "en-GB",
"language": "English (British)"
},
{
"code": "es-AR",
"language": "Español (Argentina)"
},
{
"code": "es-MX",
"language": "Español (México)"
},
{
"code": "fr-QC",
"language": "Français (Canadien)"
},
{
"code": "pt-BR",
"language": "Português (Brasil)"
},
{
"code": "pt-PT",
"language": "Português (Portugal)"
},
{
"code": "sr-Latn",
"language": "Srpski (latinica)"
},
{
"code": "zh-CN",
"language": "简体中文"
},
{
"code": "zh-HK",
"language": "繁體中文(香港)"
},
{
"code": "zh-TW",
"language": "繁體中文(臺灣)"
} }
] ]

View file

@ -1,4 +1,249 @@
[ [
{
"version": "3.33.1",
"code": "534",
"note": "Added:\n- Highlight bottom hashtags\n- Support Trending Links\n- Featured tags displayed in profiles\n- Add/Remove featured tags from the profile editor\n\nChanged:\n- Add confirmation dialog when long pressing the boost button\n- Open messages by tapping on Scheduled Boost\n- Improve language picker when filtered with some languages\n\nFixed:\n- Limits number of fetch for filters\n- Pleroma instances cannot select media\n- Wrong messages deleted for scheduled (messages and boosts)\n- Fix a crash with long threads\n- Fix a potential memory issue for not cropped media\n- Fix embedded quotes not displayed\n- Some crashes"
},
{
"version": "3.32.3",
"code": "532",
"note": "Fixed:\n- Polls not displayed\n- Pagination with trends\n- Push notifications not working on some devices"
},
{
"version": "3.32.2",
"code": "531",
"note": "Added:\n- An outline around media\n\nChanged:\n- Make username, display name in nav drawer clickable\n- Gif media not animated by default\n- Disable by default the mention to the booster when replying. Can be enabled in Settings > Compose (per account)\n\nFixed:\n- Wrong preview picture on share from another app\n- Crash when translating with MinT\n- Refresh and pagination broken for the Trending timeline\n- Fix lags / Crashes"
},
{
"version": "3.32.1",
"code": "530",
"note": "Fixed:\n- Fix a crash on some devices\n- Hide quote button\n- Fix a layout issue with pictures in landscape\n- Fix a crash when opening the original message from a picture"
},
{
"version": "3.32.0",
"code": "529",
"note": "Added:\n- Add option to disable auto hiding compose button\n\nChanged:\n- Add more content descriptions for buttons\n- Update some buttons\n- Update navigation drawer header\n- Squeeze action buttons when needed to prevent overlapping\n\nFixed:\n- Fix crash when media are too heavy\n- Some custom emojis in bio do not render\n- Posting messages does not work on some Friendica instances\n- Fix a crash with auto-split messages\n- Fix a crash when opening conversations\n- Fix a background color issue when displaying media"
},
{
"version": "3.31.3",
"code": "528",
"note": "Added:\n- Add new icon launchers (Settings > Interface)\n\nChanged:\n- Make logout/proxy button more visible in main menu\n- Remove permission FOREGROUND_SERVICE\n- Improve a little more media layout with translations\n\nFixed:\n- Fix status bar icons not visible in light theme with custom accent color\n- Reaction buttons not clickable for some instances"
},
{
"version": "3.31.2",
"code": "527",
"note": "Added:\n- Add support to URL scheme \"web+ap\" for opening profiles with the app\n\nChanged:\n- Layout for media descriptions\n\nFixed:\n- Fix a crash when translating media descriptions\n- Handle included twice when replying to a self user's boost\n- Fix color issues when using a custom theme"
},
{
"version": "3.31.1",
"code": "526",
"note": "Added:\n- Add MinT machine translation system support\n- Add support \"instance only\" for GoToSocial\n\nFixed:\n- GIF not displayed in timelines\n- Fix a crash when unpinning timelines\n- Top bar coloring at scroll for conversations\n- Black screen when going back from the Peertube section"
},
{
"version": "3.31.0",
"code": "524",
"note": "Added:\n- Pinned Trending Timeline (can be hidden in Manage Timelines)\n- Add a fallback to the default translator\n- New Pixelfed entry in Settings to disable fullscreen for media\n- Add tooltips for tabs in profiles\n\nChanged:\n- Increase touch area of reply buttons\n- Show a dialog after settings export\n\nFixed:\n- Fix media description not updated when there are several\n- Only a part of DeepL translations are shown\n- Fix Lingva truncated translations\n- Fix a crash when fetching remote profiles\n- Fix a crash with animated emoji\n- Fix a crash when displaying Home cache charts"
},
{
"version": "3.30.1",
"code": "523",
"note": "Added:\n- Follow Twitter tags\n\nChange:\n- Remove automatic backup (Google only)\n\nFixed:\n- Push notifications not working for some devices\n- Filters not applied to media description\n- Fix a crash with animated images in timelines\n- Fix a crash for long threads\n- Fix a crash due to some messages (happened in different timelines)"
},
{
"version": "3.30.0",
"code": "522",
"note": "Added:\n- Allow to follow the discover timelines of Pixelfed instances\n- Keep media proportions in timeline for Pixelfed\n- Add a like button in timelines for Pixelfed\n- Allow to login with a token\n\nChange:\n- Use Pixelfed layout when following Pixelfed instances\n- Allow to scroll buttons for larger screens in conversations\n- Move QR code into header\n\nFixed:\n- Not clickable URLs when Markdown is enabled\n- Nitter to follow Twitter accounts\n- Pixelfed timeline not displayed by default\n- Fix admin reports not accessible\n- Top bar coloring at scroll\n- Drafts not saved when adding/editing media descriptions\n- User search suggestions have duplicates\n- Some minor crashes"
},
{
"version": "3.29.2",
"code": "518",
"note": "Fixed:\n- Fix crash when changing the type of notifications\n- Fix issue with names not displayed fully\n- Fix a crash with notifications and Sharkey\n- Fix a crash when app is back to the foreground\n- Fix xmpp links not opening xmpp clients\n- Fix wrong muted time"
},
{
"version": "3.29.1",
"code": "517",
"note": "Added:\n- Allow to edit scheduled messages from server side\n\nChanged:\n- Order list name alphabetically in profiles\n- Remove registration for Google\n\nFixed:\n- Push notifications\n- Peertube instances picker\n- Edit scheduled threads (local)\n- Instant search of Hashtag repeats results\n- Quotes broken with Markdowns\n- Fix reports crashes after submitting\n- Fix emoji picker when there is no result\n- Fix other crashes"
},
{
"version": "3.28.2",
"code": "515",
"note": "Added:\n- Display a QR code on profiles\n\nFixed:\n- Fix tap on messages in conversations\n- Pronouns taking too much place"
},
{
"version": "3.28.1",
"code": "514",
"note": "Added:\n- Allow to disable pronouns support (default: enabled)\n- Add more support for pronouns (localization in different languages)\n\nFixed:\n- Fix a crash when reporting messages\n- Fix a crash when following tags\n- Fix some display issues\n- Several fixes from the last release (3.28.0)"
},
{
"version": "3.28.0",
"code": "513",
"note": "Added:\n- Pronouns support (Timeline/Compose/Autocomplete)\n\nChanged:\n- Use Media3 library\n\nFixed:\n- Timed mute duration too long\n- Sharing videos only download them\n- Crashes from previous release"
},
{
"version": "3.27.1",
"code": "511",
"note": "Added:\n- Tap on account banners to display them as media\n\nFixed:\n- Position lost when switching between accounts\n- Wrong profiles when enabling remote conversations\n- Peertube local timeline\n- Peertube instances search\n- Crashes of the previous release"
},
{
"version": "3.27.0",
"code": "510",
"note": "Added:\n- Fixed top bar (default: disabled)\n- Usage frequency of tags when composing\n\nChanged:\n- Markdown support disabled by default\n\nFixed:\n- Fix crashes during interactions or when opening a new screen\n- Fix color of dialogs in Settings\n- Some minor crashes"
},
{
"version": "3.26.0",
"code": "505",
"note": "Added:\n- Android 14 support\n- Automatically split long messages in threads (default: ASK)\n- Links and media are clickable when composing\n- Allow to underline clickable elements (Settings > Timelines - default: disabled)\n- Allow to disable relative date in messages\n- Add a scroll bar for timelines (default: disabled)\n- Add a search bar for custom emojis\n- Links clickable in media descriptions\n\nChanged:\n- Counters close to action buttons\n- Hide emoji picker if the instance has no emoji\n- Followed tags are ordered\n- Account picker when opening with another account\n\nFixed:\n- Avoid error 429 with NTFY\n- Fix custom colors (Android 14)\n- Fix a crash when composing\n- Display issue with followed tags\n- Crashes with profiles\n- Fix an issue with poll and Pleroma\n- Emoji not displayed in the picker\n- Several crashes are fixed"
},
{
"version": "3.25.3",
"code": "504",
"note": "Added:\n- Add a scroll bar for timelines (default: disabled)\n- Add a search bar for custom emojis\n\nFixed:\n- Fix prompt to split asked several times when refusing\n- Crashes with profiles\n- Fix an issue with poll and Pleroma\n- Emoji not displayed in the picker"
},
{
"version": "3.25.2",
"code": "503",
"note": "Added:\n- Allow to underline clickable elements (Settings > Timelines - default: disabled)\n- Allow to disable relative date in messages\n\nChanged:\n- Counters close to action buttons\n- Hide emoji picker if the instance has no emoji\n- Followed tags are ordered\n- Account picker when opening with another account\n\nFixed:\n- Fix a crash when composing\n- Fix an issue with the back button\n- Display issue with followed tags"
},
{
"version": "3.25.1",
"code": "502",
"note": "Fix a crash from release 3.25.0"
},
{
"version": "3.25.0",
"code": "501",
"note": "Added:\n- Android 14 support\n- Automatically split long messages in threads (default: ASK)\n- Links and media are clickable when composing\n\nFixed:\n- Avoid error 429 with NTFY\n- Several crashes are fixed"
},
{
"version": "3.24.1",
"code": "500",
"note": "Added:\n- Three new app icons (Pride, Pink and Pirate)\n- Keep position with remote conversations\n\nFixed:\n- Markdown: stop parsing tags and support strike text\n- Cursor more visible when composing\n- Fix custom instance max char length not working\n- Tabs in profiles\n- Fix not clickable tags for some languages\n- Bug with account having huge amount of followers\n- Crash with several gif in same message\n- Poll max chars\n- Some crashes"
},
{
"version": "3.24.0",
"code": "499",
"note": "Added:\n- Markdown support (can be disabled in Settings > Timelines)\n- Hide / Show Self boosts, self replies and your own messages (Long press the Home tab)\n\nChanged:\n- Full screen size when writing media descriptions.\n- Move media descriptions to the top\n\nFixed:\n- Holes in timelines due to a cache bug\n- Spoiler issue when composing threads\n- CamelCase tags when forwarding them in replies\n- Buttons hidden by keyboard when composing\n- Overlay with menu and buttons when playing videos\n- Clicks on card do not open Mastodon posts inside the app\n- Scrollable bio when editing profiles\n- Crash when adding a user into a list\n- Longer fields when editing bio\n- Crash with Pixelfed\n"
},
{
"version": "3.23.5",
"code": "498",
"note": "Added:\n- Hide / Show Self boosts and self replies (Long press the Home tab)\n\nChanged:\n- Full screen size when writing media descriptions."
},
{
"version": "3.23.4",
"code": "497",
"note": "Fixed:\n\n- Holes in timelines due to a cache bug\n- Fix tags issue with RTL and the markdown format\n- Scrollable bio when editing profiles\n- Crash when adding a user into a list"
},
{
"version": "3.23.3",
"code": "496",
"note": "- Longer fields when editing bio\n- Clicks on card do not open Mastodon posts inside the app\n- Crash with Pixelfed\n- Line breaks with Markdown\n- Side effects with Markdown and some links"
},
{
"version": "3.23.2",
"code": "495",
"note": "Added:\n- Markdown support (can be disabled in Settings > Timelines)"
},
{
"version": "3.23.1",
"code": "494",
"note": "Added:\n- Scrollable media description\n\nFixed:\n- Crashes with profiles"
},
{
"version": "3.23.0",
"code": "493",
"note": "Added:\n- Add preview for app icons\n- Two new app icons\n\nFixed:\n- Fix Nitter feeds\n- Crash with Pixelfed accounts\n- Lingva encoding issue\n- Avoid sleep mode for media activity\n- Videos are played simultaneously\n- Voice messages for Android 10+\n- Punycode not supported for domains"
},
{
"version": "3.22.2",
"code": "492",
"note": "Added:\n- Follow Lemmy instances (from Manage Timelines)\n- View remote conversations (default: disabled - Settings > Interface)\n\nFixed:\n- Add 50 chars max for poll options\n- Too many requests\n- Blank Home page\n- Crashes when visiting profiles\n- Some audio files cannot be uploaded\n- Multiple notifications\n- Fix some other crashes"
},
{
"version": "3.22.1",
"code": "491",
"note": "Added:\n- Follow Lemmy instance (from Manage Timelines)\nFixed:\n- Add 50 chars max for poll options"
},
{
"version": "3.22.0",
"code": "490",
"note": "Fixed:\n- Too many requests\n- Blank Home page\n- Crashes when visiting profiles\n- Some audio files cannot be uploaded"
},
{
"version": "3.21.2",
"code": "489",
"note": "Added:\n- Android 12+ : Customize accent colors for light/dark theme and per account (Settings > Theming > Custom accent color)\n"
},
{
"version": "3.21.1",
"code": "488",
"note": "Added:\n- Filter messages in profiles (hide/show boosts or replies) via a long press on the tab\n\nChanged:\n- Some layout improvements for Peertube\n- Better management of resolution with Peertube\n- Improve instance picker for Peertube\n\nFixed:\n- URL in upper cases\n- Issues with Peertube player\n- False positive error when listening to audio\n- GIF does not honor nsfw\n- Polls having html\n- Fix crashes when scrolling timeline with animated gif"
},
{
"version": "3.21.0",
"code": "487",
"note": "Added:\n- Dedicated Peertube entry in main menu (My app)\n- Select instances (Instances picker with Filters)\n- Comment/Boost/Fav Peertube videos with Mastodon accounts\n\nFixed:\n- Fix a crash when searching and with the user directory"
},
{
"version": "3.20.3",
"code": "486",
"note": "Added:\n- Display all following/followers lists from remote profiles\n- Display all accounts that boosted/fav from a remote message\n\nFixed:\n- Fix a crash with auto-fetch messages"
},
{
"version": "3.20.2",
"code": "485",
"note": "Added:\n- Visual indicator when fetching missing messages\n- Open media description when it is missing from the warning dialog\n\nChanged:\n- Maths formula aligned to the left\n- Faster access to delete all notifications\n\nFixed:\n- Fix an issue with Nitter and some URLs\n- Fix refresh issue with notifications\n- Fix an issue when entering a Peertube instance\n- Fix jumps with Akkoma/Pleroma when media preview size is not set\n- Some crashes"
},
{
"version": "3.20.1",
"code": "484",
"note": "Added:\n- Add a button to fetch remote media when it fails\n- Add a settings to automatically fetch remote media when it fails (default: disabled)\n- Display on profiles & list of accounts if users have requested to follow you\n- Warn before boosting a message having no media descriptions (default: enabled)\n\nChanged:\n- Warn when there are missing descriptions enabled by default\n\nFixed:\n- Some settings not properly restored (multiple choices)\n- Cancel a follow request\n- Media with a lot of height in landscape\n- Some crashes"
},
{
"version": "3.20.0",
"code": "483",
"note": "Added:\n- \"Follows you\" indicator in accounts list\n- Settings compose: display a dialog to warn if there are missing media description (default: disabled)\n- Settings > Cache: disable battery optimization\n- Settings > Cache - Add charts to check cache logs\n- Settings > Timelines: AutoPlay gif media (default: enabled)\n- Google: Automatic backup of data and settings\n\nChanged:\n- Improve detections of gap in timelines\n- Improve media description\n- Chat view by default\n- Chat view add an indicator for messages when not direct\n\nFixed:\n- Fix an issue with cache and fetch more\n- Cache view with large fonts\n- Bad behaviors with truncated messages"
},
{
"version": "3.19.1",
"code": "482",
"note": "Added:\n- Settings compose: display a dialog to warn if there are missing media description (default disabled)\n- Settings > Notification: disable battery optimization\n- Settings > Timelines: AutoPlay gif media (default: enabled)\n\nFixed:\n- Fix an issue with cache and fetch more\n- Cache view with large fonts\n- Bad behaviors with truncated messages"
},
{
"version": "3.19.0",
"code": "481",
"note": "Added:\n- Settings compose: don't send media if there are no description (default: disabled)\n- Settings Timelines: Enable/Disable truncate links\n- Allow to set max link length (20 - 150 chars)\n\nChanged:\n- Align media with text (left margin enabled)\n\nFixed:\n- Media previews remain the same when sharing\n- Edit media description not working\n- Accessibility (larger fonts): profiles/DM\n- Cross replies: Wrong visibility with the selected account\n- Several crashes"
},
{
"version": "3.18.2",
"code": "480",
"note": "Changed:\n- First media layout will depend of its ratio\n\nFixed:\n- Impossible to add media with the chat view\n- Chat view limited in chars\n- Freezes / bad behaviors due to the new media presentation"
},
{
"version": "3.18.1",
"code": "479",
"note": "Added:\n- Add Lingva translator (Settings > Timelines)\n- Add support for Nyastodon-style emoji reactions (skyevg)\n- Add chat view for DM (default: disable / Settings > Timelines)"
},
{
"version": "3.18.0",
"code": "478",
"note": "Added:\n- Support camel case tags (automatically recorded when composing)\n- Manage tags when composing (top right menu)\n- Custom tabs (default: enabled)\n\nChanged:\n- Media heights now use the screen size\n- Remove horizontal scroll for media\n- Reduce size of emoji when text size is increased\n- Update available languages in picker\n\nFixed:\n- Forwarded tags are added back after being deleted\n- TalkBack issues\n- Some crashes"
},
{
"version": "3.17.0",
"code": "477",
"note": "Added:\n- Peertube 2FA support\n- Cache home in background (default disabled -> New settings category and per account) / change frequency\n- Auto-fetch missing messages for the Home (default disabled -> in Settings - Timelines)\n- Automatically switch between tabs when searching\n- More deep links detection\n- Allow to group mentions at the top (default: disabled)\n\n\nFixed:\n- Dynamic color for Android 12+\n- Missing media description for previews\n- Fix a crash when replying\n- Fix button size not changed\n- Forward tags in replies\n- Media cannot be downloaded or shared with Android 10\n- Some crashes"
},
{
"version": "3.16.4",
"code": "476",
"note": "Added:\n- Cache home in background (default disabled -> New settings category and per account) / change frequency\n- Auto-fetch missing messages for the Home (default disabled -> in Settings - Timelines)\n- Automatically switch between tabs when searching\n\nFixed:\n- Some crashes"
},
{
"version": "3.16.3",
"code": "475",
"note": "Added:\n- Peertube 2FA support\n\nFixed:\n- Dynamic color for Android 12+"
},
{ {
"version": "3.16.2", "version": "3.16.2",
"code": "474", "code": "474",
@ -48,330 +293,6 @@
"version": "3.14.3", "version": "3.14.3",
"code": "465", "code": "465",
"note": "Added:\n- Display date of the message instead of the boost (default: disabled)\n- Allow to disable release notes popup in Settings\n\nFixed:\n- Fix timelines slow down and stuttering after some scrolls\n- Fix color issues with follow buttons\n- Fix import from settings (import from login was OK)" "note": "Added:\n- Display date of the message instead of the boost (default: disabled)\n- Allow to disable release notes popup in Settings\n\nFixed:\n- Fix timelines slow down and stuttering after some scrolls\n- Fix color issues with follow buttons\n- Fix import from settings (import from login was OK)"
},
{
"version": "3.14.2",
"code": "464",
"note": "Added:\n- Display familiar followers on profiles\n- Display and filter Instance directory\n\nChanged:\n- Bot and reply icon indicators more visible\n- Single media are hidden with link previews\n\nFixed:\n- Fix a crash with Art timelines\n- Friendica: media cannot be downloaded/shared\n- Fix a crash with pinned timelines"
},
{
"version": "3.14.1",
"code": "463",
"note": "Added:\n- Search bar: display suggestions when starting by \"@\" or \"#\"\n\nChanged:\n- Preload media in timelines to avoid jumps\n- Search: Automatically switch to account tab if no results for tags\n\nFixed:\n- Fix jumps with the fetch more feature\n- Fix videos cannot be saved\n- Tags cannot be pinned when there are no custom tabs\n- PixelFed view: NSFW not honored\n- Fix crashes"
},
{
"version": "3.14.0",
"code": "462",
"note": "Added:\n\n- Add Bubble timeline support in extra-features with filters\n- Allow to display public profiles by default to get all messages (Settings > Interface)\n- Glitch: Allow to post messages locally (Can be turned off in Settings)\n- Pixelfed: Custom layout to display Media fully (Also works for other software when there are media)\n- Allow to align left action buttons in messages\n\nChanged:\n- Full rework on links in messages (also mentions and tags)\n- Add pinned tag in \"any\" to avoid to lose it when renaming timeline\n\nFixed:\n- Links to messages not handled by the app\n- CW when editing a message\n- Fix push notifications with several accounts\n- New messages or edition notifications not pushed\n- Fix quotes with tags/mentions\n- Fix notifications\n- Fix sending multiple media\n- Fix crashes"
},
{
"version": "3.13.7",
"code": "461",
"note": "Added:\n- Pixelfed: Custom layout to display Media fully \n*(Settings > Timelines > Pixelfed Presentation) - Also works for other softwares when there are media\n\nChanged:\n- Add pinned tag in \"any\" to avoid to lose it when renaming timeline\n\nFixed:\n- Fix push notifications with several accounts\n- Fix quotes with tags/mentions\n- Fix notifications\n- Fix sending multiple media\n- Some crashes"
},
{
"version": "3.13.6",
"code": "460",
"note": "Fixed:\n- Cross-compose: Wrong instance emojis\n- Custom emojis not displayed in notifications\n- Fav/Boost markers with shared messages\n- Empty notifications\n- Fix cw removed when replying\n- Fix expand media with fit preview images when sensitive\n- Fix an issue with fetch more displayed too often (cache clear will help or wait new messages)"
},
{
"version": "3.13.5",
"code": "459",
"note": "Added:\n- Glitch: Allow to post messages locally (Can be turned off in Settings)\n\nFixed:\n- Crashes"
},
{
"version": "3.13.4",
"code": "458",
"note": "Added:\n- Add Bubble timeline support in extra-features with filters\n- Allow to display public profiles by default to get all messages (Settings > Interface)\n\nChanged:\n- Full rework on links in messages (also mentions and tags)\n\nFixed:\n- Spoiler text when editing\n- Fix watermarks"
},
{
"version": "3.13.3",
"code": "457",
"note": "Added:\n- Allow to enable extra features in Settings\n- Customizable settings for extra features\n- Support quotes, reactions with messages\n- Support text format (html, markdown, etc.) when composing\n\nFixed:\n- CW not working with media\n- Media not displayed for older instances\n- Some crashes\n"
},
{
"version": "3.13.2",
"code": "456",
"note": "Changed:\n- Hidden media smaller with preview images\n\nFixed:\n- Issue with Media for Android 11+\n- Crash when not setting a translation key\n- Fix DeepL for API pro\n- Crash when visiting a profile with a lot of media\n- Home muted accounts not working without filters\n- Animated custom emoji not displayed"
},
{
"version": "3.13.1",
"code": "455",
"note": "Added:\n- DeepL translation support free/pro keys\n\nChanged:\n- Hide buttons for media when editing\n\nFixed:\n- GIF loaded as static images\n- Suggested accounts cannot be followed"
},
{
"version": "3.13.0",
"code": "454",
"note": "Added:\n- Post random quotes\n- Group reblogs in home timeline\n- Rename Nitter timelines\n- Android 13 support\n- Pagination with search / trending\n- Allow to remove left margin in messages (default: disabled)\n\nChanged:\n- Display translate button only when language is different\n- Respect blank spaces between words in messages\n- Focus button more accessible when editing media\n- Visual feedback for block on account list\n- Visual changes with compose / top bar\n- Use custom Nitter timeline name in manage timelines\n\nFixed:\n- Behavior with cw toggle\n- Truncated gimini links\n- Nav buttons not visible with media (Light theme)\n- Status bar with Android 5\n- Fix links not clickable\n- Fix deep links\n- Fix remote threads not fetched for some instances\n- Adding description to shared media\n- Open with another accounts\n- Chars size not respected for Android 5-6\n- Wrong instance fetched for instances.social\n- Bouncing Timeline on refresh\n- Links to mentions, tags, urls, not visible.\n- Custom channel sounds not applied\n- users with short username are not linked\n- Fix crashes"
},
{
"version": "3.12.3",
"code": "453",
"note": "Added:\n- Pagination with search / trending\n\nFixed:\n- Long press on Nitter tabs\n- Open with another accounts\n- Chars size not respected for Android 5-6\n- Wrong instance fetched for instances.social"
},
{
"version": "3.12.2",
"code": "452",
"note": "Added:\n- Rename Nitter timelines\n- Android 13 support\n\nChanged:\n- Visual feedback for block on account list\n- Visual changes with compose / top bar\n\nFixed:\n- Nav buttons not visible with media (Light theme)\n- Status bar with Android 5\n- Fix links not clickable\n- Fix deep links\n- Fix remote threads not fetched for some instances\n- Adding description to shared media\n- Fix crashes"
},
{
"version": "3.12.1",
"code": "451",
"note": "Added:\n- Post random quotes\n- Group reblogs in home timeline\n\nChanged:\n- Display translate button only when language is different\n- Respect blank spaces between words in messages\n- Focus button more accessible when editing media\n\nFixed:\n- Behavior with cw toggle\n- Truncated gimini links"
},
{
"version": "3.12.0",
"code": "450",
"note": "Added:\n- Full data import/export feature\n- Android 13 themed icon support\n\nFixed:\n- Fix a regression with filters\n- Fix dark solarized theme\n- Fix hide link previews for CW\n- Fix status bar color for all themes\n- Fix language in compose \"...\"\n- Fix add all home muted accounts from lists\n- Fix top notification badges"
},
{
"version": "3.11.3",
"code": "449",
"note": "Added:\n- Add more targeted languages in picker for translations\n- Add account name in push notifications\n\nFixed:\n- Fix a crash when changing language\n- Fix counter colors\n- Fix default link color\n- Fix a crash when clicking on mentions"
},
{
"version": "3.11.2",
"code": "448",
"note": "Added:\n- Mute/Unmute accounts in the Home timeline from their messages or their profiles\n- Add all users from a list to \"Muted home\" in one click\n- Display/Manage users that are muted for home\n\nFixed:\n- Timeline crashes"
},
{
"version": "3.11.0",
"code": "446",
"note": "Added:\n- Display all messages in threads from remote instances (when possible)\n- Allow to unmute/unfollow/unpin a tag from tag timelines\n- Display most used accounts in header menu for an easy switch\n- Automatically add the tag when composing from a tag timeline\n- Add a translate button at the bottom of messages (default: disabled)\n- Add account role in profiles\n- Translate morse\n\nChanged:\n- Disable animations after a refresh\n\nFixed:\n- Contact not working when composing\n- Status bar for black theme\n- Message duplicated in conversations when edited\n- Color issue on Android 5\n- Several crashes"
},
{
"version": "3.10.2",
"code": "445",
"note": "Added:\n- Allow to unmute/unfollow/unpin a tag from tag timelines\n- Automatically add the tag when composing from a tag timeline\n- Add a translate button at the bottom of messages (default: disabled)\n- Add account role in profiles\n\nFixed:\n- Contact not working when composing\n- Status bar for black theme\n- Message duplicated in conversations when edited\n- Color issue on Android 5"
},
{
"version": "3.10.1",
"code": "444",
"note": "Added:\n- Display all messages in threads from remote instances (when possible)\n* Only public messages for instances using the Mastodon API\n* A dedicated button is displayed at the top right when conditions are filled."
},
{
"version": "3.10.0",
"code": "443",
"note": "Added:\n- Dracula theme\n- Customize message colors\n- Enable/Disable Card presentation\n\nChanged:\n- Colors for some themes\n- Space between buttons\n\nFixed:\n- Animated profile pictures not displayed\n- Mentions broken in profile bio and fields\n- Jumps with fit preview images when scrolling up\n- Fetch more button broken with cache\n- Tag patterns in URL break the link\n- Typo in followed tags"
},
{
"version": "3.9.7",
"code": "442",
"note": "Added:\n- Dracula theme\n\nChanged:\n- Colors for Light/Dark/Black themes\n\nFixed:\n- Animated profile pictures not displayed\n- Mentions broken in profile bio and fields\n- Tag patterns in URL break the link\n- Typo in followed tags"
},
{
"version": "3.9.6",
"code": "441",
"note": "Fixed:\n- Jumps with fit preview images when scrolling up\n- Fetch more button broken with cache"
},
{
"version": "3.9.5",
"code": "440",
"note": "Fixed:\n- Custom emoji are not always displayed\n- Jumps in timeline when using \"fit preview images\"\n- Dark theme: timeline buttons without toggle"
},
{
"version": "3.9.4",
"code": "439",
"note": "Changed:\n- Remove card presentation\n- Link color for black theme\n\nFixed:\n- Crash when changing the theme"
},
{
"version": "3.9.3",
"code": "438",
"note": "Added:\n- New design with 5 themes\n\nChanged:\n- Remove built-in browser support\n- Fit preview image displays images vertically\n- Add counters next to images\n\nFixed:\n- Jumps in timelines\n- Replies to wrong messages with followed instances\n- Bug with delete&redraft with a media\n- List cannot be hidden\n- Some crashes"
},
{
"version": "3.9.1",
"code": "436",
"note": "Changed:\n- Remove built-in browser support\n- More spaces between action buttons in messages\n\nFixed:\n- Text size issue\n- Text overlap\n- Wrong background for solarized black\n- Mix between light and dark theme\n- Save button hidden"
},
{
"version": "3.9.0",
"code": "435",
"note": "Added:\n- Migrate to Material Design 3\n- 5 Themes (Light, Dark, Solarized Light/Dark, Black)\n- Automatically switch between Light/Dark\n- Light and Dark theme can be defined for time-based switch\n- Android 12+: Dynamic color\n\nFixed:\n- Jumps in timelines\n"
},
{
"version": "3.8.1",
"code": "434",
"note": "Added:\n- Mute tags with long press in timelines\n\nChanged:\n- Muted account messages are now removed from cache\n\nFixed:\n- Open with another account\n- Fix jumps in profiles\n- Media not displayed in album -> force indexation\n- Built-in browser does not give admin scope\n- Some crashes"
},
{
"version": "3.8.0",
"code": "433",
"note": "Added:\n- List of blocked domains (allow to unblock)\n- Support gemini links\n- Suggested followers\n- Mod/Adm: Manage instance blocked domains\n- Open messages with another account\n- Allow to disable notifications for admins\n- Sort lists\n\nChanged:\n- Allow search term to be edited\n\nFixed:\n- Drafts deleted with no warning\n- Remove lists from \"Manage timelines\"\n- App crashes when proxy is set\n- Filter not synced after being edited\n- Some crashes / improvements"
},
{
"version": "3.7.5",
"code": "432",
"note": "Added:\n- List of blocked domains (allow to unblock)\n- Support gemini links\n- Suggested followers\n\nChanged:\n- Allow search term to be edited\n\nFixed:\n- Drafts deleted with no warning\n- App crashes when proxy is set\n- Filter not synced after being edited\n- Some crashes"
},
{
"version": "3.7.4",
"code": "431",
"note": "Added:\n- Full support to new filters for Mastodon 4\n- Visit profiles without being authenticated / Allow to display all their messages\n\nChanged:\n- Compose view takes the whole width even in threads\n- Accounts can be timed-mute from their profile\n\nFixed:\n- Draft stored when replying \"no\" or dialog prompted without changes\n- Empty pages when starting the app\n- Saving and sharing media fails on some devices\n- Add support for admin notifications\n- Copying content of a message"
},
{
"version": "3.7.3",
"code": "430",
"note": "Added:\n- Visit profiles without being authenticated / Allow to display all their messages\n\nFixed:\n- Saving media fails on some devices"
},
{
"version": "3.7.2",
"code": "429",
"note": "Added:\n- Full support to new filters for Mastodon 4"
},
{
"version": "3.7.1",
"code": "428",
"note": "Added:\n- Support to open links containing /@display_name/ in their path (works on older devices)\n- Display reply count when counters are enabled\n- Add support for filtering profile messages\n\nChanged:\n- Compose view takes the whole width even in threads\n- Reset push notification marker when clearing cache\n\nFixed:\n- Draft stored when replying \"no\" or dialog prompted without changes\n- Filters not working with tags\n- Add a specific error message for followed tags\n- Empty pages when starting the app"
},
{
"version": "3.7.0",
"code": "427",
"note": "Added:\n- Follow tags (dedicated entry in menu)\n- Reduce the list of languages when composing (Settings > Compose)\n- Language indicator when composing\n- Replies are automatically set to first message language\n- Two new Light themes\n- More moderation features\n- List name can be edited\n\nFixed:\n- Filter not working\n- Crash with trends\n- Issue with themes\n- Some content lost when sending messages (mentions)\n- Fix freezes in timelines\n- Some other fixes"
},
{
"version": "3.6.5",
"code": "426",
"note": "- Two new Light themes\n- More moderation features\n\nFixed:\n- Filter not working\n- Crash with trends\n- Some content lost when sending messages (mentions)\n- Some other fixes"
},
{
"version": "3.6.4",
"code": "425",
"note": "Changed:\n- Tag search ordered by popularity\n\nFixed:\n- Unable to get client ID on some devices\n- Issue with messages/notifications not correctly displayed\n- Notifications not received\n- Friendica: issues with mentions and tags (open browser)\n- Improve sharing behaviour"
},
{
"version": "3.6.3",
"code": "424",
"note": "Fixed:\n- Issue with messages/notifications not correctly displayed\n- Friendica: issues with mentions and tags (open browser)\n- Improve sharing behaviour\n"
},
{
"version": "3.6.2",
"code": "423",
"note": "Fixed:\n- Order of notifications\n- URL when sharing boosted message\n- Blank pages when restarting\n- Fix some crashes"
},
{
"version": "3.6.1",
"code": "422",
"note": "Added:\n- Display client in detailed messages\n- Visual support for quotes starting with \">\"\n- Increase indentations for threads (zero to 20, default 5)\n- Visibility for public replies set to unlisted (can be disabled)\n\nChanged:\n- Reduce title size when text size is increased\n\nFixed:\n- Filters are not applied\n- Blocking an account doesn't remove messages in cache\n- Fix some crashes"
},
{
"version": "3.6.0",
"code": "421",
"note": "Added:\n- Edit messages (if your instance supports that feature)\n- Pin/Unpin messages\n- Set the default language for translations\n- Change app icon (Settings > Interface)\n- Allow to disable \"remember position\" in timelines\n- Allow to disable notification aggregation in settings\n- Icon on media previews if a description is available\n\nChanged:\n- Allow to disable/enable media for notifications\n\nFixed:\n- Post loses \"spoiler message\" when adding a media\n- Camera not working on Android 11\n- Notification aggregation\n- Vibrations when fetching new notifications\n- Fix an issue with media timelines\n- Fix some theme issues\n- Fix an issue with built-in browser & openId\n- Bad behaviours with Art Timelines\n- Some crashes"
},
{
"version": "3.5.3",
"code": "420",
"note": "- Edit messages (if your instance support that feature)\n- Some fixes"
},
{
"version": "3.5.2",
"code": "419",
"note": "Added:\n- Pin/Unpin messages\n- Set the default language for translations\n\nChanged:\n- Allow to disable/enable media for notifications\n\nFixed:\n- Wrong images in notification timeline\n- Double icon bug\n- Fix some crashes"
},
{
"version": "3.5.1",
"code": "418",
"note": "Added:\n- Change app icon (Settings > Interface)\n- Allow to disable \"remember position\" in timelines\n- Allow to disable notification aggregation in settings\n\nChanged:\n- Allow to disable/enable media for notifications\n\nFixed:\n- Post loses \"spoiler message\" when adding a media\n- Camera not working on Android 11\n- Notification aggregation\n- Vibrations when fetching new notifications\n- Fix an issue with media timelines\n- Some crashes"
},
{
"version": "3.5.0",
"code": "417",
"note": "Changed:\n- Swipe between timelines\n- Improve cache\n- Button sizes can be changed in settings\n- French translation\n\nFixed:\n- Pleroma: Emoji reactions\n- Sharing (several fixes)\n- Theme issues\n- Rendering issue for links\n- Notifications not removed from cache\n- Issue with watermarks\n- Pagination with bookmarks/favourites\n- Some crashes"
},
{
"version": "3.4.2",
"code": "415",
"note": "Fixed:\n- Attach media to a reply"
},
{
"version": "3.4.1",
"code": "414",
"note": "Added:\n- Disable counters in settings\nFixed:\n- Duplicated messages from cache\n- Notifications in double\n- Drafts not automatically removed\n- Messages not removed from cache after deletion"
},
{
"version": "3.4.0",
"code": "413",
"note": "Added:\n- New cache mechanism (can be disabled in settings)\n- Set thumbnails load behavior Always/Wifi only /ask\n- Add counters for new messages in timelines\nFixed:\n- Contextual menu not working in threads\n- Tag search issue with Friendica\n- Notifications click open the wrong tab\n- Encoding issue with media descriptions\n- Some other fixes."
},
{
"version": "3.3.2",
"code": "409",
"note": "- Fix an issue with cache and home timeline\n- Nitter timelines use the custom instance from settings\n- Fix Nitter issues (only RT)\n- No longer accepts invalid certificate for onion URLs(Google)\n- Fix some crashes"
},
{
"version": "3.3.1",
"code": "408",
"note": "- Improve speed for Nitter instances\n- Allow to edit Nitter accounts with a long press on tabs\n- Fix pagination issue with pinned timelines\n- Fix some crashes\n- Fix visibility when displaying counters"
},
{
"version": "3.3.0",
"code": "407",
"note": "Added:\n- Settings to set all timelines at the top (default disabled)\n- Settings to display timelines in a list (default disabled)\n- Display counters for fav/reblog in timelines (default disabled)\n\nFixed:\n- Visibility issue when replying\n- Some theme issues when composing\n- Some crashes"
},
{
"version": "3.2.0",
"code": "405",
"note": "Added:\n- Export Settings\n- Propagate manual reordering of lists in timeline to \"Lists\" submenu\n- Allow to change the push distributor in settings\n\nChanged:\n- Improve fit preview images\n- Improve notifications\n- Profile media displayed in a grid\n\nFixed:\n- Some Peertube videos not working\n- Respect the default visibility account when replying\n- Discriminate gif from images\n- App crashes when opening external instance timeline\n- Remove button in thread composer crashes the app\n- Back button opens a lot of old activities before closing the app\n- Problems with sharing\n- Reorder Lists with UI issue on change the visibility\n- Link is not shown correctly in posts from Friendica"
},
{
"version": "3.1.0",
"code": "402",
"note": "Added:\n- New theme: Dark Elephant from S1m\n- Error messages from server side when posting fails\n\nChanged:\n- Fetch more buttons more visible\n\nFixed:\n- Issue when fetching missing messages\n- Some issues with themes\n- Too much lost space with reaction (Pleroma)\n- Delete and redraft crashes\n- Crash when playing a video\n- Other crash fixes"
},
{
"version": "3.0.11",
"code": "401",
"note": "Added:\n- New theme: Dark Elephant from S1m\n- Error messages from server side when posting fails\n- Allow to set the fetch time for delayed notifications\n\nChanged:\n- Fetch more buttons more visible\n\nFixed:\n- Issue when fetching missing messages\n- Some issues with themes\n- Too much lost space with reaction (Pleroma)\n- Delete and redraft crashes\n- Crash when playing a video\n- Other crash fixes"
},
{
"version": "3.0.10",
"code": "400",
"note": "Added:\n- Allow to define the max chars count when not detected (In about the instance)\n- Add emoji one picker when composing (must be enabled in settings)\n- Add release notes with the ability to translate them\n\nFixed:\n- Friendica custom emojis not displayed\n- Long press to store media\n- Some bug fixes"
},
{
"version": "3.0.9",
"code": "399",
"note": "Added:\n- Set compose language (from compose menu -> three vertical dots)\n- Add reactions support for Pleroma\n- Add privacy indicator at the top right\n\nChanged\n- Improve the scrolling behaviour\n- Scroll to top (tab reselection) will fetch new messages and then scroll to top\n\nFixed:\n- Empty tag timelines\n- Remove focus point for fit media preview\n- Fix cannot share with one account\n- Fix black theme\n- Theme cannot be selected\n- Fix some button colors"
},
{
"version": "3.0.8",
"code": "398",
"note": "- Keep improving the scroll behaviour\n- Scroll to top (tab reselection) will fetch new messages and then scroll to top\n- Remove focus point for fit media preview\n- Fix cannot share with one account\n- Fix black theme\n- Fix some button colors"
},
{
"version": "3.0.7",
"code": "397",
"note": "- Fix some bugs reported."
},
{
"version": "3.0.6",
"code": "396",
"note": "Added:\n- Allow to set a focus point on previews (media editor)\n- Respect the focus point with previews\n- Pagination with the fetch more button support reading up or down\n- Add trends\n\nFixed:\n- Only last push notification is displayed (not grouped)\n- Bad behavior with the right/left scroll\n- Fix long profiles not fully displayed\n- Issues with some polls\n- Some crashes\n- Some bad behaviors"
},
{
"version": "3.0.5",
"code": "395",
"note": "- Fix some bugs\n- Allow to share with the app"
},
{
"version": "3.0.4",
"code": "394",
"note": "- Fix crashes for some Pleroma instances"
},
{
"version": "3.0.2",
"code": "393",
"note": "- Some bug fixes\n- Improve pinned timelines"
},
{
"version": "3.0.1",
"code": "391",
"note": "Some quick fixes"
},
{
"version": "3.0.0",
"code": "390",
"note": "New version of Fedilab with new feature.\n- You can now compose threads\n- See the whole thread when replying\n- Cache support\n- New design"
} }
] ]

File diff suppressed because it is too large Load diff

View file

@ -27,8 +27,6 @@ import androidx.multidex.MultiDex;
import androidx.multidex.MultiDexApplication; import androidx.multidex.MultiDexApplication;
import androidx.preference.PreferenceManager; import androidx.preference.PreferenceManager;
import com.google.android.material.color.DynamicColors;
import net.gotev.uploadservice.UploadServiceConfig; import net.gotev.uploadservice.UploadServiceConfig;
import net.gotev.uploadservice.observer.request.GlobalRequestObserver; import net.gotev.uploadservice.observer.request.GlobalRequestObserver;
@ -44,7 +42,9 @@ import java.util.Objects;
import app.fedilab.android.mastodon.helper.ThemeHelper; import app.fedilab.android.mastodon.helper.ThemeHelper;
import app.fedilab.android.peertube.services.GlobalUploadObserver; import app.fedilab.android.peertube.services.GlobalUploadObserver;
import es.dmoral.toasty.Toasty; import es.dmoral.toasty.Toasty;
import io.noties.prism4j.annotations.PrismBundle;
@PrismBundle(includeAll = true, grammarLocatorClassName = ".MySuperGrammerLocator")
public class MainApplication extends MultiDexApplication { public class MainApplication extends MultiDexApplication {
@ -54,15 +54,10 @@ public class MainApplication extends MultiDexApplication {
@Override @Override
public void onCreate() { public void onCreate() {
super.onCreate(); super.onCreate();
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(MainApplication.this);
try { try {
webView = new WebView(this); webView = new WebView(this);
} catch (Exception ignored) { } catch (Exception ignored) {
} }
boolean dynamicColor = sharedpreferences.getBoolean(getString(R.string.SET_DYNAMICCOLOR), false);
if (dynamicColor) {
DynamicColors.applyToActivitiesIfAvailable(this);
}
StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();
StrictMode.setVmPolicy(builder.build()); StrictMode.setVmPolicy(builder.build());
Toasty.Config.getInstance().apply(); Toasty.Config.getInstance().apply();

View file

@ -15,14 +15,17 @@ package app.fedilab.android.activities;
* see <http://www.gnu.org/licenses>. */ * see <http://www.gnu.org/licenses>. */
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.content.pm.PackageInfo; import android.content.pm.PackageInfo;
import android.content.pm.PackageManager; import android.content.pm.PackageManager;
import android.os.Bundle; import android.os.Bundle;
import android.view.MenuItem; import android.view.MenuItem;
import android.view.View; import android.view.View;
import android.widget.Toast;
import androidx.core.app.ActivityOptionsCompat;
import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelProvider;
import java.util.ArrayList; import java.util.ArrayList;
@ -36,10 +39,12 @@ import app.fedilab.android.mastodon.activities.BaseBarActivity;
import app.fedilab.android.mastodon.activities.ProfileActivity; import app.fedilab.android.mastodon.activities.ProfileActivity;
import app.fedilab.android.mastodon.client.entities.api.Account; import app.fedilab.android.mastodon.client.entities.api.Account;
import app.fedilab.android.mastodon.client.entities.api.Status; import app.fedilab.android.mastodon.client.entities.api.Status;
import app.fedilab.android.mastodon.client.entities.app.CachedBundle;
import app.fedilab.android.mastodon.helper.CrossActionHelper; import app.fedilab.android.mastodon.helper.CrossActionHelper;
import app.fedilab.android.mastodon.helper.Helper; import app.fedilab.android.mastodon.helper.Helper;
import app.fedilab.android.mastodon.helper.MastodonHelper; import app.fedilab.android.mastodon.helper.MastodonHelper;
import app.fedilab.android.mastodon.viewmodel.mastodon.AccountsVM; import app.fedilab.android.mastodon.viewmodel.mastodon.AccountsVM;
import es.dmoral.toasty.Toasty;
public class AboutActivity extends BaseBarActivity { public class AboutActivity extends BaseBarActivity {
@ -58,10 +63,10 @@ public class AboutActivity extends BaseBarActivity {
if (getSupportActionBar() != null) { if (getSupportActionBar() != null) {
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);
} }
String version = "";
try { try {
PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0); PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0);
String version = pInfo.versionName; version = pInfo.versionName;
binding.aboutVersion.setText(getResources().getString(R.string.about_vesrion, version)); binding.aboutVersion.setText(getResources().getString(R.string.about_vesrion, version));
} catch (PackageManager.NameNotFoundException ignored) { } catch (PackageManager.NameNotFoundException ignored) {
} }
@ -77,6 +82,20 @@ public class AboutActivity extends BaseBarActivity {
} }
binding.aboutSupportPaypal.setOnClickListener(v -> Helper.openBrowser(AboutActivity.this, "https://www.paypal.me/Mastalab")); binding.aboutSupportPaypal.setOnClickListener(v -> Helper.openBrowser(AboutActivity.this, "https://www.paypal.me/Mastalab"));
String finalVersion = version;
binding.aboutVersionCopy.setOnClickListener(v -> {
ClipboardManager clipboard = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE);
String content = "Fedilab v" + finalVersion + " for " + (BuildConfig.DONATIONS ? "FDroid" : "Google");
ClipData clip = ClipData.newPlainText(Helper.CLIP_BOARD, content);
if (clipboard != null) {
clipboard.setPrimaryClip(clip);
Toasty.info(AboutActivity.this, getString(R.string.clipboard_version), Toast.LENGTH_LONG).show();
}
});
if (BuildConfig.DONATIONS) { if (BuildConfig.DONATIONS) {
binding.aboutSupportPaypal.setVisibility(View.VISIBLE); binding.aboutSupportPaypal.setVisibility(View.VISIBLE);
} else { } else {
@ -100,12 +119,14 @@ public class AboutActivity extends BaseBarActivity {
binding.accountUn.setText(account.acct); binding.accountUn.setText(account.acct);
binding.accountPp.setOnClickListener(v -> { binding.accountPp.setOnClickListener(v -> {
Intent intent = new Intent(AboutActivity.this, ProfileActivity.class); Intent intent = new Intent(AboutActivity.this, ProfileActivity.class);
Bundle b = new Bundle(); Bundle args = new Bundle();
b.putSerializable(Helper.ARG_ACCOUNT, account); args.putSerializable(Helper.ARG_ACCOUNT, account);
intent.putExtras(b); new CachedBundle(AboutActivity.this).insertBundle(args, Helper.getCurrentAccount(AboutActivity.this), bundleId -> {
ActivityOptionsCompat options = ActivityOptionsCompat Bundle bundle = new Bundle();
.makeSceneTransitionAnimation(AboutActivity.this, binding.accountPp, getString(R.string.activity_porfile_pp)); bundle.putLong(Helper.ARG_INTENT_ID, bundleId);
startActivity(intent, options.toBundle()); intent.putExtras(bundle);
startActivity(intent);
});
}); });
AccountsVM accountsVM = new ViewModelProvider(AboutActivity.this).get(AccountsVM.class); AccountsVM accountsVM = new ViewModelProvider(AboutActivity.this).get(AccountsVM.class);
List<String> ids = new ArrayList<>(); List<String> ids = new ArrayList<>();

View file

@ -150,7 +150,6 @@ public class LoginActivity extends BaseActivity {
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(LoginActivity.this);
setContentView(new FrameLayout(this)); setContentView(new FrameLayout(this));
FragmentLoginMain fragmentLoginMain = new FragmentLoginMain(); FragmentLoginMain fragmentLoginMain = new FragmentLoginMain();
Helper.addFragment(getSupportFragmentManager(), android.R.id.content, fragmentLoginMain, null, null, null); Helper.addFragment(getSupportFragmentManager(), android.R.id.content, fragmentLoginMain, null, null, null);

View file

@ -0,0 +1,102 @@
package app.fedilab.android.activities;
/* Copyright 2025 Thomas Schneider
*
* This file is a part of Fedilab
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
* License, or (at your option) any later version.
*
* Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import app.fedilab.android.mastodon.activities.ProfileActivity;
import app.fedilab.android.mastodon.client.entities.app.CachedBundle;
import app.fedilab.android.mastodon.helper.Helper;
public class WebActivityPub extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Intent appIntent = getIntent();
String acct = null;
String intent = null;
if(appIntent == null) {
finish();
return;
}
Uri uri = appIntent.getData();
if(uri == null) {
finish();
return;
}
String scheme = uri.getScheme();
String uriString = uri.toString();
if(!uriString.startsWith(scheme+"://")) {
uriString = uri.toString().replace(scheme+":",scheme+"://");
uri = Uri.parse(uriString);
if(uri == null) {
finish();
return;
}
}
String host = uri.getHost();
String path = uri.getPath();
String query = uri.getQuery();
if(path == null || path.isEmpty()) {
finish();
return;
}
if(query != null) {
String intentPatternString = "intent=(\\w+)";
final Pattern intentPattern = Pattern.compile(intentPatternString, Pattern.CASE_INSENSITIVE);
Matcher matcherIntent = intentPattern.matcher(query);
while (matcherIntent.find()) {
intent = matcherIntent.group(1);
}
}
if(path.startsWith("/@")) {
String[] params = path.split("@");
if(params.length == 2) {
acct = params[1] + "@" + host;
}
} else if(path.split("/").length > 2) {
String[] params = path.split("/");
String root = params[1].toLowerCase();
if (root.equals("users")) {
acct = params[2] + "@" + host;
}
}
if(acct != null) {
Intent intentProfile = new Intent(WebActivityPub.this, ProfileActivity.class);
Bundle args = new Bundle();
args.putString(Helper.ARG_MENTION, acct);
new CachedBundle(WebActivityPub.this).insertBundle(args, Helper.getCurrentAccount(WebActivityPub.this), bundleId -> {
Bundle bundle = new Bundle();
bundle.putLong(Helper.ARG_INTENT_ID, bundleId);
intentProfile.putExtras(bundle);
intentProfile.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intentProfile);
});
}
finish();
}
}

View file

@ -27,6 +27,7 @@ import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.LinearLayoutManager;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Objects;
import app.fedilab.android.R; import app.fedilab.android.R;
import app.fedilab.android.activities.MainActivity; import app.fedilab.android.activities.MainActivity;
@ -34,6 +35,7 @@ import app.fedilab.android.databinding.ActivityAdminReportBinding;
import app.fedilab.android.mastodon.client.entities.api.Status; import app.fedilab.android.mastodon.client.entities.api.Status;
import app.fedilab.android.mastodon.client.entities.api.admin.AdminAccount; import app.fedilab.android.mastodon.client.entities.api.admin.AdminAccount;
import app.fedilab.android.mastodon.client.entities.api.admin.AdminReport; import app.fedilab.android.mastodon.client.entities.api.admin.AdminReport;
import app.fedilab.android.mastodon.client.entities.app.CachedBundle;
import app.fedilab.android.mastodon.helper.Helper; import app.fedilab.android.mastodon.helper.Helper;
import app.fedilab.android.mastodon.helper.ThemeHelper; import app.fedilab.android.mastodon.helper.ThemeHelper;
import app.fedilab.android.mastodon.ui.drawer.StatusReportAdapter; import app.fedilab.android.mastodon.ui.drawer.StatusReportAdapter;
@ -47,6 +49,7 @@ public class AccountReportActivity extends BaseBarActivity {
private AdminReport report; private AdminReport report;
private ActivityAdminReportBinding binding; private ActivityAdminReportBinding binding;
private AdminVM adminVM; private AdminVM adminVM;
private AdminAccount targeted_account;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
@ -60,12 +63,22 @@ public class AccountReportActivity extends BaseBarActivity {
} }
report = null; report = null;
AdminAccount targeted_account = null; targeted_account = null;
Bundle b = getIntent().getExtras(); Bundle args = getIntent().getExtras();
if (b != null) { if (args != null) {
account_id = b.getString(Helper.ARG_ACCOUNT_ID, null); long bundleId = args.getLong(Helper.ARG_INTENT_ID, -1);
targeted_account = (AdminAccount) b.getSerializable(Helper.ARG_ACCOUNT); new CachedBundle(AccountReportActivity.this).getBundle(bundleId, Helper.getCurrentAccount(AccountReportActivity.this), this::initializeAfterBundle);
report = (AdminReport) b.getSerializable(Helper.ARG_REPORT); } else {
initializeAfterBundle(null);
}
}
private void initializeAfterBundle(Bundle bundle) {
if (bundle != null) {
account_id = bundle.getString(Helper.ARG_ACCOUNT_ID, null);
targeted_account = (AdminAccount) bundle.getSerializable(Helper.ARG_ACCOUNT);
report = (AdminReport) bundle.getSerializable(Helper.ARG_REPORT);
} }
binding.allow.getBackground().setColorFilter(ThemeHelper.getAttColor(this, R.attr.colorPrimary), PorterDuff.Mode.MULTIPLY); binding.allow.getBackground().setColorFilter(ThemeHelper.getAttColor(this, R.attr.colorPrimary), PorterDuff.Mode.MULTIPLY);
@ -102,7 +115,6 @@ public class AccountReportActivity extends BaseBarActivity {
account_id = targeted_account.username; account_id = targeted_account.username;
} }
} }
private void fillReport(AdminAccount accountAdmin, actionType type) { private void fillReport(AdminAccount accountAdmin, actionType type) {
@ -134,12 +146,12 @@ public class AccountReportActivity extends BaseBarActivity {
binding.reject.setOnClickListener(view -> adminVM.reject(MainActivity.currentInstance, MainActivity.currentToken, account_id).observe(this, account -> fillReport(account, actionType.REJECT))); binding.reject.setOnClickListener(view -> adminVM.reject(MainActivity.currentInstance, MainActivity.currentToken, account_id).observe(this, account -> fillReport(account, actionType.REJECT)));
binding.allow.setOnClickListener(view -> adminVM.approve(MainActivity.currentInstance, MainActivity.currentToken, account_id).observe(this, account -> fillReport(account, actionType.APPROVE))); binding.allow.setOnClickListener(view -> adminVM.approve(MainActivity.currentInstance, MainActivity.currentToken, account_id).observe(this, account -> fillReport(account, actionType.APPROVE)));
binding.warn.setOnClickListener(view -> { binding.warn.setOnClickListener(view -> {
adminVM.performAction(MainActivity.currentInstance, MainActivity.currentToken, account_id, "none", null, null, binding.comment.getText().toString().trim(), binding.emailUser.isChecked()); adminVM.performAction(MainActivity.currentInstance, MainActivity.currentToken, account_id, "none", null, null, Objects.requireNonNull(binding.comment.getText()).toString().trim(), binding.emailUser.isChecked());
fillReport(accountAdmin, actionType.NONE); fillReport(accountAdmin, actionType.NONE);
}); });
binding.silence.setOnClickListener(view -> { binding.silence.setOnClickListener(view -> {
if (!accountAdmin.silenced) { if (!accountAdmin.silenced) {
adminVM.performAction(MainActivity.currentInstance, MainActivity.currentToken, account_id, "silence", null, null, binding.comment.getText().toString().trim(), binding.emailUser.isChecked()); adminVM.performAction(MainActivity.currentInstance, MainActivity.currentToken, account_id, "silence", null, null, Objects.requireNonNull(binding.comment.getText()).toString().trim(), binding.emailUser.isChecked());
accountAdmin.silenced = true; accountAdmin.silenced = true;
fillReport(accountAdmin, actionType.SILENCE); fillReport(accountAdmin, actionType.SILENCE);
} else { } else {
@ -148,7 +160,7 @@ public class AccountReportActivity extends BaseBarActivity {
}); });
binding.disable.setOnClickListener(view -> { binding.disable.setOnClickListener(view -> {
if (!accountAdmin.disabled) { if (!accountAdmin.disabled) {
adminVM.performAction(MainActivity.currentInstance, MainActivity.currentToken, account_id, "disable", null, null, binding.comment.getText().toString().trim(), binding.emailUser.isChecked()); adminVM.performAction(MainActivity.currentInstance, MainActivity.currentToken, account_id, "disable", null, null, Objects.requireNonNull(binding.comment.getText()).toString().trim(), binding.emailUser.isChecked());
accountAdmin.disabled = true; accountAdmin.disabled = true;
fillReport(accountAdmin, actionType.DISABLE); fillReport(accountAdmin, actionType.DISABLE);
} else { } else {
@ -158,7 +170,7 @@ public class AccountReportActivity extends BaseBarActivity {
binding.suspend.setOnClickListener(view -> { binding.suspend.setOnClickListener(view -> {
if (!accountAdmin.suspended) { if (!accountAdmin.suspended) {
adminVM.performAction(MainActivity.currentInstance, MainActivity.currentToken, account_id, "suspend", null, null, binding.comment.getText().toString().trim(), binding.emailUser.isChecked()); adminVM.performAction(MainActivity.currentInstance, MainActivity.currentToken, account_id, "suspend", null, null, Objects.requireNonNull(binding.comment.getText()).toString().trim(), binding.emailUser.isChecked());
accountAdmin.suspended = true; accountAdmin.suspended = true;
fillReport(accountAdmin, actionType.SUSPEND); fillReport(accountAdmin, actionType.SUSPEND);
} else { } else {
@ -170,35 +182,21 @@ public class AccountReportActivity extends BaseBarActivity {
if (type != null) { if (type != null) {
String message = null; String message = null;
switch (type) { switch (type) {
case SILENCE: case SILENCE -> message = getString(R.string.account_silenced);
message = getString(R.string.account_silenced); case UNSILENCE -> message = getString(R.string.account_unsilenced);
break; case DISABLE -> message = getString(R.string.account_disabled);
case UNSILENCE: case ENABLE -> message = getString(R.string.account_undisabled);
message = getString(R.string.account_unsilenced); case SUSPEND -> message = getString(R.string.account_suspended);
break; case UNSUSPEND -> message = getString(R.string.account_unsuspended);
case DISABLE: case NONE -> message = getString(R.string.account_warned);
message = getString(R.string.account_disabled); case APPROVE -> {
break;
case ENABLE:
message = getString(R.string.account_undisabled);
break;
case SUSPEND:
message = getString(R.string.account_suspended);
break;
case UNSUSPEND:
message = getString(R.string.account_unsuspended);
break;
case NONE:
message = getString(R.string.account_warned);
break;
case APPROVE:
binding.allowRejectGroup.setVisibility(View.GONE); binding.allowRejectGroup.setVisibility(View.GONE);
message = getString(R.string.account_approved); message = getString(R.string.account_approved);
break; }
case REJECT: case REJECT -> {
binding.allowRejectGroup.setVisibility(View.GONE); binding.allowRejectGroup.setVisibility(View.GONE);
message = getString(R.string.account_rejected); message = getString(R.string.account_rejected);
break; }
} }
if (message != null) { if (message != null) {
Toasty.success(AccountReportActivity.this, message, Toast.LENGTH_LONG).show(); Toasty.success(AccountReportActivity.this, message, Toast.LENGTH_LONG).show();

View file

@ -60,64 +60,53 @@ public class ActionActivity extends BaseBarActivity {
private void displayTimeline(Timeline.TimeLineEnum type) { private void displayTimeline(Timeline.TimeLineEnum type) {
canGoBack = true; canGoBack = true;
if (type == Timeline.TimeLineEnum.MUTED_TIMELINE || type == Timeline.TimeLineEnum.BLOCKED_TIMELINE || type == Timeline.TimeLineEnum.MUTED_TIMELINE_HOME) { if (type == Timeline.TimeLineEnum.MUTED_TIMELINE || type == Timeline.TimeLineEnum.BLOCKED_TIMELINE || type == Timeline.TimeLineEnum.MUTED_TIMELINE_HOME) {
fragmentMastodonAccount = new FragmentMastodonAccount();
Bundle bundle = new Bundle();
bundle.putSerializable(Helper.ARG_TIMELINE_TYPE, type);
bundle.putString(Helper.ARG_VIEW_MODEL_KEY, "FEDILAB_" + type.getValue());
fragmentMastodonAccount.setArguments(bundle);
FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction =
fragmentManager.beginTransaction();
fragmentTransaction.replace(R.id.fragment_container, fragmentMastodonAccount);
fragmentTransaction.commit();
ThemeHelper.slideViewsToLeft(binding.buttonContainer, binding.fragmentContainer, () -> { ThemeHelper.slideViewsToLeft(binding.buttonContainer, binding.fragmentContainer, () -> {
fragmentMastodonAccount = new FragmentMastodonAccount();
Bundle bundle = new Bundle();
bundle.putSerializable(Helper.ARG_TIMELINE_TYPE, type);
bundle.putString(Helper.ARG_VIEW_MODEL_KEY, "FEDILAB_" + type.getValue());
fragmentMastodonAccount.setArguments(bundle);
FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction =
fragmentManager.beginTransaction();
fragmentTransaction.replace(R.id.fragment_container, fragmentMastodonAccount);
fragmentTransaction.commit();
}); });
} else if (type == Timeline.TimeLineEnum.BLOCKED_DOMAIN_TIMELINE) { } else if (type == Timeline.TimeLineEnum.BLOCKED_DOMAIN_TIMELINE) {
fragmentMastodonDomainBlock = new FragmentMastodonDomainBlock();
FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction =
fragmentManager.beginTransaction();
fragmentTransaction.replace(R.id.fragment_container, fragmentMastodonDomainBlock);
fragmentTransaction.commit();
ThemeHelper.slideViewsToLeft(binding.buttonContainer, binding.fragmentContainer, () -> { ThemeHelper.slideViewsToLeft(binding.buttonContainer, binding.fragmentContainer, () -> {
fragmentMastodonDomainBlock = new FragmentMastodonDomainBlock();
FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction =
fragmentManager.beginTransaction();
fragmentTransaction.replace(R.id.fragment_container, fragmentMastodonDomainBlock);
fragmentTransaction.commit();
}); });
} else { } else {
fragmentMastodonTimeline = new FragmentMastodonTimeline();
Bundle bundle = new Bundle();
bundle.putSerializable(Helper.ARG_TIMELINE_TYPE, type);
bundle.putString(Helper.ARG_VIEW_MODEL_KEY, "FEDILAB_" + type.getValue());
fragmentMastodonTimeline.setArguments(bundle);
FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction =
fragmentManager.beginTransaction();
fragmentTransaction.replace(R.id.fragment_container, fragmentMastodonTimeline);
fragmentTransaction.commit();
ThemeHelper.slideViewsToLeft(binding.buttonContainer, binding.fragmentContainer, () -> { ThemeHelper.slideViewsToLeft(binding.buttonContainer, binding.fragmentContainer, () -> {
fragmentMastodonTimeline = new FragmentMastodonTimeline();
Bundle bundle = new Bundle();
bundle.putSerializable(Helper.ARG_TIMELINE_TYPE, type);
bundle.putString(Helper.ARG_VIEW_MODEL_KEY, "FEDILAB_" + type.getValue());
fragmentMastodonTimeline.setArguments(bundle);
FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction =
fragmentManager.beginTransaction();
fragmentTransaction.replace(R.id.fragment_container, fragmentMastodonTimeline);
fragmentTransaction.commit();
}); });
} }
switch (type) { switch (type) {
case MUTED_TIMELINE: case MUTED_TIMELINE -> setTitle(R.string.muted_menu);
setTitle(R.string.muted_menu); case FAVOURITE_TIMELINE -> setTitle(R.string.favourite);
break; case BLOCKED_TIMELINE -> setTitle(R.string.blocked_menu);
case FAVOURITE_TIMELINE: case BOOKMARK_TIMELINE -> setTitle(R.string.bookmarks);
setTitle(R.string.favourite); case BLOCKED_DOMAIN_TIMELINE -> setTitle(R.string.blocked_domains);
break; case MUTED_TIMELINE_HOME -> setTitle(R.string.muted_menu_home);
case BLOCKED_TIMELINE:
setTitle(R.string.blocked_menu);
break;
case BOOKMARK_TIMELINE:
setTitle(R.string.bookmarks);
break;
case BLOCKED_DOMAIN_TIMELINE:
setTitle(R.string.blocked_domains);
break;
case MUTED_TIMELINE_HOME:
setTitle(R.string.muted_menu_home);
break;
} }
} }

View file

@ -15,6 +15,10 @@ package app.fedilab.android.mastodon.activities;
* see <http://www.gnu.org/licenses>. */ * see <http://www.gnu.org/licenses>. */
import static app.fedilab.android.BaseMainActivity.currentInstance;
import static app.fedilab.android.BaseMainActivity.currentNightMode;
import static app.fedilab.android.BaseMainActivity.currentUserID;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Context; import android.content.Context;
import android.content.SharedPreferences; import android.content.SharedPreferences;
@ -22,9 +26,11 @@ import android.content.res.Configuration;
import android.graphics.Color; import android.graphics.Color;
import android.os.Build; import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.view.View;
import android.view.Window; import android.view.Window;
import android.view.WindowManager; import android.view.WindowManager;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.app.AppCompatDelegate; import androidx.appcompat.app.AppCompatDelegate;
@ -51,8 +57,10 @@ public class BaseActivity extends AppCompatActivity {
EmojiManager.install(new EmojiOneProvider()); EmojiManager.install(new EmojiOneProvider());
} }
@SuppressLint("RestrictedApi")
@Override @Override
protected void onCreate(@Nullable Bundle savedInstanceState) { protected void onCreate(@Nullable Bundle savedInstanceState) {
boolean patch_provider = true; boolean patch_provider = true;
final SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(this); final SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(this);
try { try {
@ -67,81 +75,94 @@ public class BaseActivity extends AppCompatActivity {
} }
String currentTheme = sharedpreferences.getString(getString(R.string.SET_THEME_BASE), getString(R.string.SET_DEFAULT_THEME)); String currentTheme = sharedpreferences.getString(getString(R.string.SET_THEME_BASE), getString(R.string.SET_DEFAULT_THEME));
//Default automatic switch boolean customAccentEnabled = sharedpreferences.getBoolean(getString(R.string.SET_CUSTOM_ACCENT) + currentUserID + currentInstance, false);
if (currentTheme.equals(getString(R.string.SET_DEFAULT_THEME))) {
int currentNightMode = getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK; //Default automatic switch
currentNightMode = getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK;
if(customAccentEnabled && currentNightMode == Configuration.UI_MODE_NIGHT_NO) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR|View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR);
}else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
}
}
if (currentTheme.equals(getString(R.string.SET_DEFAULT_THEME))) {
switch (currentNightMode) { switch (currentNightMode) {
case Configuration.UI_MODE_NIGHT_NO: case Configuration.UI_MODE_NIGHT_NO -> {
String defaultLight = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_LIGHT), "LIGHT"); String defaultLight = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_LIGHT), "LIGHT");
switch (defaultLight) { switch (defaultLight) {
case "LIGHT": case "LIGHT" -> {
setTheme(R.style.AppTheme); setTheme(R.style.AppTheme);
currentThemeId = R.style.AppTheme; currentThemeId = R.style.AppTheme;
break; }
case "SOLARIZED_LIGHT": case "SOLARIZED_LIGHT" -> {
setTheme(R.style.SolarizedAppTheme); setTheme(R.style.SolarizedAppTheme);
currentThemeId = R.style.SolarizedAppTheme; currentThemeId = R.style.SolarizedAppTheme;
break; }
} }
break; }
case Configuration.UI_MODE_NIGHT_YES: case Configuration.UI_MODE_NIGHT_YES -> {
String defaultDark = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_DARK), "DARK"); String defaultDark = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_DARK), "DARK");
switch (defaultDark) { switch (defaultDark) {
case "DARK": case "DARK" -> {
setTheme(R.style.AppTheme); setTheme(R.style.AppTheme);
currentThemeId = R.style.AppTheme; currentThemeId = R.style.AppTheme;
break; }
case "SOLARIZED_DARK": case "SOLARIZED_DARK" -> {
setTheme(R.style.SolarizedAppTheme); setTheme(R.style.SolarizedAppTheme);
currentThemeId = R.style.SolarizedAppTheme; currentThemeId = R.style.SolarizedAppTheme;
break; }
case "BLACK": case "BLACK" -> {
setTheme(R.style.BlackAppTheme); setTheme(R.style.BlackAppTheme);
currentThemeId = R.style.BlackAppTheme; currentThemeId = R.style.BlackAppTheme;
break; }
case "DRACULA": case "DRACULA" -> {
setTheme(R.style.DraculaAppTheme); setTheme(R.style.DraculaAppTheme);
currentThemeId = R.style.DraculaAppTheme; currentThemeId = R.style.DraculaAppTheme;
break; }
} }
break; }
} }
} else { } else {
switch (currentTheme) { switch (currentTheme) {
case "LIGHT": case "LIGHT" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
setTheme(R.style.AppTheme); setTheme(R.style.AppTheme);
currentThemeId = R.style.AppTheme; currentThemeId = R.style.AppTheme;
break; }
case "DARK": case "DARK" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.AppTheme); setTheme(R.style.AppTheme);
currentThemeId = R.style.AppTheme; currentThemeId = R.style.AppTheme;
break; }
case "SOLARIZED_LIGHT": case "SOLARIZED_LIGHT" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
setTheme(R.style.SolarizedAppTheme); setTheme(R.style.SolarizedAppTheme);
currentThemeId = R.style.SolarizedAppTheme; currentThemeId = R.style.SolarizedAppTheme;
break; }
case "SOLARIZED_DARK": case "SOLARIZED_DARK" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.SolarizedAppTheme); setTheme(R.style.SolarizedAppTheme);
currentThemeId = R.style.SolarizedAppTheme; currentThemeId = R.style.SolarizedAppTheme;
break; }
case "BLACK": case "BLACK" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.BlackAppTheme); setTheme(R.style.BlackAppTheme);
currentThemeId = R.style.BlackAppTheme; currentThemeId = R.style.BlackAppTheme;
break; }
case "DRACULA": case "DRACULA" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.DraculaAppTheme); setTheme(R.style.DraculaAppTheme);
currentThemeId = R.style.DraculaAppTheme; currentThemeId = R.style.DraculaAppTheme;
break; }
} }
} }
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
ThemeHelper.applyThemeColor(this);
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.N) { if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.N) {
ThemeHelper.adjustFontScale(this, getResources().getConfiguration()); ThemeHelper.adjustFontScale(this, getResources().getConfiguration());
} }
@ -157,11 +178,18 @@ public class BaseActivity extends AppCompatActivity {
@Override @Override
protected void attachBaseContext(Context newBase) { protected void attachBaseContext(Context newBase) {
if (android.os.Build.VERSION.SDK_INT > Build.VERSION_CODES.N) { if (android.os.Build.VERSION.SDK_INT > Build.VERSION_CODES.N) {
final Configuration override = new Configuration(newBase.getResources().getConfiguration()); final Configuration override = new Configuration();
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(newBase); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(newBase);
override.fontScale = prefs.getFloat(newBase.getString(R.string.SET_FONT_SCALE), 1.1f); override.fontScale = prefs.getFloat(newBase.getString(R.string.SET_FONT_SCALE), 1.1f);
applyOverrideConfiguration(override); applyOverrideConfiguration(override);
} }
super.attachBaseContext(newBase); super.attachBaseContext(newBase);
} }
@Override
protected void onSaveInstanceState(@NonNull Bundle outState) {
super.onSaveInstanceState(outState);
outState.clear();
}
} }

View file

@ -1,153 +0,0 @@
package app.fedilab.android.mastodon.activities;
/* Copyright 2021 Thomas Schneider
*
* This file is a part of Fedilab
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
* License, or (at your option) any later version.
*
* Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.app.AppCompatDelegate;
import androidx.preference.PreferenceManager;
import com.vanniktech.emoji.EmojiManager;
import com.vanniktech.emoji.one.EmojiOneProvider;
import org.conscrypt.Conscrypt;
import java.security.Security;
import app.fedilab.android.R;
import app.fedilab.android.mastodon.helper.Helper;
import app.fedilab.android.mastodon.helper.ThemeHelper;
@SuppressLint("Registered")
public class BaseAlertDialogActivity extends AppCompatActivity {
static {
EmojiManager.install(new EmojiOneProvider());
}
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
final SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(this);
boolean patch_provider = true;
try {
patch_provider = sharedpreferences.getBoolean(Helper.SET_SECURITY_PROVIDER, true);
} catch (Exception ignored) {
}
if (patch_provider) {
try {
Security.insertProviderAt(Conscrypt.newProvider(), 1);
} catch (Exception ignored) {
}
}
String currentTheme = sharedpreferences.getString(getString(R.string.SET_THEME_BASE), getString(R.string.SET_DEFAULT_THEME));
//Default automatic switch
if (currentTheme.equals(getString(R.string.SET_DEFAULT_THEME))) {
int currentNightMode = getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK;
switch (currentNightMode) {
case Configuration.UI_MODE_NIGHT_NO:
String defaultLight = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_LIGHT), "LIGHT");
switch (defaultLight) {
case "LIGHT":
setTheme(R.style.AppThemeAlertDialog);
break;
case "SOLARIZED_LIGHT":
setTheme(R.style.SolarizedAlertDialog);
break;
}
break;
case Configuration.UI_MODE_NIGHT_YES:
String defaultDark = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_DARK), "DARK");
switch (defaultDark) {
case "DARK":
setTheme(R.style.AppThemeAlertDialog);
break;
case "SOLARIZED_DARK":
setTheme(R.style.SolarizedAlertDialog);
break;
case "BLACK":
Window window = getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
window.setStatusBarColor(Color.BLACK);
setTheme(R.style.BlackAlertDialog);
break;
case "DRACULA":
setTheme(R.style.DraculaAlertDialog);
break;
}
break;
}
} else {
switch (currentTheme) {
case "LIGHT":
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
setTheme(R.style.AppThemeAlertDialog);
break;
case "DARK":
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.AppThemeAlertDialog);
break;
case "SOLARIZED_LIGHT":
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
setTheme(R.style.SolarizedAlertDialog);
break;
case "SOLARIZED_DARK":
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.SolarizedAlertDialog);
break;
case "BLACK":
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
Window window = getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
window.setStatusBarColor(Color.BLACK);
setTheme(R.style.BlackAlertDialog);
break;
case "DRACULA":
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.DraculaAlertDialog);
break;
}
}
super.onCreate(savedInstanceState);
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.N) {
ThemeHelper.adjustFontScale(this, getResources().getConfiguration());
}
Helper.setLocale(this);
}
@Override
protected void attachBaseContext(Context newBase) {
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N) {
final Configuration override = new Configuration(newBase.getResources().getConfiguration());
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(newBase);
override.fontScale = prefs.getFloat(newBase.getString(R.string.SET_FONT_SCALE), 1.1f);
applyOverrideConfiguration(override);
}
super.attachBaseContext(newBase);
}
}

View file

@ -15,6 +15,10 @@ package app.fedilab.android.mastodon.activities;
* see <http://www.gnu.org/licenses>. */ * see <http://www.gnu.org/licenses>. */
import static app.fedilab.android.BaseMainActivity.currentInstance;
import static app.fedilab.android.BaseMainActivity.currentNightMode;
import static app.fedilab.android.BaseMainActivity.currentUserID;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Context; import android.content.Context;
import android.content.SharedPreferences; import android.content.SharedPreferences;
@ -22,9 +26,11 @@ import android.content.res.Configuration;
import android.graphics.Color; import android.graphics.Color;
import android.os.Build; import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.view.View;
import android.view.Window; import android.view.Window;
import android.view.WindowManager; import android.view.WindowManager;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.app.AppCompatDelegate; import androidx.appcompat.app.AppCompatDelegate;
@ -64,70 +70,67 @@ public class BaseBarActivity extends AppCompatActivity {
} }
} }
String currentTheme = sharedpreferences.getString(getString(R.string.SET_THEME_BASE), getString(R.string.SET_DEFAULT_THEME)); String currentTheme = sharedpreferences.getString(getString(R.string.SET_THEME_BASE), getString(R.string.SET_DEFAULT_THEME));
boolean customAccentEnabled = sharedpreferences.getBoolean(getString(R.string.SET_CUSTOM_ACCENT) + currentUserID + currentInstance, false);
//Default automatic switch //Default automatic switch
currentNightMode = getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK;
if(customAccentEnabled && currentNightMode == Configuration.UI_MODE_NIGHT_NO) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR|View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR);
}else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
}
}
if (currentTheme.equals(getString(R.string.SET_DEFAULT_THEME))) { if (currentTheme.equals(getString(R.string.SET_DEFAULT_THEME))) {
int currentNightMode = getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK;
switch (currentNightMode) { switch (currentNightMode) {
case Configuration.UI_MODE_NIGHT_NO: case Configuration.UI_MODE_NIGHT_NO -> {
String defaultLight = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_LIGHT), "LIGHT"); String defaultLight = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_LIGHT), "LIGHT");
switch (defaultLight) { switch (defaultLight) {
case "LIGHT": case "LIGHT" -> setTheme(R.style.AppThemeBar);
setTheme(R.style.AppThemeBar); case "SOLARIZED_LIGHT" -> setTheme(R.style.SolarizedAppThemeBar);
break;
case "SOLARIZED_LIGHT":
setTheme(R.style.SolarizedAppThemeBar);
break;
} }
break; }
case Configuration.UI_MODE_NIGHT_YES: case Configuration.UI_MODE_NIGHT_YES -> {
String defaultDark = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_DARK), "DARK"); String defaultDark = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_DARK), "DARK");
switch (defaultDark) { switch (defaultDark) {
case "DARK": case "DARK" -> setTheme(R.style.AppThemeBar);
setTheme(R.style.AppThemeBar); case "SOLARIZED_DARK" -> setTheme(R.style.SolarizedAppThemeBar);
break; case "BLACK" -> setTheme(R.style.BlackAppThemeBar);
case "SOLARIZED_DARK": case "DRACULA" -> setTheme(R.style.DraculaAppThemeBar);
setTheme(R.style.SolarizedAppThemeBar);
break;
case "BLACK":
setTheme(R.style.BlackAppThemeBar);
break;
case "DRACULA":
setTheme(R.style.DraculaAppThemeBar);
break;
} }
break; }
} }
} else { } else {
switch (currentTheme) { switch (currentTheme) {
case "LIGHT": case "LIGHT" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
setTheme(R.style.AppThemeBar); setTheme(R.style.AppThemeBar);
break; }
case "DARK": case "DARK" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.AppThemeBar); setTheme(R.style.AppThemeBar);
break; }
case "SOLARIZED_LIGHT": case "SOLARIZED_LIGHT" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
setTheme(R.style.SolarizedAppThemeBar); setTheme(R.style.SolarizedAppThemeBar);
break; }
case "SOLARIZED_DARK": case "SOLARIZED_DARK" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.SolarizedAppThemeBar); setTheme(R.style.SolarizedAppThemeBar);
break; }
case "BLACK": case "BLACK" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.BlackAppThemeBar); setTheme(R.style.BlackAppThemeBar);
break; }
case "DRACULA": case "DRACULA" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.DraculaAppThemeBar); setTheme(R.style.DraculaAppThemeBar);
break; }
} }
} }
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
ThemeHelper.applyThemeColor(this);
if (android.os.Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { if (android.os.Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
Window window = getWindow(); Window window = getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
@ -144,7 +147,7 @@ public class BaseBarActivity extends AppCompatActivity {
protected void attachBaseContext(Context newBase) { protected void attachBaseContext(Context newBase) {
if (android.os.Build.VERSION.SDK_INT > Build.VERSION_CODES.N) { if (android.os.Build.VERSION.SDK_INT > Build.VERSION_CODES.N) {
final Configuration override = new Configuration(newBase.getResources().getConfiguration()); final Configuration override = new Configuration();
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(newBase); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(newBase);
override.fontScale = prefs.getFloat(newBase.getString(R.string.SET_FONT_SCALE), 1.1f); override.fontScale = prefs.getFloat(newBase.getString(R.string.SET_FONT_SCALE), 1.1f);
applyOverrideConfiguration(override); applyOverrideConfiguration(override);
@ -153,4 +156,11 @@ public class BaseBarActivity extends AppCompatActivity {
super.attachBaseContext(newBase); super.attachBaseContext(newBase);
} }
@Override
protected void onSaveInstanceState(@NonNull Bundle outState) {
super.onSaveInstanceState(outState);
outState.clear();
}
} }

View file

@ -1,59 +0,0 @@
package app.fedilab.android.mastodon.activities;
/* Copyright 2022 Thomas Schneider
*
* This file is a part of Fedilab
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
* License, or (at your option) any later version.
*
* Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */
import android.annotation.SuppressLint;
import android.content.SharedPreferences;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.FragmentActivity;
import androidx.preference.PreferenceManager;
import com.vanniktech.emoji.EmojiManager;
import com.vanniktech.emoji.one.EmojiOneProvider;
import org.conscrypt.Conscrypt;
import java.security.Security;
import app.fedilab.android.mastodon.helper.Helper;
@SuppressLint("Registered")
public class BaseFragmentActivity extends FragmentActivity {
static {
EmojiManager.install(new EmojiOneProvider());
}
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
boolean patch_provider = true;
try {
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(this);
patch_provider = sharedpreferences.getBoolean(Helper.SET_SECURITY_PROVIDER, true);
} catch (Exception ignored) {
}
if (patch_provider) {
try {
Security.insertProviderAt(Conscrypt.newProvider(), 1);
} catch (Exception ignored) {
}
}
super.onCreate(savedInstanceState);
}
}

View file

@ -15,6 +15,8 @@ package app.fedilab.android.mastodon.activities;
* see <http://www.gnu.org/licenses>. */ * see <http://www.gnu.org/licenses>. */
import static app.fedilab.android.BaseMainActivity.currentNightMode;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Context; import android.content.Context;
import android.content.SharedPreferences; import android.content.SharedPreferences;
@ -65,69 +67,58 @@ public class BaseTransparentActivity extends AppCompatActivity {
} }
String currentTheme = sharedpreferences.getString(getString(R.string.SET_THEME_BASE), getString(R.string.SET_DEFAULT_THEME)); String currentTheme = sharedpreferences.getString(getString(R.string.SET_THEME_BASE), getString(R.string.SET_DEFAULT_THEME));
//Default automatic switch //Default automatic switch
currentNightMode = getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK;
if (currentTheme.equals(getString(R.string.SET_DEFAULT_THEME))) { if (currentTheme.equals(getString(R.string.SET_DEFAULT_THEME))) {
int currentNightMode = getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK;
switch (currentNightMode) { switch (currentNightMode) {
case Configuration.UI_MODE_NIGHT_NO: case Configuration.UI_MODE_NIGHT_NO -> {
String defaultLight = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_LIGHT), "LIGHT"); String defaultLight = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_LIGHT), "LIGHT");
switch (defaultLight) { switch (defaultLight) {
case "LIGHT": case "LIGHT" -> setTheme(R.style.Transparent);
setTheme(R.style.Transparent); case "SOLARIZED_LIGHT" -> setTheme(R.style.TransparentSolarized);
break;
case "SOLARIZED_LIGHT":
setTheme(R.style.TransparentSolarized);
break;
} }
break; }
case Configuration.UI_MODE_NIGHT_YES: case Configuration.UI_MODE_NIGHT_YES -> {
String defaultDark = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_DARK), "DARK"); String defaultDark = sharedpreferences.getString(getString(R.string.SET_THEME_DEFAULT_DARK), "DARK");
switch (defaultDark) { switch (defaultDark) {
case "DARK": case "DARK" -> setTheme(R.style.Transparent);
setTheme(R.style.Transparent); case "SOLARIZED_DARK" -> setTheme(R.style.TransparentSolarized);
break; case "BLACK" -> setTheme(R.style.TransparentBlack);
case "SOLARIZED_DARK": case "DRACULA" -> setTheme(R.style.TransparentDracula);
setTheme(R.style.TransparentSolarized);
break;
case "BLACK":
setTheme(R.style.TransparentBlack);
break;
case "DRACULA":
setTheme(R.style.TransparentDracula);
break;
} }
break; }
} }
} else { } else {
switch (currentTheme) { switch (currentTheme) {
case "LIGHT": case "LIGHT" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
setTheme(R.style.Transparent); setTheme(R.style.Transparent);
break; }
case "DARK": case "DARK" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.Transparent); setTheme(R.style.Transparent);
break; }
case "SOLARIZED_LIGHT": case "SOLARIZED_LIGHT" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
setTheme(R.style.TransparentSolarized); setTheme(R.style.TransparentSolarized);
break; }
case "SOLARIZED_DARK": case "SOLARIZED_DARK" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.TransparentSolarized); setTheme(R.style.TransparentSolarized);
break; }
case "BLACK": case "BLACK" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.TransparentBlack); setTheme(R.style.TransparentBlack);
break; }
case "DRACULA": case "DRACULA" -> {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
setTheme(R.style.TransparentDracula); setTheme(R.style.TransparentDracula);
break; }
} }
} }
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
ThemeHelper.applyThemeColor(this);
if (android.os.Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { if (android.os.Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
Window window = getWindow(); Window window = getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
@ -144,7 +135,7 @@ public class BaseTransparentActivity extends AppCompatActivity {
protected void attachBaseContext(Context newBase) { protected void attachBaseContext(Context newBase) {
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N) { if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N) {
final Configuration override = new Configuration(newBase.getResources().getConfiguration()); final Configuration override = new Configuration();
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(newBase); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(newBase);
override.fontScale = prefs.getFloat(newBase.getString(R.string.SET_FONT_SCALE), 1.1f); override.fontScale = prefs.getFloat(newBase.getString(R.string.SET_FONT_SCALE), 1.1f);
applyOverrideConfiguration(override); applyOverrideConfiguration(override);

View file

@ -121,7 +121,7 @@ public class CacheActivity extends BaseBarActivity {
finish(); finish();
return true; return true;
} else if (item.getItemId() == R.id.action_clear) { } else if (item.getItemId() == R.id.action_clear) {
AlertDialog.Builder deleteConfirm = new MaterialAlertDialogBuilder(CacheActivity.this, Helper.dialogStyle()); AlertDialog.Builder deleteConfirm = new MaterialAlertDialogBuilder(CacheActivity.this);
deleteConfirm.setTitle(getString(R.string.delete_cache)); deleteConfirm.setTitle(getString(R.string.delete_cache));
deleteConfirm.setMessage(getString(R.string.delete_cache_message)); deleteConfirm.setMessage(getString(R.string.delete_cache_message));
deleteConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss()); deleteConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
@ -131,7 +131,7 @@ public class CacheActivity extends BaseBarActivity {
size = size / 1000000.0f; size = size / 1000000.0f;
} }
binding.fileCacheSize.setText(String.format("%s %s", String.format(Locale.getDefault(), "%.2f", size), getString(R.string.cache_units))); binding.fileCacheSize.setText(String.format("%s %s", String.format(Locale.getDefault(), "%.2f", size), getString(R.string.cache_units)));
AlertDialog.Builder restartBuilder = new MaterialAlertDialogBuilder(CacheActivity.this, Helper.dialogStyle()); AlertDialog.Builder restartBuilder = new MaterialAlertDialogBuilder(CacheActivity.this);
restartBuilder.setMessage(getString(R.string.restart_the_app)); restartBuilder.setMessage(getString(R.string.restart_the_app));
restartBuilder.setNegativeButton(R.string.no, (dialogRestart, whichRestart) -> { restartBuilder.setNegativeButton(R.string.no, (dialogRestart, whichRestart) -> {
recreate(); recreate();

View file

@ -0,0 +1,518 @@
package app.fedilab.android.mastodon.activities;
/* Copyright 2023 Thomas Schneider
*
* This file is a part of Fedilab
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
* License, or (at your option) any later version.
*
* Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */
import static app.fedilab.android.mastodon.helper.Helper.dateDiffFull;
import static app.fedilab.android.mastodon.helper.Helper.dateDiffFullShort;
import static app.fedilab.android.mastodon.viewmodel.mastodon.TimelinesVM.sortAsc;
import android.content.Context;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;
import androidx.annotation.Nullable;
import androidx.core.content.ContextCompat;
import com.github.mikephil.charting.components.Description;
import com.github.mikephil.charting.components.Legend;
import com.github.mikephil.charting.components.MarkerView;
import com.github.mikephil.charting.components.XAxis;
import com.github.mikephil.charting.components.YAxis;
import com.github.mikephil.charting.data.BarData;
import com.github.mikephil.charting.data.BarDataSet;
import com.github.mikephil.charting.data.BarEntry;
import com.github.mikephil.charting.data.CombinedData;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineData;
import com.github.mikephil.charting.data.LineDataSet;
import com.github.mikephil.charting.formatter.IndexAxisValueFormatter;
import com.github.mikephil.charting.highlight.Highlight;
import com.github.mikephil.charting.interfaces.datasets.ILineDataSet;
import com.github.mikephil.charting.utils.MPPointF;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import app.fedilab.android.R;
import app.fedilab.android.databinding.ActivityCheckHomeCachetBinding;
import app.fedilab.android.mastodon.client.entities.api.Status;
import app.fedilab.android.mastodon.client.entities.app.StatusCache;
import app.fedilab.android.mastodon.client.entities.app.TimelineCacheLogs;
import app.fedilab.android.mastodon.exception.DBException;
import app.fedilab.android.mastodon.helper.Helper;
import app.fedilab.android.mastodon.helper.ThemeHelper;
import es.dmoral.toasty.Toasty;
public class CheckHomeCacheActivity extends BaseBarActivity {
private ActivityCheckHomeCachetBinding binding;
private List<Status> statuses;
private List<TimelineCacheLogs> timelineCacheLogsList;
private List<Status> statusesDay;
private List<TimelineCacheLogs> timelineCacheLogsDayList;
private ArrayList<String> xVals;
private ArrayList<String> xVals2;
private List<TimelineCacheLogs> timelineCacheLogsListToAnalyse;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding = ActivityCheckHomeCachetBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());
if (getSupportActionBar() != null) {
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
}
if (Helper.getCurrentAccount(CheckHomeCacheActivity.this) == null || Helper.getCurrentAccount(CheckHomeCacheActivity.this).mastodon_account == null) {
finish();
return;
}
drawCacheGraph(range.ALL);
drawCacheLogsGraph(range.ALL);
binding.chartToggle.setOnCheckedChangeListener((compoundButton, checked) -> {
drawCacheGraph(checked ? range.DAY : range.ALL);
drawCacheLogsGraph(checked ? range.DAY : range.ALL);
});
}
private void drawCacheGraph(range myRange) {
binding.progress.setVisibility(View.VISIBLE);
binding.chartToggle.setEnabled(false);
new Thread(() -> {
try {
if (myRange == range.ALL) {
if (statuses == null) {
statuses = new StatusCache(this).getHome(Helper.getCurrentAccount(CheckHomeCacheActivity.this));
sortAsc(statuses);
}
} else if (myRange == range.DAY) {
if (statusesDay == null && statuses != null) {
statusesDay = new ArrayList<>();
Calendar calendar = Calendar.getInstance();
calendar.add(Calendar.DAY_OF_YEAR, -1);
for (Status status : statuses) {
if (status.created_at.after(calendar.getTime())) {
statusesDay.add(status);
}
}
}
}
if ((statuses == null || statuses.size() < 2) && myRange == range.ALL) {
runOnUiThread(() -> binding.chartToggle.setEnabled(true));
return;
}
if ((statusesDay == null || statusesDay.size() < 2) && myRange == range.DAY) {
runOnUiThread(() -> binding.chartToggle.setEnabled(true));
return;
}
List<Status> statusToAnalyse = new ArrayList<>();
if (myRange == range.ALL) {
statusToAnalyse.addAll(statuses);
} else {
statusToAnalyse.addAll(statusesDay);
}
Date firstMessageDate = statusToAnalyse.get(0).created_at;
Date lastMessageDate = statusToAnalyse.get(statusToAnalyse.size() - 1).created_at;
long diff = lastMessageDate.getTime() - firstMessageDate.getTime();
int numberOfHour = (int) Math.ceil((double) diff / (1000 * 60 * 60));
List<GraphElement> graphElements = new ArrayList<>();
xVals = new ArrayList<>();
String xDateH;
SimpleDateFormat df;
String xDateD;
String xDate;
for (int i = 0; i < numberOfHour; i++) {
Calendar calendar = Calendar.getInstance();
calendar.setTime(firstMessageDate);
calendar.add(Calendar.HOUR, i);
xDateH = new SimpleDateFormat("HH", Locale.getDefault()).format(calendar.getTime());
df = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.SHORT, Locale.getDefault());
xDateD = df.format(calendar.getTime());
xDate = xDateD + " " + String.format(Locale.getDefault(), "%sh", xDateH);
xVals.add(xDate);
GraphElement graphElement = new GraphElement();
graphElement.dateLabel = xDate;
int count = 0;
for (Status status : statusToAnalyse) {
xDateH = new SimpleDateFormat("HH", Locale.getDefault()).format(status.created_at);
df = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.SHORT, Locale.getDefault());
xDateD = df.format(status.created_at.getTime());
xDate = xDateD + " " + String.format(Locale.getDefault(), "%sh", xDateH);
if (xDate.equalsIgnoreCase(graphElement.dateLabel)) {
count++;
}
}
graphElement.count = count;
graphElements.add(graphElement);
}
runOnUiThread(() -> {
binding.chartToggle.setEnabled(true);
binding.progress.setVisibility(View.GONE);
//We loop through cache
List<Entry> statusEntry = new ArrayList<>();
int inc = 0;
for (GraphElement ge : graphElements) {
statusEntry.add(new Entry(inc, ge.count));
inc++;
}
List<ILineDataSet> dataSets = new ArrayList<>();
LineDataSet dataStatus = new LineDataSet(statusEntry, getString(R.string.cached_messages));
dataStatus.setColor(ThemeHelper.getAttColor(this, R.attr.colorPrimary));
dataStatus.setFillColor(ThemeHelper.getAttColor(this, R.attr.colorPrimary));
dataStatus.setDrawValues(false);
dataStatus.setDrawFilled(true);
dataStatus.setDrawCircles(false);
dataStatus.setDrawCircleHole(false);
dataStatus.setMode(LineDataSet.Mode.CUBIC_BEZIER);
dataSets.add(dataStatus);
LineData data = new LineData(dataSets);
binding.chart.setData(data);
IndexAxisValueFormatter formatter = new IndexAxisValueFormatter() {
@Override
public String getFormattedValue(float value) {
if (value >= 0 && value < xVals.size()) {
return xVals.get((int) value);
} else
return "";
}
};
binding.chart.setExtraBottomOffset(80);
// binding.chart.getXAxis().setGranularity(1f);
binding.chart.getXAxis().setPosition(XAxis.XAxisPosition.BOTTOM);
binding.chart.getXAxis().setLabelRotationAngle(-45f);
binding.chart.getXAxis().setValueFormatter(formatter);
binding.chart.getXAxis().setEnabled(true);
binding.chart.getXAxis().setTextColor(ThemeHelper.getAttColor(CheckHomeCacheActivity.this, R.attr.colorOnBackground));
binding.chart.getAxisLeft().setTextColor(ThemeHelper.getAttColor(CheckHomeCacheActivity.this, R.attr.colorOnBackground));
binding.chart.getAxisRight().setTextColor(ThemeHelper.getAttColor(CheckHomeCacheActivity.this, R.attr.colorOnBackground));
binding.chart.getLegend().setTextColor(ThemeHelper.getAttColor(CheckHomeCacheActivity.this, R.attr.colorOnBackground));
binding.chart.getAxisLeft().setAxisMinimum(0f);
binding.chart.getAxisRight().setAxisMinimum(0f);
binding.chart.getXAxis().setLabelCount(10, true);
binding.chart.getLegend().setEnabled(false);
binding.chart.setTouchEnabled(true);
Description description = binding.chart.getDescription();
description.setEnabled(false);
CustomMarkerView mv = new CustomMarkerView(CheckHomeCacheActivity.this, R.layout.custom_marker_view_layout);
binding.chart.setMarker(mv);
binding.chart.invalidate();
});
} catch (DBException | NegativeArraySizeException e) {
Toasty.error(this, getString(R.string.toast_error), Toasty.LENGTH_SHORT).show();
throw new RuntimeException(e);
}
}).start();
}
private void drawCacheLogsGraph(range myRange) {
binding.progress2.setVisibility(View.VISIBLE);
new Thread(() -> {
xVals2 = new ArrayList<>();
try {
if (myRange == range.ALL) {
if (timelineCacheLogsList == null) {
timelineCacheLogsList = new TimelineCacheLogs(this).getHome(Helper.getCurrentAccount(CheckHomeCacheActivity.this));
}
} else if (myRange == range.DAY) {
if (timelineCacheLogsDayList == null && timelineCacheLogsList != null) {
timelineCacheLogsDayList = new ArrayList<>();
Calendar calendar = Calendar.getInstance();
calendar.add(Calendar.DAY_OF_YEAR, -1);
for (TimelineCacheLogs timelineCacheLogs : timelineCacheLogsList) {
if (timelineCacheLogs.created_at.after(calendar.getTime())) {
timelineCacheLogsDayList.add(timelineCacheLogs);
}
}
}
}
if ((timelineCacheLogsList == null || timelineCacheLogsList.size() < 2) && myRange == range.ALL) {
return;
}
if ((timelineCacheLogsDayList == null || timelineCacheLogsDayList.size() < 2) && myRange == range.DAY) {
return;
}
timelineCacheLogsListToAnalyse = new ArrayList<>();
if (myRange == range.ALL) {
timelineCacheLogsListToAnalyse.addAll(timelineCacheLogsList);
} else {
timelineCacheLogsListToAnalyse.addAll(timelineCacheLogsDayList);
}
List<BarEntry> failEntry = new ArrayList<>();
List<Entry> updateEntry = new ArrayList<>();
List<Entry> insertEntry = new ArrayList<>();
List<Entry> frequencyEntry = new ArrayList<>();
List<Entry> fetchedEntry = new ArrayList<>();
int inc = 0;
for (TimelineCacheLogs timelineCacheLogs : timelineCacheLogsListToAnalyse) {
//X-Axis
//X-Axis
String xDate = dateDiffFullShort(timelineCacheLogs.created_at);
xVals2.add(xDate);
//Entries
failEntry.add(new BarEntry(inc, timelineCacheLogs.failed));
updateEntry.add(new Entry(inc, timelineCacheLogs.updated));
insertEntry.add(new Entry(inc, timelineCacheLogs.inserted));
frequencyEntry.add(new Entry(inc, timelineCacheLogs.frequency));
fetchedEntry.add(new Entry(inc, timelineCacheLogs.fetched));
inc++;
}
runOnUiThread(() -> {
binding.progress2.setVisibility(View.GONE);
LineData lineData = new LineData();
BarData barDataFailed = new BarData();
BarDataSet dataFailed = new BarDataSet(failEntry, getString(R.string.fails));
LineDataSet dataNewMessage = new LineDataSet(insertEntry, getString(R.string.new_messages));
LineDataSet dataUpdatedMessage = new LineDataSet(updateEntry, getString(R.string.updated_messages));
LineDataSet dataFrequency = new LineDataSet(frequencyEntry, getString(R.string.frequency_minutes));
LineDataSet dataFetched = new LineDataSet(fetchedEntry, getString(R.string.total_fetched));
dataFailed.setColor(ContextCompat.getColor(CheckHomeCacheActivity.this, R.color.errorColor));
dataFailed.setDrawValues(false);
dataFailed.setAxisDependency(YAxis.AxisDependency.RIGHT);
barDataFailed.addDataSet(dataFailed);
dataNewMessage.setColor(ContextCompat.getColor(CheckHomeCacheActivity.this, R.color.decoration_1));
dataNewMessage.setFillColor(ContextCompat.getColor(CheckHomeCacheActivity.this, R.color.transparent));
dataNewMessage.setDrawValues(false);
dataNewMessage.setDrawFilled(true);
dataNewMessage.setDrawCircles(false);
dataNewMessage.setDrawCircleHole(false);
dataNewMessage.setAxisDependency(YAxis.AxisDependency.LEFT);
dataNewMessage.setMode(LineDataSet.Mode.CUBIC_BEZIER);
lineData.addDataSet(dataNewMessage);
dataUpdatedMessage.setColor(ContextCompat.getColor(CheckHomeCacheActivity.this, R.color.decoration_2));
dataUpdatedMessage.setFillColor(ContextCompat.getColor(CheckHomeCacheActivity.this, R.color.transparent));
dataUpdatedMessage.setDrawValues(false);
dataUpdatedMessage.setDrawFilled(true);
dataUpdatedMessage.setDrawCircles(false);
dataUpdatedMessage.setDrawCircleHole(false);
dataUpdatedMessage.setAxisDependency(YAxis.AxisDependency.LEFT);
dataUpdatedMessage.setMode(LineDataSet.Mode.CUBIC_BEZIER);
lineData.addDataSet(dataUpdatedMessage);
dataFrequency.setColor(ContextCompat.getColor(CheckHomeCacheActivity.this, R.color.decoration_3));
dataFrequency.setFillColor(ContextCompat.getColor(CheckHomeCacheActivity.this, R.color.transparent));
dataFrequency.setDrawValues(false);
dataFrequency.setDrawFilled(true);
dataFrequency.setDrawCircles(false);
dataFrequency.setDrawCircleHole(false);
dataFrequency.setAxisDependency(YAxis.AxisDependency.LEFT);
dataFrequency.setMode(LineDataSet.Mode.CUBIC_BEZIER);
lineData.addDataSet(dataFrequency);
dataFetched.setColor(ContextCompat.getColor(CheckHomeCacheActivity.this, R.color.decoration_4));
dataFetched.setFillColor(ContextCompat.getColor(CheckHomeCacheActivity.this, R.color.transparent));
dataFetched.setDrawValues(false);
dataFetched.setDrawFilled(true);
dataFetched.setDrawCircles(false);
dataFetched.setDrawCircleHole(false);
dataFetched.setAxisDependency(YAxis.AxisDependency.LEFT);
dataFetched.setMode(LineDataSet.Mode.CUBIC_BEZIER);
lineData.addDataSet(dataFetched);
CombinedData data = new CombinedData();
data.setData(barDataFailed);
data.setData(lineData);
binding.chart2.setData(data);
IndexAxisValueFormatter formatter = new IndexAxisValueFormatter() {
@Override
public String getFormattedValue(float value) {
if (value >= 0 && value < xVals2.size()) {
return xVals2.get((int) value);
} else
return "";
}
};
binding.chart2.setExtraBottomOffset(80);
// binding.chart.getXAxis().setGranularity(1f);
binding.chart2.getXAxis().setPosition(XAxis.XAxisPosition.BOTTOM);
binding.chart2.getXAxis().setLabelRotationAngle(-45f);
binding.chart2.getXAxis().setValueFormatter(formatter);
binding.chart2.getXAxis().setEnabled(true);
binding.chart2.getXAxis().setTextColor(ThemeHelper.getAttColor(CheckHomeCacheActivity.this, R.attr.colorOnBackground));
binding.chart2.getAxisLeft().setTextColor(ThemeHelper.getAttColor(CheckHomeCacheActivity.this, R.attr.colorOnBackground));
binding.chart2.getAxisRight().setTextColor(ThemeHelper.getAttColor(CheckHomeCacheActivity.this, R.attr.colorOnBackground));
binding.chart2.getLegend().setTextColor(ThemeHelper.getAttColor(CheckHomeCacheActivity.this, R.attr.colorOnBackground));
binding.chart2.getAxisLeft().setAxisMinimum(0f);
binding.chart2.getAxisRight().setAxisMinimum(0f);
binding.chart2.getXAxis().setLabelCount(10, true);
binding.chart2.getLegend().setEnabled(true);
binding.chart2.getLegend().setOrientation(Legend.LegendOrientation.HORIZONTAL);
binding.chart2.getLegend().setVerticalAlignment(Legend.LegendVerticalAlignment.BOTTOM);
binding.chart2.getLegend().setDrawInside(false);
binding.chart2.getLegend().setWordWrapEnabled(true);
binding.chart2.setTouchEnabled(true);
Description description = binding.chart2.getDescription();
description.setEnabled(true);
CustomMarkerView2 mv = new CustomMarkerView2(CheckHomeCacheActivity.this, R.layout.custom_marker_view_layout);
binding.chart2.setMarker(mv);
binding.chart2.invalidate();
});
} catch (DBException | NegativeArraySizeException e) {
Toasty.error(this, getString(R.string.toast_error), Toasty.LENGTH_SHORT).show();
throw new RuntimeException(e);
}
}).start();
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
if (item.getItemId() == android.R.id.home) {
finish();
return true;
}
return super.onOptionsItemSelected(item);
}
public enum range {
ALL,
DAY
}
public static class GraphElement {
String dateLabel;
int count;
@Override
public boolean equals(@Nullable Object obj) {
boolean same = false;
if (obj instanceof GraphElement) {
same = this.dateLabel.equals(((GraphElement) obj).dateLabel);
}
return same;
}
}
public class CustomMarkerView extends MarkerView {
private final TextView tvContent;
private MPPointF mOffset;
public CustomMarkerView(Context context, int layoutResource) {
super(context, layoutResource);
// find your layout components
tvContent = findViewById(R.id.tvContent);
}
// callbacks everytime the MarkerView is redrawn, can be used to update the
// content (user-interface)
@Override
public void refreshContent(Entry e, Highlight highlight) {
if (xVals.size() > (int) e.getX()) {
tvContent.setText(getString(R.string.messages, (int) e.getY()));
}
// this will perform necessary layouting
super.refreshContent(e, highlight);
}
@Override
public MPPointF getOffset() {
if (mOffset == null) {
// center the marker horizontally and vertically
mOffset = new MPPointF(-(int) (getWidth() / 2), -getHeight());
}
return mOffset;
}
}
public class CustomMarkerView2 extends MarkerView {
private final TextView tvContent;
private MPPointF mOffset;
public CustomMarkerView2(Context context, int layoutResource) {
super(context, layoutResource);
// find your layout components
tvContent = findViewById(R.id.tvContent);
}
// callbacks everytime the MarkerView is redrawn, can be used to update the
// content (user-interface)
@Override
public void refreshContent(Entry e, Highlight highlight) {
if (xVals2.size() > (int) e.getX()) {
if (timelineCacheLogsListToAnalyse != null && (int) e.getX() < timelineCacheLogsListToAnalyse.size()) {
String text = getString(R.string.fail_count, timelineCacheLogsListToAnalyse.get((int) e.getX()).failed) + "\r\n";
text += getString(R.string.fetched_count, timelineCacheLogsListToAnalyse.get((int) e.getX()).fetched) + "\r\n";
text += getString(R.string.inserted_count, timelineCacheLogsListToAnalyse.get((int) e.getX()).inserted) + "\r\n";
text += getString(R.string.updated_count, timelineCacheLogsListToAnalyse.get((int) e.getX()).updated) + "\r\n";
text += getString(R.string.frequency_count_minutes, timelineCacheLogsListToAnalyse.get((int) e.getX()).frequency) + "\r\n\r\n";
text += dateDiffFull(timelineCacheLogsListToAnalyse.get((int) e.getX()).created_at);
tvContent.setText(text);
} else {
tvContent.setText(getString(R.string.messages, (int) e.getY()));
}
}
// this will perform necessary layouting
super.refreshContent(e, highlight);
}
@Override
public MPPointF getOffset() {
if (mOffset == null) {
// center the marker horizontally and vertically
mOffset = new MPPointF(-(int) (getWidth() / 2), -getHeight());
}
return mOffset;
}
}
}

View file

@ -15,7 +15,7 @@ package app.fedilab.android.mastodon.activities;
* see <http://www.gnu.org/licenses>. */ * see <http://www.gnu.org/licenses>. */
import static app.fedilab.android.BaseMainActivity.currentAccount; import static app.fedilab.android.BaseMainActivity.currentInstance;
import android.content.Intent; import android.content.Intent;
import android.content.SharedPreferences; import android.content.SharedPreferences;
@ -29,10 +29,13 @@ import android.view.MenuItem;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.ActionBar;
import androidx.appcompat.widget.Toolbar;
import androidx.fragment.app.Fragment; import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelProvider;
import androidx.preference.PreferenceManager; import androidx.preference.PreferenceManager;
import com.google.android.material.appbar.AppBarLayout;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.net.URL; import java.net.URL;
import java.util.regex.Matcher; import java.util.regex.Matcher;
@ -43,6 +46,7 @@ import app.fedilab.android.R;
import app.fedilab.android.activities.MainActivity; import app.fedilab.android.activities.MainActivity;
import app.fedilab.android.databinding.ActivityConversationBinding; import app.fedilab.android.databinding.ActivityConversationBinding;
import app.fedilab.android.mastodon.client.entities.api.Status; import app.fedilab.android.mastodon.client.entities.api.Status;
import app.fedilab.android.mastodon.client.entities.app.CachedBundle;
import app.fedilab.android.mastodon.client.entities.app.StatusCache; import app.fedilab.android.mastodon.client.entities.app.StatusCache;
import app.fedilab.android.mastodon.exception.DBException; import app.fedilab.android.mastodon.exception.DBException;
import app.fedilab.android.mastodon.helper.Helper; import app.fedilab.android.mastodon.helper.Helper;
@ -60,12 +64,16 @@ public class ContextActivity extends BaseActivity implements FragmentMastodonCon
Fragment currentFragment; Fragment currentFragment;
private Status firstMessage; private Status firstMessage;
private String remote_instance; private String remote_instance;
private Status focusedStatus;
private String focusedStatusURI;
private boolean checkRemotely;
private ActivityConversationBinding binding;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
ActivityConversationBinding binding = ActivityConversationBinding.inflate(getLayoutInflater()); binding = ActivityConversationBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot()); setContentView(binding.getRoot());
setSupportActionBar(binding.toolbar); setSupportActionBar(binding.toolbar);
ActionBar actionBar = getSupportActionBar(); ActionBar actionBar = getSupportActionBar();
@ -82,50 +90,101 @@ public class ContextActivity extends BaseActivity implements FragmentMastodonCon
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayShowHomeEnabled(true); getSupportActionBar().setDisplayShowHomeEnabled(true);
} }
Bundle b = getIntent().getExtras(); manageTopBarScrolling(binding.toolbar, sharedpreferences);
displayCW = sharedpreferences.getBoolean(getString(R.string.SET_EXPAND_CW), false); displayCW = sharedpreferences.getBoolean(getString(R.string.SET_EXPAND_CW), false);
Status focusedStatus = null; // or other values focusedStatus = null; // or other values
if (b != null) {
focusedStatus = (Status) b.getSerializable(Helper.ARG_STATUS);
remote_instance = b.getString(Helper.ARG_REMOTE_INSTANCE, null); Bundle args = getIntent().getExtras();
} if (args != null) {
if (focusedStatus == null || currentAccount == null || currentAccount.mastodon_account == null) { long bundleId = args.getLong(Helper.ARG_INTENT_ID, -1);
finish(); new CachedBundle(ContextActivity.this).getBundle(bundleId, Helper.getCurrentAccount(ContextActivity.this), this::initializeAfterBundle);
return; } else {
} initializeAfterBundle(null);
MastodonHelper.loadPPMastodon(binding.profilePicture, currentAccount.mastodon_account);
Bundle bundle = new Bundle();
bundle.putSerializable(Helper.ARG_STATUS, focusedStatus);
bundle.putString(Helper.ARG_REMOTE_INSTANCE, remote_instance);
FragmentMastodonContext fragmentMastodonContext = new FragmentMastodonContext();
fragmentMastodonContext.firstMessage = this;
currentFragment = Helper.addFragment(getSupportFragmentManager(), R.id.nav_host_fragment_content_main, fragmentMastodonContext, bundle, null, null);
if (remote_instance == null) {
StatusesVM timelinesVM = new ViewModelProvider(ContextActivity.this).get(StatusesVM.class);
timelinesVM.getStatus(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, focusedStatus.id).observe(ContextActivity.this, status -> {
if (status != null) {
StatusCache statusCache = new StatusCache();
statusCache.instance = BaseMainActivity.currentInstance;
statusCache.user_id = BaseMainActivity.currentUserID;
statusCache.status = status;
statusCache.status_id = status.id;
//Update cache
new Thread(() -> {
try {
new StatusCache(getApplication()).updateIfExists(statusCache);
Handler mainHandler = new Handler(Looper.getMainLooper());
//Update UI
Runnable myRunnable = () -> StatusAdapter.sendAction(ContextActivity.this, Helper.ARG_STATUS_ACTION, status, null);
mainHandler.post(myRunnable);
} catch (DBException e) {
e.printStackTrace();
}
}).start();
}
});
} }
} }
private void initializeAfterBundle(Bundle bundle) {
if (bundle != null) {
focusedStatus = (Status) bundle.getSerializable(Helper.ARG_STATUS);
remote_instance = bundle.getString(Helper.ARG_REMOTE_INSTANCE, null);
focusedStatusURI = bundle.getString(Helper.ARG_FOCUSED_STATUS_URI, null);
}
if (focusedStatus == null || Helper.getCurrentAccount(ContextActivity.this) == null || Helper.getCurrentAccount(ContextActivity.this).mastodon_account == null) {
finish();
return;
}
if (focusedStatusURI == null && remote_instance == null) {
focusedStatusURI = focusedStatus.uri;
}
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(this);
checkRemotely = sharedpreferences.getBoolean(getString(R.string.SET_CONVERSATION_REMOTELY), false);
if (!checkRemotely) {
loadLocalConversation();
} else {
loadRemotelyConversation(true);
invalidateOptionsMenu();
}
if (Helper.getCurrentAccount(ContextActivity.this) != null) {
MastodonHelper.loadPPMastodon(binding.profilePicture, Helper.getCurrentAccount(ContextActivity.this).mastodon_account);
}
}
private void manageTopBarScrolling(Toolbar toolbar, SharedPreferences sharedpreferences) {
final boolean topBarScrolling = !sharedpreferences.getBoolean(getString(R.string.SET_DISABLE_TOPBAR_SCROLLING), false);
final AppBarLayout.LayoutParams toolbarLayoutParams = (AppBarLayout.LayoutParams) toolbar.getLayoutParams();
int scrollFlags = toolbarLayoutParams.getScrollFlags();
if (topBarScrolling) {
scrollFlags |= AppBarLayout.LayoutParams.SCROLL_FLAG_SCROLL;
} else {
scrollFlags &= ~AppBarLayout.LayoutParams.SCROLL_FLAG_SCROLL;
}
toolbarLayoutParams.setScrollFlags(scrollFlags);
}
private void loadLocalConversation() {
Bundle args = new Bundle();
args.putSerializable(Helper.ARG_STATUS, focusedStatus);
args.putString(Helper.ARG_REMOTE_INSTANCE, remote_instance);
new CachedBundle(ContextActivity.this).insertBundle(args, Helper.getCurrentAccount(ContextActivity.this), bundleId -> {
Bundle bundle = new Bundle();
bundle.putLong(Helper.ARG_INTENT_ID, bundleId);
FragmentMastodonContext fragmentMastodonContext = new FragmentMastodonContext();
fragmentMastodonContext.firstMessage = this;
currentFragment = Helper.addFragment(getSupportFragmentManager(), R.id.nav_host_fragment_content_main, fragmentMastodonContext, bundle, null, null);
//Update the status
if (remote_instance == null) {
StatusesVM timelinesVM = new ViewModelProvider(ContextActivity.this).get(StatusesVM.class);
timelinesVM.getStatus(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, focusedStatus.id).observe(ContextActivity.this, status -> {
if (status != null) {
StatusCache statusCache = new StatusCache();
statusCache.instance = BaseMainActivity.currentInstance;
statusCache.user_id = BaseMainActivity.currentUserID;
statusCache.status = status;
statusCache.status_id = status.id;
//Update cache
new Thread(() -> {
try {
new StatusCache(getApplication()).updateIfExists(statusCache);
Handler mainHandler = new Handler(Looper.getMainLooper());
//Update UI
Runnable myRunnable = () -> StatusAdapter.sendAction(ContextActivity.this, Helper.ARG_STATUS_ACTION, status, null);
mainHandler.post(myRunnable);
} catch (DBException e) {
e.printStackTrace();
}
}).start();
}
});
}
});
}
@Override @Override
public boolean onCreateOptionsMenu(@NonNull Menu menu) { public boolean onCreateOptionsMenu(@NonNull Menu menu) {
@ -144,7 +203,7 @@ public class ContextActivity extends BaseActivity implements FragmentMastodonCon
itemDisplayCW.setIcon(R.drawable.ic_outline_remove_red_eye_24); itemDisplayCW.setIcon(R.drawable.ic_outline_remove_red_eye_24);
} }
MenuItem action_remote = menu.findItem(R.id.action_remote); MenuItem action_remote = menu.findItem(R.id.action_remote);
if (remote_instance != null) { if (remote_instance != null || checkRemotely) {
action_remote.setVisible(false); action_remote.setVisible(false);
} else { } else {
if (firstMessage != null && !firstMessage.visibility.equalsIgnoreCase("direct") && !firstMessage.visibility.equalsIgnoreCase("private")) { if (firstMessage != null && !firstMessage.visibility.equalsIgnoreCase("direct") && !firstMessage.visibility.equalsIgnoreCase("private")) {
@ -181,10 +240,67 @@ public class ContextActivity extends BaseActivity implements FragmentMastodonCon
} }
invalidateOptionsMenu(); invalidateOptionsMenu();
} else if (item.getItemId() == R.id.action_remote) { } else if (item.getItemId() == R.id.action_remote) {
loadRemotelyConversation(false);
}
return true;
}
private void loadRemotelyConversation(boolean fallback) {
if (fallback) {
StatusesVM statusesVM;
statusesVM = new ViewModelProvider(this).get(StatusesVM.class);
statusesVM.getContext(currentInstance, null, focusedStatus.id)
.observe(this, result -> {
if (result != null && result.ancestors != null && result.ancestors.size() > 0) {
firstMessage = result.ancestors.get(0);
String instance = null;
try {
URL url = new URL(firstMessage.uri);
instance = url.getHost();
} catch (MalformedURLException e) {
e.printStackTrace();
}
if (instance == null) {
loadLocalConversation();
return;
}
Pattern pattern = Helper.statusIdInUrl;
Matcher matcher = pattern.matcher(firstMessage.uri);
String remoteId = null;
if (matcher.find()) {
remoteId = matcher.group(1);
}
if (remoteId == null) {
loadLocalConversation();
return;
}
String finalInstance = instance;
statusesVM.getStatus(instance, null, remoteId).observe(ContextActivity.this, status -> {
if (status != null) {
Bundle args = new Bundle();
args.putSerializable(Helper.ARG_STATUS, status);
args.putString(Helper.ARG_REMOTE_INSTANCE, finalInstance);
args.putString(Helper.ARG_FOCUSED_STATUS_URI, focusedStatusURI);
new CachedBundle(ContextActivity.this).insertBundle(args, Helper.getCurrentAccount(ContextActivity.this), bundleId -> {
Bundle bundle = new Bundle();
bundle.putLong(Helper.ARG_INTENT_ID, bundleId);
FragmentMastodonContext fragmentMastodonContext = new FragmentMastodonContext();
fragmentMastodonContext.firstMessage = ContextActivity.this;
currentFragment = Helper.addFragment(getSupportFragmentManager(), R.id.nav_host_fragment_content_main, fragmentMastodonContext, bundle, null, null);
});
} else {
loadLocalConversation();
}
});
} else {
loadLocalConversation();
}
});
} else {
if (firstMessage == null) { if (firstMessage == null) {
Toasty.warning(ContextActivity.this, getString(R.string.toast_try_later), Toasty.LENGTH_SHORT).show(); Toasty.warning(ContextActivity.this, getString(R.string.toast_try_later), Toasty.LENGTH_SHORT).show();
return true; return;
} }
if (firstMessage.account.acct != null) { if (firstMessage.account.acct != null) {
String instance = null; String instance = null;
@ -196,11 +312,11 @@ public class ContextActivity extends BaseActivity implements FragmentMastodonCon
} }
if (instance == null) { if (instance == null) {
Toasty.info(ContextActivity.this, getString(R.string.toast_error_fetch_message), Toasty.LENGTH_SHORT).show(); Toasty.info(ContextActivity.this, getString(R.string.toast_error_fetch_message), Toasty.LENGTH_SHORT).show();
return true; return;
} }
if (instance.equalsIgnoreCase(MainActivity.currentInstance)) { if (instance.equalsIgnoreCase(MainActivity.currentInstance)) {
Toasty.info(ContextActivity.this, getString(R.string.toast_on_your_instance), Toasty.LENGTH_SHORT).show(); Toasty.info(ContextActivity.this, getString(R.string.toast_on_your_instance), Toasty.LENGTH_SHORT).show();
return true; return;
} }
Pattern pattern = Helper.statusIdInUrl; Pattern pattern = Helper.statusIdInUrl;
Matcher matcher = pattern.matcher(firstMessage.uri); Matcher matcher = pattern.matcher(firstMessage.uri);
@ -214,10 +330,17 @@ public class ContextActivity extends BaseActivity implements FragmentMastodonCon
statusesVM.getStatus(instance, null, remoteId).observe(ContextActivity.this, status -> { statusesVM.getStatus(instance, null, remoteId).observe(ContextActivity.this, status -> {
if (status != null) { if (status != null) {
Intent intentContext = new Intent(ContextActivity.this, ContextActivity.class); Intent intentContext = new Intent(ContextActivity.this, ContextActivity.class);
intentContext.putExtra(Helper.ARG_STATUS, status); Bundle args = new Bundle();
intentContext.putExtra(Helper.ARG_REMOTE_INSTANCE, finalInstance); args.putSerializable(Helper.ARG_STATUS, status);
intentContext.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); args.putString(Helper.ARG_FOCUSED_STATUS_URI, focusedStatusURI);
startActivity(intentContext); args.putString(Helper.ARG_REMOTE_INSTANCE, finalInstance);
new CachedBundle(ContextActivity.this).insertBundle(args, Helper.getCurrentAccount(ContextActivity.this), bundleId -> {
Bundle bundle = new Bundle();
bundle.putLong(Helper.ARG_INTENT_ID, bundleId);
intentContext.putExtras(bundle);
intentContext.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intentContext);
});
} else { } else {
Toasty.warning(ContextActivity.this, getString(R.string.toast_error_fetch_message), Toasty.LENGTH_SHORT).show(); Toasty.warning(ContextActivity.this, getString(R.string.toast_error_fetch_message), Toasty.LENGTH_SHORT).show();
} }
@ -229,7 +352,6 @@ public class ContextActivity extends BaseActivity implements FragmentMastodonCon
Toasty.warning(ContextActivity.this, getString(R.string.toast_error_fetch_message), Toasty.LENGTH_SHORT).show(); Toasty.warning(ContextActivity.this, getString(R.string.toast_error_fetch_message), Toasty.LENGTH_SHORT).show();
} }
} }
return true;
} }
@Override @Override

View file

@ -14,7 +14,6 @@ package app.fedilab.android.mastodon.activities;
* You should have received a copy of the GNU General Public License along with Fedilab; if not, * You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */ * see <http://www.gnu.org/licenses>. */
import static app.fedilab.android.BaseMainActivity.currentAccount;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.net.Uri; import android.net.Uri;
@ -28,6 +27,7 @@ import android.widget.Toast;
import androidx.preference.PreferenceManager; import androidx.preference.PreferenceManager;
import java.util.List; import java.util.List;
import java.util.Objects;
import java.util.Set; import java.util.Set;
import app.fedilab.android.R; import app.fedilab.android.R;
@ -36,6 +36,7 @@ import app.fedilab.android.mastodon.client.entities.api.Attachment;
import app.fedilab.android.mastodon.client.entities.api.Emoji; import app.fedilab.android.mastodon.client.entities.api.Emoji;
import app.fedilab.android.mastodon.client.entities.api.Status; import app.fedilab.android.mastodon.client.entities.api.Status;
import app.fedilab.android.mastodon.client.entities.api.Tag; import app.fedilab.android.mastodon.client.entities.api.Tag;
import app.fedilab.android.mastodon.client.entities.app.CachedBundle;
import app.fedilab.android.mastodon.helper.Helper; import app.fedilab.android.mastodon.helper.Helper;
import app.fedilab.android.mastodon.helper.customsharing.CustomSharingAsyncTask; import app.fedilab.android.mastodon.helper.customsharing.CustomSharingAsyncTask;
import app.fedilab.android.mastodon.helper.customsharing.CustomSharingResponse; import app.fedilab.android.mastodon.helper.customsharing.CustomSharingResponse;
@ -64,23 +65,34 @@ public class CustomSharingActivity extends BaseBarActivity implements OnCustomSh
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(CustomSharingActivity.this);
binding = ActivityCustomSharingBinding.inflate(getLayoutInflater()); binding = ActivityCustomSharingBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot()); setContentView(binding.getRoot());
if (getSupportActionBar() != null) { if (getSupportActionBar() != null) {
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayShowHomeEnabled(true); getSupportActionBar().setDisplayShowHomeEnabled(true);
} }
Bundle b = getIntent().getExtras(); Bundle args = getIntent().getExtras();
status = null; status = null;
if (b != null) { if (args != null) {
status = (Status) b.getSerializable(Helper.ARG_STATUS); long bundleId = args.getLong(Helper.ARG_INTENT_ID, -1);
new CachedBundle(CustomSharingActivity.this).getBundle(bundleId, Helper.getCurrentAccount(CustomSharingActivity.this), this::initializeAfterBundle);
} else {
initializeAfterBundle(null);
}
}
private void initializeAfterBundle(Bundle bundle) {
if (bundle != null) {
status = (Status) bundle.getSerializable(Helper.ARG_STATUS);
} }
if (status == null) { if (status == null) {
finish(); finish();
return; return;
} }
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(CustomSharingActivity.this);
bundle_creator = status.account.acct; bundle_creator = status.account.acct;
bundle_url = status.url; bundle_url = status.url;
bundle_id = status.uri; bundle_id = status.uri;
@ -97,7 +109,7 @@ public class CustomSharingActivity extends BaseBarActivity implements OnCustomSh
bundle_thumbnailurl = status.account.avatar; bundle_thumbnailurl = status.account.avatar;
} }
if (!bundle_creator.contains("@")) { if (!bundle_creator.contains("@")) {
bundle_creator = bundle_creator + "@" + currentAccount.instance; bundle_creator = bundle_creator + "@" + Helper.getCurrentAccount(CustomSharingActivity.this).instance;
} }
binding.setCustomSharingTitle.setEllipsize(TextUtils.TruncateAt.END); binding.setCustomSharingTitle.setEllipsize(TextUtils.TruncateAt.END);
@ -126,7 +138,7 @@ public class CustomSharingActivity extends BaseBarActivity implements OnCustomSh
binding.setCustomSharingSave.setOnClickListener(v -> { binding.setCustomSharingSave.setOnClickListener(v -> {
// obtain title, description, keywords // obtain title, description, keywords
title = binding.setCustomSharingTitle.getText().toString(); title = binding.setCustomSharingTitle.getText().toString();
keywords = binding.setCustomSharingKeywords.getText().toString(); keywords = Objects.requireNonNull(binding.setCustomSharingKeywords.getText()).toString();
CharSequence comma_only = ","; CharSequence comma_only = ",";
CharSequence space_only = " "; CharSequence space_only = " ";
CharSequence double_space = " "; CharSequence double_space = " ";
@ -194,38 +206,38 @@ public class CustomSharingActivity extends BaseBarActivity implements OnCustomSh
String param_value = uri.getQueryParameter(param_name); String param_value = uri.getQueryParameter(param_name);
if (param_value != null) if (param_value != null)
switch (param_value) { switch (param_value) {
case "${url}": case "${url}" -> {
paramFound = true; paramFound = true;
builder.appendQueryParameter(param_name, bundle_url); builder.appendQueryParameter(param_name, bundle_url);
break; }
case "${title}": case "${title}" -> {
paramFound = true; paramFound = true;
builder.appendQueryParameter(param_name, title); builder.appendQueryParameter(param_name, title);
break; }
case "${source}": case "${source}" -> {
paramFound = true; paramFound = true;
builder.appendQueryParameter(param_name, bundle_source); builder.appendQueryParameter(param_name, bundle_source);
break; }
case "${id}": case "${id}" -> {
paramFound = true; paramFound = true;
builder.appendQueryParameter(param_name, bundle_id); builder.appendQueryParameter(param_name, bundle_id);
break; }
case "${description}": case "${description}" -> {
paramFound = true; paramFound = true;
builder.appendQueryParameter(param_name, bundle_content); builder.appendQueryParameter(param_name, bundle_content);
break; }
case "${keywords}": case "${keywords}" -> {
paramFound = true; paramFound = true;
builder.appendQueryParameter(param_name, keywords); builder.appendQueryParameter(param_name, keywords);
break; }
case "${creator}": case "${creator}" -> {
paramFound = true; paramFound = true;
builder.appendQueryParameter(param_name, bundle_creator); builder.appendQueryParameter(param_name, bundle_creator);
break; }
case "${thumbnailurl}": case "${thumbnailurl}" -> {
paramFound = true; paramFound = true;
builder.appendQueryParameter(param_name, bundle_thumbnailurl); builder.appendQueryParameter(param_name, bundle_thumbnailurl);
break; }
} }
if (!paramFound) { if (!paramFound) {
builder.appendQueryParameter(param_name, param_value); builder.appendQueryParameter(param_name, param_value);

View file

@ -0,0 +1,171 @@
package app.fedilab.android.mastodon.activities;
/* Copyright 2023 Thomas Schneider
*
* This file is a part of Fedilab
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
* License, or (at your option) any later version.
*
* Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */
import static app.fedilab.android.mastodon.activities.ComposeActivity.PICK_MEDIA;
import android.content.ClipData;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.util.TypedValue;
import android.view.MenuItem;
import androidx.appcompat.app.ActionBar;
import androidx.lifecycle.ViewModelProvider;
import androidx.preference.PreferenceManager;
import java.util.ArrayList;
import java.util.List;
import app.fedilab.android.BaseMainActivity;
import app.fedilab.android.R;
import app.fedilab.android.databinding.ActivityDirectMessageBinding;
import app.fedilab.android.mastodon.client.entities.api.Status;
import app.fedilab.android.mastodon.client.entities.app.CachedBundle;
import app.fedilab.android.mastodon.client.entities.app.StatusCache;
import app.fedilab.android.mastodon.exception.DBException;
import app.fedilab.android.mastodon.helper.Helper;
import app.fedilab.android.mastodon.helper.MastodonHelper;
import app.fedilab.android.mastodon.ui.drawer.StatusAdapter;
import app.fedilab.android.mastodon.ui.fragment.timeline.FragmentMastodonDirectMessage;
import app.fedilab.android.mastodon.viewmodel.mastodon.StatusesVM;
public class DirectMessageActivity extends BaseActivity implements FragmentMastodonDirectMessage.FirstMessage {
public static boolean expand;
public static boolean displayCW;
FragmentMastodonDirectMessage currentFragment;
private String remote_instance;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ActivityDirectMessageBinding binding = ActivityDirectMessageBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());
setSupportActionBar(binding.toolbar);
ActionBar actionBar = getSupportActionBar();
//Remove title
if (actionBar != null) {
actionBar.setDisplayShowTitleEnabled(false);
}
binding.title.setText(R.string.context_conversation);
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(this);
float scale = sharedpreferences.getFloat(getString(R.string.SET_FONT_SCALE), 1.1f);
binding.title.setTextSize(TypedValue.COMPLEX_UNIT_SP, 18 * 1.1f / scale);
MastodonHelper.loadPPMastodon(binding.profilePicture, Helper.getCurrentAccount(DirectMessageActivity.this).mastodon_account);
if (getSupportActionBar() != null) {
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayShowHomeEnabled(true);
}
Bundle args = getIntent().getExtras();
displayCW = sharedpreferences.getBoolean(getString(R.string.SET_EXPAND_CW), false);
if (args != null) {
long bundleId = args.getLong(Helper.ARG_INTENT_ID, -1);
new CachedBundle(DirectMessageActivity.this).getBundle(bundleId, Helper.getCurrentAccount(DirectMessageActivity.this), this::initializeAfterBundle);
} else {
initializeAfterBundle(null);
}
}
private void initializeAfterBundle(Bundle bundle) {
Status focusedStatus = null; // or other values
if (bundle != null) {
focusedStatus = (Status) bundle.getSerializable(Helper.ARG_STATUS);
remote_instance = bundle.getString(Helper.ARG_REMOTE_INSTANCE, null);
}
if (focusedStatus == null || Helper.getCurrentAccount(DirectMessageActivity.this) == null || Helper.getCurrentAccount(DirectMessageActivity.this).mastodon_account == null) {
finish();
return;
}
Bundle args = new Bundle();
args.putSerializable(Helper.ARG_STATUS, focusedStatus);
args.putString(Helper.ARG_REMOTE_INSTANCE, remote_instance);
Status finalFocusedStatus = focusedStatus;
new CachedBundle(DirectMessageActivity.this).insertBundle(args, Helper.getCurrentAccount(DirectMessageActivity.this), bundleId -> {
Bundle args2 = new Bundle();
args2.putLong(Helper.ARG_INTENT_ID, bundleId);
FragmentMastodonDirectMessage FragmentMastodonDirectMessage = new FragmentMastodonDirectMessage();
FragmentMastodonDirectMessage.firstMessage = this;
currentFragment = (FragmentMastodonDirectMessage) Helper.addFragment(getSupportFragmentManager(), R.id.nav_host_fragment_content_main, FragmentMastodonDirectMessage, args2, null, null);
StatusesVM timelinesVM = new ViewModelProvider(DirectMessageActivity.this).get(StatusesVM.class);
timelinesVM.getStatus(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, finalFocusedStatus.id).observe(DirectMessageActivity.this, status -> {
if (status != null) {
StatusCache statusCache = new StatusCache();
statusCache.instance = BaseMainActivity.currentInstance;
statusCache.user_id = BaseMainActivity.currentUserID;
statusCache.status = status;
statusCache.status_id = status.id;
//Update cache
new Thread(() -> {
try {
new StatusCache(getApplication()).updateIfExists(statusCache);
Handler mainHandler = new Handler(Looper.getMainLooper());
//Update UI
Runnable myRunnable = () -> StatusAdapter.sendAction(DirectMessageActivity.this, Helper.ARG_STATUS_ACTION, status, null);
mainHandler.post(myRunnable);
} catch (DBException e) {
e.printStackTrace();
}
}).start();
}
});
});
}
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
List<Uri> uris = new ArrayList<>();
if (requestCode >= PICK_MEDIA && resultCode == RESULT_OK) {
ClipData clipData = data.getClipData();
if (clipData != null) {
for (int i = 0; i < clipData.getItemCount(); i++) {
ClipData.Item item = clipData.getItemAt(i);
uris.add(item.getUri());
}
} else {
uris.add(data.getData());
}
currentFragment.addAttachment(uris);
}
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
if (item.getItemId() == android.R.id.home) {
finish();
return true;
}
return true;
}
@Override
public void get(Status status) {
invalidateOptionsMenu();
}
}

View file

@ -14,7 +14,6 @@ package app.fedilab.android.mastodon.activities;
* You should have received a copy of the GNU General Public License along with Fedilab; if not, * You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */ * see <http://www.gnu.org/licenses>. */
import static app.fedilab.android.BaseMainActivity.currentAccount;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.os.Bundle; import android.os.Bundle;
@ -83,7 +82,7 @@ public class DraftActivity extends BaseActivity implements StatusDraftAdapter.Dr
getSupportActionBar().setDisplayShowHomeEnabled(true); getSupportActionBar().setDisplayShowHomeEnabled(true);
} }
timelinesVM = new ViewModelProvider(DraftActivity.this).get(TimelinesVM.class); timelinesVM = new ViewModelProvider(DraftActivity.this).get(TimelinesVM.class);
timelinesVM.getDrafts(currentAccount) timelinesVM.getDrafts(Helper.getCurrentAccount(DraftActivity.this))
.observe(DraftActivity.this, this::initializeDraftView); .observe(DraftActivity.this, this::initializeDraftView);
} }
@ -100,7 +99,7 @@ public class DraftActivity extends BaseActivity implements StatusDraftAdapter.Dr
finish(); finish();
return true; return true;
} else if (item.getItemId() == R.id.action_delete) { } else if (item.getItemId() == R.id.action_delete) {
AlertDialog.Builder unfollowConfirm = new MaterialAlertDialogBuilder(DraftActivity.this, Helper.dialogStyle()); AlertDialog.Builder unfollowConfirm = new MaterialAlertDialogBuilder(DraftActivity.this);
unfollowConfirm.setTitle(getString(R.string.delete_all)); unfollowConfirm.setTitle(getString(R.string.delete_all));
unfollowConfirm.setMessage(getString(R.string.remove_draft)); unfollowConfirm.setMessage(getString(R.string.remove_draft));
unfollowConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss()); unfollowConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
@ -179,7 +178,7 @@ public class DraftActivity extends BaseActivity implements StatusDraftAdapter.Dr
super.onResume(); super.onResume();
//We need to check if drafts changed (ie when coming back from the compose activity) //We need to check if drafts changed (ie when coming back from the compose activity)
if (statusDrafts != null && timelinesVM != null) { if (statusDrafts != null && timelinesVM != null) {
timelinesVM.getDrafts(currentAccount) timelinesVM.getDrafts(Helper.getCurrentAccount(DraftActivity.this))
.observe(DraftActivity.this, this::updateDrafts); .observe(DraftActivity.this, this::updateDrafts);
} }
} }

View file

@ -14,9 +14,10 @@ package app.fedilab.android.mastodon.activities;
* You should have received a copy of the GNU General Public License along with Fedilab; if not, * You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */ * see <http://www.gnu.org/licenses>. */
import static app.fedilab.android.BaseMainActivity.currentAccount;
import static app.fedilab.android.BaseMainActivity.instanceInfo; import static app.fedilab.android.BaseMainActivity.instanceInfo;
import android.annotation.SuppressLint;
import android.content.Intent; import android.content.Intent;
import android.net.Uri; import android.net.Uri;
import android.os.Build; import android.os.Build;
@ -26,27 +27,34 @@ import android.text.Html;
import android.view.Menu; import android.view.Menu;
import android.view.MenuItem; import android.view.MenuItem;
import android.view.View; import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AlertDialog;
import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelProvider;
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
import com.bumptech.glide.Glide; import com.bumptech.glide.Glide;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.google.android.material.textfield.TextInputEditText; import com.google.android.material.textfield.TextInputEditText;
import java.util.ArrayList;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import java.util.Locale; import java.util.Locale;
import java.util.Objects;
import app.fedilab.android.BaseMainActivity; import app.fedilab.android.BaseMainActivity;
import app.fedilab.android.BuildConfig;
import app.fedilab.android.R; import app.fedilab.android.R;
import app.fedilab.android.databinding.AccountFeaturedHashtagItemBinding;
import app.fedilab.android.databinding.AccountFieldItemBinding; import app.fedilab.android.databinding.AccountFieldItemBinding;
import app.fedilab.android.databinding.ActivityEditProfileBinding; import app.fedilab.android.databinding.ActivityEditProfileBinding;
import app.fedilab.android.mastodon.client.entities.api.Account; import app.fedilab.android.mastodon.client.entities.api.Account;
import app.fedilab.android.mastodon.client.entities.api.FeaturedTag;
import app.fedilab.android.mastodon.client.entities.api.Field; import app.fedilab.android.mastodon.client.entities.api.Field;
import app.fedilab.android.mastodon.client.entities.api.Tag;
import app.fedilab.android.mastodon.client.entities.app.CachedBundle;
import app.fedilab.android.mastodon.exception.DBException; import app.fedilab.android.mastodon.exception.DBException;
import app.fedilab.android.mastodon.helper.Helper; import app.fedilab.android.mastodon.helper.Helper;
import app.fedilab.android.mastodon.helper.MastodonHelper; import app.fedilab.android.mastodon.helper.MastodonHelper;
@ -59,7 +67,10 @@ public class EditProfileActivity extends BaseBarActivity {
public static final int PICK_MEDIA_HEADER = 5706; public static final int PICK_MEDIA_HEADER = 5706;
private ActivityEditProfileBinding binding; private ActivityEditProfileBinding binding;
private AccountsVM accountsVM; private AccountsVM accountsVM;
private static final int MAX_FIELDS = 4;
private static final int MAX_FEATURED_HASHTAGS = 10;
@SuppressLint("ClickableViewAccessibility")
@Override @Override
protected void onCreate(@Nullable Bundle savedInstanceState) { protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
@ -70,62 +81,132 @@ public class EditProfileActivity extends BaseBarActivity {
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);
} }
new ViewModelProvider(EditProfileActivity.this).get(AccountsVM.class).getConnectedAccount(BaseMainActivity.currentInstance, BaseMainActivity.currentToken) binding.scrollContainer.setOnTouchListener((v, event) -> {
binding.bio.getParent().requestDisallowInterceptTouchEvent(false);
return false;
});
binding.bio.setOnTouchListener((v, event) -> {
binding.bio.getParent().requestDisallowInterceptTouchEvent(true);
return false;
});
accountsVM = new ViewModelProvider(EditProfileActivity.this).get(AccountsVM.class);
accountsVM.getConnectedAccount(BaseMainActivity.currentInstance, BaseMainActivity.currentToken)
.observe(EditProfileActivity.this, account -> { .observe(EditProfileActivity.this, account -> {
if (account != null) { if (account != null) {
currentAccount.mastodon_account = account; Helper.setCurrentAccountMastodonAccount(EditProfileActivity.this, account);
initializeView(); initializeView();
} else { } else {
Helper.sendToastMessage(getApplication(), Helper.RECEIVE_TOAST_TYPE_ERROR, getString(R.string.toast_error)); Helper.sendToastMessage(getApplication(), Helper.RECEIVE_TOAST_TYPE_ERROR, getString(R.string.toast_error));
} }
}); });
}
}
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
private void initializeView() { private void initializeView() {
//Hydrate values //Hydrate values
MastodonHelper.loadProfileMediaMastodon(EditProfileActivity.this, binding.bannerPp, currentAccount.mastodon_account, MastodonHelper.MediaAccountType.HEADER); MastodonHelper.loadProfileMediaMastodon(EditProfileActivity.this, binding.bannerPp, Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account, MastodonHelper.MediaAccountType.HEADER);
MastodonHelper.loadPPMastodon(binding.accountPp, currentAccount.mastodon_account); MastodonHelper.loadPPMastodon(binding.accountPp, Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account);
binding.displayName.setText(currentAccount.mastodon_account.display_name); binding.displayName.setText(Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.display_name);
binding.acct.setText(String.format(Locale.getDefault(), "%s@%s", currentAccount.mastodon_account.acct, BaseMainActivity.currentInstance)); binding.acct.setText(String.format(Locale.getDefault(), "%s@%s", Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.acct, BaseMainActivity.currentInstance));
String bio; String bio;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
bio = Html.fromHtml(currentAccount.mastodon_account.note, Html.FROM_HTML_MODE_LEGACY).toString(); bio = Html.fromHtml(Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.note, Html.FROM_HTML_MODE_LEGACY).toString();
else else
bio = Html.fromHtml(currentAccount.mastodon_account.note).toString(); bio = Html.fromHtml(Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.note).toString();
binding.bio.setText(bio); binding.bio.setText(bio);
if (currentAccount.mastodon_account.source != null) {
binding.sensitive.setChecked(currentAccount.mastodon_account.source.sensitive); accountsVM.getFeaturedTagsSuggestions(BaseMainActivity.currentInstance, BaseMainActivity.currentToken).observe(this, featuredTags -> {
switch (currentAccount.mastodon_account.source.privacy) { StringBuilder text = new StringBuilder(getString(R.string.no_feature_hashtag_suggestion));
case "public": if(featuredTags != null && !featuredTags.isEmpty()) {
binding.visibilityPublic.setChecked(true); text = new StringBuilder();
break; for (Tag tag : featuredTags) {
case "unlisted": text.append(String.format("#%s ", tag.name));
binding.visibilityUnlisted.setChecked(true); }
break; }
case "private": binding.featuredHashtagsSuggestions.setText(text);
binding.visibilityPrivate.setChecked(true); });
break; accountsVM.getAccountFeaturedTags(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.id).observe(this, featuredTags -> {
case "direct": if(featuredTags != null && !featuredTags.isEmpty()) {
binding.visibilityDirect.setChecked(true); for (FeaturedTag featuredTag : featuredTags) {
break; AccountFeaturedHashtagItemBinding featuredHashtagItemBinding = AccountFeaturedHashtagItemBinding.inflate(getLayoutInflater());
featuredHashtagItemBinding.name.setText(featuredTag.name);
featuredHashtagItemBinding.remove.setOnClickListener(v -> {
AlertDialog.Builder deleteConfirm = new MaterialAlertDialogBuilder(EditProfileActivity.this);
deleteConfirm.setTitle(getString(R.string.delete_featured_hashtag));
deleteConfirm.setMessage(getString(R.string.delete_featured_hashtag_confirm));
deleteConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
deleteConfirm.setPositiveButton(R.string.delete, (dialog, which) -> {
((ViewGroup)featuredHashtagItemBinding.getRoot().getParent()).removeView(featuredHashtagItemBinding.getRoot());
if (binding.featuredHashtagsContainer.getChildCount() >= MAX_FEATURED_HASHTAGS) {
binding.addFeaturedHashtags.setVisibility(View.GONE);
} else {
binding.addFeaturedHashtags.setVisibility(View.VISIBLE);
}
dialog.dismiss();
});
deleteConfirm.create().show();
});
binding.featuredHashtagsContainer.addView(featuredHashtagItemBinding.getRoot());
}
}
binding.addFeaturedHashtags.setOnClickListener(view -> {
AccountFeaturedHashtagItemBinding featuredHashtagItemBinding = AccountFeaturedHashtagItemBinding.inflate(getLayoutInflater());
featuredHashtagItemBinding.remove.setOnClickListener(v -> {
AlertDialog.Builder deleteConfirm = new MaterialAlertDialogBuilder(EditProfileActivity.this);
deleteConfirm.setTitle(getString(R.string.delete_featured_hashtag));
deleteConfirm.setMessage(getString(R.string.delete_featured_hashtag_confirm));
deleteConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
deleteConfirm.setPositiveButton(R.string.delete, (dialog, which) -> {
((ViewGroup)featuredHashtagItemBinding.getRoot().getParent()).removeView(featuredHashtagItemBinding.getRoot());
if (binding.featuredHashtagsContainer.getChildCount() >= MAX_FEATURED_HASHTAGS) {
binding.addFeaturedHashtags.setVisibility(View.GONE);
} else {
binding.addFeaturedHashtags.setVisibility(View.VISIBLE);
}
dialog.dismiss();
});
deleteConfirm.create().show();
});
binding.featuredHashtagsContainer.addView(featuredHashtagItemBinding.getRoot());
if (binding.featuredHashtagsContainer.getChildCount() >= MAX_FEATURED_HASHTAGS) {
binding.addFeaturedHashtags.setVisibility(View.GONE);
} else {
binding.addFeaturedHashtags.setVisibility(View.VISIBLE);
}
});
});
if (Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.source != null) {
binding.sensitive.setChecked(Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.source.sensitive);
switch (Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.source.privacy) {
case "public" -> binding.visibilityPublic.setChecked(true);
case "unlisted" -> binding.visibilityUnlisted.setChecked(true);
case "private" -> binding.visibilityPrivate.setChecked(true);
case "direct" -> binding.visibilityDirect.setChecked(true);
} }
} else { } else {
binding.sensitive.setVisibility(View.GONE); binding.sensitive.setVisibility(View.GONE);
binding.visibilityGroup.setVisibility(View.GONE); binding.visibilityGroup.setVisibility(View.GONE);
} }
binding.bot.setChecked(currentAccount.mastodon_account.bot); binding.bot.setChecked(Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.bot);
binding.discoverable.setChecked(currentAccount.mastodon_account.discoverable); binding.discoverable.setChecked(Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.discoverable);
if (currentAccount.mastodon_account.locked) { if (Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.locked) {
binding.locked.setChecked(true); binding.locked.setChecked(true);
} else { } else {
binding.unlocked.setChecked(true); binding.unlocked.setChecked(true);
} }
List<Field> fields = currentAccount.mastodon_account.fields; List<Field> fields = Helper.getCurrentAccount(EditProfileActivity.this).mastodon_account.fields;
if (fields != null && fields.size() > 0) { if (fields != null && !fields.isEmpty()) {
for (Field field : fields) { for (Field field : fields) {
AccountFieldItemBinding fieldItemBinding = AccountFieldItemBinding.inflate(getLayoutInflater()); AccountFieldItemBinding fieldItemBinding = AccountFieldItemBinding.inflate(getLayoutInflater());
fieldItemBinding.name.setText(field.name); fieldItemBinding.name.setText(field.name);
@ -136,16 +217,16 @@ public class EditProfileActivity extends BaseBarActivity {
value = Html.fromHtml(field.value).toString(); value = Html.fromHtml(field.value).toString();
fieldItemBinding.value.setText(value); fieldItemBinding.value.setText(value);
fieldItemBinding.remove.setOnClickListener(v -> { fieldItemBinding.remove.setOnClickListener(v -> {
AlertDialog.Builder deleteConfirm = new MaterialAlertDialogBuilder(EditProfileActivity.this, Helper.dialogStyle()); AlertDialog.Builder deleteConfirm = new MaterialAlertDialogBuilder(EditProfileActivity.this);
deleteConfirm.setTitle(getString(R.string.delete_field)); deleteConfirm.setTitle(getString(R.string.delete_field));
deleteConfirm.setMessage(getString(R.string.delete_field_confirm)); deleteConfirm.setMessage(getString(R.string.delete_field_confirm));
deleteConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss()); deleteConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
deleteConfirm.setPositiveButton(R.string.delete, (dialog, which) -> { deleteConfirm.setPositiveButton(R.string.delete, (dialog, which) -> {
binding.fieldsContainer.removeView(fieldItemBinding.getRoot()); ((ViewGroup)fieldItemBinding.getRoot().getParent()).removeView(fieldItemBinding.getRoot());
if (binding.fieldsContainer.getChildCount() < 4) { if (binding.fieldsContainer.getChildCount() >= MAX_FIELDS) {
binding.fieldsContainer.setVisibility(View.VISIBLE); binding.addField.setVisibility(View.GONE);
} else { } else {
binding.fieldsContainer.setVisibility(View.GONE); binding.addField.setVisibility(View.VISIBLE);
} }
dialog.dismiss(); dialog.dismiss();
}); });
@ -153,35 +234,38 @@ public class EditProfileActivity extends BaseBarActivity {
}); });
binding.fieldsContainer.addView(fieldItemBinding.getRoot()); binding.fieldsContainer.addView(fieldItemBinding.getRoot());
} }
if (binding.fieldsContainer.getChildCount() >= MAX_FIELDS) {
binding.addField.setVisibility(View.GONE);
} else {
binding.addField.setVisibility(View.VISIBLE);
}
} }
binding.addField.setOnClickListener(view -> { binding.addField.setOnClickListener(view -> {
AccountFieldItemBinding fieldItemBinding = AccountFieldItemBinding.inflate(getLayoutInflater()); AccountFieldItemBinding fieldItemBinding = AccountFieldItemBinding.inflate(getLayoutInflater());
fieldItemBinding.remove.setOnClickListener(v -> { fieldItemBinding.remove.setOnClickListener(v -> {
AlertDialog.Builder deleteConfirm = new MaterialAlertDialogBuilder(EditProfileActivity.this, Helper.dialogStyle()); AlertDialog.Builder deleteConfirm = new MaterialAlertDialogBuilder(EditProfileActivity.this);
deleteConfirm.setTitle(getString(R.string.delete_field)); deleteConfirm.setTitle(getString(R.string.delete_field));
deleteConfirm.setMessage(getString(R.string.delete_field_confirm)); deleteConfirm.setMessage(getString(R.string.delete_field_confirm));
deleteConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss()); deleteConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
deleteConfirm.setPositiveButton(R.string.delete, (dialog, which) -> { deleteConfirm.setPositiveButton(R.string.delete, (dialog, which) -> {
binding.fieldsContainer.removeView(fieldItemBinding.getRoot()); ((ViewGroup)fieldItemBinding.getRoot().getParent()).removeView(fieldItemBinding.getRoot());
if (binding.fieldsContainer.getChildCount() < 4) { if (binding.fieldsContainer.getChildCount() >= MAX_FIELDS) {
binding.fieldsContainer.setVisibility(View.VISIBLE); binding.addField.setVisibility(View.GONE);
} else { } else {
binding.fieldsContainer.setVisibility(View.GONE); binding.addField.setVisibility(View.VISIBLE);
} }
dialog.dismiss(); dialog.dismiss();
}); });
deleteConfirm.create().show(); deleteConfirm.create().show();
}); });
binding.fieldsContainer.addView(fieldItemBinding.getRoot()); binding.fieldsContainer.addView(fieldItemBinding.getRoot());
if (binding.fieldsContainer.getChildCount() >= 4) {
if (binding.fieldsContainer.getChildCount() >= MAX_FIELDS) {
binding.addField.setVisibility(View.GONE); binding.addField.setVisibility(View.GONE);
} else {
binding.addField.setVisibility(View.VISIBLE);
} }
}); });
//Actions with the activity
accountsVM = new ViewModelProvider(EditProfileActivity.this).get(AccountsVM.class);
binding.headerSelect.setOnClickListener(view -> startActivityForResult(prepareIntent(), EditProfileActivity.PICK_MEDIA_HEADER)); binding.headerSelect.setOnClickListener(view -> startActivityForResult(prepareIntent(), EditProfileActivity.PICK_MEDIA_HEADER));
binding.avatarSelect.setOnClickListener(view -> startActivityForResult(prepareIntent(), EditProfileActivity.PICK_MEDIA_AVATAR)); binding.avatarSelect.setOnClickListener(view -> startActivityForResult(prepareIntent(), EditProfileActivity.PICK_MEDIA_AVATAR));
@ -204,11 +288,11 @@ public class EditProfileActivity extends BaseBarActivity {
if (account != null) { if (account != null) {
sendBroadCast(account); sendBroadCast(account);
binding.avatarProgress.setVisibility(View.GONE); binding.avatarProgress.setVisibility(View.GONE);
currentAccount.mastodon_account = account; Helper.setCurrentAccountMastodonAccount(EditProfileActivity.this, account);
Helper.recreateMainActivity(EditProfileActivity.this); Helper.recreateMainActivity(EditProfileActivity.this);
new Thread(() -> { new Thread(() -> {
try { try {
new app.fedilab.android.mastodon.client.entities.app.Account(EditProfileActivity.this).insertOrUpdate(currentAccount); new app.fedilab.android.mastodon.client.entities.app.Account(EditProfileActivity.this).insertOrUpdate(Helper.getCurrentAccount(EditProfileActivity.this));
} catch (DBException e) { } catch (DBException e) {
e.printStackTrace(); e.printStackTrace();
} }
@ -232,10 +316,10 @@ public class EditProfileActivity extends BaseBarActivity {
if (account != null) { if (account != null) {
sendBroadCast(account); sendBroadCast(account);
binding.headerProgress.setVisibility(View.GONE); binding.headerProgress.setVisibility(View.GONE);
currentAccount.mastodon_account = account; Helper.setCurrentAccountMastodonAccount(EditProfileActivity.this, account);
new Thread(() -> { new Thread(() -> {
try { try {
new app.fedilab.android.mastodon.client.entities.app.Account(EditProfileActivity.this).insertOrUpdate(currentAccount); new app.fedilab.android.mastodon.client.entities.app.Account(EditProfileActivity.this).insertOrUpdate(Helper.getCurrentAccount(EditProfileActivity.this));
} catch (DBException e) { } catch (DBException e) {
e.printStackTrace(); e.printStackTrace();
} }
@ -249,12 +333,18 @@ public class EditProfileActivity extends BaseBarActivity {
} }
private void sendBroadCast(Account account) { private void sendBroadCast(Account account) {
Bundle b = new Bundle(); Bundle args = new Bundle();
b.putBoolean(Helper.RECEIVE_REDRAW_PROFILE, true); args.putBoolean(Helper.RECEIVE_REDRAW_PROFILE, true);
b.putSerializable(Helper.ARG_ACCOUNT, account); args.putSerializable(Helper.ARG_ACCOUNT, account);
Intent intentBD = new Intent(Helper.BROADCAST_DATA); new CachedBundle(EditProfileActivity.this).insertBundle(args, Helper.getCurrentAccount(EditProfileActivity.this), bundleId -> {
intentBD.putExtras(b); Bundle bundle = new Bundle();
LocalBroadcastManager.getInstance(EditProfileActivity.this).sendBroadcast(intentBD); bundle.putLong(Helper.ARG_INTENT_ID, bundleId);
Intent intentBD = new Intent(Helper.BROADCAST_DATA);
intentBD.putExtras(bundle);
intentBD.setPackage(BuildConfig.APPLICATION_ID);
sendBroadcast(intentBD);
});
} }
private Intent prepareIntent() { private Intent prepareIntent() {
@ -264,7 +354,7 @@ public class EditProfileActivity extends BaseBarActivity {
intent.setType("*/*"); intent.setType("*/*");
String[] mimetypes; String[] mimetypes;
long max_size = -1; long max_size = -1;
if (instanceInfo.getMimeTypeImage().size() > 0) { if (!instanceInfo.getMimeTypeImage().isEmpty()) {
mimetypes = instanceInfo.getMimeTypeImage().toArray(new String[0]); mimetypes = instanceInfo.getMimeTypeImage().toArray(new String[0]);
max_size = instanceInfo.configuration.media_attachments.image_size_limit; max_size = instanceInfo.configuration.media_attachments.image_size_limit;
} else { } else {
@ -300,13 +390,23 @@ public class EditProfileActivity extends BaseBarActivity {
LinkedHashMap<Integer, Field.FieldParams> fields = new LinkedHashMap<>(); LinkedHashMap<Integer, Field.FieldParams> fields = new LinkedHashMap<>();
for (int i = 0; i < binding.fieldsContainer.getChildCount(); i++) { for (int i = 0; i < binding.fieldsContainer.getChildCount(); i++) {
Field.FieldParams field = new Field.FieldParams(); Field.FieldParams field = new Field.FieldParams();
field.name = ((TextInputEditText) binding.fieldsContainer.getChildAt(i).findViewById(R.id.name)).getText().toString().trim(); field.name = Objects.requireNonNull(((TextInputEditText) binding.fieldsContainer.getChildAt(i).findViewById(R.id.name)).getText()).toString().trim();
field.value = ((TextInputEditText) binding.fieldsContainer.getChildAt(i).findViewById(R.id.value)).getText().toString().trim(); field.value = Objects.requireNonNull(((TextInputEditText) binding.fieldsContainer.getChildAt(i).findViewById(R.id.value)).getText()).toString().trim();
fields.put(i, field); fields.put(i, field);
} }
return fields; return fields;
} }
List<String> getFeaturedHashtags() {
List<String> featuredHashtags = new ArrayList<>();
for (int i = 0; i < binding.featuredHashtagsContainer.getChildCount(); i++) {
String name = Objects.requireNonNull(((TextInputEditText) binding.featuredHashtagsContainer.getChildAt(i).findViewById(R.id.name)).getText()).toString().trim();
featuredHashtags.add(name);
}
return featuredHashtags;
}
@Override @Override
public boolean onOptionsItemSelected(MenuItem item) { public boolean onOptionsItemSelected(MenuItem item) {
if (item.getItemId() == android.R.id.home) { if (item.getItemId() == android.R.id.home) {
@ -316,20 +416,21 @@ public class EditProfileActivity extends BaseBarActivity {
accountsVM.updateCredentials(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, accountsVM.updateCredentials(BaseMainActivity.currentInstance, BaseMainActivity.currentToken,
binding.discoverable.isChecked(), binding.discoverable.isChecked(),
binding.bot.isChecked(), binding.bot.isChecked(),
binding.displayName.getText().toString().trim(), Objects.requireNonNull(binding.displayName.getText()).toString().trim(),
binding.bio.getText().toString(), Objects.requireNonNull(binding.bio.getText()).toString(),
binding.locked.isChecked(), binding.locked.isChecked(),
getPrivacy(), getPrivacy(),
binding.sensitive.isChecked(), binding.sensitive.isChecked(),
null, null,
getFields() getFields(),
getFeaturedHashtags()
) )
.observe(EditProfileActivity.this, account -> { .observe(EditProfileActivity.this, account -> {
if (account != null) { if (account != null) {
currentAccount.mastodon_account = account; Helper.setCurrentAccountMastodonAccount(EditProfileActivity.this, account);
new Thread(() -> { new Thread(() -> {
try { try {
new app.fedilab.android.mastodon.client.entities.app.Account(EditProfileActivity.this).insertOrUpdate(currentAccount); new app.fedilab.android.mastodon.client.entities.app.Account(EditProfileActivity.this).insertOrUpdate(Helper.getCurrentAccount(EditProfileActivity.this));
sendBroadCast(account); sendBroadCast(account);
} catch (DBException e) { } catch (DBException e) {
e.printStackTrace(); e.printStackTrace();

View file

@ -44,7 +44,6 @@ import app.fedilab.android.activities.MainActivity;
import app.fedilab.android.databinding.ActivityFiltersBinding; import app.fedilab.android.databinding.ActivityFiltersBinding;
import app.fedilab.android.databinding.PopupAddFilterBinding; import app.fedilab.android.databinding.PopupAddFilterBinding;
import app.fedilab.android.mastodon.client.entities.api.Filter; import app.fedilab.android.mastodon.client.entities.api.Filter;
import app.fedilab.android.mastodon.helper.Helper;
import app.fedilab.android.mastodon.ui.drawer.FilterAdapter; import app.fedilab.android.mastodon.ui.drawer.FilterAdapter;
import app.fedilab.android.mastodon.ui.drawer.KeywordAdapter; import app.fedilab.android.mastodon.ui.drawer.KeywordAdapter;
import app.fedilab.android.mastodon.viewmodel.mastodon.FiltersVM; import app.fedilab.android.mastodon.viewmodel.mastodon.FiltersVM;
@ -63,7 +62,7 @@ public class FilterActivity extends BaseBarActivity implements FilterAdapter.Del
* @param listener - {@link FilterAdapter.FilterAction} * @param listener - {@link FilterAdapter.FilterAction}
*/ */
public static void addEditFilter(Context context, Filter filter, FilterAdapter.FilterAction listener) { public static void addEditFilter(Context context, Filter filter, FilterAdapter.FilterAction listener) {
AlertDialog.Builder dialogBuilder = new MaterialAlertDialogBuilder(context, Helper.dialogStyle()); AlertDialog.Builder dialogBuilder = new MaterialAlertDialogBuilder(context);
PopupAddFilterBinding popupAddFilterBinding = PopupAddFilterBinding.inflate(LayoutInflater.from(context)); PopupAddFilterBinding popupAddFilterBinding = PopupAddFilterBinding.inflate(LayoutInflater.from(context));
FiltersVM filtersVM = new ViewModelProvider((ViewModelStoreOwner) context).get(FiltersVM.class); FiltersVM filtersVM = new ViewModelProvider((ViewModelStoreOwner) context).get(FiltersVM.class);
dialogBuilder.setView(popupAddFilterBinding.getRoot()); dialogBuilder.setView(popupAddFilterBinding.getRoot());
@ -76,27 +75,13 @@ public class FilterActivity extends BaseBarActivity implements FilterAdapter.Del
@Override @Override
public void onItemSelected(AdapterView<?> parent1, View view, int position1, long id) { public void onItemSelected(AdapterView<?> parent1, View view, int position1, long id) {
switch (position1) { switch (position1) {
case 0: case 0 -> expire[0] = -1;
expire[0] = -1; case 1 -> expire[0] = 1800;
break; case 2 -> expire[0] = 3600;
case 1: case 3 -> expire[0] = 21600;
expire[0] = 1800; case 4 -> expire[0] = 43200;
break; case 5 -> expire[0] = 86400;
case 2: case 6 -> expire[0] = 604800;
expire[0] = 3600;
break;
case 3:
expire[0] = 21600;
break;
case 4:
expire[0] = 43200;
break;
case 5:
expire[0] = 86400;
break;
case 6:
expire[0] = 604800;
break;
} }
} }
@ -129,21 +114,12 @@ public class FilterActivity extends BaseBarActivity implements FilterAdapter.Del
if (filter.context != null) { if (filter.context != null) {
for (String val : filter.context) { for (String val : filter.context) {
switch (val) { switch (val) {
case "home": case "home" -> popupAddFilterBinding.contextHome.setChecked(true);
popupAddFilterBinding.contextHome.setChecked(true); case "public" -> popupAddFilterBinding.contextPublic.setChecked(true);
break; case "notifications" ->
case "public": popupAddFilterBinding.contextNotification.setChecked(true);
popupAddFilterBinding.contextPublic.setChecked(true); case "thread" -> popupAddFilterBinding.contextConversation.setChecked(true);
break; case "account" -> popupAddFilterBinding.contextProfiles.setChecked(true);
case "notifications":
popupAddFilterBinding.contextNotification.setChecked(true);
break;
case "thread":
popupAddFilterBinding.contextConversation.setChecked(true);
break;
case "account":
popupAddFilterBinding.contextProfiles.setChecked(true);
break;
} }
} }
} }
@ -194,7 +170,7 @@ public class FilterActivity extends BaseBarActivity implements FilterAdapter.Del
canBeSent = false; canBeSent = false;
} }
} }
if (popupAddFilterBinding.addTitle.getText().toString().trim().isEmpty()) { if (Objects.requireNonNull(popupAddFilterBinding.addTitle.getText()).toString().trim().isEmpty()) {
popupAddFilterBinding.addTitle.setError(context.getString(R.string.cannot_be_empty)); popupAddFilterBinding.addTitle.setError(context.getString(R.string.cannot_be_empty));
canBeSent = false; canBeSent = false;
} }

View file

@ -94,11 +94,8 @@ public class FollowRequestActivity extends BaseActivity {
binding.loadingNextAccounts.setVisibility(View.GONE); binding.loadingNextAccounts.setVisibility(View.GONE);
if (accountList != null && accounts != null && accounts.accounts != null && accounts.accounts.size() > 0) { if (accountList != null && accounts != null && accounts.accounts != null && accounts.accounts.size() > 0) {
int startId = 0;
//There are some statuses present in the timeline //There are some statuses present in the timeline
if (accountList.size() > 0) { int startId = accountList.size();
startId = accountList.size();
}
flagLoading = accounts.pagination.max_id == null; flagLoading = accounts.pagination.max_id == null;
accountList.addAll(accounts.accounts); accountList.addAll(accounts.accounts);
max_id = accounts.pagination.max_id; max_id = accounts.pagination.max_id;

View file

@ -21,6 +21,7 @@ import android.view.Menu;
import android.view.MenuItem; import android.view.MenuItem;
import android.view.View; import android.view.View;
import androidx.activity.OnBackPressedCallback;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentManager;
@ -31,6 +32,9 @@ import androidx.recyclerview.widget.LinearLayoutManager;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import app.fedilab.android.BaseMainActivity; import app.fedilab.android.BaseMainActivity;
import app.fedilab.android.R; import app.fedilab.android.R;
@ -73,6 +77,7 @@ public class FollowedTagActivity extends BaseBarActivity implements FollowedTagA
.observe(FollowedTagActivity.this, tags -> { .observe(FollowedTagActivity.this, tags -> {
if (tags != null && tags.tags != null && tags.tags.size() > 0) { if (tags != null && tags.tags != null && tags.tags.size() > 0) {
tagList = new ArrayList<>(tags.tags); tagList = new ArrayList<>(tags.tags);
sortAsc(tagList);
followedTagAdapter = new FollowedTagAdapter(tagList); followedTagAdapter = new FollowedTagAdapter(tagList);
followedTagAdapter.actionOnTag = this; followedTagAdapter.actionOnTag = this;
binding.notContent.setVisibility(View.GONE); binding.notContent.setVisibility(View.GONE);
@ -82,15 +87,32 @@ public class FollowedTagActivity extends BaseBarActivity implements FollowedTagA
binding.notContent.setVisibility(View.VISIBLE); binding.notContent.setVisibility(View.VISIBLE);
} }
}); });
getOnBackPressedDispatcher().addCallback(new OnBackPressedCallback(true) {
@Override
public void handleOnBackPressed() {
if (canGoBack) {
canGoBack = false;
ThemeHelper.slideViewsToRight(binding.fragmentContainer, binding.recyclerView, () -> {
if (fragmentMastodonTimeline != null) {
fragmentMastodonTimeline.onDestroyView();
}
});
setTitle(R.string.followed_tags);
invalidateOptionsMenu();
} else {
finish();
}
}
});
} }
@Override @Override
public boolean onOptionsItemSelected(MenuItem item) { public boolean onOptionsItemSelected(MenuItem item) {
if (item.getItemId() == android.R.id.home) { if (item.getItemId() == android.R.id.home) {
onBackPressed(); getOnBackPressedDispatcher().onBackPressed();
return true; return true;
} else if (item.getItemId() == R.id.action_unfollow && tag != null) { } else if (item.getItemId() == R.id.action_unfollow && tag != null) {
AlertDialog.Builder alt_bld = new MaterialAlertDialogBuilder(FollowedTagActivity.this, Helper.dialogStyle()); AlertDialog.Builder alt_bld = new MaterialAlertDialogBuilder(FollowedTagActivity.this);
alt_bld.setTitle(R.string.action_unfollow_tag); alt_bld.setTitle(R.string.action_unfollow_tag);
alt_bld.setMessage(R.string.action_unfollow_tag_confirm); alt_bld.setMessage(R.string.action_unfollow_tag_confirm);
alt_bld.setPositiveButton(R.string.unfollow, (dialog, id) -> { alt_bld.setPositiveButton(R.string.unfollow, (dialog, id) -> {
@ -122,11 +144,16 @@ public class FollowedTagActivity extends BaseBarActivity implements FollowedTagA
AlertDialog alert = alt_bld.create(); AlertDialog alert = alt_bld.create();
alert.show(); alert.show();
} else if (item.getItemId() == R.id.action_follow_tag) { } else if (item.getItemId() == R.id.action_follow_tag) {
AlertDialog.Builder dialogBuilder = new MaterialAlertDialogBuilder(FollowedTagActivity.this, Helper.dialogStyle()); AlertDialog.Builder dialogBuilder = new MaterialAlertDialogBuilder(FollowedTagActivity.this);
PopupAddFollowedTagtBinding popupAddFollowedTagtBinding = PopupAddFollowedTagtBinding.inflate(getLayoutInflater()); PopupAddFollowedTagtBinding popupAddFollowedTagtBinding = PopupAddFollowedTagtBinding.inflate(getLayoutInflater());
dialogBuilder.setView(popupAddFollowedTagtBinding.getRoot()); dialogBuilder.setView(popupAddFollowedTagtBinding.getRoot());
popupAddFollowedTagtBinding.addTag.setFilters(new InputFilter[]{new InputFilter.LengthFilter(255)}); popupAddFollowedTagtBinding.addTag.setFilters(new InputFilter[]{new InputFilter.LengthFilter(255)});
dialogBuilder.setPositiveButton(R.string.validate, (dialog, id) -> { dialogBuilder.setPositiveButton(R.string.validate, (dialog, id) -> {
String name = Objects.requireNonNull(popupAddFollowedTagtBinding.addTag.getText()).toString().trim();
if (tagList != null && tagList.contains(new Tag(name))) {
Toasty.error(FollowedTagActivity.this, getString(R.string.tag_already_followed), Toasty.LENGTH_LONG).show();
return;
}
if (popupAddFollowedTagtBinding.addTag.getText() != null && popupAddFollowedTagtBinding.addTag.getText().toString().trim().length() > 0) { if (popupAddFollowedTagtBinding.addTag.getText() != null && popupAddFollowedTagtBinding.addTag.getText().toString().trim().length() > 0) {
tagVM.follow(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, popupAddFollowedTagtBinding.addTag.getText().toString().trim()) tagVM.follow(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, popupAddFollowedTagtBinding.addTag.getText().toString().trim())
.observe(FollowedTagActivity.this, newTag -> { .observe(FollowedTagActivity.this, newTag -> {
@ -143,8 +170,10 @@ public class FollowedTagActivity extends BaseBarActivity implements FollowedTagA
if (newTag != null) { if (newTag != null) {
tagList.add(0, newTag); tagList.add(0, newTag);
followedTagAdapter.notifyItemInserted(0); followedTagAdapter.notifyItemInserted(0);
sortAsc(tagList);
followedTagAdapter.notifyItemRangeChanged(0, tagList.size());
} else { } else {
Toasty.error(FollowedTagActivity.this, getString(R.string.toast_feature_not_supported), Toasty.LENGTH_LONG).show(); Toasty.error(FollowedTagActivity.this, getString(R.string.not_valid_tag_name), Toasty.LENGTH_LONG).show();
} }
}); });
dialog.dismiss(); dialog.dismiss();
@ -159,6 +188,9 @@ public class FollowedTagActivity extends BaseBarActivity implements FollowedTagA
return super.onOptionsItemSelected(item); return super.onOptionsItemSelected(item);
} }
private void sortAsc(List<Tag> tagList) {
Collections.sort(tagList, (obj1, obj2) -> obj1.name.compareToIgnoreCase(obj2.name));
}
@Override @Override
public boolean onCreateOptionsMenu(@NonNull Menu menu) { public boolean onCreateOptionsMenu(@NonNull Menu menu) {
@ -170,39 +202,25 @@ public class FollowedTagActivity extends BaseBarActivity implements FollowedTagA
return true; return true;
} }
@Override
public void onBackPressed() {
if (canGoBack) {
canGoBack = false;
ThemeHelper.slideViewsToRight(binding.fragmentContainer, binding.recyclerView, () -> {
if (fragmentMastodonTimeline != null) {
fragmentMastodonTimeline.onDestroyView();
}
});
setTitle(R.string.followed_tags);
invalidateOptionsMenu();
} else {
super.onBackPressed();
}
}
@Override @Override
public void click(Tag tag) { public void click(Tag tag) {
this.tag = tag; this.tag = tag;
canGoBack = true; canGoBack = true;
fragmentMastodonTimeline = new FragmentMastodonTimeline();
Bundle bundle = new Bundle();
bundle.putSerializable(Helper.ARG_SEARCH_KEYWORD, tag.name);
bundle.putSerializable(Helper.ARG_TIMELINE_TYPE, Timeline.TimeLineEnum.TAG);
setTitle(tag.name);
fragmentMastodonTimeline.setArguments(bundle);
FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction =
fragmentManager.beginTransaction();
fragmentTransaction.replace(R.id.fragment_container, fragmentMastodonTimeline);
fragmentTransaction.commit();
invalidateOptionsMenu();
ThemeHelper.slideViewsToLeft(binding.recyclerView, binding.fragmentContainer, () -> { ThemeHelper.slideViewsToLeft(binding.recyclerView, binding.fragmentContainer, () -> {
fragmentMastodonTimeline = new FragmentMastodonTimeline();
Bundle bundle = new Bundle();
bundle.putSerializable(Helper.ARG_SEARCH_KEYWORD, tag.name);
bundle.putSerializable(Helper.ARG_TIMELINE_TYPE, Timeline.TimeLineEnum.TAG);
setTitle(tag.name);
fragmentMastodonTimeline.setArguments(bundle);
FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction =
fragmentManager.beginTransaction();
fragmentTransaction.replace(R.id.fragment_container, fragmentMastodonTimeline);
fragmentTransaction.commit();
invalidateOptionsMenu();
}); });
} }
} }

View file

@ -15,8 +15,6 @@ package app.fedilab.android.mastodon.activities;
* see <http://www.gnu.org/licenses>. */ * see <http://www.gnu.org/licenses>. */
import static app.fedilab.android.BaseMainActivity.currentAccount;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.os.Handler; import android.os.Handler;
@ -28,7 +26,6 @@ import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AlertDialog;
import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelProvider;
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
@ -36,11 +33,13 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import app.fedilab.android.BaseMainActivity; import app.fedilab.android.BaseMainActivity;
import app.fedilab.android.BuildConfig;
import app.fedilab.android.R; import app.fedilab.android.R;
import app.fedilab.android.activities.MainActivity; import app.fedilab.android.activities.MainActivity;
import app.fedilab.android.databinding.ActivityHashtagBinding; import app.fedilab.android.databinding.ActivityHashtagBinding;
import app.fedilab.android.mastodon.client.entities.api.Filter; import app.fedilab.android.mastodon.client.entities.api.Filter;
import app.fedilab.android.mastodon.client.entities.api.Status; import app.fedilab.android.mastodon.client.entities.api.Status;
import app.fedilab.android.mastodon.client.entities.app.CachedBundle;
import app.fedilab.android.mastodon.client.entities.app.Pinned; import app.fedilab.android.mastodon.client.entities.app.Pinned;
import app.fedilab.android.mastodon.client.entities.app.PinnedTimeline; import app.fedilab.android.mastodon.client.entities.app.PinnedTimeline;
import app.fedilab.android.mastodon.client.entities.app.StatusDraft; import app.fedilab.android.mastodon.client.entities.app.StatusDraft;
@ -69,20 +68,31 @@ public class HashTagActivity extends BaseActivity {
private Filter.KeywordsAttributes keyword; private Filter.KeywordsAttributes keyword;
private PinnedTimeline pinnedTimeline; private PinnedTimeline pinnedTimeline;
private Pinned pinned; private Pinned pinned;
private ActivityHashtagBinding binding;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
ActivityHashtagBinding binding = ActivityHashtagBinding.inflate(getLayoutInflater()); binding = ActivityHashtagBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot()); setContentView(binding.getRoot());
Bundle b = getIntent().getExtras(); Bundle args = getIntent().getExtras();
if (b != null) { if (args != null) {
tag = b.getString(Helper.ARG_SEARCH_KEYWORD, null); long bundleId = args.getLong(Helper.ARG_INTENT_ID, -1);
new CachedBundle(HashTagActivity.this).getBundle(bundleId, Helper.getCurrentAccount(HashTagActivity.this), this::initializeAfterBundle);
} else {
initializeAfterBundle(null);
} }
if (tag == null) }
private void initializeAfterBundle(Bundle bundle) {
if (bundle != null) {
tag = bundle.getString(Helper.ARG_SEARCH_KEYWORD, null);
}
if (tag == null) {
finish(); finish();
return;
}
pinnedTag = null; pinnedTag = null;
followedTag = null; followedTag = null;
mutedTag = null; mutedTag = null;
@ -146,10 +156,10 @@ public class HashTagActivity extends BaseActivity {
invalidateOptionsMenu(); invalidateOptionsMenu();
} }
Bundle bundle = new Bundle(); Bundle bundleFragment = new Bundle();
bundle.putSerializable(Helper.ARG_TIMELINE_TYPE, Timeline.TimeLineEnum.TAG); bundleFragment.putSerializable(Helper.ARG_TIMELINE_TYPE, Timeline.TimeLineEnum.TAG);
bundle.putString(Helper.ARG_SEARCH_KEYWORD, tag); bundleFragment.putString(Helper.ARG_SEARCH_KEYWORD, tag);
Helper.addFragment(getSupportFragmentManager(), R.id.nav_host_fragment_tags, new FragmentMastodonTimeline(), bundle, null, null); Helper.addFragment(getSupportFragmentManager(), R.id.nav_host_fragment_tags, new FragmentMastodonTimeline(), bundleFragment, null, null);
binding.compose.setOnClickListener(v -> { binding.compose.setOnClickListener(v -> {
Intent intentToot = new Intent(HashTagActivity.this, ComposeActivity.class); Intent intentToot = new Intent(HashTagActivity.this, ComposeActivity.class);
StatusDraft statusDraft = new StatusDraft(); StatusDraft statusDraft = new StatusDraft();
@ -158,10 +168,14 @@ public class HashTagActivity extends BaseActivity {
List<Status> statuses = new ArrayList<>(); List<Status> statuses = new ArrayList<>();
statuses.add(status); statuses.add(status);
statusDraft.statusDraftList = statuses; statusDraft.statusDraftList = statuses;
Bundle _b = new Bundle(); Bundle args = new Bundle();
_b.putSerializable(Helper.ARG_STATUS_DRAFT, statusDraft); args.putSerializable(Helper.ARG_STATUS_DRAFT, statusDraft);
intentToot.putExtras(_b); new CachedBundle(HashTagActivity.this).insertBundle(args, Helper.getCurrentAccount(HashTagActivity.this), bundleId -> {
startActivity(intentToot); Bundle bundleCached = new Bundle();
bundleCached.putLong(Helper.ARG_INTENT_ID, bundleId);
intentToot.putExtras(bundleCached);
startActivity(intentToot);
});
}); });
} }
@ -173,7 +187,7 @@ public class HashTagActivity extends BaseActivity {
} else if (item.getItemId() == R.id.action_add_timeline) { } else if (item.getItemId() == R.id.action_add_timeline) {
if (pinnedTag) { if (pinnedTag) {
AlertDialog.Builder unpinConfirm = new MaterialAlertDialogBuilder(HashTagActivity.this, Helper.dialogStyle()); AlertDialog.Builder unpinConfirm = new MaterialAlertDialogBuilder(HashTagActivity.this);
unpinConfirm.setMessage(getString(R.string.unpin_timeline_description)); unpinConfirm.setMessage(getString(R.string.unpin_timeline_description));
unpinConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss()); unpinConfirm.setNegativeButton(R.string.cancel, (dialog, which) -> dialog.dismiss());
unpinConfirm.setPositiveButton(R.string.yes, (dialog, which) -> { unpinConfirm.setPositiveButton(R.string.yes, (dialog, which) -> {
@ -188,18 +202,24 @@ public class HashTagActivity extends BaseActivity {
} }
pinnedTag = false; pinnedTag = false;
invalidateOptionsMenu(); invalidateOptionsMenu();
Bundle b = new Bundle(); Bundle args = new Bundle();
b.putBoolean(Helper.RECEIVE_REDRAW_TOPBAR, true); args.putBoolean(Helper.RECEIVE_REDRAW_TOPBAR, true);
Intent intentBD = new Intent(Helper.BROADCAST_DATA); Intent intentBD = new Intent(Helper.BROADCAST_DATA);
intentBD.putExtras(b); new CachedBundle(HashTagActivity.this).insertBundle(args, Helper.getCurrentAccount(HashTagActivity.this), bundleId -> {
LocalBroadcastManager.getInstance(HashTagActivity.this).sendBroadcast(intentBD); Bundle bundle = new Bundle();
dialog.dismiss(); bundle.putLong(Helper.ARG_INTENT_ID, bundleId);
intentBD.putExtras(bundle);
intentBD.setPackage(BuildConfig.APPLICATION_ID);
sendBroadcast(intentBD);
dialog.dismiss();
});
}); });
unpinConfirm.show(); unpinConfirm.show();
} else { } else {
new Thread(() -> { new Thread(() -> {
try { try {
Pinned pinned = new Pinned(HashTagActivity.this).getPinned(currentAccount); Pinned pinned = new Pinned(HashTagActivity.this).getPinned(Helper.getCurrentAccount(HashTagActivity.this));
boolean canBeAdded = true; boolean canBeAdded = true;
boolean update = true; boolean update = true;
if (pinned == null) { if (pinned == null) {
@ -233,16 +253,25 @@ public class HashTagActivity extends BaseActivity {
tagTimeline.any.add(stripTag.trim()); tagTimeline.any.add(stripTag.trim());
pinnedTimeline.tagTimeline = tagTimeline; pinnedTimeline.tagTimeline = tagTimeline;
pinned.pinnedTimelines.add(pinnedTimeline); pinned.pinnedTimelines.add(pinnedTimeline);
if (pinned.instance == null || pinned.user_id == null) {
pinned.instance = MainActivity.currentInstance;
pinned.user_id = MainActivity.currentUserID;
}
if (update) { if (update) {
new Pinned(HashTagActivity.this).updatePinned(pinned); new Pinned(HashTagActivity.this).updatePinned(pinned);
} else { } else {
new Pinned(HashTagActivity.this).insertPinned(pinned); new Pinned(HashTagActivity.this).insertPinned(pinned);
} }
Bundle b = new Bundle(); Bundle args = new Bundle();
b.putBoolean(Helper.RECEIVE_REDRAW_TOPBAR, true); args.putBoolean(Helper.RECEIVE_REDRAW_TOPBAR, true);
Intent intentBD = new Intent(Helper.BROADCAST_DATA); Intent intentBD = new Intent(Helper.BROADCAST_DATA);
intentBD.putExtras(b); new CachedBundle(HashTagActivity.this).insertBundle(args, Helper.getCurrentAccount(HashTagActivity.this), bundleId -> {
LocalBroadcastManager.getInstance(HashTagActivity.this).sendBroadcast(intentBD); Bundle bundle = new Bundle();
bundle.putLong(Helper.ARG_INTENT_ID, bundleId);
intentBD.putExtras(bundle);
intentBD.setPackage(BuildConfig.APPLICATION_ID);
sendBroadcast(intentBD);
});
pinnedTag = true; pinnedTag = true;
invalidateOptionsMenu(); invalidateOptionsMenu();
} catch (DBException e) { } catch (DBException e) {
@ -351,7 +380,7 @@ public class HashTagActivity extends BaseActivity {
pin.setIcon(R.drawable.tag_pin_off); pin.setIcon(R.drawable.tag_pin_off);
pin.setTitle(getString(R.string.unpin_tag)); pin.setTitle(getString(R.string.unpin_tag));
} else { } else {
pin.setTitle(getString(R.string.unpin_tag)); pin.setTitle(getString(R.string.pin_tag));
pin.setIcon(R.drawable.tag_pin); pin.setIcon(R.drawable.tag_pin);
} }
} else { } else {

View file

@ -37,6 +37,8 @@ import androidx.preference.PreferenceManager;
import com.bumptech.glide.Glide; import com.bumptech.glide.Glide;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import java.util.Objects;
import app.fedilab.android.BaseMainActivity; import app.fedilab.android.BaseMainActivity;
import app.fedilab.android.R; import app.fedilab.android.R;
import app.fedilab.android.activities.MainActivity; import app.fedilab.android.activities.MainActivity;
@ -50,7 +52,6 @@ import app.fedilab.android.mastodon.viewmodel.mastodon.InstancesVM;
public class InstanceActivity extends DialogFragment { public class InstanceActivity extends DialogFragment {
ActivityInstanceBinding binding; ActivityInstanceBinding binding;
private boolean applyMaxChar = false;
@NonNull @NonNull
@Override @Override
@ -78,19 +79,23 @@ public class InstanceActivity extends DialogFragment {
binding.about.setOnClickListener(v -> Helper.openBrowser(requireActivity(), "https://" + MainActivity.currentInstance + "/about")); binding.about.setOnClickListener(v -> Helper.openBrowser(requireActivity(), "https://" + MainActivity.currentInstance + "/about"));
binding.privacy.setOnClickListener(v -> Helper.openBrowser(requireActivity(), "https://" + MainActivity.currentInstance + "/privacy-policy")); binding.privacy.setOnClickListener(v -> Helper.openBrowser(requireActivity(), "https://" + MainActivity.currentInstance + "/privacy-policy"));
int maxCharCustom = sharedpreferences.getInt(getString(R.string.SET_MAX_INSTANCE_CHAR) + MainActivity.currentInstance, -1);
if (maxCharCustom != -1) {
binding.maxChar.setText(String.valueOf(maxCharCustom));
}
binding.close.setOnClickListener(view -> { binding.close.setOnClickListener(view -> {
if (applyMaxChar) { String max_char = Objects.requireNonNull(binding.maxChar.getText()).toString();
String max_char = binding.maxChar.getText().toString(); SharedPreferences.Editor editor = sharedpreferences.edit();
if (!max_char.isEmpty()) {
SharedPreferences.Editor editor = sharedpreferences.edit(); try {
if (!max_char.isEmpty()) { editor.putInt(getString(R.string.SET_MAX_INSTANCE_CHAR) + MainActivity.currentInstance, Integer.parseInt(max_char));
try { editor.apply();
editor.putInt(getString(R.string.SET_MAX_INSTANCE_CHAR) + MainActivity.currentInstance, Integer.parseInt(max_char)); } catch (Exception ignored) {
}
} else {
editor.putInt(getString(R.string.SET_MAX_INSTANCE_CHAR) + MainActivity.currentInstance, -1);
editor.apply(); editor.apply();
} catch (Exception ignored) {
} }
}
}
requireDialog().dismiss(); requireDialog().dismiss();
} }
@ -107,8 +112,6 @@ public class InstanceActivity extends DialogFragment {
if (val != -1) { if (val != -1) {
binding.maxChar.setText(String.valueOf(val)); binding.maxChar.setText(String.valueOf(val));
} }
applyMaxChar = true;
} else { } else {
Instance instance = instanceInfo.info; Instance instance = instanceInfo.info;

Some files were not shown because too many files have changed in this diff Show more