Commit Graph

404 Commits (d5330ed12561377e5c464bcc2774ebc692b9ac07)

Author SHA1 Message Date
Haelwenn (lanodan) Monnier a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
6 years ago
Egor Kislitsyn d013b58e84 add `mix pleroma.user delete_activities NICKNAME` task
6 years ago
kaniini 130fc9eae6 Merge branch 'fetch-posts-on-first-federation' into 'develop'
6 years ago
Ekaterina Vaartis 5021b7836f Fetch user's outbox posts on first federation with that user
6 years ago
Maxim Filippov f620199836 Merge search endpoint into /users
6 years ago
Egor Kislitsyn eb84de0143 allow users to disable their own account
6 years ago
kaniini ace4231628 Merge branch 'features/bio_rel_me' into 'develop'
6 years ago
kaniini 6c6a2dbfdd Merge branch 'feature/add-pagination-to-users-admin-api' into 'develop'
6 years ago
kaniini b531e366df Merge branch 'get-follow-requests-sql' into 'develop'
6 years ago
kaniini 413cf00cc3 Merge branch 'atomic-note-count-updates' into 'develop'
6 years ago
eugenijm d5418e9ff7 Remove follow_request_count as it's not needed for FE anymore.
6 years ago
eugenijm af0039a3a0 Use atomic update for note count and follower count
6 years ago
eugenijm 1a1f4520cd Use sql query in User.get_follow_requests/1 for filtering logic
6 years ago
Maxim Filippov 2ec8cf5665 Add pagination to search
6 years ago
Haelwenn (lanodan) Monnier f2452d5700
Pleroma.User: mix format
6 years ago
Haelwenn (lanodan) Monnier 39a5bea9b7
Pleroma.User: Fix syntax and user.ap_id call
6 years ago
Haelwenn (lanodan) Monnier 3d22642352
Pleroma.User: Pass an array to profile_urls
6 years ago
Haelwenn (lanodan) Monnier 56d4e39012
Pleroma.User: Add rel=me to URLs where it linkbacks to the profile
6 years ago
Maxim Filippov f635b675b2 Refactor a little bit
6 years ago
Maxim Filippov f1a4c3163b Show current user in users list as well
6 years ago
Maxim Filippov 5b08b470f6 Add "local" params to users search
6 years ago
Maxim Filippov 46f29b9da1 Add search users endpoint
6 years ago
kaniini cf426a719d Merge branch 'with-mutes' into 'develop'
6 years ago
Maxim Filippov 2883f75a3a Add pagination to users admin API
6 years ago
lain c1ae495878 Add user muted status info to MastodonAPI.
6 years ago
lain b24cc44e8d Follower requests: Utilize object index.
6 years ago
Egor c3ac9424d2 AutoLinker
6 years ago
Maxim Filippov 90d0d055fc Add more admin actions
6 years ago
Egor bff9eb5ef7 Reports
6 years ago
Ekaterina Vaartis 5a46d37af9 Update the mute implementation to the current codebase
6 years ago
Ekaterina Vaartis 465b547c90 Remove unused "muted" parameter, use piping for mute/block fns
6 years ago
Ekaterina Vaartis 092b1b1453 Do not unfollow muted users
6 years ago
Ekaterina Vaartis f41f017bbc Implement muting, add it to the mastodon API
6 years ago
lambda 1dd718e83c Merge branch 'set-cache-on-user-tag-update' into 'develop'
6 years ago
lambda f53dc5ee08 Merge branch 'fix/ap_id-unique_constraint' into 'develop'
6 years ago
rinpatch 109b01a631 mark ap_id unique_constraint
6 years ago
eugenijm fc35481445 Update user cache when user tags are updated
6 years ago
kaniini cd019a5927 Merge branch 'follow-request-count' into 'develop'
6 years ago
lain d812a347ca Add optional welcome message.
6 years ago
eugenijm ecdf0657ba Add logic for keeping follow_request_count up-to-date on the `follow`,
6 years ago
William Pitcock da44cdd381 user: search: use get_or_fetch() instead of get_or_fetch_by_nickname()
6 years ago
lain 88a4de24f9 User.follow_all: Respect blocks in both directions.
6 years ago
kaniini 6c8d15da11 Merge branch 'fix/credo-issues' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 6a6a5b3251
de-group alias/es
6 years ago
lain 563f04e81b Do autofollow first.
6 years ago
lain bbd0049fae Respect blocks in mass follow.
6 years ago
href 308b35ebe2
User.follow_all: ensure its stays unique
6 years ago
Haelwenn 00d4333373 Merge branch 'features/glitch-soc-frontend' into 'develop'
6 years ago
lain 47ec690c54 Use race-condition free mass follow.
6 years ago
lain 935e65e261 Use race-condition free following method.
6 years ago
Haelwenn (lanodan) Monnier cda1470e02
[MastoAPI][GlitchAPI] Add bookmarks
6 years ago
kaniini c9b418e547 Merge branch 'develop' into 'oembed_provider'
6 years ago
href 28d77e373c
Flake Ids for Users and Activities
6 years ago
Ivan Tashkinov 34d59e4008 [#502] Fixed User.active_local_user_query to return users with nil or missing `info.deactivated`. Adjusted test.
6 years ago
lambda f3045a179e Merge branch 'i1t/pleroma-477_user_search_improvements' into 'develop'
6 years ago
lain 5834b08fe7 Set custom similarity limit.
6 years ago
lain b108aeee08 Make use of the indices.
6 years ago
kaniini 651ce1c97b Merge branch '491_full_mentions_in_user_bio' into 'develop'
6 years ago
rinpatch 74346a7035 Fix merge conflict
6 years ago
Ivan Tashkinov 79e44042bc [#477] User trigram index adjustment.
6 years ago
Ivan Tashkinov ed8f55ab8e [#477] User: FTS and trigram search results mixing (to handle misspelled requests).
6 years ago
Ivan Tashkinov 65bb9b2fba [#491] Made full nicknames be preserved in user links text only in Bio.
6 years ago
Ivan Tashkinov 954dc4a4ad [#502] Fixed `user_count` in `/api/v1/instance` to include only active local users.
6 years ago
rinpatch 388ceb6a7d Fix the issue with get_by_nickname never being called
6 years ago
rinpatch 5fa508cc2b Remove @providers and call Pleroma.config on runtime
6 years ago
rinpatch bb43f4cee9 Remove useless with in opengraph.ex
6 years ago
rinpatch 9a90b5d91a oof
6 years ago
rinpatch 8a9f089812 remove id cast
6 years ago
rinpatch 5a08dee379 cache ap_id in id instead of caching user two times
6 years ago
lain 943324b661 MastoAPI: Don't break on missing users.
6 years ago
Ivan Tashkinov 0bc6d30f7d [#477] Minor refactoring (user search query).
6 years ago
Ivan Tashkinov 5b8f9ff8c1 [#477] User search tests. Normalized search rank in User.search.
6 years ago
rinpatch 6f23139864 please don't bully me for this
6 years ago
rinpatch 4587a5712a cringe
6 years ago
rinpatch ce15e0659e Fix some edge cases [nervous laughter]
6 years ago
Ivan Tashkinov dc45ec62c2 [#477] User search improvements: tsquery search with field weights, friends & followers boosting.
6 years ago
rinpatch 5f9786288d Prefer ids to usernames
6 years ago
rinpatch e4dc3f71ae Resolve merge conflict
6 years ago
kaniini 11d08c6226 Merge branch 'twapi-follower-pagination' into 'develop'
6 years ago
lain 7ac152ed38 TwitterAPI: Add follower/following pagination.
6 years ago
lain 65fc2df7cc Use follow_all in autofollow.
6 years ago
lain 26938d65fd Add User mass following function.
6 years ago
kaniini 5c5c8508c2 Merge branch 'hotfix/media-proxy-uri' into 'develop'
6 years ago
William Pitcock f15183178c user: fix auth_active?/1 for remote users
6 years ago
William Pitcock 0015d43e13 user: factor out illogical User.Info.superuser?/1.
6 years ago
William Pitcock 74f48beec3 user: remove entirely redundant remote_or_auth_active?/1.
6 years ago
William Pitcock 2af67353c5 user: harden auth_active?/1, superuser?/1, visible_for?/1
6 years ago
William Pitcock 595a970493 user: use pattern matching to determine if user is local or remote instead of the previous hairy logic
6 years ago
lain 0fae04c4e3 Add a setting for users to autofollow on sign up.
6 years ago
lain 7382adf407 Make TwAPI UserView more resilient to issues.
6 years ago
cascode 5b23dfa1c5 handle null
6 years ago
William Pitcock eb1a18d22f user: check that the follow request actually has an active account associated with it
6 years ago
William Pitcock 980b5288ed update copyright years to 2019
6 years ago
Rin Toshaka dec23500d8 Resolve merge conflict
6 years ago
Rin Toshaka 19f9889fbe I am not sure what's going on anymore so I'll just commit and reset all the other files to HEAD
6 years ago
kaniini dd8f2196f6 Merge branch '483_blocks_import_export' into 'develop'
6 years ago
Ivan Tashkinov 7bd49a3222 [#483] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added tests.
6 years ago
Ivan Tashkinov b3574dccbb [#483] User.get_by_nickname/1: allowed retrieving user by fully-qualified local nickname
6 years ago
Ivan Tashkinov 67b4297f4d [#483] Refactored blocks and follows import, added tests.
6 years ago
kaniini 49cf5f9ce0 Merge branch '471_invalid_accounts_rendering' into 'develop'
6 years ago
Ivan Tashkinov 6e9a15b181 [#483] Blocked users export for TwitterAPI.
6 years ago
Ivan Tashkinov 0d1788ce44 [#471] Factored out User.visible_for?/2.
6 years ago
Ivan Tashkinov e6aeb1d4a5 [#471] Prevented rendering of inactive local accounts.
6 years ago
lain 91724d160a Reserve a few user names
6 years ago
William Pitcock 2791ce9a1f add license boilerplate to pleroma core
6 years ago
Ivan Tashkinov 7cab7de9ff [#114] Allowed unconfirmed users to authenticate if :account_activation_required is disabled prior to confirmation.
6 years ago
Ivan Tashkinov f69cbf4755 [#114] Added :user_id component to email confirmation path to improve the security.
6 years ago
Ivan Tashkinov 501ce34d7f [#114] Stylistic adjustments.
6 years ago
Ivan Tashkinov 279096228c [#114] Made MastodonAPI and TwitterAPI user show actions return 404 for auth-inactive users
6 years ago
Ivan Tashkinov a532ad5d72 [#114] User.register/1 tweak.
6 years ago
Ivan Tashkinov 968d7490b6 [#114] User.Info: renamed `confirmation_update` to `confirmation_changeset`.
6 years ago
Ivan Tashkinov 59fc5d15df [#114] User.Info: renamed `confirmation_update` to `confirmation_change`.
6 years ago
Ivan Tashkinov b096e30cff [#114] Added email confirmation resend action. Added tests
6 years ago
Ivan Tashkinov b86057cc7f [#114] Refactored User.register_changeset to init confirmation data.
6 years ago
Ivan Tashkinov 1de0aa2f10 [#114] Account confirmation email, registration as unconfirmed (config-based), auth prevention for unconfirmed.
6 years ago
Ivan Tashkinov a05cb10a95 [#114] Email confirmation route, action, node setting, User.Info fields.
6 years ago
raeno a300336459 Merge branch 'develop' into oembed_provider
6 years ago
lain e4763cd459 Fix tagging problems for existing instances.
6 years ago
raeno 46486595ff Handle "users/:id" links as well. Fix comments in MR.
6 years ago
href 7214d57463
Extended nicknames: allow dashes.
6 years ago
href 7d9ddbe689
Allow underscores in usernames.
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
lain d6bf06ab4f Fix warnings.
6 years ago
lambda 0863ec2737 Merge branch 'fix_empty_bio_crash' into 'develop'
6 years ago
raeno 9ba4a1c5fe Fixes #415. Properly handle nil and empty string by User.parse_bio
6 years ago
Maksim Pechnikov 074fa790ba fix compile warnings
6 years ago
lambda 94d8f1ab30 Merge branch '394_user_tags' into 'develop'
6 years ago
Ivan Tashkinov 1cea97df64 [#394] Refactoring of User.tag and User.untag (removed User.tag_or_untag etc.)
6 years ago
Ivan Tashkinov 6ed5044c4e [#394] Refactoring (using Ecto.Multi; "untag" route change).
6 years ago
Ivan Tashkinov 7bcb6a183a [#394] Refactoring.
6 years ago
Ivan Tashkinov 7b19487389 [#394] Added `users.tags` and admin routes to tag and untag users. Added tests.
6 years ago
rinpatch 2ae1128d9f MastoAPI: Fix put_settings
6 years ago
William Pitcock 956f3c75ca user: put default user info when registering a user
6 years ago
Maxim Filippov ce98d5eb9b Parse user's bio on register
6 years ago
lain f18b86fd5f More fixes for Info schema.
6 years ago
lain 347df6421d Fix masto api user updating.
6 years ago
lain badbe2656c More fixes.
6 years ago
lain 0bea0308f1 Merge branch 'validate-user-info' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
lain d3180e0ccc Raise on usage of old function.
6 years ago
William Pitcock 312676f711 user: fix user.info lookup in User.locked?()
6 years ago
lain 2887f4ff1d Fix formatter tests.
6 years ago
lain 40d9d2098c Fix user updating from AP.
6 years ago
lain cafa15131a Mix format.
6 years ago
lain 4c918392c6 Fix most User tests.
6 years ago
lain fc3bcf335e Fix following locked users.
6 years ago
lain d5af41b577 Fix note count update.
6 years ago
lain 6f90ceb2ed Fix follower count test.
6 years ago
lain 812f5b058a Fix blocking.
6 years ago
lain 756764266c Formatting.
6 years ago
lain b396dba425 Fix follower count setting.
6 years ago