akkoma
7 years agoLog subscription error.
Roger Braun [Mon, 1 May 2017 15:28:49 +0000 (17:28 +0200)]
Log subscription error.

7 years agoDon't commit nil values in object cache.
Roger Braun [Mon, 1 May 2017 14:28:40 +0000 (16:28 +0200)]
Don't commit nil values in object cache.

7 years agoRemove superfluous transaction.
Roger Braun [Mon, 1 May 2017 14:15:21 +0000 (16:15 +0200)]
Remove superfluous transaction.

7 years agoCache objects in dev and prod.
Roger Braun [Mon, 1 May 2017 14:12:20 +0000 (16:12 +0200)]
Cache objects in dev and prod.

7 years agoActually make index unique.
Roger Braun [Mon, 1 May 2017 13:42:05 +0000 (15:42 +0200)]
Actually make index unique.

7 years agoEnsure we have no duplicate ap ids.
Roger Braun [Mon, 1 May 2017 12:54:58 +0000 (14:54 +0200)]
Ensure we have no duplicate ap ids.

7 years agoReturn feed for xml requests of the user.
Roger Braun [Mon, 1 May 2017 12:07:41 +0000 (14:07 +0200)]
Return feed for xml requests of the user.

7 years agoMake user keys on usage.
Roger Braun [Mon, 1 May 2017 12:07:29 +0000 (14:07 +0200)]
Make user keys on usage.

7 years agoReturn webfinger for ap_ids.
Roger Braun [Mon, 1 May 2017 11:51:17 +0000 (13:51 +0200)]
Return webfinger for ap_ids.

7 years agoMake outgoing salmons work.
Roger Braun [Mon, 1 May 2017 11:14:58 +0000 (13:14 +0200)]
Make outgoing salmons work.

7 years agoAdd function to fetch users from fqn.
Roger Braun [Sun, 30 Apr 2017 16:48:48 +0000 (18:48 +0200)]
Add function to fetch users from fqn.

7 years agoRename wrongly-named function.
Roger Braun [Sun, 30 Apr 2017 13:06:22 +0000 (15:06 +0200)]
Rename wrongly-named function.

7 years agoGet users fresh, might so we don't make new keys all the time.
Roger Braun [Sun, 30 Apr 2017 13:05:16 +0000 (15:05 +0200)]
Get users fresh, might so we don't make new keys all the time.

7 years agoReturn keys in webfinger.
Roger Braun [Sun, 30 Apr 2017 13:00:04 +0000 (15:00 +0200)]
Return keys in webfinger.

7 years agoDon't set statusnetConversationIds on replies anymore.
Roger Braun [Sun, 30 Apr 2017 12:26:29 +0000 (14:26 +0200)]
Don't set statusnetConversationIds on replies anymore.

7 years agoStop adding statusnetConversationIds.
Roger Braun [Sun, 30 Apr 2017 12:02:04 +0000 (14:02 +0200)]
Stop adding statusnetConversationIds.

7 years agoWrap context creation in transaction.
Roger Braun [Sun, 30 Apr 2017 11:58:40 +0000 (13:58 +0200)]
Wrap context creation in transaction.

7 years agoUse conversation mapping objects to get / retrieve context from TwAPI.
Roger Braun [Sun, 30 Apr 2017 11:53:26 +0000 (13:53 +0200)]
Use conversation mapping objects to get / retrieve context from TwAPI.

7 years agoPull in remote avatar on federation.
Roger Braun [Sun, 30 Apr 2017 10:53:49 +0000 (12:53 +0200)]
Pull in remote avatar on federation.

7 years agoHandle duplicates.
Roger Braun [Sun, 30 Apr 2017 10:36:47 +0000 (12:36 +0200)]
Handle duplicates.

7 years agoFederate object id for posts in ostatus.
Roger Braun [Sun, 30 Apr 2017 09:55:19 +0000 (11:55 +0200)]
Federate object id for posts in ostatus.

This is because ostatus doens't have an id for the activities.

7 years agoHandle comments.
Roger Braun [Sun, 30 Apr 2017 09:39:27 +0000 (11:39 +0200)]
Handle comments.

