lain
47ec690c54
Use race-condition free mass follow.
5 years ago
lain
935e65e261
Use race-condition free following method.
5 years ago
href
4aff4efa8d
Use multiple hackney pools
* federation (ap, salmon)
* media (rich media, media proxy)
* upload (uploader proxy)
Each "part" will stop fighting others ones -- a huge federation outbound
could before make the media proxy fail to checkout a connection in time.
splitted media and uploaded media for the good reason than an upload
pool will have all connections to the same host (the uploader upstream).
it also has a longer default retention period for connections.
5 years ago
William Pitcock
57549f6043
activitypub: utils: update the state of *any* pending follow relationship that matches the actor and target
5 years ago
William Pitcock
cbb2b709de
activitypub: transmogrifier: fix follow request rejections
5 years ago
Ivan Tashkinov
92753b0cd9
[ #534 ] Made federation push sender be determined basing on content instead of `referer` header. Updated tests.
5 years ago
William Pitcock
61d6715714
rich media: oembed: return data in the same format as the other parsers
5 years ago
William Pitcock
ddb5545202
rich media: kill some testsuite noise
5 years ago
William Pitcock
0f11254a06
rich media: parser: add some basic sanity checks on the returned data with pattern matching
5 years ago
William Pitcock
83b7062634
rich media: parser: cache negatives
5 years ago
William Pitcock
8fb16e9f0f
rich media: parser: add copyright header
5 years ago
Maxim Filippov
50d6183893
Split hide_network into hide_followers & hide_followings
5 years ago
lain
f53d464db0
Put deprecation warnings undre Pleroma.Config.
5 years ago
Ivan Tashkinov
1d2f41642c
[ #534 ] Various tweaks. Tests for Instances and Instance.
5 years ago
lain
8e8a1e1ba8
Return new-style config if old-style config is set to false.
This is in preparation for 1.0. We'll be able to switch the config to the new
mechanism on PleromaFE then as well.
5 years ago
lain
f1d58c5c49
Don't run warnings in a task.
5 years ago
href
df2f7b39dd
re f83bae7c: remove unnecessary filter
5 years ago
lain
f231313b70
Add deprecation warning mechanism.
5 years ago
lain
1825118fd4
Correctly handle invalid credentials on auth login.
Closes #407
5 years ago
Ivan Tashkinov
9560abea10
[ #534 ] Refactoring / tweaks per MR review.
5 years ago
William Pitcock
ddc7ae2c1a
mastodon api: card: force OGP images through mediaproxy
5 years ago
William Pitcock
ebeabdcc72
rich media: helpers: clean up unused aliases
5 years ago
William Pitcock
91ef64a1ec
activitypub: prime OGP crawler cache when new messages are inserted into the database
5 years ago
William Pitcock
8e42251e06
rich media: add helpers module, use instead of MastodonAPI module
5 years ago
William Pitcock
24a103a1fe
mastodon api: formatting
5 years ago
William Pitcock
6096846f5f
API: kill /api/rich_media/parse endpoint
5 years ago
William Pitcock
07a9a891ad
twitter api: fix up activity representer
5 years ago
William Pitcock
de42646634
rich media: add try/rescue to ensure we catch parsing and fetching failures
5 years ago
William Pitcock
5d895093fd
twitter api: embed card in twitterapi posts
5 years ago
William Pitcock
5a37ddc2dc
mastodon api: embed card in status object
5 years ago
William Pitcock
132d815f1f
mastodon api: factor out status card fetching, move status card rendering to statusview, add opengraph extended data
5 years ago
Haelwenn (lanodan) Monnier
cda1470e02
[MastoAPI][GlitchAPI] Add bookmarks
5 years ago
Haelwenn (lanodan) Monnier
872241d7c5
/web/index template: Modify for glitch-soc
5 years ago
href
71bb90073b
/notice/:id - send the FE index even if 404
this allows to open private activities by URL when you are logged in,
and to let the FE display a 404 page
5 years ago
lain
2e277dd4ad
Fix objects.
5 years ago
href
77f2137383
Transmogrifier: fix incoming objects with invalid likes
5 years ago
href
f83bae7c22
Views: wrap activity rendering in a rescue
this avoids complete timeline breakage when an activity fucks up
rendering.
5 years ago
href
e0e0cc5ab0
Flake: random worker id
5 years ago
Haelwenn (lanodan) Monnier
a65c188593
Web.MastodonAPI.AccountView: Add is_moderator and is_admin
Closes: https://git.pleroma.social/pleroma/pleroma/issues/557
5 years ago
William Pitcock
8f2f471e94
rich media: gracefully handle fetching nil URIs
5 years ago
href
d6015338c8
Flake: support integers in from_string/1
Some previously issued stateless tokens have integer ids in them.
5 years ago
Haelwenn (lanodan) Monnier
de956b9e04
Web.MastodonAPI.MastodonAPIController: tag+any bookmark params in a array and flatten it
5 years ago
William Pitcock
1f7843b9b8
mastodon api: use OGP uri instead of page_url for deducing domain name, fix test
5 years ago
William Pitcock
86037e9c39
mastodon api: use HTML.extract_first_external_url()
5 years ago
href
8018ae7ae5
Join on preloads to avoid N+1 queries
5 years ago
William Pitcock
be9abb2cc5
html: add utility function to extract first URL from an object and cache the result
5 years ago
William Pitcock
78047d57bf
mastodon api: provider_name setting is required too on the card
5 years ago
Haelwenn (lanodan) Monnier
39863236eb
Web.MastodonAPI.MastodonAPIController: generic get_status_card/1 function for MastoAPI 2.6.x
Mastodon API 2.6.x added a card key to the Status object so the Card can be shown in the timeline without an extra request at each status.
5 years ago
Haelwenn (lanodan) Monnier
3f64379b13
Web.MastodonAPI.MastodonAPIController: Add Rich-Media support
5 years ago
Haelwenn (lanodan) Monnier
5a84def6a6
Fix the logic in multi-hashtag TLs
5 years ago