aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/web
AgeCommit message (Collapse)Author
2020-12-26Merge branch 'cachex-test' into 'develop'lain
Test framework overhaul (speed, reliability) See merge request pleroma/pleroma!3209
2020-12-22Added Hashtag entity and objects-hashtags association with auto-sync with ↵Ivan Tashkinov
`data.tag` on Object update.
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-21Encapsulation of tags / hashtags fetching from objects.Ivan Tashkinov
2020-12-21Lintinglain
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-21Lintinglain
2020-12-21Test: More async/sync tweaks.lain
2020-12-21Tests: Make as many tests as possible async.lain
In general, tests that match these criteria can be made async: - Doesn't use real Cachex. - Doesn't write to the Config / Application Environment. - Uses Mock. Using Mox is fine. - Uses the streamer.
2020-12-19Add test for subscribe_address in JSON WebFinger responseKaizhe Huang
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: Remove unneeded explicit cachex use.lain
Only use cachex when we're actually testing it.
2020-12-17Merge remote-tracking branch 'upstream/develop' into registration-workflowAlex Gleason
2020-12-16Merge branch 'fix/2336-mastoapi-ws-posts-dropping' into 'develop'lain
Fix mastoapi ws posts dropping Closes #2336 See merge request pleroma/pleroma!3198
2020-12-15Merge branch 'support/2255_posix_errors' into 'develop'lain
[#2255] added error messages for posix error code See merge request pleroma/pleroma!3138
2020-12-14Fix for dropping posts/notifs in WS when mix task is executedAlexander Strizhakov
- start oban in mix tasks with empty queues, plugins and crontab - fix for update_users_following_followers_counts - fix for removed logo.png - typo in resend confirmation emails mix task docs - fix for uploads mix task (start Majic.Pool) - fix for creating user mix task (start :fast_html app)
2020-12-11Upgrade linkify, test URL issues, fixes #2026 #1942Alex Gleason
2020-12-11Refactor Earmark code, fix testsAlex Gleason
2020-12-11Remove some N/A testsAlex Gleason
2020-12-11Upgrade Earmark to v1.4.10Alex Gleason
2020-12-09Tweaks to OAuth entities expiration: changed default to 30 days, removed ↵Ivan Tashkinov
hardcoded values usage, fixed OAuthView (expires_in).
2020-12-09Merge branch 'auth-improvements' into 'develop'lain
Cookie auth rework / Auth subsystem refactoring and tweaks Closes pleroma/secteam/pleroma#3 See merge request pleroma/pleroma!3112
2020-12-09Merge branch 'stream-follow-updates' into 'develop'lain
Stream follow updates Closes #2299 See merge request pleroma/pleroma!3183
2020-12-07Merge remote-tracking branch 'remotes/origin/develop' into auth-improvementsIvan Tashkinov
# Conflicts: # CHANGELOG.md
2020-12-07Merge branch 'feature/configdb-mix-tasks' into 'develop'lain
Add mix tasks to give additional ConfigDB recovery and debugging options See merge request pleroma/pleroma!3174
2020-12-06[#3174] Refactoring: ConfigDB fetching functions, ConfigDB tests.Ivan Tashkinov
Minor fixes.
2020-12-06Merge remote-tracking branch 'remotes/origin/develop' into auth-improvementsIvan Tashkinov
2020-12-06[#3112] Ensured presence and consistency of :user and :token assigns ↵Ivan Tashkinov
(EnsureUserTokenAssignsPlug). Refactored auth info dropping functions.
2020-12-04Merge branch 'issue/2256' into 'develop'feld
[#2256] added subject actor to moderation log See merge request pleroma/pleroma!3164
2020-12-02Document follow relationship updates and cleanupEgor Kislitsyn
2020-12-02SideEffects: fix testlain
2020-12-02Stream follow updatesEgor Kislitsyn
2020-12-01Search tests: Use on_exit for restoring `persistent_term` staterinpatch
Otherwise if the assertion failed, the code below which resets the state would never be reached
2020-11-30[#3112] Allowed revoking same-user token from any apps. Added tests.Ivan Tashkinov
2020-11-28Merge remote-tracking branch 'remotes/origin/develop' into auth-improvementsIvan Tashkinov
2020-11-28OAuth form user remembering feature. Local MastoFE login / logout fixes.Ivan Tashkinov
2020-11-27digest algorithm is taken from headerAlexander Strizhakov
2020-11-25Merge remote-tracking branch 'remotes/origin/develop' into auth-improvementsIvan Tashkinov
2020-11-25Session token setting on token exchange. Auth-related refactoring.Ivan Tashkinov
2020-11-23Use Jason instead of Poison in testsMark Felder
2020-11-23Search: Save detected pg version in a persistent term.lain
2020-11-23Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into websearchlain
2020-11-21Merge remote-tracking branch 'remotes/origin/develop' into auth-improvementsIvan Tashkinov
2020-11-21Session-based OAuth auth fixes (token expiration check), refactoring, tweaks.Ivan Tashkinov
2020-11-21Merge remote-tracking branch 'upstream/develop' into registration-workflowAlex Gleason
2020-11-20Merge branch 'fix/2302-report-duplicates' into 'develop'feld
Fix for forwarded reports Closes #2303 and #2302 See merge request pleroma/pleroma!3146
2020-11-20SearchController Test: Fix test.lain
2020-11-19Merge branch '2301-users-search-discoverability-fix' into 'develop'feld
[#2301] Proper handling of User.is_discoverable Closes #2301 See merge request pleroma/pleroma!3162
2020-11-19Merge branch 'oban-jobs-to-simple-tasks' into 'develop'feld
Moving some background jobs into simple tasks Closes #1790 See merge request pleroma/pleroma!3129