Commit graph

699 commits

Author SHA1 Message Date
edc334a1fb add prefixes 2020-07-21 09:27:35 +02: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
827aacc450 check params to prevent PHP warnings 2020-05-23 12:34:11 +02:00
Matthias Pfefferle
be50451636
WordPress coding style 2020-05-19 16:45:50 +02:00
Django Doucet
3c730050b7 remove irrelevent option 2020-05-18 17:36:17 -04:00
Django Doucet
3d573aa140 Only return nodeinfo data if site is public 2020-05-18 17:32:17 -04:00
19a7bddc5f check case insensitive 2020-05-18 16:46:51 +02:00
5ad36d0027 add default value 2020-05-18 16:46:31 +02:00
41a58ccda5 show inline images
fix #77
2020-05-14 23:10:25 +02:00
f9223be5d7 fix some method names
and add basic tests
2020-05-14 22:33:09 +02:00
4798b75f37 more chances to support delete 2020-05-14 21:37:59 +02:00
b8feca2d9f PHPDoc 2020-05-14 21:04:33 +02:00
c24966d683 first try of a delete activity
see #16
2020-05-14 18:02:49 +02:00
122461ab6e escape even more 2020-05-12 20:30:06 +02:00
9945aa7cf8 escape global constants and functions
* Add leading \ before function invocation to speed up resolving.
* Add leading \ before constant invocation of internal constant to speed up resolving. Constant name match is case-sensitive, except for null, false and true.
2020-05-12 19:42:09 +02:00
60ad191fdc fix follow 2020-05-04 00:06:48 +02:00
95682dbb6d change default 2020-04-28 10:03:44 +02:00
821120786f Fix debug log 2020-04-28 10:03:35 +02:00
273787295a native function invocation 2020-02-22 13:02:58 +01:00
385aac3568 improve request validation and added blacklist check 2020-02-21 11:11:03 +01:00
0d48496768 add blacklist settings 2020-02-21 11:09:31 +01:00
7bcd586eae fix get_remote_metadata_by_actor 2020-02-21 11:05:17 +01:00
ddabb0a0bf fix indents 2020-02-11 10:14:21 +01:00
9b894a7d14 use title instead of titlelink 2020-02-11 10:03:59 +01:00
bgcarlisle
d7a2b9a237 Added new post type: "title and link only" 2020-01-22 15:57:01 +01:00
Matthias Pfefferle
965c8ca804
Merge pull request #83 from BenLubar-PR/authorized-fetch
support authorized fetch to avoid having comments from "Anonymous"
2020-01-19 16:22:30 +01:00
Matthias Pfefferle
87aa2e1af1
Merge pull request #82 from BenLubar-PR/title
Use the "summary" property for a title as Mastodon does.
2020-01-19 16:21:22 +01:00
Ben Lubar
fbcf2dbabc
support authorized fetch to avoid having comments from "Anonymous" 2020-01-18 12:56:30 -06:00
Ben Lubar
b4a79fd57e
Use the "summary" property for a title as Mastodon does. 2020-01-18 12:38:08 -06:00
Ben Lubar
f387177ebf
Add image alt text to the ActivityStreams attachment property in a format that Mastodon can read. 2020-01-18 12:36:46 -06: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
937618101e disable broken delete activity 2019-11-27 08:25:04 +01:00
be721e851e fix #73 2019-11-24 21:25:25 +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
55ca69fd22 add all required accept header 2019-09-29 18:23:22 +02:00
0337b78fef better/simpler accept-header handling 2019-09-29 18:22:59 +02:00
9fd551f07d add debugging mechanism 2019-09-28 14:17:58 +02:00
2e010c8ad5 Add setting to enable AP for different (public) Post-Types
For example PodLove "Episodes".

