Alex Gleason
310ef6b70d
Deletions: change User.purge/1 to defp, add CHANGELOG entry
hace 3 años
Alex Gleason
beb1c98ab5
Deletions: don't purge keys so Delete/Undo activities can be signed
hace 3 años
Alex Gleason
a7929c4d89
Deletions: preserve account status fields during purge, fix checks
hace 3 años
Alex Gleason
01c2d2a296
Also purge the user in User.perform/2
hace 3 años
Alex Gleason
c6d4133727
Deletions: purge the user immediately
hace 3 años
Alex Gleason
be2da95c36
Correctly purge a remote user
hace 3 años
Alex Gleason
51a9f97e87
Deprecate Pleroma.Web.base_url/0
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
hace 3 años
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
hace 3 años
Egor Kislitsyn
3aae5231b2
Add OpenAPI spec for AdminAPI.UserController
hace 3 años
Mark Felder
26b620d676
Permit :disclose_client in changesets
hace 3 años
Mark Felder
83301fe61a
Add field to user schema for controlling disclosure of client details
hace 3 años
Mark Felder
95930a7aa5
Actually send the mail
hace 3 años
Mark Felder
e945ccc91b
Add a registration email that only sends if no other emails (welcome, approval, confirmation) are enabled
hace 3 años
Mark Felder
af37a5c51a
Also make this maybe_ for consistency
hace 3 años
Mark Felder
b22b12f738
These welcome emails are not guaranteed and can be private functions
hace 3 años
Egor Kislitsyn
a51d903e0c
Make sure active_user_count/1 counts only local users
hace 3 años
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 .
hace 3 años
Egor Kislitsyn
793fc77b16
Add active user count
hace 3 años
Mark Felder
704eef3c2d
Special handling for unconfirmed users based on instance config no longer needed.
hace 3 años
Mark Felder
2c0fe2ea9e
Remove toggle_confirmation; require explicit state change
Also cosmetic changes to make the code clearer
hace 3 años
Mark Felder
d36182c088
Change user.confirmation_pending field to user.is_confirmed
hace 3 años
Mark Felder
6c50ac1d3f
Readability
hace 3 años
Mark Felder
ebd7d1365b
Make setting user activation status explicit
hace 3 años
Mark Felder
cd1e5d76ab
Remove User.restrict_deactivated/1
Everything else is in User.Query, no need for this odd kludge.
hace 3 años
Mark Felder
860b5c7804
Change user.deactivated field to user.is_active
hace 3 años
Mark Felder
63923df0a5
Further simplify changeset logic
hace 3 años
Mark Felder
f7e59c28ed
Change user.approval_pending field to user.is_approved
hace 3 años
Lain Soykaf
39f3683a06
Pbkdf2: Use it everywhere.
hace 3 años
lain
9106048c61
Password: Replace Pbkdf2 with Password.
hace 3 años
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/ >;'
hace 3 años
lain
e802b48d55
User: Use ObjectID type to validate also-known-as field
hace 3 años
Alex Gleason
4200a06340
Aliases: refactor validate_also_known_as/1
hace 3 años
lain
41d6225e2e
User: Remove left-over (wrong) fix.
hace 3 años
lain
a32e13e6c4
User: Don't allow local users in remote changesets
hace 3 años
lain
c9d73af74d
Cachex: Unify arity of callback function
hace 3 años
lain
713612c377
Cachex: Make caching provider switchable at runtime.
Defaults to Cachex.
hace 3 años
lain
04af0bbe44
User: Remove left-over (wrong) fix.
hace 3 años
lain
222312900e
User: Don't allow local users in remote changesets
hace 3 años
Egor Kislitsyn
35ba48494f
Stream follow updates
hace 3 años
Ivan Tashkinov
f1b07a2b2b
OAuth form user remembering feature. Local MastoFE login / logout fixes.
hace 3 años
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.
hace 3 años
Egor Kislitsyn
fb41bd1a85
Hide reactions from muted and blocked users
hace 3 años
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
hace 3 años
lain
60e379ce0b
User: Correctly handle whitespace names.
hace 3 años
Mark Felder
1b8fd7e65a
Adds feature to permit e.g., local admins and community moderators to automatically follow all newly registered accounts
hace 3 años
Alex Gleason
dc38dc8472
Replace User.toggle_confirmation/1 with User.confirm/1, fixes #2235
hace 3 años
Mark Felder
8bacdc3680
Change user.discoverable field to user.is_discoverable
hace 3 años
Mark Felder
9968b7efed
Change user.locked field to user.is_locked
hace 3 años
Alex Gleason
66e00ace7c
Refactor User.post_register_action/1 emails
hace 3 años
Alex Gleason
cb29769a22
Make User.confirm/1 and User.approve/1 idempotent
hace 3 años