32acc511b1
decouple the adding/removing of follow relationships from adding/removing followers
...
PHP_CodeSniffer / phpcs (push) Waiting to run
Unit Testing / phpunit (5.6, 6.2) (push) Waiting to run
Unit Testing / phpunit (7.0) (push) Waiting to run
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
also use post_content, and post_content_filtered to store the followers json object and inbox
fix phpcs
remove commented out code
2023-12-27 16:10:41 +01:00
fefa29a29f
fix phpcs
PHP_CodeSniffer / phpcs (push) Waiting to run
Unit Testing / phpunit (5.6, 6.2) (push) Waiting to run
Unit Testing / phpunit (7.0) (push) Waiting to run
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
2023-12-26 13:50:54 +01:00
03b6a8e598
draft for managing follow requests
...
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Has been cancelled
Unit Testing / phpunit (7.0) (push) Has been cancelled
Unit Testing / phpunit (7.2) (push) Has been cancelled
Unit Testing / phpunit (7.3) (push) Has been cancelled
Unit Testing / phpunit (7.4) (push) Has been cancelled
Unit Testing / phpunit (8.0) (push) Has been cancelled
Unit Testing / phpunit (8.1) (push) Has been cancelled
Unit Testing / phpunit (8.2) (push) Has been cancelled
Unit Testing / phpunit (latest) (push) Has been cancelled
- the application actor is managed manually by default
- no admin-options are included yet
- the old new follower table only is used hardcoded by the application actor
- no admin notifications are send yet
- todo: a lot more
2023-12-25 22:35:04 +01:00
Matthias Pfefferle
21206ecda0
search for followers and order the output list ( #502 )
...
* search for followers and order the output list
* re-use existing nonce!
* verify nonce for search!
---------
Co-authored-by: Matt Wiebe <wiebe@automattic.com>
2023-11-17 18:44:13 +01:00
Matthias Pfefferle
0763316009
add status message if it might be returned by API ( #448 )
2023-09-21 09:03:24 +02:00
Matthias Pfefferle
8dcbe0c6fd
fix Secops issues ( #411 )
2023-09-05 21:03:25 +02:00
Matthias Pfefferle
a89a106f21
fall back to preferred username
2023-07-28 15:18:48 +02:00
Matthias Pfefferle
d2af87c259
ignore phpcs warning
2023-07-28 09:50:30 +02:00
Matthias Pfefferle
799280a808
fix default username
2023-07-28 00:47:20 +02:00
Matthias Pfefferle
e12cfa44ac
workaround for special chars ( #379 )
2023-07-28 00:39:22 +02:00
Matthias Pfefferle
d456e86d1a
fix escaping
2023-07-27 17:30:35 +02:00
Matt Wiebe
5b9dadd6fd
Followers Block ( #344 )
...
Introduces a new Followers block. Proudly display your Fediverse followers to the world!
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-07-26 15:05:41 -05:00
Matthias Pfefferle
a0a1e33dc8
Fall back to ID id URL is empty
2023-07-10 10:28:45 +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
e65b70763d
use URL as post-name
2023-07-05 12:18:48 +02:00
Matthias Pfefferle
68e9bfdc79
this is now part of the Base_Object
2023-06-28 19:38:50 +02:00
Matthias Pfefferle
5478be1355
a follower is now a valid ActivityPub Actor
...
this helps with API handling
2023-06-23 14:54:29 +02:00
Matthias Pfefferle
d47a048329
save meta
to post-meta and persist summary in post-content
2023-06-22 10:01:15 +02:00
Matthias Pfefferle
e7bc9706a8
remove url attribute
2023-06-19 11:36:59 +02:00
Matthias Pfefferle
793214cea2
now tests are green again
2023-06-16 11:40:26 +02:00
Matthias Pfefferle
46f376e05e
fix tests
2023-06-15 12:24:13 +02:00
Matthias Pfefferle
fc0fc295bb
fix follower creation
2023-06-15 11:48:09 +02:00
Matt Wiebe
87de87b2a5
Followers: use custom post types and postmeta to store
2023-06-12 11:38:15 -05:00
Matthias Pfefferle
94e5539d75
reset errors if new is set
2023-05-12 10:23:58 +02:00
Matthias Pfefferle
b803914180
removed output formatting
2023-05-11 09:46:26 +02:00
Matthias Pfefferle
26a1dc9be5
use time() instead of strtotime( 'now' )
2023-05-10 18:52:13 +02:00
Matthias Pfefferle
df02d2202e
PHPDoc
2023-05-10 15:02:01 +02:00
Matthias Pfefferle
17b66cb23d
implement cleanup_followers
and update_followers
2023-05-10 14:18:56 +02:00
Matthias Pfefferle
f07869c7d1
be sure to always update date
2023-05-03 15:11:20 +02:00
Matthias Pfefferle
dea5f38561
better error handling
2023-05-02 14:39:25 +02:00
Matthias Pfefferle
ec822535c9
Follower object should not make any remote calls
2023-04-27 09:57:50 +02:00
Matthias Pfefferle
0ee1266c30
add sanitize callbacks
2023-04-26 17:23:28 +02:00
Matthias Pfefferle
377fc94161
php doc
2023-04-25 09:09:07 +02:00
Matthias Pfefferle
84a82c2ac4
added follower model
2023-04-24 20:46:51 +02:00