summaryrefslogtreecommitdiffstats
path: root/routers
Commit message (Collapse)AuthorAgeFilesLines
* Tab on user profile to show starred repos (#519)Andrey Nering2016-12-291-5/+8
| | | | | | | | | | | | | | * Tab on user profile to show starred repos * Make golint happy and use transactions on StarRepo function * x -> sess * Use sess.Close() instead of sess.Rollback() * Add copyright * Fix lint
* Cache users on list releases (#527)Lunny Xiao2016-12-291-14/+22
|
* Repo permission bug fixes (#513)Ethan Koenig2016-12-292-5/+7
|
* commithgraph / timeline (#428)Kjell Kvinge2016-12-291-0/+27
| | | | | | | | | | * Add model and tests for graph * Add route and router for graph * Add assets for graph * Add template for graph
* Permissions bug fix for webhooksEthan Koenig2016-12-281-1/+1
|
* API endpoints for organization teams (#370)Ethan Koenig2016-12-283-0/+70
|
* Remove redundant query in collaborator API (#516)Ethan Koenig2016-12-281-24/+4
|
* fix installation page ssh domain unavilableLunny Xiao2016-12-271-2/+2
|
* Improve the way how branches are deletedBwko2016-12-262-11/+51
| | | | | | Delete branch from HeadRepo instead of BaseRepo Prevent the deletion of a master branch Show a yes/no overlay when you press the delete branch button
* API Endpoints for collaborators (#375)Ethan Koenig2016-12-262-1/+99
|
* Git LFS support v2 (#122)Fabian Zaremba2016-12-262-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Import github.com/git-lfs/lfs-test-server as lfs module base Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198 Removed: Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go .dockerignore .gitignore README.md * Remove config, add JWT support from github.com/mgit-at/lfs-test-server Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83 * Add LFS settings * Add LFS meta object model * Add LFS routes and initialization * Import github.com/dgrijalva/jwt-go into vendor/ * Adapt LFS module: handlers, routing, meta store * Move LFS routes to /user/repo/info/lfs/* * Add request header checks to LFS BatchHandler / PostHandler * Implement LFS basic authentication * Rework JWT secret generation / load * Implement LFS SSH token authentication with JWT Specification: https://github.com/github/git-lfs/tree/master/docs/api * Integrate LFS settings into install process * Remove LFS objects when repository is deleted Only removes objects from content store when deleted repo is the only referencing repository * Make LFS module stateless Fixes bug where LFS would not work after installation without restarting Gitea * Change 500 'Internal Server Error' to 400 'Bad Request' * Change sql query to xorm call * Remove unneeded type from LFS module * Change internal imports to code.gitea.io/gitea/ * Add Gitea authors copyright * Change basic auth realm to "gitea-lfs" * Add unique indexes to LFS model * Use xorm count function in LFS check on repository delete * Return io.ReadCloser from content store and close after usage * Add LFS info to runWeb() * Export LFS content store base path * LFS file download from UI * Work around git-lfs client issue with unauthenticated requests Returning a dummy Authorization header for unauthenticated requests lets git-lfs client skip asking for auth credentials See: https://github.com/github/git-lfs/issues/1088 * Fix unauthenticated UI downloads from public repositories * Authentication check order, Finish LFS file view logic * Ignore LFS hooks if installed for current OS user Fixes Gitea UI actions for repositories tracking LFS files. Checks for minimum needed git version by parsing the semantic version string. * Hide LFS metafile diff from commit view, marking as binary * Show LFS notice if file in commit view is tracked * Add notbefore/nbf JWT claim * Correct lint suggestions - comments for structs and functions - Add comments to LFS model - Function comment for GetRandomBytesAsBase64 - LFS server function comments and lint variable suggestion * Move secret generation code out of conditional Ensures no LFS code may run with an empty secret * Do not hand out JWT tokens if LFS server support is disabled
* Provide button to delete merged pull request (#441)Lunny Xiao2016-12-252-0/+28
| | | | | | * provide button to delete merged pull request * golint fix
* Organization webhook API endpointsEthan Koenig2016-12-254-134/+316
|
* Added sorting to organizations, repos & users page (#222)Bwko2016-12-244-20/+58
|
* Added sorting to the labels & milestones page (#199)Bwko2016-12-242-7/+10
|
* Added minimum password length to app.ini (#223)Bwko2016-12-241-3/+8
|
* Bug fixes for Issues filters (#413)Ethan Koenig2016-12-242-38/+47
| | | Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
* API Endpoint for watching (#191)Ethan Koenig2016-12-242-0/+132
|
* Enables mssql support (#383)btrepp2016-12-241-2/+4
| | | | | | | | | | | | | | | | | | | * Enables mssql support Port of dlobs work in gogs. Enables options in index.js Enables MSSQL as a database option in go. Sets ID to 0 on initial migration. Required for MSSQL insert statements. Signed-off-by: Beau Trepp <beautrepp@gmail.com> * Vendors in denisenkom/go-mssqldb Includes golang.org/x/crypto/md4 as this is required by go-msssqldb Signed-off-by: Beau Trepp <beautrepp@gmail.com>
* resolved #394 (#396)Lunny Xiao2016-12-231-0/+3
|
* Check if file is a symlink with web editor (#3687) (#445)Lunny Xiao2016-12-221-0/+5
| | | | | | | | | | | | * Check if file is a symlink with web editor (#3687) * editor checks for symlinks * translate file_is_a_symlink message * credit translation author * fix error constant
* New settings option for a custom SSH host (#3763) (#446)Lunny Xiao2016-12-221-2/+2
| | | | | | * New settings option for a custom SSH host (#3763) * let default ssh listen addr empty
* update code.gitea.io/git (#450)Lunny Xiao2016-12-223-5/+5
|
* Bug fixes and tests for modules/base (#442)Ethan Koenig2016-12-221-1/+4
| | | Also address other TODOs
* issue comment api fix (#449)Kim "BKC" Carlbäcker2016-12-222-1/+53
| | | | | | * ListAllInRepo & Delete Issue-Comments * Moar data in issue-comments
* Fix string format verbs (#3637)Alexander Lunegov2016-12-221-1/+1
|
* Fix random string generator (#384)Denis Denisov2016-12-205-17/+46
| | | | | | | | | | | * Remove unused custom-alphabet feature of random string generator Fix random string generator Random string generator should return error if it fails to read random data via crypto/rand * Fixes variable (un)initialization mixed assign Update test GetRandomString
* serve video files using the HTML5 video tag (#418)Nico Mandery2016-12-201-0/+2
| | | | | | * serve video files using the HTML5 video tag * lint fix: add comment to IsVideoFile
* fixed vulnerabilities on deleting release (#399)Lunny Xiao2016-12-161-1/+1
|
* fixed vulnerabilities (#392)Lunny Xiao2016-12-152-2/+3
|
* Bug fix for edit-hook API endpointEthan Koenig2016-12-091-2/+8
|
* Bug fixes for repo permissions in APIEthan Koenig2016-12-073-12/+26
| | | | Also move duplicated code into repo.APIFormat(..)
* Integrate templates into bindata optionally (#314)Thomas Boerger2016-12-063-6/+6
| | | Integrated optional bindata for the templates
* [API] Pull Requests (#248)Kim "BKC" Carlbäcker2016-12-022-0/+448
|
* LintingKim "BKC" Carlbäcker2016-12-021-2/+2
|
* GitHub API Compliance (& linting)Kim "BKC" Carlbäcker2016-12-023-8/+31
|
* Add undocumented endpoint for /repositories/:idKim "BKC" Carlbäcker2016-12-022-0/+17
|
* Added rel="noopener" to target="_blank" hrefs (#327)Bwko2016-12-021-1/+1
| | | | | | * Added rel="noopener" to target="_blank" hrefs * Replaced gogs.io/docs with docs.gitea.io
* Resolved #296 (#324)Lunny Xiao2016-12-011-20/+34
| | | | | | * resolved #296 * Indentation fixed
* resolved #310: hide fork to self (#323)Lunny Xiao2016-12-011-0/+1
|
* Get rid of bin folder within makefile, enabled TiDB (#319)Thomas Boerger2016-12-011-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * Get rid of the bin folder within the build process Signed-off-by: Thomas Boerger <thomas@webhippie.de> * Dropped latest make task, it is unused Signed-off-by: Thomas Boerger <thomas@webhippie.de> * Added tidb tag to drone config Signed-off-by: Thomas Boerger <thomas@webhippie.de> * Dropped the cert build tag Signed-off-by: Thomas Boerger <thomas@webhippie.de> * Dropped useless minwinsvc build tag Signed-off-by: Thomas Boerger <thomas@webhippie.de> * Dropped the useless build tags from drone config Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Fix breakage from vendor-updateKim "BKC" Carlbäcker2016-11-293-3/+3
|
* golint fixed for modules/authLunny Xiao2016-11-275-11/+11
|
* Fixes typosBwko2016-11-274-4/+4
|
* Merge pull request #270 from andreynering/gitea/http-headers-downloadAndrey Nering2016-11-271-7/+13
|\ | | | | Fix HTTP headers for issue attachment download
| * Fix Chrome not liking commasAndrey Nering2016-11-261-0/+4
| |
| * Fix HTTP headers for issue attachment downloadAndrey Nering2016-11-261-7/+9
| | | | | | | | | | - Download filename was wrong for files other than images. Example: It was `download` instead of `file.pdf` - PDF was downloading instead of showing on browser
* | Golint fixed for modules/setting (#262)Lunny Xiao2016-11-2722-88/+88
|/ | | | | | * golint fixed for modules/setting * typo fixed and renamed UNIXSOCKET to UnixSocket
* Merge pull request #254 from lunny/lunny/golint_modules_contextThomas Boerger2016-11-251-1/+1
|\ | | | | Golint fixed for modules/context
| * Golint fixed for modules/contextLunny Xiao2016-11-251-1/+1
| |