summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix locking bug in removeOrgRepo (#1842)Ethan Koenig2017-06-011-1/+1
|
* Fix pull request compare link (#1832)Ethan Koenig2017-05-311-1/+9
| | | | | | * Fix pull request compare link * Integration test
* Fix status table race condition (#1835)Ethan Koenig2017-05-313-10/+5
|
* Update code.gitea.io/git (#1824)Ethan Koenig2017-05-304-7/+28
| | | | | | | | * Update code.gitea.io/git * Update function calls * govendor fetch
* Use ghost users in issues/PRs (#1831)Ethan Koenig2017-05-301-2/+8
|
* use writeTmpKeyFile in calcFingerprint (#1828)Timo Myyrä2017-05-291-10/+2
| | | this makes calcFingerprint use SSH.KeyTestpath instead of os temp dir.
* xxx_active_code_live setting in printed in hours and minutes instead … (#1814)Jonas Östanbäck2017-05-291-3/+3
| | | | | | * xxx_active_code_live setting in printed in hours and minutes instead of just hours * Update app.ini description of xxx_code_lives settings
* Add Gitea Webhook (#1755)Rémy Boulanouar2017-05-292-2/+12
| | | | | | | | * Replace Gogs by Gitea * Fix missing changes * Create Gitea webhook and put Gogs webhook apart.
* Fix invalid reference in feeds template (#1820)Ethan Koenig2017-05-271-0/+6
| | | | | | | | * Fix invalid reference in feeds template * Comment for GetActAvatar * Add integration test
* Fix 500 for GET /teams/:id endpoints (#1811)Ethan Koenig2017-05-261-24/+24
| | | | | | | | * Fix 500 for GET /teams/:id endpoints * Integration test for GET /team/:id * Clean up integration test
* Give all units to owner team (#1812)Ethan Koenig2017-05-261-0/+1
|
* Fix deadlock in updateRepository (#1813)Ethan Koenig2017-05-261-4/+8
|
* Fix activity feed (#1779)Ethan Koenig2017-05-269-147/+193
| | | | | | | | | | | | * Fix activity feed Preserve actions after user/repo name change * Add missing comment * Fix migration, and remove fields completely * Tests
* Adding #issuecomment to the URL in E-Mail notifications (#1674)Jonas Franz2017-05-253-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix bug not to trim space of login username (#1796)Lunny Xiao2017-05-251-1/+6
|
* Rename RepoCreationNum -> MaxCreationLimit (#1766)Jonas Östanbäck2017-05-241-2/+2
|
* Delete repo redirects on repo deletion (#1776)Ethan Koenig2017-05-231-0/+1
|
* Fix unloaded owner (#1770)Ethan Koenig2017-05-211-2/+3
|
* Fix and test for delete user (#1713)Ethan Koenig2017-05-207-57/+112
| | | | | | | | * Fix and test for delete user * Run updates in batches * Unit test
* Admin should always be allowed to create repos even if hit limit (#1765)Jonas Östanbäck2017-05-201-0/+3
|
* fixes wrong after field in webhook payload (#1746)Kim "BKC" Carlbäcker2017-05-191-1/+1
|\
| * fixes wrong after field in webhook payloadDiep Pham2017-05-181-1/+1
| | | | | | | | when merge pull request
* | fix admin lost permission caused by #947Lunny Xiao2017-05-191-6/+6
| |
* | Add units to team (#947)Lunny Xiao2017-05-189-33/+174
|/ | | | | | | | | | | | | | | | | | * 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
* fix avatar update bug (#1729)Lunny Xiao2017-05-161-0/+1
|
* Add new text for reset password flash (#1718)Jonas Östanbäck2017-05-141-2/+2
| | | | | * 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
* gofmt (#1710)Ethan Koenig2017-05-121-1/+1
|
* Added Parent property to the repo API (#1687)guyzmo2017-05-121-0/+16
| | | Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
* Don't recreate database in integration tests (#1697)Ethan Koenig2017-05-111-0/+1
|
* LDAP user synchronization (#1478)Lauris BH2017-05-104-18/+187
|
* Improve dashboard repo search (#1652)Andrey Nering2017-05-091-3/+0
| | | | | | | | | | * Add VueJS * Improve dashboard search * Fix tab switching * Fix input autofocus
* Add configuration option for default permission to create Organizations (#1686)Lauris BH2017-05-081-1/+1
|
* fix potential sqlite lock #1680Kim "BKC" Carlbäcker2017-05-081-9/+7
|\
| * fix potential sqlite lockLunny Xiao2017-05-051-9/+7
| |
* | Show commit status icon in commits table (#1688)Lauris BH2017-05-071-4/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show commit status icon in commits table * Add comments * Fix icons * Few more places where commit table is displayed * Change integration test to use goquery for parsing html * Add integration tests for commit table and status icons * Fix status to return lates status correctly on all databases * Rewrote lates commit status selects