aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/user.ex
AgeCommit message (Collapse)Author
2019-01-09TwitterAPI: Add follower/following pagination.lain
2019-01-09Use follow_all in autofollow.lain
2019-01-09Add User mass following function.lain
2019-01-09Merge branch 'hotfix/media-proxy-uri' into 'develop'kaniini
user: fix local vs remote determination in remote_or_auth_active?/1 See merge request pleroma/pleroma!640
2019-01-09user: fix auth_active?/1 for remote usersWilliam Pitcock
2019-01-09user: factor out illogical User.Info.superuser?/1.William Pitcock
any actual callee will be dealing with a User struct to begin with, so just check the child struct inside User.superuser?/1 with pattern matching.
2019-01-09user: remove entirely redundant remote_or_auth_active?/1.William Pitcock
auth_active?/1 can check remote users and return true directly.
2019-01-09user: harden auth_active?/1, superuser?/1, visible_for?/1William Pitcock
2019-01-09user: use pattern matching to determine if user is local or remote instead ↵William Pitcock
of the previous hairy logic
2019-01-08Add a setting for users to autofollow on sign up.lain
2019-01-07Make TwAPI UserView more resilient to issues.lain
Will work for missing users and badly migrated users.
2019-01-04handle nullcascode
2019-01-02user: check that the follow request actually has an active account ↵William Pitcock
associated with it because of user refetch, accounts can stop existing (get_from_ap_id() can fail), accordingly filter the follow requests for these failures.
2018-12-31update copyright years to 2019William Pitcock
2018-12-30Resolve merge conflictRin Toshaka
2018-12-29I am not sure what's going on anymore so I'll just commit and reset all the ↵Rin Toshaka
other files to HEAD
2018-12-29Merge branch '483_blocks_import_export' into 'develop'kaniini
[#483] Blocked users list import & export Closes #483 See merge request pleroma/pleroma!603
2018-12-29[#483] User.get_by_nickname/1: ensured case-insensitive matching for local ↵Ivan Tashkinov
FQN. Added tests.
2018-12-29[#483] User.get_by_nickname/1: allowed retrieving user by fully-qualified ↵Ivan Tashkinov
local nickname (<nick>@<our_instance_host>).
2018-12-29[#483] Refactored blocks and follows import, added tests.Ivan Tashkinov
2018-12-29Merge branch '471_invalid_accounts_rendering' into 'develop'kaniini
[#471] Prevented rendering of inactive local accounts Closes #471 See merge request pleroma/pleroma!599
2018-12-28[#483] Blocked users export for TwitterAPI.Ivan Tashkinov
2018-12-28[#471] Factored out User.visible_for?/2.Ivan Tashkinov
2018-12-27[#471] Prevented rendering of inactive local accounts.Ivan Tashkinov
2018-12-25Reserve a few user nameslain
These are all names that are used for domain.com/:route routes or projected to be.
2018-12-23add license boilerplate to pleroma coreWilliam Pitcock
2018-12-20[#114] Allowed unconfirmed users to authenticate if ↵Ivan Tashkinov
:account_activation_required is disabled prior to confirmation. Ensured that no confirmation emails are sent if :account_activation_required is not true. Adjusted tests.
2018-12-20[#114] Added :user_id component to email confirmation path to improve the ↵Ivan Tashkinov
security. Added tests for `confirm_email` action.
2018-12-20[#114] Stylistic adjustments.Ivan Tashkinov
2018-12-19[#114] Made MastodonAPI and TwitterAPI user show actions return 404 for ↵Ivan Tashkinov
auth-inactive users unless requested by admin or moderator.
2018-12-19[#114] User.register/1 tweak.Ivan Tashkinov
2018-12-19[#114] User.Info: renamed `confirmation_update` to `confirmation_changeset`.Ivan Tashkinov
2018-12-19[#114] User.Info: renamed `confirmation_update` to `confirmation_change`.Ivan Tashkinov
2018-12-18[#114] Added email confirmation resend action. Added testsIvan Tashkinov
for registration, authentication, email confirmation, confirmation resending. Made admin methods create confirmed users.
2018-12-18[#114] Refactored User.register_changeset to init confirmation data.Ivan Tashkinov
Introduced User.register/1 to encapsulate User record creation and post-registration actions.
2018-12-18[#114] Account confirmation email, registration as unconfirmed ↵Ivan Tashkinov
(config-based), auth prevention for unconfirmed.
2018-12-18[#114] Email confirmation route, action, node setting, User.Info fields.Ivan Tashkinov
2018-12-18Merge branch 'develop' into oembed_providerraeno
2018-12-17Fix tagging problems for existing instances.lain
2018-12-14Handle "users/:id" links as well. Fix comments in MR.raeno
2018-12-12Extended nicknames: allow dashes.href
2018-12-12Allow underscores in usernames.href
Fixes #429.
2018-12-12fix warningsMaksim Pechnikov
2018-12-10Fix warnings.lain
2018-12-10Merge branch 'fix_empty_bio_crash' into 'develop'lambda
Fixes #415. Do not crash during registration when hasn't filled bio field Closes #415 See merge request pleroma/pleroma!529
2018-12-10Fixes #415. Properly handle nil and empty string by User.parse_bioraeno
2018-12-09fix compile warningsMaksim Pechnikov
2018-12-07Merge branch '394_user_tags' into 'develop'lambda
[#394] User tags Closes #394 See merge request pleroma/pleroma!508
2018-12-07[#394] Refactoring of User.tag and User.untag (removed User.tag_or_untag etc.)Ivan Tashkinov
2018-12-07[#394] Refactoring (using Ecto.Multi; "untag" route change).Ivan Tashkinov