Commit graph

1242 commits

Author SHA1 Message Date
Matthias Pfefferle
12b6750c94
do not overwrite $image_ids (#500)
to include post thumbnail also for block-parser.
2023-10-10 20:48:59 +02:00
Matthias Pfefferle
1ef984da6c
fix a race condition (#501) 2023-10-10 20:45:32 +02:00
Matthias Pfefferle
cd6061a472 version bump 2023-10-10 20:41:57 +02:00
Matthias Pfefferle
12a9421c8c version bump 2023-10-10 17:04:57 +02:00
Matthias Pfefferle
ab581560f0
new banner and icons (#492)
thanks @nuriapenya and @garretsteider-a8c
2023-10-10 12:04:22 +02:00
Matthias Pfefferle
cbb5570a1b
add backward compatibility support (#489) 2023-10-10 08:12:15 +02:00
Matthias Pfefferle
588c5698de
Merge branch 'master' into Comments 2023-10-09 16:01:14 +02:00
Matthias Pfefferle
c9fa9b8d33
Add "Security Policy" and "Code of Conduct" (#498)
* Add a Security Policy

* Add Contributor Covenant Code of Conduct

* add Automattic

* do not push md files to .org

* remove Jetpack references

thanks @jeherve
2023-10-09 14:17:17 +02:00
Matthias Pfefferle
e8736c15a9 move functions to transformer class 2023-10-09 12:35:57 +02:00
Matthias Pfefferle
8f03fdeaf8
Merge branch 'master' into Comments 2023-10-07 11:02:21 +02:00
Matthias Pfefferle
8ff39d6f44
first draft of FEDERATION.md (#491) 2023-10-07 09:22:25 +02:00
Matt Wiebe
8efe98ad20
Follow Me: more sensible and leaner styles (#496)
* side padding only for border/color
2023-10-07 00:11:07 -05:00
Matt Wiebe
838ddf478f
Blocks: improved theme compat &c. (#495)
* only encode needed data
* don't show user select if there isn't more than one user
* vertically center follow me
* add title to handle: might be truncated
* theme compat: ensure readability in dialog
* theme compat for dark bg themes
2023-10-06 22:34:06 -05:00
Matt Wiebe
bade9a1348
Blocks: better frontend UX (#494)
Before this: ugly, bad loading

After this: happy, in my lane, moisturized, moving
2023-10-06 16:54:48 -05:00
Matthias Pfefferle
a18740c1ef fix PHPCS 2023-10-06 17:46:36 +02:00
Matthias Pfefferle
69a0a90b10 fix tests 2023-10-06 17:43:03 +02:00
Matthias Pfefferle
1a58b69b80 fix tests 2023-10-06 17:37:00 +02:00
Matthias Pfefferle
f92524b384 fixed typo 2023-10-06 17:28:55 +02:00
Matthias Pfefferle
77e611cf2c fix testcase 2023-10-06 16:50:27 +02:00
Matthias Pfefferle
e57932b099 fix unittests 2023-10-06 16:46:01 +02:00
Matthias Pfefferle
0185e38013 fix namespace 2023-10-06 16:39:11 +02:00
Matthias Pfefferle
b9e49d42c3 some more fixes 2023-10-06 16:33:54 +02:00
Matthias Pfefferle
69195f8b3a fixes 2023-10-06 16:10:40 +02:00
Matthias Pfefferle
50f7ae2a04 move some functions 2023-10-06 16:08:15 +02:00
Matthias Pfefferle
a9c1862369 some simplifications 2023-10-06 15:45:58 +02:00
Matthias Pfefferle
b07e756927 use const instead of dirname 2023-10-06 11:38:08 +02:00
Matthias Pfefferle
63a8502205
Merge branch 'master' into Comments 2023-10-05 09:51:43 +02:00
Brandon Kraft
b956f5b088
Posts: add pre-fetch hook to allow plugins to hang filters on (#487)
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-10-05 08:14:32 +02:00
Matt Wiebe
e05176cea5
Add a ACTIVITYPUB_DISABLE_REWRITES constant (#490) 2023-10-04 23:55:13 -05:00
Matt Wiebe
9907585570
Plugin loading refactor (#485)
* Plugin loading refactor
* changed load order for REST endpoints

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-10-04 11:15:53 -05:00
Matthias Pfefferle
110eb409d4
Merge branch 'master' into Comments 2023-10-04 15:48:05 +02:00
Brandon Kraft
7b0fc062d7
README: add missing words (#486)
* README: add missing words

* updated ActivityPub

thanks @kraftbj

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-10-04 15:36:55 +02:00
Matthias Pfefferle
9466048bfb
do not show block for WP versions below 5.9 (#484)
* do not show block for WP versions below 5.9

* oops, wrong operator
2023-10-04 08:32:21 +02:00
Django
92fd280133
Merge branch 'Automattic:master' into Comments 2023-10-03 06:00:10 -07:00
Django Doucet
a78a581b41 enqueue reply script on front end 2023-10-02 18:05:48 -06:00
Django Doucet
f018432033 front-end reply inserts @mentions 2023-10-02 17:48:33 -06:00
Django Doucet
734235b500 Fix comment updated datetime 2023-10-02 09:26:16 -07:00
Matthias Pfefferle
d268bd9aee version bump 2023-10-02 17:32:27 +02:00
Matthias Pfefferle
b7c0e011de
Fix the health check (#481)
* only test author urls if authors are enabled

* if authors are disabled use the blog user to test webfinger
2023-10-02 17:12:23 +02:00
Matthias Pfefferle
336f3e5a62
Fix various encoding issues (#477)
* fix html-entity issue in username

* remove kses

let other platforms decide what to allow and what not

* Remove html_entity_decode to prevent encoding issues (#454)

I've tested this on content which includes MarkDown, HTML, encoded entities, unencoded entities, etc.

Fixes #445

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>

* remove allowed tags

---------

Co-authored-by: Terence Eden <edent@users.noreply.github.com>
2023-10-02 17:11:56 +02:00
Django Doucet
bf5cccf685 update post field meta 2023-10-01 12:23:24 -06:00
Django Doucet
f44298f503 reinclude user_id in saved ap_object meta 2023-10-01 12:22:35 -06:00
Django Doucet
641d250a06 remove redundant id check 2023-10-01 12:20:49 -06:00
Django Doucet
7339a6419d Update activitypub_send_comment_activity to include type 2023-10-01 12:18:01 -06:00
Django Doucet
d67556ca33 Adds new helpers for resolving inReplyTo url 2023-10-01 12:09:31 -06:00
Django Doucet
8495fda263 ignore WP_Comment type for now 2023-10-01 12:04:07 -06:00
Django Doucet
133c16dc3e migrate dispatch, migrate comment model to transform 2023-10-01 11:55:44 -06:00
Django Doucet
f808ff33cb Separate comment reply script 2023-10-01 11:38:37 -06:00
Django Doucet
da2495e88f Merge branch 'master' into Comments 2023-09-29 09:47:17 -06:00
Matthias Pfefferle
46b1b4797a update text
thanks @mattwiebe
2023-09-28 17:26:39 +02:00