-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Add search mode option to /api/repo/search #2756
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
lafriks
merged 11 commits into
go-gitea:master
from
Morlinest:feature-api-repo-search-options
Oct 26, 2017
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
00b167c
Add repo type option to /api/repo/search
Morlinest 67b4c4a
Add tests and fix result of collaborative filter in specific condition
Morlinest ebc86a2
Fix/optimize search & tests
Morlinest 5dbdc93
Improve integration tests
Morlinest ebff7e0
Fix lint errors
Morlinest d750b30
Change and improve internal implementation of repo search
Morlinest 949cbdb
Fix unit tests
Morlinest e2c10a0
Use NonexistentID
Morlinest 96eaf52
Make search api more general
Morlinest 4329334
Change mirror and fork search behaviour
Morlinest 2cf2561
Fix tests & typo in comment
Morlinest 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,4 +38,10 @@ | |
id: 7 | ||
org_id: 17 | ||
team_id: 5 | ||
uid: 18 | ||
uid: 18 | ||
|
||
- | ||
id: 8 | ||
org_id: 19 | ||
team_id: 6 | ||
uid: 20 |
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 |
---|---|---|
|
@@ -281,4 +281,36 @@ | |
avatar: avatar18 | ||
avatar_email: [email protected] | ||
num_repos: 0 | ||
is_active: true | ||
|
||
- | ||
id: 19 | ||
lower_name: user19 | ||
name: user19 | ||
full_name: User 19 | ||
email: [email protected] | ||
passwd: 7d93daa0d1e6f2305cc8fa496847d61dc7320bb16262f9c55dd753480207234cdd96a93194e408341971742f4701772a025a # password | ||
type: 1 # organization | ||
salt: ZogKvWdyEx | ||
is_admin: false | ||
avatar: avatar19 | ||
avatar_email: [email protected] | ||
num_repos: 2 | ||
is_active: true | ||
num_members: 1 | ||
num_teams: 1 | ||
|
||
- | ||
id: 20 | ||
lower_name: user20 | ||
name: user20 | ||
full_name: User 20 | ||
email: [email protected] | ||
passwd: 7d93daa0d1e6f2305cc8fa496847d61dc7320bb16262f9c55dd753480207234cdd96a93194e408341971742f4701772a025a # password | ||
type: 0 # individual | ||
salt: ZogKvWdyEx | ||
is_admin: false | ||
avatar: avatar20 | ||
avatar_email: [email protected] | ||
num_repos: 4 | ||
is_active: true |
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.
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.
nit: please remove
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.
There was missing 1 empty line, now it is consistent.
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.
You are right, my mistake