Egor Kislitsyn
6242cebdf9
Use double quotes in HTML attributes
4 years ago
Egor Kislitsyn
f081e6b553
Remove markdown links support
4 years ago
Egor
95e8188490
Merge branch 'feature/optional-tld-validation' into 'master'
Add an option to disable TLD validation
Closes #8
See merge request pleroma/auto_linker!17
4 years ago
rinpatch
70cbfdc84e
Extend email? to utilize validate_tld
4 years ago
rinpatch
1a341fdac3
Move checking for validate_tld to valid_tld?
4 years ago
rinpatch
c19c7afa5b
Refactor url?/2 to use opts
4 years ago
rinpatch
c8026cd16c
Add an option to disable TLD validation
Added `validate_tld` option, which can be set to false to disable tld
validation and to :no_scheme to disable tld validation when a scheme is
present
Closes #8
4 years ago
Egor
e2385402bc
Merge branch 'fix/parens' into 'master'
Improve parsing links inside parentheses and some refactoring
Closes #5
See merge request pleroma/auto_linker!16
5 years ago
Egor Kislitsyn
d9859f8aab
Fix credo warnings
5 years ago
Egor Kislitsyn
cef4fe335c
Improve parsing links inside parentheses and some refactoring
5 years ago
Egor
c00c4e75b3
Merge branch 'fix/tld-validation' into 'master'
Fix tld validation
Closes #4
See merge request pleroma/auto_linker!15
5 years ago
Egor Kislitsyn
0e6869c9ea
Fix tld validation
5 years ago
Egor
90613b4bae
Merge branch 'improve-performance' into 'master'
Improve TLD lookup performance
See merge request pleroma/auto_linker!13
5 years ago
Egor Kislitsyn
275fb906fe
Merge remote-tracking branch 'pleroma/master' into improve-performance
5 years ago
Egor
fea7b9ea69
Merge branch 'revert-6eb3d585' into 'master'
Revert "Update .gitlab-ci.yml"
See merge request pleroma/auto_linker!14
5 years ago
Egor
a4f9d856af
Revert "Update .gitlab-ci.yml"
This reverts commit 6eb3d5855d
5 years ago
Egor Kislitsyn
99c7ffdbe4
use MapSet instead of List
5 years ago
Egor
03e0fb26b2
Merge branch 'patch-1' into 'master'
Update .gitlab-ci.yml
See merge request pleroma/auto_linker!11
5 years ago
Egor
6eb3d5855d
Update .gitlab-ci.yml
5 years ago
Egor
a3ec8eb797
Merge branch 'improve-parsing' into 'master'
Improve Parser
See merge request pleroma/auto_linker!10
5 years ago
Egor Kislitsyn
7394548119
test coverage 100%! 🎉
5 years ago
Egor Kislitsyn
32a6e41cd0
cleanup
5 years ago
Egor Kislitsyn
55636e8593
fix links inside nested html
5 years ago
Egor Kislitsyn
a6e8755863
do not link inside `<pre>` and `<code>`
5 years ago
Egor Kislitsyn
02d7cb1eba
fix test
5 years ago
Egor Kislitsyn
e8b6ec89c9
Merge remote-tracking branch 'pleroma/master' into improve-parsing
5 years ago
Egor Kislitsyn
4949c02cb6
fix parsing inside HTML tags
5 years ago
Egor
479dd343f4
Merge branch 'improve-parsing' into 'master'
Improve detection of URLs and Asian scripts
Closes #2 and #3
See merge request pleroma/auto_linker!9
5 years ago
Egor
12f8ca5319
Improve detection of URLs and Asian scripts
5 years ago
Egor Kislitsyn
50882b427a
support Telugu and probably other Asian scripts ( #3 )
5 years ago
Egor Kislitsyn
e862ee9d21
improve parsing ( #2 )
5 years ago
Egor
5e2661980a
Merge branch 'improve-ci' into 'master'
Improve CI
See merge request pleroma/auto_linker!8
5 years ago
Egor
37c5c3bdd1
Improve CI
5 years ago
Egor Kislitsyn
6dd627bfdf
add credo to CI
5 years ago
Egor Kislitsyn
df6f5dcab6
fix credo warnings
5 years ago
Egor Kislitsyn
ca4afd14ff
add test coverage to CI
5 years ago
Egor Kislitsyn
f8a2dc97ff
Merge remote-tracking branch 'pleroma/master'
5 years ago
Egor
db3b14d0f7
Merge branch 'features/builder_tests' into 'master'
Add tests on AutoLinker.Builder public functions
See merge request pleroma/auto_linker!7
5 years ago
Haelwenn (lanodan) Monnier
4dae1eadd5
AutoLinker.BuilderTest: Add forgotten assert on format_mention/3
5 years ago
Haelwenn (lanodan) Monnier
bdd98ee731
AutoLinker.BuilderTest: Do not pass overridden href to create_link/2
5 years ago
Haelwenn (lanodan) Monnier
204ad610e3
AutoLinker.BuilderTest: Match (strange) behaviour
5 years ago
Haelwenn (lanodan) Monnier
a4184277d0
AutoLinker.BuilderTest: Put tests on all the public functions
5 years ago
Egor
94193ca5f9
Merge branch 'fix/link-text' into 'master'
Fix link text
See merge request pleroma/auto_linker!6
5 years ago
Egor
c77b2c0ead
Fix link text
5 years ago
Egor Kislitsyn
cb748300fe
Merge branch 'fix/link-text'
5 years ago
Egor Kislitsyn
dc644b1fcc
Merge remote-tracking branch 'pleroma/master'
5 years ago
Egor Kislitsyn
82ba30c658
cleanup
5 years ago
Egor Kislitsyn
cfc6355bbe
fix link text
5 years ago
Egor
8e9de09c70
Merge branch 'master' into 'master'
Improve hashtags and `rel` attribute
Closes #1
See merge request pleroma/auto_linker!5
5 years ago
Egor
e5abcd66b1
Improve hashtags and `rel` attribute
5 years ago