fishjam-dev / fishjam

General purpose media server. Supports WebRTC, HLS, RTSP, SIP
https://fishjam-dev.github.io/fishjam-docs/
Apache License 2.0
197 stars 10 forks source link

Add security macro in controllers #157

Closed Rados13 closed 6 months ago

Rados13 commented 6 months ago

Acknowledging the stipulations set forth:

codecov[bot] commented 6 months ago

Codecov Report

Merging #157 (c81f48d) into main (a27e582) will decrease coverage by 0.60%. The diff coverage is 90.90%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #157 +/- ## ========================================== - Coverage 86.69% 86.09% -0.60% ========================================== Files 68 69 +1 Lines 1293 1302 +9 ========================================== Hits 1121 1121 - Misses 172 181 +9 ``` | [Files](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev) | Coverage Δ | | |---|---|---| | [lib/jellyfish\_web/api\_spec.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvYXBpX3NwZWMuZXg=) | `33.33% <ø> (ø)` | | | [.../jellyfish\_web/controllers/component\_controller.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvY29tcG9uZW50X2NvbnRyb2xsZXIuZXg=) | `95.83% <ø> (ø)` | | | [...ellyfish\_web/controllers/healthcheck\_controller.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvaGVhbHRoY2hlY2tfY29udHJvbGxlci5leA==) | `100.00% <ø> (ø)` | | | [...ellyfish\_web/controllers/hls\_content\_controller.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvaGxzX2NvbnRlbnRfY29udHJvbGxlci5leA==) | `90.47% <ø> (ø)` | | | [lib/jellyfish\_web/controllers/peer\_controller.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvcGVlcl9jb250cm9sbGVyLmV4) | `100.00% <ø> (ø)` | | | [.../jellyfish\_web/controllers/recording\_controller.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvcmVjb3JkaW5nX2NvbnRyb2xsZXIuZXg=) | `44.44% <ø> (-44.45%)` | :arrow_down: | | [lib/jellyfish\_web/controllers/room\_controller.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvcm9vbV9jb250cm9sbGVyLmV4) | `100.00% <ø> (ø)` | | | [...b/jellyfish\_web/controllers/sip\_call\_controller.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvc2lwX2NhbGxfY29udHJvbGxlci5leA==) | `70.58% <ø> (ø)` | | | [...llyfish\_web/controllers/subscription\_controller.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvc3Vic2NyaXB0aW9uX2NvbnRyb2xsZXIuZXg=) | `88.88% <ø> (ø)` | | | [lib/jellyfish\_web/router.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvcm91dGVyLmV4) | `100.00% <100.00%> (ø)` | | | ... and [1 more](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev) | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev). Last update [a27e582...c81f48d](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/157?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev).