aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-12-22possibility to run rollback in test envAlexander Strizhakov
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-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-21Lintinglain
2020-12-21Test: More async/sync tweaks.lain
2020-12-21Tests: More test fixes.lain
2020-12-21XMLBuidlder test: Make async.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-21Caching: Add caching behavior, add null implementation.lain
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-18Cachex: Make caching provider switchable at runtime.lain
Defaults to Cachex.
2020-12-18Tests: Remove unneeded explicit cachex use.lain
Only use cachex when we're actually testing it.
2020-12-18Tests: Reset all cachex caches between synchronous testslain
Don't bother in the async case, it doesn't make sense there.
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-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-08Merge branch 'feat/warn-large-pool-size' into 'develop'lain
Add a startup error for modified Repo pool_size See merge request pleroma/pleroma!3190
2020-12-08ApplicationRequirements: Add test, more text for pool size.lain
2020-12-07instance.reachable?: Limit to binary inputHaelwenn (lanodan) Monnier
2020-12-07instance: Do not fetch unreachable instancesHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2346
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-07Slip in a test to ensure we can use the atom syntax in mix task argumentsMark Felder
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-04Answer new prompt interactivelyMark Felder
2020-12-04Merge branch 'issue/2256' into 'develop'feld
[#2256] added subject actor to moderation log See merge request pleroma/pleroma!3164
2020-12-03Merge branch 'supported-emojos' into 'develop'rinpatch
Update Emoji support to unicode 13.1, support all RGI emoji. See merge request pleroma/pleroma!3186
2020-12-03Emoji: Also accept regional indicatorslain
2020-12-03Merge branch '2339-local-remote-mixup' into 'develop'Haelwenn
User: Don't allow local users in remote changesets Closes #2339 See merge request pleroma/pleroma!3185
2020-12-02Add --force flag for delete and reset commandsMark Felder
Bunch of reorganization and consolidation
2020-12-02Use a callback strategy to short circuit the functions and print a nice errorMark Felder
2020-12-02Add tests for config dumpingMark Felder
2020-12-02We no longer expect mentions to link if they are prefixed with too many @'sMark Felder
2020-12-02Emoji: Only accept RGI emoji.lain
"recommended for general interchange"
2020-12-02Emoji: Add test for ZWJ sequence emojilain
2020-12-02Document follow relationship updates and cleanupEgor Kislitsyn
2020-12-02Emoji: Update to Unicode 13.1, switch base file, allow multichar.lain
2020-12-02SideEffects: fix testlain
2020-12-02User: Don't allow local users in remote changesetslain