Commit graph

184 commits

Author SHA1 Message Date
Matthias Pfefferle
6b8c427d01 const to hide plugin recommendations 2023-05-05 13:58:17 +02:00
Matthias Pfefferle
e57dd0590d
Merge branch 'master' into signature_verification 2023-05-05 10:15:26 +02:00
Matthias Pfefferle
77112c441f formatting 2023-05-05 09:57:47 +02:00
Matthias Pfefferle
0fd11d25fa will be auto-loaded 2023-05-04 15:18:58 +02:00
Matthias Pfefferle
f1eb095add
Merge branch 'master' into schedule 2023-05-04 15:18:02 +02:00
Matthias Pfefferle
cec4ed2e3f init follower update scheduler 2023-05-04 15:17:05 +02:00
Matthias Pfefferle
26e5a1d3f6
Merge branch 'master' into rewrite-followers 2023-05-04 09:33:55 +02:00
Matthias Pfefferle
e489a04880 remove unused constants 2023-05-04 09:32:52 +02:00
Matthias Pfefferle
22946ec779 change migration script to match plugin version
/cc @akirk
2023-05-02 09:27:35 +02:00
Matthias Pfefferle
a673504d36
Merge branch 'master' into rewrite-followers 2023-04-28 17:38:30 +02:00
Matthias Pfefferle
9966427fd3
Merge branch 'master' into feature/165/fediverse-biography 2023-04-28 14:36:17 +02:00
Matthias Pfefferle
5ef41dea02 schedule migration because it takes quite some time 2023-04-28 09:54:09 +02:00
Matthias Pfefferle
230aaa5b24 prepare migration 2023-04-27 14:34:54 +02:00
Matthias Pfefferle
84a82c2ac4 added follower model 2023-04-24 20:46:51 +02:00
Django Doucet
f396c6da4e Optimize verification code and returns WP_Errors 2023-04-21 15:25:39 -06:00
Matthias Pfefferle
7769d76849 use a taxonomy to save the list of followers 2023-04-21 14:56:22 +02:00
Matthias Pfefferle
c32eec2390 some code cleanup 2023-04-20 15:22:11 +02:00
Edward Ficklin
135e827e54 Merge branch 'master' into feature/165/fediverse-biography 2023-03-14 13:41:39 -04:00
Edward Ficklin
5200eb2463 define const for fedi bio meta key 2023-03-14 13:34:50 -04:00
Matthias Pfefferle
abef17b9ad add Automattic
as Co-Author
2023-03-11 10:58:05 +01:00
Matthias Pfefferle
5f1859275b version bump 2023-03-03 09:06:43 +01:00
Matthias Pfefferle
c0cb540c4d Fix handling of password protected posts 2023-03-02 09:54:52 +01:00
Matthias Pfefferle
62ef84aff7 version bump 2023-02-20 21:19:52 +01:00
Matthias Pfefferle
21cff7f24b version bump 2023-02-20 18:17:02 +01:00
Matthias Pfefferle
c89d8f2265 fix #269 2023-02-02 18:13:21 +01:00
Matthias Pfefferle
531bdc17b0 fix #266 2023-02-02 08:18:10 +01:00
Matthias Pfefferle
24648d6d74 fix server config
See: https://wordpress.org/support/topic/jetpack-conflict-15/
2023-01-31 09:56:48 +01:00
Alex Kirk
4c8b191560 Remove whitespace 2023-01-27 15:48:29 +01:00
Alex Kirk
a5b3af1b3b Move the friends parser to the Friends plugin 2023-01-27 15:48:29 +01:00
Alex Kirk
fed4fcb5b4 Short-circuit some more examples 2023-01-27 15:48:29 +01:00
Alex Kirk
738208b70d Account for local urls with an @ 2023-01-27 15:48:29 +01:00
Alex Kirk
6c03ab1704 Allow for example2-style domains 2023-01-27 15:48:28 +01:00
Alex Kirk
b3e71ff803 Short-circuit well-known example domains 2023-01-27 15:48:28 +01:00
Alex Kirk
7c0b101be1 Improve regex 2023-01-27 15:48:28 +01:00
Alex Kirk
e065880085 Add ActivityPub mentions 2023-01-27 15:48:28 +01:00
Matthias Pfefferle
5878a12c83 remove HTML allow list 2023-01-24 11:45:37 +01:00
Greg
71f3a47589 Converted shortcode class to static.
And added options for shortlink/permalink type.
2023-01-23 11:59:13 -05:00
Greg
b5fa16b464 Move the shortcodes to their own class. 2023-01-22 01:13:46 -05:00
Greg Ross
621911d1bf
Merge branch 'pfefferle:master' into switch-to-shortcodes 2023-01-22 00:36:06 -05:00
Greg
47bd6eb3b4 Move the activitypub endpoint rule to the main rewrite addition function.
This is for two reasons:
- No need to add the endpoint every time the plugin loads.
- The old code didn't flush the rewrite rules, making the endpoint non-functional until something did (like the user saving the permalink settings)
2023-01-16 13:19:26 -05:00
Greg
bf6cf24b17 Add length to excerpt shortcode. 2023-01-13 16:11:52 -05:00
Greg
e7d3cf9d68 Convert template codes to shortcodes.
As well as add new shortcodes for:

