summaryrefslogtreecommitdiffstats
path: root/routers
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* bug fixed for fork repos (#560)Lunny Xiao2017-01-031-1/+1
|
* build failed by deleting release by API (#562)Lunny Xiao2017-01-031-1/+1
|
* change the default action when deleting a release to not delete tagLunny Xiao2017-01-031-1/+2
|
* Release API endpointsEthan Koenig2017-01-022-0/+193
|
* UI config to toggle whether user email shows up in Explore Users (#336)Thiago Avelino2017-01-011-0/+1
| | | | | | | | | | | | | | | | | | * UI config to toggle whether user email shows up in Explore Users * Recommendation made by @tboerger https://github.com/go-gitea/gitea/pull/336/commits/66a1c59fe730eff019ce100673c6800cce7d102d#r94122732 * fixed typo, rename ShowUserEmailInExplore to ShowUserEmail * Fixed typo merged conflict * Hide email in the user profile page if you are active ShowUserEmail ref https://github.com/go-gitea/gitea/pull/336#issuecomment-269843725 * Please replace MustBool() with MustBool(true)
* Restrict creating organisations by user (#193)Schwobaland2016-12-312-0/+9
| | | | | | | | | | | | | | | | | | | | | | * restrict creating organizations based on right on user * revert bindata.go * reverse vendor lib * revert goimports change * set AllowCreateOrganization default value to true * revert locale * added default value for AllowCreateOrganization * fix typo in migration-comment * fix comment * add coments in migration
* API endpoints for forks (#509)Ethan Koenig2016-12-312-0/+63
|
* fix gofmt errorBo-Yi Wu2016-12-302-5/+5
| | | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Notification - Step 1 (#523)Andrey Nering2016-12-311-0/+5
| | | | | | | | * Notification - Step 1 * Add copyright headers * Cache issue and repository on notification model
* push + pull now works with reverse proxy + basic auth on apache 2.4Gogs2016-12-291-62/+75
|
* 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