Commit Graph

6669 Commits

Author SHA1 Message Date
AkiraFukushima df22197755 Check client and token in GET /oauth/authorize 2019-11-19 19:15:14 +03:00
rinpatch b74f4260ae Fix rendering conversations when there's a malformed status 2019-11-19 19:14:35 +03:00
rinpatch 36f4382b33 Bump mix.exs version 2019-11-09 17:30:43 +03:00
rinpatch 182aee9fe8 Merge branch 'release/1.1.5' into 'stable'
Release/1.1.5

See merge request pleroma/pleroma!1954
2019-11-09 13:32:11 +00:00
rinpatch 287d92c920 Add a changelog entry about frontend bundle update 2019-11-09 02:09:47 +03:00
rinpatch 6871084f34 Bump pleroma-fe bundle to 044c9ad0562af059dd961d50961a3880fca9c642 2019-11-09 01:47:32 +03:00
Ariadne Conill 6e65da782e object containment: handle all cases where ID is invalid (missing, nil, non-string) 2019-11-09 01:41:34 +03:00
rinpatch 4c5055bac9 Add changelog for 1.1.5 2019-11-08 23:43:11 +03:00
rinpatch 89ca9560e0 Bump HtmlEntities to 0.5
This release brings a major performance imrovement, see
https://github.com/martinsvalin/html_entities/pull/17
2019-11-08 23:38:32 +03:00
rinpatch 33d0250edc Object Fetcher: set cache after reinjecting
Probably fixes the issue hj had, where polls would have different
counters between endpoints.
2019-11-08 22:47:08 +03:00
rinpatch c389fb4dcc Fix TrailingFormatPlug not being active for /api/oauth_tokens 2019-11-08 22:46:51 +03:00
lain 21716aa594 Merge branch 'release/1.1.4' into 'stable'
Release/1.1.4 - user.info fix plus NOT NULL for user.info

See merge request pleroma/pleroma!1927
2019-11-05 12:02:45 +00:00
lain b7de4ad082 Apply suggestion to CHANGELOG.md 2019-11-04 17:31:08 +00:00
lain 4388255eed Migrations: Don't copy over mutes unless there actually are some. 2019-11-04 18:13:37 +01:00
Ariadne Conill 6a151e7c7f streamer: use direct object for filter checks when there is no valid child object in an activity
We call Object.normalize/1 to get the child object for situations like Announce.
However, the check is flawed and immediately fails if Object.normalize/1 fails.
Instead, we should use the activity itself in those cases to allow activities which
never have a child object to pass through the filter.

Closes #1291
2019-11-04 16:25:05 +01:00
lain 5f844fd3f2 Migrations: Add a fixup migration for the muted_notifications
This sets info->muted_notifications to an emtpy array if it is explicitly set
to null before. This can happen when safe_jsonb_set coalesces to a jsonb null,
which will make ecto not use the default value of [] anymore because it has been
explicitly overwritten.
2019-11-04 15:38:28 +01:00
rinpatch 4bab9672ed Fix bookmark migration using a query with a schema
This resulted in failures when updating from Pleroma <1.0 because of all
the new fields that were added to the user schema.
2019-11-01 16:26:27 +01:00
lain 6f5ac0819a Tests: Fix tests failing because of info being null. 2019-11-01 14:16:00 +01:00
lain d52f9c144f Mixfile: Bump version. 2019-11-01 13:40:58 +01:00
lain 5b34545b64 Changelog: Add information about user.info migration. 2019-11-01 13:40:28 +01:00
lain 8ad75f9ecf Migrations: Add migration to fill empty info fields and make them non-null. 2019-11-01 13:31:55 +01:00
lain a43b899e94 Merge branch 'release/1.1.3' into 'stable'
1.1.3 release

See merge request pleroma/pleroma!1884
2019-10-25 17:08:01 +00:00
rinpatch 948d0d3b0b mixfile: bump version to 1.1.3 2019-10-25 18:49:21 +03:00
rinpatch 3627ffc8b7 Changelog: Add 1.1.3 entry 2019-10-25 18:46:28 +03:00
rinpatch ca1871fbb4 Do not include notifications from blocked users when with_muted is set
This is not what with_muted is for per documentation and it was agreed
on irc that this behavior doesn't make sense.
2019-10-25 18:44:23 +03:00
rinpatch e91d5a23f4 pleroma_ctl: fix crashes due to different shift(1) behavior on dash 2019-10-25 18:32:09 +03:00
rinpatch 9b26d1608f Merge branch 'release/1.1.2' into 'stable'
1.1.2 Release

