William Pitcock
c0ca9f82b9
mastodon api: properly track if an account is locked or not
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