Commit graph

40 commits

Author SHA1 Message Date
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
122461ab6e escape even more 2020-05-12 20:30:06 +02:00
9945aa7cf8 escape global constants and functions
* Add leading \ before function invocation to speed up resolving.
* Add leading \ before constant invocation of internal constant to speed up resolving. Constant name match is case-sensitive, except for null, false and true.
2020-05-12 19:42:09 +02:00
0d48496768 add blacklist settings 2020-02-21 11:09:31 +01:00
ddabb0a0bf fix indents 2020-02-11 10:14:21 +01:00
9b894a7d14 use title instead of titlelink 2020-02-11 10:03:59 +01:00
bgcarlisle
d7a2b9a237 Added new post type: "title and link only" 2020-01-22 15:57:01 +01: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
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
54eb7a960f explicit use of global functions 2019-09-27 11:36:52 +02:00
2e91ce11de Moved followers list to user-menu 2019-08-21 10:38:43 +02:00
Renamed from templates/settings-page.php (Browse further)