summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix URL link on CONTRIBUTINGThibault Meyer2016-12-301-1/+1
| | | | Signed-off-by: Thibault Meyer <meyer.thibault@gmail.com>
* Notification - Step 1 (#523)Andrey Nering2016-12-315-11/+349
| | | | | | | | * 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
|
* Speed up conflict checking in pull request creation (#276)typeless2016-12-291-8/+15
| | | | | | | | | | | | | | | | | | * Speed up conflict checking in pull request creation In order to check conflicts of a PR, we set up a working tree by cloning the base branch, which is quite time-consuming when the repository is huge. Instead, this PR uses `git read-tree` and `git apply --check --cached` to check conflicts. For #258 * Use $GIT_INDEX_FILE instead of --index-output to avoid lockfile problem The lockfile gets renamed to the final destination after the operation finishes. But it must be located in the same filesystem, which prevents us from using /tmp. * Temporary file names should not prefixed with '-'
* Tab on user profile to show starred repos (#519)Andrey Nering2016-12-297-76/+115
| | | | | | | | | | | | | | * 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-293-35/+7
|
* add default values for SSH settings (#500)Lunny Xiao2016-12-291-25/+31
|
* slight optimization for GetUserRepositories (#498)Lunny Xiao2016-12-291-8/+11
|
* commithgraph / timeline (#428)Kjell Kvinge2016-12-2910-2/+673
| | | | | | | | | | * 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
|
* Implementation of Folder JumpingSl@ny2016-12-286-5/+54
|
* Replace Gogs with Gitea (#520)Bwko2016-12-288-29/+29
|
* API endpoints for organization teams (#370)Ethan Koenig2016-12-283-0/+70
|
* Optimization for user.GetRepositoryAccesses to reduce db query times (#495)Lunny Xiao2016-12-281-18/+27
| | | | | | * optimization for user.GetRepositoryAccesses to reduce db query times * fix missing cache
* Remove redundant query in collaborator API (#516)Ethan Koenig2016-12-281-24/+4
|
* ignore static files statstics for linguistLunny Xiao2016-12-271-0/+6
|
* Merge pull request #508 from joubertredrat/fix-cookie-nameAndrey Nering2016-12-272-3/+3
|\ | | | | Fix default cookie name
| * Fix default cookie nameJoubert RedRat2016-12-272-3/+3
|/
* Merge pull request #487 from Bwko/NLAndrey Nering2016-12-272-1/+38
|\ | | | | Added Dutch translations to the landingpage
| * Added Dutch translations to the landingpageBwko2016-12-262-1/+38
| |
* | fix installation page ssh domain unavilableLunny Xiao2016-12-271-2/+2
| |
* | fix 500 when delete orgnization and resolved #486Lunny Xiao2016-12-272-8/+11
| |
* | Merge pull request #492 from Bwko/passwordAndrey Nering2016-12-2620-20/+20
|\ \ | |/ |/| At the locales replaced 6 with MIN_PASSWORD_LENGTH
| * At the locales replaced 6 with MIN_PASSWORD_LENGTHBwko2016-12-2620-20/+20
|/
* Improve the way how branches are deletedBwko2016-12-264-16/+73
| | | | | | 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
* Improve issue references in markdown (#471)Sandro Santilli2016-12-261-1/+34
| | | | | | | | | | * Improve issue references in markdown. (#3436) * Fix build * Fix lint * Fix comment typo
* API Endpoints for collaborators (#375)Ethan Koenig2016-12-263-1/+108
|
* Git LFS support v2 (#122)Fabian Zaremba2016-12-2637-11/+2632
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-255-1/+40
| | | | | | * provide button to delete merged pull request * golint fix
* Implement sendmail (#355)Philip Couling2016-12-254-10/+73
| | | | | | | | | | | | | | | | * Implemented sendmail. This piggybacks on existing configuration to keep the change simple * Changed privicy of new sendSMTP and sendSendmail functions * Fixed Lint errors * Seperated SMTP and sendmail into their own senders * Making new structs private as they should not be used externally now * Added sendmail setting to ini file * Minor code cleanup
* Update sdkEthan Koenig2016-12-253-6/+82
|
* Organization webhook API endpointsEthan Koenig2016-12-254-134/+316
|
* Added sorting to organizations, repos & users page (#222)Bwko2016-12-249-49/+177
|
* Simplified MinPasswordLength check (#475)Bwko2016-12-241-5/+1
|
* Added sorting to the labels & milestones page (#199)Bwko2016-12-247-13/+82
|
* Added minimum password length to app.ini (#223)Bwko2016-12-244-4/+17
|
* Bug fixes for Issues filters (#413)Ethan Koenig2016-12-243-88/+76
| | | Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
* API Endpoint for watching (#191)Ethan Koenig2016-12-243-0/+147
|
* Enables mssql support (#383)btrepp2016-12-2444-14/+69268
| | | | | | | | | | | | | | | | | | | * 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>
* Raised version to 1.1.0 (#468)Thomas Boerger2016-12-241-1/+1
|
* Properly handle drone tags and release/* branches (#466)v1.0.0Thomas Boerger2016-12-243-10/+28
|
* Fixed drone taggingThomas Boerger2016-12-232-3/+3
|
* Fix broken godoc link and add arch in English README (#463)Lunny Xiao2016-12-232-3/+3
| | | | | | * fix broken godoc link and add arch in English README * typo
* update zh readme (#462)Lunny Xiao2016-12-231-104/+13
|
* Simplified README and added a release badge (#460)Thomas Boerger2016-12-231-107/+9
| | | | | | | | | | | | | | | | * Dropped the status from readme, it's anway always outdated * Added version badge * Cleaned the install instructions * Dropped paragraphs that should be documented on the docs * Simplified the content, refer to the website * Dropped the logo, lets show screenshots * Fixed TRANSLATORS link
* Integrated an initial changelog (#457)Thomas Boerger2016-12-231-0/+43
|
* Add default values for settings (#455)Lunny Xiao2016-12-236-24/+154
| | | | | | | | | | * add default values for settings * more default values * more default settings and labels resource * mv locale to options
* Fix race condition in unit test (#456)Ethan Koenig2016-12-231-2/+7
|
* Change screenshoots to Gitea (#454)Joubert RedRat2016-12-231-4/+5
|