Josh Soref
98092e6ff7
Spelling ( #2771 )
...
* spelling: activity
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: animation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: detailed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: hierarchy
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: javascript
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: memory
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: notification
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: opened
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: preferable
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: repetitive
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: spoiler
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: thumbnail
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: visibility
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: whitespace
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-11-09 19:32:39 +01:00
Levi Bard
58e8f75287
Don't markup urls where the display text is exactly the domain ( #2732 )
...
* Don't markup urls where the display text is exactly the domain (or www.thedomain)
* Remove unused arguments
2022-11-01 16:41:55 +01:00
Levi Bard
5d09a67b52
Fix the tag span generation for tags with nonascii characters ( #2700 )
...
* Update mention and tag regexes from mastodon
* Normalize nonascii tag names the same way that mastodon does
2022-09-17 19:06:45 +02:00
Levi Bard
687cffd540
Show target domains for non-mention/non-hashtag links where the target domain is not provided or differs from the domain in the text ( #2698 )
...
* Show target domains for non-mention/non-hashtag links where the target domain is not provided or differs from the domain in the text.
Addresses #2694
* Add link signifier to the marked-up domain
* Back down on validating hashtags and mentions, don't markup _any_ urls where the text starts with #/@
2022-09-17 19:06:07 +02:00
Levi Bard
ad001d044d
Revert unintentional behavior change for mention spans to use remote usernames ( #2408 )
2022-03-30 19:33:31 +02:00
Levi Bard
cdefcc441f
Fix relinkifying tags in posts from remote servers ( #2359 )
...
* Fix relinkifying tags in posts from remote servers
* Completely ignore urls, and (case-insensitively) match tag names instead
2022-02-28 16:54:25 +01:00
Levi Bard
addce87eb6
Use tags from status when adding handlers to hashtag spans in status content ( #2344 )
...
* Migrate LinkHelper to kotlin
* Support tags field on statuses
* Use embedded tags list in status instead of text scraping to embed tag click handler.
Fixes #2283
* Make mentions and tags lists nonnullable
* Make LinkHelper.openLink a Context extension method
* Use builtin extension for uri conversion
* More cleanup in LinkHelper
* Add tests for LinkHelper.getDomain
* Unbreak tags in places that don't have a tag list (e.g. profiles)
* Fixup javadoc
2022-02-25 18:56:21 +01:00
Conny Duck
eeaadea905
Revert "Generalize url scheme parsing/highlighting ( #1008 )"
...
This reverts commit 85610a8311
.
2019-02-11 14:43:57 +01:00
Levi Bard
85610a8311
Generalize url scheme parsing/highlighting ( #1008 )
...
* Add support for highlighting dat, ssb, ipfs url schemes. #847
* Generalize scheme parsing for url highlighting. #847
* Migrate LinkHelper to kotlin
2019-02-05 19:55:28 +01:00