William Pitcock
66819ea784
twitter api: use ActivityView.render_content() where appropriate instead of duplicating the logic
6 years ago
William Pitcock
ea982e7503
mastodon api: add interpreter for Article activity types
6 years ago
William Pitcock
121c1f6230
twitter api: refactor activity html generation, add support for Articles
6 years ago
William Pitcock
bd479606ba
utils: make_create_data: add support for Article objects
6 years ago
William Pitcock
c42f28b82c
transmogrifier: accept Article activities
6 years ago
William Pitcock
2f14996d9a
twitter api: allow setting default_scope
6 years ago
William Pitcock
dcdf7b6686
twitter api: user view: show default message scope if known
6 years ago
William Pitcock
4f6de34f4f
mastodon api: use info["default_scope"] if available for post scope
6 years ago
William Pitcock
7c63e70de1
activitypub: use Activity.normalize() in several places instead of using Activity.get_by_ap_id() directly.
6 years ago
William Pitcock
6f4ca7ddf7
ostatus: use Activity.normalize() instead of directly using Activity.get_by_ap_id().
6 years ago
William Pitcock
5b240c3b18
federator: 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
49da04c509
common api: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
William Pitcock
15d624e077
activitypub: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
William Pitcock
fb04fecfb4
streamer: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
William Pitcock
47189531c5
user: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
William Pitcock
b036a19c21
activity: add normalize() to find a complete activity given either URI or partial structure
6 years ago
William Pitcock
a200943240
object: add helper functions to handle various forms of a given object and return a normalized one
6 years ago
Tristan Mahé
dc8ace29d1
use the correct end file
6 years ago
Tristan Mahé
ca63585a32
maybe I should learn proper elixir ;D
6 years ago
Tristan Mahé
d8d43f1173
do the filtering
6 years ago
Tristan Mahé
c67cf8e9af
format...
6 years ago
Tristan Mahé
cb21bf5fc2
filter exif data #187
6 years ago
Haelwenn (lanodan) Monnier
beb940a57e
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Add rights to initial_state
...
Related to https://git.pleroma.social/pleroma/mastofe/issues/20
6 years ago
lambda
fc012491a5
Merge branch 'fix/mutes.json-emptyarray' into 'develop'
...
Return empty array from /api/qvitter/mutes.json
See merge request pleroma/pleroma!234
6 years ago
lambda
dfc96f222c
Merge branch 'feature/configurable-blocks' into 'develop'
...
Add more configurability to how blocks work
See merge request pleroma/pleroma!203
6 years ago
squidboi
ea214b8ba6
combined outgoing_blocks with statement
6 years ago
Vivian Lim
6160a1b3c0
mix format
6 years ago
Vivian Lim
1299bccc7d
return unquoted empty array from /api/qvitter/mutes.json
6 years ago
Vivian Lim
6316003946
fixes- found that TwitterAPI.Controller adds .json suffix already
6 years ago
Vivian Lim
f2badd4424
return empty array for api/qvitter/mutes.json queries instead of html
6 years ago
squidboi
c4038ede07
fix mind-crushingly dumb syntax error
6 years ago
squidboi
f4990283de
change moved attributes into normal variables
6 years ago
squidboi
4e099fcfa9
move configurable module attributes into relevant functions
6 years ago
Haelwenn (lanodan) Monnier
5a4a45b875
[Pleroma.Web.MastodonApi.MastodonApiController] Add initial_state.meta.max_toot_chars
6 years ago
Haelwenn (lanodan) Monnier
a05c0ff61d
[Pleroma.Web.MastodonApi.MastodonApiController] Add /api/v2/search
6 years ago
Haelwenn (lanodan) Monnier
359093d73b
Fake 2.4.0 API
6 years ago
Haelwenn (lanodan) Monnier
c45133377a
lib/pleroma/web/activity_pub/mrf/simple_policy.ex: mix format
...
Hnng!
6 years ago
William Pitcock
60d6038be5
mrf simple: add accept lists
...
accept lists supplement reject lists by requiring that any message accepted by contained
by the accept list.
in other words, this functionality can be used to implement instances similar to
awoo.space.
6 years ago
lambda
90cf75f4a7
Merge branch 'features/column_media_streaming' into 'develop'
...
Add streaming to media tabs of federated and local TLs
See merge request pleroma/pleroma!225
6 years ago
lambda
be800d7936
Merge branch 'bugfix/block-follow-relationships' into 'develop'
...
fix follow relationship leaks when blocked
See merge request pleroma/pleroma!230
6 years ago
William Pitcock
056305dfa7
user: add helper function to fetch a user given only an ap_id (fix tests)
6 years ago
lambda
db0731b6ac
Merge branch 'feature/exclude-replies-filter' into 'develop'
...
activitypub: support filtering activities by whether or not they are a reply (closes #109 )
Closes #109
See merge request pleroma/pleroma!226
6 years ago
William Pitcock
320ca7b11e
user: when processing a block in User.block(), ensure all follow relationships are broken
...
this is needed for activitypub conformance
ref #213
6 years ago
William Pitcock
c95941e64d
activitypub transmogrifier: fix handling of contentMap.
6 years ago
William Pitcock
4f589998ee
activitypub: support filtering activities by whether or not they are a reply ( closes #109 )
6 years ago
Haelwenn (lanodan) Monnier
b670d4d683
MastodonAPI: Add streaming to media tabs of federated and local TLs
6 years ago
Henry Jameson
0b1ca6a584
Token-generating task
6 years ago
squidboi
2e294ee44a
Merge branch 'develop' into feature/configurable-blocks
6 years ago
lambda
1ea4a18ad8
Merge branch 'feature/configure-mrf-rejectnonpublic' into 'develop'
...
Configs for mrf_rejectnonpublic
See merge request pleroma/pleroma!205
6 years ago
eal
a938d07df1
Merge branch 'bugfix/mastofe_thread_render' into 'develop'
...
lib/pleroma/web/mastodon_api/views/status_view.ex: Fix status.json so it renders threads
See merge request pleroma/pleroma!223
6 years ago
Haelwenn (lanodan) Monnier
72c2915ecd
Pleroma.Web.MastodonAPI.StatusView: Fix status.json so it renders threads
6 years ago
lain
00d7d109ef
Fix typo
6 years ago
lambda
de20c8d620
Merge branch 'fix/missing-file-extension' into 'develop'
...
Add missing file extension if file does not have one
See merge request pleroma/pleroma!222
6 years ago
Francis Dinh
0a95b5594b
Add missing file extension if file does not have one
6 years ago
eal
12c7a023de
upload.ex: add MPEG Layer 3 file header.
6 years ago
lambda
2723fb5150
Merge branch 'bugfix/mrf-orphaning' into 'develop'
...
activitypub transmogrifier: handle activity lookup failure
Closes #156
See merge request pleroma/pleroma!216
6 years ago
lambda
8c7fdcb31b
Merge branch 'feature/twitterapi-unrepeat' into 'develop'
...
Add TwitterAPI unretweet endpoint and cleanup AP.unannounce
See merge request pleroma/pleroma!218
6 years ago
lambda
2c303b3302
Merge branch 'bugfix/oauth2-param-name' into 'develop'
...
oauth: support either name or username parameter with grant_type=password
Closes #180
See merge request pleroma/pleroma!219
6 years ago
lambda
280ac243aa
Merge branch 'bugfix/oauth-password-with-email' into 'develop'
...
oauth: fix password-based login when username is email address
Closes #199
See merge request pleroma/pleroma!220
6 years ago
William Pitcock
5442466569
oauth: fix password-based login when username is email address
...
closes #199
6 years ago
William Pitcock
4894b88b1b
oauth: support either name or username parameter with grant_type=password
...
closes #180
6 years ago
Francis Dinh
1555c66650
Add unretweet TwAPI endpoint and cleanup AP.unannounce
6 years ago
William Pitcock
401e8af943
activitypub transmogrifier: handle activity lookup failure
...
with the introduction of MRF, it is possible that an activity may be orphaned from it's parent, if
an activity in the chain was rejected by the active MRF policies. accordingly, handle this in the
same way as any other orphaned activity.
closes #156
6 years ago
William Pitcock
b5bc08fac3
streamer: don't relay boosts of messages which would otherwise be blocked
6 years ago
lambda
ea42ba603f
Merge branch 'feature/webfinger-rfc7033-compliant' into 'develop'
...
webfinger: send JRD by default instead of XRD
See merge request pleroma/pleroma!211
6 years ago
William Pitcock
3d402a9e20
webfinger: send JRD by default instead of XRD
...
JRD being the default representation for WebFinger responses was standardized 5 years ago in
RFC 7033.
6 years ago
William Pitcock
59f95a7095
webfinger: refactor webfinger() functions
...
- remove code duplication
- move user lookup to parent with statement
- tighten both user lookup by nickname and activitypub URI with a type constraint
6 years ago
Henry Jameson
9c1cf1befb
formatting
6 years ago
Henry Jameson
f42ffbe9a8
Initial invites support + tests.
6 years ago
lambda
3f42806b1b
Merge branch 'develop' into 'develop'
...
Dedupe uploads
See merge request pleroma/pleroma!115
6 years ago
lambda
564c73ab24
Merge branch 'feature/list-streaming' into 'develop'
...
MastoAPI: Add streaming for lists.
See merge request pleroma/pleroma!183
6 years ago
William Pitcock
9810471237
router: remove stub /domain_blocks entry
6 years ago
William Pitcock
f8e0942745
twitter api: add approve/deny endpoints
6 years ago
William Pitcock
e08cf21e5b
twitter api: add friend requests list api
6 years ago
William Pitcock
ba8dab7542
twitterapi: user view: return if an account is locked or not
6 years ago
William Pitcock
d96377f359
activitypub transmogrifier: accept/reject outgoing: we might send the actual object instead of the URI in some cases, handle it
6 years ago
William Pitcock
5eed1ea181
run mix format
6 years ago
William Pitcock
993312cdb3
twitterapi: add profile setting for locked/unlocked accounts
6 years ago
William Pitcock
4084889a2d
activitypub transmogrifier: remove debug code
6 years ago
William Pitcock
1452b2823f
user: add a workaround for situations where Pleroma may believe a followee is followed
...
this was caused by lack of Undo follows in the early days, and can likely be eventually removed
6 years ago
William Pitcock
76f80ba8c2
activitypub: when unfollowing, update the follow activity's disposition to 'cancelled' so it cannot be reused
6 years ago
William Pitcock
a2c4a5a75b
mastodon api: allow setting an account locked or not
6 years ago
William Pitcock
ad7188fe92
user: use Enum.uniq on the follow request query
6 years ago
William Pitcock
f328de8eb7
activitypub transmogrifier: send Rejects in the format Mastodon wants
6 years ago
William Pitcock
876ad6aa38
activitypub transmogrifier: send @context on accept activities
6 years ago
William Pitcock
760eb72a38
add a bunch of stuff
6 years ago
William Pitcock
6f89d2d583
stash api controller
6 years ago
William Pitcock
9c88933422
implement tracking of follow requests
6 years ago
William Pitcock
6041380774
activitypub transmogrifier: learn locked state in Update messages
6 years ago
William Pitcock
e5206752e1
activitypub: only send accept back automatically if the account is not locked
6 years ago
lambda
7f79b467b1
Merge branch 'feature/domain-blocks' into 'develop'
...
Domain blocks
See merge request pleroma/pleroma!190
6 years ago
squidboi
07f0cfa53f
add allow_followersonly and allow_direct options for configuring mrf_rejectnonpublic
6 years ago
squidboi
4f9ecfc77a
formatting
6 years ago
squidboi
8903f1ad4d
more fixes
6 years ago
squidboi
16d896f526
fixes
6 years ago
squidboi
b3580b6971
add option to not deny follow if blocked (fixed)
6 years ago
squidboi
2847fc8f90
add option to not unfollow on block, and option to not federate outgoing blocks
6 years ago
lambda
45a935f0bd
Merge branch 'users' into 'develop'
...
Fix users lookup/return type
See merge request pleroma/pleroma!201
6 years ago
lambda
bb639a362e
Merge branch 'feature/rejectnonpublic' into 'develop'
...
Add MRF to drop all posts with "followers-only" or "direct" privacy settings
See merge request pleroma/pleroma!202
6 years ago