kaniini
486749064f
Revert "Merge branch 'feature/split-hide-network' into 'develop'"
This reverts merge request !733
5 years ago
William Pitcock
af10ef8d4e
object: use cached accesses when possible in Object.normalize()
5 years ago
eugenijm
a184811a60
Use url() instead of static_url in Endpoint.websocket_url()
5 years ago
Luna
9cac8729af
update nodeinfo version when requesting 2.1
5 years ago
eugenijm
d747bd9870
Use String.replace_leading instead of String.replace for getting websocket streaming api url.
Extract the login responsible for obtaining websocket URL into the corresponding
Endpoint function.
5 years ago
Luna
1cdcee89da
mix format pass
5 years ago
Luna
23b1c64a19
downcase software name in nodeinfo
5 years ago
Luna
b17ce875cf
keep compatibility with nodeinfo 2.0
splits actual nodeinfo generation into raw_nodeinfo, the 2.0 handler
gives the same result, while the 2.1 handler inserts the
software.repository field. requested by @href
5 years ago
Haelwenn (lanodan) Monnier
74c6119f28
MastodonAPI.MastodonAPIController: Return a 404 when we fail to get a list
5 years ago
Luna
cd6db6abe4
use Mix.Project.Config for some Application functions
5 years ago
href
fa5ec765d9
Serve sw-pleroma.js properly
5 years ago
Luna
b0c4c082c4
mix format pass
5 years ago
Luna
c05928dbda
use nodeinfo 2.1, add repository field
that is the only change from nodeinfo 2.0 to 2.1
also this makes the nodeinfo tests use 2.1.json instead of 2.0.json
5 years ago
lain
b19b4f8537
Remove default value for rich media.
Setting it to true will actually override a 'false' set before.
5 years ago
href
308b35ebe2
User.follow_all: ensure its stays unique
5 years ago
William Pitcock
46dba03098
rich media: parser: only try to validate strings, not numbers (OEmbed)
5 years ago
William Pitcock
dafb6f0b5e
rich media: parser: reject OGP fields we cannot safely process
5 years ago
rinpatch
7057891db6
Make rich media support toggleable
5 years ago
lambda
a43a1c6d4e
Revert "Merge branch 'spc-fix-3' into 'develop'"
This reverts merge request !682
5 years ago
href
5ea0397e2d
Fix 4aff4efa
typos
5 years ago
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