summaryrefslogtreecommitdiffstats
path: root/routers/repo
Commit message (Collapse)AuthorAgeFilesLines
...
* | repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032)Lunny Xiao2017-06-221-18/+29
| |
* | Make branch deletion URL more like GitHub's, fixes #1397 (#1994)Lauris BH2017-06-213-67/+137
|/ | | | | | | | | | | | * 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-181-1/+4
|
* Fix deleted milestone bug (#1942)Ethan Koenig2017-06-171-0/+10
| | | | | | | | * Fix deleted milestone bug * Use locale for ghost milestone name * Fix pointer bug
* 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
|
* 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
* feat: add check misspelling (#1877)Bo-Yi Wu2017-06-051-1/+1
|
* Fix paginater length (#1866)Ethan Koenig2017-06-041-1/+1
|
* Fix 404 for external tracking issues (#1852)Ethan Koenig2017-06-032-0/+8
| | | | | | * 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
* Add Gitea Webhook (#1755)Rémy Boulanouar2017-05-291-2/+91
| | | | | | | | * Replace Gogs by Gitea * Fix missing changes * Create Gitea webhook and put Gogs webhook apart.
* 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)
* fix admin lost permission caused by #947Lunny Xiao2017-05-191-1/+1
|
* Add units to team (#947)Lunny Xiao2017-05-182-0/+27
| | | | | | | | | | | | | | | | | | * 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
* Show commit status icon in commits table (#1688)Lauris BH2017-05-072-0/+8
| | | | | | | | | | | | | | | | | | * 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
* Remove env user salt since no need to use (#1515)Lunny Xiao2017-05-061-1/+0
| | | | | | * remove env user salt since no need to use * remove unused variable from update.go
* Remove sha1 hash display in repository table and add latest commit GPG check ↵Lauris BH2017-05-051-0/+1
| | | | (#1678)
* Download files to their original filename (#1676)silverwind2017-05-051-0/+2
|
* fix: tag contain character ) will http 500 on release page (#1670)Bo-Yi Wu2017-05-041-0/+1
|
* fix multiple readme file rendering and fix #1657 (#1658)Lunny Xiao2017-05-021-3/+9
| | | | | | * fix multiple readme file rendering and fix #1657 * remove unnecessary loop
* Do not allow commiting to protected branch from online editor (#1502)Lauris BH2017-05-021-6/+53
| | | | | | * Do not allow commiting to protected branch from online editor * Add editor integration tests for adding new file and not allowing to add new file to protected branch
* fix bug on issue view when not login (#1624)Lunny Xiao2017-04-291-10/+14
| | | | | | | | | | * fix bug on issue view when not login * hide issue watch when not login * update the tests * fix test on issue
* Rework SSH key management UI to add GPG (#1293)Antoine GIRARD2017-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Rework SSH key management UI to add GPG * Add more detail to gpg key display * Update CHANGELOG.md * Implement deletion UI * Implement adding gpg UI * Various fixes - Fix duplicate entry in locale - Re-generate hash before verification since they are consumed * Add missing translation * Split template * Catch not found/verified email error
* Add markup package to prepare for org markup format (#1493)Lunny Xiao2017-04-212-14/+16
|
* fix go get sub package and add domain on installation to let go get work ↵Lunny Xiao2017-04-211-0/+25
| | | | | | | | | | defaultly (#1518) * fix go get sub package and add domain on installation to let go get work defaultly * fix import sequence * fix .git problem
* Fix empty file download (#1506)Lauris BH2017-04-201-1/+1
|
* Mirror sync interval specified as duration string (#1407)Jonas2017-04-081-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sync interval specifed as duration string * Changed mirror interval text * make fmt * Add MinInterval for mirror sync * Use duration internally * Changed min default to 10m * make fmt * Incorrect default * Removed defaults in MustDuration() * Add Mirror interval migration * Default values corrected * Use transaction during migration * Change http 500 to page with error message * Cleanup session.commit()
* Add copyright headersAndrey Nering2017-03-301-0/+4
|
* Add watch button on issueAndrey Nering2017-03-292-0/+48
|
* GPG commit validation (#1150)Antoine GIRARD2017-03-221-0/+5
| | | | | | | | | | | | * GPG commit validation * Add translation + some little fix * Move hash calc after retrieving of potential key + missing translation * Add some little test
* fix wiki bugs (#1294)Lunny Xiao2017-03-201-4/+16
|
* feat: Only use issue and wiki on repo. (#1297)Bo-Yi Wu2017-03-181-1/+8
|
* Add notice that LFS mirroring is not supported (#1251)Fabian Zaremba2017-03-161-0/+1
| | | | | | * Add notice that LFS mirroring is not supported * Drop German translation
* Batch updates for issues (#926)Ethan Koenig2017-03-152-37/+112
|
* Refactor and fix incorrect comment (#1247)Ethan Koenig2017-03-151-2/+2
|
* fix repo settings external tracker failed and check external urls (#1215)Lunny Xiao2017-03-131-2/+14
|
* fix UI display problem when wiki name is non-ascii charset (#1142)Lunny Xiao2017-03-081-2/+2
|
* fix compare button failed when there is no fork repos (#1104)Lunny Xiao2017-03-031-1/+1
|
* fix some typos (#1082)Lunny Xiao2017-02-281-1/+1
|
* Move push update to post-receive and protected branch check to pre-receive ↵Lunny Xiao2017-02-251-161/+35
| | | | | | | | | | | | (#1030) * move all push update to git hook post-receive and protected branch check to git hook pre-receive * add SSH_ORIGINAL_COMMAND check back * remove all unused codes * fix the import
* Oauth2 consumer (#679)Willem van Dreumel2017-02-221-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * initial stuff for oauth2 login, fails on: * login button on the signIn page to start the OAuth2 flow and a callback for each provider Only GitHub is implemented for now * show login button only when the OAuth2 consumer is configured (and activated) * create macaron group for oauth2 urls * prevent net/http in modules (other then oauth2) * use a new data sessions oauth2 folder for storing the oauth2 session data * add missing 2FA when this is enabled on the user * add password option for OAuth2 user , for use with git over http and login to the GUI * add tip for registering a GitHub OAuth application * at startup of Gitea register all configured providers and also on adding/deleting of new providers * custom handling of errors in oauth2 request init + show better tip * add ExternalLoginUser model and migration script to add it to database * link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed * remove the linked external account from the user his settings * if user is unknown we allow him to register a new account or link it to some existing account * sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers) * from gorilla/sessions docs: "Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!" (we're using gorilla/sessions for storing oauth2 sessions) * use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
* Protected branches system (#339)Denis Denisov2017-02-212-22/+223
| | | | | | | | | | | | | | | | | | | | * Protected branches system * Moved default branch to branches section (`:org/:reponame/settings/branches`). * Initial support Protected Branch. - Admin does not restrict - Owner not to limit - To write permission restrictions * reformat tmpl * finished the UI and add/delete protected branch response * remove unused comment * indent all the template files and remove ru translations since we use crowdin * fix the push bug
* Fix assigned issues dashboard (#920)Lunny Xiao2017-02-141-22/+1
| | | | | | | | | | | | | | | | | | | | | | * Fix assigned/created issues in dashboard. (#3560) * Fix assigned/created issues in dashboard. * Use GetUserIssueStats for getting all Dashboard stats. * Use gofmt to format the file properly. * Replace &Issue{} with new(Issue). * Check if user has access to given repository. * Remove unnecessary filtering of issues. * Return 404 error if invalid repository is given. * Use correct number of issues in paginater. * fix issues on dashboard
* Markdown rendering overhaul (#186)Andrew Boyarshin2017-02-141-41/+260
| | | | | | | | | | | | * Markdown rendering overhaul Cleaned up and squashed commits into single one. Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com> * Fix markdown API, add markdown module and API tests, improve code coverage Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* Fix HighlightJS not working on compare diff page (#914)Andrey Nering2017-02-131-0/+1
|
* Add delete branch track on pull request comments (#888)Lunny Xiao2017-02-112-2/+13
| | | | | | * add delete branch track on pull request comments * don't change vendor
* fix: trim the whitespaces for the search keyword (#893)Bo-Yi Wu2017-02-112-2/+3
|