sxsdv1
20c0dd1e24
Support activity+json request for activity
6 years ago
William Pitcock
980b5288ed
update copyright years to 2019
6 years ago
William Pitcock
2791ce9a1f
add license boilerplate to pleroma core
6 years ago
href
b1860fe85a
Instance/Static runtime plug
...
This allows to set-up an arbitrary directory which overrides most of the
static files: index.html static/ emoji/ packs/ sounds/ images/ instance/
favicon.png.
If the files are not present in the directory, the bundled ones in
priv/static will be used.
6 years ago
raeno
b0c3211984
Scrub html from activity.content or user.bio for opengraph meta
6 years ago
raeno
46486595ff
Handle "users/:id" links as well. Fix comments in MR.
6 years ago
raeno
b5de7c4c4d
Remove oembed for now, will submit it in another MR. Fix warnings
6 years ago
raeno
018516d3f3
Refactor ostatus_controller, extract metatags redirection to Redirector itself. Set 'html' as default type for ostatus links
6 years ago
raeno
9b3a6cdb07
Extract opengraph/oembed into separate module
6 years ago
raeno
d903e34cac
Add opengraph/twitter_card:summary support. Add config to toggle on/off specific metadata
6 years ago
raeno
8902942128
WIP. Implement oembed route and handle both json/xml for "Note" type activity
6 years ago
raeno
21afdf6d99
Insert meta tags into static index.html on the fly for OStatus#notice
6 years ago
Maksim Pechnikov
e94c3442f4
updates
6 years ago
Maksim Pechnikov
074fa790ba
fix compile warnings
6 years ago
Hakaba Hitoyo
a09ed0f5af
avoid mix format bug
6 years ago
Hakaba Hitoyo
96ba95df2e
remove follow_redirect options
6 years ago
Hakaba Hitoyo
27792b2d77
remove pool and timeout options which duplicate with the default
6 years ago
Maksim Pechnikov
87109482f3
status_code -> status
6 years ago
William Pitcock
d6ab701a14
formatting
6 years ago
William Pitcock
f168a2add6
ostatus: fix representing external objects
6 years ago
William Pitcock
dd66cc2ca6
ostatus: use Object.normalize() where appropriate when representing activities
6 years ago
William Pitcock
d3fde9b5f2
ostatus: note handler: appropriately use Object.normalize()
6 years ago
lain
d0ec2812bd
Merge remote-tracking branch 'origin' into validate-user-info
6 years ago
lain
d088ac6286
Fix OStatus user updates.
...
Breaks banner updating.
6 years ago
href
bcecdc3ab1
Various runtime configuration fixes
6 years ago
William Pitcock
98795172a7
ostatus controller: respond with AS2 objects instead of activities to notice URIs
6 years ago
William Pitcock
e6d246882d
federator: don't federate anything other than Note objects to OStatus
6 years ago
href
6fe23c5458
Runtime configured router
6 years ago
lambda
440b459cd1
Merge branch 'bugfix/announce-timeline-flooding' into 'develop'
...
activitypub: filter destination list for announce activities differently than normal (closes #164 )
Closes #164
See merge request pleroma/pleroma!227
6 years ago
William Pitcock
0899588e4d
ostatus: return AS2 objects on /notice and /activities URLs like with /objects.
6 years ago
William Pitcock
6f4ca7ddf7
ostatus: use Activity.normalize() instead of directly using Activity.get_by_ap_id().
6 years ago
William Pitcock
bc05548370
ostatus: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
William Pitcock
6f384d35dd
ostatus: we need to include the original author of a message as a mention
...
this is due to the use of activity.recipients which may not necessarily contain the original
author if the actors are not following each other.
6 years ago
Rachel H
fa0c2727d8
Fix users lookup/return type
...
* Allow viewing user in frontend by id on pageload
6 years ago
lain
8073af6e10
Better error handling for OstatusController.
6 years ago
lain
06439f64d0
Better error handling for ActivityPubController
6 years ago
lain
5e76adb07e
Fix url guessing attacks.
6 years ago
Francis Dinh
d045b96f95
Add tests for incoming unfollow over OStatus
6 years ago
Francis Dinh
f2d6c3a512
Handle unfollows from OStatus
6 years ago
lambda
aeff2d6474
Merge branch 'feature/unrepeats' into 'develop'
...
Add unrepeats
Closes #69
See merge request pleroma/pleroma!113
6 years ago
Francis Dinh
271fb5ccb1
Probably better way of handling non-follow undos in ostatus
6 years ago
Francis Dinh
4151cbe6b2
Revert "Do not send non-follow undos over ostatus for now"
...
This reverts commit 07fdc07238
.
6 years ago
Francis Dinh
0b527b5528
Revert "Use [] instead of nil"
...
This reverts commit 42268b0981
.
6 years ago
Francis Dinh
42268b0981
Use [] instead of nil
6 years ago
Francis Dinh
07fdc07238
Do not send non-follow undos over ostatus for now
6 years ago
Francis Dinh
4d5ec883b7
Federate correct activity
6 years ago
Mark Felder
636f0fa402
Clean up unused aliases and imports
6 years ago
eal
22bfeac256
Update note count in ActivityPub.create.
7 years ago
lain
9e6ae44729
Formatting fixes.
7 years ago
lain
4afbef39f4
Format the code.
7 years ago
lain
46f63ea8af
Fix atom feed pagination.
7 years ago
lambda
9b97b023c5
Merge branch 'feld-Logger' into 'develop'
...
Logging cleanup
See merge request pleroma/pleroma!76
7 years ago
Mark Felder
7430ff9173
Capitalize Atom
7 years ago
lain
4d5161b16d
Only fetch if it's http.
7 years ago
lain
fcf1937a40
Correctly handle unlisted messages coming in through Ostatus.
7 years ago
lain
b82637f32d
Don't use special query for feed.
7 years ago
lain
0e9bd6d148
Hotfix for tag problems.
7 years ago
lain
fa3aa59248
Add missing alias.
7 years ago
lain
fb02300234
Pleroma AP detection mechanism.
7 years ago
lain
2583a9f6e8
More logging.
7 years ago
lain
313f186a66
Ostatus: Use all recipients as mentions.
7 years ago
lain
ae26604378
ActivityPub: Refactor create function.
7 years ago
lain
b331cb449a
Merge branch 'develop' into feature/activitypub
7 years ago
Roger Braun
ae1ec858f4
Basic AP user building.
7 years ago
Roger Braun
52200998c9
Merge branch 'develop' into feature/activitypub
7 years ago
hakabahitoyo
a61f21ff4f
print <link rel="next"> element in atom.feed
7 years ago
Hakaba Hitoyo
7124f12a94
introduce max_id parameter in feed.atom (debug)
7 years ago
Hakaba Hitoyo
9c61f60558
introduce max_id parameter in feed.atom
7 years ago
Roger Braun
ad0ab3a57b
Merge branch 'hakabahitoyo/pleroma-feature/atom-feed-logo' into develop
7 years ago
Hakaba Hitoyo
cefb6cfea1
provide logo at feed.atom (debug)
7 years ago
Hakaba Hitoyo
b713b28dfd
provide logo at feed.atom
7 years ago
Roger Braun
64e51c2cfa
Fix incoming Pleroma CWs. Closes #96 .
7 years ago
eal
57d413e655
Revert "Revert "Add remote follow path to webfinger.""
...
This reverts commit fb5aa34092
.
7 years ago
eal
fb5aa34092
Revert "Add remote follow path to webfinger."
...
This reverts commit bc689740f0
.
7 years ago
eal
bc689740f0
Add remote follow path to webfinger.
7 years ago
Lain Iwakura
64330d9455
ActivityPub: Add object routes / controller.
7 years ago
Roger Braun
5599c5920c
Basic incoming AP support.
7 years ago
Roger Braun
d08a34e88b
OStatus: Add user bio as summary field
...
Fixes problem with bio federation.
7 years ago
Lain Iwakura
c680ae581d
Return xml notice at /notice path.
7 years ago
Roger Braun
747a68a075
Treat internal emoji like external.
7 years ago
Thog
59770c3f5c
Fix all compilation warnings
7 years ago
Roger Braun
41b8a76e96
Re-fetch user data on salmon decode error.
7 years ago
Roger Braun
9be286a900
Handle empty terms / tags.
7 years ago
Roger Braun
6f05367325
Federate out content warnings.
7 years ago
Roger Braun
4cbf17dac6
Save cws in the activitypub data.
7 years ago
Roger Braun
4dcbb64f19
Avoid potentially slow count queries for user note count.
...
For a variety of reasons, posgresql won't use the available actor,
type index to do an index only scan. We now just increase the user
note count, which will lead to slightly wrong counts in some cases,
but it's better than the potentially very slow count query.
7 years ago
Roger Braun
678dd4c8ec
Use desc id to sort instead of desc inserted_at
...
Should mean the same and is indexed.
7 years ago
Roger Braun
16b1fcd271
Handle incoming emoji.
7 years ago
Roger Braun
884006a9e9
Federate emoji out.
7 years ago
Roger Braun
44693c100d
Federate banners out.
7 years ago
Roger Braun
0fbf1911f5
Banners are objects.
7 years ago
Roger Braun
abac96f41d
Update banner from remote accounts.
7 years ago
Roger Braun
50409326a8
Refactor posting and make character limit configurable.
7 years ago
Roger Braun
f445a1b376
Don't die on fetching problems.
7 years ago
Roger Braun
cd6cba2f67
log ostatus handling errors.
7 years ago
Roger Braun
95aa6a3c65
Try to fetch from html again if fetching from atom gives no results.
7 years ago
Roger Braun
a441ee7d21
Workaround for masto reply breakage.
7 years ago
Roger Braun
e9ebfdb83b
Fix remote profile update code.
7 years ago
Roger Braun
2348b272e0
Create deletes activities for incoming deletes.
7 years ago
Roger Braun
540dfb4617
Add delete activity representer.
7 years ago