]>
source.dussan.org Git - gitea.git/log
Lunny Xiao [Tue, 3 Jan 2017 04:41:10 +0000 (12:41 +0800)]
bug fixed for fork repos (#560)
Lunny Xiao [Tue, 3 Jan 2017 03:45:56 +0000 (11:45 +0800)]
build failed by deleting release by API (#562)
Kjell Kvinge [Tue, 3 Jan 2017 02:52:09 +0000 (03:52 +0100)]
Fix benchmarktests (#557)
Bo-Yi Wu [Tue, 3 Jan 2017 01:11:46 +0000 (09:11 +0800)]
Update maintainer list for LGTM
Lunny Xiao [Sat, 31 Dec 2016 11:51:12 +0000 (19:51 +0800)]
change the default action when deleting a release to not delete tag
Lunny Xiao [Mon, 2 Jan 2017 04:33:15 +0000 (12:33 +0800)]
fix config session missing data row & resolved #517 (#549)
Alvaro Aleman [Mon, 2 Jan 2017 04:32:21 +0000 (05:32 +0100)]
Provide description for the INSTALL_LOCK config option (#554)
Ethan Koenig [Sat, 31 Dec 2016 16:51:22 +0000 (11:51 -0500)]
Release API endpoints
Andrey Nering [Sun, 1 Jan 2017 14:18:35 +0000 (12:18 -0200)]
Makefile: on Windows, executable should have ".exe" (#550)
Andrey Nering [Sun, 1 Jan 2017 12:45:51 +0000 (10:45 -0200)]
Merge pull request #543 from lunny/lunny/fallback_graceful_windows
Fix windows build broken by #416
Thiago Avelino [Sun, 1 Jan 2017 02:51:10 +0000 (00:51 -0200)]
UI config to toggle whether user email shows up in Explore Users (#336)
* 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)
Bastian Rinsche [Sun, 1 Jan 2017 02:25:17 +0000 (03:25 +0100)]
Apply dockerfile updates to raspberry dockerfile (#548)
Bwko [Sat, 31 Dec 2016 14:35:32 +0000 (15:35 +0100)]
Replace pull request with issue at issue_template (#547)
Andrey Nering [Sat, 31 Dec 2016 12:40:14 +0000 (10:40 -0200)]
Merge pull request #545 from lunny/lunny/fix_ui_data_row_missing
Partially fix #484: fix admin ui data row missing
Lunny Xiao [Sat, 31 Dec 2016 10:58:54 +0000 (18:58 +0800)]
resolved #517: fix admin ui data row missing
Bwko [Sat, 31 Dec 2016 10:06:09 +0000 (11:06 +0100)]
Fix wrong anchors for non-latin headings (#3981) (#512)
Change Javascript regular expression to match non-latin characters
The regex comes from here: http://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters#comment22322603_150078
And this patch should fixed these two issues: #3919 #3843
Lunny Xiao [Sat, 31 Dec 2016 09:34:34 +0000 (17:34 +0800)]
resolved #485: when migrate empty wiki repo, then ignore (#541)
Ethan Koenig [Thu, 29 Dec 2016 01:03:40 +0000 (20:03 -0500)]
Unit tests for token and update models
Lunny Xiao [Sat, 31 Dec 2016 09:16:02 +0000 (17:16 +0800)]
fix windows build broken by #416
Schwobaland [Sat, 31 Dec 2016 02:33:30 +0000 (03:33 +0100)]
Restrict creating organisations by user (#193)
* 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
Ethan Koenig [Sat, 31 Dec 2016 01:15:45 +0000 (20:15 -0500)]
API endpoints for forks (#509)
Lunny Xiao [Sat, 31 Dec 2016 01:00:33 +0000 (09:00 +0800)]
Support http service graceful restart (#416)
* support http service graceful restart
* fix dependencies
Bwko [Thu, 29 Dec 2016 14:23:03 +0000 (15:23 +0100)]
Updated Dutch translations
Bo-Yi Wu [Fri, 30 Dec 2016 07:35:07 +0000 (15:35 +0800)]
replcae go fmt with gofmt command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Bo-Yi Wu [Fri, 30 Dec 2016 07:26:05 +0000 (15:26 +0800)]
fix gofmt error
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Andrey Nering [Fri, 30 Dec 2016 18:38:14 +0000 (16:38 -0200)]
Merge pull request #538 from 0xbaadf00d/feature/fix-contrib-link
Fix URL link on CONTRIBUTING
Thibault Meyer [Fri, 30 Dec 2016 17:45:52 +0000 (18:45 +0100)]
Fix URL link on CONTRIBUTING
Signed-off-by: Thibault Meyer <meyer.thibault@gmail.com>
Andrey Nering [Fri, 30 Dec 2016 16:44:54 +0000 (14:44 -0200)]
Notification - Step 1 (#523)
* Notification - Step 1
* Add copyright headers
* Cache issue and repository on notification model
Gogs [Wed, 28 Dec 2016 21:33:59 +0000 (21:33 +0000)]
push + pull now works with reverse proxy + basic auth on apache 2.4
typeless [Thu, 29 Dec 2016 14:59:52 +0000 (22:59 +0800)]
Speed up conflict checking in pull request creation (#276)
* 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 '-'
Andrey Nering [Thu, 29 Dec 2016 14:58:24 +0000 (12:58 -0200)]
Tab on user profile to show starred repos (#519)
* 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
Lunny Xiao [Thu, 29 Dec 2016 13:21:19 +0000 (21:21 +0800)]
Cache users on list releases (#527)
Ethan Koenig [Thu, 29 Dec 2016 13:17:32 +0000 (08:17 -0500)]
Repo permission bug fixes (#513)
Lunny Xiao [Thu, 29 Dec 2016 10:51:15 +0000 (04:51 -0600)]
add default values for SSH settings (#500)
Lunny Xiao [Thu, 29 Dec 2016 08:53:33 +0000 (02:53 -0600)]
slight optimization for GetUserRepositories (#498)
Kjell Kvinge [Wed, 28 Dec 2016 23:44:32 +0000 (00:44 +0100)]
commithgraph / timeline (#428)
* Add model and tests for graph
* Add route and router for graph
* Add assets for graph
* Add template for graph
Ethan Koenig [Tue, 27 Dec 2016 18:13:21 +0000 (13:13 -0500)]
Permissions bug fix for webhooks
Sl@ny [Wed, 28 Dec 2016 16:35:52 +0000 (17:35 +0100)]
Implementation of Folder Jumping
Bwko [Wed, 28 Dec 2016 08:33:21 +0000 (09:33 +0100)]
Replace Gogs with Gitea (#520)
Ethan Koenig [Wed, 28 Dec 2016 01:36:04 +0000 (20:36 -0500)]
API endpoints for organization teams (#370)
Lunny Xiao [Wed, 28 Dec 2016 01:34:35 +0000 (09:34 +0800)]
Optimization for user.GetRepositoryAccesses to reduce db query times (#495)
* optimization for user.GetRepositoryAccesses to reduce db query times
* fix missing cache
Ethan Koenig [Wed, 28 Dec 2016 01:09:54 +0000 (20:09 -0500)]
Remove redundant query in collaborator API (#516)
Lunny Xiao [Tue, 27 Dec 2016 05:56:36 +0000 (13:56 +0800)]
ignore static files statstics for linguist
Andrey Nering [Tue, 27 Dec 2016 15:14:20 +0000 (13:14 -0200)]
Merge pull request #508 from joubertredrat/fix-cookie-name
Fix default cookie name
Joubert RedRat [Tue, 27 Dec 2016 15:02:24 +0000 (13:02 -0200)]
Fix default cookie name
Andrey Nering [Tue, 27 Dec 2016 13:13:48 +0000 (11:13 -0200)]
Merge pull request #487 from Bwko/NL
Added Dutch translations to the landingpage
Lunny Xiao [Tue, 27 Dec 2016 07:34:34 +0000 (15:34 +0800)]
fix installation page ssh domain unavilable
Lunny Xiao [Tue, 27 Dec 2016 02:02:14 +0000 (10:02 +0800)]
fix 500 when delete orgnization and resolved #486
Andrey Nering [Tue, 27 Dec 2016 00:10:29 +0000 (22:10 -0200)]
Merge pull request #492 from Bwko/password
At the locales replaced 6 with MIN_PASSWORD_LENGTH
Bwko [Mon, 26 Dec 2016 22:28:04 +0000 (23:28 +0100)]
At the locales replaced 6 with MIN_PASSWORD_LENGTH
Bwko [Mon, 26 Dec 2016 22:03:16 +0000 (23:03 +0100)]
Added Dutch translations to the landingpage
Bwko [Sun, 25 Dec 2016 16:19:25 +0000 (17:19 +0100)]
Improve the way how branches are deleted
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
Sandro Santilli [Mon, 26 Dec 2016 10:52:04 +0000 (11:52 +0100)]
Improve issue references in markdown (#471)
* Improve issue references in markdown. (#3436)
* Fix build
* Fix lint
* Fix comment typo
Ethan Koenig [Mon, 26 Dec 2016 07:37:01 +0000 (02:37 -0500)]
API Endpoints for collaborators (#375)
Fabian Zaremba [Mon, 26 Dec 2016 01:16:37 +0000 (02:16 +0100)]
Git LFS support v2 (#122)
* 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
Lunny Xiao [Sun, 25 Dec 2016 15:27:25 +0000 (23:27 +0800)]
Provide button to delete merged pull request (#441)
* provide button to delete merged pull request
* golint fix
Philip Couling [Sun, 25 Dec 2016 13:55:22 +0000 (13:55 +0000)]
Implement sendmail (#355)
* 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
Ethan Koenig [Sat, 24 Dec 2016 19:47:32 +0000 (14:47 -0500)]
Update sdk
Ethan Koenig [Wed, 7 Dec 2016 04:36:28 +0000 (23:36 -0500)]
Organization webhook API endpoints
Bwko [Sat, 24 Dec 2016 14:42:26 +0000 (15:42 +0100)]
Added sorting to organizations, repos & users page (#222)
Bwko [Sat, 24 Dec 2016 14:42:11 +0000 (15:42 +0100)]
Simplified MinPasswordLength check (#475)
Bwko [Sat, 24 Dec 2016 14:41:09 +0000 (15:41 +0100)]
Added sorting to the labels & milestones page (#199)
Bwko [Sat, 24 Dec 2016 13:40:44 +0000 (14:40 +0100)]
Added minimum password length to app.ini (#223)
Ethan Koenig [Sat, 24 Dec 2016 10:33:21 +0000 (05:33 -0500)]
Bug fixes for Issues filters (#413)
Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
Ethan Koenig [Sat, 24 Dec 2016 01:53:11 +0000 (20:53 -0500)]
API Endpoint for watching (#191)
btrepp [Sat, 24 Dec 2016 01:37:35 +0000 (09:37 +0800)]
Enables mssql support (#383)
* 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>
Thomas Boerger [Sat, 24 Dec 2016 01:19:12 +0000 (02:19 +0100)]
Raised version to 1.1.0 (#468)
Thomas Boerger [Fri, 23 Dec 2016 23:00:48 +0000 (00:00 +0100)]
Properly handle drone tags and release/* branches (#466)
Thomas Boerger [Fri, 23 Dec 2016 18:51:39 +0000 (19:51 +0100)]
Fixed drone tagging
Lunny Xiao [Fri, 23 Dec 2016 14:57:18 +0000 (22:57 +0800)]
Fix broken godoc link and add arch in English README (#463)
* fix broken godoc link and add arch in English README
* typo
Lunny Xiao [Fri, 23 Dec 2016 14:39:24 +0000 (22:39 +0800)]
update zh readme (#462)
Thomas Boerger [Fri, 23 Dec 2016 14:05:24 +0000 (15:05 +0100)]
Simplified README and added a release badge (#460)
* 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
Thomas Boerger [Fri, 23 Dec 2016 12:06:43 +0000 (13:06 +0100)]
Integrated an initial changelog (#457)
Lunny Xiao [Fri, 23 Dec 2016 07:18:05 +0000 (15:18 +0800)]
Add default values for settings (#455)
* add default values for settings
* more default values
* more default settings and labels resource
* mv locale to options
Ethan Koenig [Fri, 23 Dec 2016 06:31:22 +0000 (01:31 -0500)]
Fix race condition in unit test (#456)
Joubert RedRat [Fri, 23 Dec 2016 06:25:55 +0000 (04:25 -0200)]
Change screenshoots to Gitea (#454)
Lunny Xiao [Fri, 23 Dec 2016 00:26:01 +0000 (08:26 +0800)]
resolved #394 (#396)
Thomas Boerger [Thu, 22 Dec 2016 18:12:23 +0000 (19:12 +0100)]
Bindata is optional and over-writable on restart (#354)
* 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
Lunny Xiao [Thu, 22 Dec 2016 14:57:48 +0000 (22:57 +0800)]
fix tag webhook 404 error (#420)
Lunny Xiao [Thu, 22 Dec 2016 12:27:32 +0000 (20:27 +0800)]
Check if file is a symlink with web editor (#3687) (#445)
* 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
Lunny Xiao [Thu, 22 Dec 2016 12:27:13 +0000 (20:27 +0800)]
fix bug #1122 log.smtp receiver configure error (#3602) (#451)
Lunny Xiao [Thu, 22 Dec 2016 12:26:43 +0000 (20:26 +0800)]
New settings option for a custom SSH host (#3763) (#446)
* New settings option for a custom SSH host (#3763)
* let default ssh listen addr empty
Lunny Xiao [Thu, 22 Dec 2016 09:39:17 +0000 (17:39 +0800)]
init script gentoo (#447)
* init script for gentoo (#3761)
* replace Gogs to Gitea
* remove override port number
* remove port
Lunny Xiao [Thu, 22 Dec 2016 09:30:52 +0000 (17:30 +0800)]
update code.gitea.io/git (#450)
Lunny Xiao [Thu, 22 Dec 2016 09:00:39 +0000 (17:00 +0800)]
UpdateIssueUsersByMentions was calling database write operations while (#443)
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
Ethan Koenig [Thu, 22 Dec 2016 08:58:04 +0000 (03:58 -0500)]
Bug fixes and tests for modules/base (#442)
Also address other TODOs
Kim "BKC" Carlbäcker [Thu, 22 Dec 2016 08:29:26 +0000 (09:29 +0100)]
issue comment api fix (#449)
* ListAllInRepo & Delete Issue-Comments
* Moar data in issue-comments
Alexander Lunegov [Wed, 21 Dec 2016 07:09:43 +0000 (12:09 +0500)]
Fix string format verbs (#3637)
Lunny Xiao [Thu, 22 Dec 2016 06:03:43 +0000 (14:03 +0800)]
Fix homepage docs link broken (#417)
* fix homepage docs link broken
* fix homepage docs links after docs updated
Lunny Xiao [Wed, 21 Dec 2016 15:28:42 +0000 (23:28 +0800)]
Update locales (#440)
* Update locales
* replace Gogs to Gitea
Lunny Xiao [Wed, 21 Dec 2016 14:47:26 +0000 (22:47 +0800)]
Add Korean support (#437)
* Add Korean support
* replace Gogs to Gitea
Joubert RedRat [Wed, 21 Dec 2016 12:13:17 +0000 (10:13 -0200)]
Remove remaining Gogs reference on locales and cmd (#430)
Thomas Boerger [Wed, 21 Dec 2016 12:00:15 +0000 (13:00 +0100)]
Do not override the binary version name from drone (#436)
Signed-off-by: Thomas Boerger <tboerger@suse.de>
Andrey Nering [Tue, 20 Dec 2016 13:54:22 +0000 (11:54 -0200)]
Change default Android theme color meta tag (#389)
Andrey Nering [Tue, 20 Dec 2016 12:32:45 +0000 (10:32 -0200)]
Merge pull request #412 from strk/libravatar-source
Add support for using "libravatar" as the GravatarSource
Denis Denisov [Tue, 20 Dec 2016 12:32:02 +0000 (14:32 +0200)]
Fix random string generator (#384)
* 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
Andrey Nering [Tue, 20 Dec 2016 12:15:03 +0000 (10:15 -0200)]
Merge pull request #422 from mjwwit/master
Change test mail subject and body to 'Gitea Test Mail!'
Michael de Wit [Tue, 20 Dec 2016 08:34:50 +0000 (09:34 +0100)]
change test mail subject and body to 'Gitea Test Mail!'
Signed-off-by: Michael de Wit <mjwwit@gmail.com>
Nico Mandery [Tue, 20 Dec 2016 08:09:11 +0000 (09:09 +0100)]
serve video files using the HTML5 video tag (#418)
* serve video files using the HTML5 video tag
* lint fix: add comment to IsVideoFile
Sandro Santilli [Mon, 19 Dec 2016 16:04:39 +0000 (17:04 +0100)]
Add support for using "libravatar" as the GravatarSource
Just to make it easier for administrator to configure libre avatar,
as it is done for "duoshuo" and "gravatar"