Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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

Merged
fabpot merged 1 commit intosymfony:6.4fromplotkabytes:redlink-notifier
Jun 21, 2023

Conversation

@plotkabytes
Copy link
Contributor

@plotkabytesplotkabytes commentedApr 27, 2023
edited
Loading

QA
Branch?6.3
Bug fix?no
New feature?yes
Deprecations?no
Tickets
LicenseMIT
Doc PRsymfony/symfony-docs#18263

AddedRedlink notifier bridge

@carsonbot
Copy link

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:

  • Always add tests
  • Keep backward compatibility (seehttps://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (seehttps://symfony.com/releases)
  • Features and deprecations must be submitted against the 6.3 branch.

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!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
-`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,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
#[\SensitiveParameter]privatereadonly string$apiToken,
#[\SensitiveParameter]
privatereadonly string$apiToken,


public function __construct(
#[\SensitiveParameter] private readonly string $apiToken,
#[\SensitiveParameter] private readonly string $appToken,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
#[\SensitiveParameter]privatereadonly string$appToken,
#[\SensitiveParameter]
privatereadonly string$appToken,

{
return sprintf(
'redlink://%s:%s@%s?from=%s&version=%s',
$this->apiToken,
Copy link
Contributor

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,
Copy link
Contributor

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
"symfony/notifier":"^6.2.7"
"symfony/notifier":"^6.3"

@OskarStark
Copy link
Contributor

Can you please open a PR on the Symfony docs and the symfony/recipes repository? Thanks

@OskarStark
Copy link
Contributor

Why did you close the PR?

@plotkabytes
Copy link
ContributorAuthor

Why did you close the PR?

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!

OskarStark reacted with rocket emoji

@plotkabytes
Copy link
ContributorAuthor

Done.
recipes:symfony/recipes#1193
docs:symfony/symfony-docs#18263

Can you please open a PR on the Symfony docs and the symfony/recipes repository? Thanks

OskarStark reacted with rocket emoji

@nicolas-grekasnicolas-grekas modified the milestones:6.3,6.4May 23, 2023
@carsonbotcarsonbot changed the titleAdded redlink notifier[Notifier] Added redlink notifierJun 21, 2023
@fabpot
Copy link
Member

Thank you@plotkabytes.

plotkabytes reacted with heart emoji

@fabpotfabpot merged commitbad7e38 intosymfony:6.4Jun 21, 2023
OskarStark added a commit to symfony/symfony-docs that referenced this pull requestJun 21, 2023
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
This was referencedOct 21, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark left review comments

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

5 participants

@plotkabytes@carsonbot@OskarStark@fabpot@nicolas-grekas

[8]ページ先頭

©2009-2025 Movatter.jp