Greg
4a17bb4ea7
Separate the shortcode upgrade function and call it in the settings.
2023-01-16 10:27:27 -05:00
Greg
caea1ecbed
Make sure we have a post before using it to set class variables with.
2023-01-16 10:26:38 -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
5dac683c48
switch to constants to define pathes
2023-01-13 09:19:02 +01:00
Matthias Pfefferle
1a2885c17a
add changelog
2023-01-13 09:18:25 +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
006b3eef3e
use number input field instead of textarea
2023-01-13 08:56:38 +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
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
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
7d5b8e7a82
version bump
2022-12-15 15:57:55 +01:00
Matthias Pfefferle
d20383b4a9
Merge pull request #220 from pfefferle/pass-wp-error-through
2022-12-15 14:33:36 +01:00
Alex Kirk
034ba0554d
Don't access transient when receiving a WP_Error
2022-12-15 11:37:00 +01:00
Matthias Pfefferle
bf335b2be6
prepare 0.14.2
2022-12-11 11:29:06 +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
792b85d085
fix missing version
2022-12-10 18:06:56 +01:00
Matthias Pfefferle
bf883418ec
fix #214
...
thanks @mexon
2022-12-10 17:58:24 +01:00
Matthias Pfefferle
551f531e5f
Merge pull request #212 from pfefferle/prepare-release
...
prepare 0.14.0
2022-12-09 21:29:33 +01:00
Matthias Pfefferle
cf9736ec67
prepare 0.14.0
2022-12-09 09:17:17 +01:00
Matthias Pfefferle
58c19de374
Merge pull request #180 from pfefferle/feature-guidance
...
add some guidance
2022-12-09 09:06:50 +01:00
Matthias Pfefferle
9869daffeb
Merge branch 'master' into feature-guidance
2022-12-07 18:03:19 +01:00
Django
6cd68a86e4
Merge pull request #210 from pfefferle/fix-user-count
...
fix user count
2022-12-06 21:49:57 -07: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
999ca96692
Update assets/js/activitypub-admin.js
...
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2022-12-06 17:29:58 +01:00
Matthias Pfefferle
0c1ddde14b
simplified css
2022-12-06 17:28:34 +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
62c99c87a3
Update assets/js/activitypub-admin.js
...
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2022-12-06 09:21:18 +01:00