Commit Graph

77 Commits

Author SHA1 Message Date
Roger Braun
8c2aad1cab Make new users follow themselves. 2017-04-14 17:29:27 +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
834c84b5dc Update factory. 2017-04-13 17:05:35 +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
4cac385411 Add factories for testing. 2017-04-13 15:49:24 +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
6a179a44be Test friends timeline more thoroughly. 2017-04-12 16:53:46 +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
lambadalambda
b5e94bf930 Merge branch 'develop' into 'develop'
Add Follow activity insertion

See merge request !1
2017-04-10 08:44:19 -04: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
567ec494c5 Add user registration mix task. 2017-04-05 12:27:25 +02:00
Roger Braun
f45dc475c7 Fix replies. 2017-04-05 11:59:38 +02:00
Roger Braun
bd247727e2 Remove vestigial file. 2017-04-05 11:59:25 +02:00
dtluna
b502d7981c Add Follow Activity representer 2017-04-05 02:04:54 +03:00
Roger Braun
b57fa46e6a Add Pleroma-FE snapshot. 2017-04-04 17:21:11 +02: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
2e88cc4cbd Add HTML sanitization library. 2017-04-03 18:28:00 +02:00
Roger Braun
ddaaab115e Use standard base url in User. 2017-04-03 18:27:47 +02:00
Roger Braun
4f7567b98c Add TODO file. 2017-04-03 18:27:37 +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
40eb0e4c24 Add index to objects. 2017-03-30 18:06:43 +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
e1525edbe8 Ignore uploads. 2017-03-30 14:34:34 +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