mastodon/spec
Claire 502cf75b16
Merge pull request from GHSA-58x8-3qxw-6hm7
* Fix insufficient permission checking for public timeline endpoints

Note that this changes unauthenticated access failure code from 401 to 422

* Add more tests for public timelines

* Require user token in `/api/v1/statuses/:id/translate` and `/api/v1/scheduled_statuses`
2024-07-04 16:26:49 +02:00
..
chewy Add new public status index (#26344) 2023-08-24 16:40:04 +02:00
config/initializers/rack Merge pull request from GHSA-q3rg-xx5v-4mxh 2024-05-30 14:14:04 +02:00
controllers Merge pull request from GHSA-vp5r-5pgw-jwqx 2024-07-04 16:11:28 +02:00
fabrication Ensure unique values in fabricators (#29515) 2024-03-11 08:53:24 +00:00
fabricators Fix add validation to webpush subscription keys (#30542) 2024-06-05 19:16:47 +00:00
fixtures Catch encoding errors when creating link previews. (#30853) 2024-06-27 14:41:03 +00:00
generators Fix flaky tests related to file creation (#28248) 2023-12-06 22:22:25 +00:00
helpers Use `class_names` in admin/account_moderation_notes helper (#30719) 2024-06-17 12:20:57 +00:00
lib Implement HTML ruby tags for east-asian languages (#30897) 2024-07-03 20:05:59 +00:00
locales Replace i18n view spec with helper spec (#24966) 2023-05-15 17:25:04 +02:00
mailers Add coverage for `AdminMailer#auto_close_registrations` (#30349) 2024-05-20 08:03:39 +00:00
models Use vips setting instead of env var in media processing spec (#30859) 2024-06-27 16:03:26 +00:00
policies Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` (#28735) 2024-01-15 18:04:58 +00:00
presenters Remove unneeded settings cleanup from specs (#28425) 2023-12-19 15:17:22 +00:00
requests Merge pull request from GHSA-58x8-3qxw-6hm7 2024-07-04 16:26:49 +02:00
routing Enable Style/FrozenStringLiteralComment for specs (#23790) 2023-02-22 09:55:31 +09:00
search/models/concerns/account Use enum-generated `public_visibility` scope on Status (#28156) 2024-03-14 09:31:57 +00:00
serializers Add `max_pinned_statuses` to instances serializer and api response (#29441) 2024-04-02 13:54:11 +00:00
services Catch encoding errors when creating link previews. (#30853) 2024-06-27 14:41:03 +00:00
support Ignore intermittent chrome/manifest/icon interaction failure (#30793) 2024-06-25 13:57:40 +00:00
system Fix `Capybara/NegationMatcher` cop in spec/system (#30616) 2024-06-08 17:10:06 +00:00
validators Remove hard reference from status pin validator spec (#30432) 2024-05-27 09:20:28 +00:00
views Pull out repeated setup to shared setup in statusus/show view spec (#29927) 2024-04-15 15:24:31 +00:00
workers Add `match_json_values` and use in AP worker specs (#30720) 2024-06-19 13:46:52 +00:00
flatware_helper.rb Use flatware to parallelize CI specs (#30284) 2024-06-27 07:42:57 +00:00
rails_helper.rb Move `simplecov` config into `rails_helper` (#30302) 2024-05-15 09:33:36 +00:00
spec_helper.rb Move `simplecov` config into `rails_helper` (#30302) 2024-05-15 09:33:36 +00:00