Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Notifier] Added redlink notifier#50170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedApr 27, 2023
Hey! I see that this is your first PR. That is great! Welcome! Symfony has acontribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
| where: | ||
| - `API_TOKEN` is your user API token, you can get it from user dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| -`API_TOKEN` is your user API token, you can get it from user dashboard | |
| -`API_TOKEN` is your user API token, you can get it fromtheuser dashboard |
| protected const HOST = 'api.redlink.pl'; | ||
| public function __construct( | ||
| #[\SensitiveParameter] private readonly string $apiToken, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| #[\SensitiveParameter]privatereadonly string$apiToken, | |
| #[\SensitiveParameter] | |
| privatereadonly string$apiToken, |
| public function __construct( | ||
| #[\SensitiveParameter] private readonly string $apiToken, | ||
| #[\SensitiveParameter] private readonly string $appToken, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| #[\SensitiveParameter]privatereadonly string$appToken, | |
| #[\SensitiveParameter] | |
| privatereadonly string$appToken, |
| { | ||
| return sprintf( | ||
| 'redlink://%s:%s@%s?from=%s&version=%s', | ||
| $this->apiToken, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Should not be exposed
| return sprintf( | ||
| 'redlink://%s:%s@%s?from=%s&version=%s', | ||
| $this->apiToken, | ||
| $this->appToken, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Should not be exposed
| "require": { | ||
| "php": ">=8.1", | ||
| "symfony/http-client": "^5.4|^6.0", | ||
| "symfony/notifier": "^6.2.7" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| "symfony/notifier":"^6.2.7" | |
| "symfony/notifier":"^6.3" |
OskarStark commentedApr 27, 2023
Can you please open a PR on the Symfony docs and the symfony/recipes repository? Thanks |
OskarStark commentedApr 27, 2023
Why did you close the PR? |
plotkabytes commentedApr 27, 2023
Sorry, this was by mistake. I made suggested changes, and I will open PR on the Symfony docs and the symfony/recipes repository soon. Thanks! |
plotkabytes commentedApr 27, 2023
Done.
|
fabpot commentedJun 21, 2023
Thank you@plotkabytes. |
This PR was submitted for the 6.3 branch but it was squashed and merged into the 6.4 branch instead.Discussion----------Add Redlink docsDocumentation for new redlink notifier. PR: [symfony/symfony#50170](symfony/symfony#50170).Commits-------9b9cd36 Add Redlink docs
Uh oh!
There was an error while loading.Please reload this page.
AddedRedlink notifier bridge