-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add config options to hide issue events #17414
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
Merged
Merged
Changes from 47 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
c31588d
Add config option to hide issue events
qwerty287 b2ac2a5
Make configurable using a list
qwerty287 e499016
Add docs
qwerty287 d14beda
Add missing newline
qwerty287 3d8abdc
Merge branch 'main' into hide-issue-events
qwerty287 7e94f54
Merge branch 'main' into hide-issue-events
qwerty287 141611e
Merge branch 'main' into hide-issue-events
qwerty287 c3f40ae
Merge branch 'main' into hide-issue-events
qwerty287 d17579d
Merge branch 'main' into hide-issue-events
qwerty287 26270f1
Merge branch 'main' into hide-issue-events
qwerty287 7eabacf
Fix merge issues
qwerty287 20e9fc9
Merge branch 'main' into hide-issue-events
qwerty287 3891745
Merge branch 'main' into hide-issue-events
qwerty287 8fa5fe4
Merge branch 'main' into hide-issue-events
qwerty287 2463c85
Merge branch 'main' into hide-issue-events
qwerty287 2f49cab
Allow changes per user settings
qwerty287 f0e6e02
Fix lint
qwerty287 395a714
Merge branch 'main' into hide-issue-events
qwerty287 20b6975
Merge branch 'main' into hide-issue-events
qwerty287 15a5ab6
Rm old docs
qwerty287 02ba951
Apply suggestions from code review
qwerty287 9afedcf
Merge branch 'main' into hide-issue-events
qwerty287 3cd7818
Merge branch 'main' into hide-issue-events
qwerty287 afc675c
Use bitsets
qwerty287 d2b84b5
Rm comment
qwerty287 e16472b
fmt
qwerty287 1e09a6d
Merge branch 'main' into hide-issue-events
qwerty287 3a76a14
Fix lint
qwerty287 2b22ebe
Merge branch 'main' into hide-issue-events
qwerty287 33276f9
Merge branch 'main' into hide-issue-events
qwerty287 debb758
Merge branch 'main' into hide-issue-events
qwerty287 ff70bdb
Use variable/constant to provide key
qwerty287 ec2c9de
Merge branch 'hide-issue-events' of github.com:qwerty287/gitea into h…
qwerty287 9f61e51
fmt
qwerty287 050af8b
fix lint
qwerty287 d5a02bc
Merge branch 'main' into hide-issue-events
qwerty287 b2a77c1
Merge branch 'main' into hide-issue-events
qwerty287 241def9
refactor
wxiaoguang 7a48acd
Add a prefix for user setting key
wxiaoguang b134912
Merge pull request #2 from wxiaoguang/hide-issue-events
qwerty287 5a92210
Merge branch 'main' into hide-issue-events
qwerty287 e05fb4b
Add license comment
wxiaoguang 110300e
Merge branch 'main' into hide-issue-events
wxiaoguang a9666b1
Add license comment
wxiaoguang 8723518
Merge branch 'main' into hide-issue-events
qwerty287 e2de406
Merge branch 'main' into hide-issue-events
zeripath e6b31ad
Update services/forms/user_form_hidden_comments.go
wxiaoguang b8c2785
Merge branch 'main' into hide-issue-events
zeripath 24a927a
Merge branch 'main' into hide-issue-events
qwerty287 eb8caac
Merge branch 'main' into hide-issue-events
qwerty287 dcd7041
Merge branch 'main' into hide-issue-events
6543 c3933ba
check len == 0
6543 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright 2021 The Gitea Authors. All rights reserved. | ||
// Use of this source code is governed by a MIT-style | ||
// license that can be found in the LICENSE file. | ||
|
||
package user | ||
|
||
const ( | ||
// SettingsKeyHiddenCommentTypes is the settings key for hidden comment types | ||
SettingsKeyHiddenCommentTypes = "issue.hidden_comment_types" | ||
qwerty287 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.