[ap_hashcats] - The post's categories as hashtags
[ap_image] - The URL for the post's featured image, full size
[ap_thumbnail] - The URL for the post's featured image thumbnail size
[ap_author] - The author's name
[ap_authorurl] - The URL to the author's profile page
[ap_date] - The post's date
[ap_time] - The post's time
[ap_datetime] - The post's date/time formated as "date @ time"
[ap_blogurl] - The URL to the site
[ap_blogname] - The name of the site
[ap_blogdesc] - The description of the site
2023-01-13 15:47:13 -05:00
Matthias Pfefferle
c7044f7ede
Merge pull request #248 from mexon/configure-number-of-images
configuration item for number of images to attach
2023-01-13 08:58:45 +01:00
Matthew Exon
1e7e6bba28 standardise and improve name of attachment setting 2023-01-12 21:29:21 +01:00
Matthew Exon
d1765b56dd configuration item for number of images to attach 2023-01-07 17:58:50 +01:00
Matthias Pfefferle
a27a4fc234 remove empty trim
fix #136
2022-12-27 14:17:31 +01: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
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
f07ae2ea8c version bump 2020-12-21 20:49:21 +01:00
0ac4bb0d8f fix inconsistent %tags% placeholder 2020-12-17 22:21:41 +01:00
627100b463 fix follow/unfollow actions 2020-12-17 21:16:09 +01:00
bae36e1a60 version bump 2020-12-17 18:28:56 +01:00
d260d7c276 add support for custom post content
fix #97 #91
2020-07-21 09:23:35 +02:00
2a1cc45124 do not load NodeInfo class if blog is private 2020-05-23 12:34:42 +02:00
122461ab6e escape even more 2020-05-12 20:30:06 +02:00
60ad191fdc fix follow 2020-05-04 00:06:48 +02:00
26c2faedc5 version bump 2020-03-15 20:34:50 +01:00
385aac3568 improve request validation and added blacklist check 2020-02-21 11:11:03 +01:00
85db6f2d7e Automated native_function_invocation fixes
`php php-cs-fixer --rules=native_function_invocation fix ./ --allow-risky=yes`
2019-12-01 21:20:26 +01:00
a4887147c6 version bump 2019-11-27 08:27:37 +01:00
e03db11d92 version bump 2019-11-24 21:26:00 +01:00
65034d2a76 refactorings 2019-11-18 20:57:00 +01:00
0152fc39a8 fix accept-header bug 2019-09-30 07:59:19 +02:00
acca7d078c version bump 2019-09-29 20:05:20 +02:00
9fd551f07d add debugging mechanism 2019-09-28 14:17:58 +02:00
2f5bf1ccc4 explicit use of global functions 2019-09-27 10:12:59 +02:00
453acb7329 fixed PHP warnings 2019-08-21 15:06:48 +02:00
2e91ce11de Moved followers list to user-menu 2019-08-21 10:38:43 +02:00
b6b0743b3f added admin_email to metadata
to be able to "Manage your instance" on https://fediverse.network/manage/
2019-08-20 13:03:06 +02:00
98d7f7743e version bump 2019-08-20 10:25:07 +02:00
fcf71c456b oops 2019-08-18 23:33:02 +02:00
ceaa3a4241 changed regex logic
and added some more changes
2019-08-18 23:27:06 +02:00
da155405ee new/better regex
should fix #57
2019-08-18 21:54:44 +02:00
f80f6a791f new dispatcher class 2019-08-18 21:54:11 +02:00
8b1367a16d fixes JSON representation of posts
https://merveilles.town/@xuv/101907542498716956
2019-04-13 20:07:56 +02:00
8d91b213e7 fixed inbox problems with pleroma 2019-03-14 23:10:11 +01:00