fixes #65
2019-09-27 15:00:07 +02:00
de62e95102 fix #56 2019-09-27 11:37:15 +02:00
ad691bc488 Merge branch 'master' of https://github.com/pfefferle/wordpress-activitypub 2019-09-27 10:13:03 +02:00
2f5bf1ccc4 explicit use of global functions 2019-09-27 10:12:59 +02:00
Alex Gleason
b266ad0aa1
Fix comments 2019-09-07 21:32:58 -05: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
a0d670ed77 another fix 2019-08-18 22:39:34 +02:00
bdd9bd8775 fixed tests 2019-08-18 22:16:59 +02:00
f80f6a791f new dispatcher class 2019-08-18 21:54:11 +02:00
Armando Lüscher
344d981ce8
Initial proofread 2019-07-28 22:12:11 +02:00
55303bf34c check if inbox exists
...to prevent warnings
2019-07-26 17:07:43 +02:00
1ab723eb7a as2 is used by an other plugin 2019-07-26 17:06:53 +02:00
8d91b213e7 fixed inbox problems with pleroma 2019-03-14 23:10:11 +01:00
a0471a9eef added following endpoint 2019-03-12 22:20:04 +01:00
5a74aa4a4d simplified "followers" endpoint 2019-03-12 22:19:51 +01:00
7a7ea3350a fixed default value problem 2019-03-12 22:18:20 +01:00
c5823afc8e followers list improvements 2019-03-09 01:23:10 +01:00
669d0d6141 fixed pleroma following issue
fixed #19
2019-03-09 01:22:49 +01:00
f10921e554 implement #21 2019-03-02 21:10:42 +01:00
e2d708d23c phpdoc 2019-02-28 19:31:55 +01:00
f0483a1928 only send Activites when ActivityPub is enabled for this post-type 2019-02-28 19:31:22 +01:00
50d068b51a add WIP OStatus class 2019-02-24 13:01:43 +01:00
a6d97f8ba7 (php)doc 2019-02-24 13:01:28 +01:00
1828c88d73 fixed #30
will be released with the next version
2019-02-24 12:27:49 +01:00
4d07955c75 still refactoring 2019-02-24 12:27:26 +01:00
5db2e38719 fixed namespace problems 2019-02-24 12:21:25 +01:00
40b2651b7e big refactoring to use namespaces for a better code structure 2019-02-24 12:07:41 +01:00
30b939b5a1 show avatars 2019-02-20 21:05:29 +01:00
94ba1666f2 finally fixed backlink in excerpt/summary posts 2019-02-20 20:25:19 +01:00
b209104fdd finally fixed contact list 2019-02-19 22:43:14 +01:00
b958d5910c added setting to enable/disable hashtags /cc @chrisaldrich 2019-02-17 21:27:20 +01:00
13bbfe0501 fix #23 2019-02-17 21:10:53 +01:00
0fa7fc62f7 fix #25 2019-02-17 21:09:24 +01:00
6344e10ab6 changed default value 2019-02-04 13:40:23 +01:00
ebe2d434c6 better json encoding 2019-02-03 00:44:01 +01:00
fdad48ef74 0.3.0 2019-02-02 23:56:05 +01:00
e9d6f11889 public functions to get/count followers
for a better use in themes/other plugins
2019-01-22 21:16:37 +01:00
03f6da019d basic hashtag support
see #21 #20
2019-01-22 20:51:22 +01:00
e8d2508f5d nicer profile and customizable backlink
* customizable backlink URL #18
* fixes #12
2019-01-16 21:50:45 +01:00
b9e90829af content fixes
* added option to switch between content and excerpt
* removed html and duplicateded new-lines

fixes #6
2019-01-04 19:57:33 +01:00
962c95d934 more settings
fixes #7 and #6
2018-12-28 22:40:57 +01:00
1580b3d4b1 fixed "excerpt" in AS JSON 2018-12-20 19:10:17 +01:00
4e653f5f75 0.1.0
* added basic WebFinger support
* added basic NodeInfo support
* fully functional "follow" activity
* send new posts to your followers
* receive comments from your followers
2018-12-20 11:33:08 +01:00
6de740aebe renamed class 2018-12-09 22:20:30 +01:00
a8c1220139 added basic nodeinfo and webfinger support 2018-12-09 21:54:57 +01:00
2d84fcc600 implemented "follow" 2018-12-08 00:02:18 +01:00
64a5128e1e signature class
compatible to the salmon plugin
2018-10-02 22:25:40 +02:00
557d5ae763 updated inbox hooks 2018-10-02 22:16:47 +02:00
dde469c27c prepare version 0.0.2 2018-09-30 22:51:22 +02:00
c585b21163 start work on the inbox 2018-09-27 22:28:49 +02:00
1a0777a06f some cleanups and refactorings 2018-09-27 22:27:49 +02:00
24034cacf3 add JSON representations of single posts 2018-09-27 22:27:23 +02:00
9f4cd97eb0 some helper functions
to get the `activitypub_object_type` and to `activitypub_post_to_json`
2018-09-27 22:26:57 +02:00
b73b8e8f25 fixes 2018-09-24 23:45:11 +02:00
120d5714f8 basic outbox implementation 2018-09-24 20:47:15 +02:00
ac9022f429 some small changes 2018-09-05 22:03:57 +02:00
52f0d81228 initial 2018-08-18 12:35:39 +02:00