Commit graph

79 commits

Author SHA1 Message Date
Egor Kislitsyn
02d7cb1eba fix test 2019-04-09 13:20:48 +07:00
Egor Kislitsyn
e8b6ec89c9 Merge remote-tracking branch 'pleroma/master' into improve-parsing 2019-04-09 13:13:14 +07:00
Egor Kislitsyn
4949c02cb6 fix parsing inside HTML tags 2019-04-09 13:08:13 +07:00
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
2019-04-03 12:02:31 +00:00
Egor
12f8ca5319 Improve detection of URLs and Asian scripts 2019-04-03 12:02:31 +00:00
Egor Kislitsyn
50882b427a support Telugu and probably other Asian scripts (#3) 2019-04-03 18:53:35 +07:00
Egor Kislitsyn
e862ee9d21 improve parsing (#2) 2019-04-03 18:05:11 +07:00
Egor
5e2661980a Merge branch 'improve-ci' into 'master'
Improve CI

See merge request pleroma/auto_linker!8
2019-04-03 08:00:52 +00:00
Egor
37c5c3bdd1 Improve CI 2019-04-03 08:00:52 +00:00
Egor Kislitsyn
6dd627bfdf add credo to CI 2019-04-03 14:57:36 +07:00
Egor Kislitsyn
df6f5dcab6 fix credo warnings 2019-04-03 14:57:06 +07:00
Egor Kislitsyn
ca4afd14ff add test coverage to CI 2019-04-03 14:55:30 +07:00
Egor Kislitsyn
f8a2dc97ff Merge remote-tracking branch 'pleroma/master' 2019-04-03 14:34:57 +07:00
Egor
db3b14d0f7 Merge branch 'features/builder_tests' into 'master'
Add tests on AutoLinker.Builder public functions

See merge request pleroma/auto_linker!7
2019-04-02 11:17:57 +00:00
Haelwenn (lanodan) Monnier
4dae1eadd5
AutoLinker.BuilderTest: Add forgotten assert on format_mention/3 2019-03-01 22:53:53 +01:00
Haelwenn (lanodan) Monnier
bdd98ee731
AutoLinker.BuilderTest: Do not pass overridden href to create_link/2 2019-02-27 18:33:06 +01:00
Haelwenn (lanodan) Monnier
204ad610e3
AutoLinker.BuilderTest: Match (strange) behaviour 2019-02-27 18:25:14 +01:00
Haelwenn (lanodan) Monnier
a4184277d0
AutoLinker.BuilderTest: Put tests on all the public functions 2019-02-27 18:14:31 +01:00
Egor
94193ca5f9 Merge branch 'fix/link-text' into 'master'
Fix link text

See merge request pleroma/auto_linker!6
2019-02-23 13:31:09 +00:00
Egor
c77b2c0ead Fix link text 2019-02-23 13:31:09 +00:00
Egor Kislitsyn
cb748300fe Merge branch 'fix/link-text' 2019-02-23 20:28:09 +07:00
Egor Kislitsyn
dc644b1fcc Merge remote-tracking branch 'pleroma/master' 2019-02-23 20:27:46 +07:00
Egor Kislitsyn
82ba30c658 cleanup 2019-02-23 20:19:46 +07:00
Egor Kislitsyn
cfc6355bbe fix link text 2019-02-23 20:09:43 +07:00
Egor
8e9de09c70 Merge branch 'master' into 'master'
Improve hashtags and `rel` attribute

Closes #1

See merge request pleroma/auto_linker!5
2019-02-23 12:51:38 +00:00
Egor
e5abcd66b1 Improve hashtags and rel attribute 2019-02-23 12:51:38 +00:00
Egor Kislitsyn
d6a0318275 add optional rel attribute handler 2019-02-22 17:41:23 +07:00
Egor Kislitsyn
3ceaf266da support French 2019-02-22 14:39:06 +07:00
Egor Kislitsyn
1bd56a552a update hashtag regex 2019-02-21 17:25:12 +07:00
Egor Kislitsyn
ab58d24c03 do not match hashtags consisting entirely of numbers 2019-02-21 14:30:59 +07:00
Egor Kislitsyn
282762e9d5 Merge remote-tracking branch 'pleroma/master' 2019-02-20 17:37:40 +07:00
Egor
9fb01942df fix carriage return 2019-02-20 17:37:20 +07:00
Egor
ae032126cd Merge branch 'fix/carriage-return' into 'master'
fix carriage return

See merge request pleroma/auto_linker!3
2019-02-20 10:16:51 +00:00
Egor
23bb7d68f0 fix carriage return 2019-02-20 10:16:51 +00:00
egor
01de0bccc2 Merge branch 'master' into 'master'
Small fixes and improvements

See merge request pleroma/auto_linker!2
2019-02-18 16:49:08 +00:00
egor
bd9ebce30e Small fixes and improvements 2019-02-18 16:49:08 +00:00
Egor Kislitsyn
583f8565eb Merge remote-tracking branch 'pleroma/master' 2019-02-18 23:02:39 +07:00
Egor Kislitsyn
056d7f2f37 improve mentions matching 2019-02-18 19:06:06 +07:00
Egor Kislitsyn
8f7496b1d3 fix mentions and hashtags 2019-02-18 18:55:17 +07:00
Egor Kislitsyn
33c6754592 fix parser 2019-02-18 18:45:29 +07:00
Egor Kislitsyn
65f9d43dbe update exdoc and add credo 2019-02-18 18:40:49 +07:00
Egor Kislitsyn
3607fe603c update .gitignore 2019-02-18 18:40:14 +07:00
Egor Kislitsyn
558a7e9f9a improve hashtags 2019-02-18 18:39:56 +07:00
Egor Kislitsyn
6c7a0c1363 use quotemarks in html 2019-02-18 18:34:38 +07:00
feld
64877cc9ac Merge branch 'master' into 'master'
add gitlab ci

See merge request pleroma/auto_linker!1
2019-02-08 18:42:20 +00:00
Egor Kislitsyn
bbf93c03b4 add gitlab ci 2019-02-09 01:09:16 +07:00
Egor Kislitsyn
e8470008ec fix readme examples 2019-02-08 19:28:38 +07:00
Egor Kislitsyn
b2dd560888 fix credo issues 2019-02-08 17:58:49 +07:00
Egor Kislitsyn
ed43edc636 make tests async 2019-02-08 17:57:54 +07:00
Egor Kislitsyn
0f0513a5a7 improve scheme option handling 2019-02-08 17:14:33 +07:00