Commit graph

162 commits

Author SHA1 Message Date
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
Alex Kirk
034ba0554d Don't access transient when receiving a WP_Error 2022-12-15 11:37:00 +01:00
Matthias Pfefferle
e21806d06f
Merge pull request #217 from akirk/fix-typo 2022-12-11 09:23:00 +01:00
Alex Kirk
7e6fbd60b3 Fix typo 2022-12-11 09:16:50 +01:00
Matthias Pfefferle
bf883418ec fix #214
thanks @mexon
2022-12-10 17:58:24 +01:00
Matthias Pfefferle
9869daffeb
Merge branch 'master' into feature-guidance 2022-12-07 18:03:19 +01:00
Matthias Pfefferle
35b2a9512e fix phpcs issue 2022-12-06 22:18:14 +01:00
Matthias Pfefferle
d5dac9699a fix user count
props @mediaformat

fix #209
2022-12-06 22:17:06 +01:00
Matthias Pfefferle
6042b7bd44 add missing namespace 2022-12-06 17:38:32 +01:00
Matthias Pfefferle
13ea3f09dd better wording 2022-12-06 17:20:01 +01:00
Matthias Pfefferle
bb9f9d5776 fix broken namespace 2022-12-06 11:03:33 +01:00
Matthias Pfefferle
2a8cd2a54f use tab instead of different settings pages 2022-12-06 10:58:32 +01:00
Matthias Pfefferle
07d93e809b fix phpcs issue 2022-12-05 20:55:13 +01:00
Matthias Pfefferle
c6657d2fa8 move method to webfinger class 2022-12-05 20:48:07 +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
03704fb74e use install thickbox 2022-12-05 20:27:04 +01:00
Matthias Pfefferle
c1e128fbcd some text improvements
props @krafit
2022-12-05 17:45:56 +01:00
Matthias Pfefferle
603199c9e8 add recommended plugins 2022-12-02 18:23:56 +01:00
Alex Kirk
a82dea0685 Add unit test 2022-12-02 12:46:42 +01:00
Matthias Pfefferle
19117323f9 Added some debug data 2022-11-22 00:05:17 +01:00
Eana Hufwe
dacbed6614
Add Custom Post Type support to outbox API 2022-11-19 16:01:16 -08:00
Matthias Pfefferle
6232bddcd7 load only an activitypub settings pages 2022-11-19 13:15:21 +01:00
Matthias Pfefferle
30919b1f7b be more descriptive 2022-11-15 20:50:56 +01:00
Matthias Pfefferle
2f8579cfe1 use ActivityPub instead of Fediverse
to be consistent
2022-11-15 20:49:05 +01:00
Matthias Pfefferle
7f346baf69 remove spec and test links
and replace them with support and bug links
2022-11-15 20:37:18 +01:00
Matthias Pfefferle
0a1e5c13f3 fix phpcs issue 2022-11-15 18:24:14 +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
3def583269 typo 2022-11-09 07:27:50 -07:00
Alex Kirk
eff60ed5dd Fix the signature for HTTP GET requests 2022-11-09 07:25:10 -07:00
Alex Kirk
04db99730d phpcs 2022-11-09 07:17:59 -07:00
Alex Kirk
5f6cf78da1 Add a parser to the Friends Plugin 2022-11-09 07:08:32 -07:00
Matthias Pfefferle
b3aefc62db fix webfinger for email identifiers
fix #152
2022-05-20 08:49:05 +02:00
Matthias Pfefferle
44c652eba8 phpcs fixes 2022-01-27 13:09:11 +01:00
Matthias Pfefferle
f677d1a7d4 fix #135 2022-01-17 11:03:30 +01:00
Matthias Pfefferle
7b262fd613 fix "Follow" issue
fix #133
2021-11-17 21:11:34 +01:00
Matthias Pfefferle
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
Matthias Pfefferle
f4f46fc084 added health checks 2021-07-23 15:46:28 +02:00
Matthias Pfefferle
b49cc5333c optimized health check 2021-01-13 23:22:17 +01:00
Matthias Pfefferle
3dd88fd176 prepare context for coming features 2021-01-12 12:45:17 +01:00
Matthias Pfefferle
2646a98b46 added functional shared inbox 2021-01-09 01:26:26 +01:00
Matthias Pfefferle
fe90988985 fixed outbox 2021-01-09 01:25:49 +01:00
Matthias Pfefferle
1e7bfc8f9d JSON representation of blog main page 2021-01-08 17:43:35 +01:00
Matthias Pfefferle
c797109fd7 consistent API response, GET inbox and filterable follower list 2021-01-05 21:56:38 +01:00
Matthias Pfefferle
c8d341ba1f unify query params 2021-01-03 20:40:53 +01:00
Matthias Pfefferle
46436cb49b disable flood control 2020-12-28 23:33:26 +01:00
Matthias Pfefferle
bad4ca2bbd check for a comment_post_ID
this fixes #101

direct messages will be re-added via #95
2020-12-18 17:46:03 +01:00
Matthias Pfefferle
5d7ad7f4b2 use "pre_option_require_name_email" filter instead of "check_comment_flood"
thanks @akirk
2020-12-18 17:36:07 +01:00
Matthias Pfefferle
e7c0526103 check if it is an explicit "undo -> follow" action 2020-12-18 17:30:17 +01:00
Matthias Pfefferle
0ac4bb0d8f fix inconsistent %tags% placeholder 2020-12-17 22:21:41 +01:00