aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/user.ex
AgeCommit message (Collapse)Author
2022-09-05User: generate private keys on user creationHélène
This fixes a race condition bug where keys could be regenerated post-federation, causing activities and HTTP signatures from an user to be dropped due to key differences.
2022-08-03bugfix/follow-state (#104)floatingghost
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/104
2022-07-31Merge branch 'develop' into 'from/develop/tusooa/emit-move'tusooa
# Conflicts: # CHANGELOG.md # test/pleroma/user_test.exs
2022-07-31Use `duration` param for mute expiration durationmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-23Merge branch 'mute-expiration' into 'develop'tusooa
MastoAPI: Show mutes expiration date See merge request pleroma/pleroma!3682
2022-07-16Use :utc_datetimemarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-10Make lint happyTusooa Zhu
2022-07-06Make validation functions for restricted nicknames and blacklisted domains; ↵Sean King
do restricted nickname validation in LDAP account registration
2022-07-05Make checking blacklisted domains and restricted nicknames case-insenstiveSean King
2022-06-16Store mutes expiration datemarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-20Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop'Haelwenn
Translate backend-rendered pages See merge request pleroma/pleroma!3634
2022-03-20Merge branch 'delete_report_notifs_when_demoting_from_superuser' into 'develop'Haelwenn
Delete report notifs when demoting from superuser Closes #2840 See merge request pleroma/pleroma!3642
2022-03-07After code reviewIlja
Use patern matching to see if someone was superuser before
2022-03-06Delete report notifs when demoting from superuserIlja
When someone isn't a superuser any more, they shouldn't see the reporsts any more either. Here we delete the report notifications from a user when that user gets updated from being a superuser to a non-superuser.
2022-03-02Allow user to register with custom languageTusooa Zhu
2022-03-01Send emails i18n'd using backend-stored user languageTusooa Zhu
2022-02-25Copyright bump for 2022Sean King
2022-01-25Merge branch 'birth-dates' into 'develop'Alex Gleason
Birth dates See merge request pleroma/pleroma!3608
2022-01-23Preserve order of mentioned usersmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23Birthdays: hide_birthday -> show_birthdaymarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-22Merge remote-tracking branch 'origin/develop' into birth-datesAlex Gleason
2022-01-22Birthdays: birth_date --> birthdayAlex Gleason
2022-01-19Add ForceMentionsInContentPolicyrinpatch
Even though latest PleromaFE supports displaying these properly, mobile apps still exist, so I think we should offer a workaround to those who want it.
2022-01-18Birth dates: Add testsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-18Format code, expose instance configuration related to birth datesmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-18Birth dates, birthday reminders API, allow instance admins to require ↵marcin mikołajczak
minimum age Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-12Add more testsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-12WIP account endorsementsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-28wipmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-28Add deleting alias endpointTusooa Zhu
Ref: emit-move
2021-12-28Add User.add_alias/2 and User.alias_users/1Tusooa Zhu
Ref: emit-move
2021-12-26MastoAPI: Profile directorymarcin mikołajczak
2021-12-19Merge branch 'v2-suggestions' into 'develop'Alex Gleason
V2 suggestions See merge request pleroma/pleroma!3547
2021-11-29Account endorsementsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-26AdminAPI: suggest a user through the APIAlex Gleason
2021-11-26v2 Suggestions: rudimentary API responseAlex Gleason
2021-11-15nodeinfo: report activeMonth and activeHalfyear users fieldsAlibek Omarov
2021-10-06Merge branch 'from/develop/tusooa/add-remove-emails' into 'develop'Haelwenn
Allow users to remove their emails if instance does not need email to register See merge request pleroma/pleroma!3522
2021-09-05Allow users to remove their emails if instance does not need email to registerTusooa Zhu
2021-07-10Merge develop branch upstreamSean King
2021-06-30Deletions: change User.purge/1 to defp, add CHANGELOG entryAlex Gleason
2021-06-30Merge remote-tracking branch 'pleroma/develop' into remote-deletionsAlex Gleason
2021-06-30Deletions: don't purge keys so Delete/Undo activities can be signedAlex Gleason
2021-06-29Deletions: preserve account status fields during purge, fix checksAlex Gleason
2021-06-29Also purge the user in User.perform/2Alex Gleason
2021-06-29Deletions: purge the user immediatelyAlex Gleason
2021-06-29Correctly purge a remote userAlex Gleason
2021-06-04Fix merge conflicts with upstreamSean King
2021-05-31Merge remote-tracking branch 'pleroma/develop' into cycles-base-urlAlex Gleason
2021-05-31Deprecate Pleroma.Web.base_url/0Alex Gleason
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.