7 years agoAdd thr:in-reply-to to ostatus representer.
Roger Braun [Sun, 30 Apr 2017 09:17:34 +0000 (11:17 +0200)]
Add thr:in-reply-to to ostatus representer.

7 years agoGet create activity from created object id.
Roger Braun [Sun, 30 Apr 2017 09:16:41 +0000 (11:16 +0200)]
Get create activity from created object id.

This is useful for Ostatus federation because ostatus doesn't have
different ids for objects and activities...

7 years agoMake cache bigger and longer lived.
Roger Braun [Sun, 30 Apr 2017 08:06:57 +0000 (10:06 +0200)]
Make cache bigger and longer lived.

7 years agoUse cache for user info data.
Roger Braun [Sun, 30 Apr 2017 08:04:54 +0000 (10:04 +0200)]
Use cache for user info data.

Later these should be persisted in the user.

7 years agoKeep ostatus id as activity id.
Roger Braun [Sun, 30 Apr 2017 07:25:46 +0000 (09:25 +0200)]
Keep ostatus id as activity id.

7 years agoHandle full incoming feeds.
Roger Braun [Sat, 29 Apr 2017 19:13:21 +0000 (21:13 +0200)]
Handle full incoming feeds.

7 years agoSave remote users with fqn as nickname.
Roger Braun [Sat, 29 Apr 2017 18:08:45 +0000 (20:08 +0200)]
Save remote users with fqn as nickname.

7 years agoMake key fetching use ostatus fetching.
Roger Braun [Sat, 29 Apr 2017 17:47:56 +0000 (19:47 +0200)]
Make key fetching use ostatus fetching.

7 years agoRework remote user subscription.
Roger Braun [Sat, 29 Apr 2017 17:06:01 +0000 (19:06 +0200)]
Rework remote user subscription.

7 years agoAdd user info gathering.
Roger Braun [Sat, 29 Apr 2017 15:51:59 +0000 (17:51 +0200)]
Add user info gathering.

7 years agoAdd some basic webfingering.
Roger Braun [Fri, 28 Apr 2017 15:41:12 +0000 (17:41 +0200)]
Add some basic webfingering.

7 years agonormalize hex number.
Roger Braun [Fri, 28 Apr 2017 13:53:45 +0000 (15:53 +0200)]
normalize hex number.

7 years agoHandle incoming websub subscriptions.
Roger Braun [Fri, 28 Apr 2017 13:45:10 +0000 (15:45 +0200)]
Handle incoming websub subscriptions.

7 years agoAdd proper callback route for websub confirmation.
Roger Braun [Fri, 28 Apr 2017 07:51:47 +0000 (09:51 +0200)]
Add proper callback route for websub confirmation.

7 years agoAdd discovery and subscription requests to websub.
Roger Braun [Thu, 27 Apr 2017 07:46:45 +0000 (09:46 +0200)]
Add discovery and subscription requests to websub.

7 years agoAdd user feed fixture.
Roger Braun [Thu, 27 Apr 2017 07:46:04 +0000 (09:46 +0200)]
Add user feed fixture.

7 years agoAdd user and hub to websub client subscriptions.
Roger Braun [Thu, 27 Apr 2017 07:44:20 +0000 (09:44 +0200)]
Add user and hub to websub client subscriptions.

7 years agoRefactor XML parsing.
Roger Braun [Thu, 27 Apr 2017 07:43:58 +0000 (09:43 +0200)]
Refactor XML parsing.

7 years agoMerge branch 'feature/incoming_ostatus' of ssh.gitgud.io:lambadalambda/pleroma into...
Roger Braun [Wed, 26 Apr 2017 17:17:51 +0000 (19:17 +0200)]
Merge branch 'feature/incoming_ostatus' of ssh.gitgud.io:lambadalambda/pleroma into feature/incoming_ostatus

7 years agoMerge branch 'feature/incoming_ostatus' of ssh.gitgud.io:lambadalambda/pleroma into...
Roger Braun [Wed, 26 Apr 2017 16:34:14 +0000 (18:34 +0200)]
Merge branch 'feature/incoming_ostatus' of ssh.gitgud.io:lambadalambda/pleroma into feature/incoming_ostatus

