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