Commit graph

151 commits

Author SHA1 Message Date
665af185bf json: don't escape backslashes 2023-12-12 17:00:08 +01:00
ca94476a1d Merge commit '4a72329bbe97dcf409541bb3d144354b64ad054b' into dev/extendable-transformers
Some checks failed
PHP_CodeSniffer / phpcs (push) Successful in 4m34s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m45s
Unit Testing / phpunit (7.0) (push) Failing after 5m19s
Unit Testing / phpunit (7.2) (push) Failing after 4m56s
Unit Testing / phpunit (7.3) (push) Failing after 5m29s
Unit Testing / phpunit (7.4) (push) Failing after 5m52s
Unit Testing / phpunit (8.0) (push) Failing after 5m36s
Unit Testing / phpunit (8.1) (push) Failing after 6m7s
Unit Testing / phpunit (8.2) (push) Failing after 5m48s
Unit Testing / phpunit (latest) (push) Failing after 5m40s
2023-12-04 19:56:02 +01:00
225e06dfec rename Transformers_Mangaer to Transformer_Factory
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Failing after 4m3s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m36s
Unit Testing / phpunit (7.0) (push) Has been cancelled
2023-11-30 08:36:05 +01:00
ebb747368d wip refactoring the transformers
Some checks failed
PHP_CodeSniffer / phpcs (push) Failing after 2s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 2s
Unit Testing / phpunit (7.0) (push) Failing after 2s
Unit Testing / phpunit (7.2) (push) Failing after 2s
Unit Testing / phpunit (7.3) (push) Failing after 3s
Unit Testing / phpunit (7.4) (push) Failing after 3s
Unit Testing / phpunit (8.0) (push) Failing after 3s
Unit Testing / phpunit (8.1) (push) Failing after 3s
Unit Testing / phpunit (8.2) (push) Failing after 3s
Unit Testing / phpunit (latest) (push) Failing after 3s
2023-11-29 23:46:13 +01:00
mdingemanse
e529b19b8b
Clarifying what [ap_excerpt] does (#578)
* clarifying excerpt

* Update help.php to clarify what [ap_excerpt] does
2023-11-26 21:18:03 +01:00
c857eee616 transformer: move all related code to \Activitypub\Transformer namespace 2023-11-22 13:59:39 +01:00
0501fc5ec7 Merge remote-tracking branch 'origin/master' into add/extendable-transformers
also does c35ddf1935
2023-11-21 13:50:57 +01:00
6d40ebf30e Automatically set the wp_post when returning a transformer instance for the wp_post 2023-11-20 19:36:45 +01:00
38be5865c2 initial draft: add/extendable-transformers 2023-11-20 18:15:54 +01:00
Matthias Pfefferle
21206ecda0
search for followers and order the output list (#502)
* search for followers and order the output list

* re-use existing nonce!

* verify nonce for search!

---------

Co-authored-by: Matt Wiebe <wiebe@automattic.com>
2023-11-17 18:44:13 +01:00
Matt Wiebe
9ff4d1251a
Attachments: add support for audio 🔈 and video 📼 (#536)
* only in the block editor
* update settings page copy: media, not just images

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-10-27 15:55:44 -05:00
Matthias Pfefferle
444c4b2837
Fixes PHP warnings and remote delete (#468)
* fix #463

* fix delete

/cc #465 @janboddez

* add disclaimer to not use the same name as an author login

see #470

* check if url is cached before trashing it
2023-09-27 11:05:11 +02:00
Matt Wiebe
c748d12d89
fix lint issues (#406) 2023-08-30 14:23:20 -05:00
Matt Wiebe
dd693c7e67
Words: copy and language consistency/improvements everywhere (#404)
* copy and language improvements everywhere

* remove "try"

thanks @cavalierlife

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-08-28 14:12:10 +02:00
Matthias Pfefferle
a9648798a8 input fields should be readonly
Some checks failed
Plugin asset/readme update / Push to master (push) Failing after 0s
PHP_CodeSniffer / phpcs (push) Failing after 1s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 2s
Unit Testing / phpunit (7.0) (push) Failing after 2s
Unit Testing / phpunit (7.2) (push) Failing after 2s
Unit Testing / phpunit (7.3) (push) Failing after 3s
Unit Testing / phpunit (7.4) (push) Failing after 2s
Unit Testing / phpunit (8.0) (push) Failing after 2s
Unit Testing / phpunit (8.1) (push) Failing after 2s
Unit Testing / phpunit (8.2) (push) Failing after 2s
Unit Testing / phpunit (latest) (push) Failing after 2s
2023-08-11 12:20:56 +02:00
Matthias Pfefferle
f0c0c1bd21 Add disclaimer that content might look different 2023-08-09 11:17:33 +02:00
Matt Wiebe
5b9dadd6fd
Followers Block (#344)
Introduces a new Followers block. Proudly display your Fediverse followers to the world!

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-07-26 15:05:41 -05:00
Matthias Pfefferle
8c650c3356 some more admin improvements 2023-07-24 14:13:26 +02:00
Matthias Pfefferle
fe90360bf0 fix copy and paste issue 2023-07-21 14:58:49 +02:00
Matthias Pfefferle
426ddffba0 First step of the settings redesign
thanks @nuriapenya for your help and the nice Screens!
2023-07-21 14:52:18 +02:00
Matthias Pfefferle
a5bc7628cf do not hide settings for now 2023-07-20 15:53:06 +02:00
Matthias Pfefferle
3b88d5e36c update checks 2023-07-20 15:19:19 +02:00
Matthias Pfefferle
44a81742aa Add settings to en/disable user types (for .org users) 2023-07-20 14:21:32 +02:00
Matt Wiebe
2596713213 Lint: now clean 2023-07-18 15:02:27 -05:00
Matthias Pfefferle
befd0d4f1e do not persist data in a getter! 2023-07-11 09:21:16 +02:00
Matthias Pfefferle
465a912a70 fix user settings 2023-07-10 14:08:51 +02:00
Matthias Pfefferle
5b712fb7cd fix some last "follower" issues 2023-07-07 13:43:12 +02:00
Matthias Pfefferle
96c1e92151 optimize and simplify followers 2023-07-06 14:42:18 +02:00
Matthias Pfefferle
493b8ffad5 use transformer instead of post-model 2023-07-03 17:59:42 +02:00
Matthias Pfefferle
359eabf671 use collection instead of factory 2023-07-03 11:20:44 +02:00
Matthias Pfefferle
43db2f2707 set context for output 2023-06-28 16:43:05 +02:00
Matthias Pfefferle
c266c927da transform users to actors 2023-06-28 14:22:27 +02:00
Matthias Pfefferle
e924019a73 added translators hint 2023-06-27 14:29:18 +02:00
Matthias Pfefferle
73c767df39 fix admin-header issue 2023-06-27 14:28:52 +02:00
Matthias Pfefferle
4f2a162f6c Fix follower-list actions 2023-06-27 14:28:52 +02:00
Matthias Pfefferle
0f72f94406 small updates 2023-06-27 14:26:37 +02:00
Matthias Pfefferle
6e237fe76c text changes 2023-06-27 14:26:37 +02:00
Matthias Pfefferle
913b60c7c7 Fix WebFinger resources for Blog-User and updated settings. 2023-06-27 14:26:37 +02:00
Matthias Pfefferle
4d8170413b avatar and header-image settings 2023-06-27 14:26:00 +02:00
Matthias Pfefferle
2feca1388a generate default username 2023-06-27 14:26:00 +02:00
Matthias Pfefferle
503353bcd0 Added settings for blog-wide user 2023-06-27 14:26:00 +02:00
Matthias Pfefferle
09518ea66b prepare pseudo users like a blog wide user.
this allows also other constructs like tag oder category users

fix #1
2023-06-27 14:25:12 +02:00
Matthias Pfefferle
5478be1355 a follower is now a valid ActivityPub Actor
this helps with API handling
2023-06-23 14:54:29 +02:00
Matthias Pfefferle
a9b964a087 fix #237 2023-05-23 13:44:08 +02:00
Matthias Pfefferle
2c7f0687cc fix #271
thanks @janboddez
2023-05-22 14:47:20 +02:00
Matthias Pfefferle
3d16b8de1d use full function name in templates 2023-05-17 09:01:28 +02:00
Matt Wiebe
3fa5e4f37e now with more use 2023-05-12 15:31:53 -05:00
Matt Wiebe
314ccf43a6 add a get_rest_url_by_path helper function, and use it 2023-05-12 15:24:24 -05:00
Matt Wiebe
abfa7c7969 Allow setting the REST namespace with ACTIVITYPUB_REST_NAMESPACE 2023-05-11 13:25:30 -05:00
Matthias Pfefferle
6b8c427d01 const to hide plugin recommendations 2023-05-05 13:58:17 +02:00