rinpatch
31dc669de6
fix not being able to pin polls
2020-02-09 01:05:07 +03:00
Haelwenn
1e74bbc495
Merge branch 'fix-streaming-reblog' into 'develop'
...
Streamer: Correctly handle reblog mutes
Closes #1129 and #1438
See merge request pleroma/pleroma!2156
2020-02-09 01:02:06 +03:00
rinpatch
40727b28a7
Merge branch 'fix/truncate-remote-user-fields' into 'develop'
...
Truncate remote user fields
See merge request pleroma/pleroma!1619
2020-02-09 00:54:05 +03:00
Maksim Pechnikov
f486556346
fixed Metadata.Utils.scrub_html_and_truncate
2020-02-09 00:52:56 +03:00
rinpatch
a87843693b
Fix never matching clause
...
`length/1` is only used with lists.
2020-02-09 00:44:29 +03:00
Egor Kislitsyn
bf9d631fca
Add native captcha and enable it by default.
2019-12-13 21:30:11 +03:00
href
865cd2c7c4
report federating status in nodeinfo
2019-12-13 21:20:09 +03:00
rinpatch
66563f93fd
Set better Cache-Control header for static content
...
Closes #1382
2019-12-13 21:19:55 +03:00
rinpatch
2199d15000
OTP: Fix runtime upload limit config being ignored
...
Closes #1109
2019-12-13 21:16:26 +03:00
lain
4079ed3b75
OAuthPlug, Router: Handle deactivated users in the UserEnabledPlug
2019-11-19 19:24:13 +03:00
lain
5b5f855237
UserEnabledPlug: Don't authenticate unconfirmed users.
2019-11-19 19:23:21 +03:00
rinpatch
ff4af8c5ee
User: Don't let deactivated users authenticate.
2019-11-19 19:22:20 +03:00
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
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
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
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
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
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
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
a8afbe977a
Merge branch 'fix/mediaproxy-too-brutal' into 'develop'
...
Make MediaProxy failure tracking less brutal
See merge request pleroma/pleroma!1836
(cherry picked from commit 930cbd6d05
)
9bdbf081
Make MediaProxy failure tracking less brutal
2019-10-12 14:43:20 +00:00
Ariadne Conill
3e1d2ace73
mastodon api: fix exclude_replies ( closes #1287 )
2019-10-07 13:01:05 +00:00
eugenijm
790ae8e189
Mastodon API: Fix private and direct statuses not being filtered out from the public timeline for an authenticated user (GET /api/v1/timelines/public
)
2019-10-07 11:28:51 +00:00
kaniini
f6ff19e074
Merge branch 'backport/custom-field-update' into 'maint/1.1'
...
Backport: custom field update
See merge request pleroma/pleroma!1805
2019-10-06 15:33:33 +00:00
rinpatch
b5e6ba323d
Merge branch 'backport/key-moveout-1.1' into 'maint/1.1'
...
Backport moving out keys from user info to 1.1
See merge request pleroma/pleroma!1801
2019-10-06 15:32:33 +00:00
kPherox
c5338764df
Extract if block into private function
2019-10-06 15:14:53 +00:00
kPherox
db6c5aa66a
Change to delete empty name field
2019-10-06 15:14:31 +00:00
kPherox
313b134fac
Fix type of fields_attributes
...
Convert tuple list to map list when parameters is `:urlencoded` or `:multipart`
2019-10-06 15:14:27 +00:00
kPherox
81abee22b6
Rename fields to fields_attributes
2019-10-06 15:14:21 +00:00
kaniini
8a52f30356
Merge branch 'backport/feature-poll-refresh' into 'maint/1.1'
...
backport: poll refreshing
See merge request pleroma/pleroma!1804
2019-10-06 15:07:38 +00:00
rinpatch
c7313c8dfb
Fix credo issues
2019-10-06 14:53:55 +00:00
rinpatch
40c7d6fa17
Do not refetch local objects
2019-10-06 14:53:48 +00:00
rinpatch
644bc1e64a
Preserve internal fields when reinjecting
2019-10-06 14:53:40 +00:00
rinpatch
845e8ad5f6
Move object internal fields to a constant
2019-10-06 14:53:34 +00:00
rinpatch
b9cdead076
Set updated_at even if the object stayed the same
2019-10-06 14:53:29 +00:00
rinpatch
8be9a9b5bb
Fix wrong argument order when calling NaiveDateTime.diff
2019-10-06 14:53:23 +00:00
rinpatch
eae9a6d34d
Initial poll refresh support
...
Implement refreshing the object with an interval and call the function
when getting the poll.
2019-10-06 14:53:11 +00:00
feld
2a2d834ff7
Use the user.id instead of nickname in report URLs
...
Ensures links to profiles of remote users work.
2019-10-06 14:48:37 +00:00
rinpatch
c58da11182
Move local keys out of user.info
2019-10-06 17:36:24 +03:00
lain
b97a7709c7
CommonAPI: Create profile updates as public.
...
This saves us lots of sending out because we can use sharedInbox.
2019-10-05 19:31:11 +00:00
lain
4d85e07e9e
ActivityPub / Transmogrifier: Correctly store incoming Update id.
2019-10-05 19:31:03 +00:00
Haelwenn (lanodan) Monnier
dbd78de176
notification_view.ex: Make sure account
isn’t empty
...
Related: https://git.pleroma.social/pleroma/pleroma/issues/1203
2019-10-04 22:27:07 +00:00
kaniini
43be47c161
Merge branch 'backport/hex-flake-id' into 'maint/1.1'
...
backport: hex `flake_id` support
See merge request pleroma/pleroma!1793
2019-10-04 22:11:34 +00:00
kaniini
15513f02d0
Merge branch 'backport/feature-track-reverse-proxy-failures' into 'maint/1.1'
...
backport: Track failed proxy urls and don't request them again
See merge request pleroma/pleroma!1792
2019-10-04 22:01:38 +00:00
Egor Kislitsyn
67d772dd73
Replace Pleroma.FlakeId
with flake_id
hex package
2019-10-04 21:59:17 +00:00
Sergey Suprunenko
7307d7d676
Track failed proxy urls and don't request them again
2019-10-04 21:49:51 +00:00
Maksim Pechnikov
16a1f95623
removed legacy api: "/objects/:uuid/likes"
2019-10-04 21:36:04 +00:00
lain
b7d2ca0372
ActivityPub: Change addressing of Undo.
2019-10-04 21:17:46 +00:00