Commit Graph

1121 Commits (3f9c7783205f8448678162e4fe4c5a4c1b801d4f)

Author SHA1 Message Date
Ivan Tashkinov abbf347dc7 [#394] View tests fix.
6 years ago
Ivan Tashkinov 22830c8fc9 [#394] Formatting fix.
6 years ago
Ivan Tashkinov 7b19487389 [#394] Added `users.tags` and admin routes to tag and untag users. Added tests.
6 years ago
kaniini ccf0b46dd6 Merge branch '210_twitter_api_uploads_alt_text' into 'develop'
6 years ago
Ivan Tashkinov 3e90f688f1 [#210] Mastodon: actor storing for media uploads, ownership check to update_media.
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
lain 3ea4476445 MastodonAPI: Show users their own network.
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
Vald 743a09132b linting
6 years ago
Vald 812b20d49f resolved formatter_test failures
6 years ago
lain 839526a913 TwitterAPI: Add network hiding.
6 years ago
Maksim Pechnikov c524c50509 fix/273
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
William Pitcock 0f061bea0c tests: add regression test for bug #408
6 years ago
Maksim Pechnikov a9e3e387c9 add test
6 years ago
Ivan Tashkinov 44ab3dbe2c [#210] Refactoring.
6 years ago
Ivan Tashkinov 826fc446d5 [#210] TwitterAPI: implemented /api/media/metadata/create
6 years ago
Maksim Pechnikov 50e72f6c48 remove httpoison_mock
6 years ago
Maksim Pechnikov dd8aee332c formatting the code
6 years ago
Maksim Pechnikov 5c6d47614d all tests passed
6 years ago
Maksim Pechnikov a9e4a97586 update test
6 years ago
Maksim Pechnikov 7ec64ac33f update test
6 years ago
Maksim Pechnikov 80bfdb4e7d update test
6 years ago
Maksim Pechnikov 6cfdc11e32 update test
6 years ago
Maksim Pechnikov c508d41c34 add http requests mock
6 years ago
Maksim Pechnikov 87109482f3 status_code -> status
6 years ago
Maksim Pechnikov ec34de0c1f WebSub fix test
6 years ago
lambda 88b05aeabb Merge branch 'fix/parse-user-bio' into 'develop'
6 years ago
Maxim Filippov 4b70e5eae9 Parse bio for MastodonAPI
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 2a639de9b3 MastodonApi: Implement hide_network.
6 years ago
lain 6be0ab1e55 Hide network in ap.
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 347df6421d Fix masto api user updating.
6 years ago
lain c443c9bd72 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
lain 1c67277c80 Fix admin api.
6 years ago
href e9982c521b
Upload filter: anonymize filename
6 years ago
kaniini ca24ad2a2b Merge branch 'feature/reverse-proxy' into 'develop'
6 years ago
href 253da275bd
Pleroma.Config.delete/1
6 years ago
href 65e7307d68
Upload: bring back base_url
6 years ago
href 1d537bc74f
remove eal
6 years ago
href 02d3dc6869
Uploads fun, part. 2
6 years ago
href b19597f602
reverse proxy / uploads
6 years ago
lain d0ec2812bd Merge remote-tracking branch 'origin' into validate-user-info
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
KokaKiwi 87098d1676 Streamer: Don't send unwanted DMs to list streams
6 years ago
lain e002858071 Fix ostatus test.
6 years ago
lain 3c61df6b9e Webfinger fixes.
6 years ago
lain 5bd3b3a215 More and more fixes.
6 years ago
lain badbe2656c More fixes.
6 years ago
lain f983c1d0c6 Fix CommonApi tests.
6 years ago
Haelwenn (lanodan) Monnier cc8952b45f
Web.MastodonApi.MastodonSocketTest: Add test for unauthenticated websocket
6 years ago
kaniini 675653ceb7 Merge branch 'feature/admin-api' into 'develop'
6 years ago
lain 0bea0308f1 Merge branch 'validate-user-info' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
lain 0896cf4c0f Fix most mastodon api bugs.
6 years ago
William Pitcock 5b3480d896 tests: fix up some more broken mastodon api testcases
6 years ago
Haelwenn c7d08bc1cf Merge branch 'feature/retry-queue' into 'develop'
6 years ago
William Pitcock c196754b4d mastodon api: account view: fix tests
6 years ago
lain 2887f4ff1d Fix formatter tests.
6 years ago
href 7f4c3a1e99
mediaproxy: fix empty url & add some tests
6 years ago
eal 689b46efc8 RetryQueue: tiny refractor, add tests
6 years ago
lain fbb70d25fe Several twitter api fixes.
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
William Pitcock f6be980f4f activitypub: object view: avoid leaking private details
6 years ago
William Pitcock 98795172a7 ostatus controller: respond with AS2 objects instead of activities to notice URIs
6 years ago
William Pitcock e10f839e9b tests: federator: fix formatting
6 years ago
William Pitcock dfcfb184b1 activitypub: transmogrifier: make deletes secure
6 years ago
Haelwenn (lanodan) Monnier 52681f7fd0
Web.AdminAPI.AdminAPIControllerTest: New Test
6 years ago
Haelwenn (lanodan) Monnier 76bd80d462
test/plugs/user_is_admin_plug_test: New test
6 years ago
William Pitcock b1a6e8d80d test: add sanity tests for federator handling of AP docs
6 years ago
William Pitcock 55640c4804 tests: add a test to verify the general fake direction protection works in all cases
6 years ago
William Pitcock dc1d8e13b4 tests: add a testcase for user collision
6 years ago
William Pitcock 1a940cb46e tests: add tests for contain_origin_from_id()
6 years ago
William Pitcock b483ae0a72 tests: add a second spoofing variant
6 years ago
William Pitcock 9c8adfb6ef test: fix more test defects
6 years ago
William Pitcock d9cb081f07 tests: add additional spoofing tests
6 years ago
William Pitcock 2ab8e28728 transmogrifier tests: fix defective spoofing test
6 years ago
William Pitcock 010fcb73d7 test: httpoison mock: add second spoofing activity test
6 years ago
lain f87b315618 TwitterAPI: Fix dm_timeline displaying only half of the conversation.
6 years ago
lambda 2f639ea129 Merge branch 'feature/pleromafe-usersearch' into 'develop'
6 years ago
lain e8d8c84f79 Add better test for user search functionlity.
6 years ago
AkiraFukushima 62944b47fb Reset http security settings to fix plug test
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
lain 2cf40237ff MastodonAPI: Add pagination to private messages.
6 years ago
scarlett 0ce5623134 Merge branch 'twitter-api-null-display-name' into 'develop'
6 years ago
scarlett db78c72868 Twitter API: Add tests for nil names.
6 years ago
William Pitcock ee5932a504 http security: allow referrer-policy to be configured
6 years ago
William Pitcock fe67665e19 rename CSPPlug to HTTPSecurityPlug.
6 years ago
William Pitcock 54fdce9107 tests: add tests for CSPPlug
6 years ago
William Pitcock 69b8c0e299 tests: add test for internal data stripping
6 years ago
kaniini c9c1f9dee2 Merge branch 'bugfix/ostatus-as2-reflection' into 'develop'
6 years ago
kaniini 99a8ef967e Merge branch 'tests/prismo-url-map' into 'develop'
6 years ago
William Pitcock 1d9fcbf2ba add missing prismo testcase data
6 years ago
William Pitcock c9df011215 tests: add tests for new OStatus.is_representable? function
6 years ago
William Pitcock dfc26d0fdd tests: add testing for new notification behavior
6 years ago
William Pitcock 719a8a1f82 tests: flip testing to/cc for mentions
6 years ago
lambda 59cf7cf235 Merge branch 'small-jsonld-refactor' into 'develop'
6 years ago
lain 34bd411781 Unify json ld header handling.
6 years ago
lain 3b02fd9fb7 Small refactor.
6 years ago
kaniini 4d627a5117 Merge branch 'feature/qvitter-notifications-dismiss' into 'develop'
6 years ago
kaniini b451a92d78 Merge branch 'runtime-config' into 'develop'
6 years ago
William Pitcock d675b8a16f tests: add tests for twitterapi endpoint
6 years ago
William Pitcock 50bf174651 tests: add tests for Notification.set_read_up_to()
6 years ago
href 5bb88fd174
Runtime configuration
6 years ago
kaniini 0f3e78addb Merge branch 'runtime-router' into 'develop'
6 years ago
href 7d328c658d
Small wrapper module around Application.get_env/put_env
6 years ago
href 36ca3c1b3e
format
6 years ago
href 2bc924ba45
Get rid of Pleroma.Config in favor of Application
6 years ago
href 013f7ba8c1
Add federating plug & public tests
6 years ago
lain 2fedd93931 Fix formatting.
6 years ago
lain 81af7fd02d Test for null-content activities.
6 years ago
lain 7dfe611620 Test for case-insensitive mastodon hashtag timelines.
6 years ago
lain 45ebc8dd9a Check for empty string in_reply_to ids.
6 years ago
Haelwenn (lanodan) Monnier c5f26f3ce2
Test that prismo url-map transforms into a string
6 years ago
Lee Starnes 585b29337c Ensure filters have a filter_id
6 years ago
lain 1e9ced5af4 Test Relay, switch to runtime configuration.
6 years ago
lain 9b77030d3c Add basic configuration management module.
6 years ago
William Pitcock 2b3a40d038 object: split object_cache from user_cache
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
William Pitcock f55fc68f76 tests: add tests for object deletion
6 years ago
scarlett b92e38d2d4 Add user reactivation task.
6 years ago
William Pitcock 2ac13061af testsuite: formatting
6 years ago
William Pitcock 0d0c1dcf44 tests: add testsuite for broken thread filter
6 years ago
William Pitcock b1d1f9bc27 tests: add test for user inbox
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
eal 5e9a0e2460 Fix some typos in the list test.
6 years ago
AkiraFukushima a249cbf187 Add a test for List.get_lists_account_belongs
6 years ago
William Pitcock 958c5e02e8 tests: add a testcase for matching osada users in the formatter
6 years ago
Haelwenn (lanodan) Monnier eacab0fb05
Delete Tokens and Authorizations on password change
6 years ago
William Pitcock ebc32045f0 test: add regression test for #316
6 years ago
William Pitcock 497814cbbb test: update test for new html scrub policy
6 years ago
William Pitcock b1be9415ef Revert "Merge branch 'revert-a26d5e6b' into 'develop'"
6 years ago
Haelwenn (lanodan) Monnier a3cffd3566
formatter: Stop using phoenix HTML and format it ourselves
6 years ago
Haelwenn 34b6d444d6 Merge branch 'feature/twitter_api/fields' into 'develop'
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 d830a243a3
transmogrifier: more robustly handle dereferencing pointer URIs
6 years ago
Haelwenn (lanodan) Monnier eebe33e86a
transmogrifier: Add support for array-less hashtags, add broken announce, harden get_actor
6 years ago
Haelwenn (lanodan) Monnier 2c820e10b8
transmogrifier_test: incoming notices with tag not being an array (kroeg)
6 years ago
William Pitcock 85b59d07b6 test: add smoketests for the scrubbing policies
6 years ago
William Pitcock 56577d8b48 twitter api: add no_rich_text option to userview for account prefs
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
Haelwenn (lanodan) Monnier a8eaecadee
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
6 years ago
Haelwenn (lanodan) Monnier 43d0b7bf7a
[Pleroma.Web.MastodonAPI.StatusView] add replies_count
6 years ago
shadowfacts 85b8590109 Update status_view_test.exs
6 years ago
William Pitcock a4fe14de02 tests: break the cycle using pleroma.factory
6 years ago
William Pitcock fc92bb28b4 tests: try breaking the cycle a different way
6 years ago
William Pitcock 33a5294fad test: user enabled plug tests: fix circular reference
6 years ago
lambda 045953225e Merge branch 'moonman/pleroma-sha512-crypt' into 'develop'
6 years ago
Martin Kühl 619f67768a Mastodon API: Add unsupported attributes to relationship responses
6 years ago
lain d22af29bb4 Fix warning.
6 years ago
lain 44b094908c Update legacy passwords automatically.
6 years ago
Martin Kühl ff38ffd9f8 Fix the tests
6 years ago
lain e601165426 Add UserEnabledPlug.
6 years ago
lain 5ce1ebb179 Add SetUserSessionIdPlug.
6 years ago
Haelwenn 4a3dbd9d4e Merge branch 'fix/sign-in-with-toot' into 'develop'
6 years ago
lain 12bc73dd28 Add EnsureUserKeyPlug, smaller fixes
6 years ago
lain 32465b9939 Simplify AuthenticationPlug
6 years ago
lain 9a96c93be7 Add SessionAuthenticationPlug.
6 years ago
lain a3f54fca4d Add LegacyAuthenticationPlug
6 years ago
lain 3cf17dc402 Add EnsureAuthenticatedPlug
6 years ago
lain faf5347748 Add UserFetcherPlug.
6 years ago
lain 42bd985e66 Add BasicAuthDecoderPlug
6 years ago
Moon Man 1a8bc26e52 auth against sha512-crypt password hashes, upgrade to pbkdf2
6 years ago
kaniini 76c67a41c1 Merge branch 'develop' into 'feature/staff-discovery-api'
6 years ago
William Pitcock d3f6814feb tests: add test for staffAccounts presence in nodeinfo
6 years ago
kaniini 1c9e539b47 Merge branch 'feature/mastodon_api_2.4.x' into 'develop'
6 years ago
kaniini 7ca2a2ddea Merge branch 'nil-bio-emojis' into 'develop'
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
William Pitcock 303af9ba4c tests: add regression tests
6 years ago
Martin Kühl b60d232719 AccountView: `sensitive` is supposed to be a boolean, not a string
6 years ago
Will Pearson 0c2a0e3551 Specify default scope in verify_credentials
6 years ago
Thurloat a9c0f395cb add nil clause for Formatter.get_emoji/1 to return an empty result
6 years ago
lambda 58539e1357 Revert "Merge branch 'feature/rich-text' into 'develop'"
6 years ago
William Pitcock e7871ed05e tests: add tests for evil HTML filtering
6 years ago
William Pitcock 9cac7c957c test: add testcase proving lists system does not leak non-public posts
6 years ago
Henry Jameson 0f1c629d65 better solution, added test.
6 years ago
Haelwenn (lanodan) Monnier 6e030129fb
[MastodonAPI] Add filters
6 years ago
Haelwenn (lanodan) Monnier d008f2d69c
[Pleroma.Web.MastodonAPI.AccountView]: Add bot field
6 years ago
lambda 46c7c2380c Merge branch 'feature/relay' into 'develop'
6 years ago
kaniini 63094cfd3e Merge branch 'feature/emoji-in-local-users' into 'develop'
6 years ago
William Pitcock 86dca39640 tests: fix formatting
6 years ago
William Pitcock 504a25f812 tests: add notification smoketests (ref #265)
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
William Pitcock a8bd120ea6 tests: formatting
6 years ago
William Pitcock 14d1187702 test: add testcase for formatter issue #163
6 years ago
William Pitcock bc36d40bee tests: add a testcase for verifying that objects without a valid ID are always rejected
6 years ago
kaniini f6b06d2ac8 Merge branch 'feature/peertube_2' into 'develop'
6 years ago
kaniini a6d4cc8917 Merge branch 'sanitize-bio' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 74c74decf5
Basic peertube support.
6 years ago
ensra 2b5db840ee attempt to add html validation to mastodon api test case
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
kaniini 183ccd1812 Merge branch 'dev-lanodan-url-regex' into 'develop'
6 years ago
kaniini 5fbb14f5ec Merge branch 'bugfix/federation-kroeg' into 'develop'
6 years ago
kaniini 38361e7b5e Merge branch 'fix/put-repeats-at-activitypub-outbox' into 'develop'
6 years ago
kaniini 8dc715b30b Merge branch 'fix/normalize-file-extension' into 'develop'
6 years ago
William Pitcock 8058443674 testsuite: add puckipedia test fixture
6 years ago
William Pitcock b8560e5ed5 testsuite: formatting
6 years ago
William Pitcock 7fbcd4caaf test: add kroeg fixtures
6 years ago
eal 92caa2632b Use Image type for emoji icons.
6 years ago
eal f9d13558c8 CommonAPI: add emoji to user source data on update
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 aea23468c6 test: nickname is no longer a required field
6 years ago
Haelwenn (lanodan) Monnier 32a55e9695
[Pleroma.FormatterTest] Add test for XMPP link
6 years ago
Haelwenn (lanodan) Monnier 1a2255ef7e
[Pleroma.FormatterTest]: .add_links: Add a space before the dot
6 years ago
hakabahitoyo 9c1b6f11c5 improve test
6 years ago
hakabahitoyo 908cefd84a debug
6 years ago
hakabahitoyo 9c2afb2e71 improve test
6 years ago
lambda 41b0ecef95 Merge branch 'tests/plume' into 'develop'
6 years ago
lambda 54963a6379 Merge branch 'bugfix/activitystreams-notice-urls' into 'develop'
6 years ago
William Pitcock 18cac1e36b test: mastodon attachments: update for added description field
6 years ago
William Pitcock 489453c246 tests: verify media description api support is working
6 years ago
Haelwenn (lanodan) Monnier 24b5a75d09
Add test for Plume Articles
6 years ago
William Pitcock f1a29fc43c test: ostatus controller: add AS2 fetching tests
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
lambda 4a922305af Merge branch 'feature/article-support' into 'develop'
6 years ago
William Pitcock 8546551257 activitypub: switch to using x509 representation for public keys instead of pkcs#1
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