Konrad Pozniak
16ffcca748
add ktlint plugin to project and apply default code style ( #2209 )
...
* add ktlint plugin to project and apply default code style
* some manual adjustments, fix wildcard imports
* update CONTRIBUTING.md
* fix formatting
2021-06-28 21:13:24 +02:00
Konrad Pozniak
31da851f28
correctly serialize custom spans to html ( #2199 )
2021-06-14 11:00:35 +02:00
Alibek Omarov
b00aa9b461
SpanUtils: highlight nicknames with dashes ( #2061 )
...
While it's not allowed to create such accounts on Mastodon, it federates fine with servers that allow dashes.
2021-01-31 18:57:48 +01:00
kyori19
23a1701151
Fix tag highlighting in editor ( #1773 )
...
* Fix tag highlighting in editor
* Add test case for tag highlighting
2020-05-08 19:16:35 +02:00
Konrad Pozniak
83f9638aaf
fix some lint warnings and Kotlin style issues ( #1390 )
2019-07-16 19:26:55 +02:00
Levi Bard
a2fa49aafb
Fix issue #1174 with span parsing ( #1183 )
2019-04-08 15:27:41 +02: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
Levi Bard
7e1f5edeca
Behave like Mastodon web ui and only count URLs as 23 characters when composing ( #629 )
...
* Refactor-all-the-things version of the fix for issue #573
* Migrate SpanUtils to kotlin because why not
* Minimal fix for issue #573
* Add tests for compose spanning
* Clean up code suggestions
* Make FakeSpannable.getSpans implementation less awkward
* Add secondary validation pass for urls
* Address code review feedback
* Fixup type filtering in FakeSpannable again
* Make all mentions in compose activity use the default link color
2018-05-16 19:14:26 +02:00