Skip to content

Commit 016d720

Browse files
committed
Merge remote-tracking branch 'origin' into kanban_board
2 parents 76a10f8 + 4cb1bdd commit 016d720

File tree

273 files changed

+13085
-3809
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+13085
-3809
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ endif
4141

4242
LDFLAGS := $(LDFLAGS) -X "main.MakeVersion=$(MAKE_VERSION)" -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"
4343

44-
PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations/migration-test,$(filter-out code.gitea.io/gitea/integrations,$(shell $(GO) list ./... | grep -v /vendor/)))
44+
PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations/migration-test,$(filter-out code.gitea.io/gitea/integrations,$(shell GO111MODULE=on $(GO) list -mod=vendor ./... | grep -v /vendor/)))
4545
SOURCES ?= $(shell find . -name "*.go" -type f)
4646

4747
TAGS ?=
@@ -102,7 +102,7 @@ generate:
102102
.PHONY: generate-swagger
103103
generate-swagger:
104104
@hash swagger > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
105-
GO111MODULE="on" $(GO) get -u github.com/go-swagger/go-swagger/cmd/swagger@v0.19.0; \
105+
GO111MODULE="on" $(GO) get -u github.com/go-swagger/go-swagger/cmd/swagger@v0.20.1; \
106106
fi
107107
swagger generate spec -o './$(SWAGGER_SPEC)'
108108
$(SED_INPLACE) '$(SWAGGER_SPEC_S_TMPL)' './$(SWAGGER_SPEC)'
@@ -120,7 +120,7 @@ swagger-check: generate-swagger
120120
.PHONY: swagger-validate
121121
swagger-validate:
122122
@hash swagger > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
123-
$(GO) get -u github.com/go-swagger/go-swagger/cmd/swagger; \
123+
GO111MODULE="on" $(GO) get -u github.com/go-swagger/go-swagger/cmd/swagger@v0.20.1; \
124124
fi
125125
$(SED_INPLACE) '$(SWAGGER_SPEC_S_JSON)' './$(SWAGGER_SPEC)'
126126
swagger validate './$(SWAGGER_SPEC)'

custom/conf/app.ini.sample

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ MAX_FILE_SIZE = 1048576
308308
DISABLE_REGULAR_ORG_CREATION = false
309309
; Enable the kanban board feature system wide.
310310
ENABLE_KANBAN_BOARD = true
311+
; Default configuration for email notifications for users (user configurable). Options: enabled, onmention, disabled
312+
DEFAULT_EMAIL_NOTIFICATIONS = enabled
311313

