Commit Graph

4580 Commits

Author SHA1 Message Date
sk 357104efa9 set checked on basis of fragment's account id
closes sk22#538
2023-05-31 09:42:29 +02:00
sk bb8027c7ef open externally opened content in main activity
closes sk22#533
2023-05-31 01:44:00 +02:00
sk f9dd787009 fix rules crashing the app
closes sk22#535
2023-05-31 00:19:38 +02:00
LucasGGamerM 9478258caa Merge remote-tracking branch 'weblate/master' 2023-05-30 19:04:34 -03:00
sk e005731ba6 theming support for m3 colors 2023-05-30 23:52:26 +02:00
sk 18ae3f4f61 Merge branch 'pr/FineFindus/531'
Co-authored-by: FineFindus <63370021+finefindus@users.noreply.github.com>
2023-05-30 22:46:08 +02:00
sk 10dfe0327e use new account switcher 2023-05-30 22:42:56 +02:00
Jacoco 1d1e921137
Fix GoToSocial crash when markers are null (#529) 2023-05-30 19:07:34 +02:00
sk 0985a4c968 getInstance returns optional 2023-05-30 18:57:17 +02:00
sk 8df589c103 safer file writing 2023-05-30 18:56:55 +02:00
LucasGGamerM 3ac9c09338 feat: shows toolbar when scrolled past title
This still needs to be redone with the same style as the profile fragment
2023-05-30 13:19:04 -03:00
FineFindus 71b6b2f451
feat(share): add option open URL 2023-05-30 16:33:09 +02:00
FineFindus d85940ded8
fix: re-add removed imports 2023-05-30 16:28:04 +02:00
LucasGGamerM e9e491c0b0
feat: redesign account picker sheet 2023-05-30 16:25:04 +02:00
FineFindus c73562fb75
feat(external-share): use AccountSwitcherSheet 2023-05-30 16:24:43 +02:00
FineFindus 3feacb59c8
feat(external-share): use transparent background 2023-05-30 16:19:28 +02:00
FineFindus a033d711c1
feat: show page URL in recents 2023-05-30 15:40:20 +02:00
LucasGGamerM ba31afda27 fix: fixes wrong status bar background color on light mode in settings
This addresses #204
2023-05-29 20:24:13 -03:00
Tânia Marques Silva 3029c37755
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (286 of 286 strings)

Translation: Moshidon/values_sk
Translate-URL: https://translate.codeberg.org/projects/moshidon/values_sk/pt_PT/
2023-05-29 18:37:37 +00:00
Andrewblasco 728d55ffa0
Translated using Weblate (Spanish)
Currently translated at 100.0% (286 of 286 strings)

Translation: Moshidon/values_sk
Translate-URL: https://translate.codeberg.org/projects/moshidon/values_sk/es/
2023-05-29 18:37:37 +00:00
legiz 9b84333868
Translated using Weblate (Russian)
Currently translated at 85.9% (61 of 71 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/ru/
2023-05-29 18:37:36 +00:00
Tânia Marques Silva 9525893bf7
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (71 of 71 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/pt_PT/
2023-05-29 18:37:36 +00:00
Oliebol daf15dcc62
Translated using Weblate (Dutch)
Currently translated at 70.4% (50 of 71 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/nl/
2023-05-29 18:37:36 +00:00
Andrewblasco b3e2b69b70
Translated using Weblate (Spanish)
Currently translated at 100.0% (71 of 71 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/es/
2023-05-29 18:37:36 +00:00
sk 32081b71f5 throw exception if no instance for session 2023-05-29 13:31:42 +02:00
sk 7849c34d1f fix account list alignment 2023-05-29 13:25:14 +02:00
sk 24977ec613 bump version 2023-05-29 13:03:18 +02:00
sk 786bbab0d5 Merge remote-tracking branch 'weblate/main' 2023-05-29 13:01:36 +02:00
sk 1facb07c28 Merge remote-tracking branch 'upstream/l10n_master' 2023-05-29 13:01:24 +02:00
sk bba5aba22d settings icons not important for accessibility 2023-05-29 12:56:36 +02:00
sk d7b85d6eba move invalid strings 2023-05-29 12:47:38 +02:00
sk 6832bfb95c don't display blocked_by relationship
closes sk22#526
2023-05-29 12:34:53 +02:00
sk 4c379b67a3 only auto-open search on pleroma instances 2023-05-29 03:33:31 +02:00
sk 3a2ae1ce71 clean up preferences when removing account 2023-05-29 02:40:15 +02:00
sk c80afaf9c0 avoid sessions without instance info 2023-05-29 02:40:02 +02:00
sk 31d22bac47 remove unused method 2023-05-29 02:38:52 +02:00
Jacoco b5f6687925
More Akkoma improvements (#524)
* Only open account if domain matches
Akkoma will seemingly show results that don't match well. This checks if the domain matches before continuing

* Add "RE:" for quotes where it's missing

* Fix no hashtag history in search

* Skip not implemented discovery and select search on Pleroma

* Set proper max account fields for Pleroma

* Use Pleroma's non-standard poll limits

* Mark notifications as read properly on Pleroma

* Akkoma bubble timeline

* Respect Reply Visibility preference on all timelines

* vertically center if hashtag has no history

* only open account search result if uri equals

* add getInstance and isPleroma methods

* change timelines api, support compatibility checks

---------

Co-authored-by: sk <sk22@mailbox.org>
2023-05-29 02:37:46 +02:00
taniamarquessilva b3f25af923
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (286 of 286 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/pt_PT/
2023-05-28 20:19:30 +00:00
taniamarquessilva 78c141e946
Translated using Weblate (Portuguese)
Currently translated at 14.6% (42 of 286 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/pt/
2023-05-28 20:19:30 +00:00
taniamarquessilva b928357ff1
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (286 of 286 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/pt_PT/
2023-05-28 20:19:30 +00:00
ihor_ck c074bc57bc
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (286 of 286 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/uk/
2023-05-28 20:19:30 +00:00
Linerly 0e80c88b7d
Translated using Weblate (Indonesian)
Currently translated at 100.0% (286 of 286 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/id/
2023-05-28 20:19:30 +00:00
Choukajohn 5ffa5b01fc
Translated using Weblate (French)
Currently translated at 100.0% (286 of 286 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/fr/
2023-05-28 20:19:30 +00:00
gallegonovato 61d9929485
Translated using Weblate (Spanish)
Currently translated at 100.0% (286 of 286 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/es/
2023-05-28 20:19:30 +00:00
sk 231f19d113 ugly workaround for sk22#520
it's really, really ugly :(
2023-05-28 22:14:03 +02:00
sk 9939d99c4b Merge branch 'fix/hashtags-crash-akkoma' 2023-05-28 19:54:39 +02:00
sk 8053e8bb05 fix hashtag search crash on akkoma servers
closes mastodon#468
closes sk22#523
2023-05-28 19:51:29 +02:00
sk b7e9380bc4 enable unspecified as default formatting option
closes sk22#521
2023-05-28 14:55:53 +02:00
Jacoco 83600087e1
Fix images being stretched on Pleroma (#522)
Closes sk22#488

* Update image bounds after load when metadata is null

* Fix broken image layout in some scenarios

* Transition when image dimensions update

* Replace blurhash with accent color on Pleroma

* fall back to solid color regardless of server

* use fragment's context instead of passing it down

---------

Co-authored-by: sk <sk22@mailbox.org>
2023-05-28 14:44:23 +02:00
Clyde b3dd5a2279
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (286 of 286 strings)

Translation: Moshidon/values_sk
Translate-URL: https://translate.codeberg.org/projects/moshidon/values_sk/zh_Hans/
2023-05-28 12:27:27 +00:00
Clyde d982331e21
Translated using Weblate (Chinese (Simplified))
Currently translated at 94.9% (56 of 59 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/zh_Hans/
2023-05-28 12:27:27 +00:00
Andrewblasco 68dfab9a44
Translated using Weblate (Spanish)
Currently translated at 100.0% (59 of 59 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/es/
2023-05-28 12:27:27 +00:00
Andrewblasco c4f736a3fb
Translated using Weblate (Spanish)
Currently translated at 100.0% (286 of 286 strings)

Translation: Moshidon/values_sk
Translate-URL: https://translate.codeberg.org/projects/moshidon/values_sk/es/
2023-05-28 12:27:27 +00:00
Andrewblasco b5abc86428
Translated using Weblate (Spanish)
Currently translated at 100.0% (59 of 59 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/es/
2023-05-28 12:27:27 +00:00
Andrewblasco 6b356c4dfd
Translated using Weblate (Spanish)
Currently translated at 100.0% (48 of 48 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/es/
2023-05-28 12:27:27 +00:00
LucasGGamerM 9e6723be41 fix: fixes wrong margin on Settings Button views
This addresses a visual bug where a button item without an icon appears to be glued to the left side of the screen. This commit addresses that

cc: @sk22
2023-05-27 13:00:54 -03:00
Eugen Rochko fe84dc4823 New translations strings.xml (Chinese Simplified) 2023-05-27 16:39:55 +02:00
LucasGGamerM 08023a104c fix: fix wrong window insets on instance rules and block list fragment 2023-05-27 09:54:58 -03:00
LucasGGamerM fd97cc6e87
Merge pull request #203 from FineFindus/feat/instance-info-improvements
fix(instance-info): hide menu until loaded
2023-05-27 09:44:34 -03:00
LucasGGamerM 78e5f0f011
Merge pull request #202 from FineFindus/feat/filter-warning-click
feat: reveal filter warning on click
2023-05-27 09:41:02 -03:00
LucasGGamerM 73944675fa fix: fix compilation errors 2023-05-27 09:40:04 -03:00
LucasGGamerM c6ded3d505 Merge remote-tracking branch 'megalodon_main/main'
# Conflicts:
#	mastodon/build.gradle
#	mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java
#	mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java
#	mastodon/src/main/java/org/joinmastodon/android/fragments/ScheduledStatusListFragment.java
#	mastodon/src/main/java/org/joinmastodon/android/fragments/StatusEditHistoryFragment.java
#	mastodon/src/main/java/org/joinmastodon/android/model/Filter.java
#	mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/FileStatusDisplayItem.java
#	mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/StatusDisplayItem.java
#	mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/WarningFilteredStatusDisplayItem.java
#	mastodon/src/main/res/layout/display_item_file.xml
2023-05-27 09:31:27 -03:00
LucasGGamerM 45b97de615 feat: don't show changelog headers if changelog is empty 2023-05-27 09:16:58 -03:00
LucasGGamerM ec11a5e8e3 feat: update visual appearance settings icon 2023-05-27 09:10:24 -03:00
LucasGGamerM d71d17e5af feat: update mention reblogger automatically settings icon 2023-05-27 09:07:25 -03:00
LucasGGamerM 2d4fc2166a feat: increase top padding in theme item for consistency 2023-05-27 08:55:04 -03:00
LucasGGamerM 84ba4ea999 feat: use correct background colors in settings 2023-05-27 08:46:04 -03:00
sk c38eb545b1 use matched filter for determining warning title
fixes a bug where, when multiple filters apply, the
WarningFilteredStatusDisplayItem would not check if the warning applies to the
current context. now, matched filter is determined through the predicate
(though not exactly what a predicate is supposed to do, i guess) and passed
down to the WarningFilteredStatusDisplayItem. cc @LucasGGamerM
2023-05-27 13:09:36 +02:00
FineFindus b2d4a5aab0
fix(instance.info): hide menu until loaded 2023-05-27 11:21:09 +02:00
FineFindus 201995849c
feat: reveal filter warning on click 2023-05-27 11:12:43 +02:00
sk 1fc2f81dab fix creating posts on other people's account timelines
closes sk22#508
2023-05-27 01:50:10 +02:00
LucasGGamerM 69ddc95c2c fix crash when notification markers are null
This would happen when an account had 0 notifications and received one.
After which, the user would tap on the notification icon on the tab bar
and the app would crash.
2023-05-27 01:40:05 +02:00
sk a6ac68499c use url as fallback for remote url 2023-05-27 01:37:10 +02:00
sk c10d7cfee4 use remote url; file name as fallback for alt text 2023-05-27 01:32:49 +02:00
sk f933bdbc53 button with ripple for files and instance picker 2023-05-27 01:13:32 +02:00
LucasGGamerM 274bca84d9 Add display item for unknown/file attachments
Co-authored-by: LucasGGamerM <lucassggabriel@gmail.com>
2023-05-27 01:11:26 +02:00
FineFindus 1e286dbc7a
Merge branch 'feat/settings-redesign' of https://github.com/FineFindus/moshidon into feat/settings-redesign 2023-05-26 20:36:01 +02:00
FineFindus 724d872491
fix: remove theme transition
Removes the fade effect when changing themes, as took a long time to apply
2023-05-26 20:35:46 +02:00
LucasGGamerM 64d5f9190a fix: compilation problems
Uses show instead of see on strings_sk.xml
2023-05-26 15:34:20 -03:00
FineFindus f1ab6833d3
feat: add content type setting
Re-add settings from 8b502b605c\#diff-29b258979e7004d7e5473b71e91747f57a36af0e0b07e0a119968a1e8e72669f
2023-05-26 20:22:53 +02:00
FineFindus 140395f3cd
fix: use autoHideCompose variable 2023-05-26 20:14:21 +02:00
FineFindus f922e028a7
feat(settings): invert default post-divider value 2023-05-26 20:13:09 +02:00
FineFindus 9aac0c007e
feat(settings): invert post-divider setting 2023-05-26 20:13:08 +02:00
FineFindus e682cae7e7
feat(settings/notifications): improve sub-header title 2023-05-26 20:13:08 +02:00
FineFindus f14977ba24
feat(settings): add summary to reblog action 2023-05-26 20:13:08 +02:00
FineFindus e8290e2f78
feat(settings): move reblog notificaiton to notification page 2023-05-26 20:13:08 +02:00
FineFindus 197110cfaf
feat(settings): improve unlisted reply default title and summary 2023-05-26 20:13:08 +02:00
FineFindus f320ac066c
feat(settings): improve autoplay gif summary 2023-05-26 20:12:42 +02:00
FineFindus 78acb5e7ea
feat(settings): invert double tab to swipe setting 2023-05-26 20:12:41 +02:00
FineFindus a14e864731
feat(settings): allow complete button row to be clicked 2023-05-26 20:12:41 +02:00
FineFindus a87da87aad
refactor(settings): adjust amoled summary 2023-05-26 20:12:41 +02:00
FineFindus 8befbb5a62
refactor(settings): adjust icon color 2023-05-26 20:12:41 +02:00
FineFindus 28893bc50b
refactor(settings): remove unused code 2023-05-26 20:12:34 +02:00
FineFindus b73ef28f12
feat(settings): move interaction count to timeline page 2023-05-26 20:00:51 +02:00
FineFindus a71dc7f481
feat(settings): move uniform icon to notifications page 2023-05-26 20:00:51 +02:00
FineFindus de4e7c1822
refactor(settings/about): use local var 2023-05-26 20:00:51 +02:00
FineFindus 62090475f9
fix(settings): remove duplicated auto-hide compose 2023-05-26 20:00:46 +02:00
FineFindus 3c8715a7c4
feat(settings): add giant header to all subpages 2023-05-26 19:55:17 +02:00
FineFindus 4e188503a2
feat(settings): add summary to ambiguous settings 2023-05-26 19:55:14 +02:00
FineFindus 6fb7e97f13
feat(settings): use secondary text color for summary 2023-05-26 19:54:36 +02:00