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

Record wiki activity done by the GIT interface. #2521

Merged
merged 1 commit into from
Aug 23, 2020

Conversation

onukura
Copy link
Member

@onukura onukura commented Aug 22, 2020

Before submitting a pull-request to GitBucket I have first:

  • read the contribution guidelines
  • rebased my branch over master
  • verified that project is compiling
  • verified that tests are passing
  • squashed my commits as appropriate (keep several commits if it is relevant to understand the PR)
  • marked as closed using commit message all issue ID that this PR should correct

About this PR

This PR add function to record wiki activity done by git interface. (current GitBucket support recording for only activity done by WebUI interface). And this PR resolve #2380 .

@onukura onukura requested a review from takezoe August 22, 2020 18:13
fileName.dropRight(".md".length),
commit.id
)
case _ =>
Copy link
Member

@takezoe takezoe Aug 22, 2020

Choose a reason for hiding this comment

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

Isn't the page deletion recorded?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. this record only created and edited because ActivityService has only recordCreateWikiPageActivity and recordEditWikiPageActivity...

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I see. That makes sense. Ideally, DELETE also should be recorded, but it's a different topic.

Copy link
Member Author

Choose a reason for hiding this comment

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

I will make new issue for DELETE activity record.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks!

@takezoe takezoe added this to the 4.35.0 milestone Aug 22, 2020
@takezoe takezoe merged commit 07eb2bc into gitbucket:master Aug 23, 2020
@onukura onukura deleted the add_servlet_wiki_record branch August 23, 2020 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

More News Feed wiki activities too.
2 participants