aboutsummaryrefslogtreecommitdiffstats
path: root/routers
Commit message (Collapse)AuthorAgeFilesLines
* Fix release display and correct paging (#2080)Lauris BH2017-06-292-17/+15
|
* Pagination on releases page (#2035)iszla2017-06-281-2/+8
| | | | | | | | | | | | | | | | | | | | | | * 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
* Fix: `http: multiple response.WriteHeader calls` (#2038)Shuanglei Tao2017-06-281-1/+0
| | | We can't change the http status code here, because the response has been written.
* Make time diff translatable (#2057)Lauris BH2017-06-285-10/+10
|
* Fix "Dashboard shows deleted comments" (#1995)Jonas Franz2017-06-252-3/+4
|
* Integration tests for issues API (#2059)Ethan Koenig2017-06-251-15/+13
|
* Load label ID in NewLabels (#2045)Ethan Koenig2017-06-252-2/+2
|
* Fix bug in issue labels API (#2048)Ethan Koenig2017-06-251-2/+2
|
* Fix displaying commits and files of PR created from now deleted fork (#2023)Kim "BKC" Carlbäcker2017-06-221-6/+14
|\ | | | | Fix displaying commits and files of PR created from now deleted fork
| * Fix displaying commits and files of PR created from now deleted forked ↵Lauris Bukšis-Haberkorns2017-06-211-6/+14
| | | | | | | | repository
* | repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032)Lunny Xiao2017-06-221-18/+29
| |
* | Display config file path on admin panel (#2030)Lunny Xiao2017-06-221-0/+1
| |
* | Fix #2001 and fix issue comments hidden (#2016)Lunny Xiao2017-06-211-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * revert #2001 and fix issue comments hidden * fix #2001 * fix import * improve comment type * reduce unnecessary join * fix comment on FindCommentsOptions
* | Make branch deletion URL more like GitHub's, fixes #1397 (#1994)Lauris BH2017-06-214-70/+138
|/ | | | | | | | | | | | * Make branch deletion URL more like GitHub's, fixes #1397 * Add PR branch deletion integration test * Do not allow deleting protected branch * Change http error code to 403 if user has no write rights to repository * Add check to not panic if forked repository has alrady been deleted
* Let not-logged-in users view releases (#1999)Ethan Koenig2017-06-182-4/+9
|
* fix misspell (#1996)Bo-Yi Wu2017-06-181-1/+1
| | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Fix deleted milestone bug (#1942)Ethan Koenig2017-06-171-0/+10
| | | | | | | | * Fix deleted milestone bug * Use locale for ghost milestone name * Fix pointer bug
* Separate generate swagger + fix sed os specific (#1791)Antoine GIRARD2017-06-151-4/+0
| | | | | | | | | | | | | | | | | * Separate generate-swagger * Remove go generate rules * Add missing definition replacement + remove use of -i sed flag for compatibility with mac os default sed version. This is a little hacky a better solution could be use. * Use custom SED_INPLACE depending of platform detection * Use SED_INPLACE for swagger-ui also
* Fix search by issue type (#1914)Ethan Koenig2017-06-151-1/+11
| | | | * Fix search by issue type
* Fix uppercase default branch bug (#1965)Ethan Koenig2017-06-141-3/+5
|
* Add repo fork swagger (#1941)Jonas Östanbäck2017-06-121-0/+20
|
* Gracefully handle bare repositories on API operations. (#1932)Dennis Keitzel2017-06-102-1/+11
| | | Signed-off-by: Dennis Keitzel <github@pinshot.net>
* Support CRLF when splitting code lines for display (#1862)silverwind2017-06-101-1/+5
| | | | | | | | | | | | * Support CRLF when splitting code lines for display * refactor, fix mixed match * fmt * split on both LF and CRLF, use raw literals in regexes * simplify
* Fix 500 in public activity page (#1901)Ethan Koenig2017-06-081-1/+5
|
* Cache ctx.User in retrieveFeeds (#1902)Ethan Koenig2017-06-081-0/+3
|
* Merge pull request #1905 from ethantkoenig/fix/org_api_authAndrey Nering2017-06-071-7/+7
|\ | | | | Require token before checking membership/ownership
| * Require token before checking membership/ownershipEthan Koenig2017-06-071-7/+7
| |
* | Merge pull request #1904 from ethantkoenig/fix/org_apiAndrey Nering2017-06-071-10/+23
|\ \ | | | | | | Bug fixes for org member API
| * | Bug fixes for org member APIEthan Koenig2017-06-071-10/+23
| |/
* / A missing / to provide a correct endpointcamlafit2017-06-071-1/+1
|/ | | solve #1899
* feat: add check misspelling (#1877)Bo-Yi Wu2017-06-053-3/+3
|
* gofmt (#1868)Ethan Koenig2017-06-041-1/+0
|
* Fix paginater length (#1866)Ethan Koenig2017-06-041-1/+1
|
* Fix 404 for external tracking issues (#1852)Ethan Koenig2017-06-033-6/+15
| | | | | | * Fix 404 for external tracking issues * Fix 404 for new/upload file
* Display draft releases (#1854)Ethan Koenig2017-06-031-75/+23
| | | | | | | | * Display draft releases * Include ctx.User in user cache * Integration test
* Display all organization from user settings (#1739)Rémy Boulanouar2017-06-022-0/+15
| | | | | | | | | | | | | | * Display all organization from user settings * fix Tab selection * Update locale_en-US.ini * Add a condition for display Create organization button * Remove french translation * Remove unnecessary admin flag
* Fix change introduce by update of go-swagger. (#1727)Antoine GIRARD2017-06-011-0/+1
|
* Fix user profile activity feed (#1848)Ethan Koenig2017-06-022-13/+12
| | | | | | * Fix user profile activity feed * gofmt, and avoid overlapping database connections
* xxx_active_code_live setting in printed in hours and minutes instead … (#1814)Jonas Östanbäck2017-05-294-9/+9
| | | | | | * 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-6/+99
| | | | | | | | * Replace Gogs by Gitea * Fix missing changes * Create Gitea webhook and put Gogs webhook apart.
* Merge pull request #1750 from andreynering/dashboard-search-org-reposAndrey Nering2017-05-271-0/+3
|\ | | | | More fixes for dashboard search
| * Fix testAndrey Nering2017-05-181-1/+1
| | | | | | | | There was a panic when there's no logged in user
| * Show repos acording to user/organizationAndrey Nering2017-05-181-1/+3
| |
| * Fix org repos not showing on dashboard searchAndrey Nering2017-05-181-0/+1
| |
* | Fix 500 for GET /teams/:id endpoints (#1811)Ethan Koenig2017-05-261-1/+1
| | | | | | | | | | | | | | | | * Fix 500 for GET /teams/:id endpoints * Integration test for GET /team/:id * Clean up integration test
* | fix bug to deny to add orgnization as a member of an orgnization or team (#1815)Lunny Xiao2017-05-262-0/+12
| |
* | Fix activity feed (#1779)Ethan Koenig2017-05-261-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | * Fix activity feed Preserve actions after user/repo name change * Add missing comment * Fix migration, and remove fields completely * Tests
* | Fix renaming bug (#1786)Ethan Koenig2017-05-241-1/+1
| |
* | Rename RepoCreationNum -> MaxCreationLimit (#1766)Jonas Östanbäck2017-05-241-1/+1
| |
* | Add error direclty when user tries to create new repo and limit already hit ↵Jonas Östanbäck2017-05-201-0/+4
| | | | | | | | (#1767)