Matthias Pfefferle
338c63d3e1
re-add post model ( #386 )
2023-08-01 18:37:16 +02:00
Matthias Pfefferle
3afed5b296
Add/small improvements ( #384 )
...
* flush rewrite rules after migration
* some activity improvements
* equate usernames with and without `.`
Can we equate `@notiz.blog@notiz.blog` with `@notizblog@notiz.blog`?
* better NodeInfo compatibility check
* fix `extract_name_from_uri`
* reset user check
* re-added action
* fix check
2023-07-31 20:15:11 +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
626616a747
always use host as default username
2023-07-14 11:29:03 +02:00
Matthias Pfefferle
002d4e7981
refactoring
2023-07-11 14:34:11 +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
d5a389420d
some fixes based on the feedback of @mattwiebe
2023-07-11 08:53:18 +02:00
Matthias Pfefferle
fe99fffab6
use Group type for blog-user
2023-07-10 10:29:15 +02: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
52038c9f43
fix image and username handling
2023-07-05 15:32:26 +02:00
Matthias Pfefferle
e65b70763d
use URL as post-name
2023-07-05 12:18:48 +02:00
Matthias Pfefferle
493b8ffad5
use transformer instead of post-model
2023-07-03 17:59:42 +02:00
Matthias Pfefferle
359eabf671
use collection instead of factory
2023-07-03 11:20:44 +02:00
Matthias Pfefferle
ced8cd0e29
send activities for blog-wide user
2023-06-29 19:10:49 +02:00
Matthias Pfefferle
68e9bfdc79
this is now part of the Base_Object
2023-06-28 19:38:50 +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
c266c927da
transform users to actors
2023-06-28 14:22:27 +02:00
Matthias Pfefferle
58c04856c9
check if a user is enabled or not
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
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
112eb51af1
updated signature feature to new structure
2023-06-27 14:29:42 +02:00
Matthias Pfefferle
e1fd0e1c39
move signature to user object
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
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
c95e501f98
redirect to canonical URL if it is not an ActivityPub request
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
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
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
bfe5381d99
Merge pull request #299 from mediaformat/signature_verification
...
Signature verification
2023-06-01 11:21:33 +02:00