Commit graph

71 commits

Author SHA1 Message Date
Egor Kislitsyn
e862ee9d21 improve parsing (#2) 2019-04-03 18:05:11 +07: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
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
Egor Kislitsyn
ec8a1536a7 improve tlds import 2019-02-08 16:50:18 +07:00
Egor Kislitsyn
2266370ebf polish off api 2019-02-08 16:43:06 +07:00
Egor Kislitsyn
0110f8e9f0 better naming 2019-02-08 16:34:38 +07:00
Egor Kislitsyn
49e9150bdc better naming 2019-02-08 16:14:39 +07:00
Egor Kislitsyn
1a2629f365 add docs 2019-02-08 16:10:22 +07:00
Egor Kislitsyn
48aed6ba61 rename link_and_parse -> link_map 2019-02-08 16:10:02 +07:00
Egor Kislitsyn
4da0c84ba1 add custom handlers for mentions and hashtags 2019-02-08 15:21:07 +07:00
Egor Kislitsyn
479acfb82d add email, @mentions, #hashtags and extra schemes 2019-02-08 13:45:11 +07:00