Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook for slack sent wrong username #7265

Closed
2 of 7 tasks
stani0502 opened this issue Jun 20, 2019 · 4 comments · Fixed by #7918
Closed
2 of 7 tasks

Webhook for slack sent wrong username #7265

stani0502 opened this issue Jun 20, 2019 · 4 comments · Fixed by #7918
Labels
Milestone

Comments

@stani0502
Copy link

  • Gitea version (or commit ref):
  • Git version: 1.8.3
  • Operating system: ubuntu
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Issue on webhook for slack, when tried to modify release tag (edit or deleting), the notification always show the creator name.
For example :

  1. User A creating tag v1.0.0
    Slack Notification: [RepoName] new release v1.0.0 published by User A
  2. User B updating content for tag v1.0.0
    Select Notification: [RepoName] new release v1.0.0 updated by User A
  3. User B delete tag v1.0.0
    Select Notification: [RepoName] new release v1.0.0 deleted by User A
    ...

Screenshots

@stale
Copy link

stale bot commented Aug 19, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Aug 19, 2019
@sapk
Copy link
Member

sapk commented Aug 19, 2019

I think it come from

Sender: rel.Publisher.APIFormat(),
and
Sender: rel.Publisher.APIFormat(),
where it should be doer and not rel.Publisher

This could be tagged as a good first issue.

@stale stale bot removed the issue/stale label Aug 19, 2019
@lafriks
Copy link
Member

lafriks commented Aug 19, 2019

wasn't this already fixed in 1.9.x?

@lafriks lafriks added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Aug 19, 2019
@lunny
Copy link
Member

lunny commented Aug 20, 2019

#7774 should already fix a slack problem but not this one.

@lunny lunny added type/bug and removed issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail labels Aug 20, 2019
@lunny lunny added this to the 1.9.2 milestone Aug 20, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants