aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/user_test.exs
AgeCommit message (Collapse)Author
2022-09-16Merge branch 'remove_from_followers' into 'develop'tusooa
MastoAPI: POST /api/v1/accounts/:id/remove_from_followers See merge request pleroma/pleroma!3647
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-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-13Check refute User.following?marcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09Use is_binary instead of is_bitstring for restricted nicknames testsSean King
2022-07-05Make checking blacklisted domains and restricted nicknames case-insenstiveSean King
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-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-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-23Add a testmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-22Birthdays: birth_date --> birthdayAlex Gleason
2022-01-18Birth dates: Add testsmarcin mikołajczak
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>
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-19Merge branch 'v2-suggestions' into 'develop'Alex Gleason
V2 suggestions See merge request pleroma/pleroma!3547
2021-11-26AdminAPI: suggest a user through the APIAlex Gleason
2021-11-15nodeinfo: report activeMonth and activeHalfyear users fieldsAlibek Omarov
2021-10-06CI: Bump lint stage to elixir-1.12Haelwenn (lanodan) Monnier
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format`
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-07Merge branch 'remove/mastofe' into 'develop'Haelwenn
Remove MastoFE from Pleroma, fixes #2625 Closes #2625 See merge request pleroma/pleroma!3392
2021-09-05Allow users to remove their emails if instance does not need email to registerTusooa Zhu
2021-08-06Make mrfSimple work with tuplesIlja
* Changed SimplePolicy * I also grepped in test/ for ':mrf_simple' to see what other things could be affected
2021-07-10Merge develop branch upstreamSean King
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-30Deletions: allow deactivated users to be deletedAlex Gleason
2021-06-29Deletions: preserve account status fields during purge, fix checksAlex 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.
2021-05-03Merge remote-tracking branch 'pleroma/develop' into dont-crash-email-settingsAlex Gleason
2021-05-03Don't crash when email settings are invalidAlex Gleason
Fixes: https://git.pleroma.social/pleroma/pleroma/-/issues/2606 Fixes: https://gitlab.com/soapbox-pub/soapbox/-/issues/4
2021-04-15Remove MastoFE settings from users tableSean King
2021-03-25Let pins federateAlexander Strizhakov
- 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
2021-02-05LintMark Felder
2021-02-04Add basic test to validate the registration email is dispatched when the ↵Mark Felder
others are disabled Also only check for subject as the body is a mess of html and we don't really need to prove its contents if the subject matches.
2021-02-02Merge branch 'email-stub-in-verify-credentials' into 'develop'feld
Email-like field in /api/v1/accounts/verify_credentials (for PeerTube OAuth plugin and alike) See merge request pleroma/pleroma!3286
2021-01-28Make sure active_user_count/1 counts only local usersEgor Kislitsyn
2021-01-28Email-like field in /api/v1/accounts/verify_credentials response (for OAuth ↵Ivan Tashkinov
plugins like Peertube). Addresses https://git.pleroma.social/pleroma/pleroma-support/-/issues/56.
2021-01-27Add testsEgor Kislitsyn
2021-01-26Convert tests to all use clear_config instead of Pleroma.Config.putMark Felder
2021-01-25Merge branch 'develop' into refactor/deactivated_user_fieldMark Felder
2021-01-20Only need to test if unconfirmed users are successfully deletedMark Felder
It's no longer possible to have an active user account with User.is_confirmed == false
2021-01-20This scenario no longer exists. Users are auto-confirmed if confirmation not ↵Mark Felder
required at time of registration.
2021-01-18Merge branch 'develop' into refactor/deactivated_user_fieldMark Felder
2021-01-18Merge branch 'develop' into refactor/approval_pending_user_fieldMark Felder