Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added dependencies for issues (#2196) #2531

Merged
merged 380 commits into from
Jul 17, 2018
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
380 commits
Select commit Hold shift + click to select a range
c5992f5
Fixed translation issue
kolaente Oct 28, 2017
021a7e0
Fixed whitespace
kolaente Oct 28, 2017
55f6cf9
Fixed issue where an issue could not be closed because of non-existin…
kolaente Oct 28, 2017
30fe97a
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Oct 30, 2017
751bbee
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Oct 30, 2017
913584a
fmt
kolaente Oct 30, 2017
53ec08f
fmt
kolaente Oct 30, 2017
14aa1d2
When adding a dependency, the current issue is not shown in the list …
kolaente Oct 31, 2017
0bbc695
Fixed a bug where a border in the issue dependency list was on the wr…
kolaente Oct 31, 2017
a651cc3
Rebased Font-awesome with master
kolaente Nov 1, 2017
f188031
Rebased sidebar template to remove unrelated changes
kolaente Nov 1, 2017
58e7c2b
Rebased Font-awesome License file with master
kolaente Nov 1, 2017
5a9f273
Removed unrelated changes
kolaente Nov 1, 2017
ba734d6
Removed unrelated changes
kolaente Nov 1, 2017
5e4b6fc
Removed unrelated changes in locales
kolaente Nov 1, 2017
5302eca
Removed unrelated changes in gitgraph
kolaente Nov 1, 2017
2fe66c2
Removed unrelated changes in routes
kolaente Nov 1, 2017
a2b652e
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Nov 1, 2017
762266f
Removed unrelated changes in routes
kolaente Nov 1, 2017
6b3a51a
Removed unrelated changes in locales
kolaente Nov 1, 2017
2dca487
gofmt
kolaente Nov 1, 2017
d1df4ec
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Nov 1, 2017
dd24b9f
Implemented missing create table for Issue Dependencies table \
kolaente Nov 1, 2017
827291e
Cleanup
kolaente Nov 1, 2017
c0bc5e8
Fixed indetion
kolaente Nov 1, 2017
993a3c0
Fixed indention
kolaente Nov 1, 2017
3beecd2
Improved readability
kolaente Nov 1, 2017
4e9e1f8
Removed unused named returns
kolaente Nov 1, 2017
e364cfc
Improved Readability
kolaente Nov 1, 2017
c4ba8d6
Merge branch 'master' into master
kolaente Nov 6, 2017
9e9d8b9
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Nov 6, 2017
80437f8
Merge remote-tracking branch 'origin/master'
kolaente Nov 6, 2017
a54f930
Removed wrong notification content in struct
kolaente Nov 6, 2017
d65fe40
Added unique to issue dependency struct for issueID and DependencyID
kolaente Nov 6, 2017
f38b3b4
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Nov 13, 2017
f1f0607
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Nov 14, 2017
6109fcf
Simplified check for open dependencies
kolaente Nov 14, 2017
85cdd94
Moved methods to get issue dependencies for a given issue from repo t…
kolaente Nov 14, 2017
a57bcf1
Added more specific error when creating a new dependency if it alread…
kolaente Nov 26, 2017
fc35252
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Nov 26, 2017
33c5033
Started implementing settign for dependencies
kolaente Nov 27, 2017
c81041f
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Nov 27, 2017
db4f578
Finished implementing setting for dependencies
kolaente Nov 27, 2017
03769da
gofmt
kolaente Nov 27, 2017
6eea6c6
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Nov 29, 2017
d00eb86
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Nov 29, 2017
78dd6c1
Moved checking if dependencies are enabled to issue_dependency.go
kolaente Dec 2, 2017
1fded52
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Dec 2, 2017
3566e9e
Added tests for issue dependencies
kolaente Dec 3, 2017
9af3aae
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Dec 3, 2017
f61ba0f
gofmt
kolaente Dec 3, 2017
d0baadc
gofmt
kolaente Dec 3, 2017
9dd0cb1
Fixed misspell
kolaente Dec 3, 2017
fae4466
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Dec 4, 2017
8bcb624
Added missing license header
kolaente Dec 4, 2017
25427ae
Using "sess" instead of "x" when removing a depencency
kolaente Dec 4, 2017
66433a9
gofmt
kolaente Dec 4, 2017
01f9e63
Modified import order
kolaente Dec 6, 2017
13f0e17
Fixed using xorm session
kolaente Dec 6, 2017
cdd322f
Merge branch 'master' into master
kolaente Dec 6, 2017
e98f92d
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Dec 6, 2017
822c75c
Merge remote-tracking branch 'origin/master'
kolaente Dec 6, 2017
f02fd33
Fixed import order
kolaente Dec 7, 2017
7e93434
Merge branch 'master' into master
kolaente Dec 7, 2017
172b1f0
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Dec 19, 2017
8354f2b
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Dec 19, 2017
69769ec
gofmt
kolaente Dec 19, 2017
1608248
Fixed deleting a dependency when it going from the blocking one
kolaente Dec 19, 2017
46f099c
Merge remote-tracking branch 'origin/master'
kolaente Dec 19, 2017
e6aeeac
typo
kolaente Dec 19, 2017
08763cf
typo
kolaente Dec 19, 2017
32c5605
Added docs for dependencies
kolaente Dec 19, 2017
ed4a47d
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Dec 29, 2017
200f88d
Small fixes to xorm-stuff
kolaente Dec 29, 2017
9714024
Renamed "CanUseDependencies" to "CanCreateDependencies" to be more pr…
kolaente Dec 29, 2017
2c8103f
Fixed import order
kolaente Dec 29, 2017
1f0bac0
Fixed using strconvert
kolaente Dec 29, 2017
d29ca0c
Fixed comment
kolaente Dec 29, 2017
70589e6
Added Custom error types for issue dependencies
kolaente Dec 29, 2017
1064acc
Logging error
kolaente Dec 29, 2017
c176353
fixed typos
kolaente Dec 29, 2017
866beeb
Removed unsued code
kolaente Dec 29, 2017
5e20447
Replaced c with ctx for consistency
kolaente Dec 29, 2017
2058f4e
Fixed error message
kolaente Dec 29, 2017
5dc9c22
Renamed "c" to "ctx" for consistency
kolaente Dec 29, 2017
f48d6cd
Error messages moved to locale file
kolaente Dec 29, 2017
8931ced
Fixed error messages
kolaente Dec 29, 2017
df638db
Removed unused import
kolaente Dec 29, 2017
4855f83
Fixed indent
kolaente Dec 29, 2017
108edf9
Modified tests to work again with modified functions
kolaente Dec 29, 2017
2a249c4
gofmt
kolaente Dec 29, 2017
c534699
Fixed Lint suggestions
kolaente Dec 29, 2017
57a4f86
typo
kolaente Dec 29, 2017
fdb106d
typo
kolaente Dec 29, 2017
a2a6fed
Merge branch 'master' into master
kolaente Dec 30, 2017
436ea16
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jan 1, 2018
9eedb3f
Fixed check for issue is nil before getting issue details
kolaente Jan 1, 2018
b7ed097
Fixed localization
kolaente Jan 1, 2018
661bd7c
gofmt
kolaente Jan 1, 2018
632cca5
Merge branch 'master' into master
kolaente Jan 1, 2018
12c0093
Merge branch 'master' into master
kolaente Jan 2, 2018
96d6db4
Fixed an issue where it would make a request to get all issues even i…
kolaente Jan 2, 2018
0016a3e
Merge branch 'master' into master
kolaente Jan 3, 2018
cd47077
Merge branch 'master' into master
kolaente Jan 3, 2018
8735bc2
Merge branch 'master' into master
kolaente Jan 4, 2018
37dc550
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jan 6, 2018
f4cb1c7
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jan 6, 2018
8bc0947
Added more specific locale
kolaente Jan 6, 2018
86be828
Added more specific locale
kolaente Jan 6, 2018
eb295f4
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jan 6, 2018
171715b
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jan 6, 2018
4d15f28
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jan 8, 2018
1f8ef92
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jan 8, 2018
0fcc3b2
Merge branch 'master' into master
kolaente Jan 9, 2018
d5b1c33
Merge branch 'master' into master
kolaente Jan 11, 2018
5f187df
Fixed communicating errors to the user
kolaente Jan 11, 2018
c44e13b
typo
kolaente Jan 11, 2018
a5b696a
typo
kolaente Jan 11, 2018
cf1b573
Merge branch 'master' into master
kolaente Jan 13, 2018
f71f2d4
Removed unnessecary errorcheck
kolaente Jan 13, 2018
4277014
Fixed indention
kolaente Jan 13, 2018
31eff2f
Added displaying if dependencies are enabled by default or not on con…
kolaente Jan 13, 2018
30ae70a
Moved check for open dependencies to "changeStatus"
kolaente Jan 14, 2018
dd5cfbf
Simplified "CanCreateIssueDependencies"
kolaente Jan 14, 2018
fdabcf1
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jan 14, 2018
992e168
Fixed lint + gofmt
kolaente Jan 14, 2018
60834bc
Change nothing to trigger CI
kolaente Jan 14, 2018
18fe48e
Change nothing to trigger CI
kolaente Jan 14, 2018
647296c
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jan 21, 2018
cd734a3
Merge branch 'master' into master
kolaente Jan 24, 2018
f837429
Added only check if we're about to close an issue when closing an iss…
kolaente Jan 24, 2018
0ce2170
Added only check if we're about to close an issue when closing an iss…
kolaente Jan 24, 2018
9ee04eb
Merge remote-tracking branch 'origin/master'
kolaente Jan 24, 2018
cdb5d65
Merge branch 'master' into master
kolaente Jan 31, 2018
9e29f71
Merge branch 'master' into master
kolaente Feb 8, 2018
16b1636
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Feb 12, 2018
be51a47
Merged 'routers/issue_dependency_add' and 'routers/issue_dependency_r…
kolaente Feb 12, 2018
0ea51f8
Use xorm engine from pararmeter instead of global one
kolaente Feb 12, 2018
e322fa3
Added migration to update comments table
kolaente Feb 12, 2018
9584d3f
gofmt
kolaente Feb 12, 2018
1b63df7
Fixed status codes
kolaente Feb 12, 2018
7566292
Updated copyright header
kolaente Feb 12, 2018
421c9fa
Merge branch 'master' into master
jonasfranz Feb 12, 2018
bd3cf60
FIxed import order
kolaente Feb 12, 2018
b58363c
Merge remote-tracking branch 'origin/master'
kolaente Feb 12, 2018
bcaea09
FIxed import order
kolaente Feb 12, 2018
e842472
Merge branch 'master' into master
jonasfranz Feb 15, 2018
64e61d6
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Feb 15, 2018
637895b
Merge remote-tracking branch 'origin/master'
kolaente Feb 15, 2018
77cf3db
Merge branch 'master' into master
kolaente Feb 17, 2018
32db1b3
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Feb 19, 2018
ec0e693
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Feb 19, 2018
5e0a72c
Merge remote-tracking branch 'origin/master'
kolaente Feb 19, 2018
7d1df8b
Merge branch 'master' into master
kolaente Feb 20, 2018
b4f406c
Fixed lang
kolaente Feb 27, 2018
d2ab9e2
Fixed http status code on redirect
Feb 27, 2018
9313332
Cleanup + fmt
kolaente Feb 27, 2018
e4a6426
Added lazy load for issue list
kolaente Feb 27, 2018
138a80b
Grammar
kolaente Feb 27, 2018
264f895
Only check for open dependencies if they are enabled
kolaente Feb 27, 2018
0c6f56d
Remove redundant sprintf
kolaente Feb 27, 2018
250138f
Return JSON when trying to close issue dependencies and fail
kolaente Feb 27, 2018
91e0b53
Simplify redirect
kolaente Feb 27, 2018
5e5139f
Simplify error
kolaente Feb 27, 2018
5852b7c
Merge branch 'master' into master
kolaente Feb 27, 2018
e1f2a8e
Fixed lint
kolaente Feb 27, 2018
20ed1e9
Merge branch 'master' into master
lunny Mar 7, 2018
4d28a82
Implemented issue search via api when adding new dependencies
kolaente Mar 7, 2018
4f94a01
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Mar 11, 2018
2950021
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Mar 18, 2018
c3a5878
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Mar 18, 2018
7a57b6d
Merge remote-tracking branch 'upstream/master'
kolaente Mar 20, 2018
497628e
Merge branch 'master' into master
kolaente Mar 22, 2018
2edfbcd
Cosmetic
kolaente Mar 23, 2018
a25e1dd
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Apr 3, 2018
f49dd29
re-added migration
kolaente Apr 3, 2018
3a24b65
Merge remote-tracking branch 'origin/master'
kolaente Apr 3, 2018
b589726
small improvements
kolaente Apr 4, 2018
c3818a9
fmt
kolaente Apr 4, 2018
7b26e2c
merge into master
kolaente Apr 10, 2018
3820fc4
Added extra error type for unknown dependency type
kolaente Apr 10, 2018
2f136fc
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Apr 13, 2018
29dbc17
removed unused import
kolaente Apr 13, 2018
6f999a0
Fixed unnessecary nested code
kolaente Apr 14, 2018
7528664
More consitency when defining returned variables
kolaente Apr 14, 2018
be76631
Improvements when returning an error.
kolaente Apr 16, 2018
8d2015f
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Apr 16, 2018
ee77151
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Apr 17, 2018
82129b8
Simplified returning blocked/blocking dependencies
kolaente Apr 17, 2018
b00e209
semantics
kolaente Apr 17, 2018
414d1d0
Optimizations to removing a dependency (thanks @Morlinest)
kolaente Apr 17, 2018
9e11e77
Checking if a dependency exists and/or circular is is now done in two…
kolaente Apr 18, 2018
d0b7307
Merge with gitea-master
kolaente Apr 20, 2018
17b2d43
Simplified checking for circular dependencies
kolaente Apr 20, 2018
6af8ef7
Simplified comment creation of issue dependencies
kolaente Apr 20, 2018
2e096a5
Simplified creation of new dependencies
kolaente Apr 20, 2018
1a86536
removed unessecary comment
kolaente Apr 20, 2018
81b51d0
removed unessecary function call
kolaente Apr 20, 2018
b258bc0
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Apr 21, 2018
6a5e138
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Apr 23, 2018
c0cd0c3
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Apr 29, 2018
022e9d2
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Apr 29, 2018
3cd497f
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 1, 2018
16533e9
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 1, 2018
0f8a212
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 2, 2018
a3a544e
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 2, 2018
8266510
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 5, 2018
edf661d
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 5, 2018
9185958
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 6, 2018
f0406c1
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 6, 2018
395c062
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 9, 2018
c877186
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 9, 2018
288cd40
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 9, 2018
d29f582
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 9, 2018
83b8831
fmt
kolaente May 9, 2018
617d8cd
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 11, 2018
6733682
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 18, 2018
236ad85
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 18, 2018
fbd78f4
pre-merge
kolaente May 20, 2018
ad353f0
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente May 20, 2018
5d8383e
Fixed UI bug
kolaente May 20, 2018
8c1f627
Merged with gitea-master
kolaente Jun 6, 2018
15aa9b1
Merged with gitea-master
kolaente Jun 6, 2018
0da2e34
Simplified error messages
kolaente Jun 6, 2018
e18627c
removed unnecessary index
kolaente Jun 6, 2018
39392de
removed unessecary comment
kolaente Jun 6, 2018
87f41c0
removed unnecessary index in xorm declaration
kolaente Jun 6, 2018
c52e970
Added title for error log when using via the api
kolaente Jun 6, 2018
c212a82
Moved check if the repo is allowed to have dependencies to the top of…
kolaente Jun 6, 2018
990985a
Added missing returns
kolaente Jun 6, 2018
05aaee2
Removed unnecessary setting dependent issue in comment creation
kolaente Jun 8, 2018
ec9797d
Fixed issue dependency comments not showing
kolaente Jun 8, 2018
0879a36
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jun 8, 2018
425e765
fixed lint + fmt
kolaente Jun 8, 2018
6514da4
Merge branch 'master' into master
kolaente Jun 11, 2018
12602c2
Merge branch 'master' into master
kolaente Jun 13, 2018
c760e6a
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jun 17, 2018
393013a
Changed delete endpoint to /delete
kolaente Jun 17, 2018
2d95ab1
Added missing return
kolaente Jun 17, 2018
10308a0
removed unused DependentIssue element
kolaente Jun 17, 2018
d89a136
pre-commit
kolaente Jun 19, 2018
8a6ba47
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jun 19, 2018
f01fdf6
fmt
kolaente Jun 20, 2018
e00e5dd
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jun 20, 2018
cf6d426
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jul 6, 2018
49c471f
Merge branch 'master' of https://github.com/go-gitea/gitea
kolaente Jul 6, 2018
a283309
Moved redirect to defer
kolaente Jul 6, 2018
b6e428d
Merge branch 'master' of github.com:go-gitea/gitea
kolaente Jul 15, 2018
c3a6210
Merge branch 'master' of github.com:go-gitea/gitea
kolaente Jul 16, 2018
b8aa1d8
Merge branch 'master' of github.com:go-gitea/gitea
kolaente Jul 16, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 44 additions & 0 deletions .changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
repo: go-gitea/gitea
groups:
-
name: BREAKING
labels:
- kind/breaking
-
name: FEATURE
labels:
- kind/feature
-
name: BUGFIXES
labels:
- kind/bug
-
name: ENHANCEMENT
labels:
- kind/enhancement
- kind/refactor
- kind/ui
-
name: SECURITY
labels:
- kind/security
-
name: TESTING
labels:
- kind/testing
-
name: TRANSLATION
labels:
- kind/translation
-
name: BUILD
labels:
- kind/build
- kind/lint
-
name: DOCS
labels:
- kind/docs
-
name: MISC
default: true
96 changes: 49 additions & 47 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ workspace:
base: /srv/app
path: src/code.gitea.io/gitea

pipeline:
clone:
image: plugins/git
clone:
git:
image: plugins/git:1
depth: 50
tags: true

pipeline:
build:
image: webhippie/golang:edge
pull: true
environment:
TAGS: bindata sqlite
GOPATH: /srv/app
commands:
- apk -U add openssh-client
- make clean
- make generate
- make vet
Expand All @@ -30,43 +30,32 @@ pipeline:
test:
image: webhippie/golang:edge
pull: true
group: test
environment:
TAGS: bindata sqlite
GOPATH: /srv/app
commands:
- apk -U add openssh-client
- make test
when:
event: [ tag, pull_request ]

test-coverage:
image: webhippie/golang:edge
pull: true
environment:
TAGS: bindata sqlite
GOPATH: /srv/app
commands:
- apk -U add openssh-client
- go get github.com/wadey/gocovmerge
- make test-coverage
when:
event: [ push ]
branch: master

test-sqlite:
image: webhippie/golang:edge
pull: true
environment:
TAGS: bindata
GOPATH: /srv/app
commands:
- echo "Needs to be fixed" # make test-sqlite
when:
event: [ push, tag, pull_request ]

# Commented until db locking have been resolved!
# test-sqlite:
# image: webhippie/golang:edge
# pull: true
# group: test
# environment:
# TAGS: bindata
# GOPATH: /srv/app
# commands:
# - make test-sqlite
# when:
# event: [ push, tag, pull_request ]

test-mysql:
image: webhippie/golang:edge
pull: true
group: test
environment:
TAGS: bindata
GOPATH: /srv/app
Expand All @@ -78,6 +67,7 @@ pipeline:
test-pgsql:
image: webhippie/golang:edge
pull: true
group: test
environment:
TAGS: bindata
GOPATH: /srv/app
Expand All @@ -86,6 +76,12 @@ pipeline:
when:
event: [ push, tag, pull_request ]

# coverage:
# image: plugins/coverage:latest
# pull: true
# secrets: [ github_token ]
# server: https://coverage.gitea.io

static:
image: karalabe/xgo-latest:latest
pull: true
Expand All @@ -97,42 +93,41 @@ pipeline:
when:
event: [ push, tag ]

# coverage:
# image: plugins/coverage
# server: https://coverage.gitea.io
# when:
# event: [ push ]
# branch: master

docker:
image: plugins/docker
image: plugins/docker:17.05
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
tags: [ '${DRONE_TAG##v}' ]
when:
event: [ tag ]
branch: [ refs/tags/* ]

docker:
image: plugins/docker
image: plugins/docker:17.05
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
tags: [ '${DRONE_BRANCH##release/v}' ]
when:
event: [ push ]
branch: [ release/* ]

docker:
image: plugins/docker
image: plugins/docker:17.05
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
tags: [ 'latest' ]
when:
event: [ push ]
branch: [ master ]

release:
image: plugins/s3
image: plugins/s3:1
pull: true
secrets: [ s3_access_key, s3_secret_key ]
endpoint: https://storage.gitea.io
path_style: true
strip_prefix: dist/release/
source: dist/release/*
Expand All @@ -142,7 +137,10 @@ pipeline:
branch: [ refs/tags/* ]

release:
image: plugins/s3
image: plugins/s3:1
pull: true
secrets: [ s3_access_key, s3_secret_key ]
endpoint: https://storage.gitea.io
path_style: true
strip_prefix: dist/release/
source: dist/release/*
Expand All @@ -152,7 +150,10 @@ pipeline:
branch: [ release/* ]

release:
image: plugins/s3
image: plugins/s3:1
pull: true
secrets: [ s3_access_key, s3_secret_key ]
endpoint: https://storage.gitea.io
path_style: true
strip_prefix: dist/release/
source: dist/release/*
Expand All @@ -162,17 +163,18 @@ pipeline:
branch: [ master ]

github:
image: plugins/github-release
image: plugins/github-release:1
pull: true
files:
- dist/release/*
when:
event: [ tag ]
branch: [ refs/tags/* ]

discord:
image: appleboy/drone-discord:0.0.4
webhook_id: ${WEBHOOK_ID}
webhook_token: ${WEBHOOK_TOKEN}
image: appleboy/drone-discord:1.0.0
pull: true
secrets: [ discord_webhook_id, discord_webhook_token ]
when:
event: [ push, tag, pull_request ]
status: [ changed, failure ]
Expand Down
1 change: 0 additions & 1 deletion .drone.yml.sig

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ _testmain.go
/indexers
/log
/public/img/avatar
/integrations/gitea-integration
/integrations/gitea-integration-mysql
/integrations/gitea-integration-pgsql
/integrations/gitea-integration-sqlite
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
* Password reset URL changed from `/user/forget_password` to `/user/forgot_password`
* SSH keys management URL changed from `/user/settings/ssh` to `/user/settings/keys`

## [1.1.4](https://github.com/go-gitea/gitea/releases/tag/v1.1.4) - 2017-09-04

* BUGFIXES
* Fix rendering of external links (#2292) (#2315)
* Fix deleted milestone bug (#1942) (#2300)
* fix 500 error when view an issue which's milestone deleted (#2297) (#2299)
* Fix SHA1 hash linking (#2143) (#2293)
* back port from #1709 (#2291)

## [1.1.3](https://github.com/go-gitea/gitea/releases/tag/v1.1.3) - 2017-08-03

* BUGFIXES
Expand Down
Loading