Matthias Pfefferle
|
7b83fddfe0
|
fix predictability and collision
|
2023-07-18 14:36:33 +02:00 |
|
Matthias Pfefferle
|
ee3574a8a3
|
Merge pull request #362 from Automattic/short-code-hardening
Hardening the use of a shortcode
|
2023-07-18 08:31:11 +02:00 |
|
Matthias Pfefferle
|
f4c8264e9a
|
move function to Shortcode class
|
2023-07-18 08:20:09 +02:00 |
|
Matthias Pfefferle
|
bf8acf9f51
|
use wp_rand and change hashtags too
|
2023-07-18 08:14:28 +02:00 |
|
Alex Kirk
|
ab6aefe446
|
Add missing output escaping
|
2023-07-18 06:30:06 +02:00 |
|
Matthias Pfefferle
|
964ceee869
|
fix tests
|
2023-07-17 17:23:13 +02:00 |
|
Matthias Pfefferle
|
d7e9d54063
|
Checks if item (WP_Post) is "public", a supported post type and not password protected.
|
2023-07-17 15:25:30 +02:00 |
|
Matthias Pfefferle
|
0f54ea465e
|
fix CSRF flaw
|
2023-07-17 14:37:17 +02:00 |
|
Matthias Pfefferle
|
626616a747
|
always use host as default username
|
2023-07-14 11:29:03 +02:00 |
|
Matthias Pfefferle
|
5ae978a8bc
|
user_id could be an int and meta always returns strings
remove strict comparison in this case and add tests to verify the correct behaviour
|
2023-07-13 10:35:15 +02:00 |
|
Matthias Pfefferle
|
00fbc296b3
|
fix #343
|
2023-07-11 14:48:49 +02:00 |
|
Matthias Pfefferle
|
4a82edcd22
|
Revert "fix #358"
This reverts commit ad18edbcea .
|
2023-07-11 14:48:04 +02:00 |
|
Matthias Pfefferle
|
ad18edbcea
|
fix #358
|
2023-07-11 14:40:31 +02:00 |
|
Matthias Pfefferle
|
002d4e7981
|
refactoring
|
2023-07-11 14:34:11 +02:00 |
|
Matthias Pfefferle
|
e0d767ed98
|
Fix WebFinger endpoint
|
2023-07-11 14:26:07 +02:00 |
|
Matthias Pfefferle
|
57bc4214b7
|
If the Blog is in "single user" mode, return "Person" insted of "Group".
|
2023-07-11 09:28:10 +02:00 |
|
Matthias Pfefferle
|
befd0d4f1e
|
do not persist data in a getter!
|
2023-07-11 09:21:16 +02:00 |
|
Matthias Pfefferle
|
a461ea3b1f
|
some refactorings
|
2023-07-11 09:09:37 +02:00 |
|
Matthias Pfefferle
|
0ab61b6441
|
make is_user_disabled filterable
|
2023-07-11 08:58:50 +02:00 |
|
Matthias Pfefferle
|
d5a389420d
|
some fixes based on the feedback of @mattwiebe
|
2023-07-11 08:53:18 +02:00 |
|
Matthias Pfefferle
|
8920c60c61
|
final fixes and more tests
|
2023-07-10 15:14:37 +02:00 |
|
Matthias Pfefferle
|
be6d8a1792
|
fix activity
|
2023-07-10 14:59:12 +02:00 |
|
Matthias Pfefferle
|
465a912a70
|
fix user settings
|
2023-07-10 14:08:51 +02:00 |
|
Matthias Pfefferle
|
2f5a321474
|
fix missing user_id issue
|
2023-07-10 12:12:12 +02:00 |
|
Matthias Pfefferle
|
81d0e09f6e
|
fix wrong function names
|
2023-07-10 11:56:46 +02:00 |
|
Matthias Pfefferle
|
64d2d2995b
|
oops
|
2023-07-10 11:49:43 +02:00 |
|
Matthias Pfefferle
|
2252b87b1b
|
check what activity should be send
|
2023-07-10 10:58:34 +02:00 |
|
Matthias Pfefferle
|
69326d027c
|
return blog-user when in single mode
|
2023-07-10 10:57:06 +02:00 |
|
Matthias Pfefferle
|
fe99fffab6
|
use Group type for blog-user
|
2023-07-10 10:29:15 +02:00 |
|
Matthias Pfefferle
|
799f4be1d8
|
check for "single user mode"
|
2023-07-10 10:29:02 +02:00 |
|
Matthias Pfefferle
|
a0a1e33dc8
|
Fall back to ID id URL is empty
|
2023-07-10 10:28:45 +02:00 |
|
Matthias Pfefferle
|
9559a089be
|
fix sanitization
|
2023-07-07 16:45:38 +02:00 |
|
Matthias Pfefferle
|
f3d2243afb
|
use paged instead of offset
|
2023-07-07 15:10:22 +02:00 |
|
Matthias Pfefferle
|
7f3d31c59e
|
add prev
|
2023-07-07 15:09:22 +02:00 |
|
Matthias Pfefferle
|
4b8ffc874a
|
add pager to followers endpoint
|
2023-07-07 15:02:34 +02:00 |
|
Matthias Pfefferle
|
d00b7b54f2
|
use esc_sql
|
2023-07-07 14:54:28 +02:00 |
|
Matthias Pfefferle
|
5b712fb7cd
|
fix some last "follower" issues
|
2023-07-07 13:43:12 +02:00 |
|
Matthias Pfefferle
|
d4f5ad8ec1
|
use post_meta instead of post_content
|
2023-07-06 16:10:48 +02:00 |
|
Matthias Pfefferle
|
96c1e92151
|
optimize and simplify followers
|
2023-07-06 14:42:18 +02:00 |
|
Matthias Pfefferle
|
c1da689d66
|
fix is_activitypub_request function
|
2023-07-05 18:13:46 +02:00 |
|
Matthias Pfefferle
|
19d60d8fec
|
fix sending activities
|
2023-07-05 16:16:31 +02:00 |
|
Matthias Pfefferle
|
5c59834a0c
|
various fixes mainly regarding send_follow_response
|
2023-07-05 15:34:22 +02:00 |
|
Matthias Pfefferle
|
1269cc6248
|
better instancing
|
2023-07-05 15:33:16 +02:00 |
|
Matthias Pfefferle
|
eed43355b3
|
fix inbox
|
2023-07-05 15:33:07 +02:00 |
|
Matthias Pfefferle
|
862de71cd2
|
fix WebFinger for pseudo-users
|
2023-07-05 15:32:49 +02:00 |
|
Matthias Pfefferle
|
52038c9f43
|
fix image and username handling
|
2023-07-05 15:32:26 +02:00 |
|
Matthias Pfefferle
|
1380025d4a
|
always use Followers::add_follower
to not ran into inconsistencies
|
2023-07-05 15:31:45 +02:00 |
|
Matthias Pfefferle
|
7a360dbf6f
|
fix object handling
|
2023-07-05 15:31:06 +02:00 |
|
Matthias Pfefferle
|
e65b70763d
|
use URL as post-name
|
2023-07-05 12:18:48 +02:00 |
|
Matthias Pfefferle
|
07b0ae6e2d
|
fix namespaces
|
2023-07-03 20:02:00 +02:00 |
|
Matthias Pfefferle
|
52e644631a
|
add missing attributed_to
|
2023-07-03 20:00:47 +02:00 |
|
Matthias Pfefferle
|
be07574cfe
|
fix code
|
2023-07-03 19:56:06 +02:00 |
|
Matthias Pfefferle
|
47957c2a6a
|
fix code
|
2023-07-03 19:52:54 +02:00 |
|
Matthias Pfefferle
|
7c9258eb1d
|
consistent use of namespaces
|
2023-07-03 19:25:49 +02:00 |
|
Matthias Pfefferle
|
7f3059427d
|
fix tests
|
2023-07-03 18:18:03 +02:00 |
|
Matthias Pfefferle
|
f1c1eff267
|
Merge branch 'add/catchall' into rewrite-user-management
|
2023-07-03 18:03:42 +02:00 |
|
Matthias Pfefferle
|
493b8ffad5
|
use transformer instead of post-model
|
2023-07-03 17:59:42 +02:00 |
|
Matthias Pfefferle
|
1685ec7cc8
|
allow sending blog-wide activities
|
2023-07-03 11:56:25 +02:00 |
|
Matthias Pfefferle
|
359eabf671
|
use collection instead of factory
|
2023-07-03 11:20:44 +02:00 |
|
Matthias Pfefferle
|
dd67f76db1
|
fix class names
|
2023-06-30 16:12:04 +02:00 |
|
Matthias Pfefferle
|
f207089269
|
revert scheduler/dispatcher changes
|
2023-06-30 16:08:28 +02:00 |
|
Matthias Pfefferle
|
ced8cd0e29
|
send activities for blog-wide user
|
2023-06-29 19:10:49 +02:00 |
|
Matthias Pfefferle
|
3e969c859a
|
send blog-wide activities if enabled
|
2023-06-29 18:44:25 +02:00 |
|
Matthias Pfefferle
|
1543c49c19
|
some doc changes
|
2023-06-29 14:54:45 +02:00 |
|
Matthias Pfefferle
|
68e9bfdc79
|
this is now part of the Base_Object
|
2023-06-28 19:38:50 +02:00 |
|
Matthias Pfefferle
|
1fe8c26b1d
|
ignore prefixed attributes
|
2023-06-28 19:38:19 +02:00 |
|
Matthias Pfefferle
|
75a77b3f5c
|
finalize account handling
still missing: publishing
|
2023-06-28 18:02:14 +02:00 |
|
Matthias Pfefferle
|
c02702f773
|
replace filters
|
2023-06-28 16:43:41 +02:00 |
|
Matthias Pfefferle
|
a706bef130
|
check for option field
|
2023-06-28 16:42:33 +02:00 |
|
Matthias Pfefferle
|
913c9aeac4
|
put @context at the top of the JSON output
|
2023-06-28 16:42:20 +02:00 |
|
Matthias Pfefferle
|
c266c927da
|
transform users to actors
|
2023-06-28 14:22:27 +02:00 |
|
Matthias Pfefferle
|
83ddca8f28
|
fix templating
|
2023-06-28 10:14:13 +02:00 |
|
Matthias Pfefferle
|
36540c0f78
|
fix delete
|
2023-06-28 09:56:18 +02:00 |
|
Matthias Pfefferle
|
58c04856c9
|
check if a user is enabled or not
|
2023-06-27 14:30:52 +02:00 |
|
Matthias Pfefferle
|
359cd57081
|
normalizing
|
2023-06-27 14:30:52 +02:00 |
|
Matthias Pfefferle
|
6ddbe25852
|
overwrite activity-object-user on single_user_mode
|
2023-06-27 14:30:52 +02:00 |
|
Matthias Pfefferle
|
e88ee59113
|
make user filterable, to change author to blog wide user
|
2023-06-27 14:29:42 +02:00 |
|
Matthias Pfefferle
|
5f1abd2461
|
fail early
|
2023-06-27 14:29:42 +02:00 |
|
Matthias Pfefferle
|
255ace3ae6
|
revert latest changes to simplify dispatching for now
|
2023-06-27 14:29:42 +02:00 |
|
Matthias Pfefferle
|
a8fe587f91
|
prepare federation method
|
2023-06-27 14:29:42 +02:00 |
|
Matthias Pfefferle
|
723a3e3363
|
fix signature issue
|
2023-06-27 14:29:42 +02:00 |
|
Matthias Pfefferle
|
d251060624
|
migrated missing parts
|
2023-06-27 14:29:42 +02:00 |
|
Matthias Pfefferle
|
112eb51af1
|
updated signature feature to new structure
|
2023-06-27 14:29:42 +02:00 |
|
Matthias Pfefferle
|
4f2a162f6c
|
Fix follower-list actions
|
2023-06-27 14:28:52 +02:00 |
|
Matthias Pfefferle
|
e1fd0e1c39
|
move signature to user object
|
2023-06-27 14:28:52 +02:00 |
|
Matthias Pfefferle
|
e2ad08b61b
|
use correct blog-user-id
|
2023-06-27 14:26:37 +02:00 |
|
Matthias Pfefferle
|
0f72f94406
|
small updates
|
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
|
7b9b3dbc37
|
add @-urls to webfinger aliases
|
2023-06-27 14:26:00 +02:00 |
|
Matthias Pfefferle
|
2feca1388a
|
generate default username
|
2023-06-27 14:26:00 +02:00 |
|
Matthias Pfefferle
|
daf228fd44
|
move permanently
|
2023-06-27 14:26:00 +02:00 |
|
Matthias Pfefferle
|
c95e501f98
|
redirect to canonical URL if it is not an ActivityPub request
|
2023-06-27 14:26:00 +02:00 |
|
Matthias Pfefferle
|
a617553ddf
|
fix profile pages
|
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
|
3feef1e8cf
|
send user and blog activities
and set the blog to "single-mode"
|
2023-06-27 14:26:00 +02:00 |
|
Matthias Pfefferle
|
f8b93760df
|
fix copy&paste issue
thanks @mattwiebe
|
2023-06-27 14:25:39 +02:00 |
|
Matthias Pfefferle
|
a1791b963c
|
try new id urls
|
2023-06-27 14:25:39 +02:00 |
|
Matthias Pfefferle
|
03f2c24892
|
small improvements
|
2023-06-27 14:25:39 +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 |
|