See merge request pleroma/pleroma!1863
2019-10-18 21:44:14 +00:00
rinpatch 59d447d555 pleroma_ctl: Fix attempting to use RPC for config generation 2019-10-19 00:41:26 +03:00
rinpatch 1a063c92ab Bump version to 1.1.2 in mix.exs 2019-10-19 00:40:23 +03:00
rinpatch bb73f100b8 Merge branch 'release/1.1.1' into 'stable'
1.1.1 Release

See merge request pleroma/pleroma!1857
2019-10-18 12:08:03 +00:00
rinpatch c00b55bc80 Add a changelog entry for user search refactoring 2019-10-18 14:57:13 +03:00
rinpatch eca86330b4 Remove a failing search test due to it being unrealistic
While the case tested (`lain@ple`) gives wrong ordering due to
using only trigram to order, it almost never happens in reality. In reality
it would be either `lain` (in which case it's fine to list the user with `lain`
in display name first), or `@lain@pleroma.soykaf.com`/`lain@pleroma.soykaf.com` (which is
handled fine as well)
2019-10-18 14:56:27 +03:00
rinpatch 7a00acb3e4 Order fts results by trigram 2019-10-18 14:56:20 +03:00
rinpatch 713b2187b9 User search: Remove trigram and refactor the module
- Remove trigram as it tends to rank garbage results highly, resulting
in it prioritized above fts, which gives actually decent results. ACKed
by kaniini and lain on irc.
- Remove a test for handling misspelled requests, since we no longer have
trigram
- Remove a test for searching users with `nil` display names, because it
is unrealistic, we don't accept usernames that are not >1 char strings
- Make rank boosting for followers/followees sane again, previous values
resulted in garbage matches getting on top just because the users are
followers/followees
2019-10-18 14:56:14 +03:00
rinpatch 4123c9db07 Bump the version in mix.exs 2019-10-18 14:53:13 +03:00
rinpatch deee9f3196 Merge branch 'bugfix/jsonb-set-fuckup' into 'release/1.1.1'
Fix a migration wiping user info of users that don't have any mutes

See merge request pleroma/pleroma!1856
2019-10-18 11:49:27 +00:00
rinpatch 41c47639e3 Add a changelog entry for yet another jsonb_set data loss 2019-10-18 14:40:47 +03:00
rinpatch 98c9affc48 Add a test for safe_jsonb_set 2019-10-18 14:33:51 +03:00
rinpatch a1c4a5d7cf Fix a migration wiping user info of users that don't have any mutes
And introduce safe_jsonb_set
2019-10-18 14:11:30 +03:00
rinpatch c00797d08e Merge branch 'fix/version-branch-skip' into 'stable'
Fix hiding branch name logic

See merge request pleroma/pleroma!1845
2019-10-14 19:14:47 +00:00
rinpatch 0733da3205 Fix hiding branch name logic 2019-10-14 22:13:18 +03:00
rinpatch 988654a720 Merge branch 'stable-fix-docs' into 'stable'
Fix documentation deploy for stable

See merge request pleroma/pleroma!1844
2019-10-14 18:55:09 +00:00
rinpatch dd859e6847 Fix documentation deploy for stable 2019-10-14 21:54:13 +03:00
rinpatch 442acb31ac Fix pleroma_ctl link 2019-10-14 21:29:47 +03:00
rinpatch 832d892c2c Merge branch 'final-release-prep' into 'maint/1.1'
Final 1.1 release preparations

See merge request pleroma/pleroma!1843
2019-10-14 18:21:49 +00:00
rinpatch 8ef4afcc3b Final 1.1 release preparations 2019-10-14 21:20:29 +03:00
rinpatch 13966f1504 Merge branch 'backport/1.1-branch-name-change' into 'maint/1.1'
Backport/1.1 branch name change

See merge request pleroma/pleroma!1841
2019-10-14 16:47:27 +00:00
rinpatch 2b6cd10b68 Correct version parser branch name detection 2019-10-14 19:34:38 +03:00
rinpatch 164f42c5f8 Add a changelog entry for branch-moving 2019-10-14 19:34:29 +03:00
rinpatch bbe409c914 Prepare pleroma_ctl for moving master to stable and relax the error
message
2019-10-14 19:34:06 +03:00