Commit Graph
24 Commits
Author SHA1 Message Date
James Smith ec3f7694eb Only show problems to moderators and above
Resolves #4353
2025-06-13 11:16:15 +01: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 e714985f94 update request tests to use to_param instead of explicit id 2024-09-05 12:30:12 +01:00
James Smith c4eae3c070 rename viewer role to member 2024-08-30 17:13:53 +01:00
James Smith 02213b615c rename "editor" role to "moderator" for clarity 2024-08-30 17:13:52 +01:00
James Smith 12a0f48f80 lint 2024-06-13 17:39:34 +01:00
James Smith de6e62255c make sure at least contributor permission is required to see problems 2024-06-13 14:39:52 +01:00
James Smith b7bb7299a3 add permission denied tests 2024-03-21 22:58:17 +00:00
James Smith 523691d1f0 use metadata for logins in tests 2024-03-21 22:58:07 +00:00
James Smith e5d38f1267 use nested factory for admin user creation
lint
2024-03-21 14:39:16 +00:00
James Smith 84672d4898 lint 2024-03-16 22:41:48 +00:00
James Smith 3271fba7bd test PATCH problems 2024-03-16 21:52:11 +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
James Smith e886da0d88 make sure tests are properly signed in 2024-03-05 23:05:15 +00:00
James Smith 23185e9d85 add severity filter which combines with category 2024-02-01 14:20:04 +00:00
James Smith 9a4bb19502 filter on object type 2024-02-01 12:02:12 +00:00
James Smith 9323e23957 add test context 2024-02-01 11:39:25 +00:00
James Smith a1db4e8d2a add category filter to problem list URLs 2024-02-01 11:34:36 +00:00
James Smith 6cb454464e Add controller tests to check visibility of Problems 2024-01-22 16:08:47 +00:00
James Smith c308a45d7b lint: remove redundant test types 2022-12-12 17:44:21 +00:00
James Smith af0993d204 simple problem controller and list 2022-12-10 11:43:09 +00:00