Commit graph

1150 commits

Author SHA1 Message Date
Matthias Pfefferle
a27a4fc234 remove empty trim
fix #136
2022-12-27 14:17:31 +01:00
Matthias Pfefferle
9acd0732d4 hide users that can not publish posts
fixes #230
2022-12-27 14:03:10 +01:00
Matthias Pfefferle
45b6e63f32 fix phpcs issues 2022-12-23 13:17:12 +01:00
Matthias Pfefferle
6b15d8d158 run phpcs also on pull_requests 2022-12-23 12:14:48 +01:00
Matthias Pfefferle
733bc88faf fix phpcs issues 2022-12-23 12:12:12 +01:00
Matthias Pfefferle
8f6ad230ce Merge branch 'Comments' of https://github.com/mediaformat/wordpress-activitypub into pr/142 2022-12-23 12:10:51 +01:00
Matthias Pfefferle
ae54805cf0 fix phpcs issues 2022-12-23 12:10:42 +01:00
Matthias Pfefferle
2ca6bdc487
remove trailing spaces 2022-12-23 12:04:25 +01:00
Matthias Pfefferle
f1dfd52329
Merge branch 'master' into Comments 2022-12-23 12:03:13 +01:00
Django Doucet
093bc3c88b fix comparison 2022-12-19 14:16:56 -07:00
Django Doucet
b04538a2ab remove comment_type 2022-12-19 14:16:56 -07:00
Eana Hufwe
e48986dd99 Add Custom Post Type support to outbox API 2022-12-19 14:16:55 -07:00
Django Doucet
a6657edd4a fix pagination 2022-12-19 14:16:55 -07: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
fe7def2c84 Fix js assets enqueue 2022-12-19 14:16:55 -07:00
Django Doucet
5dbf365c58 associate comments to back compat post 2022-12-19 14:16:54 -07:00
Django Doucet
b1f64f6828 fix file path 2022-12-19 14:16:54 -07:00
Django Doucet
d7c9e10c21 Separate file for Comment processing hooks 2022-12-19 14:16:54 -07:00
Django Doucet
18a8752c6a move js file to assets/js 2022-12-19 14:16:54 -07:00
Django Doucet
8cce944edd Post class fix attributes 2022-12-19 14:16:54 -07:00
Django Doucet
1ef6fc21c1 Comments class missing attributes 2022-12-19 14:16:54 -07:00
Django Doucet
f87dbd87be replace ap_comment_id to reuse replytocom var 2022-12-19 14:16:54 -07:00
Django Doucet
de74f1d70b Fix send_delete_activity 2022-12-19 14:16:54 -07:00
Django Doucet
c801d072c8 more style fixes 2022-12-19 14:16:54 -07:00
Django Doucet
852634360b style fix 2022-12-19 14:16:53 -07:00
Django Doucet
055c22e9c3 Add comments view, warnings to migrate page 2022-12-19 14:16:53 -07:00
Django Doucet
8707387ab8 Improve migration UX 2022-12-19 14:16:53 -07:00
Django Doucet
ecbe724b82 code cleanup 2022-12-19 14:16:53 -07:00
Django Doucet
2d0e962263 update included filename 2022-12-19 14:16:53 -07:00
Django Doucet
6a69a40295 Fix announce, clarified language 2022-12-19 14:16:53 -07:00
Django Doucet
63bf62402d regression fix 2022-12-19 14:16:53 -07:00
Django Doucet
aa1b54462e code cleanup 2022-12-19 14:16:53 -07:00
Django Doucet
be9b74478d Migrate tools 2022-12-19 14:16:53 -07:00
4e3069d931 fix dependencies 2022-12-19 14:16:53 -07:00
308df84c28 allow plugins 2022-12-19 14:16:53 -07:00
a5a6967b48 update composer file to fix unit testing 2022-12-19 14:16:53 -07:00
6fe621bf50 version bump 2022-12-19 14:16:53 -07:00
30a37dab6e fix webfinger for email identifiers
fix #152
2022-12-19 14:16:53 -07:00
7c24e994ec fix docker 2022-12-19 14:16:53 -07:00
cbc989fe83 change background image for wp.org 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
3db5fb2626 bugfix 2022-12-19 14:09:55 -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