1733 Commits (5b0cbf378891b82084b2cbb0e58ea628880f8c95)

Author SHA1 Message Date
Ethan Koenig 57cabb3ad3 Fix diff of renamed and modified file (#1967) 7 years ago
Antoine GIRARD 274149dd14 Switch to keybase go-crypto (for some elliptic curve key) + test (#1925)
* Switch to keybase go-crypto (for some elliptic curve key) + test

* Use assert.NoError 

and add a little more context to failing test description

* Use assert.(No)Error everywhere 🌈

and assert.Error in place of .Nil/.NotNil
7 years ago
Ethan Koenig 96152c38b1 Fix bug in Action.loadRepo() (#1959) 7 years ago
Ethan Koenig b38b61bbc1 Fix import order (#1951) 7 years ago
Andrey Nering 635273cea6 Merge pull request #1829 from ethantkoenig/no_branches
Commitless repos should be bare
7 years ago
Ethan Koenig 9fbdd7d787 Fix engine bug in getIssueByID (#1934) 7 years ago
Ethan Koenig e0a63a20e0 Fix errors caused by force push (#1927) 7 years ago
Dennis Keitzel 96b4780727 Gracefully handle bare repositories on API operations. (#1932)
Signed-off-by: Dennis Keitzel <github@pinshot.net>
7 years ago
Ethan Koenig 73836ce8c4 Fix ghost user bug (#1913)
Fix bug where unassigned issues would appear to be assigned to a ghost user
7 years ago
Dan Magnus Lindvall ff7424179e Delete Public SSH Key tmp file after calculating fingerprint (#1855)
* 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>
7 years ago
Sandro Santilli f6b58964d7 Include formatting check to the `make test` (and thus also `check`) rule (#1366)
* 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`
7 years ago
Phil Hopper 6ec07a6bd7 Make `LocalCopyPath` a setting instead of a hard-coded path (#1881) 7 years ago
Ethan Koenig ca9169fbe9 Migration to fix existing owner team units (#1873) 7 years ago
Bo-Yi Wu 703d18e50d feat: add check misspelling (#1877) 7 years ago
Andrey Nering ed31dff5ab Merge pull request #1874 from ethantkoenig/typo/issue_test
Fix misspelled variables
7 years ago
Ethan Koenig 9f9289fc68 Run unused test 7 years ago
Ethan Koenig 1a09afc729 Fix misspelled variables 7 years ago
Ethan Koenig 3e74b5cf51 Rename misnamed migration (#1867) 7 years ago
Ethan Koenig b900c04316 Display draft releases (#1854)
* Display draft releases

* Include ctx.User in user cache

* Integration test
7 years ago
Ethan Koenig 036ce3f813 Fix bug in removeOrgRepo (#1858) 7 years ago
Ethan Koenig 4e5ee2b67a Fix user profile activity feed (#1848)
* Fix user profile activity feed

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

* Integration test
7 years ago
Ethan Koenig bfb44f8854 Fix status table race condition (#1835) 7 years ago
Ethan Koenig 474d636794 Update code.gitea.io/git (#1824)
* Update code.gitea.io/git

* Update function calls

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

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

* Fix missing changes

* Create Gitea webhook and put Gogs webhook apart.
7 years ago
Ethan Koenig c85ff532e9 Commitless repos should be bare 7 years ago
Ethan Koenig bafd778c25 Fix invalid reference in feeds template (#1820)
* Fix invalid reference in feeds template

* Comment for GetActAvatar

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

* Integration test for GET /team/:id

* Clean up integration test
7 years ago
Ethan Koenig 39348cd27e Give all units to owner team (#1812) 7 years ago
Ethan Koenig 9c66d1d9ea Fix deadlock in updateRepository (#1813) 7 years ago
Ethan Koenig 0c332f0480 Fix activity feed (#1779)
* Fix activity feed

Preserve actions after user/repo name change

* Add missing comment

* Fix migration, and remove fields completely

* Tests
7 years ago
Jonas Franz 03912ce014 Adding #issuecomment to the URL in E-Mail notifications (#1674)
* 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>
7 years ago
Lunny Xiao 19d889daa2 fix bug not to trim space of login username (#1796) 7 years ago
Jonas Östanbäck 7b907ed348 Rename RepoCreationNum -> MaxCreationLimit (#1766) 7 years ago
Ethan Koenig bdc90aeaee Delete repo redirects on repo deletion (#1776) 7 years ago
Ethan Koenig b0308d86dc Fix unloaded owner (#1770) 7 years ago
Ethan Koenig cf02cd7ba0 Fix and test for delete user (#1713)
* Fix and test for delete user

* Run updates in batches

* Unit test
7 years ago
Jonas Östanbäck 80cea8747f Admin should always be allowed to create repos even if hit limit (#1765) 7 years ago
Kim "BKC" Carlbäcker 977dcf96e0 fixes wrong after field in webhook payload (#1746) 7 years ago
Lunny Xiao 6362462da8
fix admin lost permission caused by #947 7 years ago
Lunny Xiao fd6034aaf2 Add units to team (#947)
* 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
7 years ago
Diep Pham 407fbfa6ce fixes wrong after field in webhook payload
when merge pull request
7 years ago
Lunny Xiao bc299b8317 fix avatar update bug (#1729) 7 years ago
Jonas Östanbäck e214728725 Add new text for reset password flash (#1718)
* 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
7 years ago
Ethan Koenig 9e627af9a4 gofmt (#1710) 7 years ago