Commit Graph

1504 Commits (280172f6f6d74872349e3b4e6f1feaa9c95b3900)

Author SHA1 Message Date
eugenijm 6b11011039 Added deactivated to the user view
6 years ago
Maxim Filippov 2883f75a3a Add pagination to users admin API
6 years ago
lain bbbdbec4fd Remove parts of the old activity view.
6 years ago
lain 9ade1242c2 Add user muted status info to twitterapi.
6 years ago
lain c1ae495878 Add user muted status info to MastodonAPI.
6 years ago
lain c4235f96bd Add `with_muted` param.
6 years ago
lain 8d8cb08f94 Add follow request test.
6 years ago
William Pitcock 1536640962 mastodon api: embed relationship card under account card for Pleroma FE convenience
6 years ago
Egor Kislitsyn 5d961d536c fix formatter
6 years ago
Maxim Filippov ed7fd6b47e Add missing docs and tests
6 years ago
Egor c3ac9424d2 AutoLinker
6 years ago
lain 9e0686efa6 Move visibility into own module.
6 years ago
lain 62296f5a25 Fix private post card handling.
6 years ago
KZ 7c722c08f5 Fix: Fixing an outbox related bug when local user activity is empty
6 years ago
William Pitcock e95dbecf3e tests: fix formatting
6 years ago
William Pitcock aa45674be6 tests: add test for fetching AP objects with application/json.
6 years ago
William Pitcock 3ee77e95b2 tests: fix tests
6 years ago
Egor bff9eb5ef7 Reports
6 years ago
lain 59c27f29c8 Add some nicer urls in status view.
6 years ago
Ivan Tashkinov b574d97c2e [#468] Added support for `push` OAuth scope (Mastodon 2.4+).
6 years ago
Ivan Tashkinov 6fe7acd58e [#468] Merged `upstream/develop`.
6 years ago
lambda 11b3c10c54 Merge branch 'muting' into 'develop'
6 years ago
lain 4196d9af11 Add test for User.mutes and so on.
6 years ago
lain 9ae79bb71a Add test for muting functionality.
6 years ago
Ivan Tashkinov 337367d764 [#468] More OAuth scopes-specific tests.
6 years ago
Ivan Tashkinov 04ee877a20 [#468] Added OAuth scopes-specific tests.
6 years ago
Ekaterina Vaartis ad2cf4fd86 Add test for mastodon muting endpoints
6 years ago
eugenijm 25b9e7a8c3 Added admin API for changing user activation status
6 years ago
Ivan Tashkinov c0ecbf6669 [#468] Merged `upstream/develop`.
6 years ago
kaniini 833161b5d2 Merge branch 'feature/jobs' into 'develop'
6 years ago
kaniini 7456338ed3 Merge branch 'feature/add-oauth-tokens-endpoint' into 'develop'
6 years ago
kaniini c23bd05737 Merge branch 'features/flavour-switching' into 'develop'
6 years ago
kaniini cd019a5927 Merge branch 'follow-request-count' into 'develop'
6 years ago
kaniini 3f38a05571 Merge branch 'csv-export' into 'develop'
6 years ago
Maxim Filippov fd17a0cc9b Fix test
6 years ago
lambda 79e503b3f5 Merge branch 'docker-speedup' into 'develop'
6 years ago
lambda ae84af4ad0 Merge branch 'fix/hellthread-policy-recipient-check' into 'develop'
6 years ago
lain 71c8c60ded More speedup, test fixes.
6 years ago
rinpatch d0a94f98e0 more tests for HellthreadPolicy
6 years ago
Ivan Tashkinov bc4f77b10b [#468] Merged `upstream/develop`, resolved conflicts.
6 years ago
Ivan Tashkinov dcf24a3233 [#468] Refactored OAuth scopes' defaults & missing selection handling.
6 years ago
Haelwenn (lanodan) Monnier 72a4272d84
Web.MastodonAPI.MastodonAPIControllerTest: Add testing of the flavour switching
6 years ago
lain f469a8610f Check that the welcome message is sent from the correct user.
6 years ago
lain 38e15930cb Add option to return all friends in twitter api.
6 years ago
lain d812a347ca Add optional welcome message.
6 years ago
rinpatch 921571c19b Merge branch 'hellthread-filter-fix' into 'develop'
6 years ago
Karen Konou dca6bee2f7 Rename test, add check for follower collection when delisting
6 years ago
rinpatch b63a5e309d Merge branch 'bugfix/actor-containment' into 'develop'
6 years ago
Karen Konou d943c90249 Add tests, change default config values, fix a bug
6 years ago
eugenijm ecdf0657ba Add logic for keeping follow_request_count up-to-date on the `follow`,
6 years ago
William Pitcock 32b1649434 test: user: add a test for whether user search returns a user or not
6 years ago
lambda ea2698beb7 Merge branch 'bugfix/activitypub-reserialization' into 'develop'
6 years ago
Egor Kislitsyn 907306174b fix S3 links encoding in Mediaproxy
6 years ago
kaniini 19756d68f2 Merge branch 'fix/credo-issues-test' into 'develop'
6 years ago
William Pitcock e031cc6473 tests: update tests for totalItems leak fix
6 years ago
William Pitcock 64620d8980 activitypub: user view: do not expose oAuth endpoints for instance users
6 years ago
William Pitcock 889ad95a2a tests: add some reserialization tests based on IR differences
6 years ago
Ivan Tashkinov 063baca5e4 [#468] User UI for OAuth permissions restriction. Standardized storage format for `scopes` fields, updated usages.
6 years ago
William Pitcock d54c483964 tests: add tests for endpoints
6 years ago
lain 88a4de24f9 User.follow_all: Respect blocks in both directions.
6 years ago
Maxim Filippov 62a45bdc11 Add revoke token
6 years ago
Maxim Filippov 61a4bc5095 Add OAuth tokens endpoint
6 years ago
rinpatch 379d04692c Filter summary in keywordpolicy
6 years ago
Karen Konou ac72b578da Merge branch 'develop' into feature/thread-muting
6 years ago
Karen Konou c01ef574c1 Refactor as per Rin's suggestions, add endpoint tests
6 years ago
lambda d53e36bf1e Revert "Merge branch 'object-creation' into 'develop'"
6 years ago
Egor Kislitsyn 305d219413 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
Haelwenn (lanodan) Monnier 74579115a7
test: Change `lenght(…) == 0` to `Enum.empty?(…)`
6 years ago
Haelwenn (lanodan) Monnier 8bb7e19b38
test: de-group alias/es
6 years ago
rinpatch e0de0fcf22 Merge branch 'object-creation' into 'develop'
6 years ago
kaniini d5fe05c37e Merge branch 'follow-enhancements' into 'develop'
6 years ago
lain f8388be9c6 Do object insertion through Cachex
6 years ago
Karen Konou 6a150de3bd Add unique index and unique constraint check, uniqueness test fails
6 years ago
Karen Konou 478a05b4c9 Merged "check mute" test into the other two
6 years ago
Karen Konou a0d732ec55 it works!!
6 years ago
Karen Konou 4430a0ad12 added another test
6 years ago
Karen Konou 09189c3a7c Made a test!
6 years ago
lain bbd0049fae Respect blocks in mass follow.
6 years ago
rinpatch b05a341187 oof
6 years ago
rinpatch 9a23f8f3ea Add tests and fix a typo in docs
6 years ago
Mark Felder 74518d0b60 hide_followings was renamed to hide_followers in the FE, but never synced up in the BE
6 years ago
Haelwenn 1220a17146 Merge branch 'bugfix/rich-media-card' into 'develop'
6 years ago
William Pitcock 26670b09a7 tests: add a rich media card that contains all relevant fields
6 years ago
William Pitcock 6eb8c1eb92 test: add some regression tests for the rich media card rendering
6 years ago
Egor Kislitsyn 5b1d7c3c56 fix tests
6 years ago
Egor Kislitsyn 6f05f448f8 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
eugenijm 035eaeb9b8 Allow to configure visibility for admin and moderator badges
6 years ago
eugenijm 398c81f9c8 Add is_admin and is_moderator boolean fields to the user view
6 years ago
William Pitcock 73e6a1f1dd test: twitterapi: fix another possible test failure case
6 years ago
kaniini eb2b1960e0 Merge branch 'feature/split-hide-network-v2' into 'develop'
6 years ago
William Pitcock c4d317ccb6 test: twitterapi: fix the test breakage for real
6 years ago
Egor Kislitsyn 3a3a3996b7 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
Maxim Filippov 16ce129e38 Split hide_network into hide_followers & hide_followings (fixed)
6 years ago
lambda 69a38644bc Merge branch '589-fix-cache' into 'develop'
6 years ago
lain e61f0be951 Unbreak all the tests.
6 years ago
lain 505a084058 Still do caching in tests.
6 years ago
Ivan Tashkinov 3913b0196e [#582] Made single-pub task call Instance.set_reachable/1 if `set_reachable` is not specified.
6 years ago
Ivan Tashkinov b40b4bc4e5 [#582] Optimized federation retirement by reducing the number of SQL calls
6 years ago
kaniini 486749064f Revert "Merge branch 'feature/split-hide-network' into 'develop'"
6 years ago
href 7e384a2425 Merge branch 'develop' into 'develop'
6 years ago
Luna e8c7be38fc add tests for nodeinfo 2.0 compat and 2.1's new field
6 years ago
kaniini 0a82a7e6d6 Merge branch 'feature/split-hide-network' into 'develop'
6 years ago
href b3b0855456 Merge branch '534_federation_targets_reachability' into 'develop'
6 years ago
Luna c05928dbda use nodeinfo 2.1, add repository field
6 years ago
href 308b35ebe2
User.follow_all: ensure its stays unique
6 years ago
William Pitcock 106475f265 test: http mocks: formatting
6 years ago
William Pitcock 3f5b784596 test: rich media: parser: add malformed data regression test
6 years ago
William Pitcock 4e76f9fde1 test: add malformed OGP data fixture
6 years ago
lambda a43a1c6d4e Revert "Merge branch 'spc-fix-3' into 'develop'"
6 years ago
kaniini 4d3655c479 Merge branch 'spc-fix-3' into 'develop'
6 years ago
Haelwenn 00d4333373 Merge branch 'features/glitch-soc-frontend' into 'develop'
6 years ago
Egor Kislitsyn d3677d2b4d Merge remote-tracking branch 'MAIN/develop' into feature/jobs
6 years ago
lain c53b96a024 Fix specs.
6 years ago
lain 47ec690c54 Use race-condition free mass follow.
6 years ago
kaniini d03a116654 Merge branch 'hj-happiness-improvement' into 'develop'
6 years ago
Ivan Tashkinov 92753b0cd9 [#534] Made federation push sender be determined basing on content instead of `referer` header. Updated tests.
6 years ago
Haelwenn ebb3496386 Merge branch 'feature/rich-media-part-2-electric-boogaloo' into 'develop'
6 years ago
William Pitcock 61d6715714 rich media: oembed: return data in the same format as the other parsers
6 years ago
Maxim Filippov 3e968f9ef2 Format
6 years ago
Maxim Filippov 50d6183893 Split hide_network into hide_followers & hide_followings
6 years ago
Egor Kislitsyn 55affbca7f add a job queue
6 years ago
Ivan Tashkinov d3f9e6f6fe [#534] Merged `upstream/develop`.
6 years ago
Ivan Tashkinov 1d2f41642c [#534] Various tweaks. Tests for Instances and Instance.
6 years ago
lain 8e8a1e1ba8 Return new-style config if old-style config is set to false.
6 years ago
lain 1825118fd4 Correctly handle invalid credentials on auth login.
6 years ago
William Pitcock 339c26e12b test: add status posting with OGP link preview test
6 years ago
William Pitcock 6096846f5f API: kill /api/rich_media/parse endpoint
6 years ago
William Pitcock 020b3b29d9 test: update twitterapi tests
6 years ago
William Pitcock 364cf5369b test: update mastodon status view tests
6 years ago
William Pitcock 132d815f1f mastodon api: factor out status card fetching, move status card rendering to statusview, add opengraph extended data
6 years ago
Haelwenn (lanodan) Monnier cda1470e02
[MastoAPI][GlitchAPI] Add bookmarks
6 years ago
lain 2e277dd4ad Fix objects.
6 years ago
kaniini 5eb81d2c72 Merge branch 'features/mastoapi-multi-hashtag' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier a65c188593
Web.MastodonAPI.AccountView: Add is_moderator and is_admin
6 years ago
kaniini 155a884300 Merge branch 'flake-from-int' into 'develop'
6 years ago
href d6015338c8
Flake: support integers in from_string/1
6 years ago
William Pitcock 1f7843b9b8 mastodon api: use OGP uri instead of page_url for deducing domain name, fix test
6 years ago
Haelwenn (lanodan) Monnier 3f64379b13 Web.MastodonAPI.MastodonAPIController: Add Rich-Media support
6 years ago
Haelwenn (lanodan) Monnier d9f3af477d Move definitions of RichMedia fixtures to test/support/http_request_mock.ex
6 years ago
Haelwenn (lanodan) Monnier 22f2687f17
Web.MastodonAPI.MastodonAPIControllerTest: Update for difference between all and any parameters
6 years ago
Haelwenn (lanodan) Monnier 5a84def6a6
Fix the logic in multi-hashtag TLs
6 years ago
Haelwenn (lanodan) Monnier 4ad0ad14ed
Web.ActivityPub.ActivityPub: Simplify multi-hashtag, add tests
6 years ago
Haelwenn (lanodan) Monnier d8f446f438
Web.MastodonAPI.MastodonAPIControllerTest: Add test against multi-hashtag timeline
6 years ago
Haelwenn (lanodan) Monnier 499a4591a4
Web.ActivityPub.ActivityPubTest: test against inserting activities with content: null
6 years ago
Ivan Tashkinov d99650270b [#534] Federation reachability filtering tests.
6 years ago
lain aa8ddfdbe2 SPC fixes: Fix activities.
6 years ago
rinpatch a45a903480 Fix OGP provider tests
6 years ago
rinpatch 3a5b3c5a3a Merge remote-tracking branch 'pl/develop' into oembed_provider
6 years ago
kaniini 4c99b6d35a Merge branch 'fix/tusky-dm' into 'develop'
6 years ago
kaniini c9b418e547 Merge branch 'develop' into 'oembed_provider'
6 years ago
kaniini 4df71cd88b Merge branch 'classic-flakeids' into 'develop'
6 years ago
Maxim Filippov 9274cabe01 Use correct logic to determine "attentions" list
6 years ago
William Pitcock 13d72826df test: add anti-followbot policy tests
6 years ago
Maxim Filippov 4333fea1dc Send "hide_network" in user_view
6 years ago
lain 2de208817c Merge branch 'develop' into rename/pleroma_activity_consistency
6 years ago
lain e221c681dc New frontend configuration mechanism.
6 years ago
href 422e60ad76
2019
6 years ago
href 9d63b27dcd
Test FlakeID old id compat & Ecto type
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
lain 762fafe738 Fix buggy test.
6 years ago
lambda 8cd853ce0c Merge branch '530_federator_user_info_overwrite_fix' into 'develop'
6 years ago
lambda 69454c8345 Merge branch 'feature/dm-sanity' into 'develop'
6 years ago
Ivan Tashkinov 789a9843da [#530] Fixed test.
6 years ago
Haelwenn (lanodan) Monnier 98c8184c1f
Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1
6 years ago
Haelwenn (lanodan) Monnier f8ab1b7427
Activity: get_all_by_object_ap_id/1 → get_all_create_by_object_ap_id/1
6 years ago
Haelwenn (lanodan) Monnier b82c6dc536
Activity: all_by_object_ap_id/1 → get_all_by_object_ap_id/1
6 years ago
kaniini 5803672ae5 Merge branch '116-send-delete-event' into 'develop'
6 years ago
lain cf1f35a93a Send delete event over Mastodon streaming api
6 years ago
lambda 501fba33d6 Merge branch 'add-custom-emoji-test' into 'develop'
6 years ago
lain be0fb5dec4 Add a test to ensure #39 is fixed.
6 years ago
lambda f3045a179e Merge branch 'i1t/pleroma-477_user_search_improvements' into 'develop'
6 years ago
William Pitcock cf3099231d test: transmogrifier: verify directMessage flag is sent outbound based on declared visibility
6 years ago
William Pitcock 21ac35fcc0 tests: add tests for DM sanitizer
6 years ago
William Pitcock 8d06be35e0 activitypub: utils: add determine_explicit_mentions() and tests
6 years ago
kaniini 42612b1c8d Merge branch 'bugfix/improve-boost-targeting' into 'develop'
6 years ago
kaniini 651ce1c97b Merge branch '491_full_mentions_in_user_bio' into 'develop'
6 years ago
Maxim Filippov 0a97badddd Format
6 years ago
Maxim Filippov 651a1d64b5 Add current user to mentioned
6 years ago
William Pitcock 31517bec12 test: add regression test for to/cc clobbering
6 years ago
Maxim Filippov e116e55cab Add actor to recipients
6 years ago
lain 5d4d51e6dc Add fixes for SPC users.
6 years ago
rinpatch 74346a7035 Fix merge conflict
6 years ago
rinpatch 7bc6208b2f Fix ostatus test
6 years ago
Ivan Tashkinov ed8f55ab8e [#477] User: FTS and trigram search results mixing (to handle misspelled requests).
6 years ago
rinpatch 1b1af4798a Use object instead of activity for metadata
6 years ago
Ivan Tashkinov 65bb9b2fba [#491] Made full nicknames be preserved in user links text only in Bio.
6 years ago
rinpatch 64143d8040 Fix object id in OpenGraph test
6 years ago
Ivan Tashkinov 954dc4a4ad [#502] Fixed `user_count` in `/api/v1/instance` to include only active local users.
6 years ago
Ivan Tashkinov 2bfae25a1f [#491] Made user bio preserve full nicknames (nick@host).
6 years ago
rinpatch 3b18789684 Fix test
6 years ago
rinpatch 293f6a8b71 join us now and share the software~. Also tests
6 years ago
lain 943324b661 MastoAPI: Don't break on missing users.
6 years ago
lambda 608cc65d43 Merge branch 'feature/improve-microformats' into 'develop'
6 years ago
lambda da4b670451 Merge branch '518_instance_stats_fix' into 'develop'
6 years ago
Ivan Tashkinov 90433b988e [#518] Fixed /api/v1/instance ("domain_count" value) and /api/v1/instance/peers responses.
6 years ago
rinpatch 8cea00e1dc Remove OpenGraph test from Ostatus tests
6 years ago
William Pitcock 85a5be6220 tests: fixup
6 years ago
Ivan Tashkinov 5b8f9ff8c1 [#477] User search tests. Normalized search rank in User.search.
6 years ago
Ivan Tashkinov fc965f982c [#477] Added FTS index for `users`. Fixed failing test.
6 years ago
Haelwenn (lanodan) Monnier 9fcdca1bdc
Upload: Fix uploading with a : in the filename
6 years ago
Haelwenn (lanodan) Monnier e3eb75bd23
Upload: Fix uploading with a ? in the filename
6 years ago
rinpatch f20bfc9ea5 Merge branch 'media-url-escape' into 'develop'
6 years ago
Shadowfacts dcbe5bd58c
Add attachment escaping test
6 years ago
Ivan Tashkinov dc45ec62c2 [#477] User search improvements: tsquery search with field weights, friends & followers boosting.
6 years ago
kaniini de1da7b3d1 Merge branch 'feature/add-oembed-parser' into 'develop'
6 years ago
kaniini fa0392e49c Merge branch 'activitypub-likes' into 'develop'
6 years ago
Sadposter 98d9ae0718 Add test for mastodon API /favourites endpoint
6 years ago
rinpatch e4dc3f71ae Resolve merge conflict
6 years ago
Maxim Filippov b8a77c5d70 Add OEmbed parser
6 years ago
sxsdv1 868034375c Add likes to activitypub object representation
6 years ago
sxsdv1 581edd5a91 Add route to get object like activities
6 years ago
sxsdv1 36711e1c83 Handle client submitted activitypub like activity
6 years ago
sxsdv1 1eb7318831 Prepare all types objects before serialising
6 years ago
Egor Kislitsyn 728587fdaa typo
6 years ago
Egor Kislitsyn b594a54d0c unpin when deleting a status
6 years ago
kaniini e4afe1359b Merge branch 'activitypub-dereference-activity-id' into 'develop'
6 years ago
Maxim Filippov 1f851a0723 Add Twitter Card parser
6 years ago
kaniini 11d08c6226 Merge branch 'twapi-follower-pagination' into 'develop'
6 years ago
Haelwenn ab4c5f5bf7 Merge branch 'bugfix/markdown-newline-codeblocks' into 'develop'
6 years ago
William Pitcock 490c80bc96 test: common api: add tests for format_input/4
6 years ago
kaniini 7f5efddd6e Merge branch 'feature/pinned-posts' into 'develop'
6 years ago
kaniini f85d108c41 Merge branch 'mass-follow' into 'develop'
6 years ago
kaniini d203b0b4d3 Merge branch 'dm-optimizations' into 'develop'
6 years ago
lain a99e156f2c Add integer casts.
6 years ago
lain 7ac152ed38 TwitterAPI: Add follower/following pagination.
6 years ago
lambda 1881680e28 Merge branch 'scarlett/pleroma-summary-html-api' into 'develop'
6 years ago
lain 8df348a3da Add test for summary_html
6 years ago
lain 5027f82cde Add activity visibility index.
6 years ago
Egor Kislitsyn 6cbe63726d improve tests
6 years ago
Egor Kislitsyn 44a1e69484 Add Twitter API for the pinned statuses
6 years ago
Egor Kislitsyn 1b06e6fdf3 only non-reblogs, self-authored, public statuses can be pinned
6 years ago
lain 26938d65fd Add User mass following function.
6 years ago
Egor Kislitsyn 48591aab98 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
sxsdv1 20c0dd1e24 Support activity+json request for activity
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
Egor Kislitsyn 0c750bc432 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
Egor Kislitsyn 7b6c5f0a9d improve test readability
6 years ago
lain 0fae04c4e3 Add a setting for users to autofollow on sign up.
6 years ago
Egor Kislitsyn db6f4496eb fix test
6 years ago
Egor Kislitsyn e679da4c34 add `pinned` property to `StatusView`
6 years ago
Egor Kislitsyn 63dbd87568 rename `post` to `status`
6 years ago
lain a16b17cc61 Actually put some onformation in the error user, make it actually properly parse
6 years ago
kaniini 74e1093732 Merge branch 'resilient-user-view' into 'develop'
6 years ago
Egor Kislitsyn f24087f96e Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
Egor Kislitsyn 380e9fba21 add pinned posts
6 years ago