Lunny Xiao
efbd7ca39b
Fix wrong num closed issues on repository when close issue via commit ( #10364 )
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
6543
36943e56d6
Add "Update Branch" button to Pull Requests ( #9784 )
* add Divergence
* add Update Button
* first working version
* re-use code
* split raw merge commands and db-change functions (notify, cache, ...)
* use rawMerge (remove redundant code)
* own function to get Diverging of PRs
* use FlashError
* correct Error Msg
* hook is triggerd ... so remove comment
* add "branch2" to "user2/repo1" because it unit-test "TestPullView_ReviewerMissed" use it but dont exist jet :/
* move GetPerm to IsUserAllowedToUpdate
* add Flash Success MSG
* imprufe code
- remove useless js chage
* fix-lint
* TEST: add PullRequest ID:5
Repo: user2/repo1
Base: branch1
Head: pr-to-update
* correct comments
* make PR5 outdated
* fix Tests
* WIP: add pull update test
* update revs
* update locales
* working TEST
* update UI
* misspell
* change style
* add 1s delay so rev exist
* move row up (before merge row)
* fix lint nit
* UI remove divider
* Update style
* nits
* do it right
* introduce IsSameRepo
* remove useless check
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
6543
83f9359a75
[BugFix] [API] /repos/issues/search ( #9698 )
* fix
* fix options
* add TEST
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
4 years ago
6543
c620eb5b2d
Fix #9189 - API Allow only specific Colums to be updated on Issue ( #9539 )
* dont insert "-1" in any case to issue.poster_id
* Make sure API cant override importand fields
* code format
* fix lint
* WIP test
* add missing poster_id
* fix test
* user.IsGhost handle nil
* CI.restart()
* make sure no -1 is realy added
* CI.restart()
* @lunny suggestion remove some not allowed fields
* seperate issue.LoadMilestone
* load milestone and return it on IssueEdit via API
* extend Test for TestAPIEditIssue
* fix fixtures
* declare allowedColumnsUpdateIssueByAPI only once
* Update Year
* no var just write id drecty into func cal
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
zeripath
055f6d2296
Fix "data race" in testlogger ( #9159 )
* Fix data race in testlogger
* Update git_helper_for_declarative_test.go
5 years ago
Lunny Xiao
34eee25bd4
Move sdk structs to modules/structs ( #6905 )
* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor
5 years ago
Bo-Yi Wu
ea20adaa84
feat(repo): support search repository by topic name ( #4505 )
* feat(repo): support search repository by topic name
6 years ago
B-OnTheGo
e47df0b301
Enforce token on api routes [fixed critical security issue #4357 ] ( #4840 )
6 years ago
Ethan Koenig
f1adaef458
Less verbose integration tests ( #2123 )
* Helper functions for intergration test boilerplate
7 years ago
Ethan Koenig
735676267e
Integration tests for issues API ( #2059 )
7 years ago