summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/twitter_api_test.exs
AgeCommit message (Collapse)Author
2020-10-13tests consistencyAlexander Strizhakov
2020-07-26Merge remote-tracking branch 'upstream/develop' into by-approvalAlex Gleason
2020-07-22[#1973] Fixed accounts rendering in GET /api/v1/pleroma/chats with truish ↵Ivan Tashkinov
:restrict_unauthenticated. Made `Pleroma.Web.MastodonAPI.AccountView.render("show.json", _)` demand :for or :force option in order to prevent incorrect rendering of empty map instead of expected user representation with truish :restrict_unauthenticated setting.
2020-07-14Email admins when a new unapproved account is up for reviewAlex Gleason
2020-04-29Add tests for account registration with captcha enabled and improve errorsEgor Kislitsyn
2020-04-13Add spec for AccountController.createEgor Kislitsyn
2020-04-08formatter.ex: Use Phoenix.HTML for mention/hashtag generationrinpatch
Unlike concatenating strings, this makes sure everything is escaped. Tests had to be changed because Phoenix.HTML runs attributes through Enum.sort before generation for whatever reason.
2020-03-20Improved in-test `clear_config/n` applicability (setup / setup_all / in-test ↵Ivan Tashkinov
usage).
2020-03-18Improved in-test config management functions.Ivan Tashkinov
2020-03-02Bump copyright years of files changed after 2020-01-07Haelwenn (lanodan) Monnier
Done via the following command: git diff fcd5dd259a1700a045be902b43391b0d1bd58a5b --stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
2020-02-13Tweaks to `clear_config` calls in tests in order to prevent side effects on ↵Ivan Tashkinov
config during test suite execution.
2019-10-16[#1304] Moved all non-mutes / non-blocks fields from User.Info to User. WIP.Ivan Tashkinov
2019-09-30Fix mergeEgor Kislitsyn
2019-09-19 Add `rel="ugc"` to hashtags and mentionsEgor Kislitsyn
2019-09-18Bump copyright years of files changed in 2019Haelwenn (lanodan) Monnier
Done via the following command: git diff 1e6c102bfcfe0e4835a48f2483f2376f9bf86a20 --stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'
2019-09-06[#1149] Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
1149-oban-job-queue # Conflicts: # test/web/twitter_api/twitter_api_controller_test.exs
2019-08-31Remove a useless importrinpatch
2019-08-31Add a changelog entry for twitterapi removal and fix credo issuesrinpatch
2019-08-31Remove Activity, User and Notification views from TwitterAPIrinpatch
2019-08-31Remove most of Pleroma.Web.TwitterAPI.TwitterAPIrinpatch
2019-08-14[#1149] Oban mailer job. Adjusted tests.Ivan Tashkinov
2019-07-08[#878] Refactored assumptions on embedded object presence in tests. Adjusted ↵Ivan Tashkinov
note factory to not embed object into activity.
2019-06-05User: Don't error out when following a user that's already followed.lain
This leads to a few situations where it is impossible to follow a user.
2019-04-22Use `User.get_cached*` everywhereEgor
2019-04-20Fix tests that used finmojiEkaterina Vaartis
2019-04-17Merge branch 'develop' into feature/database-compactionrinpatch
2019-04-16Merge branch 'feature/788-separate-email-addresses' into 'develop'kaniini
Feature/788 separate email addresses Closes #788 See merge request pleroma/pleroma!1040
2019-04-15Remove inReplyToStatusIdrinpatch
2019-04-13naming fixAlex S
2019-04-12Merge branch 'bugfix/pleroma-email-naming' into 'develop'lambda
Make the filename and module name of Pleroma.Emails.* orthogonal See merge request pleroma/pleroma!1029
2019-04-10Merge branch 'develop' into feature/788-separate-email-addressesAlex S
2019-04-10adding notify_email setting for trigger emailsAlex S
2019-04-10s/Pleroma.UserEmail/Pleroma.Emails.UserEmail/Haelwenn (lanodan) Monnier
2019-04-08removing not needed invite updateAlex S
2019-04-08renaming expire_at -> expires_atAlex S
keyword style change
2019-04-06token -> invite renamingAlex S
2019-04-06twitter api registrationAlex S
fix for twitter api tests
2019-04-02replace `Repo.get_by(User, nickname: nickname)` with ↵Egor Kislitsyn
`User.get_by_nickname(nickname)` in tests
2019-03-21common api: move context functions from twitterapiWilliam Pitcock
2019-03-13[Credo] fix Credo.Check.Readability.MaxLineLengthHaelwenn (lanodan) Monnier
2019-03-13[Credo] fix Credo.Check.Readability.AliasOrderHaelwenn (lanodan) Monnier
2019-02-11test: de-group alias/esHaelwenn (lanodan) Monnier
2019-02-03Still do caching in tests.lain
2019-01-21Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1Haelwenn (lanodan) Monnier
2019-01-16tests: fixupWilliam Pitcock
2018-12-23tests: add legal boilerplateWilliam Pitcock
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-12fix warningsMaksim Pechnikov
2018-12-10Fixes #415. Properly handle nil and empty string by User.parse_bioraeno
2018-12-06Merge branch '210_twitter_api_uploads_alt_text' into 'develop'kaniini
[#210] TwitterAPI: alt text support for uploaded images. Mastodon API uploads security fix. See merge request pleroma/pleroma!496