Commit Graph

7783 Commits

Author SHA1 Message Date
LucasGGamerM e8ce2a7e35 fix(account-sheet): properly check if the account is active
I LOVE RACE CONDITIONS :D
2024-06-25 16:53:22 -03:00
FineFindus 76030c041c
fix: block domains in block list
Although a request is checked for a blocked domain, it is not actually
blocked.
2024-06-21 21:23:00 +02:00
FineFindus 75bc0aa052
feat: update internal block list 2024-06-21 19:05:32 +02:00
LucasGGamerM 66c9e0d908 fix(wrong-tab-selected-on-back): set the correct tab in after going back from a notification
Fixes #388
2024-06-16 10:37:50 -03:00
LucasGGamerM 0bdb23e462
Merge pull request #429 from FineFindus/feat/trending-links-timeline
feat(Discover): add Timeline to trending links
2024-06-16 09:44:13 -03:00
LucasGGamerM d9ce0e6d31
Merge pull request #428 from FineFindus/fix/draft-error
fix(StatusDisplayItem): explictly copy filter list
2024-06-16 09:42:38 -03:00
FineFindus aa3c8b5812
feat(Discover/TrendingLinkTimelineFragment): support prefilled compose text 2024-06-15 19:02:34 +02:00
FineFindus 4392ce20b6
feat(Discover/TrendingLinks): disable timeline on non 4.3.0 servers 2024-06-15 18:57:59 +02:00
FineFindus d5085c5899
feat(Discover): add Timeline to trending links
Adds a timeline of statuses that posted about a trending link.
See https://github.com/mastodon/mastodon/pull/30381 for more details.
2024-06-15 18:49:47 +02:00
FineFindus 9a1668a29a
fix(StatusDisplayItem): explictly copy filter list
Fixes an issue, where the app could crash when trying to add client-side
filters to an immutable list. This was the case for viewing scheduled
statuses
2024-06-15 18:44:38 +02:00
LucasGGamerM 4d598bd2fe
Merge pull request #425 from FineFindus/fix/account-switch-reload
fix(AccountSwitcherSheet): only restart on different accounts
2024-06-14 14:10:24 -03:00
FineFindus f9f8c4a9ef
fix(ErrorStatusDisplayItem): disable open in browser button on null URL
Disables the Open in Browser, if the URL is null, as otherwise the app
would crash when trying to open the null URL.
2024-06-13 21:25:14 +02:00
FineFindus 14e6187efc
feat(ErrorDisplayItem): improve UI/UX with new design
Updates the design of the ErrorStatusDisplayItem to be more
user-friendly. The new design displays an error message indicating that
an error has occurred while attempting to display the item. It then
offers the choice of either view the item in the browser or copy the
error details.
2024-06-13 20:43:29 +02:00
FineFindus bd88606c48
fix(AccountSwitcherSheet): only restart on different accounts
Changes the AccountSwitcherSheet from always restarting the application
to only restarting if a different account is selected. This reduces the
friction of accidentally clicking on the same account.
2024-06-13 19:22:45 +02:00
FineFindus 4c9f7fc8be
fix(HashtagTimelineFragment): display correct URL in recents menu
Fixes an issue, where the hashtag, instead of the hashtagName was displayed in the recents menu, causing the toString() function of the hashtag to be called, which inlcuded all the hashtag data, producing a faulty URL.
2024-06-13 09:34:56 +02:00
FineFindus 7ab920d943
fix: disable GroupDivider on Honor's MagicOS
They have the same invisibility bug as EMUI.
2024-06-09 08:40:45 +02:00
LucasGGamerM c8f2e7a752 fix(purple-theme): just straight up rewriting the purple theme 2024-05-30 17:26:50 -03:00
LucasGGamerM cdcc428e86 fix(#421): make out of screen poll items update when clicking the "Show results" button 2024-05-29 15:24:59 -03:00
LucasGGamerM 7bb5584dd9 fix(haptic-feedback): readd the haptic feedback settings item to all android versions 2024-05-28 13:17:30 -03:00
FineFindus b17b7afd03
revert: readd haptic feedback setting on Android 11 and lower
Some OEMs do not implement a systemwide setting for touch feedback.

This reverts commit e0a793e176.
2024-05-28 07:28:48 +02:00
LucasGGamerM e2e8173db6 fix(image-viewer): add downloading toast when sharing videos/gifs 2024-05-27 16:42:24 -03:00
LucasGGamerM 5e7f4bda82 fix(image-viewer): put the download and share buttons back on a sensible place 2024-05-27 16:38:06 -03:00
FineFindus 6cb8961639
fix(Search): display bot icon only for bots
Due to the way Android handles lists, the icon could be wrongly shown on
non-bot accounts.

Fixes https://github.com/LucasGGamerM/moshidon/issues/418.
2024-05-27 13:41:25 +02:00
LucasGGamerM 18ac0423c0
Merge pull request #414 from TheMemeSniper/fix-autoreveal-cw
fix: make autoexpand content warning option also expand cws that start with "re:"
2024-05-26 11:49:02 -03:00
LucasGGamerM d2704c1f0d
Merge pull request #416 from FineFindus/refactor/remote-interaction
refactor: deduplicate remote interactions
2024-05-26 11:47:06 -03:00
LucasGGamerM ed23b7cc13
Merge pull request #417 from FineFindus/feat/cleanup-settings
feat: cleanup settings
2024-05-26 11:44:50 -03:00
FineFindus 47ab6b5a08
fix(FooterStatusDisplayItem): implement applyInteraction 2024-05-26 16:39:37 +02:00
LucasGGamerM 70686bbbd0
Merge pull request #415 from FineFindus/refactor/sharing-img
refactor(PhotoViewer): use getFileProviderUri
2024-05-26 11:28:00 -03:00
LucasGGamerM b53997261e fix(akkoma-hashtags): an issue where akkoma for some reason needs this for hashtags to open properly 2024-05-26 10:17:26 -03:00
FineFindus efd9b1e916
feat: remove default forward reports setting 2024-05-25 11:46:25 +02:00
FineFindus b51033a421
feat: remove unused `loadRemoteAccountFollowers` setting 2024-05-25 11:36:17 +02:00
FineFindus e0a793e176
feat: remove haptic feedback setting
Haptic feedback behaviour can already be controlled from Anddroid
settings.
2024-05-25 11:31:58 +02:00
FineFindus 542c24ff75
refactor: deduplicate remote interactions 2024-05-25 11:26:45 +02:00
FineFindus 965f7c6d1d
refactor(PhotoViewer): use getFileProviderUri 2024-05-25 11:11:41 +02:00
Kaitlin 2df6d9ce60 fix: make autoexpand content warning option also expand cws that start with re: or variations 2024-05-23 20:13:28 -05:00
LucasGGamerM 5d3afc1b0e
Merge pull request #413
refactor: share img/show preview
2024-05-23 14:16:03 -03:00
Grishka 0c8f903eb6 Share sheet previews (AND-139) 2024-05-23 14:09:45 -03:00
Grishka ef23734b22 Fix #842 2024-05-22 15:34:05 -03:00
FineFindus c0ab3a47ae
feat(PhotoViewer): rich previews for image sharing 2024-05-22 19:53:57 +02:00
FineFindus f4a94bc42e
refactor(PhotoViewer): deduplicate file sharing code 2024-05-22 19:51:10 +02:00
LucasGGamerM c64d6db859
Merge pull request #409 from FineFindus/feat/improve-poll-animation
feat(Poll): scale animation based on votes
2024-05-19 10:59:38 -03:00
LucasGGamerM 730adc34dd
Merge pull request #410 from FineFindus/feat/fdroid-notification-warning
feat: warn if UP is disabled on FDroid variant
2024-05-19 10:57:31 -03:00
LucasGGamerM a082a3d325 feat(crash-status-display-item): makes the app not crash when creating the status display items
This is the first part of a 2 part patch, because crashes can still happpen when the item is being "binded", which makes it necessary to handle those errors as well, which we currently DON'T do.

Also the Error item is still needing to be better, so there is also that to work on
2024-05-19 10:20:15 -03:00
FineFindus c7820ddac8
feat: warn if UP is disabled on FDroid variant
Displays a warning in the notifications settings fragment, if
UnifiedPush is disabled (or cannot be enabled). The warning will be only
displayed on the FDroid build variant, since other versions use FCM by
default.
2024-05-19 13:36:45 +02:00
FineFindus 169fbc2d52
feat(Poll): scale animation based on votes
Updates the animation timing, to be based on the amount of votes a
option received relative to the other options. This means a option with
more votes will run longer than one with less votes. Overall this makes
the animation appear more dynamic and smoother.
2024-05-19 08:42:02 +02:00
LucasGGamerM 44e3e5faaf fix(compose-content-type-menu): hopefully fix a crash on this thing being null
Fuck java
2024-05-18 13:43:06 -03:00
LucasGGamerM 711c70af2f build: add name suffixes for F-Droid and GitHub versions 2024-05-18 13:28:30 -03:00
LucasGGamerM 1d405d9e48
Merge pull request #406
fix(ThreadFragment): pass correct account to ComposeView
2024-05-18 13:24:18 -03:00
LucasGGamerM 892ce130ca
Merge pull request #405
feat(PollOptions): animate view results
2024-05-18 13:22:24 -03:00
FineFindus 88e11f25a7
feat(settings): display filter URL in recents 2024-05-15 15:38:03 +02:00
FineFindus 6faa497569
feat(settings): display notifications URL in recents 2024-05-15 15:37:33 +02:00
FineFindus 1d45899f8c
feat(settings): display URL in recents overview 2024-05-15 15:36:47 +02:00
FineFindus 938643f9e2
fix(discover): provide WebUri for fragments
Fixes an issue, where the discover fragments did not display their URL
in the recents overview.
2024-05-15 15:35:30 +02:00
FineFindus 1ccf9bf4b7
fix(ThreadFragment): pass correct account to ComposeView
Fixes an issue, where the wrong account could be passed to the
ComposeView, when longpressing the replyBar and choosing an account.
2024-05-14 18:50:01 +02:00
FineFindus ad9b5f028d
feat(PollOptions): adjust animation curve 2024-05-12 21:29:50 +02:00
FineFindus 54202f3e8d
feat(PollOptions): animate view results 2024-05-12 20:42:28 +02:00
FineFindus d4b8c350dc
fix(CustomLocalTimeline): set WebUri with scheme 2024-05-12 13:59:47 +02:00
LucasGGamerM daaf467168 style(browser-select-setting): remove unnecessary commented out code 2024-05-12 08:11:16 -03:00
LucasGGamerM eda52d5a55 fix(browser-select-setting): remove unnecessary dialog option subtitle 2024-05-12 08:09:24 -03:00
LucasGGamerM 0700274d6b fix(browser-select-setting): don't query user's browser (excessive-permissions) 2024-05-12 08:07:36 -03:00
LucasGGamerM faee3e3dd6 fix(custom-local-timelines-filters): check if filtered status is null before iterating on them 2024-05-11 15:06:37 -03:00
LucasGGamerM 129ce09c9f fix(get-client-filters): only add client filters if status is not previously filtered 2024-05-11 14:49:13 -03:00
LucasGGamerM 368e226257 fix(get-client-filters): make client filters List modifiable, avoiding a crash when trying to modify it 2024-05-11 14:25:44 -03:00
LucasGGamerM 93321720e1
Merge pull request #399 from FineFindus/fix/apply-filter-highlight
fix: apply filter highlight
2024-05-11 14:08:29 -03:00
LucasGGamerM 96c1c036a8 feat(save-backup): use ACTION_CREATE_DOCUMENT instead of "Sharing" the backup file 2024-05-11 14:05:48 -03:00
FineFindus d1d8f2ef45
refactor(StatusDisplayItem): move client filters to AccountSession 2024-05-09 06:39:50 +02:00
LucasGGamerM 95ba52b761 fix(import-backup): check if json is not null before importing 2024-05-08 20:09:00 -03:00
LucasGGamerM 02c8a56c17
Merge pull request #400 from FineFindus/feat/import-export
feat: implement import/export of settings
2024-05-08 19:21:20 -03:00
LucasGGamerM b34a855150
Merge pull request #396 from FineFindus/fix/hashtag-timeline
fix: fallback to hashtag name
2024-05-08 19:01:12 -03:00
FineFindus b736cf2925
refactor(settings): remove debug log 2024-05-08 22:32:46 +02:00
FineFindus eea78302ab
feat(settings): implement settings import 2024-05-08 22:26:26 +02:00
FineFindus 09a7da2952
feat(settings): implement settings export 2024-05-08 22:25:01 +02:00
FineFindus ebf3b075b8
fix(StatusDisplayItem): apply filter highlight
The filter highlight was not correctly shown, as the source text was
re-parsed when creating the TextStatusDisplayItem.
2024-05-08 17:08:18 +02:00
FineFindus 28c851a630
refactor: remove StatusFilterPredicate
Removes the deprecated StatusFilterPredicate class, as it has been
replaced upstream. Client-side filters are now directly applied in the
when building a StatusDisplayItem.
2024-05-08 16:43:33 +02:00
Espasant3 58bb492461
Translated using Weblate (Galician)
Currently translated at 100.0% (419 of 419 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/gl/
2024-05-08 07:52:39 +00:00
FineFindus 00726abec1
feat(CustomLocalTimeline): set Public FitlterContext 2024-05-07 18:50:25 +02:00
FineFindus c9e93bb6a6
fix: apply filters only in appropriate context
Currently Filters in AccountSession are applied regardless of the
FilterContext.
2024-05-07 18:49:27 +02:00
FineFindus f980bba7cd
fix: fallback to hashtag name
Fixes an issue, where Hashtag timeline where created with an empty
hashtag.
2024-05-07 18:28:47 +02:00
LucasGGamerM 9e9061e29c build: bump version number 2024-05-05 16:49:48 -03:00
LucasGGamerM 70d0ba88e4 fix(custom-tabs-setting): use upstream implementation
Seriously, why do we do this?
2024-05-05 16:47:12 -03:00
LucasGGamerM 9cb48e2f25 fix(mute-confirmation-sheet-timer-dialog): use Ok instead of Save 2024-05-05 16:21:44 -03:00
LucasGGamerM 6f89dd7331 fix(photo-viewer-menu-icons): readd share button on non-status media viewers 2024-05-05 16:18:11 -03:00
LucasGGamerM a59c20d239 fix(menu-icons): disable them for android 14 and higher devices
This is due to a shitty bug with android 14 and InsetDrawables which I couldn´t fix yet
2024-05-05 16:07:26 -03:00
LucasGGamerM 3e36a72852
Merge pull request #386 from FineFindus/feat/open-about-links
feat(about): try to open links in-app
2024-05-05 16:06:22 -03:00
FineFindus 7801d28a23
refactor(SettingsServerAboutFragment): always use UiUtils.openURL 2024-05-05 21:02:40 +02:00
LucasGGamerM c2e6c802a1
Merge pull request #385 from FineFindus/feat/remote-edit-history
feat(StatusEditHistory): load remote history
2024-05-05 16:02:19 -03:00
FineFindus 2dbfe88397
feat(StatusEditHistory): display subtitle on failed remote loading 2024-05-05 21:00:07 +02:00
FineFindus 86506f9ba4
feat(about): try to open links in-app
The About screen often contains links the local accounts (e.g.
moderators, admins) instead of always opening them in the browser, try
to open them in-app first.
2024-04-30 19:56:29 +02:00
FineFindus 7269788831
feat(StatusEditHistory): load remote history
Sometimes the server sends only the latest status instead of the full
history. Try to avoid this by requesting the history directly from the
server.
2024-04-30 19:10:03 +02:00
FineFindus f7d0bda90f
fix(lists): send requests for list membership
Fixes a regression in 0af8dbf09b, where
lists memberships where not saved, as the requests where not send to the
server.
2024-04-30 18:21:23 +02:00
0ko eea350f84e
Translated using Weblate (Russian)
Currently translated at 100.0% (419 of 419 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/ru/
2024-04-27 06:18:23 +00:00
lucasmz 44bec713ae
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (419 of 419 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/pt_BR/
2024-04-27 06:18:23 +00:00
LucasGGamerM d5cd016776 fix(push-notification-receiver): check if status is null before doing stuff 2024-04-18 13:44:17 -03:00
LucasGGamerM 849172ad7f
Merge pull request #377 from FineFindus/feat/post-menu
fix(compose): disable group divider on EMUI
2024-04-17 20:17:10 -03:00
LucasGGamerM de57ceb939 fix(thread-fragment): use itemsToModify instead of items when adding the extended footer to the ThreadFragment 2024-04-17 07:44:16 -03:00
FineFindus bf36f12f79
fix(compose): disable group divider on EMUI 2024-04-16 09:15:48 +02:00
LucasGGamerM e9684441c0 Merge remote-tracking branch 'weblate/master' 2024-04-15 15:55:54 -03:00
Eugen Rochko aa4bd9d5a3 New translations strings.xml (French) 2024-04-15 15:53:22 -03:00
Eugen Rochko 86f82f88da New translations strings.xml (French) 2024-04-15 15:53:22 -03:00
Eugen Rochko fb5c8504ab New translations strings.xml (Portuguese, Brazilian) 2024-04-15 15:53:21 -03:00
Eugen Rochko cff824e745 New translations strings.xml (Portuguese, Brazilian) 2024-04-15 15:53:21 -03:00
Eugen Rochko 200583f492 New translations strings.xml (Japanese) 2024-04-15 15:53:21 -03:00
Eugen Rochko 49e8083c9a New translations strings.xml (Turkish) 2024-04-15 15:53:21 -03:00
Eugen Rochko 15fe3595a3 New translations strings.xml (Portuguese, Brazilian) 2024-04-15 15:53:20 -03:00
Eugen Rochko dd7e9be803 New translations strings.xml (Turkish) 2024-04-15 15:53:03 -03:00
Eugen Rochko 8ce7987591 New translations strings.xml (Vietnamese) 2024-04-15 15:52:54 -03:00
Eugen Rochko 0b7f5f7f64 New translations strings.xml (Basque) 2024-04-15 15:52:47 -03:00
Eugen Rochko db7d223be6 New translations strings.xml (Thai) 2024-04-15 15:52:46 -03:00
Eugen Rochko cabbc934ec New translations strings.xml (Icelandic) 2024-04-15 15:52:46 -03:00
Eugen Rochko c277a13d39 New translations strings.xml (Italian) 2024-04-15 15:52:46 -03:00
Eugen Rochko 404de46eee New translations strings.xml (French) 2024-04-15 15:52:38 -03:00
Eugen Rochko b5f062ca99 New translations strings.xml (French) 2024-04-15 15:52:37 -03:00
Eugen Rochko 6d1ef8b59d New translations strings.xml (Chinese Traditional) 2024-04-15 15:52:37 -03:00
Eugen Rochko 83ced914ef New translations strings.xml (Slovenian) 2024-04-15 15:52:37 -03:00
Eugen Rochko 08a468c56f New translations strings.xml (Dutch) 2024-04-15 15:52:31 -03:00
Eugen Rochko 66cb74249e New translations strings.xml (French) 2024-04-15 15:52:31 -03:00
Eugen Rochko 2d10387404 New translations strings.xml (Dutch) 2024-04-15 15:52:31 -03:00
Eugen Rochko 60de667feb New translations strings.xml (Icelandic) 2024-04-15 15:52:25 -03:00
Eugen Rochko d01fa27f85 New translations strings.xml (Icelandic) 2024-04-15 15:52:24 -03:00
Eugen Rochko 56560e741c New translations strings.xml (French) 2024-04-15 15:52:17 -03:00
Eugen Rochko 3d57954866 New translations strings.xml (French) 2024-04-15 15:52:17 -03:00
Eugen Rochko dab3ad79ed New translations strings.xml (Lithuanian) 2024-04-15 15:51:20 -03:00
Eugen Rochko 0d9ac99313 New translations strings.xml (Basque) 2024-04-15 15:51:12 -03:00
Eugen Rochko 2883881402 New translations strings.xml (Armenian) 2024-04-15 15:51:04 -03:00
Eugen Rochko 760cfa0b9f New translations strings.xml (Armenian) 2024-04-15 15:51:04 -03:00
Eugen Rochko ceb89e4dd7 New translations strings.xml (Armenian) 2024-04-15 15:51:04 -03:00
Eugen Rochko f3c9b4e2cf New translations strings.xml (Armenian) 2024-04-15 15:51:03 -03:00
Eugen Rochko cc07c539e0 New translations strings.xml (Japanese) 2024-04-15 15:50:50 -03:00
Eugen Rochko 57ff23e8c1 New translations strings.xml (Chinese Traditional) 2024-04-15 15:50:45 -03:00
Eugen Rochko bfe6559690 New translations strings.xml (Russian) 2024-04-15 15:50:32 -03:00
Eugen Rochko 138e633acd New translations strings.xml (Czech) 2024-04-15 15:50:27 -03:00
Eugen Rochko 68ab66bed7 New translations strings.xml (Czech) 2024-04-15 15:50:26 -03:00
Eugen Rochko f22de651c9 New translations strings.xml (Greek) 2024-04-15 15:50:20 -03:00
Eugen Rochko 5a46ae8d7b New translations strings.xml (Greek) 2024-04-15 15:50:19 -03:00
Eugen Rochko 297c37a72e New translations strings.xml (Hungarian) 2024-04-15 15:50:14 -03:00
Eugen Rochko a6f654cb36 New translations strings.xml (Hungarian) 2024-04-15 15:50:14 -03:00
Eugen Rochko f6a844138b New translations strings.xml (Thai) 2024-04-15 15:50:09 -03:00
Eugen Rochko 2d857f4f1b New translations strings.xml (Chinese Traditional) 2024-04-15 15:38:04 -03:00
Eugen Rochko 915f2ca108 New translations strings.xml (Slovenian) 2024-04-15 15:38:04 -03:00
Eugen Rochko cd49b5f0b4 New translations strings.xml (Japanese) 2024-04-15 15:38:04 -03:00
Eugen Rochko 7d22f93b5d New translations strings.xml (Spanish) 2024-04-15 15:38:04 -03:00
Eugen Rochko da74ae0a7c New translations strings.xml (Spanish) 2024-04-15 15:37:51 -03:00
Eugen Rochko d67ab02443 New translations strings.xml (Spanish) 2024-04-15 15:37:50 -03:00
Eugen Rochko c821326326 New translations strings.xml (Slovenian) 2024-04-15 15:37:44 -03:00
Eugen Rochko 464c80ed8f New translations strings.xml (Japanese) 2024-04-15 15:37:37 -03:00
Eugen Rochko 4adf250645 New translations strings.xml (Japanese) 2024-04-15 15:37:37 -03:00
Eugen Rochko 190755d2cc New translations strings.xml (Chinese Traditional) 2024-04-15 15:37:31 -03:00
Eugen Rochko 6deae2341b New translations strings.xml (Chinese Traditional) 2024-04-15 15:37:30 -03:00
Eugen Rochko a23b39255d New translations strings.xml (Kabyle) 2024-04-15 15:37:23 -03:00
Eugen Rochko 20378cc1c5 New translations strings.xml (Scottish Gaelic) 2024-04-15 15:37:22 -03:00