Alexander Strizhakov
3ec1dbd922
Let pins federate
- save object ids on pin, instead of activity ids
- pins federation
- removed pinned_activities field from the users table
- activityPub endpoint for user pins
- pulling remote users pins
3 years ago
Egor Kislitsyn
3aae5231b2
Add OpenAPI spec for AdminAPI.UserController
3 years ago
Mark Felder
26b620d676
Permit :disclose_client in changesets
3 years ago
Mark Felder
83301fe61a
Add field to user schema for controlling disclosure of client details
3 years ago
Mark Felder
95930a7aa5
Actually send the mail
3 years ago
Mark Felder
e945ccc91b
Add a registration email that only sends if no other emails (welcome, approval, confirmation) are enabled
3 years ago
Mark Felder
af37a5c51a
Also make this maybe_ for consistency
3 years ago
Mark Felder
b22b12f738
These welcome emails are not guaranteed and can be private functions
3 years ago
Egor Kislitsyn
a51d903e0c
Make sure active_user_count/1 counts only local users
3 years ago
Ivan Tashkinov
60b4654038
Email-like field in /api/v1/accounts/verify_credentials response (for OAuth plugins like Peertube).
Addresses https://git.pleroma.social/pleroma/pleroma-support/-/issues/56 .
3 years ago
Egor Kislitsyn
793fc77b16
Add active user count
3 years ago
Mark Felder
704eef3c2d
Special handling for unconfirmed users based on instance config no longer needed.
3 years ago
Mark Felder
2c0fe2ea9e
Remove toggle_confirmation; require explicit state change
Also cosmetic changes to make the code clearer
3 years ago
Mark Felder
d36182c088
Change user.confirmation_pending field to user.is_confirmed
3 years ago
Mark Felder
6c50ac1d3f
Readability
3 years ago
Mark Felder
ebd7d1365b
Make setting user activation status explicit
3 years ago
Mark Felder
cd1e5d76ab
Remove User.restrict_deactivated/1
Everything else is in User.Query, no need for this odd kludge.
3 years ago
Mark Felder
860b5c7804
Change user.deactivated field to user.is_active
3 years ago
Mark Felder
63923df0a5
Further simplify changeset logic
3 years ago
Mark Felder
f7e59c28ed
Change user.approval_pending field to user.is_approved
3 years ago
Lain Soykaf
39f3683a06
Pbkdf2: Use it everywhere.
3 years ago
lain
9106048c61
Password: Replace Pbkdf2 with Password.
3 years ago
Haelwenn (lanodan) Monnier
c4439c630f
Bump Copyright to 2021
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/ >;'
3 years ago
lain
e802b48d55
User: Use ObjectID type to validate also-known-as field
3 years ago
Alex Gleason
4200a06340
Aliases: refactor validate_also_known_as/1
3 years ago
lain
41d6225e2e
User: Remove left-over (wrong) fix.
3 years ago
lain
a32e13e6c4
User: Don't allow local users in remote changesets
3 years ago
lain
c9d73af74d
Cachex: Unify arity of callback function
3 years ago
lain
713612c377
Cachex: Make caching provider switchable at runtime.
Defaults to Cachex.
3 years ago
lain
04af0bbe44
User: Remove left-over (wrong) fix.
3 years ago
lain
222312900e
User: Don't allow local users in remote changesets
3 years ago
Egor Kislitsyn
35ba48494f
Stream follow updates
3 years ago
Ivan Tashkinov
f1b07a2b2b
OAuth form user remembering feature. Local MastoFE login / logout fixes.
3 years ago
rinpatch
2c55f7d7cb
Remove FedSockets
Current FedSocket implementation has a bunch of problems. It doesn't
have proper error handling (in case of an error the server just doesn't
respond until the connection is closed, while the client doesn't match
any error messages and just assumes there has been an error after 15s)
and the code is full of bad descisions (see: fetch registry which uses
uuids for no reason and waits for a response by recursively querying a
ets table until the value changes, or double JSON encoding).
Sometime ago I almost completed rewriting fedsockets from scrach to
adress these issues. However, while doing so, I realized that fedsockets
are just too overkill for what they were trying to accomplish, which is
reduce the overhead of federation by not signing every message.
This could be done without reimplementing failure states and endpoint
logic we already have with HTTP by, for example, using TLS cert auth,
or switching to a more performant signature algorithm. I opened
https://git.pleroma.social/pleroma/pleroma/-/issues/2262 for further
discussion on alternatives to fedsockets.
From discussions I had with other Pleroma developers it seems like they
would approve the descision to remove them as well,
therefore I am submitting this patch.
3 years ago
Egor Kislitsyn
fb41bd1a85
Hide reactions from muted and blocked users
3 years ago
Haelwenn
4d693b5e54
Merge branch '2236-no-name' into 'develop'
Resolve "Account cannot be fetched by some instances"
Closes #2236
See merge request pleroma/pleroma!3101
3 years ago
lain
60e379ce0b
User: Correctly handle whitespace names.
3 years ago
Mark Felder
1b8fd7e65a
Adds feature to permit e.g., local admins and community moderators to automatically follow all newly registered accounts
3 years ago
Alex Gleason
dc38dc8472
Replace User.toggle_confirmation/1 with User.confirm/1, fixes #2235
3 years ago
Mark Felder
8bacdc3680
Change user.discoverable field to user.is_discoverable
3 years ago
Mark Felder
9968b7efed
Change user.locked field to user.is_locked
3 years ago
Alex Gleason
66e00ace7c
Refactor User.post_register_action/1 emails
3 years ago
Alex Gleason
cb29769a22
Make User.confirm/1 and User.approve/1 idempotent
3 years ago
Alex Gleason
6ebec50df6
Refactor User.confirm/1, add more tests
3 years ago
Alex Gleason
bb8c0614ef
Move admin approval email logic into User.post_register_action/1
3 years ago
Alex Gleason
521e965884
Registration tests
3 years ago
Alex Gleason
28005563f0
Send approval pending email during registration
3 years ago
Alex Gleason
c69b205409
Registration: user state is separate from instance state
3 years ago
Alex Gleason
b2fed59209
Handle User.post_register_action/1 in steps
3 years ago
Alex Gleason
5ec7d88b77
Aliases: fix URL regex
3 years ago