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

Gitea release/v1.7 in Develop #4

Open
wants to merge 903 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
903 commits
Select commit Hold shift + click to select a range
486e989
feat(topic): search keyword by splitting provided values by , (#4939)
appleboy Oct 18, 2018
97da83d
Add myself to maintainers (#5101)
BetaCat0 Oct 18, 2018
e4b8103
Use fingerprint in place of id (#5099)
sapk Oct 18, 2018
1e34413
refactor: err != nil check, just return error instead (#5093)
appleboy Oct 18, 2018
637c5fe
ZH-CN translation of Installation part (#5089)
BetaCat0 Oct 18, 2018
eb0c848
Use native go method to get current user rather than environment vari…
SagePtr Oct 18, 2018
7bb4d61
Use APP_NAME on home page (#5048)
mcnesium Oct 18, 2018
dd62ca7
Add support for search by uid (#4876)
zeripath Oct 18, 2018
ea619b3
Add notification interface and refactor UI notifications (#5085)
lunny Oct 18, 2018
8db3bdc
Fix home page template regression (#5102)
darktohka Oct 18, 2018
fef0410
Make switch more clear (#5119)
cristaloleg Oct 19, 2018
47e4efe
[skip ci] Updated translations via Crowdin
GiteaBot Oct 19, 2018
616b8f4
Fix deadlock when sqlite (#5118)
lunny Oct 19, 2018
a908b29
Remove duplicated if bodies (#5121)
cristaloleg Oct 19, 2018
971dccd
Use type switch (#5122)
cristaloleg Oct 19, 2018
cabdf84
Use named const instead of a raw string (#5115)
cristaloleg Oct 20, 2018
dea3d84
Give user a link to create PR after push (#4716)
JulienTant Oct 20, 2018
2227446
Add LFS timeout issue to troubleshooting doc (#5129)
ravenscroftj Oct 20, 2018
2313121
fix fading menu in arc-green theme (#5128)
glaszig Oct 20, 2018
583b1b8
Retry test-fixtures loading in case of transaction rollback (#5125)
typeless Oct 20, 2018
5a4648c
Remove check for negative length (#5120)
cristaloleg Oct 20, 2018
c2748ea
Add must-change-password flag to cli for creating a user (#4955)
adelowo Oct 20, 2018
9b2fcad
Fix SQL quoting (#5117)
filipnavara Oct 20, 2018
43f9233
Fix Swagger JSON autogeneration issues. (#4845)
zeripath Oct 21, 2018
9458880
Increase the retry limit to 20 times and the interval to 200ms (#5134)
typeless Oct 21, 2018
f38fce9
Add comment replies (#5104)
jonasfranz Oct 22, 2018
6759237
User action heatmap (#5131)
kolaente Oct 23, 2018
2ce72d4
Update vendor/go-sqlite3 (#5133)
typeless Oct 23, 2018
25c49cf
Update build tags for sqlite_unlock_notify (#5144)
typeless Oct 23, 2018
159c2ff
Update outdated Go toolchain version for .drone.yml (#5146)
typeless Oct 23, 2018
efa4e6b
Update the docs for sqlite_unlock_notify (#5145)
typeless Oct 23, 2018
317ddb7
Update vendor/github.com/mattn/go-sqlite3 (#5162)
typeless Oct 24, 2018
70ad461
Fix JSON result of empty array (#5154)
sapk Oct 24, 2018
7e5eec4
[skip ci] Updated translations via Crowdin
GiteaBot Oct 24, 2018
ffd5fb8
Set heatmap color range configurable (#5165)
sapk Oct 24, 2018
c258ae8
revert #5146 (#5167)
sapk Oct 25, 2018
890a0c3
[skip ci] Updated translations via Crowdin
GiteaBot Oct 25, 2018
554581f
Disable sqlite test (#5178)
typeless Oct 25, 2018
5f938c0
Fix sqlite lock (#5176)
lunny Oct 25, 2018
aeb5655
Update go-macaron/session to latest mast to fix RCE-bug (#5177)
bkcsoft Oct 25, 2018
e782247
Fix race on updatesize (#5190)
lunny Oct 26, 2018
e500b82
[skip ci] Updated translations via Crowdin
GiteaBot Oct 26, 2018
f887085
Update TRANSLATORS (#5194)
briolantonio Oct 26, 2018
2af57c7
Update x/net (#5169)
sapk Oct 26, 2018
99c09df
Update vendor/golang.org/x/sys (#5059)
tuxillo Oct 26, 2018
2b7c366
fix sqlite lock (#5184)
lunny Oct 27, 2018
8a9e44d
Update with-docker.en-us.md (#5203)
pestrickland Oct 28, 2018
48badd5
Fix to 3819 - Filtering issues by tags on main screen issues (#3824)
rvillablanca Oct 28, 2018
fb14458
fix: Add secret to all webhook's payload where it has been missing (#…
HoffmannP Oct 28, 2018
a2ee2a3
fix showing pull request link when delete a branch (#5166)
lunny Oct 28, 2018
b845119
UX of link account (Step 1) (#5006)
Oct 28, 2018
8b4c4bd
k8s deployment (#5046)
BetaCat0 Oct 29, 2018
abf6e0d
[skip ci] Updated translations via Crowdin
GiteaBot Oct 29, 2018
7694c99
Kill testing processes if the test takes too long (#5174)
typeless Oct 29, 2018
70a80e3
fix sqlite and mssql lock (#5214)
lunny Oct 29, 2018
d4e6278
[skip ci] Updated translations via Crowdin
GiteaBot Oct 29, 2018
1ceae07
Fix emojis not showing in commit messages (#5168)
jamesa Oct 29, 2018
735b12e
fix sqlite lock (#5210)
lunny Oct 30, 2018
db30d6d
Serve audio files using HTML5 audio tag (#5221)
cez81 Oct 30, 2018
aefeb8c
[skip ci] Updated translations via Crowdin
GiteaBot Oct 30, 2018
617a243
Make gitea serv use api/internal (#4886)
sapk Oct 30, 2018
5fc0a12
[skip ci] Updated translations via Crowdin
GiteaBot Oct 30, 2018
0ba5794
remove unused db init on commands serv, update, hooks (#5225)
lunny Oct 30, 2018
e61c6cd
fix data race on migrate repository (#5224)
lunny Oct 30, 2018
220ee6a
Pass link prefixes to external markup parsers (#5201)
Eisfunke Oct 30, 2018
a3e0847
Add AutoHead functionality. (#5186)
zeripath Oct 30, 2018
98ea1a5
[skip ci] Updated translations via Crowdin
GiteaBot Oct 30, 2018
d0f614a
only chown directories during docker setup if necessary. Fix #4425 (#…
fabian-braun Oct 30, 2018
e5daa26
Generate random password (#5023)
adelowo Oct 30, 2018
1037065
This commit will reduce join star, repo_topic, topic tables on repo s…
lunny Oct 30, 2018
b686bd0
Fix markdown image with link (#4675)
LER0ever Oct 30, 2018
22ad514
Fix issue where ecdsa and other key types are not synced from LDAP (#…
xor-gate Oct 31, 2018
6eff62a
Add changelog for 1.5.3 release (#5227)
lafriks Oct 31, 2018
7edb930
Add command for migrating database (#4954)
rstefan1 Oct 31, 2018
794049e
fix compatibility heatmap with mysql 8 (#5232)
Oct 31, 2018
c8b4c7a
[skip ci] Updated translations via Crowdin
GiteaBot Oct 31, 2018
6c90dd1
Update API link in README (#5241)
cez81 Nov 1, 2018
584844e
fix: Accept web-command cli flags if web-command is commited (#5200)
HoffmannP Nov 1, 2018
00533d3
Keys API changes (#4960)
zeripath Nov 1, 2018
7d9a191
Create AuthorizedKeysCommand (#5236)
zeripath Nov 1, 2018
4b84928
[skip ci] Updated translations via Crowdin
GiteaBot Nov 1, 2018
fa16562
Update golang version in Dockerfile (#5246)
Nov 1, 2018
225c489
Fixed heatmap not working in mssql (#5248)
kolaente Nov 1, 2018
54259e2
Fixed wrong api request url for instances running in subfolders (#5247)
kolaente Nov 3, 2018
57a8440
Update gitignore list (#5258)
sapk Nov 3, 2018
7096085
Fix #5226 by adding CSRF checking to api reqToken and add CSRF to the…
zeripath Nov 4, 2018
18391c1
Add zeripath to maintainers (#5273)
zeripath Nov 4, 2018
0fd56a7
1.6.0-rc2 changelog (#5276)
techknowlogick Nov 5, 2018
92fb89f
Clean up docs (#5274)
techknowlogick Nov 5, 2018
078c404
Prometheus endpoint (#5256)
Nov 5, 2018
8f8ff5a
Remove maxlines option for file logger (#5282)
lafriks Nov 7, 2018
e8b197d
[skip ci] Updated translations via Crowdin
GiteaBot Nov 7, 2018
c2f72b1
Fix typo in configuration (#5295)
pluehne Nov 8, 2018
de8f981
Fix U2F if gitea is configured in subpath (#5302)
lafriks Nov 8, 2018
599adde
Add option to disable automatic mirror syncing. (#5242)
cez81 Nov 8, 2018
c5d098c
fix bug when users have serval teams with different units on differen…
lunny Nov 9, 2018
2852c35
[skip ci] Updated translations via Crowdin
GiteaBot Nov 9, 2018
7dd31eb
Fix file edit change preview functionality (#5300)
lafriks Nov 9, 2018
d487a76
[skip ci] Updated translations via Crowdin
GiteaBot Nov 9, 2018
b3000ae
Fix create team, update team missing units (#5188)
lunny Nov 10, 2018
4c1f1f9
Remove x/net/context vendor by using std package (#5202)
sapk Nov 10, 2018
b97af15
Block registration based on email domain (#5157)
adelowo Nov 15, 2018
e110943
[skip ci] Updated translations via Crowdin
GiteaBot Nov 15, 2018
7278372
Implement pasting image from clipboard for browsers that supports tha…
lafriks Nov 15, 2018
89eea64
added the ability to set labels on the "edit pull request" api (#5347)
lucienkerl Nov 16, 2018
e033d21
[skip ci] Updated translations via Crowdin
GiteaBot Nov 16, 2018
241ee79
Set ACL on uploads (#5344)
techknowlogick Nov 16, 2018
d9b51a7
Migration fixes for gogs (0.11.66) to gitea (1.6.0) #5318 (#5341)
nougad Nov 18, 2018
4651ba0
[skip ci] Updated translations via Crowdin
GiteaBot Nov 18, 2018
e08c7e5
Add raw blob endpoint to get objects by SHA ID (#5334)
HoffmannP Nov 18, 2018
3a95e2d
app.ini.sample: add ENABLE_USER_HEATMAP default config (#5362)
sapk Nov 20, 2018
499bff4
dont' send assign webhooks when creating issue (#5365)
lunny Nov 20, 2018
8ef177f
add api for user to create org (#5268)
lunny Nov 20, 2018
cef0f12
support envs on external render commands (#5278)
lunny Nov 20, 2018
0dcf31a
Show review summary in pull requests (#5132)
kolaente Nov 22, 2018
5af7f8b
Backport 1.6.0 changelog to master (#5384)
techknowlogick Nov 23, 2018
6467934
[skip ci] Updated translations via Crowdin
GiteaBot Nov 23, 2018
49d9900
[website] file rendering through external binaries (#5387)
juanpablo-santos Nov 23, 2018
3379141
API: '/orgs/:org/repos': return private repos with read access (#5310…
inxonic Nov 23, 2018
fd37fb0
Don't force a password change for the admin user when creating an acc…
adelowo Nov 25, 2018
7e587e0
Fix typos in configuration (#5398)
pluehne Nov 25, 2018
499d132
Fix dependent issue searching when gitea is run in subpath (#5392)
lafriks Nov 25, 2018
d9b0b7f
Notes on upgrading docker installation (#5395)
ryanhalliday Nov 26, 2018
5e022a9
show only opened milestones on issues page milestone filter (#5051)
adelowo Nov 26, 2018
ce9a517
fix password variable shadowing (#5405)
adelowo Nov 26, 2018
3a1ed82
Explicitly decide whether to use TLS in mailer's configuration (#5024)
adelowo Nov 26, 2018
c03a9b3
[skip ci] Updated translations via Crowdin
GiteaBot Nov 26, 2018
e09fe48
Refactor heatmap to vue component (#5401)
lafriks Nov 27, 2018
2949043
Create Progressive Web App (#4730)
SohnyBohny Nov 27, 2018
08bf443
Implement git refs API for listing references (branches, tags and oth…
lafriks Nov 27, 2018
0222623
Explicitly disable Git credential helper (#5367)
michaelkuhn Nov 28, 2018
eabbddc
Restrict permission check on repositories and fix some problems (#5314)
lunny Nov 28, 2018
f17524b
Fix heatmap colors for Chrome/Safari (#5421)
lafriks Nov 28, 2018
d5d847e
Git-Trees API (#5403)
Kasi-R Nov 28, 2018
2dc805c
Milestone issues and pull requests (#5293)
lunny Nov 29, 2018
5c13ba8
Upgrade alpine to 3.8 (#5423)
techknowlogick Nov 29, 2018
fdb4176
Remove the required class from optional ssh port in installation page…
romankl Nov 29, 2018
a7ee4a6
[skip ci] Updated translations via Crowdin
GiteaBot Nov 29, 2018
0787056
Allow to add organization members as collaborators on organization ow…
adelowo Nov 30, 2018
c8a9384
[skip ci] Updated translations via Crowdin
GiteaBot Nov 30, 2018
f80b4f4
Fix repository deletion when there is large number of issues in it (#…
lunny Nov 30, 2018
c761625
[skip ci] Updated translations via Crowdin
GiteaBot Nov 30, 2018
06ef5b6
word-break the WebHook url to prevent a ui-break (#5432)
romankl Nov 30, 2018
552014a
Removing Labels via EditPullRequest API (#5348)
lucienkerl Dec 1, 2018
bc42b3a
[skip ci] Updated translations via Crowdin
GiteaBot Dec 1, 2018
9441bfa
admin should be able to delete repos even if he is not a member of th…
adelowo Dec 2, 2018
ce4885f
[skip ci] Updated translations via Crowdin
GiteaBot Dec 2, 2018
2d707fe
ensure that the `closed_at` is set for closed (#5449)
romankl Dec 2, 2018
20c54f8
refactor: replace lint to revive (#5422)
appleboy Dec 3, 2018
a0ecc5f
improve the git-scm url's in docs and sample.ini (#5467)
romankl Dec 4, 2018
fdec258
[skip ci] Updated translations via Crowdin
GiteaBot Dec 4, 2018
8b864a3
Allow link verification for services like Mastodon (#5481)
koyuawsmbrtn Dec 6, 2018
4b4453c
fix topic name length on database (#5493)
lunny Dec 8, 2018
da5a0b8
add tests for api user orgs (#5494)
lunny Dec 9, 2018
7c0c965
Improve team members and repositories settings UI (#5457)
lunny Dec 9, 2018
7e5abe2
backport 1.6.1 changelog (#5507)
techknowlogick Dec 9, 2018
928417a
Fix empty wiki (#5504)
lunny Dec 9, 2018
1b3404e
fix forgot deletion of notification when delete repository (#5506)
lunny Dec 10, 2018
8a64e67
[skip ci] Updated translations via Crowdin
GiteaBot Dec 10, 2018
284b0e1
fix code review on mssql (#5502)
lunny Dec 11, 2018
205a533
[skip ci] Updated translations via Crowdin
GiteaBot Dec 11, 2018
64680b7
Fixing MSSQL timestamp type (#5511)
chdxD1 Dec 11, 2018
9681c83
Approvals at Branch Protection (#5350)
jonasfranz Dec 11, 2018
15d6cf1
Fix the Let's Encrypt handler by listening on a valid address (#5525)
gregkare Dec 11, 2018
6e114f6
add git protocol v2 support via SSH on Docker image (#5520)
lunny Dec 11, 2018
ccea916
fix adding reaction fail for read permission (#5515)
lunny Dec 11, 2018
ba75319
fix clone wiki failed via ssh (#5503)
lunny Dec 11, 2018
58c4559
fix permission check on api create org (#5523)
lunny Dec 11, 2018
b1f3685
fix approvals limitation (#5521)
lunny Dec 11, 2018
6db7dbd
Added test environment for mssql (#4282)
kolaente Dec 12, 2018
af6bce3
fix detect force push failure on deletion of protected branches (#5522)
lunny Dec 12, 2018
f0374ad
fix bug when a read perm user to edit his issue (#5516)
lunny Dec 12, 2018
0bd802e
[skip ci] Updated translations via Crowdin
GiteaBot Dec 12, 2018
ebef3ef
Remove a double slash in the HTTPS redirection when Let's Encrypt is …
gregkare Dec 12, 2018
49ea6e0
[skip ci] Updated translations via Crowdin
GiteaBot Dec 12, 2018
b3b7598
Improve performance of dashboard (#4977)
lunny Dec 13, 2018
94c3963
Fix makefile generate buildstep (#5556)
jonasfranz Dec 17, 2018
8730ee0
[skip ci] Updated translations via Crowdin
GiteaBot Dec 17, 2018
e726e4b
Add base repo nil check (#5555)
jonasfranz Dec 17, 2018
fe55ab2
fix forgot removed records when deleting user (#5429)
lunny Dec 18, 2018
2a660a1
Support reverse proxy providing email (#5554)
zeripath Dec 18, 2018
7fd34c0
fix lfs version check warning log when using ssh protocol (#5501)
lunny Dec 19, 2018
c649635
Update Licenses (#5558)
zeripath Dec 19, 2018
b65e37e
fix indexer reindex bug when gitea restart (#5563)
lunny Dec 19, 2018
9d0dee8
fix table name typo on SQL (#5562)
lunny Dec 19, 2018
8dc09ed
[skip ci] Updated translations via Crowdin
GiteaBot Dec 19, 2018
7cb1d82
Create stale bot config (#5243)
sapk Dec 20, 2018
4a02a78
fix bug on upload file name (#5571)
lunny Dec 21, 2018
330bf8d
Immediate fix to htmlEncode user added text (#5570)
zeripath Dec 21, 2018
9a33798
Fix type mismatch of format string (#5574)
typeless Dec 21, 2018
b77c3eb
backport 1.6.2 changelog (#5576)
techknowlogick Dec 21, 2018
a06ae0b
Fix translation errors in doc advanced part (zh-cn) (#5112)
BetaCat0 Dec 23, 2018
9f544e9
drone/mssql: use golang 1.11 build like the other tests (#5586)
sapk Dec 23, 2018
f0db86b
Gitlab does have discord integration now (#5589)
Charuru Dec 24, 2018
4586ae3
[skip ci] Updated translations via Crowdin
GiteaBot Dec 24, 2018
ba2c02b
Fix route in swagger (#5598)
shashvat-kedia Dec 26, 2018
b0b3549
[skip ci] Updated translations via Crowdin
GiteaBot Dec 26, 2018
58bdff5
Remove MTecknology from MAINTAINERS (#5599)
MTecknology Dec 27, 2018
4a685f8
Add rebase with merge commit merge style (#3844) (#4052)
apricote Dec 27, 2018
a82ba73
Make sure argsSet verifies string isn't empty too (#4980)
adelowo Dec 27, 2018
21357a4
fix nil pointer when adding a due date (#5587)
adelowo Dec 27, 2018
6e20b50
Delete organization endpoint added (#5601)
shashvat-kedia Dec 27, 2018
2058c36
LDAP via simple auth separate bind user and search base (#5055)
tenacubus Dec 27, 2018
8bb0a6f
Synchronize SSH keys on login with LDAP + Fix SQLite deadlock on ldap…
zeripath Dec 27, 2018
945804f
Webhook for Pull Request approval/rejection (#5027)
adelowo Dec 27, 2018
2c7661a
Fix wrong text getting saved on editing second comment on an issue. (…
HarshitOnGitHub Dec 31, 2018
64995ba
[skip ci] Updated translations via Crowdin
GiteaBot Dec 31, 2018
b46c279
update v71.go to resolve #5595 (#5613)
nephatrine Dec 31, 2018
63bd1b9
mirror: Delete tags in mirror which are removed for original repo. (#…
HarshitOnGitHub Dec 31, 2018
4c52858
Issue is not overdue when it is on the same date #5566 (#5568)
rvillablanca Jan 1, 2019
8764f15
branch: Trigger update when deleting branch via UI. (#5617)
HarshitOnGitHub Jan 2, 2019
f5be13e
[skip ci] Updated translations via Crowdin
GiteaBot Jan 2, 2019
7c3722b
Update owners & Date in contributing (#5620)
techknowlogick Jan 2, 2019
74b9a13
Update @jonasfranz's username (#5619)
techknowlogick Jan 2, 2019
7606061
Fix bug on modifying sshd username (#5624)
MoshiBin Jan 2, 2019
121da08
Add changelog for 1.7.0-rc1 (#5616)
jonasfranz Jan 3, 2019
9863591
[skip ci] Updated translations via Crowdin
GiteaBot Jan 3, 2019
b5f4911
Documentation: Clarity for HTTPS setups (#5626)
0x5c Jan 3, 2019
14e218c
Backport latest translation changes
lafriks Jan 4, 2019
3ee3a4b
SECURITY: protect DeleteFilePost et al with cleanUploadFileName (#563…
zeripath Jan 4, 2019
109fc79
Add changelog for 1.6.3 and 1.7.0-rc2 (#5638)
jonasfranz Jan 4, 2019
2904d8d
Fix sqlite deadlock when assigning to a PR (#5640) (#5642)
zeripath Jan 5, 2019
c9b57a5
Don't close issues via commits on non-default branch. (#5622) (#5643)
HarshitOnGitHub Jan 5, 2019
652e09f
fix commit page showing status for current default branch (#5650) (#5…
apricote Jan 6, 2019
41a2bfe
Only count users own actions for heatmap contributions (#5647) (#5655)
apricote Jan 6, 2019
551dc58
When redirecting clean the path to avoid redirecting to //www.othersi…
zeripath Jan 9, 2019
483aa06
fix public will not be reused as public key after deleting as deploy …
lunny Jan 10, 2019
176a604
Update xorm to fix issue #5659 and #5651 (#5680) (#5692)
gzsombor Jan 10, 2019
e9c4609
Do not display the raw OpenID error in the UI (#5705) (#5712)
zeripath Jan 13, 2019
8d40032
fix: use correct value for "MSpan Structures Obtained" #4742 (#5706) …
apricote Jan 13, 2019
8006b1b
backport 1.6.4 changelog to 1.7 branch (#5741)
techknowlogick Jan 16, 2019
8da5237
1.7.0-rc3 changelog (#5756)
techknowlogick Jan 18, 2019
4577cdd
Disallow empty titles (#5785) (#5794)
adelowo Jan 21, 2019
3fa49f3
1.7.0 changelog (#5802)
techknowlogick Jan 22, 2019
f635041
Fix TLS errors when using acme/autocert for local connections (#5820)…
joohoi Jan 24, 2019
2c26521
Request for public keys only if LDAP attribute is set (#5816) (#5819)
lafriks Jan 24, 2019
f28e174
Backport #5830 : Include Go toolchain to --version (#5832)
sapk Jan 24, 2019
8a9f5b3
Added docs for the tree api (#5835)
kolaente Jan 24, 2019
28d9305
Fix delete correct temp directory (#5840)
Jan 25, 2019
d3a334d
Fix an error while adding a dependency via UI. (Backport #5862) (#5876)
HarshitOnGitHub Jan 28, 2019
2979953
API: Fix null pointer in attempt to Sudo if not logged in (#5872) (#5…
zeripath Jan 28, 2019
4fe1a30
When creating new repository fsck option should be enabled (#5817) (#…
lafriks Jan 29, 2019
0190d3c
Prevent nil dereference in mailIssueCommentToParticipants (#5891, #58…
zeripath Jan 29, 2019
3f802a2
Fix go-get URL generation (#5905) (#5907)
lafriks Jan 30, 2019
e5af93a
Only allow local login if password is non-empty (#5906) (#5908)
zeripath Jan 30, 2019
9d4aa78
Fix bug when read public repo lfs file (#5913)
lunny Jan 31, 2019
438848a
respect value of REQUIRE_SIGNIN_VIEW (#5901) (#5915)
adelowo Jan 31, 2019
5c30817
fix compare button on upstream repo leading to 404 (#5877) (#5914)
adelowo Jan 31, 2019
c3b67ff
Disable redirect for i18n (#5910) (#5916)
techknowlogick Jan 31, 2019
dfad569
1.7.1 changelog (#5918)
techknowlogick Jan 31, 2019
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
  •  
  •  
  •  
5 changes: 0 additions & 5 deletions .dockerignore

This file was deleted.

171 changes: 97 additions & 74 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
workspace:
base: /srv/app
base: /go
path: src/code.gitea.io/gitea

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

Expand All @@ -22,7 +22,7 @@ pipeline:
branch: [ master ]

update-translations:
image: alpine:3.6
image: alpine:3.7
commands:
- mv ./options/locale/locale_en-US.ini ./options/
- sed -i -e 's/="/=/g' -e 's/"$$//g' ./options/locale/*.ini
Expand Down Expand Up @@ -56,127 +56,145 @@ pipeline:
event: [ push, tag, pull_request ]

build-without-gcc:
image: webhippie/golang:1.8
image: golang:1.9
pull: true
environment:
GOPATH: /srv/app
commands:
- go build -o gitea_no_gcc # test if build succeeds without the sqlite tag
when:
event: [ push, tag, pull_request ]

build:
image: webhippie/golang:edge
image: golang:1.11
pull: true
environment:
TAGS: bindata sqlite
GOPATH: /srv/app
TAGS: bindata sqlite sqlite_unlock_notify
commands:
- make clean
- make generate
- make vet
- make lint
- make fmt-check
- make swagger-check
- make swagger-validate
- make misspell-check
- make test-vendor
- make build
when:
event: [ push, tag, pull_request ]

test:
image: webhippie/golang:edge
image: golang:1.11
pull: true
group: test
environment:
TAGS: bindata sqlite
GOPATH: /srv/app
TAGS: bindata sqlite sqlite_unlock_notify
commands:
- make unit-test-coverage
when:
event: [ push, pull_request ]
branch: [ master ]

test:
image: webhippie/golang:edge
image: golang:1.11
pull: true
group: test
environment:
TAGS: bindata sqlite
GOPATH: /srv/app
TAGS: bindata sqlite sqlite_unlock_notify
commands:
- make test
when:
event: [ push, pull_request ]
branch: [ release/* ]

test:
image: webhippie/golang:edge
image: golang:1.11
pull: true
group: test
environment:
TAGS: bindata
GOPATH: /srv/app
commands:
- make test
when:
event: [ tag ]

# 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-sqlite:
image: golang:1.11
pull: true
group: test
environment:
TAGS: bindata
commands:
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
- apt-get install -y git-lfs
- (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.sqlite.test)' | sh)) &
- make test-sqlite
when:
event: [ push, tag, pull_request ]

test-mysql:
image: webhippie/golang:edge
image: golang:1.11
pull: true
group: test
environment:
TAGS: bindata
GOPATH: /srv/app
TEST_LDAP: "1"
commands:
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
- apt-get install -y git-lfs
- make integration-test-coverage
when:
event: [ push, pull_request ]
branch: [ master ]

test-mysql:
image: webhippie/golang:edge
image: golang:1.11
pull: true
group: test
environment:
TAGS: bindata
GOPATH: /srv/app
TEST_LDAP: "1"
commands:
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
- apt-get install -y git-lfs
- (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.test)' | sh)) &
- make test-mysql
when:
event: [ tag ]

test-pgsql:
image: webhippie/golang:edge
image: golang:1.11
pull: true
group: test
environment:
TAGS: bindata
GOPATH: /srv/app
TEST_LDAP: "1"
commands:
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
- apt-get install -y git-lfs
- (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.test)' | sh)) &
- make test-pgsql
when:
event: [ push, tag, pull_request ]

test-mssql:
image: golang:1.11
pull: true
group: test
environment:
TAGS: bindata
TEST_LDAP: "1"
commands:
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
- apt-get install -y git-lfs
- make test-mssql
when:
event: [ push, tag, pull_request ]

generate-coverage:
image: webhippie/golang:edge
image: golang:1.11
pull: true
environment:
TAGS: bindata
GOPATH: /srv/app
commands:
- make coverage
when:
Expand All @@ -196,14 +214,14 @@ pipeline:
image: karalabe/xgo-latest:latest
pull: true
environment:
TAGS: bindata sqlite
GOPATH: /srv/app
TAGS: bindata sqlite sqlite_unlock_notify
commands:
- export PATH=$PATH:$GOPATH/bin
- make release
when:
event: [ push, tag ]

build_docs:
build-docs:
image: webhippie/hugo:latest
pull: true
commands:
Expand All @@ -212,41 +230,18 @@ pipeline:
- make clean
- make build

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

docker_docs:
image: plugins/docker:17.05
publish-docs:
image: lucap/drone-netlify:latest
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/docs
context: docs
dockerfile: docs/Dockerfile
tags: [ 'latest' ]
secrets: [ netlify_token ]
site_id: d2260bae-7861-4c02-8646-8f6440b12672
path: docs/public/
when:
event: [ push ]
branch: [ master ]

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

docker:
image: plugins/docker:17.05
image: plugins/docker:17.12
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
Expand All @@ -256,20 +251,32 @@ pipeline:
branch: [ release/* ]

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

gpg-sign:
image: plugins/gpgsign:1
pull: true
secrets: [ gpgsign_key, gpgsign_passphrase ]
detach_sign: true
files:
- dist/release/*
excludes:
- dist/release/*.sha256
when:
event: [ push, tag ]

release:
image: plugins/s3:1
pull: true
secrets: [ aws_access_key_id, aws_secret_access_key ]
bucket: releases
acl: public-read
endpoint: https://storage.gitea.io
path_style: true
strip_prefix: dist/release/
Expand All @@ -283,6 +290,7 @@ pipeline:
pull: true
secrets: [ aws_access_key_id, aws_secret_access_key ]
bucket: releases
acl: public-read
endpoint: https://storage.gitea.io
path_style: true
strip_prefix: dist/release/
Expand All @@ -297,6 +305,7 @@ pipeline:
pull: true
secrets: [ aws_access_key_id, aws_secret_access_key ]
bucket: releases
acl: public-read
endpoint: https://storage.gitea.io
path_style: true
strip_prefix: dist/release/
Expand Down Expand Up @@ -351,3 +360,17 @@ services:
- POSTGRES_DB=test
when:
event: [ push, tag, pull_request ]

mssql:
image: microsoft/mssql-server-linux:latest
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=MwantsaSecurePassword1
- MSSQL_PID=Standard
when:
event: [ push, tag, pull_request ]

ldap:
image: gitea/test-openldap:latest
when:
event: [ push, tag, pull_request ]
52 changes: 52 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 60

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 14

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- status/blocked
- kind/security
- lgtm/done
- reviewed/confirmed
- priority/critical
- kind/proposal

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false

# Label to use when marking as stale
staleLabel: stale

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you
for your contributions.

# Comment to post when closing a stale Issue or Pull Request.
closeComment: >
This issue has been automatically closed because of inactivity.
You can re-open it if needed.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 1

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
pulls:
daysUntilStale: 60
markComment: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs during the next 2 months. Thank you
for your contributions.
closeComment: >
This pull request has been automatically closed because of inactivity.
You can re-open it if needed.

Loading