aboutsummaryrefslogtreecommitdiff
path: root/test/user_test.exs
AgeCommit message (Collapse)Author
2020-08-04Merge branch 'email-blacklist' into 'develop'lain
Add email blacklist, fixes #1404 Closes #1404 See merge request pleroma/pleroma!2837
2020-08-02Add email blacklist, fixes #1404Alex Gleason
2020-08-02Add welcome chatmessagesIlja
* I added the option in config/config.exs * created a new module lib/pleroma/user/welcome_chat_message.ex * Added it to the registration flow * added to the cheatsheet * added to the config/description.ex * added to the Changelog.md
2020-07-29Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵lain
1993-confirm-users-on-registration
2020-07-29AccountController: Don't explicitly ask to keep users unconfirmed.lain
Confirmation is set in User.register_changeset based on the config settings.
2020-07-27Lint, fix testAlex Gleason
2020-07-27Add configurable registration_reason limitAlex Gleason
2020-07-27Merge remote-tracking branch 'upstream/develop' into by-approvalAlex Gleason
2020-07-26Merge remote-tracking branch 'upstream/develop' into by-approvalAlex Gleason
2020-07-23Merge branch 'develop' into issue/1934-welcome-emailMaksim Pechnikov
2020-07-22fix sender for welcome emailMaksim Pechnikov
2020-07-21added welcome emailMaksim Pechnikov
2020-07-17Fully delete users with status :approval_pendingAlex Gleason
2020-07-14Test User with confirmation_pending: true, approval_pending: trueAlex Gleason
2020-07-14AdminAPI: Add `PATCH /api/pleroma/admin/users/approve` endpointAlex Gleason
2020-07-12Make a user unapproved when registering with `account_approval_required` onAlex Gleason
2020-07-12Add `approval_pending` field to UserAlex Gleason
2020-07-11fix reset confirmation email in admin sectionMaksim Pechnikov
2020-07-03User: On registration, set `accepts_chat_messages` to true.lain
2020-07-01ActivityPub: Handle clashing nicknames for the same ap idlain
If we get a new user (identified by ap_id) that would have the same nickname as an existing user, give the existing user a nickname that is prepended with the user id, as this will never clash. This can happen when a user switches server software and that soft- ware generates ap ids in a different way.
2020-06-24Filter outstanding follower requests from deactivated accountsMark Felder
2020-06-22Merge branch 'feature/1739-account-endpoints' into 'develop'lain
account visibility in masto api Closes #1739 See merge request pleroma/pleroma!2488
2020-06-08Merge branch 'feature/delete-follow-requests-on-user-deletion' into 'develop'lain
Delete outgoing pending follow requests on user deletion See merge request pleroma/pleroma!2631
2020-06-07Delete pending follow requests on user deletionSergey Suprunenko
2020-06-04Use atoms as keys in `ActivityPub.fetch_*` functions optionsEgor Kislitsyn
2020-05-30Fix config setting to not affect other testsRoman Chvanikov
2020-05-25UserTest: Add test for user refreshing.lain
2020-05-22Merge branch 'announce-validator' into 'develop'Haelwenn
Announce validator See merge request pleroma/pleroma!2567
2020-05-21Announcements: Fix all tests.lain
2020-05-21Added the ability to upload background, logo, default user avatar, instance ↵eugenijm
thumbnail, and the NSFW hiding image via AdminFE
2020-05-20Merge branch 'feature/1734-user-deletion' into 'develop'lain
User deletion Closes #1734 See merge request pleroma/pleroma!2493
2020-05-19UserTest: Hide warning in tests.lain
2020-05-18return :visible instead of booleanAlexander Strizhakov
2020-05-18account visibilityAlexander Strizhakov
2020-05-13Add OpenAPI spec for StatusControllerEgor Kislitsyn
2020-05-08user deletionAlexander Strizhakov
2020-05-03Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵lain
feature/delete-validator
2020-05-02Deactivate local users on deletion instead of deleting the recordrinpatch
Prevents the possibility of re-registration, which allowed to read DMs of the deleted account. Also includes a migration that tries to find any already deleted accounts and insert skeletons for them. Closes pleroma/pleroma#1687
2020-04-30SideEffects: Fix commentlain
2020-04-22Merge branch 'fix/follow-and-blocks-import' into 'develop'Haelwenn
Fix follower/blocks import when nicknames starts with @ Closes #1698 See merge request pleroma/pleroma!2416
2020-04-22Fix Oban warningEgor Kislitsyn
Warning example: [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, {:ok, value}, or {:error, reason}. Instead received: [error: "not found @user@server.party", error: "not found "] The job will be considered a success.
2020-04-22Streamer: Stream boosts to the boosting user.lain
2020-04-16Merge branch 'develop' into features/remove-user-source_datarinpatch
2020-04-16Merge branch 'refactor/remove-upgrade-changeset' into 'develop'rinpatch
Remove User.upgrade_changeset in favor of remote_user_creation See merge request pleroma/pleroma!2368
2020-04-11Merge branch 'following-relationships-optimizations' into 'develop'rinpatch
FollowingRelationship storage & performance optimizations See merge request pleroma/pleroma!2332
2020-04-11Remove User.upgrade_changeset in favor of remote_user_creationrinpatch
The two changesets had the same purpose, yet some changes were updated in one, but not the other (`uri`, for example). Also makes `Transmogrifier.upgrade_user_from_ap_id` be called from `ActivityPub.make_user_from_ap_id` only when the user is actually not AP enabled yet. I did not bother rewriting tests that used `User.insert_or_update` to use the changeset instead because they seemed to just test the implementation, rather than behavior.
2020-04-10User: remove source_dataHaelwenn (lanodan) Monnier
2020-04-08formatter.ex: Use Phoenix.HTML for mention/hashtag generationrinpatch
Unlike concatenating strings, this makes sure everything is escaped. Tests had to be changed because Phoenix.HTML runs attributes through Enum.sort before generation for whatever reason.
2020-04-06Merge branch 'remake-remodel-2' into 'develop'lain
Ingestion Pipeline Revamp See merge request pleroma/pleroma!2315
2020-03-28FollowingRelationship storage & performance optimizations (state turned ↵Ivan Tashkinov
`ecto_enum`-driven integer, reorganized indices etc.).