Commit graph

60 commits

Author SHA1 Message Date
c857eee616 transformer: move all related code to \Activitypub\Transformer namespace 2023-11-22 13:59:39 +01:00
38be5865c2 initial draft: add/extendable-transformers 2023-11-20 18:15:54 +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
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
f0c0c1bd21 Add disclaimer that content might look different 2023-08-09 11:17:33 +02:00
Matthias Pfefferle
8c650c3356 some more admin improvements 2023-07-24 14:13:26 +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
Matthias Pfefferle
befd0d4f1e do not persist data in a getter! 2023-07-11 09:21:16 +02:00
Matthias Pfefferle
359eabf671 use collection instead of factory 2023-07-03 11:20:44 +02:00
Matthias Pfefferle
c266c927da transform users to actors 2023-06-28 14:22:27 +02:00
Matthias Pfefferle
73c767df39 fix admin-header issue 2023-06-27 14:28:52 +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
2c7f0687cc fix #271
thanks @janboddez
2023-05-22 14:47:20 +02:00
Matthias Pfefferle
3c367f8eb1 remove shortcodes that might confuse people 2023-03-15 17:50:22 +01:00
Matthias Pfefferle
5878a12c83 remove HTML allow list 2023-01-24 11:45:37 +01:00
Matthias Pfefferle
e1df129355 simplify inline help a bit 2023-01-23 22:22:22 +01:00
Matthias Pfefferle
718bd78cf4 typos 2023-01-23 21:09:25 +01:00
Matthias Pfefferle
c93f02615d always escape output 2023-01-23 20:59:39 +01:00
Matthias Pfefferle
fe4e0961c8 I would keep it simple for now 2023-01-23 20:47:02 +01:00
Matthias Pfefferle
092a6bd3ca coding standards 2023-01-23 20:31:38 +01:00
Matthias Pfefferle
d4b88f228d mastodon sadly does not support target on links
See https://github.com/mastodon/mastodon/blob/main/lib/sanitize_ext/sanitize_config.rb#L77
2023-01-23 20:24:03 +01:00
Greg
71f3a47589 Converted shortcode class to static.
And added options for shortlink/permalink type.
2023-01-23 11:59:13 -05:00
Matthias Pfefferle
efa62ac4cb
Add missing text domain 2023-01-23 09:37:40 +01:00
Greg
740a73b00f Add size attribute to the image shortcode. 2023-01-22 01:25:50 -05:00
Greg Ross
621911d1bf
Merge branch 'pfefferle:master' into switch-to-shortcodes 2023-01-22 00:36:06 -05:00
Matthias Pfefferle
f412e83f0f hashtag support is experimental 2023-01-16 20:23:05 +01:00
Greg
bf6cf24b17 Add length to excerpt shortcode. 2023-01-13 16:11:52 -05:00
Greg
e7d3cf9d68 Convert template codes to shortcodes.
As well as add new shortcodes for:

[ap_hashcats] - The post's categories as hashtags
[ap_image] - The URL for the post's featured image, full size
[ap_thumbnail] - The URL for the post's featured image thumbnail size
[ap_author] - The author's name
[ap_authorurl] - The URL to the author's profile page
[ap_date] - The post's date
[ap_time] - The post's time
[ap_datetime] - The post's date/time formated as "date @ time"
[ap_blogurl] - The URL to the site
[ap_blogname] - The name of the site
[ap_blogdesc] - The description of the site
2023-01-13 15:47:13 -05:00
Matthias Pfefferle
006b3eef3e use number input field instead of textarea 2023-01-13 08:56:38 +01:00
Matthew Exon
1e7e6bba28 standardise and improve name of attachment setting 2023-01-12 21:29:21 +01:00
Matthew Exon
d1765b56dd configuration item for number of images to attach 2023-01-07 17:58:50 +01:00
Matthias Pfefferle
ebfc96695f better wording 2022-12-05 20:58:02 +01:00
Matthias Pfefferle
0cbc1037ac better escaping 2022-12-05 20:26:49 +01:00
Matthias Pfefferle
45c4bab52a add missing escapings
props @akirk
2022-12-05 18:37:12 +01:00
Matthias Pfefferle
cd1ce20722
Update templates/settings.php
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2022-12-05 18:09:10 +01:00
Matthias Pfefferle
c6a7599737 fix phpcs issues 2022-12-02 20:44:56 +01:00
Matthias Pfefferle
39df422662 remove headline 2022-11-21 08:27:22 +01:00
Matthias Pfefferle
e4edd52ddb add info to check site health on errors 2022-11-19 21:28:39 +01:00
Matthias Pfefferle
6e660d5f9b hide template patterns 2022-11-19 13:26:00 +01:00
Matthias Pfefferle
fba834b15d add some guidance
based on the feedback of users and the suggestion of @akirk
2022-11-15 18:22:08 +01:00
a875b90054 remove blocklist feature in favor of the comment blocklist 2020-09-21 13:20:39 +02:00
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