Commit graph

112 commits

Author SHA1 Message Date
Matthias Pfefferle
45b6e63f32 fix phpcs issues 2022-12-23 13:17:12 +01:00
Matthias Pfefferle
f1dfd52329
Merge branch 'master' into Comments 2022-12-23 12:03:13 +01:00
Andreas
0f356acee8 restrict html tags after which to detect a hashtag
Hashtags should not be detected after just any html tag - for example not after an opening a or div. To still allow detection at the start of a line, allow specifically p and br to directly precede a hashtag.
2022-12-19 14:16:55 -07:00
Andreas
0b881bb9fd also detect hashtags at the start of a paragraph 2022-12-19 14:16:55 -07:00
Andreas
3f92bcc41b change regex matching potential hashtags
Matches any string starting with '#' and consisting of any number and combination of [A-Za-z0-9_] that is directly followed by whitespace or punctuation. Groups everything after '#' for access in functions using this regex.

This fixes #183 (incomplete links on hashtags containing special characters) by not matching these at all.
2022-12-19 14:16:55 -07:00
Django Doucet
d7c9e10c21 Separate file for Comment processing hooks 2022-12-19 14:16:54 -07:00
Django Doucet
852634360b style fix 2022-12-19 14:16:53 -07:00
Django Doucet
8707387ab8 Improve migration UX 2022-12-19 14:16:53 -07:00
Django Doucet
2d0e962263 update included filename 2022-12-19 14:16:53 -07:00
Django Doucet
be9b74478d Migrate tools 2022-12-19 14:16:53 -07:00
6fe621bf50 version bump 2022-12-19 14:16:53 -07:00
db84a5257a PHPCS fixes 2022-12-19 14:16:53 -07:00
b4e79e1988 fix PHPCS 2022-12-19 14:16:53 -07:00
Django Doucet
a4e8cc7e14 fix cs 2022-12-19 14:16:52 -07:00
Django Doucet
6af56cf82e fix code standards 2022-12-19 14:16:52 -07:00
Django Doucet
36bef694b6 add settings link to plugin page 2022-12-19 14:16:52 -07:00
Django Doucet
5d8e3a9ba9 Migrate / Update script 2022-12-19 14:09:55 -07:00
Django Doucet
e5080f8693 code standards cleanup 2022-12-19 14:09:55 -07:00
Django Doucet
8e1c9ff6bb Replies Collection, settings, other fixes 2022-12-19 14:09:54 -07:00
6772d300b4 phpcs fixes 2022-12-19 14:09:53 -07:00
e0730a62be version bump 2022-12-19 14:09:52 -07:00
338200b386 fix "Follow" issue
fix #133
2022-12-19 14:09:52 -07:00
8e98fffab6 Add basic BuddyPress support
fix #122

thanks and props @skysarwer
2022-12-19 14:09:52 -07:00
Matthias Pfefferle
7d5b8e7a82 version bump 2022-12-15 15:57:55 +01:00
Matthias Pfefferle
bf335b2be6 prepare 0.14.2 2022-12-11 11:29:06 +01:00
Matthias Pfefferle
bf883418ec fix #214
thanks @mexon
2022-12-10 17:58:24 +01:00
Matthias Pfefferle
cf9736ec67 prepare 0.14.0 2022-12-09 09:17:17 +01:00
Matthias Pfefferle
d6b7cd0235
Merge branch 'master' into feature-guidance 2022-12-05 20:30:04 +01:00
Matthias Pfefferle
229e1cd6ed
Merge pull request #172 from akirk/add-friends-plugin-support
Add a parser to the Friends Plugin
2022-12-05 20:28:53 +01:00
Matthias Pfefferle
603199c9e8 add recommended plugins 2022-12-02 18:23:56 +01:00
Andreas
4905e9b7c3
restrict html tags after which to detect a hashtag
Hashtags should not be detected after just any html tag - for example not after an opening a or div. To still allow detection at the start of a line, allow specifically p and br to directly precede a hashtag.
2022-11-17 20:34:23 +01:00
Andreas
a2cdb300e6
also detect hashtags at the start of a paragraph 2022-11-17 14:48:37 +01:00
Andreas
370ea3a054
change regex matching potential hashtags
Matches any string starting with '#' and consisting of any number and combination of [A-Za-z0-9_] that is directly followed by whitespace or punctuation. Groups everything after '#' for access in functions using this regex.

This fixes #183 (incomplete links on hashtags containing special characters) by not matching these at all.
2022-11-16 16:14:34 +01:00
Matthias Pfefferle
113a3bd4d2 normalize check 2022-11-15 20:45:46 +01:00
Matthias Pfefferle
fba834b15d add some guidance
based on the feedback of users and the suggestion of @akirk
2022-11-15 18:22:08 +01:00
Alex Kirk
5f6cf78da1 Add a parser to the Friends Plugin 2022-11-09 07:08:32 -07:00
7b6e2bca4d version bump 2022-07-08 21:04:21 +02:00
0fcc055da8 PHPCS fixes 2022-05-09 15:24:12 +02:00
97841667e0 fix PHPCS 2022-05-09 15:21:59 +02:00
Django Doucet
f455305aba fix cs 2022-05-08 00:52:35 -06:00
Django Doucet
41608f1ce3 fix code standards 2022-05-08 00:50:39 -06:00
Django Doucet
8ac5fe599d add settings link to plugin page 2022-05-08 00:33:47 -06:00
44c652eba8 phpcs fixes 2022-01-27 13:09:11 +01:00
e506aa50c4 version bump 2022-01-26 09:37:20 +01:00
7b262fd613 fix "Follow" issue
fix #133
2021-11-17 21:11:34 +01:00
e535b9c8cf Add basic BuddyPress support
fix #122

thanks and props @skysarwer
2021-09-15 17:00:20 +02:00
Django Doucet
17c386cb9d Comments 1 2021-09-06 00:25:02 -06:00
6795d707c8 fix Inbox issue
fix `PHP Warning: Undefined variable $user_id in wp-content/plugins/activitypub/includes/rest/class-inbox.php on line 111`

https://github.com/pfefferle/wordpress-activitypub/issues/88#issuecomment-886254210
2021-07-26 09:48:51 +02:00
f4f46fc084 added health checks 2021-07-23 15:46:28 +02:00
b9fd26e755 fix discovery issue 2021-05-10 14:39:54 +02:00