Commit Graph

313 Commits (51844b1e420fdfbceed6fda85e4c2e0ad87a9b1e)

Author SHA1 Message Date
Maxim Filippov 3cf7539bca Add more user filters + move search to its own module
6 years ago
rinpatch 3229c7a1d6 Ensure fts is prefered over trigram and use union_all instead of union in user search query
6 years ago
Maxim Filippov ed8a2935f5 Use ILIKE to search users
6 years ago
Haelwenn (lanodan) Monnier a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
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
eugenijm 1a1f4520cd Use sql query in User.get_follow_requests/1 for filtering logic
6 years ago
Maxim Filippov bf30df99cb We do not guarantee the order of elements when we search
6 years ago
Haelwenn (lanodan) Monnier 7b9868f343
Pleroma.UserTest: Add tests for rel=me
6 years ago
Maxim Filippov a25c1313ae Format
6 years ago
Maxim Filippov aaa9fed1ca Fix user_test
6 years ago
lain 8d8cb08f94 Add follow request test.
6 years ago
lain 4196d9af11 Add test for User.mutes and so on.
6 years ago
lain f469a8610f Check that the welcome message is sent from the correct user.
6 years ago
lain d812a347ca Add optional welcome message.
6 years ago
William Pitcock 32b1649434 test: user: add a test for whether user search returns a user or not
6 years ago
kaniini 19756d68f2 Merge branch 'fix/credo-issues-test' into 'develop'
6 years ago
lain 88a4de24f9 User.follow_all: Respect blocks in both directions.
6 years ago
Haelwenn (lanodan) Monnier 8bb7e19b38
test: de-group alias/es
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
Haelwenn (lanodan) Monnier cda1470e02
[MastoAPI][GlitchAPI] Add bookmarks
6 years ago
kaniini 4c99b6d35a Merge branch 'fix/tusky-dm' into 'develop'
6 years ago
lambda f3045a179e Merge branch 'i1t/pleroma-477_user_search_improvements' into 'develop'
6 years ago
Maxim Filippov 651a1d64b5 Add current user to mentioned
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 5b8f9ff8c1 [#477] User search tests. Normalized search rank in User.search.
6 years ago
Ivan Tashkinov dc45ec62c2 [#477] User search improvements: tsquery search with field weights, friends & followers boosting.
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 567651fb3f test: user: add tests for visible_for?/2
6 years ago
William Pitcock f2a4f89abe tests: user: add tests for superuser?/1
6 years ago
William Pitcock 74f48beec3 user: remove entirely redundant remote_or_auth_active?/1.
6 years ago
William Pitcock 4124c9aa4a tests: user: add regression test for remote_or_auth_active?/1
6 years ago
lain 0fae04c4e3 Add a setting for users to autofollow on sign up.
6 years ago
cascode 4c5ee4c62b formatted
6 years ago
cascode ab6ebbae67 added test for #499
6 years ago
Rin Toshaka 9f5881cbb1 Fix a typo in user_test.ex
6 years ago
rinpatch 05743e2000 Get default scrubbers from config instead of hardcoded
6 years ago
rinpatch 91d5a7e81c Fix test failure
6 years ago
Ivan Tashkinov 242cc9a658 [#483] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added tests.
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 67b4297f4d [#483] Refactored blocks and follows import, added tests.
6 years ago
lain 91724d160a Reserve a few user names
6 years ago
William Pitcock 3c08d229db tests: add legal boilerplate
6 years ago
Ivan Tashkinov b096e30cff [#114] Added email confirmation resend action. Added tests
6 years ago
lain e4763cd459 Fix tagging problems for existing instances.
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
William Pitcock 0f061bea0c tests: add regression test for bug #408
6 years ago
Maksim Pechnikov a9e4a97586 update test
6 years ago
lain f18b86fd5f More fixes for Info schema.
6 years ago
lain 40d9d2098c Fix user updating from AP.
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 8e3d8bde04 Fix user deactivation test.
6 years ago
lain 5c8f07f0a8 Fix note counting.
6 years ago
lain 47d883d3ab Fix User deactivation.
6 years ago
lain e8d8c84f79 Add better test for user search functionlity.
6 years ago
William Pitcock 2c092ed355 test: fixup test breakage caused by User.delete() harmonization
6 years ago
William Pitcock 21dafa7cd0 tests: add tests for User + cache interactions
6 years ago
scarlett b92e38d2d4 Add user reactivation task.
6 years ago
William Pitcock ebc32045f0 test: add regression test for #316
6 years ago
William Pitcock bd03644ca8 test: add tests for new User.html_filter_policy()
6 years ago
William Pitcock 200ab27e7a test: add test proving that users are refreshed when stale
6 years ago
William Pitcock aea23468c6 test: nickname is no longer a required field
6 years ago
William Pitcock e9ed7eb963 tests: prove that the block code is properly destroying follow relationships
6 years ago
eal 87566b6e2f user.ex: add domain blocks.
6 years ago
William Pitcock 1d88abf2d4 user: do not allow refollowing somebody who has blocked a user
6 years ago
Dashie 9972678a68
Add User.decrease_note_count and call it from ActivityPub.delete
7 years ago
lain 4afbef39f4 Format the code.
7 years ago
lain 611ca385de Merge branch 'develop' into feature/activitypub
7 years ago
lain 4d13cc0dc6 Fix specs.
7 years ago
Ekaterina Vaartis ec07e087bc Make user bio optional
7 years ago
lain 0aa56a853b UserTest: Move insert_or_update test.
7 years ago
lain b331cb449a Merge branch 'develop' into feature/activitypub
7 years ago
lain 26ccb768d3 Make test output easier to read.
7 years ago
lain 8cf97ee8e1 ActivityPub: Basic note federation with Mastodon.
7 years ago
Lain Iwakura bad499b3fd Basic user deletion.
7 years ago
Lain Iwakura 6df6ad0b42 User deletion: Remove relationships.
7 years ago
Lain Iwakura a78ae2a685 Don't follow deactivated users.
7 years ago
Lain Iwakura b727ecc5e7 Add function to deactivate users.
7 years ago
eal 8d4e7b32c9 Ensure correct state in self-unfollow.
7 years ago
eal bd921ca5d7 Fix posts being streamed to non-local websocket channels.
7 years ago
eal edc3e5bc30 Make users in tests follow themselves by default.
7 years ago
eal 4db5954786 Don't let the user unfollow their own account.
7 years ago
Roger Braun a743940463 MastoAPI: Implement all streaming functions.
7 years ago
Roger Braun 6a5f087174 Add blocks to User.
7 years ago
Roger Braun 345ad870f7 Clean up user_test.exs.
7 years ago
Roger Braun 4dcbb64f19 Avoid potentially slow count queries for user note count.
7 years ago
Roger Braun 72ca58c540 Save follower count and note count in user.
7 years ago
Roger Braun 44aef2183e Add follower / friend fetching to user.
7 years ago
Roger Braun 396c32a6da Add follower_address to users, add on generation.
7 years ago
Roger Braun 9cda5b897a Fix test.
7 years ago
Roger Braun 47684c2a2c Make email and nickname case insensitive.
7 years ago
Roger Braun 118c572006 Use changeset for remote user creation.
7 years ago
Roger Braun 373753e595 Add some basic changesets.
7 years ago
Roger Braun b403ea4d2b Merge branch 'develop' into dtluna/pleroma-feature/unfollow-activity
7 years ago
Roger Braun bda389d7d9 Subscribe to remote users on following.
7 years ago
Roger Braun 97257c692c Fix specs.
7 years ago
Roger Braun 8141024259 Attachment parsing, better magic key fetching.
7 years ago
Roger Braun 6843755834 Make outgoing salmons work.
7 years ago
Roger Braun bed0b39813 Add function to fetch users from fqn.
8 years ago
dtluna 28b203d08f Add Undo of Follow Activity insertion
8 years ago
Roger Braun d7e3b72c6a Add avatar objects to user, fix specs.
8 years ago
Roger Braun 03c6148bb3 Add user registration changeset.
8 years ago
Roger Braun 9ad045fd58 Return user specific json for logged in users.
8 years ago
Roger Braun 30650e5bc6 Add unfollowing to TwAPI.
8 years ago
Roger Braun 75e51b190d Add following TwAPI endpoint.
8 years ago
Roger Braun 9a8850eb9e Basic status creation and retrieval.
8 years ago