akkoma
6 years agoRepair some access-control headers required for third-party webclients
Niklas Poslovski [Tue, 22 May 2018 14:26:01 +0000 (16:26 +0200)]
Repair some access-control headers required for third-party webclients

6 years agoMerge branch 'nipos-develop' into develop
lain [Tue, 22 May 2018 14:02:53 +0000 (16:02 +0200)]
Merge branch 'nipos-develop' into develop

6 years agoAdd access-control-expose-headers to Nginx default config
Niklas Poslovski [Tue, 22 May 2018 13:39:29 +0000 (15:39 +0200)]
Add access-control-expose-headers to Nginx default config

6 years agoMerge branch 'feature/clarify-http-sig-error' into 'develop'
lambda [Mon, 21 May 2018 21:20:41 +0000 (21:20 +0000)]
Merge branch 'feature/clarify-http-sig-error' into 'develop'

clarify HTTP signature error in logs

See merge request pleroma/pleroma!165

6 years agoactivitypub controller: note that the HTTP Host header must be forwarded for http...
William Pitcock [Mon, 21 May 2018 19:19:40 +0000 (19:19 +0000)]
activitypub controller: note that the HTTP Host header must be forwarded for http signature validation to work

6 years agoMerge branch 'bugfix/webfinger-statusnet' into 'develop'
lambda [Mon, 21 May 2018 13:58:20 +0000 (13:58 +0000)]
Merge branch 'bugfix/webfinger-statusnet' into 'develop'

webfinger: fix finding the XRD uri for statusnet instances

See merge request pleroma/pleroma!164

6 years agowebfinger: fix finding the XRD uri for statusnet instances
William Pitcock [Mon, 21 May 2018 12:38:12 +0000 (12:38 +0000)]
webfinger: fix finding the XRD uri for statusnet instances

6 years agoActually fix missing alias.
lain [Mon, 21 May 2018 10:32:29 +0000 (12:32 +0200)]
Actually fix missing alias.

