Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-06 | Merge branch 'fix_test_get_user_apps' into 'develop' | Haelwenn | |
Fix test get_user_apps/1 See merge request pleroma/pleroma!3636 | |||
2022-02-25 | Copyright bump for 2022 | Sean King | |
2022-02-22 | Fix test get_user_apps/1 | Ilja | |
For some reason I had a test who suddenly failed, mix test test/pleroma/web/o_auth/app_test.exs:54. A user has a list of applications and this test adds them and then sees if the list it gets back is the same as the apps it added. When I ran mix test a day before I didn't have this problem and when I pushed code today in a different MR, the pipeline succeeded (see https://git.pleroma.social/ilja/pleroma/-/jobs/205827), yet locally it failed. So it seems the test can sometimes succeed and sometimes fail, which makes it untrustworthy. The failure I see is because the returned list is in reverse order. I assume that's not per sé wrong. You just want to know if the apps you added are actually there. I fixed the test by first ordering the lists before comparing. AFAICT (and as far as that's relevant) the test got introduced in commit cb2a072e6252b7c3f6473f7cfd1af5c0ec732d7b | |||
2021-12-27 | Apps: add test for get_user_apps/1 | Alex Gleason | |
2021-03-24 | Return token's primary key with POST /oauth/token | Alex Gleason | |
2021-01-26 | Convert tests to all use clear_config instead of Pleroma.Config.put | Mark Felder | |
2021-01-18 | Merge branch 'develop' into refactor/deactivated_user_field | Mark Felder | |
2021-01-18 | Merge branch 'develop' into refactor/approval_pending_user_field | Mark Felder | |
2021-01-15 | Remove toggle_confirmation; require explicit state change | Mark Felder | |
Also cosmetic changes to make the code clearer | |||
2021-01-15 | Change user.confirmation_pending field to user.is_confirmed | Mark Felder | |
2021-01-15 | Change user.deactivated field to user.is_active | Mark Felder | |
2021-01-15 | Change user.approval_pending field to user.is_approved | Mark Felder | |
2021-01-14 | Pbkdf2: Use it everywhere. | Lain Soykaf | |
2021-01-13 | Linting | Lain Soykaf | |
2021-01-13 | Password: Replace Pbkdf2 with Password. | lain | |
2021-01-13 | Bump Copyright to 2021 | Haelwenn (lanodan) Monnier | |
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;' | |||
2020-12-21 | Tests: 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-09 | Tweaks to OAuth entities expiration: changed default to 30 days, removed ↵ | Ivan Tashkinov | |
hardcoded values usage, fixed OAuthView (expires_in). | |||
2020-11-30 | [#3112] Allowed revoking same-user token from any apps. Added tests. | Ivan Tashkinov | |
2020-11-28 | OAuth form user remembering feature. Local MastoFE login / logout fixes. | Ivan Tashkinov | |
2020-11-25 | Merge remote-tracking branch 'remotes/origin/develop' into auth-improvements | Ivan Tashkinov | |
2020-11-25 | Session token setting on token exchange. Auth-related refactoring. | Ivan Tashkinov | |
2020-11-23 | Use Jason instead of Poison in tests | Mark Felder | |
2020-10-15 | Fix warnings | Egor Kislitsyn | |
2020-10-13 | tests consistency | Alexander Strizhakov | |