summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* resolved #394 (#396)Lunny Xiao2016-12-231-0/+3
|
* Bindata is optional and over-writable on restart (#354)Thomas Boerger2016-12-22234-5404/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fix tag webhook 404 error (#420)Lunny Xiao2016-12-221-1/+1
|
* Check if file is a symlink with web editor (#3687) (#445)Lunny Xiao2016-12-226-0/+10
| | | | | | | | | | | | * 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
* fix bug #1122 log.smtp receiver configure error (#3602) (#451)Lunny Xiao2016-12-222-3/+3
|
* New settings option for a custom SSH host (#3763) (#446)Lunny Xiao2016-12-224-7/+10
| | | | | | * New settings option for a custom SSH host (#3763) * let default ssh listen addr empty
* init script gentoo (#447)Lunny Xiao2016-12-221-0/+15
| | | | | | | | | | * init script for gentoo (#3761) * replace Gogs to Gitea * remove override port number * remove port
* update code.gitea.io/git (#450)Lunny Xiao2016-12-2236-479/+508
|
* UpdateIssueUsersByMentions was calling database write operations while (#443)Lunny Xiao2016-12-223-11/+13
| | | | | | | | | | a transaction session was in progress. MailParticipants was failing silently because of the SQLITE_LOCKED error. Make sure failures in MailParticipants enter the log, and pass on the transaction context. issue: let caller pass in database context, and use it issue_comment: obtain database context to pass to UpdateIssueMentions issue_comment: log any error from call to MailParticipants issue_mail: pass on database context to UpdateIssueMentions
* Bug fixes and tests for modules/base (#442)Ethan Koenig2016-12-224-36/+261
| | | Also address other TODOs
* issue comment api fix (#449)Kim "BKC" Carlbäcker2016-12-223-6/+113
| | | | | | * ListAllInRepo & Delete Issue-Comments * Moar data in issue-comments
* Fix string format verbs (#3637)Alexander Lunegov2016-12-225-6/+6
|
* Fix homepage docs link broken (#417)Lunny Xiao2016-12-221-8/+8
| | | | | | * fix homepage docs link broken * fix homepage docs links after docs updated
* Update locales (#440)Lunny Xiao2016-12-215-186/+186
| | | | | | * Update locales * replace Gogs to Gitea
* Add Korean support (#437)Lunny Xiao2016-12-214-4/+1206
| | | | | | * Add Korean support * replace Gogs to Gitea
* Remove remaining Gogs reference on locales and cmd (#430)Joubert RedRat2016-12-2128-284/+286
|
* Do not override the binary version name from drone (#436)Thomas Boerger2016-12-211-3/+1
| | | Signed-off-by: Thomas Boerger <tboerger@suse.de>
* Change default Android theme color meta tag (#389)Andrey Nering2016-12-201-1/+1
|
* Merge pull request #412 from strk/libravatar-sourceAndrey Nering2016-12-201-0/+2
|\ | | | | Add support for using "libravatar" as the GravatarSource
| * Add support for using "libravatar" as the GravatarSourceSandro Santilli2016-12-191-0/+2
| | | | | | | | | | Just to make it easier for administrator to configure libre avatar, as it is done for "duoshuo" and "gravatar"
* | Fix random string generator (#384)Denis Denisov2016-12-2011-35/+94
| | | | | | | | | | | | | | | | | | | | | | * 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
* | Merge pull request #422 from mjwwit/masterAndrey Nering2016-12-201-1/+1
|\ \ | | | | | | Change test mail subject and body to 'Gitea Test Mail!'
| * | change test mail subject and body to 'Gitea Test Mail!'Michael de Wit2016-12-201-1/+1
| | | | | | | | | | | | Signed-off-by: Michael de Wit <mjwwit@gmail.com>
* | | serve video files using the HTML5 video tag (#418)Nico Mandery2016-12-204-0/+12
|/ / | | | | | | | | | | * serve video files using the HTML5 video tag * lint fix: add comment to IsVideoFile
* | add ZH readme (#405)Lunny Xiao2016-12-192-0/+141
| |
* | fixed vulnerabilities labels (#409)Lunny Xiao2016-12-171-1/+28
| |
* | Remove fixed FIXME (#408)Richie B2B2016-12-161-1/+0
| |
* | Fix typo (#407)Richie B2B2016-12-161-1/+1
| |