aboutsummaryrefslogtreecommitdiff
path: root/test/support
AgeCommit message (Collapse)Author
2021-01-20Merge branch 'deprecate-public_endpoint' into 'develop'feld
Deprecate Uploaders.S3, :public_endpoint See merge request pleroma/pleroma!3251
2021-01-19Mox mode setup tweak; refactoring.Ivan Tashkinov
2021-01-16[#3251] Fixed wrong test-env config setting for [Pleroma.Upload]. ↵Ivan Tashkinov
Refactoring. Added warning to `clear_config/_` to minimize such issues in future.
2021-01-14Hack to fix tests not passing. Unclear why the filters are being set to nil.Mark Felder
Both of these changes are needed or it doesn't work.
2021-01-14Pbkdf2: Use it everywhere.Lain Soykaf
2021-01-13Password: Replace Pbkdf2 with Password.lain
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2021-01-05Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵lain
object-normalize-refactor
2021-01-04SideEffects.DeleteTest: asyncify.lain
Replace Mock with Mox, mock out Logger.
2021-01-04Object: Rework how Object.normalize workslain
Now it defaults to not fetching, and the option is named.
2020-12-28Revert "Merge branch 'features/hashtag-column' into 'develop'"Haelwenn
This reverts merge request !2824
2020-12-28Merge branch 'features/hashtag-column' into 'develop'Haelwenn
Insert text representation of hashtags into object["hashtags"] See merge request pleroma/pleroma!2824
2020-12-22Insert text representation of hashtags into object["hashtags"]Haelwenn (lanodan) Monnier
Includes a new mix task: pleroma.database fill_old_hashtags
2020-12-21Tests: Stub the pipeline in all tests.lain
Restores the old un-moxed behavior.
2020-12-21Pipeline test: Switch from Mock to Mox.lain
Speeds up the test and makes it possible to run async.
2020-12-21Tests: Add a helper method to reduce sleeping times in test.lain
This will 'time travel', i.e. change the inserted_at and update_at fields of the object in question. This is used to backdate things were we used sleeping before to ensure time differences.
2020-12-21Caching: Add caching behavior, add null implementation.lain
2020-12-18Tests: Use NullCache for async tests.lain
Caching can't work in async tests, so for them it is mocked to a null cache that is always empty. Synchronous tests are stubbed with the real Cachex, which is emptied after every test.
2020-12-18Tests: Reset all cachex caches between synchronous testslain
Don't bother in the async case, it doesn't make sense there.
2020-11-23Use Jason instead of Poison in testsMark Felder
2020-11-19fix for forwarded reportsAlexander Strizhakov
2020-11-12Fix object spoofing vulnerability in attachmentsrinpatch
Validate the content-type of the response when fetching an object, according to https://www.w3.org/TR/activitypub/#x3-2-retrieving-objects. content-type headers had to be added to many mocks in order to support this, some of this was done with a regex. While I did go over the resulting files to check I didn't modify anything unrelated, there is a possibility I missed something. Closes pleroma#1948
2020-10-30Merge remote-tracking branch 'origin/develop' into feature/account-exportEgor Kislitsyn
2020-10-28Merge remote-tracking branch 'remotes/origin/develop' into ↵Ivan Tashkinov
ostatus-controller-no-auth-check-on-non-federating-instances # Conflicts: # CHANGELOG.md
2020-10-27Merge branch 'develop' into feature/account-exportMark Felder
2020-10-20Merge remote-tracking branch 'origin/develop' into feature/account-exportEgor Kislitsyn
2020-10-17Merge remote-tracking branch 'remotes/origin/develop' into chore/elixir-1.11Ivan Tashkinov
2020-10-17Merge remote-tracking branch 'remotes/origin/develop' into ↵Ivan Tashkinov
ostatus-controller-no-auth-check-on-non-federating-instances # Conflicts: # lib/pleroma/web/feed/user_controller.ex # lib/pleroma/web/o_status/o_status_controller.ex # lib/pleroma/web/router.ex # lib/pleroma/web/static_fe/static_fe_controller.ex
2020-10-14Merge branch 'develop' into feature/account-exportMark Felder
2020-10-13Merge branch 'develop' into chore/elixir-1.11Mark Felder
2020-10-13Merge branch 'develop' into refactor/discoverable_user_fieldMark Felder
2020-10-13Change user.discoverable field to user.is_discoverableMark Felder
2020-10-13tests consistencyAlexander Strizhakov
2020-10-07Compatibility with phoenix_pubsub 2.0.0Mark Felder
2020-10-07use Phoenix.ConnTest is deprecatedMark Felder
2020-10-07Add backups deletionEgor Kislitsyn
2020-10-02[#3053] No auth check in StaticFEController, even on non-federating ↵Ivan Tashkinov
instances. Adjusted tests.
2020-10-01web push http_client fixAlexander Strizhakov
2020-09-19[#2074] OAuth scope checking in Streaming API.Ivan Tashkinov
2020-09-17User search respect discoverable flagstwf
2020-09-14RichMedia: Do a HEAD request to check content type/lengthrinpatch
This shouldn't be too expensive, since the connections are pooled, but it should save us some bandwidth since we won't fetch non-html files and files that are too large for us to process (especially since you can't cancel a request without closing the connection with HTTP1).
2020-09-10schedule activity expiration in ObanAlexander Strizhakov
2020-09-08Remove OStatus in testsuiteHaelwenn (lanodan) Monnier
2020-09-02correct pool and uniform headers formatAlexander Strizhakov
2020-08-11Apply 1 suggestion(s) to 1 file(s)lain
2020-08-07Force 204 responses to be empty, fixes #2029Alex Gleason
2020-08-07Merge branch 'features/poll-validation' into 'develop'lain
Poll and votes pipeline ingestion Closes #1362 and #1852 See merge request pleroma/pleroma!2635
2020-08-05Update clear_config macroRoman Chvanikov
2020-08-04Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵lain
features/poll-validation
2020-08-04Unify Config.get behaviour for atom/list key paramRoman Chvanikov