Commit Graph

1727 Commits (cc5484de10fe815128595c8852e57361a8392b96)

Author SHA1 Message Date
Ethan Koenig 9fbdd7d787 Fix engine bug in getIssueByID ()
Ethan Koenig e0a63a20e0 Fix errors caused by force push ()
Dennis Keitzel 96b4780727 Gracefully handle bare repositories on API operations. ()
Signed-off-by: Dennis Keitzel <github@pinshot.net>
Ethan Koenig 73836ce8c4 Fix ghost user bug ()
Fix bug where unassigned issues would appear to be assigned to a ghost user
Dan Magnus Lindvall ff7424179e Delete Public SSH Key tmp file after calculating fingerprint ()
* Delete public key tmp file after calculating fingerprint

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Move line

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Remove defer statement

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Readd defer statement and move remove

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Delete space

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
Sandro Santilli f6b58964d7 Include formatting check to the `make test` (and thus also `check`) rule ()
* Include formatting check to the `make check` rule

... and give it its own standalone target too (make fmt-check)

Show diff on fmt-check failure
Do not allow running "fmt-check" with incompatible go version
Also simplify the `fmt` rule

* Forbid running "make fmt" with Go version != 1.7 or 1.8

* Ignore bindata.go for spelling and formatting checks

also remove duplicated variable assignment for GOFILES

* Run `make fmt`
Phil Hopper 6ec07a6bd7 Make `LocalCopyPath` a setting instead of a hard-coded path ()
Ethan Koenig ca9169fbe9 Migration to fix existing owner team units ()
Bo-Yi Wu 703d18e50d feat: add check misspelling ()
Andrey Nering ed31dff5ab Merge pull request from ethantkoenig/typo/issue_test
Fix misspelled variables
Ethan Koenig 9f9289fc68 Run unused test
Ethan Koenig 1a09afc729 Fix misspelled variables
Ethan Koenig 3e74b5cf51 Rename misnamed migration ()
Ethan Koenig b900c04316 Display draft releases ()
* Display draft releases

* Include ctx.User in user cache

* Integration test
Ethan Koenig 036ce3f813 Fix bug in removeOrgRepo ()
Ethan Koenig 4e5ee2b67a Fix user profile activity feed ()
* Fix user profile activity feed

* gofmt, and avoid overlapping database connections
Ethan Koenig a977ab7889 Don't ignore error in getMergeCommit ()
Ethan Koenig 336e311a7c Fix locking bug in removeOrgRepo ()
Ethan Koenig 5554165a0c Fix pull request compare link ()
* Fix pull request compare link

* Integration test
Ethan Koenig bfb44f8854 Fix status table race condition ()
Ethan Koenig 474d636794 Update code.gitea.io/git ()
* Update code.gitea.io/git

* Update function calls

* govendor fetch
Ethan Koenig 367ff327ed Use ghost users in issues/PRs ()
Timo Myyrä 2525195749 use writeTmpKeyFile in calcFingerprint ()
this makes calcFingerprint use SSH.KeyTestpath instead of os temp dir.
Jonas Östanbäck b93568cce4 xxx_active_code_live setting in printed in hours and minutes instead … ()
* xxx_active_code_live setting in printed in hours and minutes instead of just hours

* Update app.ini description of xxx_code_lives settings
Rémy Boulanouar e0c6ab2d44 Add Gitea Webhook ()
* Replace Gogs by Gitea

* Fix missing changes

* Create Gitea webhook and put Gogs webhook apart.
Ethan Koenig bafd778c25 Fix invalid reference in feeds template ()
* Fix invalid reference in feeds template

* Comment for GetActAvatar

* Add integration test
Ethan Koenig 7e6ff69c00 Fix 500 for GET /teams/:id endpoints ()
* Fix 500 for GET /teams/:id endpoints

* Integration test for GET /team/:id

* Clean up integration test
Ethan Koenig 39348cd27e Give all units to owner team ()
Ethan Koenig 9c66d1d9ea Fix deadlock in updateRepository ()
Ethan Koenig 0c332f0480 Fix activity feed ()
* Fix activity feed

Preserve actions after user/repo name change

* Add missing comment

* Fix migration, and remove fields completely

* Tests
Jonas Franz 03912ce014 Adding #issuecomment to the URL in E-Mail notifications ()
* Added comment's hashtag to url for mail notifications.

Signed-off-by: Jonas <info@jonasfranz.software>

* Added comment's hashtag to url for mail notifications.
Added explanation to return statement.

Signed-off-by: Jonas <info@jonasfranz.software>

* Added comment's hashtag to url for mail notifications.
Added explanation to return statement + documentation.

Signed-off-by: Jonas <info@jonasfranz.software>

* Added comment's hashtag to url for mail notifications.

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Replacing in-line link generation with HTMLURL. (+gofmt)

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Replaced action-based model with nil-based model. (+gofmt)

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants.

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Updating comment for mailIssueCommentToParticipants

Signed-off-by: Jonas Franz <info@jonasfranz.software>
Lunny Xiao 19d889daa2 fix bug not to trim space of login username ()
Jonas Östanbäck 7b907ed348 Rename RepoCreationNum -> MaxCreationLimit ()
Ethan Koenig bdc90aeaee Delete repo redirects on repo deletion ()
Ethan Koenig b0308d86dc Fix unloaded owner ()
Ethan Koenig cf02cd7ba0 Fix and test for delete user ()
* Fix and test for delete user

* Run updates in batches

* Unit test
Jonas Östanbäck 80cea8747f Admin should always be allowed to create repos even if hit limit ()
Kim "BKC" Carlbäcker 977dcf96e0 fixes wrong after field in webhook payload ()
Lunny Xiao 6362462da8
fix admin lost permission caused by
Lunny Xiao fd6034aaf2 Add units to team ()
* add units to team

* fix lint

* finish team setting backend

* finished permission controll on routes

* fix import blank line

* add unit check on ssh/http pull and push and fix test failed

* fix fixtures data

* remove unused code
Diep Pham 407fbfa6ce fixes wrong after field in webhook payload
when merge pull request
Lunny Xiao bc299b8317 fix avatar update bug ()
Jonas Östanbäck e214728725 Add new text for reset password flash ()
* Forgot password should use ResetPwdCodeLives, not ActiveCodeLives
 * Improve documentation for different send mail functions related to password reset
 * Improve documentation in conf/app.ini regarding xxx_CODE_LIVE_MINUTES settings
Ethan Koenig 9e627af9a4 gofmt ()
guyzmo 397474ecb1 Added Parent property to the repo API ()
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
Ethan Koenig 251fb935ff Don't recreate database in integration tests ()
Lauris BH 524885dd65 LDAP user synchronization ()
Andrey Nering ab79069dc7 Improve dashboard repo search ()
* Add VueJS

* Improve dashboard search

* Fix tab switching

* Fix input autofocus
Lauris BH 51d0becb42 Add configuration option for default permission to create Organizations ()
Kim "BKC" Carlbäcker a85c5ab9ff fix potential sqlite lock