312314
[security]
313315
; Whether the installer is disabled
@@ -410,7 +412,7 @@ DEFAULT_ALLOW_CREATE_ORGANIZATION = true
410412
; Public is for everyone
411413
DEFAULT_ORG_VISIBILITY = public
412414
; Default value for DefaultOrgMemberVisible
413-
; True will make the membership of the users visible when added to the organisation
415+
; True will make the membership of the users visible when added to the organisation
414416
DEFAULT_ORG_MEMBER_VISIBLE = false
415417
; Default value for EnableDependencies
416418
; Repositories will use dependencies by default depending on this setting
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
date: "2019-08-27:00:00+02:00"
3+
title: "CI/CD Usage"
4+
slug: "ci-cd"
5+
weight: 40
6+
toc: true
7+
draft: false
8+
menu:
9+
sidebar:
10+
parent: "advanced"
11+
name: "CI/CD Usage"
12+
weight: 40
13+
identifier: "ci-cd"
14+
---
15+
16+
# Gitea and CI/CD
17+
18+
**NOTE:** These tools are not endorsed by Gitea. They are listed here for convenience only.
19+
20+
## Listing
21+
22+
CI/CD solutions that have integration with Gitea. Following list is not complete,
23+
the purpose is to give a starting point to integrate a CI/CD process with your Gitea instance.
24+
25+
- [Drone](https://drone.io) with [Gitea documentation](https://docs.drone.io/installation/gitea/)
26+
- [Jenkins](https://jenkins.io/) with [Gitea plugin](https://plugins.jenkins.io/gitea)
27+
- [Agola](https://agola.io)
28+
- [Buildkite](https://buildkite.com) with [Gitea connector](https://github.com/techknowlogick/gitea-buildkite-connector)
29+
30+
Others CI/CD solutions that partially can be integrated with Gitea:
31+
- [Concourse](https://www.concourse-ci.org), see more information at [Concourse community forum](https://discuss.concourse-ci.org/t/concourse-ci-and-gitea-oauth/1475)

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
184184
- `UPDATE_BUFFER_LEN`: **20**: Buffer length of index request.
185185
- `MAX_FILE_SIZE`: **1048576**: Maximum size in bytes of files to be indexed.
186186

187+
## Admin (`admin`)
188+
- `DEFAULT_EMAIL_NOTIFICATIONS`: **enabled**: Default configuration for email notifications for users (user configurable). Options: enabled, onmention, disabled
189+
187190
## Security (`security`)
188191

189192
- `INSTALL_LOCK`: **false**: Disallow access to the install page.

docs/content/doc/advanced/third-party-tools.en-us.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ menu:
1919
*This is by no means a complete list, so feel free to ask about adding more!*
2020

2121
### Continuous Integration
22-
[BuildKite Connector](https://github.com/techknowlogick/gitea-buildkite-connector)
23-
[Jenkins Plugin](https://github.com/jenkinsci/gitea-plugin)
24-
[Using Gitea with Drone](https://docs.drone.io/installation/gitea/)
2522

23+
Check our [CI/CD page]({{< relref "doc/advanced/ci-cd.en-us.md" >}})
2624

2725
### Migrating
2826
[Installation script for Gitea](https://git.coolaj86.com/coolaj86/gitea-installer.sh)

go.mod

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ require (
1313
gitea.com/macaron/macaron v1.3.3-0.20190821202302-9646c0587edb
1414
gitea.com/macaron/session v0.0.0-20190821211443-122c47c5f705
1515
gitea.com/macaron/toolbox v0.0.0-20190822013122-05ff0fc766b7
16-
github.com/PuerkitoBio/goquery v0.0.0-20170324135448-ed7d758e9a34
16+
github.com/PuerkitoBio/goquery v1.5.0
1717
github.com/RoaringBitmap/roaring v0.4.7 // indirect
18-
github.com/andybalholm/cascadia v0.0.0-20161224141413-349dd0209470 // indirect
1918
github.com/bgentry/speakeasy v0.1.0 // indirect
2019
github.com/blevesearch/bleve v0.0.0-20190214220507-05d86ea8f6e3
2120
github.com/blevesearch/blevex v0.0.0-20180227211930-4b158bb555a3 // indirect
@@ -27,7 +26,7 @@ require (
2726
github.com/cznic/b v0.0.0-20181122101859-a26611c4d92d // indirect
2827
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 // indirect
2928
github.com/cznic/strutil v0.0.0-20181122101858-275e90344537 // indirect
30-
github.com/denisenkom/go-mssqldb v0.0.0-20190724012636-11b2859924c1
29+
github.com/denisenkom/go-mssqldb v0.0.0-20190820223206-44cdfe8d8ba9
3130
github.com/dgrijalva/jwt-go v3.2.0+incompatible
3231
github.com/emirpasic/gods v1.12.0
3332
github.com/etcd-io/bbolt v1.3.2 // indirect
@@ -45,9 +44,10 @@ require (
4544
github.com/glycerine/goconvey v0.0.0-20190315024820-982ee783a72e // indirect
4645
github.com/go-redis/redis v6.15.2+incompatible
4746
github.com/go-sql-driver/mysql v1.4.1
48-
github.com/go-xorm/xorm v0.7.4
47+
github.com/go-xorm/xorm v0.7.7-0.20190822154023-17592d96b35b
4948
github.com/gogits/chardet v0.0.0-20150115103509-2404f7772561
5049
github.com/gogs/cron v0.0.0-20171120032916-9f6c956d3e14
50+
github.com/golang/snappy v0.0.1 // indirect
5151
github.com/google/go-github/v24 v24.0.1
5252
github.com/gorilla/context v1.1.1
5353
github.com/issue9/assert v1.3.2 // indirect
@@ -60,7 +60,7 @@ require (
6060
github.com/klauspost/compress v0.0.0-20161025140425-8df558b6cb6f
6161
github.com/klauspost/cpuid v0.0.0-20160302075316-09cded8978dc // indirect
6262
github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6 // indirect
63-
github.com/lafriks/xormstore v1.1.0
63+
github.com/lafriks/xormstore v1.2.0
6464
github.com/lib/pq v1.2.0
6565
github.com/lunny/dingtalk_webhook v0.0.0-20171025031554-e3534c89ef96
6666
github.com/lunny/levelqueue v0.0.0-20190217115915-02b525a4418e
@@ -70,13 +70,17 @@ require (
7070
github.com/mattn/go-sqlite3 v1.11.0
7171
github.com/mcuadros/go-version v0.0.0-20190308113854-92cdf37c5b75
7272
github.com/microcosm-cc/bluemonday v0.0.0-20161012083705-f77f16ffc87a
73+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
74+
github.com/modern-go/reflect2 v1.0.1 // indirect
7375
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae // indirect
7476
github.com/msteinert/pam v0.0.0-20151204160544-02ccfbfaf0cc
7577
github.com/nfnt/resize v0.0.0-20160724205520-891127d8d1b5
7678
github.com/oliamb/cutter v0.2.2
7779
github.com/philhofer/fwd v1.0.0 // indirect
7880
github.com/pquerna/otp v0.0.0-20160912161815-54653902c20e
79-
github.com/prometheus/client_golang v0.9.3
81+
github.com/prometheus/client_golang v1.1.0
82+
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 // indirect
83+
github.com/prometheus/procfs v0.0.4 // indirect
8084
github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 // indirect
8185
github.com/russross/blackfriday v0.0.0-20180428102519-11635eb403ff
8286
github.com/saintfish/chardet v0.0.0-20120816061221-3af4cd4741ca // indirect
@@ -86,7 +90,7 @@ require (
8690
github.com/shurcooL/sanitized_anchor_name v0.0.0-20160918041101-1dba4b3954bc // indirect
8791
github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd
8892
github.com/steveyen/gtreap v0.0.0-20150807155958-0abe01ef9be2 // indirect
89-
github.com/stretchr/testify v1.3.0
93+
github.com/stretchr/testify v1.4.0
9094
github.com/tecbot/gorocksdb v0.0.0-20181010114359-8752a9433481 // indirect
9195
github.com/tinylib/msgp v0.0.0-20180516164116-c8cf64dff200 // indirect
9296
github.com/tstranex/u2f v1.0.0
@@ -97,15 +101,17 @@ require (
97101
github.com/urfave/cli v1.20.0
98102
github.com/willf/bitset v0.0.0-20180426185212-8ce1146b8621 // indirect
99103
github.com/yohcop/openid-go v0.0.0-20160914080427-2c050d2dae53
100-
go.etcd.io/bbolt v1.3.2 // indirect
101-
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
102-
golang.org/x/net v0.0.0-20190724013045-ca1201d0de80
103-
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421
104-
golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3
104+
go.etcd.io/bbolt v1.3.3 // indirect
105+
golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472
106+
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297
107+
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
108+
golang.org/x/sys v0.0.0-20190904005037-43c01164e931
105109
golang.org/x/text v0.3.2
106-
golang.org/x/tools v0.0.0-20190731214159-1e85ed8060aa // indirect
110+
golang.org/x/tools v0.0.0-20190903163617-be0da057c5e3 // indirect
111+
google.golang.org/appengine v1.6.2 // indirect
107112
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
108113
gopkg.in/asn1-ber.v1 v1.0.0-20150924051756-4e86f4367175 // indirect
114+
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
109115
gopkg.in/editorconfig/editorconfig-core-go.v1 v1.3.0
110116
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
111117
gopkg.in/ini.v1 v1.46.0
@@ -117,5 +123,5 @@ require (
117123
mvdan.cc/xurls/v2 v2.0.0
118124
strk.kbt.io/projects/go/libravatar v0.0.0-20160628055650-5eed7bff870a
119125
xorm.io/builder v0.3.5
120-
xorm.io/core v0.6.3
126+
xorm.io/core v0.7.0
121127
)

0 commit comments

Comments
 (0)