summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Webhooks for repo creation/deletion (#1663)Ethan Koenig2017-09-035-25/+135
| | | | | | | | * Webhooks for repo creation/deletion * add createHookTask * Add handles for GetSlackPayload and GetDiscordPayload
* fix orgnization webhooks (#2422)Lunny Xiao2017-08-302-5/+16
| | | | | | * fix org webhooks * remove trace code
* some refactors for issue and comments (#2419)Lunny Xiao2017-08-304-14/+30
|
* fix webhook test (#2415)Lunny Xiao2017-08-291-44/+53
| | | | | | | | * fix webhook test * fix error message * fix typo
* Fix releases to be counted from database not tags (#2389)Lauris BH2017-08-281-1/+1
|
* Fix tests code to prevent some runtime errors (#2381)Morlinest2017-08-2814-149/+179
| | | | | | * Fix tests code to prevent some runtime errors * Reduce nesting
* Implementation of discord webhook (#2402)Lunny Xiao2017-08-282-8/+277
| | | | | | | | | | | | * implementation of discord webhook * fix webhooks * fix typo and unnecessary color values * fix typo * fix imports and revert changes to webhook_slack.go
* fix duplicated feed (#2370)Lunny Xiao2017-08-281-8/+1
|
* Fix "index out of range" runtime error in repo_list tests (#2376)Morlinest2017-08-281-2/+6
|
* Add UseCompatSSHURI setting (#2356)Manuel2017-08-261-0/+3
| | | | | | | | | | | | | | | | * Add UseCompatSSHURI setting Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com> (+1 squashed commits) Squashed commits: [dda2dc79] Add ForceCloneSSHURL setting Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com> * Make protocol if construct more readable Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com>
* Fix missing collabrative repos (#2367)Lunny Xiao2017-08-241-24/+26
| | | | | | | | * fix missing collabrative repos * fix bug of collabrative * fix SQL quotes
* Add possibility to record branch or tag information in an issue (#780)Zsombor2017-08-241-0/+1
|
* Add more test for login links and fix a bug on action retrieve (#2361)Lunny Xiao2017-08-231-1/+1
| | | | * add more test for login links and fix a bug on action retrieve
* Fix SQL condition bug in GetFeeds(..) (#2360)Ethan Koenig2017-08-231-4/+5
|
* Add collaborative repositories to the dashboard (#2205)Bwko2017-08-233-38/+50
| | | | | | | | | | * Add collaborative repositories to the dashboard Remove some unused code from the Dashboard func * fix some bug and some refactor * fix tests
* update latest xorm version to vendor (#2353)Lunny Xiao2017-08-221-1/+1
|
* 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
|