Commit graph

1119 commits

Author SHA1 Message Date
Matthias Pfefferle
9ac5d84f5c updated readme 2023-10-23 14:56:37 +02:00
Matthias Pfefferle
b55c5d1666 use 401 instead of 403 2023-10-23 14:54:40 +02:00
Matthias Pfefferle
acc632f05c prepare v1.0.8 2023-10-23 09:03:15 +02:00
Matthias Pfefferle
0ab8df539e simplify check 2023-10-23 08:28:30 +02:00
Chaitanya110703
247899312a
doc(README): remove typo (#528) 2023-10-23 07:26:17 +02:00
Matthias Pfefferle
a40bd8408a
Various improvements (#527)
* remove unused code

* check if `$data['object']` is a sting

* do not index application user

* this fixes GoToSocial errors

* do not cache errors

* re-added the fragment

See https://github.com/superseriousbusiness/gotosocial/issues/2280

* Fix coding standards

* do not verify signature on head request
2023-10-21 11:23:05 +02:00
Matt Wiebe
33b61ca2b9
Shortcodes: only register when needed (#526) 2023-10-19 14:46:31 -05:00
Matt Wiebe
ff58070a5e Revert "Shortcodes: only register when needed"
This reverts commit c4daffe5c6.
2023-10-18 16:21:20 -05:00
Matt Wiebe
c4daffe5c6 Shortcodes: only register when needed 2023-10-18 16:20:06 -05:00
Matthias Pfefferle
7d96f67cb2
increase timeout (#518)
because of several issues

fix #514
2023-10-16 19:04:21 +02:00
Tim Serong
c10c52dafc
Fix typo "lenght" in help page (#511) 2023-10-14 17:38:08 +02:00
Matthias Pfefferle
b1773b5a0c version bump 2023-10-13 11:02:56 +02:00
Matthias Pfefferle
1ff8bac25a
add filter to check if blog is public (#504) 2023-10-12 15:52:11 +02:00
Matthias Pfefferle
d564915fdf
fix function call (#503) 2023-10-12 13:25:50 +02:00
Matthias Pfefferle
2ef72a0364 API changes 2023-10-12 11:00:58 +02:00
Matthias Pfefferle
fd6cb84ba3 Fix compatibility with WebFinger and NodeInfo plugin 2023-10-11 11:09:37 +02:00
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
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
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
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
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
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
Matthias Pfefferle
46b1b4797a update text
thanks @mattwiebe
2023-09-28 17:26:39 +02:00
André Menrath
9e121b7cee
Fix styles in Follow-Me block (#461)
* Fix styles in Follow-Me block

A line height of 1 can easily hide some parts of letters like "g" or "p" which makes the actor-handle difficult to read.

The line height might even be up to 1.5, haven't investigated in best practices.

* build files

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
Co-authored-by: Matt Wiebe <wiebe@automattic.com>
2023-09-28 15:22:50 +02:00
Matthias Pfefferle
ebc6433213 better mastodon compatibility 2023-09-28 14:38:48 +02:00
Matthias Pfefferle
86ab132362 add stale action 2023-09-28 11:54:37 +02:00
Matthias Pfefferle
0b8997d4ff
check if blog-user collides with a username (#471)
* check if blog-user collides with a username

See #470

* added changes proposed by @mattwiebe
2023-09-28 09:15:48 +02:00
Matthias Pfefferle
4cec52189a fix text 2023-09-27 11:20:05 +02:00
Matthias Pfefferle
b3e5bad89c
reduce number of checks when system cron is not used (#472)
* reduce number of checks when system cron is not used

* add health check
2023-09-27 11:14:52 +02:00
Matthias Pfefferle
bcb88eb06f
add moderators as attributed_to (#473) 2023-09-27 11:08:55 +02: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
Matthias Pfefferle
20d15bc95d
fix is_single_user (#474) 2023-09-26 21:04:51 +02:00
Aslak Raanes
963b2795a6
Move [ap_hashtags] last in post in Content (#462) 2023-09-23 00:15:10 +02:00
Matthias Pfefferle
b4b934237d version bump / changelog update 2023-09-22 09:40:45 +02:00
Matthias Pfefferle
0d635d5dd1
More Group meta-data to play nicely with existing platforms (#441)
* more group friendly settings

* change http code

* Fix Actor-Type

* fix check if value is set

* only ignore null

* better posting_restricted_to_mods handling

* remove user namespace from moderators endpoint

thanks for the feedback @mattwiebe
2023-09-22 09:38:59 +02:00
Matt Wiebe
dd29775ae4
Activity: try to parse image IDs using blocks (#460)
This will prevent the issue of attaching images that don't were uploaded to the post but not used in the post

The post needs to be using blocks to get the introspection required.
2023-09-22 09:21:49 +02:00
Matt Wiebe
db0f9c1b51
Follow Me: truncate long blog titles and handles (#453)
Also add typography control

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-09-21 12:55:14 -05:00