7 years agoRefactor, add beginnings of websub client subscriptions.
Roger Braun [Wed, 26 Apr 2017 16:33:10 +0000 (18:33 +0200)]
Refactor, add beginnings of websub client subscriptions.

7 years agoSalmon creation.
Roger Braun [Wed, 26 Apr 2017 12:25:44 +0000 (14:25 +0200)]
Salmon creation.

7 years agoAdd inReplyTo to incoming messages.
Roger Braun [Wed, 26 Apr 2017 08:22:51 +0000 (10:22 +0200)]
Add inReplyTo to incoming messages.

7 years agoOstatus doesn't distinguish between activities / objects on create.
Roger Braun [Wed, 26 Apr 2017 08:08:13 +0000 (10:08 +0200)]
Ostatus doesn't distinguish between activities / objects on create.

7 years agoMerge branch 'develop' into feature/incoming_ostatus
Roger Braun [Wed, 26 Apr 2017 07:18:49 +0000 (09:18 +0200)]
Merge branch 'develop' into feature/incoming_ostatus

7 years agoMerge branch 'dtluna/pleroma-bugfix/deny-self-repeats' into develop
Roger Braun [Wed, 26 Apr 2017 06:56:34 +0000 (08:56 +0200)]
Merge branch 'dtluna/pleroma-bugfix/deny-self-repeats' into develop

7 years agoMerge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop
Roger Braun [Wed, 26 Apr 2017 06:56:18 +0000 (08:56 +0200)]
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop

7 years agoFix retweet spec.
Roger Braun [Wed, 26 Apr 2017 06:55:00 +0000 (08:55 +0200)]
Fix retweet spec.

7 years agoMerge branch 'develop' into dtluna/pleroma-bugfix/deny-self-repeats
Roger Braun [Wed, 26 Apr 2017 06:49:26 +0000 (08:49 +0200)]
Merge branch 'develop' into dtluna/pleroma-bugfix/deny-self-repeats

7 years agoOutput conversation id.
Roger Braun [Wed, 26 Apr 2017 06:47:22 +0000 (08:47 +0200)]
Output conversation id.

7 years agoRemove unnecessary status_update definition
dtluna [Tue, 25 Apr 2017 16:47:16 +0000 (19:47 +0300)]
Remove unnecessary status_update definition

7 years agoWire up mentions.
Roger Braun [Tue, 25 Apr 2017 16:03:14 +0000 (18:03 +0200)]
Wire up mentions.

7 years agoAdd ostatus conversation as context.
Roger Braun [Tue, 25 Apr 2017 15:45:34 +0000 (17:45 +0200)]
Add ostatus conversation as context.

7 years agoEven more refactoring.
Roger Braun [Tue, 25 Apr 2017 15:35:21 +0000 (17:35 +0200)]
Even more refactoring.

7 years agoMore refactoring.
Roger Braun [Tue, 25 Apr 2017 15:32:36 +0000 (17:32 +0200)]
More refactoring.

7 years agoClean up status create method.
Roger Braun [Tue, 25 Apr 2017 15:26:05 +0000 (17:26 +0200)]
Clean up status create method.

7 years agoMerge branch 'dtluna/pleroma-bugfix/deny-empty-posts' into develop
Roger Braun [Tue, 25 Apr 2017 10:01:00 +0000 (12:01 +0200)]
Merge branch 'dtluna/pleroma-bugfix/deny-empty-posts' into develop

7 years agoRemove superflous function.
Roger Braun [Tue, 25 Apr 2017 09:33:32 +0000 (11:33 +0200)]
Remove superflous function.

7 years agoMerge branch 'develop' into dtluna/pleroma-bugfix/deny-empty-posts
Roger Braun [Tue, 25 Apr 2017 09:09:14 +0000 (11:09 +0200)]
Merge branch 'develop' into dtluna/pleroma-bugfix/deny-empty-posts

