Commit Graph

4461 Commits

Author SHA1 Message Date
FineFindus e94364ecf6
feat(settings): use default text size for switch summary 2023-05-26 19:54:05 +02:00
FineFindus 1fab3d3743
feat(settings): add summary label to switch 2023-05-26 19:54:05 +02:00
FineFindus 35477055a9
refactor(settings): add red header item 2023-05-26 19:54:05 +02:00
FineFindus e585f1df29
refactor(settings): move about to about page 2023-05-26 19:54:05 +02:00
FineFindus 6311d18751
refactor: move account and instance setttings to account page 2023-05-26 19:54:05 +02:00
FineFindus d29eef51ca
refactor: move miscellanious settings 2023-05-26 19:54:05 +02:00
FineFindus c9692ef27b
refactor: move notifications to NotificationsFragment 2023-05-26 19:54:05 +02:00
FineFindus c36d3e9011
refactor: move timelines to TimelineFragment 2023-05-26 19:54:04 +02:00
FineFindus 9409bbb9b2
refactor: add compose behaviour to behaviour page 2023-05-26 19:54:04 +02:00
FineFindus 3497747015
refactor: move behaviour settings to behaviour page 2023-05-26 19:53:55 +02:00
FineFindus 6343da1410
refactor: use SettingsCategory to move between pages 2023-05-26 19:41:13 +02:00
FineFindus 78a0c60600
fix: move method to fix compiler error 2023-05-26 19:41:13 +02:00
LucasGGamerM ea152234a9
feat: trying to add the theme settings. Still missing some things
What is an enclosed class? What am I missing?
2023-05-26 19:41:13 +02:00
LucasGGamerM 03612fcf64
feat: add settings category view holder
Also adds a small proof of concept
2023-05-26 19:41:13 +02:00
LucasGGamerM a6a67512f4
feat: add all previously missing view holders
This includes: Updater View holder, theme view holder and notification policy view holder
2023-05-26 19:41:13 +02:00
FineFindus dc9e977d40
refactor: add abstract settingsbase fragment 2023-05-26 19:41:13 +02:00
FineFindus 5657df8db2
feat: move Settingsfragment to settings folder 2023-05-26 19:41:07 +02:00
sk 6abfe6ddd7 add unit tests for status filter predicate 2023-05-26 17:02:39 +02:00
sk ab7489a049 bump version 2023-05-26 02:37:32 +02:00
sk a6fd6ae135 add javadoc 2023-05-26 02:37:25 +02:00
Espasant3 b30d4a025f
Translated using Weblate (Galician)
Currently translated at 99.6% (274 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/gl/
2023-05-26 00:16:40 +00:00
Daudix_UFO 5b747bfc74
Translated using Weblate (Russian)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/ru/
2023-05-26 00:16:40 +00:00
gallegonovato a410d19114
Translated using Weblate (Spanish)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/es/
2023-05-26 00:16:39 +00:00
ihor_ck 96e4a4933c
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/uk/
2023-05-26 00:16:39 +00:00
Eryk Michalak 630064500d
Translated using Weblate (Polish)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/pl/
2023-05-26 00:16:39 +00:00
Giacomo R. 9543294996
Translated using Weblate (Italian)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/it/
2023-05-26 00:16:39 +00:00
Linerly 56e9cc3406
Translated using Weblate (Indonesian)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/id/
2023-05-26 00:16:39 +00:00
Choukajohn be569cbe72
Translated using Weblate (French)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/fr/
2023-05-26 00:16:39 +00:00
sk 99f0817bdb generalize filtering logic 2023-05-26 02:07:50 +02:00
sk 220cd35d82 fix context not checked for warnings
closes sk22#518
2023-05-25 21:25:09 +02:00
sk 07f4ef1697 remove unused imports 2023-05-25 21:22:27 +02:00
sk b1e0dc5843 show compose button when switching tab
closes sk22#506
2023-05-25 20:26:59 +02:00
sk ec556511e6 Merge branch 'fix-restored-tab-selection' 2023-05-25 19:57:34 +02:00
sk 85c3d9f65f fix wrong tab being selected on restore 2023-05-25 19:51:45 +02:00
sk a7ebadf269 increase read timeout
re: sk22#392
2023-05-25 15:11:40 +02:00
sk 94c09d46c2 fix contentType being a required field
re: sk22#516
2023-05-25 14:53:26 +02:00
LucasGGamerM 889fbc688d fix: removes @RequiredField for contentType
Removes that, as its null on mastodon, and makes editing statuses impossible
2023-05-25 11:45:32 +00:00
LucasGGamerM 85d971242e feat: use less margin on compose screen bottom view
This is due to the new option to use post content types uses a new icon in there, making it cram the post button into the side. Which is not good
2023-05-23 20:20:14 -03:00
LucasGGamerM 23f82197c6
Merge pull request #200
Feat: Instance info
2023-05-23 20:08:36 -03:00
LucasGGamerM b4b16e2f37 feat: use Moshidon user agent instead of Megalodon's 2023-05-23 19:49:34 -03:00
LucasGGamerM 7dab63cfe8 fix: using new string name instead of old one to allow compilation
Git was screwing with me, so I copied the file from their repo and yanked it in here
2023-05-23 19:42:33 -03:00
LucasGGamerM 6548751bb0 Merge remote-tracking branch 'megalodon_weblate/main'
# Conflicts:
#	mastodon/src/main/res/values-es-rES/strings_sk.xml
#	mastodon/src/main/res/values-pl-rPL/strings_sk.xml
#	mastodon/src/main/res/values-uk-rUA/strings_sk.xml
2023-05-23 19:31:49 -03:00
LucasGGamerM 65c158391f Merge remote-tracking branch 'megalodon_main/main'
# Conflicts:
#	mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java
#	mastodon/src/main/res/layout/fragment_compose.xml
2023-05-23 19:30:52 -03:00
FineFindus 556fc4d31e
feat(instance-info): use about url 2023-05-23 21:55:26 +02:00
FineFindus c673f08aec
fix(instance-info): race condition for collapsing description 2023-05-23 21:39:33 +02:00
FineFindus 818024d8dd
fix: instance info refresh not working 2023-05-23 21:34:31 +02:00
FineFindus cb3b893f72
refactor: move fake attachment to attachment class 2023-05-23 20:02:43 +02:00
FineFindus f482b4bfe9
feat: add weekly activities api request 2023-05-23 18:43:24 +02:00
FineFindus 333c47339d
fix(instance-info): remove space below description 2023-05-23 16:07:07 +02:00
FineFindus a9283bfec8
fix(instance-info): only collapse long descriptions 2023-05-23 16:05:16 +02:00
sk f6f08d176c change user-agent string 2023-05-23 10:26:48 +02:00
FineFindus 4c9f29e949
refactor(instance-info): remove unused code 2023-05-22 22:15:28 +02:00
FineFindus 4ff5136652
feat(instance-info): show- egistration status 2023-05-22 22:05:25 +02:00
FineFindus 56835b4f2d
feat: show blocked domains 2023-05-22 21:37:56 +02:00
FineFindus c43f734101
feat(instance-info): replace moderated server icon 2023-05-22 20:29:05 +02:00
FineFindus d4e1850d8c
feat(instance-info): increase max description height 2023-05-22 20:24:55 +02:00
FineFindus 0b08072dfc
feat(instance-info): add options menu 2023-05-22 20:21:11 +02:00
sk 66cdd63496 use fedinuke block list
closes sk22#511
2023-05-22 18:04:37 +02:00
Jacoco 8b502b605c
Alternative content types (#516)
* Akkoma content types

* Default content type preference

* per-account content types, compatible with glitch

* disable content types by default, change icon

* persist content type to state

* update string

* fall back to plain text if formatting enabled

---------

Co-authored-by: sk <sk22@mailbox.org>
2023-05-22 17:56:50 +02:00
FineFindus 936a86acd7
feat: collapse long description 2023-05-22 16:41:34 +02:00
FineFindus 64fc052c55
feat: show extended description in info 2023-05-22 14:52:04 +02:00
FineFindus 9897b8bfcd
feat: add instance info fragment 2023-05-22 14:06:00 +02:00
LucasGGamerM 0b0775a86e
Translated using Weblate (Portuguese (Brazil))
Currently translated at 96.0% (264 of 275 strings)

Translation: Moshidon/values_sk
Translate-URL: https://translate.codeberg.org/projects/moshidon/values_sk/pt_BR/
2023-05-21 13:25:17 +00:00
FineFindus 73253f5f64
Translated using Weblate (German)
Currently translated at 97.9% (47 of 48 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/de/
2023-05-21 13:25:17 +00:00
Espasant3 47a5d18ee0
Translated using Weblate (Galician)
Currently translated at 99.6% (274 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/gl/
2023-05-20 14:42:56 +00:00
Daudix_UFO b3f43804b0
Translated using Weblate (Russian)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/ru/
2023-05-20 14:42:56 +00:00
gallegonovato 139ec08d9d
Translated using Weblate (Spanish)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/es/
2023-05-20 14:42:56 +00:00
ihor_ck 1aec319e1c
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/uk/
2023-05-20 14:42:56 +00:00
Eryk Michalak 9848a94853
Translated using Weblate (Polish)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/pl/
2023-05-20 14:42:56 +00:00
Giacomo R. 18ed3b44b4
Translated using Weblate (Italian)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/it/
2023-05-20 14:42:56 +00:00
Linerly a4043cc0e5
Translated using Weblate (Indonesian)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/id/
2023-05-20 14:42:56 +00:00
Choukajohn 2b94d0c147
Translated using Weblate (French)
Currently translated at 100.0% (275 of 275 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/fr/
2023-05-20 14:42:56 +00:00
LucasGGamerM 7e6395192b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (48 of 48 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/pt_BR/
2023-05-20 13:31:11 +00:00
LucasGGamerM 31db1cae7c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (48 of 48 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/pt_BR/
2023-05-20 13:29:12 +00:00
Linerly 2cd107b400
Translated using Weblate (Indonesian)
Currently translated at 65.2% (30 of 46 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/id/
2023-05-20 13:26:04 +00:00
ca eef4f42203
Translated using Weblate (Catalan)
Currently translated at 60.8% (28 of 46 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/ca/
2023-05-20 13:26:04 +00:00
nitrogenez47ab3e44720c4675 7eba69f574
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (275 of 275 strings)

Translation: Moshidon/values_sk
Translate-URL: https://translate.codeberg.org/projects/moshidon/values_sk/uk/
2023-05-20 13:26:04 +00:00
Andrewblasco cd226125cd
Translated using Weblate (Spanish)
Currently translated at 100.0% (46 of 46 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/es/
2023-05-20 13:26:04 +00:00
Pegasus89 1f543b4aa5
Translated using Weblate (Croatian)
Currently translated at 94.5% (260 of 275 strings)

Translation: Moshidon/values_sk
Translate-URL: https://translate.codeberg.org/projects/moshidon/values_sk/hr/
2023-05-20 13:26:04 +00:00
OwenP bd752824d9
Translated using Weblate (French)
Currently translated at 71.7% (33 of 46 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/fr/
2023-05-20 13:26:04 +00:00
Tyketc a67dcbbf66
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (275 of 275 strings)

Translation: Moshidon/values_sk
Translate-URL: https://translate.codeberg.org/projects/moshidon/values_sk/zh_Hans/
2023-05-20 13:26:04 +00:00
Tyketc caf3ab5ce1
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (46 of 46 strings)

Translation: Moshidon/values
Translate-URL: https://translate.codeberg.org/projects/moshidon/values/zh_Hans/
2023-05-20 13:26:04 +00:00
Eryk Michalak e549636645
Translated using Weblate (Polish)
Currently translated at 100.0% (275 of 275 strings)

Translation: Moshidon/values_sk
Translate-URL: https://translate.codeberg.org/projects/moshidon/values_sk/pl/
2023-05-20 13:26:04 +00:00
Andrewblasco 3e2c3f40c7
Translated using Weblate (Spanish)
Currently translated at 100.0% (275 of 275 strings)

Translation: Moshidon/values_sk
Translate-URL: https://translate.codeberg.org/projects/moshidon/values_sk/es/
2023-05-20 13:26:04 +00:00
LucasGGamerM 40e20ead44
Merge pull request #195
feat: hide reblogs count on non-rebloggable status
2023-05-20 10:05:32 -03:00
LucasGGamerM dfeba71abe
Merge pull request #196 from FineFindus/feat/unfollow-confirmation
Feat: show unfollow confirmation dialog
2023-05-20 09:54:06 -03:00
FineFindus 2c0ec28803
Panic responder (#512)
* feat: add panic responder

* refactor: logOut before removing session

* fix(panic): close app after logOut to avoid crash

* build: reset gradle.properties
2023-05-20 13:20:25 +02:00
LucasGGamerM 74b06a4997 fix: crash when account.note field is null
This sometimes happens on calckey. And this fixes the crash
2023-05-19 11:04:39 -03:00
LucasGGamerM 346610dd04
fix: make note not a RequiredField in account
This was making some profiles with no description not load under CalcKey
2023-05-18 20:43:00 -03:00
LucasGGamerM 37cdc7116d Merge branch 'master' of https://github.com/LucasGGamerM/moshidon 2023-05-16 18:33:05 -03:00
LucasGGamerM d403f4ef01 Merge remote-tracking branch 'megalodon_main/main'
# Conflicts:
#	mastodon/build.gradle
#	mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/MediaGridStatusDisplayItem.java
2023-05-16 18:26:23 -03:00
FineFindus 7f7eed1dec
fix: add missing string 2023-05-16 18:26:24 +02:00
FineFindus 4843d574ca
feat: show confirmation dialog on unfollow 2023-05-16 18:21:10 +02:00
FineFindus 0f0291074e
refactor: remove seding duplicated follow request 2023-05-16 16:52:52 +02:00
LucasGGamerM 4e143abfb9
fix: fix compilation problem caused by typo
I did the latest commits from my chromebook, which I accidentally typed the wrong variable name.
2023-05-16 11:29:38 -03:00
LucasGGamerM 558c5fba56
fix: fix crash on profile when saving a note fails
This fixes a crash on calckey, where notes dont exist
2023-05-16 11:24:37 -03:00
FineFindus e50df3ea6d
feat: hide bossts on non-boostable status 2023-05-16 16:18:56 +02:00
FineFindus 4383b11947
refactor: move bosst check to status 2023-05-16 16:18:02 +02:00
LucasGGamerM c3b5bb409b fix: fix crash on calckey on profile reload
Adds null check in account avatar/header load function
2023-05-15 19:54:13 -03:00
Jacoco a9ab9cb249
Fix crashes on Calckey and GoToSocial (#515)
* Fix crashes on calckey and gts

* Use url if previewUrl is null
2023-05-14 23:26:03 +02:00