Commit graph

50 commits

Author SHA1 Message Date
Matthias Pfefferle
00e56ca112 always use is_activitypub_request to check if it is an AP request 2023-06-01 11:17:08 +02:00
Matthias Pfefferle
cfb162c620
Merge branch 'master' into signature_verification 2023-05-17 09:59:02 +02:00
Matthias Pfefferle
4b294bb8a6
Merge branch 'master' into signature_verification 2023-05-16 08:15:35 +02:00
Matthias Pfefferle
9cd2a04955 re-added some namespace consts 2023-05-16 08:14:04 +02:00
Django Doucet
12724a3681 Switch secure_mode to a filter 2023-05-16 00:07:15 -06:00
Matthias Pfefferle
f196047901 remove casts
after feedback from @akirk
2023-05-11 11:02:06 +02:00
Matthias Pfefferle
17b66cb23d implement cleanup_followers and update_followers 2023-05-10 14:18:56 +02:00
Matthias Pfefferle
ca8aff1823 cast to bool, to be sure that '0' is false 2023-05-09 12:25:25 +02:00
Matthias Pfefferle
6d96daa635 fix NodeInfo check 2023-05-08 21:05:20 +02:00
Django Doucet
3d4ae84573 Add secure mode to content negotiated requests 2023-05-05 14:40:30 -06:00
Matthias Pfefferle
77112c441f formatting 2023-05-05 09:57:47 +02:00
Matthias Pfefferle
cec4ed2e3f init follower update scheduler 2023-05-04 15:17:05 +02:00
Alex Kirk
4ed4d06fd5 Add comment 2023-04-21 17:41:04 +02:00
Alex Kirk
45ae73bb06 Add Vary header 2023-04-21 17:20:48 +02:00
Matthias Pfefferle
c32eec2390 some code cleanup 2023-04-20 15:22:11 +02:00
Matthias Pfefferle
e015da7f8f optimize publishing 2023-02-02 01:42:15 +01:00
Matthias Pfefferle
0d255d219b change priority
because of #182
2023-01-16 20:28:45 +01: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
Matthias Pfefferle
5dac683c48 switch to constants to define pathes 2023-01-13 09:19:02 +01:00
Matthias Pfefferle
10a8a2de1d use unique meta 2022-12-27 16:01:59 +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
9acd0732d4 hide users that can not publish posts
fixes #230
2022-12-27 14:03:10 +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
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
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
0152fc39a8 fix accept-header bug 2019-09-30 07:59:19 +02:00
0337b78fef better/simpler accept-header handling 2019-09-29 18:22:59 +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
2f5bf1ccc4 explicit use of global functions 2019-09-27 10:12:59 +02:00
1ab723eb7a as2 is used by an other plugin 2019-07-26 17:06:53 +02:00
f0483a1928 only send Activites when ActivityPub is enabled for this post-type 2019-02-28 19:31:22 +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
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
13bbfe0501 fix #23 2019-02-17 21:10:53 +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
2d84fcc600 implemented "follow" 2018-12-08 00:02:18 +01:00
dde469c27c prepare version 0.0.2 2018-09-30 22:51:22 +02:00
24034cacf3 add JSON representations of single posts 2018-09-27 22:27:23 +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