Matthew Exon
1e7e6bba28
standardise and improve name of attachment setting
2023-01-12 21:29:21 +01:00
Matthias Pfefferle
7d71ac07e1
Merge pull request #231 from pfefferle/security_privacy
...
Security & privacy related fixes
2023-01-12 16:36:41 +01:00
Matthew Exon
d1765b56dd
configuration item for number of images to attach
2023-01-07 17:58:50 +01:00
Greg
43f347bc7c
Make the excerpt code actually crop the excerpt at 400 characters.
...
The existing implementation crops at words and may return very short strings based upon filters, or very long strings based upon user inputted excerpts.
Make sure we never return a excerpt longer than we expect.
2023-01-06 20:04:31 -05:00
Matthias Pfefferle
195727bc78
update readme
2022-12-27 20:44:36 +01:00
Matthias Pfefferle
7ee91f1ab1
remove hooks
2022-12-27 17:29:34 +01:00
Matthias Pfefferle
8a5f575803
update readme
2022-12-27 17:26:33 +01:00
Matthias Pfefferle
6ecda2b869
fix composer indents
2022-12-27 17:01:10 +01:00
Matthias Pfefferle
6f3b7427e0
added local test env using docker
2022-12-27 16:59:04 +01:00
Matthias Pfefferle
a548d1fe0f
get_post_meta need the post ID
2022-12-27 16:58:49 +01:00
Matthias Pfefferle
eea3f582d6
add hooks to the test
2022-12-27 16:16:22 +01:00
Matthias Pfefferle
4b97d412e0
be sure to register hooks
2022-12-27 16:14:19 +01:00
Matthias Pfefferle
b984319f8f
hooks will be ignored
2022-12-27 16:06:41 +01:00
Matthias Pfefferle
10a8a2de1d
use unique meta
2022-12-27 16:01:59 +01:00
Matthias Pfefferle
6878b86922
fix test
2022-12-27 15:56:46 +01:00
Matthias Pfefferle
c221daef86
store permalink in post meta for trashed posts
...
this should quick fix #16 without changing the permalink structure
2022-12-27 15:48:14 +01:00
Matthias Pfefferle
bf0b51ceb3
only save public activities
...
first step to #72
2022-12-27 14:43:37 +01:00
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