13 Commits

Author SHA1 Message Date
Robert Schäfer
54c7c204c2 Run yarn run lint --fix 2019-06-11 23:10:26 +02:00
Matt Rider
1c1d1a67ea Merge in master 2019-05-23 15:31:05 -03:00
Matt Rider
758bf215ac Merge branch 'master' of github.com:Human-Connection/Human-Connection into uploads-on-server 2019-05-23 15:26:19 -03:00
cfd0975b24
backend linting 2019-05-23 19:23:03 +02:00
Robert Schäfer
2a22aaa907 Fix edge case bug in extractIds 2019-05-21 02:01:00 +02:00
Robert Schäfer
65f96c2b28 Create notifications on UpdatePost, too
Note that we don't create duplicate notifications. I made use of the behaviour
of XSS-middleware: It removes all css classes from `<a>` anchors. Because
notifications rely on a css class `mention` which gets removed in a later
middleware, this gives us a nice behaviour for re-notifications without creating
duplicates. The downside is that it creates dependencies between middlewares and
it's not that obvious at all.

cc @mattwr18 @ulfgebhardt @appinteractive @Tirokk
2019-04-16 22:11:07 +02:00
Robert Schäfer
aa3762a095 Implement right order of notifications middleware 2019-04-16 17:48:42 +02:00
Robert Schäfer
b2d72ae74a Implement parsing of mention links 2019-04-16 16:05:09 +02:00
Robert Schäfer
f30da038d9 Change backend test to parse html not plain text 2019-04-16 11:21:38 +02:00
Robert Schäfer
23a461d16e Follow component directory strucutre in backend 2019-04-16 11:13:40 +02:00
Robert Schäfer
26caff5a9b Fix lint 2019-04-10 01:58:18 +02:00
Robert Schäfer
0476c15163 Remove dots from matched @mention regex 2019-04-10 01:58:18 +02:00
Robert Schäfer
58019c8975 Avoid to send out notifications for email adresses 2019-04-10 01:58:18 +02:00