Egor Kislitsyn
728587fdaa
typo
5 years ago
Egor Kislitsyn
b594a54d0c
unpin when deleting a status
5 years ago
Maxim Filippov
1f851a0723
Add Twitter Card parser
5 years ago
William Pitcock
490c80bc96
test: common api: add tests for format_input/4
5 years ago
lain
a99e156f2c
Add integer casts.
5 years ago
lain
7ac152ed38
TwitterAPI: Add follower/following pagination.
5 years ago
lain
8df348a3da
Add test for summary_html
5 years ago
lain
5027f82cde
Add activity visibility index.
5 years ago
Egor Kislitsyn
6cbe63726d
improve tests
5 years ago
Egor Kislitsyn
44a1e69484
Add Twitter API for the pinned statuses
```
# Only return statuses that have been pinned
GET /api/statuses/user_timeline.json?pinned=true
# Pin
POST /api/statuses/pin/:id
# Unpin
POST /api/statuses/unpin/:id
```
5 years ago
Egor Kislitsyn
1b06e6fdf3
only non-reblogs, self-authored, public statuses can be pinned
5 years ago
lain
26938d65fd
Add User mass following function.
5 years ago
sxsdv1
20c0dd1e24
Support activity+json request for activity
5 years ago
William Pitcock
567651fb3f
test: user: add tests for visible_for?/2
5 years ago
William Pitcock
f2a4f89abe
tests: user: add tests for superuser?/1
5 years ago
William Pitcock
74f48beec3
user: remove entirely redundant remote_or_auth_active?/1.
auth_active?/1 can check remote users and return true directly.
5 years ago
William Pitcock
4124c9aa4a
tests: user: add regression test for remote_or_auth_active?/1
5 years ago
Egor Kislitsyn
7b6c5f0a9d
improve test readability
5 years ago
lain
0fae04c4e3
Add a setting for users to autofollow on sign up.
5 years ago
Egor Kislitsyn
db6f4496eb
fix test
5 years ago
Egor Kislitsyn
e679da4c34
add `pinned` property to `StatusView`
5 years ago
Egor Kislitsyn
63dbd87568
rename `post` to `status`
5 years ago
lain
a16b17cc61
Actually put some onformation in the error user, make it actually properly parse
in conversations.
5 years ago
Egor Kislitsyn
380e9fba21
add pinned posts
5 years ago
lain
7dcafb4894
MastoAPI: Add test.
5 years ago
lain
7382adf407
Make TwAPI UserView more resilient to issues.
Will work for missing users and badly migrated users.
5 years ago
scarlett
52493467ac
Twitter API: Add a summary_html field.
The intention here is to allow proper subject copying when it contains
emoji, obviously this will require minor frontend changes, though.
5 years ago
Sadposter
042852ecf3
Add check to prevent multiple follow notifications from the same user
5 years ago
scarlett
57df7d6e1d
Add tests for emoji and lack of HTML in summaries.
5 years ago
scarlett
096e121879
Remove redundant comma.
5 years ago
scarlett
6556be344d
Resolve some test failures.
5 years ago
sxsdv1
2d7da5f437
Don't crash on AP request for tombstone
Because tombstone objects has no addressing the is_public?-predicate
would cause an error that propagated as a 500 error in the api
5 years ago
cascode
4c5ee4c62b
formatted
5 years ago
cascode
ab6ebbae67
added test for #499
5 years ago
Maxim Filippov
48e81d3d40
Add RichMediaController and tests
5 years ago
sxsdv1
4e1cc2bab6
Implement delete activity
5 years ago
sxsdv1
551c3d9391
Split create activity specifics from update_outbox
5 years ago
Maxim Filippov
2aab4e03c3
Add OGP parser
5 years ago
Rin Toshaka
9f5881cbb1
Fix a typo in user_test.ex
5 years ago
rinpatch
05743e2000
Get default scrubbers from config instead of hardcoded
5 years ago
rinpatch
91d5a7e81c
Fix test failure
5 years ago
Michael Loftis
cb286fdeba
Improves RetryQueue behavior
reduces to one single timer firing once a second
switches to a parallel worker model
5 years ago
sxsdv1
569bad8210
Create activity when client posts to outbox
5 years ago
sxsdv1
26dc2dddab
Implement ActivityPub inbox view
More or less verbatim copied from the outbox template with only changes
to the activities fetched and url reported
5 years ago
sxsdv1
aa082ca7b6
Wire up stub routes for client calls of activitypub inbox/outbox
Code style: remove wrapping function of outbox
5 years ago
Ivan Tashkinov
242cc9a658
[ #483 ] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added tests.
5 years ago
Ivan Tashkinov
7bd49a3222
[ #483 ] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added tests.
5 years ago
Ivan Tashkinov
67b4297f4d
[ #483 ] Refactored blocks and follows import, added tests.
5 years ago
Ivan Tashkinov
6e9a15b181
[ #483 ] Blocked users export for TwitterAPI.
5 years ago
Haelwenn (lanodan) Monnier
b43d630f30
Web.TwitterAPI.UserView: Add rights.admin
5 years ago