1742 Commits (754482bf5d4922f0553c281ac525daff3f446c22)

Author SHA1 Message Date
Lauris BH 165cf33771 Wrong PR merge commit ID saved (#2007) 7 years ago
Ethan Koenig 255adc40ae Don't show non-comments in comments API (#2001) 7 years ago
Lauris BH 1a906f800d Fix GPG email checking to be case insensitive (#1988) 7 years ago
Lunny Xiao e2ec4b7c23 fix bu ong normal user visit public repo (#1984) 7 years ago
Ethan Koenig 8fc64741d9 Fix deleted milestone bug (#1942)
* Fix deleted milestone bug

* Use locale for ghost milestone name

* Fix pointer bug
7 years ago
Ethan Koenig ce9b86082c Consolidate boilerplate in integration tests (#1979) 7 years ago
Ethan Koenig 8fcda0442e Fix search by issue type (#1914)
* Fix search by issue type
7 years ago
Kim "BKC" Carlbäcker bf48c8ebdd SQLite has a query timeout. Hopefully fixes most 'database locked' errors (#1961)
* SQLite has a query timeout. Fixes 'database locked' errors
7 years ago
Lunny Xiao 31b5e9177f fix collborators lack of units on orgnization repositories (#1968)
* fix collborators lack of units on orgnization repositories

* also change log level to debug
7 years ago
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