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 година