Greg
caea1ecbed
Make sure we have a post before using it to set class variables with.
2023-01-16 10:26:38 -05:00
Matthias Pfefferle
2f0dbde2a4
fix phpcs issues
2023-01-16 15:28:10 +01:00
Matthias Pfefferle
5118f00a1e
Merge pull request #247 from toolstack/fix-the-excerpt
...
Make the excerpt code actually crop the excerpt at 400 characters.
2023-01-16 15:04:47 +01: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
Greg
27aeaeb4e4
Fix incorrect setting of target length and spelling mistake.
2023-01-13 11:02:16 -05:00
Matthias Pfefferle
5dac683c48
switch to constants to define pathes
2023-01-13 09:19:02 +01: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
Matthias Pfefferle
c06a7d44cf
re-added max_images check
...
props @mexon
2023-01-12 22:21:48 +01:00
Matthias Pfefferle
6992fbbe22
simplified ACTIVITYPUB_MAX_IMAGE_ATTACHMENTS
2023-01-12 21:55:33 +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
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
a548d1fe0f
get_post_meta need the post ID
2022-12-27 16:58:49 +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
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
733bc88faf
fix phpcs issues
2022-12-23 12:12:12 +01:00
Matthias Pfefferle
f1dfd52329
Merge branch 'master' into Comments
2022-12-23 12:03:13 +01: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
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
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
30a37dab6e
fix webfinger for email identifiers
...
fix #152
2022-12-19 14:16:53 -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
Django Doucet
8e1c9ff6bb
Replies Collection, settings, other fixes
2022-12-19 14:09:54 -07:00
Django Doucet
51643142aa
coding standards
2022-12-19 14:09:54 -07:00
Django Doucet
73e6be9782
webfinger_extract remove extra param
2022-12-19 14:09:53 -07:00
Django Doucet
8938c67073
Comments update
2022-12-19 14:09:53 -07:00
6772d300b4
phpcs fixes
2022-12-19 14:09:53 -07:00
8733957963
fix #135
2022-12-19 14:09:52 -07:00
338200b386
fix "Follow" issue
...
fix #133
2022-12-19 14:09:52 -07: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
b3aefc62db
fix webfinger for email identifiers
...
fix #152
2022-05-20 08:49:05 +02:00
44c652eba8
phpcs fixes
2022-01-27 13:09:11 +01:00
f677d1a7d4
fix #135
2022-01-17 11:03:30 +01:00
7b262fd613
fix "Follow" issue
...
fix #133
2021-11-17 21:11:34 +01: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
b49cc5333c
optimized health check
2021-01-13 23:22:17 +01:00
3dd88fd176
prepare context
for coming features
2021-01-12 12:45:17 +01:00
2646a98b46
added functional shared inbox
2021-01-09 01:26:26 +01:00
fe90988985
fixed outbox
2021-01-09 01:25:49 +01:00
1e7bfc8f9d
JSON representation of blog main page
2021-01-08 17:43:35 +01:00
c797109fd7
consistent API response, GET inbox and filterable follower list
2021-01-05 21:56:38 +01:00
c8d341ba1f
unify query params
2021-01-03 20:40:53 +01:00
46436cb49b
disable flood control
2020-12-28 23:33:26 +01:00