Commit Graph

460 Commits (d3c404af124c7083b1f23466b9e82df5d2a407d0)

Author SHA1 Message Date
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
Egor Kislitsyn 44a1e69484 Add Twitter API for the pinned statuses
6 years ago
lain a16b17cc61 Actually put some onformation in the error user, make it actually properly parse
6 years ago
lain 7382adf407 Make TwAPI UserView more resilient to issues.
6 years ago
scarlett 52493467ac Twitter API: Add a summary_html field.
6 years ago
scarlett 57df7d6e1d Add tests for emoji and lack of HTML in summaries.
6 years ago
scarlett 096e121879 Remove redundant comma.
6 years ago
scarlett 6556be344d Resolve some test failures.
6 years ago
kaniini 90e157ef80 Merge branch 'features/admin-api-user-views' into 'develop'
6 years ago
kaniini dd8f2196f6 Merge branch '483_blocks_import_export' into 'develop'
6 years ago
Ivan Tashkinov 67b4297f4d [#483] Refactored blocks and follows import, added tests.
6 years ago
Ivan Tashkinov 6e9a15b181 [#483] Blocked users export for TwitterAPI.
6 years ago
Haelwenn (lanodan) Monnier b43d630f30
Web.TwitterAPI.UserView: Add rights.admin
6 years ago
Vyr Cossont d8cc96cb1f Fix Twitter timelines for private instances
6 years ago
Vyr Cossont e4562105e7 Implement exclude_reblogs and include_rts
6 years ago
William Pitcock 3c08d229db tests: add legal boilerplate
6 years ago
William Pitcock a2bceaf688 tests: twitter api: add test proving that peertube videos are correctly handled
6 years ago
William Pitcock 873938d223 tests: twitter api: activity view test: enable tesla mock
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 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 aed0f90287 [#114] Added `pleroma.confirmation_pending` to user views, adjusted view tests.
6 years ago
Maksim Pechnikov 92a5133c42 fix text field
6 years ago
href 30dc81667c Merge branch '114_user_registration_emails' into 'develop'
6 years ago
eal 61ad2ce422 TwitterAPI: Include favorited post in json
6 years ago
Ivan Tashkinov 18b9467d1a [#114] Removed `email_invite` implementation (to be addressed separately).
6 years ago
Ivan Tashkinov 00744c6b03 [#114] Initial implementation of user email invitations.
6 years ago
Ivan Tashkinov 4e7d98922e [#114] Added tests for "POST /api/account/password_reset".
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
raeno 9ba4a1c5fe Fixes #415. Properly handle nil and empty string by User.parse_bio
6 years ago
Ivan Tashkinov 7a2162bbcb [#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
6 years ago
Ivan Tashkinov abbf347dc7 [#394] View tests fix.
6 years ago
kaniini ccf0b46dd6 Merge branch '210_twitter_api_uploads_alt_text' into 'develop'
6 years ago
kaniini 48a0315646 Merge branch 'follower-hiding' into 'develop'
6 years ago
lain 76d6b1c6ab Merge remote-tracking branch 'origin' into follower-hiding
6 years ago
Vald 3c8ffe7ed3 resolved activity view test
6 years ago
Vald 028904c333 lint
6 years ago
Vald 911a877576 resolved api and controller test failures
6 years ago
lain fdac215091 TwitterAPI: Show users their own network.
6 years ago
lain 839526a913 TwitterAPI: Add network hiding.
6 years ago
Ivan Tashkinov ba345e4c29 [#210] Formatting fix.
6 years ago
Ivan Tashkinov 848151f7cb [#210] [TwitterAPI] Made actor be stored for uploads. Added ownership check
6 years ago
Ivan Tashkinov 53797d19c5 [#210] Test update (replaced bang- with non-bang method).
6 years ago
Ivan Tashkinov 44ab3dbe2c [#210] Refactoring.
6 years ago
Ivan Tashkinov 826fc446d5 [#210] TwitterAPI: implemented /api/media/metadata/create
6 years ago
William Pitcock f7e15d3257 tests: fix a lot of the remaining test failures
6 years ago
William Pitcock e8570758f9 twitterapi: fix remaining test failures
6 years ago
lambda 88b05aeabb Merge branch 'fix/parse-user-bio' into 'develop'
6 years ago
Maxim Filippov 8148943368 Format files
6 years ago
Maxim Filippov ce98d5eb9b Parse user's bio on register
6 years ago
lain 8c9a4e8b40 TwitterAPI: Implement hide_network.
6 years ago
lain 91065e1968 Fix background updating / handling.
6 years ago
lain f18b86fd5f More fixes for Info schema.
6 years ago
lain 93f2dc19d9 TwitterAPI: Fix banner and background update.
6 years ago
lain 48b95a9b95 Assorted fixes.
6 years ago
lain d407f662af Fix TwitterApiController.
6 years ago
lain a6812bc9df Remove "most recent notification" endpoint.
6 years ago
lain 6ac5d48575 More fixes
6 years ago
lain fbb70d25fe Several twitter api fixes.
6 years ago
lain f87b315618 TwitterAPI: Fix dm_timeline displaying only half of the conversation.
6 years ago
lain 27aa136aac Format.
6 years ago
lain 7b170cd616 Add Pleroma user search api for PleromaFE.
6 years ago
lain ea9a776d7b TwitterApi: Add direct message endpoint
6 years ago
scarlett db78c72868 Twitter API: Add tests for nil names.
6 years ago
William Pitcock 719a8a1f82 tests: flip testing to/cc for mentions
6 years ago
William Pitcock d675b8a16f tests: add tests for twitterapi endpoint
6 years ago
href 013f7ba8c1
Add federating plug & public tests
6 years ago
William Pitcock 6cfba7db8d tests: twitterapi: add additional fields
6 years ago
William Pitcock 9563f3766d tests: update for new in_reply_to_screen_name field
6 years ago
Haelwenn (lanodan) Monnier a74daabfae
[Pleroma.Web.TwitterAPI.UserViewTest]: Add test for mastodon-fields
6 years ago
Haelwenn (lanodan) Monnier 82b57ebad1
[Pleroma.Web.TwitterAPI.UserView]: Add mastodon-fields in "fields"
6 years ago
William Pitcock 56577d8b48 twitter api: add no_rich_text option to userview for account prefs
6 years ago
kaniini b7923aa304 Merge branch 'hotfix_broken_likes' into 'develop'
6 years ago
William Pitcock 834515fb51 formatter: don't add XSS emoji
6 years ago
Henry Jameson 0f1c629d65 better solution, added test.
6 years ago
kaniini 0f5bff8c66 Merge branch 'develop' into 'feature/relay'
6 years ago
William Pitcock aab2bdddf4 twitter api: provide object descriptions as attachment description field
6 years ago
ensra e883587cc3 this should be looking at the follower's bio, not the user's bio.
6 years ago
ensra f533daffdb sync bio sanitization code in tests
6 years ago
lambda 13440a80e1 Merge branch 'feature/invites' into 'develop'
6 years ago
eal ed9738e031 Add tests for emoji in user profiles
6 years ago
eal cee63ad3f7 TwitterAPI user view: add screen_name_html and description_html.
6 years ago
William Pitcock 3026177206 test: use private visibility for twitterapi update consistency test, to ensure that a second activity isn't relayed
6 years ago
William Pitcock 4fb64c1d86 testsuite: twitter api: add summary where necessary
6 years ago
lambda fe4387077a Merge branch 'feature/default-scope' into 'develop'
6 years ago
William Pitcock 66819ea784 twitter api: use ActivityView.render_content() where appropriate instead of duplicating the logic
6 years ago
William Pitcock 32211c4ada tests: add default_scope where appropriate
6 years ago
Vivian Lim 6160a1b3c0 mix format
6 years ago
Vivian Lim 1299bccc7d return unquoted empty array from /api/qvitter/mutes.json
6 years ago
Vivian Lim 6316003946 fixes- found that TwitterAPI.Controller adds .json suffix already
6 years ago
lambda 8c7fdcb31b Merge branch 'feature/twitterapi-unrepeat' into 'develop'
6 years ago
Francis Dinh fc15f30a3c fixup test
6 years ago
Francis Dinh 1555c66650 Add unretweet TwAPI endpoint and cleanup AP.unannounce
6 years ago
Henry Jameson 9c1cf1befb formatting
6 years ago
Henry Jameson f42ffbe9a8 Initial invites support + tests.
6 years ago
William Pitcock c773f42ca4 tests: update twitterapi user view tests for new locked variable
6 years ago
William Pitcock f8e0942745 twitter api: add approve/deny endpoints
6 years ago
William Pitcock d116af3bee tests: add tests for /api/pleroma/friend_requests
6 years ago
William Pitcock 993312cdb3 twitterapi: add profile setting for locked/unlocked accounts
6 years ago
lain 0f70e83e8c Better error handling in TwitterApiController.
6 years ago
eal 935e544e19 TwitterAPI: fix "Follows you" being shown for the wrong user.
6 years ago
William Pitcock f569b67cda tests: update for html changes
6 years ago
lambda c2dcd767cf Merge branch 'feature/incoming-remote-unfollow' into 'develop'
6 years ago
lambda c41012053a Merge branch 'feature/change-password' into 'develop'
6 years ago
Francis Dinh 72b93d13f8 Hook up block/unblock to TwitterAPI
6 years ago
Syldexia d0690622cd Added endpoint for changing passwords
6 years ago
Thog e55c6f311b
Migrate to comeonin 4 and Cachex 3
6 years ago
lain 413de8e4bc More fixes.
6 years ago
lain ff007af0c2 Return visilility in twitter api, too.
6 years ago
Syldexia d1366f8d46 Modified deleting an account to run as a task
6 years ago
Syldexia 5bfb7b4ce6 Moved account deletion stuff to somewhere that hopefully makes more sense
6 years ago
Syldexia a16117225f Added endpoint for user account deletion
6 years ago
Pierrick Brun 89603eda9e do not create notification for yourself
6 years ago
lain bc215f5684 Fix format.
6 years ago
Wim Vanderbauwhede 6908f29e0a Added a test (written by @andrewzah) for the MR
6 years ago
lain a61e8ac154 Formatting.
7 years ago
eal fa37acfcc7 TwitterAPI: Add Qvitter notification endpoint.
7 years ago
lain b3b7ab5d9a Load all users at once in timelines.
7 years ago
lain 360c51f1f5 Use context_ids directly if we have them.
7 years ago
lain a4db3a732f Pre-fetch conversation ids.
7 years ago
lain 1b57522bba Fix some test stuff.
7 years ago
lain 802736679c Remove unused ActivityRepresenter module.
7 years ago
lain e90f8f6c4b TwApi ActivityView: Add delete activities.
7 years ago
lain 1f32ba052c TwApi ActivityView: Add follows.
7 years ago
lain 4afbef39f4 Format the code.
7 years ago
lain c1d529ee94 TwApi ActivityView: Add announces.
7 years ago
lain 1f1caab138 TwApi ActivityView: Add Like rendering.
7 years ago
lain 361016349f Add ActivityViewTest.
7 years ago
lain e30752bc79 Add basic activity view.
7 years ago
Francis Dinh 9556c8f6e7 Forgot to fix one of the links in a test
7 years ago
Francis Dinh 5ba2f4b6d8 Update tests to reflect hashtag link changes
7 years ago
lain eb7ce61ca5 Fix hashtags.
7 years ago
lain 8a47974217 Fix specs.
7 years ago
lain 4ea2a41014 Fix more specs.
7 years ago
lain 94db9ac4db Merge branch 'develop' into feature/activitypub
7 years ago
lain 5bc810c452 Add moderator function.
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 33a5d0a238 Fix some test warnings.
7 years ago
lain ce31f3a922 Twitter Representers: Handle Mastodon attachments.
7 years ago
lambda 61c16193de Merge branch 'move-backend-images' into 'develop'
7 years ago
Hakaba Hitoyo ea6d1b2b17 move avi.png & banner.png from /priv/static/static to /priv/static/images
7 years ago
eal ab83e0de6d TwitterAPI: Add is_local to user view.
7 years ago
eal b3e7d7ae6d Fetch external profile in the background.
7 years ago
eal 14b086eec2 Add a default profile picture and banner.
7 years ago
eal 1969773fb4 Fix follower/following lists.
7 years ago
eal 9223038319 Fix some more tests.
7 years ago
eal 79b3397c17 Fix tests.
7 years ago
Lain Iwakura e7c2472abd Fix tests.
7 years ago
eal 3d29fc5462 Make /api/friends/ids test deterministic.
7 years ago
Roger Braun 747a68a075 Treat internal emoji like external.
7 years ago
eal edc3e5bc30 Make users in tests follow themselves by default.
7 years ago
Roger Braun 40ca379357 Fix flakey test.
7 years ago
eal fb118b2978 Don't insert newlines to generated HTML.
7 years ago
eal 66e78c3ec4 Escape HTML instead of discarding it.
7 years ago
lambda 1cca544e20 Merge branch 'twitterapi-bitlbee' into 'develop'
7 years ago
eal f9828e578c TwitterAPI: Add /users/show.
7 years ago
eal 3533bf7eac TwitterAPI: Add /friends/ids.
7 years ago
eal f7fc048aeb TwitterAPI user view: add follows_you.
7 years ago
eal 4656cb9b99 TwitterAPI user view: add blocks.
7 years ago
eal 6c0758e041 TwitterAPI: Add blocks.
7 years ago
eal f85566324e Allow profile fetching for authenticated users only.
7 years ago
Roger Braun 0c871e5c6e Fix specs.
7 years ago
Roger Braun 04217f52c9 TwitterAPI: Display cws.
7 years ago
Roger Braun 6d5bd4dcc0 TwitterAPI: Use correct endpoint for tag timeline.
7 years ago
Roger Braun 255a681782 TwitterAPI: Add tag timeline.
7 years ago
Roger Braun 959e993c7d Apply incoming custom emoji.
7 years ago
Roger Braun 5d1f8dcd1c TwitterAPI: Add search.
7 years ago
Roger Braun 50409326a8 Refactor posting and make character limit configurable.
7 years ago
Roger Braun d625d8db7d Add unfav to Mastodon API.
7 years ago
Roger Braun 454dc18570 Add favoriting to Mastodon API.
7 years ago
Roger Braun 66e4c710d4 Add reblogging to MastodonAPI.
7 years ago
Roger Braun d1c10ad2fb Fix specs.
7 years ago
Roger Braun fcf3128a56 Add TwAPI representer for deletes.
7 years ago
Roger Braun 4b03c43fd7 fix specs.
7 years ago
Roger Braun 5142a8efbb Add profile update.
7 years ago
Roger Braun 171ef33cbb More sensible attachment names.
7 years ago
Roger Braun 67bfa19b35 Set twitter-style possibly_sensitive boolena.
7 years ago
Roger Braun 5dc278b1a6 Add activity_type to twitter api output.
7 years ago
Roger Braun 7d34cec58d escape attachment urls on creation.
7 years ago
Roger Braun 00b722430f Revert "Close br tags."
7 years ago
Roger Braun 19e8421947 Revert "Wrap in <p>."
7 years ago
Roger Braun 3063e3b440 Revert "Remove newlines completely so mastodon doesn't bug out."
7 years ago
Roger Braun 0ca3ab7b59 Remove newlines completely so mastodon doesn't bug out.
7 years ago
Roger Braun c81d0b6f89 Wrap in <p>.
7 years ago
Roger Braun 2eba8e74cc Close br tags.
7 years ago
Roger Braun 72ca58c540 Save follower count and note count in user.
7 years ago
Roger Braun a027b0027c Add friends endpoint.
7 years ago
Roger Braun 94a394e3a8 Add followers endpoint.
7 years ago
Roger Braun 140f72725d Use follower address in user entry.
7 years ago
Roger Braun 7e9647b146 Fix undo activity.
7 years ago
Roger Braun e343c0c9c4 Add way to update most recent notification id.
7 years ago
Roger Braun 201804b836 Only return posts in TwAPI conversations.
7 years ago
Roger Braun d4de38e8ff Order conversation fetches like GS does.
7 years ago
Roger Braun 1c074efeaf Add external links to twapi.
7 years ago