summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
* Trigger sync webhooks on UI commit (#2302)Ethan Koenig2017-08-172-47/+79
| | | | | | * Trigger sync webhooks on UI commit * Also fix UI upload/delete
* Only update needed columns when update user (#2296)Lunny Xiao2017-08-121-4/+29
| | | | | | * only update needed columns when update user * fix missing update_unix column
* fix 500 error when view an issue which's milestone deleted (#2297)Lunny Xiao2017-08-121-1/+1
|
* Convert xorm literal queries to method calls (#2253)G2017-08-042-4/+2
|
* Fix counts on issues dashboard (#2215)Ethan Koenig2017-08-035-32/+69
| | | | | | | | | | * Fix counts on issues dashboard * setupSess -> setupSession * Unit test * Load repo owners for issues
* EnableUnit() -> UnitEnabled() (#2242)Ethan Koenig2017-08-022-5/+5
|
* Replace calls to xorm UseBool with Where (#2237)G2017-08-012-9/+4
|
* Fix bare-repo bugs (#2199)Ethan Koenig2017-07-272-1/+8
| | | | | | | | * Fix bare-repo bugs * Integration tests * Unused import
* Fix issue updated_unix bug (#2204)Ethan Koenig2017-07-275-0/+73
|
* Fix unclosed session bug (#2214)Ethan Koenig2017-07-261-1/+1
|
* Fix compiling without sqlite and gcc (#2177)Lauris BH2017-07-262-18/+19
|
* Fix PR nil-dereference bug (#2195)Ethan Koenig2017-07-262-7/+91
| | | | | | * Fix PR nil-dereference bug * Revert to original error format
* Fix key usage time update if the key is used in parallel for multiple ↵Lauris BH2017-07-201-4/+9
| | | | operations (#2185)
* Remove unit types commits and settings (#2161)Lauris BH2017-07-1710-77/+114
| | | | | | | | | | * Remove unit types commits and settings * Can not limit units in administrator teams * Limit changing units only to teams with read and write access mode * Small code optimization
* Ignore invalid issue numbers in commit messages. Fixes #2022 (#2150)Lauris BH2017-07-123-5/+6
|
* Fix username rendering bug (#2122)Ethan Koenig2017-07-123-4/+34
| | | | | | | | * Fix username rendering bug * XSS integration test * Migration to unescape user full names
* Improve org error handling (#2117)Antoine GIRARD2017-07-064-7/+21
| | | | | | | | | | * Improve ErrOrgNotExist type Return new error type Use good error check Use new method to check error Update tests * Fix unchanged method name report
* Fix unchecked error bug (#2110)Ethan Koenig2017-07-041-1/+4
|
* 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