]> source.dussan.org Git - gitea.git/log
gitea.git
7 years agoDisable coverage report for now (#395)
Thomas Boerger [Thu, 15 Dec 2016 11:26:34 +0000 (12:26 +0100)]
Disable coverage report for now (#395)

Until aircover gets updated so that it works again I have disabled to
coverage report upload for now.

7 years agoFixing multiple docker issues (#386)
Thomas Boerger [Thu, 15 Dec 2016 09:16:55 +0000 (10:16 +0100)]
Fixing multiple docker issues (#386)

* Added stupid docker task to makefile

* Dropped unknown option PrintLastLog from docker ssh config

* OpenSSH should log to docker stdout

* Set random pw for docker git user, otherwise it is locked

* Stop using templates and public within docker

7 years agoUpdate example install url from try.gogs.io to try.gitea.io (#385)
Sandro Santilli [Thu, 15 Dec 2016 08:56:46 +0000 (09:56 +0100)]
Update example install url from try.gogs.io to try.gitea.io (#385)

* Update example install url from try.gogs.io to try.gitea.io

* Ask if issue can be reproduced on try.gitea.io

* Link try.gitea.io to the README

7 years agofixed vulnerabilities (#392)
Lunny Xiao [Thu, 15 Dec 2016 08:49:06 +0000 (16:49 +0800)]
fixed vulnerabilities (#392)

7 years agoDon't use custom PBKDF2 function (#382)
Lunny Xiao [Thu, 15 Dec 2016 01:24:27 +0000 (09:24 +0800)]
Don't use custom PBKDF2 function (#382)

7 years agobug fixed branch name for pushupdate (#380)
Lunny Xiao [Tue, 13 Dec 2016 07:19:42 +0000 (15:19 +0800)]
bug fixed branch name for pushupdate (#380)

7 years agoAutogenerate Version on build (#190)
Kim "BKC" Carlbäcker [Tue, 13 Dec 2016 04:48:58 +0000 (05:48 +0100)]
Autogenerate Version on build (#190)

* Autogenerate Version On Build

* Fixes

* Changed Version to v0.9.0

* balls

* I hate newlines

* Don't remove .VERSION-file on `make clean`

* v0.9.0 => 1.0.0

* damn new-lines...

* Always rebuild templates/.VERSION

* Delete .VERSION

* Update Makefile

7 years agoCorrection LDAP validation (#342)
Denis Denisov [Mon, 12 Dec 2016 00:46:51 +0000 (02:46 +0200)]
Correction LDAP validation (#342)

* Correction LDAP username validation

As https://msdn.microsoft.com/en-us/library/aa366101(v=vs.85).aspx describe spaces should not be in start or at the end of username but they can be inside the username. So please check my solution for it.

* Check for zero length passwords in LDAP module.

According to https://tools.ietf.org/search/rfc4513#section-5.1.2 LDAP client should always check before bind whether a password is an empty value. There are at least one LDAP implementation which does not return error if you try to bind with DN set and empty password - AD.

* Clearing the login/email spaces at the [start/end]

7 years agoIn the wiki title replace tab with a space (#371)
Bwko [Sun, 11 Dec 2016 03:01:26 +0000 (04:01 +0100)]
In the wiki title replace tab with a space (#371)

7 years agoFixes issue #283
Bwko [Thu, 8 Dec 2016 22:08:28 +0000 (23:08 +0100)]
Fixes issue #283

Delete old temp local copy before we create a new temp local copy

7 years agoBug fix for edit-hook API endpoint
Ethan Koenig [Wed, 7 Dec 2016 21:25:29 +0000 (16:25 -0500)]
Bug fix for edit-hook API endpoint

7 years agoFix alignment of tooltip and add bindata - related to #359 (#364)
Henning Henkel [Thu, 8 Dec 2016 12:59:47 +0000 (13:59 +0100)]
Fix alignment of tooltip and add bindata - related to #359 (#364)

7 years agoRemove stale comment in models/repo.go (#366)
Ethan Koenig [Wed, 7 Dec 2016 23:04:12 +0000 (18:04 -0500)]
Remove stale comment in models/repo.go (#366)

7 years agoFix for #361, renamed username to login
Bwko [Wed, 7 Dec 2016 11:21:16 +0000 (12:21 +0100)]
Fix for #361, renamed username to login

7 years agoBug fixes for repo permissions in API
Ethan Koenig [Mon, 5 Dec 2016 23:48:51 +0000 (18:48 -0500)]
Bug fixes for repo permissions in API

Also move duplicated code into repo.APIFormat(..)

7 years agoAdded download tooltip - solves #221 (#359)
Henning Henkel [Wed, 7 Dec 2016 08:38:20 +0000 (09:38 +0100)]
Added download tooltip - solves #221 (#359)

7 years agoFixes panic when there's no user initialized (#358)
Bwko [Tue, 6 Dec 2016 20:58:34 +0000 (21:58 +0100)]
Fixes panic when there's no user initialized (#358)

7 years agoIntegrate templates into bindata optionally (#314)
Thomas Boerger [Tue, 6 Dec 2016 17:58:31 +0000 (18:58 +0100)]
Integrate templates into bindata optionally (#314)

Integrated optional bindata for the templates

7 years agoActually fix 'make build' (#353)
Kim "BKC" Carlbäcker [Mon, 5 Dec 2016 17:35:22 +0000 (18:35 +0100)]
Actually fix 'make build' (#353)

* Actually fix bloddy 'make build'

7 years agoEnabled bindata build tag and generate bindata (#352)
Thomas Boerger [Mon, 5 Dec 2016 15:39:45 +0000 (16:39 +0100)]
Enabled bindata build tag and generate bindata (#352)

7 years agoAwlays build, even when it thinks it's up to date (#351)
Kim "BKC" Carlbäcker [Mon, 5 Dec 2016 14:58:04 +0000 (15:58 +0100)]
Awlays build, even when it thinks it's up to date (#351)

7 years agoMerge pull request #348 from tboerger/release-fixes
Thomas Boerger [Mon, 5 Dec 2016 13:49:00 +0000 (14:49 +0100)]
Merge pull request #348 from tboerger/release-fixes

Fix drone release publishing and test steps

7 years agoFixed build tags and deps for all build/test steps 348/head
Thomas Boerger [Sun, 4 Dec 2016 22:55:09 +0000 (23:55 +0100)]
Fixed build tags and deps for all build/test steps

7 years agoProperly move releases within drone builds
Thomas Boerger [Sun, 4 Dec 2016 22:48:36 +0000 (23:48 +0100)]
Properly move releases within drone builds

7 years agoFixes #316
Antonio Facciolo [Wed, 30 Nov 2016 16:27:39 +0000 (17:27 +0100)]
Fixes #316

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

7 years agoFix regression in PR-API #248 (#349)
Kim "BKC" Carlbäcker [Mon, 5 Dec 2016 11:17:39 +0000 (12:17 +0100)]
Fix regression in PR-API #248 (#349)

* Fix #344 (regression in PR-API #248)

7 years agoMerge pull request #347 from thehowl/fix-contributing-typos
Thomas Boerger [Mon, 5 Dec 2016 07:22:16 +0000 (08:22 +0100)]
Merge pull request #347 from thehowl/fix-contributing-typos

Fix typos in CONTRIBUTING

7 years agoApply suggested changes 347/head
Morgan Bazalgette [Sun, 4 Dec 2016 21:50:36 +0000 (22:50 +0100)]
Apply suggested changes

7 years agoFix typos in CONTRIBUTING
Morgan Bazalgette [Sun, 4 Dec 2016 19:49:07 +0000 (20:49 +0100)]
Fix typos in CONTRIBUTING

Signed-off-by: Morgan Bazalgette <the@howl.moe>
7 years agoMerge pull request #345 from Bwko/fix_for_320
Andrey Nering [Sat, 3 Dec 2016 22:06:05 +0000 (20:06 -0200)]
Merge pull request #345 from Bwko/fix_for_320

Fix for #320

7 years agoFix for #320 345/head
Bwko [Sat, 3 Dec 2016 21:31:54 +0000 (22:31 +0100)]
Fix for #320

Suppress the error when we're removing a file that may not exist

7 years agoSafe compare password (timing attack) (#338)
Denis Denisov [Sat, 3 Dec 2016 05:49:17 +0000 (07:49 +0200)]
Safe compare password (timing attack) (#338)

7 years agoMerge pull request #334 from avelino/scripts_project_name_update
Thomas Boerger [Fri, 2 Dec 2016 19:13:20 +0000 (20:13 +0100)]
Merge pull request #334 from avelino/scripts_project_name_update

Fixed project name on scripts

7 years agoupdate SERVICENAME on init scripts 334/head
Avelino [Fri, 2 Dec 2016 17:52:28 +0000 (15:52 -0200)]
update SERVICENAME on init scripts

7 years ago[API] Pull Requests (#248)
Kim "BKC" Carlbäcker [Fri, 2 Dec 2016 11:10:39 +0000 (12:10 +0100)]
[API] Pull Requests (#248)

7 years agoMerge pull request #227 from go-gitea/api/github-compliance
Kim "BKC" Carlbäcker [Fri, 2 Dec 2016 09:04:15 +0000 (10:04 +0100)]
Merge pull request #227 from go-gitea/api/github-compliance

GitHub API Compliance Fixes

7 years agoLinting 227/head
Kim "BKC" Carlbäcker [Fri, 2 Dec 2016 08:28:45 +0000 (09:28 +0100)]
Linting

7 years agoGitHub API Compliance (& linting)
Kim "BKC" Carlbäcker [Fri, 7 Oct 2016 17:17:27 +0000 (19:17 +0200)]
GitHub API Compliance (& linting)

7 years agoAdd undocumented endpoint for /repositories/:id
Kim "BKC" Carlbäcker [Mon, 3 Oct 2016 10:35:42 +0000 (12:35 +0200)]
Add undocumented endpoint for /repositories/:id

7 years agoFixed project name on setting module key APP_NAME
Avelino [Fri, 2 Dec 2016 05:23:37 +0000 (03:23 -0200)]
Fixed project name on setting module key APP_NAME

7 years agoFixed project name on base template head
Avelino [Fri, 2 Dec 2016 05:13:27 +0000 (03:13 -0200)]
Fixed project name on base template head

7 years agoFixed project name on repo template mail
Avelino [Fri, 2 Dec 2016 05:09:46 +0000 (03:09 -0200)]
Fixed project name on repo template mail

7 years agoFixed project on repo template hook settings
Avelino [Fri, 2 Dec 2016 05:07:37 +0000 (03:07 -0200)]
Fixed project on repo template hook settings

7 years agoCatch os... errors
Bwko [Wed, 30 Nov 2016 23:56:15 +0000 (00:56 +0100)]
Catch os... errors

7 years agofixed typo on rename project name scripts for windows (bat)
Avelino [Fri, 2 Dec 2016 05:51:34 +0000 (03:51 -0200)]
fixed typo on rename project name scripts for windows (bat)

7 years agoFixed project name on scripts
Avelino [Fri, 2 Dec 2016 05:18:58 +0000 (03:18 -0200)]
Fixed project name on scripts

7 years agoAdded rel="noopener" to target="_blank" hrefs (#327)
Bwko [Fri, 2 Dec 2016 01:12:16 +0000 (02:12 +0100)]
Added rel="noopener" to target="_blank" hrefs (#327)

* Added rel="noopener" to target="_blank" hrefs

* Replaced gogs.io/docs with docs.gitea.io

7 years agoBug fixed for .dockerignore (#329)
Lunny Xiao [Thu, 1 Dec 2016 15:05:28 +0000 (23:05 +0800)]
Bug fixed for .dockerignore (#329)

* bug fixed for .dockerignore

* clean up

7 years agoMerge pull request #326 from tboerger/maintainers
Andrey Nering [Thu, 1 Dec 2016 15:03:32 +0000 (13:03 -0200)]
Merge pull request #326 from tboerger/maintainers

Added real name of Bwko to maintainers file

7 years agoCopy gitea binary to docker from correct path (#325)
Thomas Boerger [Thu, 1 Dec 2016 10:53:26 +0000 (11:53 +0100)]
Copy gitea binary to docker from correct path (#325)

Signed-off-by: Thomas Boerger <tboerger@suse.de>
7 years agoResolved #296 (#324)
Lunny Xiao [Thu, 1 Dec 2016 10:52:57 +0000 (18:52 +0800)]
Resolved #296 (#324)

* resolved #296

* Indentation fixed

7 years agoresolved #310: hide fork to self (#323)
Lunny Xiao [Thu, 1 Dec 2016 10:51:50 +0000 (18:51 +0800)]
resolved #310: hide fork to self (#323)

7 years agoAdded real name of Bwko to maintainers file 326/head
Thomas Boerger [Thu, 1 Dec 2016 09:26:34 +0000 (10:26 +0100)]
Added real name of Bwko to maintainers file

Signed-off-by: Thomas Boerger <tboerger@suse.de>
7 years agoMerge pull request #322 from lunny/lunny/pull_typo
Kim "BKC" Carlbäcker [Thu, 1 Dec 2016 08:20:48 +0000 (09:20 +0100)]
Merge pull request #322 from lunny/lunny/pull_typo

typo in model/pull.go

7 years agoGet rid of bin folder within makefile, enabled TiDB (#319)
Thomas Boerger [Thu, 1 Dec 2016 07:28:43 +0000 (08:28 +0100)]
Get rid of bin folder within makefile, enabled TiDB (#319)

* 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>
7 years agotypo 322/head
Lunny Xiao [Thu, 1 Dec 2016 01:05:32 +0000 (09:05 +0800)]
typo

7 years agoMerge pull request #318 from stroucki/20161128locale
Andrey Nering [Wed, 30 Nov 2016 21:40:29 +0000 (19:40 -0200)]
Merge pull request #318 from stroucki/20161128locale

Suggested de locale fix

7 years agoBased on @tboerger's screenshot, these "times" are counts and not 318/head
Michael Stroucken [Wed, 30 Nov 2016 18:25:05 +0000 (13:25 -0500)]
Based on @tboerger's screenshot, these "times" are counts and not
clock times. Change translation to reflect that.

7 years agoHave "make" create the executable in root dir (#247)
Sandro Santilli [Wed, 30 Nov 2016 15:59:17 +0000 (16:59 +0100)]
Have "make" create the executable in root dir (#247)

Same as "go build".
Makes it functional by default as it'd then find template/ and public/
by default w/out setting GITEA_WORK_DIR

7 years agoMerge pull request #306 from Bwko/Security
Matthias Loibl [Wed, 30 Nov 2016 07:22:45 +0000 (08:22 +0100)]
Merge pull request #306 from Bwko/Security

Fixes xss, clickjacking & password autocompletion

7 years agoMerge pull request #298 from stroucki/20161128locale
Thomas Boerger [Tue, 29 Nov 2016 21:49:10 +0000 (22:49 +0100)]
Merge pull request #298 from stroucki/20161128locale

 suggested locale fixes

7 years agoFixes xss, clickjacking & password autocompletion 306/head
Bwko [Tue, 29 Nov 2016 21:49:06 +0000 (22:49 +0100)]
Fixes xss, clickjacking & password autocompletion

7 years agoTime values displayed are apparently single values, so use singular. 298/head
Michael Stroucken [Tue, 29 Nov 2016 19:54:10 +0000 (14:54 -0500)]
Time values displayed are apparently single values, so use singular.

7 years agoMerge pull request #275 from strk/readmelink
Thomas Boerger [Tue, 29 Nov 2016 19:38:23 +0000 (20:38 +0100)]
Merge pull request #275 from strk/readmelink

Turn banner into a link to the github page

7 years agoTurn banner into a link to the github gitea repository 275/head
Sandro Santilli [Sun, 27 Nov 2016 11:09:55 +0000 (12:09 +0100)]
Turn banner into a link to the github gitea repository

Also use relative link to banner

7 years agoIntegrate public as bindata optionally (#293)
Thomas Boerger [Tue, 29 Nov 2016 16:26:36 +0000 (17:26 +0100)]
Integrate public as bindata optionally (#293)

* 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

7 years agoMerge pull request #303 from tboerger/linting
Thomas Boerger [Tue, 29 Nov 2016 14:18:27 +0000 (15:18 +0100)]
Merge pull request #303 from tboerger/linting

Fixed remaining linting errors

7 years agoReenabled lint check within drone 303/head
Thomas Boerger [Tue, 29 Nov 2016 13:15:36 +0000 (14:15 +0100)]
Reenabled lint check within drone

7 years agoUpdated bindata to latest version
Thomas Boerger [Tue, 29 Nov 2016 13:14:40 +0000 (14:14 +0100)]
Updated bindata to latest version

7 years agoReplace invaliud bindata variable names within make task
Thomas Boerger [Tue, 29 Nov 2016 13:14:22 +0000 (14:14 +0100)]
Replace invaliud bindata variable names within make task

7 years agoFixed linting errors for variable definitions
Thomas Boerger [Tue, 29 Nov 2016 13:05:26 +0000 (14:05 +0100)]
Fixed linting errors for variable definitions

7 years agoFix breakage from vendor-update
Kim "BKC" Carlbäcker [Tue, 29 Nov 2016 08:25:47 +0000 (09:25 +0100)]
Fix breakage from vendor-update

7 years agoCreateBranch-hook has shasum. Use the full ref for fetching shasum
Kim "BKC" Carlbäcker [Tue, 29 Nov 2016 08:13:30 +0000 (09:13 +0100)]
CreateBranch-hook has shasum. Use the full ref for fetching shasum

7 years agoUpdate gitea/sdk vendor
Kim "BKC" Carlbäcker [Tue, 29 Nov 2016 08:09:17 +0000 (09:09 +0100)]
Update gitea/sdk vendor

7 years agoTag-webhooks are useless without shasums
Kim "BKC" Carlbäcker [Tue, 29 Nov 2016 06:58:01 +0000 (07:58 +0100)]
Tag-webhooks are useless without shasums

7 years agobug fixed caused by #295 (#299)
Lunny Xiao [Tue, 29 Nov 2016 06:57:36 +0000 (14:57 +0800)]
bug fixed caused by #295 (#299)

7 years agoMerge pull request #288 from tboerger/docker
Thomas Boerger [Tue, 29 Nov 2016 06:21:47 +0000 (07:21 +0100)]
Merge pull request #288 from tboerger/docker

Docker integration

7 years agoRebase branch onto go-gitea/gitea
Michael Stroucken [Tue, 29 Nov 2016 01:03:45 +0000 (20:03 -0500)]
Rebase branch onto go-gitea/gitea

7 years agoMerge pull request #294 from Bwko/Lint/user.go
Andrey Nering [Mon, 28 Nov 2016 22:30:02 +0000 (20:30 -0200)]
Merge pull request #294 from Bwko/Lint/user.go

Lint models/user.go

7 years agoMerge pull request #295 from Bwko/Lint/repo_
Andrey Nering [Mon, 28 Nov 2016 22:29:15 +0000 (20:29 -0200)]
Merge pull request #295 from Bwko/Lint/repo_

Lint models/repo

7 years agoMerge pull request #290 from tboerger/maintain-contribute
Matthias Loibl [Mon, 28 Nov 2016 19:49:39 +0000 (20:49 +0100)]
Merge pull request #290 from tboerger/maintain-contribute

Project unification, updates for contributors guide and github files

7 years agoLint models/repo.go 295/head
Bwko [Mon, 28 Nov 2016 17:27:55 +0000 (18:27 +0100)]
Lint models/repo.go

7 years agoLint models/repo_*
Bwko [Mon, 28 Nov 2016 16:58:59 +0000 (17:58 +0100)]
Lint models/repo_*

7 years agoLint models/user.go 294/head
Bwko [Mon, 28 Nov 2016 16:47:46 +0000 (17:47 +0100)]
Lint models/user.go

7 years agoAdded -S flag to addgroup command within Dockerfiles 288/head
Thomas Boerger [Mon, 28 Nov 2016 16:37:31 +0000 (17:37 +0100)]
Added -S flag to addgroup command within Dockerfiles

7 years agoReplaced edge with 3.4 for the alpine base image
Thomas Boerger [Mon, 28 Nov 2016 16:23:22 +0000 (17:23 +0100)]
Replaced edge with 3.4 for the alpine base image

7 years agoReplaced shadow with addgroup and adduser
Thomas Boerger [Mon, 28 Nov 2016 16:22:22 +0000 (17:22 +0100)]
Replaced shadow with addgroup and adduser

7 years agoUse su-exec instead of gosu, much smaller
Thomas Boerger [Mon, 28 Nov 2016 16:16:13 +0000 (17:16 +0100)]
Use su-exec instead of gosu, much smaller

7 years agoAdd a pragraph to the k8s PR guide to contributors guide 290/head
Thomas Boerger [Mon, 28 Nov 2016 15:57:42 +0000 (16:57 +0100)]
Add a pragraph to the k8s PR guide to contributors guide

7 years agogolint fixed for models/migrations (#291)
Lunny Xiao [Mon, 28 Nov 2016 15:44:17 +0000 (23:44 +0800)]
golint fixed for models/migrations (#291)

7 years agogolint fixed for models/pull.go (#292)
Lunny Xiao [Mon, 28 Nov 2016 15:31:06 +0000 (23:31 +0800)]
golint fixed for models/pull.go (#292)

7 years agoMerge pull request #289 from lunny/lunny/golint_models_issue_comment
Thomas Boerger [Mon, 28 Nov 2016 13:46:00 +0000 (14:46 +0100)]
Merge pull request #289 from lunny/lunny/golint_models_issue_comment

Golint fixed for models/issue_comment.go

7 years agoDropped more or less useless files
Thomas Boerger [Mon, 28 Nov 2016 13:36:35 +0000 (14:36 +0100)]
Dropped more or less useless files

7 years agoDropped new lines from contributing, some rewording and reformatting
Thomas Boerger [Mon, 28 Nov 2016 13:35:55 +0000 (14:35 +0100)]
Dropped new lines from contributing, some rewording and reformatting

7 years agoUpdated maintainers file to latest status
Thomas Boerger [Mon, 28 Nov 2016 13:35:04 +0000 (14:35 +0100)]
Updated maintainers file to latest status

7 years agoDropped always outdated contributors file, link to it the graph on readme
Thomas Boerger [Mon, 28 Nov 2016 13:34:06 +0000 (14:34 +0100)]
Dropped always outdated contributors file, link to it the graph on readme

7 years agogolint fixed for models/issue_comment.go 289/head
Lunny Xiao [Mon, 28 Nov 2016 13:33:09 +0000 (21:33 +0800)]
golint fixed for models/issue_comment.go

7 years agoUpdate link on user’s profile avatar to avatar settings (#287)
Matthias Loibl [Mon, 28 Nov 2016 13:29:39 +0000 (14:29 +0100)]
Update link on user’s profile avatar to avatar settings (#287)

7 years agoUnified GitHub templates accross all projects
Thomas Boerger [Mon, 28 Nov 2016 13:28:40 +0000 (14:28 +0100)]
Unified GitHub templates accross all projects

7 years agoUnified editorconfig accross all projects
Thomas Boerger [Mon, 28 Nov 2016 13:27:59 +0000 (14:27 +0100)]
Unified editorconfig accross all projects