Roger Braun
632da6c927
Don't create notifications if the user is blocked.
7 years ago
Roger Braun
6a5f087174
Add blocks to User.
7 years ago
Roger Braun
345ad870f7
Clean up user_test.exs.
7 years ago
Roger Braun
9be286a900
Handle empty terms / tags.
7 years ago
Roger Braun
6f05367325
Federate out content warnings.
7 years ago
Roger Braun
e014cc6ed8
Allow using cws in mastodon api.
7 years ago
Roger Braun
0c871e5c6e
Fix specs.
7 years ago
Roger Braun
44295dd49a
MastoAPI: Include CW.
7 years ago
Roger Braun
04217f52c9
TwitterAPI: Display cws.
7 years ago
Roger Braun
4cbf17dac6
Save cws in the activitypub data.
7 years ago
Roger Braun
4dcbb64f19
Avoid potentially slow count queries for user note count.
...
For a variety of reasons, posgresql won't use the available actor,
type index to do an index only scan. We now just increase the user
note count, which will lead to slightly wrong counts in some cases,
but it's better than the potentially very slow count query.
7 years ago
Roger Braun
968a546d4a
MastoAPI: Return id as string instead of integer.
7 years ago
Roger Braun
2f39bb6b43
Typo.
7 years ago
Roger Braun
ce7f9f527c
MastoAPI: Always return an url for statuses.
...
External url if available, id if not.
7 years ago
Roger Braun
502cb38cd6
Move user search to User module.
7 years ago
eal
71f66bd458
Fix follow test semantics.
7 years ago
eal
c56d28f96c
Fix return type of /api/v1/follows
7 years ago
eal
8e94936553
Add tests.
7 years ago
Roger Braun
64bc38e009
MastoAPI: Add emoji output.
7 years ago
Roger Braun
b4f055b604
Don't reject already accepted subscriptions.
7 years ago
Roger Braun
6000f61727
MastoAPI: Add repeats to statusview.
7 years ago
Roger Braun
422d0f324f
MastodonAPI: Add user favorites endpoint.
7 years ago
Roger Braun
6d5bd4dcc0
TwitterAPI: Use correct endpoint for tag timeline.
7 years ago
Roger Braun
255a681782
TwitterAPI: Add tag timeline.
7 years ago
Roger Braun
003cb17b16
Add missing fixtures.
7 years ago
Roger Braun
7c82b82197
Make emoji configurable in files.
7 years ago
Roger Braun
959e993c7d
Apply incoming custom emoji.
7 years ago
Roger Braun
16b1fcd271
Handle incoming emoji.
7 years ago
Roger Braun
884006a9e9
Federate emoji out.
7 years ago
Roger Braun
79aeb219d8
Small emoji refactor.
7 years ago
Roger Braun
5d1f8dcd1c
TwitterAPI: Add search.
7 years ago
Roger Braun
0872f5f394
Add undocumented default user default settings.
7 years ago
Roger Braun
c36229c4aa
Add remote user fetching to search.
7 years ago
Roger Braun
9f0a2a714b
Add basic search.
7 years ago
Roger Braun
d659fcc195
MastoAPI: Fix date in account view.
7 years ago
Roger Braun
50409326a8
Refactor posting and make character limit configurable.
7 years ago
Roger Braun
3ca853fb61
MastoAPI: Follower-related changes
7 years ago
Roger Braun
fc85c9f086
Add tag timelines.
7 years ago
Roger Braun
a8701282d4
MastoAPI: fake out 'application' property.
7 years ago
Roger Braun
6258c6b6b3
MastoAPI: Also return text_url in attachments.
7 years ago
Roger Braun
7f3ce5c1a0
Cleanup.
7 years ago
Roger Braun
641c24cdd4
Add media upload endpoint.
7 years ago
Roger Braun
d168ef5a9e
MastoAPI: Add accounts getting.
7 years ago
Roger Braun
94be93aad0
Allign datetime format with mastodon.
7 years ago
Roger Braun
e6286152b9
Fix logic.
7 years ago
Roger Braun
49929321c7
Add relationships to masto api.
7 years ago
Roger Braun
1bc58230ee
Remove milliseconds from mastodon api response.
7 years ago
Roger Braun
b58b35bf56
Use hash of attachment url as id.
...
Pretty hacky, let's see if we can get away with this.
7 years ago
Roger Braun
44a650235b
MastoAPI: Remove domain ending from account name.
7 years ago
Roger Braun
61adf676d5
Add basic mastodon notification support.
7 years ago
Roger Braun
7616b202ea
Add user timelines to Masto Api.
7 years ago
Roger Braun
fc10875895
Add attachments to mastoapi statuses.
7 years ago
Roger Braun
e8975d06be
Add header image to masto api.
7 years ago
Roger Braun
d625d8db7d
Add unfav to Mastodon API.
7 years ago
Roger Braun
454dc18570
Add favoriting to Mastodon API.
7 years ago
Roger Braun
66e4c710d4
Add reblogging to MastodonAPI.
7 years ago
Roger Braun
4dc517a0bb
Add deletion to masto api.
7 years ago
Roger Braun
be04f725e9
Add more Mastodon API methods.
7 years ago
Roger Braun
2b7efff71b
Add Mastodon StatusView.
7 years ago
Roger Braun
c6bdc5960c
Test for Mastodon AccountView
...
Handles users and mentions.
7 years ago
Roger Braun
95cedd6000
Make auth tokens usable once and expire them.
7 years ago
Roger Braun
d1c10ad2fb
Fix specs.
7 years ago
Roger Braun
3438a120cc
Don't delete new delete activity...
7 years ago
Roger Braun
fcf3128a56
Add TwAPI representer for deletes.
7 years ago
Roger Braun
2348b272e0
Create deletes activities for incoming deletes.
7 years ago
Roger Braun
5db535c0b1
Add delete to ActivityPub.
7 years ago
Roger Braun
540dfb4617
Add delete activity representer.
7 years ago
Roger Braun
10e40206c6
Output mastodon-style conversation ids.
7 years ago
Roger Braun
1b1f861bad
Handle mastodon conversation ids.
7 years ago
Roger Braun
4b03c43fd7
fix specs.
7 years ago
Roger Braun
5142a8efbb
Add profile update.
7 years ago
Roger Braun
171ef33cbb
More sensible attachment names.
7 years ago
Roger Braun
fecbd099cd
Ignore padding for salmon public keys.
7 years ago
Roger Braun
67bfa19b35
Set twitter-style possibly_sensitive boolena.
7 years ago
Roger Braun
5dc278b1a6
Add activity_type to twitter api output.
7 years ago
Roger Braun
08bd59e446
Extend webfinger capabilities.
7 years ago
Roger Braun
1a001588e8
Don't break on empty mentions.
7 years ago
Roger Braun
552cfdbe11
Fix deletion not deleting relevant actions.
7 years ago
Roger Braun
7d34cec58d
escape attachment urls on creation.
7 years ago
Roger Braun
a32784fe6d
Cowboy and Elixir don't seem to agree on uri encoding...
7 years ago
Roger Braun
9c35456d77
URI encode filenames...
7 years ago
Roger Braun
763756f879
Also fetch atom links.
7 years ago
Roger Braun
25c733f402
Add href to in-reply-to.
...
THis should enable fetching from pleroma posts.
7 years ago
Roger Braun
f226f46a09
Add basic incoming deletions.
7 years ago
Roger Braun
558ab6e74e
Display html links correctly for remote activies.
7 years ago
Roger Braun
00b722430f
Revert "Close br tags."
...
This reverts commit 2eba8e74cc
.
7 years ago
Roger Braun
19e8421947
Revert "Wrap in <p>."
...
This reverts commit c81d0b6f89
.
7 years ago
Roger Braun
3063e3b440
Revert "Remove newlines completely so mastodon doesn't bug out."
...
This reverts commit 0ca3ab7b59
.
7 years ago
Roger Braun
0ca3ab7b59
Remove newlines completely so mastodon doesn't bug out.
7 years ago
Roger Braun
c81d0b6f89
Wrap in <p>.
7 years ago
Roger Braun
2eba8e74cc
Close br tags.
7 years ago
Roger Braun
fc269fd319
Add html alternate link to atom.
7 years ago
Roger Braun
72ca58c540
Save follower count and note count in user.
7 years ago
Roger Braun
a027b0027c
Add friends endpoint.
7 years ago
Roger Braun
94a394e3a8
Add followers endpoint.
7 years ago
Roger Braun
44aef2183e
Add follower / friend fetching to user.
7 years ago
Roger Braun
140f72725d
Use follower address in user entry.
7 years ago
Roger Braun
396c32a6da
Add follower_address to users, add on generation.
7 years ago
Roger Braun
7e9647b146
Fix undo activity.
7 years ago
Roger Braun
e343c0c9c4
Add way to update most recent notification id.
7 years ago