summaryrefslogtreecommitdiffstats
path: root/routers/repo
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* fix releases count and resolved #764 (#857)Lunny Xiao2017-02-071-1/+1
|
* Add checkbox to search for all the branches by commit message (#813)Zsombor2017-02-051-1/+5
| | | and updating the vendor directory
* Redirects for renamed repos (#807)Ethan Koenig2017-02-051-0/+5
| | | | | | * Redirects for renamed repos * Remove unused phrase from locales
* Add units concept for modulable functions of a repository (#742)Lunny Xiao2017-02-043-24/+74
| | | | | | | | | | | | | | | | * Add units concept for modulable functions of a repository * remove unused comment codes & fix lints and tests * remove unused comment codes * use struct config instead of map * fix lint * rm wrong files * fix tests
* Track assignee for issue (#808)Lunny Xiao2017-02-031-0/+5
| | | | | | | | * track assignee for issue * fix lint * use getUserByID instead Get
* Drop redundant columns from issue_user table (#638)Ethan Koenig2017-02-031-16/+4
|
* Cleanup log messagingGabriel Jackson2017-02-021-3/+3
| | | | | | | | | This change corrects a few logging issues: * Standardized formatting errors with '%v'. * Standardized failure warning word usage. * Corrected an instance of using the standard log library when the gitea log library should be used instead.
* add milestone changed traker on issue view (#804)Lunny Xiao2017-02-011-13/+22
|
* Track labels changed on issue view & resolved #542 (#788)Lunny Xiao2017-01-302-156/+175
| | | | | | * track labels changed on issue view & resolved #542 * add missing head comment & sort & fix refresh
* Allow custom public files (#782)Thomas Boerger2017-01-282-3/+2
| | | | | | * Allow custom public files * Gofmt code, lots of places not related to this pr
* Notifying on open PR, and Close/Reopen/Merge issue or PRAndrey Nering2017-01-282-0/+8
|
* Add ability to fork your own repos (#761)Bwko2017-01-261-6/+0
|
* Search bar for issues/pulls (#530)Ethan Koenig2017-01-251-6/+28
|
* fixed bugs on Wiki and resolved #667 (#674)Lunny Xiao2017-01-211-10/+14
|
* Spun attachments into seperate go file (#701)Philip Couling2017-01-202-57/+73
| | | Moved attachments into seperate go file
* Attach to release (#673)Philip Couling2017-01-152-4/+23
| | | | | | | | | | | | | | * Moved attachaments POST url from /issues/attachments to /attachments * Implemented attachment upload on release page * Implemented downloading attachments on the release page * Added zip and gzip files to default allowed attachments * Implemented uploading attachments on edit release * Renamed UploadIssueAttachment to UploadAttachment
* bug fix releaseLunny Xiao2017-01-091-0/+5
|
* Make releases faster than before and resolved #490 (#588)Lunny Xiao2017-01-061-56/+46
| | | | | | * make releases faster than before and resolved #490 * fix comment
* Rename .gogs to .gitea and comply with github template guidelines (#568) (#582)Manuel Kuhlmann2017-01-052-4/+10
| | | Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>