7 years agoReturn salmon path for users, basic incoming salmon handling.
Roger Braun [Mon, 24 Apr 2017 16:46:34 +0000 (18:46 +0200)]
Return salmon path for users, basic incoming salmon handling.

7 years agoAdd incoming xml fixtures.
Roger Braun [Mon, 24 Apr 2017 16:46:02 +0000 (18:46 +0200)]
Add incoming xml fixtures.

7 years agoMerge branch 'bugfix/ascii-alphanumeric-names' into 'develop'
lambadalambda [Mon, 24 Apr 2017 13:59:44 +0000 (09:59 -0400)]
Merge branch 'bugfix/ascii-alphanumeric-names' into 'develop'

Add restriction on names

Closes #15

See merge request !15

7 years agoAdd restriction on names
dtluna [Mon, 24 Apr 2017 12:33:27 +0000 (15:33 +0300)]
Add restriction on names

7 years agoMerge branch 'bugfix/deny-empty-posts' of ssh.gitgud.io:dtluna/pleroma into bugfix...
dtluna [Mon, 24 Apr 2017 11:17:23 +0000 (14:17 +0300)]
Merge branch 'bugfix/deny-empty-posts' of ssh.gitgud.io:dtluna/pleroma into bugfix/deny-self-repeats

7 years agoDeny whitespace statuses
dtluna [Mon, 24 Apr 2017 09:09:11 +0000 (12:09 +0300)]
Deny whitespace statuses

7 years agoAdd basic fields to support remote users.
Roger Braun [Mon, 24 Apr 2017 06:48:52 +0000 (08:48 +0200)]
Add basic fields to support remote users.

7 years agoAdd error response to self-repeats
dtluna [Sun, 23 Apr 2017 22:11:38 +0000 (01:11 +0300)]
Add error response to self-repeats

7 years agoMerge branch 'bugfix/deny-empty-posts' of ssh.gitgud.io:dtluna/pleroma into bugfix...
dtluna [Sun, 23 Apr 2017 22:05:02 +0000 (01:05 +0300)]
Merge branch 'bugfix/deny-empty-posts' of ssh.gitgud.io:dtluna/pleroma into bugfix/deny-self-repeats

7 years agoAdd error response on empty status
dtluna [Sun, 23 Apr 2017 16:08:25 +0000 (19:08 +0300)]
Add error response on empty status

7 years agoBasic key fetching.
Roger Braun [Sun, 23 Apr 2017 14:35:17 +0000 (16:35 +0200)]
Basic key fetching.

7 years agoMerge branch 'feature/follow-unfollow-by-screen-name' into 'develop'
lambadalambda [Sun, 23 Apr 2017 14:26:27 +0000 (10:26 -0400)]
Merge branch 'feature/follow-unfollow-by-screen-name' into 'develop'

Follow and unfollow using screen_name

See merge request !9

7 years agoDecode and verify salmons.
Roger Braun [Sun, 23 Apr 2017 13:21:58 +0000 (15:21 +0200)]
Decode and verify salmons.

7 years agoDon't break feed if user has no posts.
Roger Braun [Sun, 23 Apr 2017 08:38:24 +0000 (10:38 +0200)]
Don't break feed if user has no posts.

7 years agoMerge branch 'ostatus' into develop
Roger Braun [Sun, 23 Apr 2017 08:37:29 +0000 (10:37 +0200)]
Merge branch 'ostatus' into develop

7 years agoMerge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop
Roger Braun [Sun, 23 Apr 2017 08:37:22 +0000 (10:37 +0200)]
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop

7 years agoFix utf8 problems with iolists.
Roger Braun [Sat, 22 Apr 2017 13:34:29 +0000 (15:34 +0200)]
Fix utf8 problems with iolists.

7 years agoAdd poco data to user.
Roger Braun [Sat, 22 Apr 2017 13:11:13 +0000 (15:11 +0200)]
Add poco data to user.

7 years agoRemove unknown activities from feed.
Roger Braun [Sat, 22 Apr 2017 12:37:54 +0000 (14:37 +0200)]
Remove unknown activities from feed.

