Commit Graph

9201 Commits

Author SHA1 Message Date
FineFindus 94ce329f49
fix(ErrorStatusDisplayItem): disable button in onBind
Fixes a NullPointerException, where the `item` was null in the
constructor, ironically causing the ErrorStatusDisplayItem to
crash immediately.
2024-07-06 13:35:59 +02:00
FineFindus a67c8b36b1
refactor(StatusDisplayItem/quote): use regex to find last URL 2024-07-06 13:35:14 +02:00
FineFindus ff90e21e86
feat(StatusDisplayItem/Quote): hide non-official quote mentions
Hides the URL, with optional 'RE:' prefix and whitespace, that is used to construct non-official quotes.
2024-07-06 13:30:25 +02:00
FineFindus 5fd2e322f6
fix(StatusDisplayItem): don't display self-referential quotes 2024-07-06 12:53:38 +02:00
FineFindus cdd9b0553f
refactor(StatusDisplayItem): rebuild StatusItems with quote 2024-07-06 12:47:40 +02:00
FineFindus 6157d4942a
refactor(StatusDisplayItem): compile patter outside of function 2024-07-06 11:07:43 +02:00
FineFindus e68e870a7c
fix(StatusDisplayItem): check if headerlist is empty 2024-07-06 08:25:11 +02:00
LucasGGamerM 0788b03828 fix(preview-quote-toots): fix the regex, and also use stripped text
I sometimes forget how things should work
2024-07-05 19:28:49 -03:00
LucasGGamerM b670da04ed
docs(readme): liberapay works now 2024-07-05 18:36:09 -03:00
FineFindus f70abbbb73
feat: use AccountSwitcher for open with other account 2024-07-05 17:19:42 +02:00
LucasGGamerM a0dd75890c fix(preview-quote-toots): Allow for some quote tooting in the notifications.
It might need some more love though
2024-07-04 21:16:27 -03:00
LucasGGamerM 38df70cd9e Merge remote-tracking branch 'refs/remotes/Jacocococo/quote-display-fixes'
# Conflicts:
#	mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/StatusDisplayItem.java
2024-07-04 20:22:10 -03:00
softinterlingua e18fa57d73
Translated using Weblate (Interlingua)
Currently translated at 5.0% (1 of 20 strings)

Translation: Megalodon/metadata
Translate-URL: https://translate.codeberg.org/projects/megalodon/metadata/ia/
2024-07-04 19:18:22 +00:00
softinterlingua 51f6264534
Translated using Weblate (Interlingua)
Currently translated at 4.7% (20 of 419 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/ia/
2024-07-04 19:18:22 +00:00
LucasGGamerM feff45721f
Merge pull request #442 from FineFindus/feat/account-switcher
feat: use AccountSwitcherSheet for account picker
2024-07-04 16:15:19 -03:00
LucasGGamerM 20558f0a19 fix(preview-quote-toots): only preview the quote toots if the statusForContent.quote parameter is null 2024-07-04 16:01:06 -03:00
FineFindus e97a479e65
feat: use AccountSwitcherSheet for account picker 2024-07-04 20:59:00 +02:00
FineFindus f590fde7a4
feat(LinkCard): skip redirects to accounts 2024-07-04 20:55:45 +02:00
FineFindus 77c5173014
feat(LinkCard): generalize skipping redirect links 2024-07-04 20:55:45 +02:00
FineFindus dd4bed0027
feat(LinkCard): open redirected URL 2024-07-04 20:55:45 +02:00
FineFindus 229c0b359f
fix(LinkCard): skip mastodon.social redirect page
Skips the mastodon.social exclusive link redirect warning page, by
manually replacing the link card link.
2024-07-04 20:55:40 +02:00
LucasGGamerM 0d4158a612 refactor(preview-quote-toots): remove unneeded code 2024-07-04 15:35:41 -03:00
LucasGGamerM cfde4425b7 fix(preview-quote-toots): make code nicer, and add the "IS_FOR_QUOTE" flag, so it works better 2024-07-04 15:34:44 -03:00
LucasGGamerM 15f84af757 feat(preview-quote-toots): preview quote toots nicely on mastodon
Still missing it on notifications, but it should be there soon
2024-07-04 14:40:05 -03:00
softinterlingua 39895ff79a
Added translation using Weblate (Interlingua) 2024-07-03 18:18:30 +00:00
trlef19 3d2b67efc5
Translated using Weblate (Greek)
Currently translated at 37.9% (159 of 419 strings)

Translation: Megalodon/values
Translate-URL: https://translate.codeberg.org/projects/megalodon/values/el/
2024-07-02 15:18:23 +00:00
LucasGGamerM ebd637546f
Merge pull request #439 from FineFindus/fix/lemmy-post-trailing-lines
fix(HtmlParser): remove trailing line breaks
2024-06-28 09:25:34 -03:00
FineFindus 618946a8c6
fix(HtmlParser): remove trailing line breaks
Some fediverse servers (e.g. lemmy) add a trailing line break to the
content. Since we add them as well, this can cause up to three line
breaks at the end of a post, resulting in a blank space.
This removes the trailing line breaks before parsing the content.
2024-06-27 21:40:52 +02:00
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
LucasGGamerM f8dbecc3e1
Merge pull request #433 from FineFindus/fix/blocks
fix: block domains in block list
2024-06-21 16:36:11 -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
LucasGGamerM 998e186f8b
Merge pull request #432 from FineFindus/feat/update-blocks
feat: update internal block list
2024-06-21 15:26:08 -03:00
FineFindus 75bc0aa052
feat: update internal block list 2024-06-21 19:05:32 +02:00
LucasGGamerM edb4b7152b
chore: update bug_report.md
Swap Megalodon for Moshidon in issue template.
2024-06-17 09:14:49 -03: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
LucasGGamerM 57911ce070
Merge pull request #427 from FineFindus/fix/erro-null-url
fix(ErrorStatusDisplayItem): disable open in browser button on null URL
2024-06-13 16:29:35 -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
LucasGGamerM 6ad8a85044
Merge pull request #426 from FineFindus/feat/error-displayitem
feat(ErrorDisplayItem): improve UI/UX with new design
2024-06-13 15:48:11 -03: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
LucasGGamerM b38c78c50a
Merge pull request #424 from FineFindus/patch-1
fix(HashtagTimelineFragment): display correct URL in recents menu
2024-06-13 08:20:40 -03: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
LucasGGamerM 4f11a79d2a
Merge pull request #422 from FineFindus/fix/honor-group-divider
fix: disable GroupDivider on Honor's MagicOS
2024-06-09 16:02:53 -03:00