summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
* Fix git hooks update to receive required arguments. Fixes #2090 (#2095)Lauris BH2017-07-024-6/+26
| | | * Changed migration calling so that migrations can use models package
* Fix SQL bug in models.PullRequestsEthan Koenig2017-07-011-2/+1
|
* Merge pull request #2087 from Bwko/fix_error_exitLauris BH2017-06-301-1/+1
|\ | | | | Fix exit status 1 not handled @ getMergeCommit (#2087)
| * Fix exit status 1 not handled @ getMergeCommitBwko2017-06-301-1/+1
| |
* | Merge pull request #2083 from ethantkoenig/check_err/org_avatarAndrey Nering2017-06-291-3/+2
|\ \ | |/ |/| Don't ignore gravatar error
| * Use default avatar on errorEthan Koenig2017-06-291-3/+2
| |
* | Fix release display and correct paging (#2080)Lauris BH2017-06-292-22/+27
|/
* remove unnecessary blank lines and wrong error logLunny Xiao2017-06-281-3/+1
|
* Pagination on releases page (#2035)iszla2017-06-281-0/+14
| | | | | | | | | | | | | | | | | | | | | | * Added count to GetReleasesByRepoID so pagination will work * Separated it out to a new function, can then also leave the API part unaffected * Remove extra whitespace added in untouched function * Added comment and corrected name in error handler * Account for if the user is owner or not in the count * Also check if repo is draft * revert back to the correct count in the ReleasesToDisplay loop * Fixed lint error regarding else with return statement * Use Cond struct instead of string, corrected name in error handler * Removed unused return variable names
* Make time diff translatable (#2057)Lauris BH2017-06-281-3/+3
|
* Setting to disable authorized_keys backup (#1856)Dan Magnus Lindvall2017-06-281-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add setting to disable authorized_keys backup when rewriting public keys Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Update default value to comply with documentation Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Use tmp-file instead of bak-file for saving manually added keys. Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Change casing Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Change casing and build bakpath with sprintf only Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Only close file once Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Do not modify calcFingerprint Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Fix casing Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Change style from disable to enable Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Change name, just SSH_BACKUP_AUTHORIZED_KEYS Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Do not check for directory existence if backup is disabled Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Fix default ghost assignee bug (#2069)Ethan Koenig2017-06-281-1/+1
|
* Fix "Dashboard shows deleted comments" (#1995)Jonas Franz2017-06-255-0/+73
|
* Load label ID in NewLabels (#2045)Ethan Koenig2017-06-252-4/+23
|
* Enable assignee e-mail notification (#2003)Győrvári Gábor2017-06-232-5/+23
| | | | | | | | | | | | * Enable assignee e-mail notification * Check assignee and doer to avoid self made comment notifications. * Assignee not always defined * New method to avoid error when assignee deleted * Assignee empty check
* Fix fast-forward PR bug (#1989)Ethan Koenig2017-06-221-3/+3
|
* Fix #2001 and fix issue comments hidden (#2016)Lunny Xiao2017-06-212-23/+56
| | | | | | | | | | | | | | * revert #2001 and fix issue comments hidden * fix #2001 * fix import * improve comment type * reduce unnecessary join * fix comment on FindCommentsOptions
* Refactor session close as xorm already does everything needed internally (#2020)Lauris BH2017-06-2123-74/+60
|
* Wrong PR merge commit ID saved (#2007)Lauris BH2017-06-191-1/+1
|
* Don't show non-comments in comments API (#2001)Ethan Koenig2017-06-181-0/+2
|
* Fix GPG email checking to be case insensitive (#1988)Lauris BH2017-06-172-2/+41
|
* fix bu ong normal user visit public repo (#1984)Lunny Xiao2017-06-171-1/+1
|
* Fix deleted milestone bug (#1942)Ethan Koenig2017-06-171-10/+4
| | | | | | | | * Fix deleted milestone bug * Use locale for ghost milestone name * Fix pointer bug
* Consolidate boilerplate in integration tests (#1979)Ethan Koenig2017-06-171-0/+2
|
* Fix search by issue type (#1914)Ethan Koenig2017-06-152-46/+46
| | | | * Fix search by issue type
* SQLite has a query timeout. Hopefully fixes most 'database locked' errors ↵Kim "BKC" Carlbäcker2017-06-151-1/+3
| | | | | | (#1961) * SQLite has a query timeout. Fixes 'database locked' errors
* fix collborators lack of units on orgnization repositories (#1968)Lunny Xiao2017-06-152-0/+47
| | | | | | * fix collborators lack of units on orgnization repositories * also change log level to debug
* Fix diff of renamed and modified file (#1967)Ethan Koenig2017-06-141-7/+6
|
* Switch to keybase go-crypto (for some elliptic curve key) + test (#1925)Antoine GIRARD2017-06-142-13/+34
| | | | | | | | | | | | * 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
* Fix bug in Action.loadRepo() (#1959)Ethan Koenig2017-06-141-1/+1
|
* Fix import order (#1951)Ethan Koenig2017-06-123-3/+5
|
* Merge pull request #1829 from ethantkoenig/no_branchesAndrey Nering2017-06-121-1/+1
|\ | | | | Commitless repos should be bare
| * Commitless repos should be bareEthan Koenig2017-05-281-1/+1
| |
* | Fix engine bug in getIssueByID (#1934)Ethan Koenig2017-06-111-1/+1
| |
* | Fix errors caused by force push (#1927)Ethan Koenig2017-06-101-6/+7
| |
* | Gracefully handle bare repositories on API operations. (#1932)Dennis Keitzel2017-06-101-1/+1
| | | | | | Signed-off-by: Dennis Keitzel <github@pinshot.net>
* | Fix ghost user bug (#1913)Ethan Koenig2017-06-091-0/+6
| | | | | | Fix bug where unassigned issues would appear to be assigned to a ghost user
* | Delete Public SSH Key tmp file after calculating fingerprint (#1855)Dan Magnus Lindvall2017-06-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Include formatting check to the `make test` (and thus also `check`) rule (#1366)Sandro Santilli2017-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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`
* | Make `LocalCopyPath` a setting instead of a hard-coded path (#1881)Phil Hopper2017-06-062-1/+26
| |
* | Migration to fix existing owner team units (#1873)Ethan Koenig2017-06-052-0/+27
| |
* | feat: add check misspelling (#1877)Bo-Yi Wu2017-06-051-1/+1
| |
* | Merge pull request #1874 from ethantkoenig/typo/issue_testAndrey Nering2017-06-041-11/+8
|\ \ | | | | | | Fix misspelled variables
| * | Fix misspelled variablesEthan Koenig2017-06-041-11/+8
| | |
* | | Run unused testEthan Koenig2017-06-042-6/+8
|/ /
* | Rename misnamed migration (#1867)Ethan Koenig2017-06-041-12/+0
| |
* | Display draft releases (#1854)Ethan Koenig2017-06-031-0/+8
| | | | | | | | | | | | | | | | * Display draft releases * Include ctx.User in user cache * Integration test
* | Fix bug in removeOrgRepo (#1858)Ethan Koenig2017-06-021-1/+1
| |
* | Fix user profile activity feed (#1848)Ethan Koenig2017-06-023-35/+62
| | | | | | | | | | | | * Fix user profile activity feed * gofmt, and avoid overlapping database connections
* | Don't ignore error in getMergeCommit (#1843)Ethan Koenig2017-05-311-3/+9
| |