Roger Braun
1d3d66a841
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun
6e9c22c0af
MastoAPI: Use string ids everywhere.
7 years ago
eal
e6a78c6ed0
MastoAPI: Add notification get, clear and dismiss.
7 years ago
Roger Braun
1b8ad9f731
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun
266d9c008d
MastoAPI: Fetch statuses in search.
7 years ago
lambda
2247d7580e
Merge branch 'fix-tootdon-image-uploads' into 'develop'
...
Correct mimetype on bad uploads.
See merge request pleroma/pleroma!12
7 years ago
eal
e942e1e552
Correct mimetype on bad uploads.
7 years ago
Roger Braun
f1d27a5fbb
Add actor column to activities.
7 years ago
Roger Braun
41b8a76e96
Re-fetch user data on salmon decode error.
7 years ago
eal
f7fc048aeb
TwitterAPI user view: add follows_you.
7 years ago
eal
4656cb9b99
TwitterAPI user view: add blocks.
7 years ago
eal
6c0758e041
TwitterAPI: Add blocks.
7 years ago
lambda
d761b1543a
Merge branch 'authenticated-profile-fetching' into 'develop'
...
Allow profile fetching for authenticated users only.
Closes #54
See merge request pleroma/pleroma!7
7 years ago
Roger Braun
7da978f3f5
Linkify fixes.
7 years ago
eal
f85566324e
Allow profile fetching for authenticated users only.
7 years ago
Roger Braun
7252f6b054
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun
046bee34d3
Fix bug when no posts are in the db.
7 years ago
Roger Braun
c6b9b777da
MastoAPI: Add list of blocked users.
7 years ago
Roger Braun
5bf92e50be
MastoAPI: Add blocking.
7 years ago
Roger Braun
33beb51da4
MastoAPI: Add blocking to AccountView.
7 years ago
Roger Braun
867ac1e4f5
Handle nil cases.
7 years ago
Roger Braun
8ef58a266b
Don't return blocked users' activities in contexts.
7 years ago
Roger Braun
a47727adde
Don't return activities from blocked users.
7 years ago
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
6268b7e0eb
HTTP Signatures: Work with all test vectors.
7 years ago
Roger Braun
9cefbaf016
Start of HTTP Signatures.
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
Roger Braun
9cda5b897a
Fix test.
7 years ago
Roger Braun
201804b836
Only return posts in TwAPI conversations.
7 years ago
Roger Braun
d4de38e8ff
Order conversation fetches like GS does.
7 years ago
Roger Braun
6a44427915
Add tests for public recipients.
7 years ago
Roger Braun
fc7016a88c
Don't add public recipient to notes that don't contain it.
7 years ago
Roger Braun
1c074efeaf
Add external links to twapi.
7 years ago
Roger Braun
429992fcc9
Save external link for notes.
7 years ago
Roger Braun
6935fc3e01
Update user data on fetch if it changed.
7 years ago
Roger Braun
6a184115a2
Longer timeouts for outgoing federation.
7 years ago
dtluna
069daf644d
Replace UserRepresenter with UserView
7 years ago
Roger Braun
66b4fee80e
Add finmoji.
7 years ago
Roger Braun
6cac8e3c8b
Downcase tags coming in through the TwAPI.
7 years ago
Roger Braun
5ff4a5eee3
Save incoming tags as lowercase.
7 years ago
Roger Braun
fa82822932
Revert "Add invisible tags to TwAPI output."
...
This reverts commit a92a9dce94
.
7 years ago
Roger Braun
d00571ff75
Fetch user feed on externalprofile request.
...
This is so we always have something to show.
7 years ago
Roger Braun
fafb765c48
Output tags list in TwAPI.
7 years ago
Roger Braun
8feec8d390
Strip unsafe html on output in TwAPI.
7 years ago
Roger Braun
a9bfbcae80
Slightly better html link regex.
7 years ago
Roger Braun
7b41e103e1
Remove html from user bios on display.
...
This is mainly to fix problems of bios coming from mastodong.
7 years ago
Roger Braun
83c657afa5
Do some basic escaping.
7 years ago
Roger Braun
1af9c77736
Move mention parsing to Formatter module.
7 years ago
Roger Braun
eb18b9ebba
Enable user timelines.
7 years ago
Roger Braun
6342fcd5dc
Save correct date for incoming notes.
7 years ago
Roger Braun
00c032783d
Fix NaN statuses per day.
7 years ago
Roger Braun
cdcb201bf5
Represent object publishing date in notes.
7 years ago