Commit Graph
42 Commits
Author SHA1 Message Date
James Smith e8698508f0 Randomise username lengths in tests
should avoid conflicts and random test failures
2026-01-14 11:36:18 +00:00
James Smith 06905a1980 Allow saving tour state without validations 2026-01-07 13:17:01 +00:00
James Smith ee4c05403a test login rate limiting 2025-11-26 17:53:10 +00:00
James Smith ebd6d72d33 test rate limiting on registrations 2025-11-26 17:42:12 +00:00
James Smith a5eef93694 Add ability to set tour completion state via XHR 2025-10-27 17:34:38 +00:00
James Smith e93ff33708 update tests to specify private default role explicitly 2025-10-10 09:53:20 +01:00
James Smith 017e35d8e2 fix test for username autogeneration on signup 2025-08-14 17:06:12 +01:00
James Smith f1cc1091ab add tests to identify username error on signup 2025-08-11 17:47:20 +01:00
James Smith 98611f4cd9 fix form structure 2025-06-13 17:35:54 +01:00
James Smith 0380a6db22 default autocreate to "off" 2025-06-13 16:52:01 +01:00
James Smith 95fbc6d69a check autocreate creator request, and autoset user username 2025-06-13 15:15:01 +01:00
James Smith aefb18dea7 send straight to welcome page if approval not required, otherwise go to root 2025-06-11 10:07:48 +01:00
James Smith 249f3e28fc stub altcha in tests 2025-06-10 13:40:37 +01:00
James Smith 5e9962c62c make use of "sign in" more consistent 2025-04-23 17:35:41 +01:00
James Smith eed439b1ad update tests for approvals disabled mode 2025-03-26 10:04:15 +00:00
James Smith 766079ba2b add singleuser metadata tags where appropriate 2025-03-20 10:33:05 +00:00
James Smith 4d4b577569 Change Pundit authorization tests in requests specs to check proper return codes 2025-03-10 15:41:25 +00:00
James Smith 4ccc492f96 stay on settings page after editing 2024-11-26 10:17:06 +00:00
James Smith 0795abad7e check approval during signup 2024-11-22 13:57:40 +00:00
James Smith 60d3f1b69e restore autologin in single user mode 2024-09-05 15:31:47 +01:00
James Smith c4eae3c070 rename viewer role to member 2024-08-30 17:13:53 +01:00
James Smith 99bcfd01a2 swap flipper checks for SiteSettings checks 2024-08-09 11:26:18 +01:00
James Smith 3bc07a0e2b update password strength in one more test 2024-07-17 16:37:17 +01:00
James Smith 05f36b7c8c increase password strengths in tests 2024-07-17 16:29:01 +01:00
James Smith 65c8d9afbd test first-run behaviour in multiuser mode 2024-07-16 17:50:06 +01:00
Matthew df0e081aa6 Adds .well-known URI for password change 2024-05-13 20:31:34 +09:00
James Smith 81e7db3edf lint 2024-04-11 17:10:23 +01:00
James Smith dc441e7e73 set up access policy for password resets 2024-04-11 16:57:31 +01:00
James Smith ef3e66b13a oops 2024-03-26 15:46:57 +00:00
James Smith 9fdebffd52 i[date tests for password changes 2024-03-26 15:42:10 +00:00
James Smith f67325c283 generate good passwords in tess 2024-03-26 15:04:33 +00:00
James Smith 523691d1f0 use metadata for logins in tests 2024-03-21 22:58:07 +00:00
James Smith 575eb966ce change admin status and checks to use new rolify role instead of boolean flag 2024-03-21 14:53:58 +00:00
James Smith e5d38f1267 use nested factory for admin user creation
lint
2024-03-21 14:39:16 +00:00
James Smith 2b856aac80 improve autocreated user for single login and change to lazy creation 2024-03-21 14:26:30 +00:00
James Smith 766a689315 add full test suite for registrations controller 2024-03-19 14:33:09 +00:00
James Smith 408fa2667a move sign_in to right block in session specs 2024-03-19 09:42:23 +00:00
James Smith 3bfb626bc0 add tests for signing in and out in different modes 2024-03-18 21:27:06 +00:00
James Smith 6e170f0469 better pending messages for logged-out tests 2024-03-15 22:52:07 +00:00
James Smith 28931ff0fd add pending tests for all requests in routes 2024-03-06 20:59:25 +00:00
James Smith 8413ca77cd standardise signed in and out contexts across request specs 2024-03-06 15:35:04 +00:00
James Smith bc62476a5a rename request specs and include routes as a comment 2024-03-06 15:09:03 +00:00