William Pitcock
ae3cb652b6
user: set up a valid followers address to use
6 years ago
William Pitcock
1c90f88393
user: remote actors can have no nickname if they are virtual services
6 years ago
William Pitcock
4807a52284
user: support creating an actor which represents the instance itself
6 years ago
William Pitcock
275c42e438
user: filter out duplicate follow requests
6 years ago
William Pitcock
47189531c5
user: use Object.normalize() instead of Object.get_by_ap_id() directly.
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
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
William Pitcock
056305dfa7
user: add helper function to fetch a user given only an ap_id (fix tests)
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
7e0f62acee
object: add helper functions to handle various forms of a given object and return a normalized one
6 years ago
William Pitcock
591c82620e
activitypub: filter destination list for announce activities differently than normal ( closes #164 )
6 years ago
squidboi
2e294ee44a
Merge branch 'develop' into feature/configurable-blocks
6 years ago
William Pitcock
5eed1ea181
run mix format
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
ad7188fe92
user: use Enum.uniq on the follow request query
6 years ago
William Pitcock
9c88933422
implement tracking of follow requests
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
4f9ecfc77a
formatting
6 years ago
squidboi
16d896f526
fixes
6 years ago
squidboi
b3580b6971
add option to not deny follow if blocked (fixed)
6 years ago
William Pitcock
1e9dd6fbc2
user: fix maybe_direct_follow() after user_info() refactoring broke it slightly
6 years ago
eal
4856962434
MastoAPI: add domain blocking.
6 years ago
eal
87566b6e2f
user.ex: add domain blocks.
6 years ago
lain
6138b29783
There are no symbols in JSON.
6 years ago
lain
745072b2cc
Merge branch 'kaniini/pleroma-feature/activitypub-accept-reject-conformance' into develop
6 years ago
William Pitcock
e80d91c64a
introduce User.maybe_direct_follow() and use it where we used to call User.follow()
6 years ago
William Pitcock
c0ca9f82b9
mastodon api: properly track if an account is locked or not
6 years ago
William Pitcock
1d88abf2d4
user: do not allow refollowing somebody who has blocked a user
6 years ago
Thog
e55c6f311b
Migrate to comeonin 4 and Cachex 3
...
Also fix some warning in the code and add a missing alias
6 years ago
William Pitcock
6e8de2faae
run mix format
6 years ago
lain
1d4bbec6b3
Fix User search.
...
Now uses a trigram based search. This is a lot faster and gives better
results. Closes #185 .
6 years ago
lain
279b1d19f0
Align local bio limits to remote limit.
7 years ago
Dashie
afe892ddac
Correct syntax with mix format
7 years ago
Dashie
9972678a68
Add User.decrease_note_count and call it from ActivityPub.delete
7 years ago
eal
947431e9aa
MastoAPI and OAuth: allow login with either email or username.
7 years ago
William Pitcock
2edde06042
user: strip leading @ from user query when searching for users if present
...
closes #117
7 years ago
lain
2222e5599c
Don't fetch anything except ap_id for follower / following
...
collections.
Should speed up the queries because ecto doesn't have to parse the json.
7 years ago
lain
4afbef39f4
Format the code.
7 years ago
lain
bd4926288e
Speed up follower query.
7 years ago
lain
847cb15626
Fix tests.
7 years ago
Mark Felder
185c030258
AP again
7 years ago
lain
611ca385de
Merge branch 'develop' into feature/activitypub
7 years ago
lain
d3b0167854
Fix salmon tests.
7 years ago
lain
8e7f63afde
Fix specs.
7 years ago
lain
e3629af4da
Handle remote update activities.
7 years ago
lain
37e406ae36
Get avatar and banner from AP users.
7 years ago
lain
8895088029
Fix for following type change.
7 years ago
lain
4816b09fa7
Add user upgrade function.
7 years ago
lain
f48bc5c3e1
Make User.following a postgres array.
7 years ago
Ekaterina Vaartis
ec07e087bc
Make user bio optional
7 years ago
lain
6b32b9e346
Notifications: Use all recipients, not just "to".
7 years ago
lain
b99eeb2bdf
Try to fetch AP user data first.
7 years ago
lain
68752b2047
Switch protocols to AP when post come in through AP.
7 years ago
lain
fb7b926be3
Handle black name fields on incoming users.
7 years ago
lain
7b26443a76
ActivityPub: Send out Accept after Follow.
7 years ago
lain
8cf97ee8e1
ActivityPub: Basic note federation with Mastodon.
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
Hakaba Hitoyo
ea6d1b2b17
move avi.png & banner.png from /priv/static/static to /priv/static/images
7 years ago
eal
14b086eec2
Add a default profile picture and banner.
...
This removes the placehold.it dependency.
7 years ago
Roger Braun
a9c23e1c32
Add plug to validate signed http requests.
7 years ago
Lain Iwakura
bad499b3fd
Basic user deletion.
7 years ago
Lain Iwakura
6df6ad0b42
User deletion: Remove relationships.
7 years ago
Lain Iwakura
a78ae2a685
Don't follow deactivated users.
7 years ago
Lain Iwakura
b727ecc5e7
Add function to deactivate users.
7 years ago
Lain Iwakura
5637d163e6
MastodonAPI: Add proper user count.
7 years ago
eal
e9037ffc8d
Do not include user in their own follower count.
7 years ago
eal
bd921ca5d7
Fix posts being streamed to non-local websocket channels.
7 years ago
eal
4db5954786
Don't let the user unfollow their own account.
7 years ago
eal
aadf54e0df
Don't show the user in their own following count.
7 years ago
Thog
59770c3f5c
Fix all compilation warnings
7 years ago
Roger Braun
a743940463
MastoAPI: Implement all streaming functions.
7 years ago
Roger Braun
6a5f087174
Add blocks to User.
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
502cb38cd6
Move user search to User module.
7 years ago
Roger Braun
9af560083f
Use more efficient user note count update query.
7 years ago
Roger Braun
6af164f27b
Add password reset.
7 years ago
Roger Braun
44693c100d
Federate banners out.
7 years ago
Roger Braun
61adf676d5
Add basic mastodon notification support.
7 years ago
Roger Braun
5142a8efbb
Add profile update.
7 years ago
Roger Braun
72ca58c540
Save follower count and note count in user.
7 years ago
Roger Braun
44aef2183e
Add follower / friend fetching to user.
7 years ago
Roger Braun
396c32a6da
Add follower_address to users, add on generation.
7 years ago
Roger Braun
e343c0c9c4
Add way to update most recent notification id.
7 years ago
Roger Braun
ac04ba240a
Larger bio length limit for remote accounts.
7 years ago
Roger Braun
70024632ba
AP refactoring.
7 years ago
Roger Braun
dd12cf7296
Fix cws.
7 years ago
Roger Braun
fca7390c69
Only kick off websubs for local users.
7 years ago
Roger Braun
118c572006
Use changeset for remote user creation.
7 years ago
Roger Braun
373753e595
Add some basic changesets.
7 years ago
Roger Braun
b403ea4d2b
Merge branch 'develop' into dtluna/pleroma-feature/unfollow-activity
7 years ago
Roger Braun
bda389d7d9
Subscribe to remote users on following.
8 years ago
Roger Braun
c48c381e90
Merge branch 'develop' into dtluna/pleroma-refactor/1
8 years ago
Roger Braun
6843755834
Make outgoing salmons work.
8 years ago
Roger Braun
bed0b39813
Add function to fetch users from fqn.
8 years ago
Roger Braun
eb12a89d22
Rename wrongly-named function.
8 years ago
Roger Braun
a173fb9e41
Get users fresh, might so we don't make new keys all the time.
8 years ago
Roger Braun
bb1d08a47c
Return keys in webfinger.
8 years ago
Roger Braun
ffc604a2c2
Use cache for user info data.
...
Later these should be persisted in the user.
8 years ago
dtluna
a9b2ad1759
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/unfollow-activity
8 years ago
dtluna
6cf7c13228
Refactor code to comply with credo suggestions
8 years ago
Roger Braun
e8882ab3da
Merge branch 'develop' into feature/incoming_ostatus
8 years ago
dtluna
668b01da0b
Add restriction on names
8 years ago
Roger Braun
43d7a4b2cf
Add basic fields to support remote users.
8 years ago
Roger Braun
361a8c4219
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop
8 years ago
dtluna
28b203d08f
Add Undo of Follow Activity insertion
8 years ago
Roger Braun
1e88f102c4
Fix specs, add some user info.
8 years ago
Roger Braun
36e883cd4b
Add basic Ostatus user representer.
8 years ago
lambadalambda
ac9817bdb0
Merge branch 'bugfix/repeated-follow-unfollow' into 'develop'
...
Add error messages for repeated follows and unfollows
See merge request !7
8 years ago
Roger Braun
6bfd521974
Switch cache implementation for size limiting.
8 years ago
dtluna
ef5033d7a7
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into bugfix/repeated-follow-unfollow
8 years ago
Roger Braun
d7e3b72c6a
Add avatar objects to user, fix specs.
8 years ago
Roger Braun
03c6148bb3
Add user registration changeset.
8 years ago
Roger Braun
03ddaead7e
Add basic user caching.
...
Expires after 5 seconds.
8 years ago
dtluna
65ef18a715
Add error messages for repeated follows and unfollows
8 years ago
Roger Braun
ddaaab115e
Use standard base url in User.
8 years ago
Roger Braun
9ad045fd58
Return user specific json for logged in users.
8 years ago
Roger Braun
30650e5bc6
Add unfollowing to TwAPI.
8 years ago
Roger Braun
75e51b190d
Add following TwAPI endpoint.
8 years ago
Roger Braun
9a8850eb9e
Basic status creation and retrieval.
8 years ago
Roger Braun
66f536ecba
Add user schema.
8 years ago