7 years agoOnly handle subscription requests for now.
Roger Braun [Sat, 22 Apr 2017 11:48:10 +0000 (13:48 +0200)]
Only handle subscription requests for now.

7 years agoOnly have one subscription per callback.
Roger Braun [Sat, 22 Apr 2017 11:44:21 +0000 (13:44 +0200)]
Only have one subscription per callback.

7 years agoAdd rel=self link too feed.
Roger Braun [Sat, 22 Apr 2017 10:11:36 +0000 (12:11 +0200)]
Add rel=self link too feed.

7 years agoAdd attachments to feed.
Roger Braun [Sat, 22 Apr 2017 10:09:13 +0000 (12:09 +0200)]
Add attachments to feed.

7 years agoAdd outgoin federation to twitter api.
Roger Braun [Sat, 22 Apr 2017 10:08:20 +0000 (12:08 +0200)]
Add outgoin federation to twitter api.

Doesn't really belong there, find a different place for it. Should
federate on every activity insertion.

7 years agoadd basic federation to websub.
Roger Braun [Sat, 22 Apr 2017 10:07:51 +0000 (12:07 +0200)]
add basic federation to websub.

7 years agoAdd callback to websub subscription.
Roger Braun [Sat, 22 Apr 2017 10:05:48 +0000 (12:05 +0200)]
Add callback to websub subscription.

7 years agoMerge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into ostatus
Roger Braun [Fri, 21 Apr 2017 16:42:28 +0000 (18:42 +0200)]
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into ostatus

7 years agoMerge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/follow...
dtluna [Fri, 21 Apr 2017 15:36:03 +0000 (18:36 +0300)]
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/follow-unfollow-by-screen-name

7 years agoReturn object id in Ostatus create activties.
Roger Braun [Fri, 21 Apr 2017 02:22:02 +0000 (04:22 +0200)]
Return object id in Ostatus create activties.

7 years agoAdd Websub verification.
Roger Braun [Fri, 21 Apr 2017 01:59:11 +0000 (03:59 +0200)]
Add Websub verification.

7 years agoQuick fix for activities without 'to'.
Roger Braun [Thu, 20 Apr 2017 23:01:58 +0000 (01:01 +0200)]
Quick fix for activities without 'to'.

7 years agoFix specs, add some user info.
Roger Braun [Thu, 20 Apr 2017 22:51:09 +0000 (00:51 +0200)]
Fix specs, add some user info.

7 years agoMerge branch 'bugfix/mentions-timeline' into 'develop'
lambadalambda [Fri, 21 Apr 2017 09:17:25 +0000 (05:17 -0400)]
Merge branch 'bugfix/mentions-timeline' into 'develop'

Mentions timeline bugfix

See merge request !11

7 years agoAdd /statuses/mentions_timeline route
dtluna [Thu, 20 Apr 2017 21:29:08 +0000 (00:29 +0300)]
Add /statuses/mentions_timeline route

7 years agoWebsub controller beginnings.
Roger Braun [Thu, 20 Apr 2017 15:47:33 +0000 (17:47 +0200)]
Websub controller beginnings.

7 years agoMerge branch 'feature/mentions-timeline' into 'develop'
lambadalambda [Thu, 20 Apr 2017 14:21:16 +0000 (10:21 -0400)]
Merge branch 'feature/mentions-timeline' into 'develop'

Add statuses/mentions endpoint

Closes #2

See merge request !10

7 years agoAdd statuses/mentions endpoint
dtluna [Thu, 20 Apr 2017 10:53:53 +0000 (13:53 +0300)]
Add statuses/mentions endpoint

7 years agoMerge branch 'ostatus' of ssh.gitgud.io:lambadalambda/pleroma into ostatus
Roger Braun [Thu, 20 Apr 2017 08:16:41 +0000 (10:16 +0200)]
Merge branch 'ostatus' of ssh.gitgud.io:lambadalambda/pleroma into ostatus

7 years agoBetter activities in ostatus.
Roger Braun [Thu, 20 Apr 2017 08:16:06 +0000 (10:16 +0200)]
Better activities in ostatus.