aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
Commit message (Collapse)AuthorAgeFilesLines
* Notifications - Step 2Andrey Nering2016-12-301-0/+4
|
* Tab on user profile to show starred repos (#519)Andrey Nering2016-12-291-1/+0
| | | | | | | | | | | | | | * 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
* commithgraph / timeline (#428)Kjell Kvinge2016-12-291-0/+1
| | | | | | | | | | * Add model and tests for graph * Add route and router for graph * Add assets for graph * Add template for graph
* Git LFS support v2 (#122)Fabian Zaremba2016-12-262-1/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-251-0/+1
| | | | | | * provide button to delete merged pull request * golint fix
* Bindata is optional and over-writable on restart (#354)Thomas Boerger2016-12-221-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved conf assets into options folder * Dropped old bindata * Started to integrate options bindata and accessors * Do not enforce a builtin app.ini * Replaced bindata calls with options * Dropped bindata task from makefile, it's the generate task now * Always embedd app.ini to provide sane config defaults * Use sane defaults for the configuration * Defined default value for SSH_KEYGEN_PATH * Dropped "NEVER EVER MODIFY THIS FILE" header from app.ini * Fixed new paths in latest test additions * Drop bindata with make clean task * Set more proper default values
* update code.gitea.io/git (#450)Lunny Xiao2016-12-221-1/+1
|
* Remove remaining Gogs reference on locales and cmd (#430)Joubert RedRat2016-12-215-18/+21
|
* Fixes panic when there's no user initialized (#358)Bwko2016-12-061-2/+2
|
* Integrate templates into bindata optionally (#314)Thomas Boerger2016-12-061-55/+3
| | | Integrated optional bindata for the templates
* Fixes #316Antonio Facciolo2016-12-052-1/+5
| | | | | | | | | | | | | | | Export Pusher name as GITEA_PUSHER_NAME env variable Export also GITEA_UUID, but keep the uuid env variable for backward compatibility export pusher name ENV variable #316 change env variable prefix to GITEA_ Signed-off-by: Antonio Facciolo <afdev82@gmail.com> Export also GITEA_UUID #316 Keep uuid env variable for backward compatibility
* Catch os... errorsBwko2016-12-023-6/+11
|
* Get rid of bin folder within makefile, enabled TiDB (#319)Thomas Boerger2016-12-012-32/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Integrate public as bindata optionally (#293)Thomas Boerger2016-11-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | * Dropped unused codekit config * Integrated dynamic and static bindata for public * Ignore public bindata * Add a general generate make task * Integrated flexible public assets into web command * Updated vendoring, added all missiong govendor deps * Made the linter happy with the bindata and dynamic code * Moved public bindata definition to modules directory * Ignoring the new bindata path now * Updated to the new public modules import path * Updated public bindata command and drop the new prefix
* golint fixed for modules/authLunny Xiao2016-11-271-1/+1
|
* Merge pull request #270 from andreynering/gitea/http-headers-downloadAndrey Nering2016-11-271-5/+1
|\ | | | | Fix HTTP headers for issue attachment download
| * Fix HTTP headers for issue attachment downloadAndrey Nering2016-11-261-5/+1
| | | | | | | | | | - 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-271-9/+9
|/ | | | | | * golint fixed for modules/setting * typo fixed and renamed UNIXSOCKET to UnixSocket
* fix gofmt error.Bo-Yi Wu2016-11-153-3/+3
| | | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Remember diff view style (#163)Andrey Nering2016-11-131-3/+3
|
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-105-29/+29
| | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
* Improve formatting of admin commandMatthias Loibl2016-11-091-2/+4
| | | | Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Use cli Flags directly and not some helper funcsMatthias Loibl2016-11-098-69/+91
| | | | Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* And othersSandro Santilli2016-11-071-1/+1
|
* ACCESS_MODE_* -> AccessMode*Sandro Santilli2016-11-071-7/+7
|
* Dropped client from version checkThomas Boerger2016-11-071-2/+0
|
* Replace gogits/git-module dependency with go-gitea/git (#94)Sandro Santilli2016-11-062-3/+3
| | | | | | | | * Replace gogits/git-module dependency with go-gitea/git Fixes #92 * Remove git alias for git module import (not needed)
* Merge branch 'master' into feature/goimportsSandro Santilli2016-11-051-6/+7
|\
| * Refactor editorconfig middlewareAndrey Nering2016-11-051-6/+7
| |
* | Add missing version & gogs packageMatthias Loibl2016-11-051-0/+2
| |
* | Fix imports found by goimports.Matthias Loibl2016-11-051-17/+13
|/
* Fixed "net.UnixAddr composite literal uses unkeyed fields"Thomas Boerger2016-11-041-1/+1
|
* Made linter happy in cmd folderThomas Boerger2016-11-047-5/+14
|
* Merge branch 'master' into fix/3743-route-regexp-branchnameLunny Xiao2016-11-045-26/+26
|\
| * Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-035-26/+26
| |
* | Restore whitespaceThibault Meyer2016-11-031-1/+1
| |
* | Fix SHA regexp and commit comparisonsThibault Meyer2016-11-031-4/+4
|/
* #3590 fix 404 for release draft editionUnknwon2016-09-031-2/+18
| | | | Closes #3591
* Add the ability to explore organizations (#3573)Daniel Oaks2016-09-011-0/+1
| | | | | | * Add ability to explore organizations * Use right icon for org explore links
* Minor code fix [CI SKIP]Unknwon2016-08-311-2/+7
|
* Fix import pathUnknwon2016-08-301-1/+1
|
* #3548 disable issue cannot edit label and milestonefor pull requestsUnknwon2016-08-301-2/+2
|
* Web editor: support upload filesUnknwon2016-08-301-4/+12
|
* codegangsta/cli => urfave/cli (#3546)Kim "BKC" Carlbäcker2016-08-307-7/+7
|
* Bump git-module required versionUnknwon2016-08-291-1/+1
|
* Load a set of predefined labels (#3459)Thibault Meyer2016-08-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | * Can use a predefined set of labels * Change UI * Fix HTML file indentation * Avoid reading file from other directory (security issue) * Apply a better fix * Remove not used variable * Merge upstream/develop * Do modifications * Raname * remove binding + rename variable
* Web editor: disallow edit mirror repositoryUnknwon2016-08-281-1/+1
|
* Web editor: improve delete file processUnknwon2016-08-281-1/+2
|
* #3505 use user’s info for committer and authorUnknwon2016-08-271-1/+1
|
* #3383 code cleanupUnknwon2016-08-241-1/+1
|