6 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
lain [Mon, 21 May 2018 10:09:33 +0000 (12:09 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop

6 years agoAdd missing alias.
lain [Mon, 21 May 2018 10:09:03 +0000 (12:09 +0200)]
Add missing alias.

6 years agoMerge branch 'develop' into 'develop'
lambda [Sun, 20 May 2018 19:37:16 +0000 (19:37 +0000)]
Merge branch 'develop' into 'develop'

Correct 'register_user' parameters in README

See merge request pleroma/pleroma!163

6 years agoCorrect 'register_user' parameters in README
witti [Sun, 20 May 2018 18:49:44 +0000 (20:49 +0200)]
Correct 'register_user' parameters in README

password parameter was missing

6 years agoMore fixes.
lain [Sun, 20 May 2018 17:26:09 +0000 (19:26 +0200)]
More fixes.

6 years agoFix specs.
lain [Sun, 20 May 2018 17:22:26 +0000 (19:22 +0200)]
Fix specs.

6 years agoupdate frontend
lain [Sun, 20 May 2018 16:29:12 +0000 (18:29 +0200)]
update frontend

6 years agoReturn visilility in twitter api, too.
lain [Sun, 20 May 2018 16:01:24 +0000 (18:01 +0200)]
Return visilility in twitter api, too.

6 years agoReturn private / direct posts on user timelines, too.
lain [Sun, 20 May 2018 14:15:18 +0000 (16:15 +0200)]
Return private / direct posts on user timelines, too.

6 years agoupdate frontend
lain [Sun, 20 May 2018 11:24:16 +0000 (13:24 +0200)]
update frontend

6 years agoMerge branch 'feature/account-deletion' into 'develop'
lambda [Sun, 20 May 2018 10:57:19 +0000 (10:57 +0000)]
Merge branch 'feature/account-deletion' into 'develop'

Feature/account deletion

Closes #115

See merge request pleroma/pleroma!157

6 years agoMerge branch 'feature/undo-like-federation' into 'develop'
lambda [Sun, 20 May 2018 10:55:39 +0000 (10:55 +0000)]
Merge branch 'feature/undo-like-federation' into 'develop'

Support undo like over ActivityPub (Fix #139)

Closes #139

See merge request pleroma/pleroma!161

6 years agoSupport Undo like activities (Fix #139)
Thog [Sat, 19 May 2018 13:22:43 +0000 (15:22 +0200)]
Support Undo like activities (Fix #139)

6 years agoModified deleting an account to run as a task
Syldexia [Sat, 19 May 2018 12:35:49 +0000 (13:35 +0100)]
Modified deleting an account to run as a task

6 years agoMerge branch 'feature/webfinger-mime-ld-json' into 'develop'
lambda [Sat, 19 May 2018 09:31:08 +0000 (09:31 +0000)]
Merge branch 'feature/webfinger-mime-ld-json' into 'develop'

webfinger: handle application/ld+json links

See merge request pleroma/pleroma!159

6 years agoMerge branch 'feature/remote-user-deactivation' into 'develop'
lambda [Sat, 19 May 2018 09:30:09 +0000 (09:30 +0000)]
Merge branch 'feature/remote-user-deactivation' into 'develop'

remote user deactivation

See merge request pleroma/pleroma!154

6 years agoFix linking problem.
lain [Sat, 19 May 2018 09:27:14 +0000 (11:27 +0200)]
Fix linking problem.

6 years agoMerge branch 'bugfix/hubzilla-compat' into 'develop'
lambda [Sat, 19 May 2018 09:17:04 +0000 (09:17 +0000)]
Merge branch 'bugfix/hubzilla-compat' into 'develop'

hubzilla compatibility

Closes #100

See merge request pleroma/pleroma!160

6 years agorun mix format
William Pitcock [Sat, 19 May 2018 08:48:15 +0000 (08:48 +0000)]
run mix format

6 years agorun mix format
William Pitcock [Sat, 19 May 2018 08:37:04 +0000 (08:37 +0000)]
run mix format

6 years agotests: add test for hubzilla follow activity too
William Pitcock [Sat, 19 May 2018 08:25:45 +0000 (08:25 +0000)]
tests: add test for hubzilla follow activity too

6 years agotests: add tests for Transmogrifier.maybe_fix_user_object()
William Pitcock [Sat, 19 May 2018 08:06:23 +0000 (08:06 +0000)]
tests: add tests for Transmogrifier.maybe_fix_user_object()

6 years agoactivitypub transmogrifier: handle hubzilla AP actor quirks
William Pitcock [Sat, 19 May 2018 07:30:02 +0000 (07:30 +0000)]
activitypub transmogrifier: handle hubzilla AP actor quirks

6 years agoactivitypub: normalize the actor to ensure we have its URI
William Pitcock [Sat, 19 May 2018 07:03:53 +0000 (07:03 +0000)]
activitypub: normalize the actor to ensure we have its URI

6 years agowebfinger: add tests
William Pitcock [Sat, 19 May 2018 06:11:45 +0000 (06:11 +0000)]
webfinger: add tests

6 years agowebfinger: only do ld+json on modern json webfinger
William Pitcock [Sat, 19 May 2018 06:15:21 +0000 (06:15 +0000)]
webfinger: only do ld+json on modern json webfinger

6 years agowebfinger: interpret application/ld+json links as an alternate to application/activit...
William Pitcock [Sat, 19 May 2018 05:46:13 +0000 (05:46 +0000)]
webfinger: interpret application/ld+json links as an alternate to application/activity+json

6 years agowebfinger: expose the application/ld+json link alongside the older application/activi...
William Pitcock [Sat, 19 May 2018 05:43:13 +0000 (05:43 +0000)]
webfinger: expose the application/ld+json link alongside the older application/activity+json link

6 years agoremote user deactivation: fix test failures
William Pitcock [Sat, 19 May 2018 03:17:56 +0000 (22:17 -0500)]
remote user deactivation: fix test failures

6 years agoFix User search.
lain [Wed, 16 May 2018 15:55:20 +0000 (17:55 +0200)]
Fix User search.

Now uses a trigram based search. This is a lot faster and gives better
results. Closes #185.

6 years agoupdate frontend
lain [Wed, 16 May 2018 11:02:53 +0000 (13:02 +0200)]
update frontend

6 years agoadd mix task for deactivating a user by nickname
William Pitcock [Sun, 13 May 2018 23:33:43 +0000 (23:33 +0000)]
add mix task for deactivating a user by nickname

6 years agoActivityPub create: discard activities from deactivated users
William Pitcock [Sun, 13 May 2018 23:28:56 +0000 (23:28 +0000)]
ActivityPub create: discard activities from deactivated users

6 years agoFixed formatting and test
Syldexia [Sun, 13 May 2018 13:56:59 +0000 (14:56 +0100)]
Fixed formatting and test

6 years agoMoved account deletion stuff to somewhere that hopefully makes more sense
Syldexia [Sun, 13 May 2018 13:24:15 +0000 (14:24 +0100)]
Moved account deletion stuff to somewhere that hopefully makes more sense

6 years agoAdded endpoint for user account deletion
Syldexia [Fri, 11 May 2018 11:32:59 +0000 (12:32 +0100)]
Added endpoint for user account deletion

6 years agoFix format.
lain [Sun, 13 May 2018 11:02:24 +0000 (13:02 +0200)]
Fix format.

6 years agoModify sort index for activities.
lain [Sun, 13 May 2018 10:54:08 +0000 (12:54 +0200)]
Modify sort index for activities.

This prevents a problem that made the local timeline very slow when
there were few posts.

6 years agoRevert "Remove 'unlisted' handling for now."
lain [Sun, 13 May 2018 10:38:13 +0000 (12:38 +0200)]
Revert "Remove 'unlisted' handling for now."

This reverts commit 1027d1f6963b495a5abc67b05447619ce7d429db.

6 years agoRemove 'unlisted' handling for now.
lain [Sun, 13 May 2018 10:07:11 +0000 (12:07 +0200)]
Remove 'unlisted' handling for now.

It's just too slow (over 1 second on small systems, haven't looked at
the queries in detail yet). We'll need some other way to handle it.

6 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
lain [Sun, 13 May 2018 09:59:35 +0000 (11:59 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop

6 years agoUnlisted fetching: Reverse logic
lain [Sun, 13 May 2018 09:58:03 +0000 (11:58 +0200)]
Unlisted fetching: Reverse logic

Generates a faster query.

6 years agoMerge branch 'feature/unrepeats' into 'develop'
lambda [Sun, 13 May 2018 09:32:29 +0000 (09:32 +0000)]
Merge branch 'feature/unrepeats' into 'develop'

Add unrepeats

Closes #69

See merge request pleroma/pleroma!113

6 years agoMerge branch 'kaniini/pleroma-bugfix/unlisted-statuses' into develop
lain [Sun, 13 May 2018 09:19:08 +0000 (11:19 +0200)]
Merge branch 'kaniini/pleroma-bugfix/unlisted-statuses' into develop

6 years agoAdd test.
lain [Sun, 13 May 2018 09:18:48 +0000 (11:18 +0200)]
Add test.

6 years agoFormat.
lain [Sun, 13 May 2018 08:56:44 +0000 (10:56 +0200)]
Format.

6 years agoMerge branch 'develop' into kaniini/pleroma-bugfix/unlisted-statuses
lain [Sun, 13 May 2018 08:56:11 +0000 (10:56 +0200)]
Merge branch 'develop' into kaniini/pleroma-bugfix/unlisted-statuses

6 years agoMerge branch 'patch-2' into 'develop'
lambda [Sun, 13 May 2018 08:39:37 +0000 (08:39 +0000)]
Merge branch 'patch-2' into 'develop'

Nginx config - secure defaults

See merge request pleroma/pleroma!146

6 years agoMerge branch 'feld-varnish' into 'develop'
lambda [Sun, 13 May 2018 08:34:58 +0000 (08:34 +0000)]
Merge branch 'feld-varnish' into 'develop'

More varnish fixes

See merge request pleroma/pleroma!149

6 years agoMerge branch 'feature/chain-policies' into 'develop'
lambda [Sun, 13 May 2018 08:24:18 +0000 (08:24 +0000)]
Merge branch 'feature/chain-policies' into 'develop'

chain policies

See merge request pleroma/pleroma!150

6 years agoMerge branch 'no-self-notification' into 'develop'
lambda [Sun, 13 May 2018 08:16:54 +0000 (08:16 +0000)]
Merge branch 'no-self-notification' into 'develop'

Do not create notification for yourself

Closes #121

See merge request pleroma/pleroma!148

6 years agoUse original status id instead of announce id
Francis Dinh [Sun, 13 May 2018 07:42:31 +0000 (03:42 -0400)]
Use original status id instead of announce id

6 years agoMerge branch 'feature/unrepeat-tests' into feature/unrepeats
Francis Dinh [Sat, 12 May 2018 15:11:13 +0000 (11:11 -0400)]
Merge branch 'feature/unrepeat-tests' into feature/unrepeats

6 years agoUpdate test fixture
Francis Dinh [Sat, 12 May 2018 15:10:49 +0000 (11:10 -0400)]
Update test fixture

6 years agoRevert "Log error when handling unrepeats"
Francis Dinh [Fri, 11 May 2018 19:34:46 +0000 (15:34 -0400)]
Revert "Log error when handling unrepeats"

This reverts commit c17c55e989a47f0722b115ffba48b7a1b45b7628.

6 years agoAdd tests for unrepeats
Francis Dinh [Fri, 11 May 2018 19:30:47 +0000 (15:30 -0400)]
Add tests for unrepeats

6 years agoLog error when handling unrepeats
Francis Dinh [Fri, 11 May 2018 19:29:19 +0000 (15:29 -0400)]
Log error when handling unrepeats

6 years agoProbably better way of handling non-follow undos in ostatus
Francis Dinh [Fri, 11 May 2018 15:59:53 +0000 (11:59 -0400)]
Probably better way of handling non-follow undos in ostatus

6 years agoRevert "Do not send non-follow undos over ostatus for now"
Francis Dinh [Fri, 11 May 2018 15:53:28 +0000 (11:53 -0400)]
Revert "Do not send non-follow undos over ostatus for now"

This reverts commit 07fdc072382007812dc6af80fa2912f6b6d987b8.

6 years agoRevert "Use [] instead of nil"
Francis Dinh [Fri, 11 May 2018 15:53:06 +0000 (11:53 -0400)]
Revert "Use [] instead of nil"

This reverts commit 42268b0981e47cacd9f27b985dcd0bf08819258b.

6 years agodo not create notification for yourself
Pierrick Brun [Mon, 7 May 2018 18:51:14 +0000 (20:51 +0200)]
do not create notification for yourself

6 years agoMerge branch 'patch-1' into 'develop'
lambda [Fri, 11 May 2018 07:18:25 +0000 (07:18 +0000)]
Merge branch 'patch-1' into 'develop'

Remove alias directive in service file

See merge request pleroma/pleroma!151

6 years agoUse [] instead of nil
Francis Dinh [Fri, 11 May 2018 05:48:56 +0000 (01:48 -0400)]
Use [] instead of nil

6 years agoDo not send non-follow undos over ostatus for now
Francis Dinh [Fri, 11 May 2018 05:45:10 +0000 (01:45 -0400)]
Do not send non-follow undos over ostatus for now

6 years agoRemove alias directive in service file
Normandy [Fri, 11 May 2018 05:19:20 +0000 (05:19 +0000)]
Remove alias directive in service file

Systemd will complain otherwise.

6 years agoformat & made get_policies/1 private
href [Thu, 10 May 2018 16:51:58 +0000 (18:51 +0200)]
format & made get_policies/1 private

6 years agoChain policies
href [Thu, 10 May 2018 16:34:09 +0000 (18:34 +0200)]
Chain policies

- The `:pleroma, :instance, :rewrite_policy` can now be either a policy
or a list of policies
- Made a behaviour for MRF policies

6 years agoMatch proper number of values from unannounce
Francis Dinh [Wed, 9 May 2018 04:04:14 +0000 (00:04 -0400)]
Match proper number of values from unannounce

6 years agoChange argument order and call correct # of args
Francis Dinh [Wed, 9 May 2018 03:59:36 +0000 (23:59 -0400)]
Change argument order and call correct # of args

6 years agoHandle Undo activites containing an Announce
Francis Dinh [Wed, 9 May 2018 03:50:19 +0000 (23:50 -0400)]
Handle Undo activites containing an Announce

6 years agoFederate correct activity
Francis Dinh [Wed, 9 May 2018 01:52:21 +0000 (21:52 -0400)]
Federate correct activity

6 years agoDon't strip headers from backend for /notice/ either
Mark Felder [Mon, 7 May 2018 23:44:40 +0000 (23:44 +0000)]
Don't strip headers from backend for /notice/ either

6 years agoCaching notice URLs does not produce pleasant results
Mark Felder [Mon, 7 May 2018 23:43:27 +0000 (23:43 +0000)]
Caching notice URLs does not produce pleasant results

6 years agoMore warning fixes.
lain [Mon, 7 May 2018 16:11:37 +0000 (18:11 +0200)]
More warning fixes.

6 years agoMerge branch 'feld-varnish' into 'develop'
lambda [Sun, 6 May 2018 18:43:57 +0000 (18:43 +0000)]
Merge branch 'feld-varnish' into 'develop'

Caching /objects/ URLs breaks them in Mastoweb as they don't redirect to the /notice/

See merge request pleroma/pleroma!110

6 years agoMerge branch 'feld-warnings' into 'develop'
lambda [Sun, 6 May 2018 18:42:31 +0000 (18:42 +0000)]
Merge branch 'feld-warnings' into 'develop'

Clean up warnings

See merge request pleroma/pleroma!144

6 years agoMerge branch 'fix/unsafe-variables' into 'develop'
lambda [Sun, 6 May 2018 18:41:46 +0000 (18:41 +0000)]
Merge branch 'fix/unsafe-variables' into 'develop'

Get rid of unsafe variables.

See merge request pleroma/pleroma!145

6 years agoAdded headers for a more secure default.
Artik Banana [Sun, 6 May 2018 14:19:29 +0000 (14:19 +0000)]
Added headers for a more secure default.

6 years agoGet rid of unsafe variables.
eal [Sun, 6 May 2018 06:58:59 +0000 (09:58 +0300)]
Get rid of unsafe variables.

6 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
lain [Sat, 5 May 2018 11:41:27 +0000 (13:41 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop

6 years agoStreamer: Don't send out stream events for blocked users.
lain [Sat, 5 May 2018 11:40:47 +0000 (13:40 +0200)]
Streamer: Don't send out stream events for blocked users.

6 years agoUnify wss uri generation.
lain [Sat, 5 May 2018 11:40:31 +0000 (13:40 +0200)]
Unify wss uri generation.

6 years agoMerge branch 'feld-test.secret' into 'develop'
lambda [Sat, 5 May 2018 09:58:17 +0000 (09:58 +0000)]
Merge branch 'feld-test.secret' into 'develop'

Make it possible to use custom database connection parameters

See merge request pleroma/pleroma!143

6 years agoIdempotency: Use special cache, keep for 6 hours.
lain [Sat, 5 May 2018 09:15:57 +0000 (11:15 +0200)]
Idempotency: Use special cache, keep for 6 hours.

6 years agoGroup def renders here as well
Mark Felder [Fri, 4 May 2018 22:31:46 +0000 (22:31 +0000)]
Group def renders here as well

6 years agoGroup def renders together to fix warning
Mark Felder [Fri, 4 May 2018 22:28:13 +0000 (22:28 +0000)]
Group def renders together to fix warning

6 years agoMerge branch 'feld-test.secret' into feld-warnings
Mark Felder [Fri, 4 May 2018 22:05:19 +0000 (22:05 +0000)]
Merge branch 'feld-test.secret' into feld-warnings

6 years agoSpeling
Mark Felder [Fri, 4 May 2018 22:05:01 +0000 (22:05 +0000)]
Speling

6 years agoFix formatting
Mark Felder [Fri, 4 May 2018 22:03:14 +0000 (22:03 +0000)]
Fix formatting

6 years agoGroup response declarations together
Mark Felder [Fri, 4 May 2018 21:59:21 +0000 (21:59 +0000)]
Group response declarations together

6 years agoThat last change was stupid. Multiline comments in Elixir don't really exist.
Mark Felder [Fri, 4 May 2018 21:53:52 +0000 (21:53 +0000)]
That last change was stupid. Multiline comments in Elixir don't really exist.

Instead we'll just pad with # intstead of playing stupid games with the compiler.

6 years agoDirty hack to remove the warning
Mark Felder [Fri, 4 May 2018 21:48:30 +0000 (21:48 +0000)]
Dirty hack to remove the warning

warning: code block contains unused literal "internal -> Mastodon\n" (remove the literal or assign it to _ to avoid warnings)
  lib/pleroma/web/activity_pub/transmogrifier.ex