Commit Graph

9228 Commits

Author SHA1 Message Date
FineFindus 2e39f81c36
fix: show profile picture in share sheet
Shows the profile picture of the shared account in the share sheet. This
was already done upstream and intended here, but was bugged due to an
additional file provider.
2024-07-08 14:36:14 +02:00
LucasGGamerM 803e66f999 fix(heart-icon): use heart icon in all places
Fixes #446
2024-07-07 10:02:27 -03:00
LucasGGamerM ed22d3b4ed
Merge pull request #457 from FineFindus/fix/more-fixes
fix(quotes): more fixes
2024-07-07 09:00:30 -03:00
LucasGGamerM ec72653dba
Merge pull request #455 from FineFindus/fix/quote=whitespace
fix(StatusDisplayItem/Quote): allow whitespace in closing br tag
2024-07-07 08:58:32 -03:00
FineFindus 9b1e79eba8
fix(StatusDisplayItem/Quote): notify adapter separately
Only notifying the adapter once could lead to cases where the quoting
status was merged with or replaced by the quote status. Separately
notifying it seems to trigger the issue less often.
2024-07-07 09:03:38 +02:00
FineFindus ca4a1d461a
fix(TextStatusDisplayItem): expand non-quoted texts
Using the adapter to udpate the TextStatusDisplayItem does not work for
non-quoted posts.
Ref: 1832de3aab
2024-07-07 09:03:37 +02:00
FineFindus b90607582a
docs: keep comment inline with code changes 2024-07-07 09:03:37 +02:00
FineFindus 0c95f6db1b
fix(StatusDisplayItem/Quote): allow whitespace in closing br tag 2024-07-07 08:21:17 +02:00
FineFindus 4caa6cf650
revert: using string replacement for whitespace checking
Ref: bc08c149b7.
2024-07-07 08:21:16 +02:00
LucasGGamerM bc08c149b7 fix(preview-quote-toots): find the RE: in all the cases I experienced
vmst.io added a <br /> tag that the regex didn't catch. I manually check for it, because it drives me nuts. But it's in the plans to put it all on the regex just because I hate this.
2024-07-06 21:14:11 -03:00
LucasGGamerM 4a783957ed fix(thread-fragments): never filter with a warning the main status 2024-07-06 20:59:53 -03:00
LucasGGamerM 113b47d9e2 refactor(preview-quote-toots): make the updateStatusWithQuote generic, and also readd the notification support
The notification support is needed because of the post notifications, which would benefit from this
2024-07-06 20:50:40 -03:00
LucasGGamerM 96ccb14a59
Merge pull request #454 from FineFindus/fix/quote-improvements
feat: quote improvements
2024-07-06 19:40:29 -03:00
FineFindus bc8b0e192c
feat(StatusDisplayItem/Quote): allow quotes to reference themselves 2024-07-06 22:56:55 +02:00
FineFindus 72400703ab
fix(StatusDisplayItem/Quote): only update non-empty adapter
Fixes a crash when updating an empty adapter. This was the case when
opening a status from a notification.
2024-07-06 22:55:59 +02:00
FineFindus 91345268e8
fix(StatusDisplayItem/Quote): use correct method
ChildFragments overwrite the buildDisplayItems to provide the correct
parameters, e.g. flags, additional items, etc. Call those instead of the
default one.
2024-07-06 22:51:14 +02:00
LucasGGamerM bff6ac4a14
Merge pull request #452 from FineFindus/fix/re-quote-br
fix(StatusDisplayItem): allow closing linebreak tag in quote regex
2024-07-06 14:04:23 -03:00
FineFindus 75183f5625
fix(StatusDisplayItem): allow closing linebreak tag in quote regex 2024-07-06 17:47:48 +02:00
LucasGGamerM 7654b869ba
Merge pull request #451
fix(StatusDisplayItem): hide 'RE:' with linebreak in quote mention
2024-07-06 11:54:36 -03:00
LucasGGamerM f176384bcc
Merge pull request #445
feat: use AccountSwitcher for open with other account
2024-07-06 11:52:47 -03:00
FineFindus a4f2a733b5
fix(StatusDisplayItem): hide 'RE:' with linebreak in quote mention 2024-07-06 16:51:16 +02:00
LucasGGamerM 9ea48fa0ab
Merge pull request #447 from FineFindus/fix/crash
fix(StatusDisplayItem): check if headerlist is empty
2024-07-06 11:45:10 -03:00
LucasGGamerM cc2076ec10
Merge pull request #449
feat: improve non-official quote posts
2024-07-06 11:16:41 -03:00
LucasGGamerM b5a0c293c5
Merge pull request #438
Fix/mastodon social redirect
2024-07-06 11:03:28 -03:00
LucasGGamerM 3265cfe772
Merge pull request #450 from FineFindus/refactor/version-checking
refactor(Instance): improve compatible version checking
2024-07-06 10:53:54 -03:00
LucasGGamerM 857d0ce539
Merge pull request #448 from FineFindus/fix/error-crash
fix(ErrorStatusDisplayItem): disable button in onBind
2024-07-06 09:33:31 -03:00
FineFindus 31a52c2790
refactor(Instance): improve compatible version checking 2024-07-06 14:30:25 +02:00
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