Commit graph

65 commits

Author SHA1 Message Date
Roger Braun
a926038cd0 Add unliking to activitypub. 2017-04-14 18:09:30 +02:00
Roger Braun
03ddaead7e Add basic user caching.
Expires after 5 seconds.
2017-04-14 17:13:51 +02:00
Roger Braun
90b38fd51b Fix uploads and favorites in twidere / twittnuker. 2017-04-14 16:13:34 +02:00
Roger Braun
fa0c279139 Favorite changes.
- Add 'likes' to activity, collection of ids of people who liked it.
- show if you favorited something or not.
- Don't allow double favorites
- Address favorites to the followers of the liked activity's author.
2017-04-14 15:07:24 +02:00
Roger Braun
5cb446a148 Add favoriting to TwAPI controller. 2017-04-13 17:22:44 +02:00
Roger Braun
d0da40dc81 Display like activities. 2017-04-13 17:05:53 +02:00
Roger Braun
653d605e14 Add favoriting to twitter api. 2017-04-13 16:19:07 +02:00
Roger Braun
1388054796 Add liking to ActivityPub. 2017-04-13 15:50:05 +02:00
Roger Braun
f97c8e4379 Add utility functions for objects and activities. 2017-04-13 15:49:42 +02:00
Roger Braun
1ccbe562c9 Add actor to objects. 2017-04-13 14:56:19 +02:00
Roger Braun
d2bf099ae6 Fix twitter api date. 2017-04-12 19:34:58 +02:00
Roger Braun
f3e7771fd6 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop 2017-04-12 17:47:56 +02:00
Roger Braun
129e30f465 Add basic config endpoint. 2017-04-12 17:47:05 +02:00
lambadalambda
bf22b1547c Merge branch 'feature/home-timeline' into 'develop'
Add home timeline

See merge request !6
2017-04-12 11:30:46 -04:00
lambadalambda
7469616f44 Merge branch 'bugfix/verify_credentials_get' into 'develop'
account/verify_credentials bugfix

See merge request !2
2017-04-12 11:29:35 -04:00
Roger Braun
1b086834bd Don't return html in the text field. 2017-04-12 17:22:29 +02:00
Roger Braun
b666f11d2f Add max_id fetching to activity fetching. 2017-04-12 17:12:00 +02:00
Roger Braun
8eea09889b Return directly addressed activities in friends timeline. 2017-04-12 16:45:23 +02:00
Roger Braun
15655d992e Fix user representation after following. 2017-04-12 16:38:55 +02:00
dtluna
6f99765fba Add home timeline 2017-04-10 18:26:14 +03:00
dtluna
48b6ae2314 Add GET route for verify_credentials 2017-04-10 15:41:21 +03:00
dtluna
0016589aea Remove ambiguity in call to make_date/0 2017-04-10 15:22:49 +03:00
dtluna
57795f7332 Refactor lib/pleroma/web/twitter_api/twitter_api.ex 2017-04-08 17:19:57 +03:00
dtluna
8f43992121 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop 2017-04-08 16:28:50 +03:00
Roger Braun
f45dc475c7 Fix replies. 2017-04-05 11:59:38 +02:00
dtluna
b502d7981c Add Follow Activity representer 2017-04-05 02:04:54 +03:00
dtluna
8075badafe Add Follow activity insertion 2017-04-04 03:30:07 +03:00
Roger Braun
a83fa053de Parse mentions, save them, output them in TwAPI. 2017-04-03 18:28:19 +02:00
Roger Braun
ddaaab115e Use standard base url in User. 2017-04-03 18:27:47 +02:00
Roger Braun
2e89d505d3 Connect attachments with objects, not activities. 2017-03-30 18:07:38 +02:00
Roger Braun
6aa1523bb3 Put objects in inserted activties into the db. 2017-03-30 18:07:29 +02:00
Roger Braun
73df2f8e5e Add attachments to the TwAPI. 2017-03-30 17:07:22 +02:00
Roger Braun
42c90855ba Basic ObjectRepresenter. 2017-03-30 16:08:49 +02:00
Roger Braun
4a6d48b0fe Return mimetype with attachment. 2017-03-30 16:08:23 +02:00
Roger Braun
32aa83f3a2 Short circuit user verification if cookie is present. 2017-03-30 15:29:49 +02:00
Roger Braun
d18473f0c3 Add port if specified. 2017-03-30 14:32:36 +02:00
Roger Braun
e7dc39e40c Basic file uploading via TwAPI. 2017-03-29 02:07:56 +02:00
Roger Braun
08fdbd6f3a Add Uploads. 2017-03-29 01:39:01 +02:00
Roger Braun
d2cdcc097b Add conversation fetching to TwAPI controller. 2017-03-28 17:22:44 +02:00
Roger Braun
0dd3373304 Return statusnet_conversation_id in TwAPI. 2017-03-28 14:49:21 +02:00
Roger Braun
e25aea3fa7 Add conversation id to activities.
This is for compatibility with the TwAPI.
2017-03-28 14:40:09 +02:00
Roger Braun
e4de0ddc77 Add single status fetching to TwAPI. 2017-03-24 01:16:28 +01:00
Roger Braun
866a2663d4 Add fetching of activities in context. 2017-03-24 00:09:08 +01:00
Roger Braun
ae50b165cc Add inReplyToStatus to TwAPI. 2017-03-24 00:00:06 +01:00
Roger Braun
e56dba1563 Add context and inReplyTo. 2017-03-23 23:34:10 +01:00
Roger Braun
74112ef99e Add id to objects, too. 2017-03-23 21:22:49 +01:00
Roger Braun
1f0f79d959 Generate ids for activities. 2017-03-23 17:56:49 +01:00
Roger Braun
9ad045fd58 Return user specific json for logged in users. 2017-03-23 15:51:34 +01:00
Roger Braun
30650e5bc6 Add unfollowing to TwAPI. 2017-03-23 13:13:09 +01:00
Roger Braun
75e51b190d Add following TwAPI endpoint. 2017-03-23 12:09:27 +01:00