Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
475 commits
Select commit Hold shift + click to select a range
75f166b
Update code.gitea.io/git (#2014)
ethantkoenig Jun 20, 2017
754482b
Add integration test for repository migration (#1983)
typeless Jun 20, 2017
63504bf
Fix displaying commits and files of PR created from now deleted forke…
lafriks Jun 20, 2017
6db387a
Refactor session close as xorm already does everything needed interna…
lafriks Jun 21, 2017
0a5dc64
Make branch deletion URL more like GitHub's, fixes #1397 (#1994)
lafriks Jun 21, 2017
d71fad2
Fix #2001 and fix issue comments hidden (#2016)
lunny Jun 21, 2017
826c606
Keep sort when switching page (#2013)
iszla Jun 22, 2017
902a749
Fix fast-forward PR bug (#1989)
ethantkoenig Jun 22, 2017
2852cca
Add discourse link (#2027)
cez81 Jun 22, 2017
32f1c41
ROOT_URL setting use the default as shown in conf/app.ini (#1823)
MCF Jun 22, 2017
75b5be2
Display config file path on admin panel (#2030)
lunny Jun 22, 2017
2282475
repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032)
lunny Jun 22, 2017
cc6b3f6
Fix displaying commits and files of PR created from now deleted fork …
bkcsoft Jun 22, 2017
c259c43
update git module (#2037)
lafriks Jun 23, 2017
f6450b8
remove deprecated code for Gogs compitable (#2041)
lunny Jun 23, 2017
09cb999
add missing lfs config on example file (#2039)
lunny Jun 23, 2017
f2afed3
Enable assignee e-mail notification (#2003)
scr34m Jun 23, 2017
bf18730
Fix wording (#2024)
pgaskin Jun 24, 2017
3ffedea
Fix bug in issue labels API (#2048)
ethantkoenig Jun 24, 2017
f64c232
Improve integration test helper functions (#2049)
ethantkoenig Jun 25, 2017
2559a34
Load label ID in NewLabels (#2045)
ethantkoenig Jun 25, 2017
b4e8a7c
Skip sqlite integration in CI (#2058)
ethantkoenig Jun 25, 2017
4c0e567
Fix improper setup for integration tests (#2050)
ethantkoenig Jun 25, 2017
7356762
Integration tests for issues API (#2059)
ethantkoenig Jun 25, 2017
441986a
Fix "Dashboard shows deleted comments" (#1995)
jonasfranz Jun 25, 2017
49d397a
drone sign -.-
bkcsoft Jun 25, 2017
5db8cf3
Always return valid go-get meta, even if unauthorized (#2010)
bkcsoft Jun 26, 2017
80707c4
Fix default ghost assignee bug (#2069)
ethantkoenig Jun 28, 2017
a037cd8
Add link to forum in issue template (#2070)
cez81 Jun 28, 2017
79daf31
Setting to disable authorized_keys backup (#1856)
dnmgns Jun 28, 2017
9d8fba6
Smaller watch, star, and fork buttons (#2052)
pgaskin Jun 28, 2017
32fc44a
Make time diff translatable (#2057)
lafriks Jun 28, 2017
d389ed2
Fix: `http: multiple response.WriteHeader calls` (#2038)
tsl0922 Jun 28, 2017
6b13daf
Fix org hooks UI (#2072)
Morlinest Jun 28, 2017
858197b
Fix #1271: Call location.reload after XHR finishes (#2071)
knixeur Jun 28, 2017
1f4d84b
Update git module (#2074)
cez81 Jun 28, 2017
3f90164
Pagination on releases page (#2035)
iszla Jun 28, 2017
33f3165
remove unnecessary blank lines and wrong error log
lunny Jun 28, 2017
23f0728
Don't ignore gravatar error
ethantkoenig Jun 29, 2017
783b196
Fix release display and correct paging (#2080)
lafriks Jun 29, 2017
05e3726
Use default avatar on error
ethantkoenig Jun 29, 2017
2b410e4
lint
ethantkoenig Jun 29, 2017
935b40f
Merge pull request #2083 from ethantkoenig/check_err/org_avatar
andreynering Jun 30, 2017
789188f
Reduce number of layer (#2078)
Jun 30, 2017
8fd43f2
Revert "Reduce number of layer" (#2086)
lunny Jun 30, 2017
b36849d
Fix exit status 1 not handled @ getMergeCommit
Bwko Jun 30, 2017
12cb6cd
Merge pull request #2087 from Bwko/fix_error_exit
lafriks Jun 30, 2017
3c0705e
Absolute path for setting.CustomConf (#2085)
ethantkoenig Jul 1, 2017
eae9154
Fix SQL bug in models.PullRequests
ethantkoenig Jun 30, 2017
678fec3
upgrade git source code. (#2094)
appleboy Jul 1, 2017
fea902a
Check for valid renamed usernames (#2077)
ethantkoenig Jul 1, 2017
f99489d
Fix API for branches with slashes (#2096)
ethantkoenig Jul 2, 2017
f189ccd
Fix git hooks update to receive required arguments. Fixes #2090 (#2095)
lafriks Jul 2, 2017
dde9a86
Add make command update-translations for update translations from cro…
lunny Jul 3, 2017
3108665
Sync latest translations from crowdin (#2104)
lafriks Jul 3, 2017
2fd0398
Fix missing-return bug (#2109)
ethantkoenig Jul 4, 2017
a52cd59
Fix unchecked error bug (#2110)
ethantkoenig Jul 4, 2017
2ef33b5
vendor: update sqlite to fix "database is locked" errors (#2116)
andreynering Jul 6, 2017
30787e4
Improve org error handling (#2117)
sapk Jul 6, 2017
b1d7348
Fix wiki preview links
ethantkoenig Jul 6, 2017
e14ea99
Relative URL tests
ethantkoenig Jul 6, 2017
e58237e
Fix import order
ethantkoenig Jul 6, 2017
5651cc7
Merge pull request #2119 from ethantkoenig/fix/wiki
andreynering Jul 7, 2017
f1adaef
Less verbose integration tests (#2123)
ethantkoenig Jul 7, 2017
4c57db7
Remove unused files (#2124)
ethantkoenig Jul 7, 2017
89cd4dd
Cache session cookies in tests (#2128)
ethantkoenig Jul 9, 2017
5e9bcb6
Missing signed commit display translation (#2134)
lafriks Jul 10, 2017
c016d48
Use POSIX complaint ! operator in find (#2132)
rsmarples Jul 10, 2017
8f1d62a
Fix GET /users/:username/repos endpoint (#2125)
ethantkoenig Jul 10, 2017
da89afd
feat: upgrade drone docker image to support multi-stage build. (#1732)
appleboy Jul 11, 2017
93a1de4
Fix repo API bug (#2133)
ethantkoenig Jul 12, 2017
ceb3544
Small grammar fixes (#2144)
pgaskin Jul 12, 2017
89845f6
Fix SHA1 hash linking (#2143)
rsmarples Jul 12, 2017
2b05b10
Add verify changed less-file step to Makefile (#1861)
appleboy Jul 12, 2017
2c3efd7
fix typo (#2145)
appleboy Jul 12, 2017
858324c
Fix username rendering bug (#2122)
ethantkoenig Jul 12, 2017
a739991
Fix repository settings collobration list display (#2151)
lafriks Jul 13, 2017
7d61834
Update code.gitea.io/git dependency (#2149)
lafriks Jul 13, 2017
b639fa1
Ignore invalid issue numbers in commit messages. Fixes #2022 (#2150)
lafriks Jul 13, 2017
f011d6d
fix: replace tmp with TMPDIR. (#2152)
appleboy Jul 13, 2017
6a3c037
API: support '/orgs/:org/repos' (#2047)
awwalker Jul 13, 2017
c4ccf16
Fix OpenID registration route (#2160)
cweiske Jul 13, 2017
dd758ad
More integration tests for comment API (#2156)
ethantkoenig Jul 13, 2017
98c5a1e
Only show "No Description" to repo admins (#2167)
bit Jul 14, 2017
32f289a
Make compare button URL aware if current repo is a fork (#2162) (#2163)
Weyzu Jul 15, 2017
0b17757
Only show SSH clone URL if signed in (#2169) (#2170)
stklcode Jul 15, 2017
047a67a
Refactor vue delimeters to use es6 template delimeters (#2171)
lafriks Jul 15, 2017
f33e6ae
Remove unit types commits and settings (#2161)
lafriks Jul 17, 2017
3702dac
Fix profile update for non-local users (#2178)
lafriks Jul 19, 2017
dde0052
Fix key usage time update if the key is used in parallel for multiple…
lafriks Jul 20, 2017
48898e5
Fix PR nil-dereference bug (#2195)
ethantkoenig Jul 26, 2017
8f17121
Revert "Add ability to fork your own repos (#761)" (#2193)
Bwko Jul 26, 2017
41cc110
Use sqlite3 database as default for Docker image (#2182)
twang2218 Jul 26, 2017
1d032f5
Fix compiling without sqlite and gcc (#2177)
lafriks Jul 26, 2017
7e12aac
Only allow token authentication with 2FA enabled (#2184)
moritzheiber Jul 26, 2017
5f37944
Fix unclosed session bug (#2214)
ethantkoenig Jul 26, 2017
a27863b
Fix issue updated_unix bug (#2204)
ethantkoenig Jul 27, 2017
aff11bc
Fix hooks for integration repo (#2216)
ethantkoenig Jul 27, 2017
fd45a03
Fix bare-repo bugs (#2199)
ethantkoenig Jul 27, 2017
04c4028
fix some bug
lunny Jul 26, 2017
60d7e56
Add task to generate images from SVG and change to new logo (#2194)
lafriks Jul 28, 2017
a9cc538
remove unused variable on makefile (#2225)
lunny Jul 29, 2017
49df677
Check for access in /repositories/:id (#2227)
ethantkoenig Jul 30, 2017
27c2dcf
Fixed robots.txt 404 error (#2226)
sinnlosername Jul 30, 2017
d74d8ec
Generate small and large logos at 4x resolution (#2233)
silverwind Jul 30, 2017
9a505fa
Improve docs for PROTOCOL and HTTP_ADDR options (#2231)
silverwind Jul 30, 2017
1193627
Fix Commits nil pointer dereference (#2203)
Bwko Jul 31, 2017
a804f0e
go get github.com/wadey/gocovmerge when needed (#2235)
sapk Jul 31, 2017
31411a9
Prevent selection of diff line numbers (#2240)
silverwind Aug 1, 2017
66e8262
Replace calls to xorm UseBool with Where (#2237)
dubeg Aug 1, 2017
539d9f4
Fix git version check with four digits (1.8.3.1) (#2236)
fragfutter Aug 1, 2017
f29458b
EnableUnit() -> UnitEnabled() (#2242)
ethantkoenig Aug 2, 2017
7e0654b
Fix counts on issues dashboard (#2215)
ethantkoenig Aug 3, 2017
4c54139
add changelog of release v1.1.3 (#2252)
lunny Aug 3, 2017
a4ca544
update code.gitea.io/git in vendor to fix #2245 (#2250)
lafriks Aug 3, 2017
fa8d40f
Fix internal requests when gitea listens to unix socket or only exter…
lafriks Aug 3, 2017
34df9de
Convert xorm literal queries to method calls (#2253)
dubeg Aug 4, 2017
9ff371a
ignore coverage steps. (#2257)
appleboy Aug 4, 2017
a326263
update drone sig file. (#2262)
appleboy Aug 5, 2017
d05150a
Make short link pattern greedy (#2259)
michaelkuhn Aug 5, 2017
54381f4
File path tweaks in UI (#2264)
silverwind Aug 6, 2017
27798c3
Temporarily patch go-ini/ini with fork (#2255)
ethantkoenig Aug 7, 2017
e90bbca
Comment help text for issues (#2281)
pgaskin Aug 9, 2017
be29d5f
fix webhook link
lunny Aug 10, 2017
921d90f
fix 500 error when view an issue which's milestone deleted (#2297)
lunny Aug 12, 2017
f960e19
Only update needed columns when update user (#2296)
lunny Aug 12, 2017
2282e24
Use /dev/urandom to create random password (#2298)
leitzler Aug 13, 2017
29f3a6e
Fix rendering of external links (#2292)
ethantkoenig Aug 13, 2017
fc29a40
More tweaks to repo top panel (#2267)
silverwind Aug 13, 2017
c76ee56
Revert to upstream ini dependency (#2304)
ethantkoenig Aug 14, 2017
722bcef
refactor(Makefile): allow overriding default go program (#2310)
appleboy Aug 16, 2017
951fb57
Fix and improve dashboard repo UI (#2285)
Morlinest Aug 17, 2017
7907786
Trigger sync webhooks on UI commit (#2302)
ethantkoenig Aug 17, 2017
934dd41
Make SHOW_USER_EMAIL also apply to profiles (#2258)
michaelkuhn Aug 17, 2017
aec826b
fix template error on explore repos (#2319)
lunny Aug 17, 2017
9e9e1e0
Add public links check (#2323)
lunny Aug 17, 2017
f348636
Make use of Vue more universal (#2318)
Morlinest Aug 17, 2017
9df090e
Add missing forks key for dashboard repository component (#2325)
lafriks Aug 18, 2017
e08d1fc
Fix variable name typo (#2327)
Morlinest Aug 18, 2017
4c13a84
Fix repo-search template errors for go1.7 (#2336)
Morlinest Aug 19, 2017
5707ad3
Add AppURL without trailing slash to TOTP issuer parameter to prevent…
daviian Aug 19, 2017
e7653a6
No error log entries for repo 404 (#2200)
ethantkoenig Aug 19, 2017
2c3a229
Add OpenID configuration in install page (#2276)
strk Aug 19, 2017
100ec93
Remove integration test executables on `make clean` (#2340)
strk Aug 20, 2017
53e6c94
Fix order of elements in dashboard html (#2344)
Morlinest Aug 20, 2017
951c909
Add INTERNAL_TOKEN to integration .ini file (#2346)
strk Aug 21, 2017
fd8e8a4
Improve swagger doc (#2274)
sapk Aug 21, 2017
5c29b0a
Add badge and link to the Matrix room (#2348)
silkeh Aug 21, 2017
2c6a0fd
update latest xorm version to vendor (#2353)
lunny Aug 22, 2017
7455604
Remove (almost) server side data rendering from repo-search component…
Morlinest Aug 22, 2017
faf4b50
Changes for latest DroneCI (#2355)
tboerger Aug 23, 2017
1a5fe43
Add collaborative repositories to the dashboard (#2205)
Bwko Aug 23, 2017
be4f6a7
Revert "Changes for latest DroneCI (#2355)" (#2358)
appleboy Aug 23, 2017
9413b48
fix bug on create repo link on dashboard (#2359)
lunny Aug 23, 2017
fd6e910
Fix SQL condition bug in GetFeeds(..) (#2360)
ethantkoenig Aug 23, 2017
8aadf79
Add integration tests for signin (#2363)
daviian Aug 23, 2017
64b7068
Add more test for login links and fix a bug on action retrieve (#2361)
lunny Aug 23, 2017
a915a09
Moved vendored js/css into `public/vendor` and documented sources (#1…
MTecknology Aug 23, 2017
0fd9289
update translation from crowdin (#2368)
lunny Aug 23, 2017
874f9be
Move themes to plugin directory. Fixes #2372 (#2375)
MTecknology Aug 24, 2017
233bbcf
Fix integration test after librejs location change (#2374)
strk Aug 24, 2017
174255e
Log failed authentication attempts with remote address for fail2ban (…
daviian Aug 24, 2017
da230a2
Add possibility to record branch or tag information in an issue (#780)
gzsombor Aug 24, 2017
f61a1d2
Fix missing collabrative repos (#2367)
lunny Aug 24, 2017
d9d8fad
Add UseCompatSSHURI setting (#2356)
ElectronicWar Aug 26, 2017
ae08e6c
Clarify Translation Process. Also fix branch names (#2378)
bkcsoft Aug 28, 2017
0f2c98a
Fix "index out of range" runtime error in repo_list tests (#2376)
Morlinest Aug 28, 2017
e41da38
fix duplicated feed (#2370)
lunny Aug 28, 2017
ced50e0
Implementation of discord webhook (#2402)
lunny Aug 28, 2017
8e61823
Fix tests code to prevent some runtime errors (#2381)
Morlinest Aug 28, 2017
d23b36c
Error message for integration test (#2410)
ethantkoenig Aug 28, 2017
edb95fa
Fix releases to be counted from database not tags (#2389)
lafriks Aug 28, 2017
019c90a
Update CONTRIBUTING following #2329 discussion
sapk Aug 25, 2017
15d3872
fix missing orgnization discord webhook (#2414)
lunny Aug 29, 2017
491f0eb
Fix route handler order (#2409)
ethantkoenig Aug 29, 2017
3e6fed3
fix webhook test (#2415)
lunny Aug 29, 2017
edc817a
Wrap most paragraphs to 80 columns (#2396)
strk Aug 30, 2017
5de94a6
some refactors for issue and comments (#2419)
lunny Aug 30, 2017
04ec795
fix orgnization webhooks (#2422)
lunny Aug 30, 2017
79f7839
Wrap most text to 80 columns (#2452)
strk Sep 2, 2017
b689bb6
Webhooks for repo creation/deletion (#1663)
ethantkoenig Sep 3, 2017
caa61a2
bug fixed
lunny Sep 4, 2017
32238e0
Add changelog config file for generate changelog (#2461)
lunny Sep 4, 2017
a569d3d
Fix migration from pre-v15 to 1.2.0 (#2460)
lafriks Sep 5, 2017
5f4210a
add release notes of v1.1.4 (#2463)
lunny Sep 5, 2017
7c417bb
Only check at least one email gpg key (#2266)
sapk Sep 5, 2017
4f9a28e
Make repo private to no interfere with other tests (#2467)
sapk Sep 5, 2017
95c408f
hide branch on pull request view or create UI (#2454)
lunny Sep 6, 2017
4b8fef1
Changes for latest DroneCI (#2362)
tboerger Sep 7, 2017
fd85e25
Hotfix for integration testing (#2473)
tboerger Sep 10, 2017
250f123
* Fix fileview rendering bug #2470 (#2477)
Albert221 Sep 10, 2017
01d7189
Fix slice out of bounds error in mailer (#2479)
cez81 Sep 11, 2017
eab4579
Fix fmt error in mailer (#2490)
cez81 Sep 12, 2017
69dfe43
Fix some tests : make coverage -> test (#2492)
sapk Sep 12, 2017
5ccecb4
Feature: Timetracking (#2211)
jonasfranz Sep 12, 2017
3fecf94
Open external wiki in new window (#2489)
cez81 Sep 12, 2017
9bdbfbf
Disable custom Git Hooks globally via configuration file (#2450)
techknowlogick Sep 12, 2017
8c3a2e8
Add missing fixture to clean gpg_key table (#2494)
lafriks Sep 12, 2017
4c2b1be
Basic VSCode configuration for building and debugging (#2483)
lafriks Sep 12, 2017
005900b
Use created & updated instead BeforeInsert & BeforeUpdate (#2482)
lunny Sep 13, 2017
377cd1a
Allow changing integration test database connection using env variabl…
lafriks Sep 13, 2017
fb1ed5d
Dockerfile: Updated alpine image to 3.6. (#2486)
jpds Sep 13, 2017
9ef83a9
fix release (#2496)
lunny Sep 13, 2017
3e89e89
add codecov.io service. (#2493)
appleboy Sep 13, 2017
35b473d
Remove repository mirrors from "collaborative" list (#2497)
Morlinest Sep 13, 2017
633de01
Hotfix for "Add time manually" (https://github.com/go-gitea/gitea/pul…
jonasfranz Sep 13, 2017
a89692d
fix wrong rendering of commit detail page (#2503)
daviian Sep 14, 2017
be3319b
Display commit status on landing page of repo (#1784)
DblK Sep 14, 2017
1739e84
improve protected branch to add whitelist support (#2451)
lunny Sep 14, 2017
e5d80b7
Implementation of all repositories of a user from user->settings (#1740)
DblK Sep 14, 2017
0f9e20b
fix updated update on public key (#2514)
lunny Sep 15, 2017
ad24a31
Fixes 500 error on dashboard when using MSSQL (#2504)
bradder555 Sep 15, 2017
cbe5058
Added bucket name to s3 drone plugin (#2505)
tboerger Sep 15, 2017
b496e3e
Fix unit test race condition (#2516)
ethantkoenig Sep 15, 2017
d766d0c
Prevent sending emails and notifications to inactive users (#2384)
daviian Sep 16, 2017
911ca02
Convert spaces to tabs in footer.tmpl (#2520)
ethantkoenig Sep 16, 2017
52e11b2
Restructure markup & markdown to prepare for multiple markup language…
lunny Sep 16, 2017
b0f7457
Improve issue search (#2387)
ethantkoenig Sep 16, 2017
6c6533f
Make integration tests more user-friendly (#2536)
ethantkoenig Sep 18, 2017
566e8ec
Fork permission bug fixes (#2534)
jonasfranz Sep 18, 2017
d155d0e
Make basic functionality work without JavaScript (#2541)
jorgesumle Sep 18, 2017
4cb9394
Fix lint errors (#2547)
ethantkoenig Sep 19, 2017
23645fe
Sort repository tree entries in natural way (#2506)
lafriks Sep 19, 2017
a1ed239
Fix fmt errors (#2544)
ethantkoenig Sep 19, 2017
4eed85d
add @daviian as maintainer (#2552)
daviian Sep 19, 2017
acecedc
Use named ActionType constants in template helper (#2545)
ethantkoenig Sep 20, 2017
8b6236d
Fix duplicated rel attribute (#2549)
jorgesumle Sep 20, 2017
7a02978
Sync releases table with tags on push and for mirrors (#2459)
lafriks Sep 20, 2017
80b430d
Fix /api/repo/search integration tests (#2550)
Morlinest Sep 20, 2017
6f380a2
Remove go version check for make fmt (#2558)
lafriks Sep 20, 2017
6718ea6
Fix can_push value to false in protected_branch (#2560)
lafriks Sep 20, 2017
fa1cbc2
Always run fmt check in CI (#2546)
ethantkoenig Sep 21, 2017
1fbfccb
Use standard lessc and minify CSS using Node.js (#2337)
silverwind Sep 21, 2017
66bc0ac
Fix sending mail with a non-latin display name. #2102 (#2559)
rems4e Sep 21, 2017
0d80af6
Add init support of orgmode document type on file view and readme (#2…
lunny Sep 21, 2017
1eedd98
Complete push webhooks (#2530)
daviian Sep 21, 2017
1be2b4a
fix readme view bug (#2566)
lunny Sep 21, 2017
b4b0280
Ctrl + Enter to submit forms (#2540)
jonasfranz Sep 22, 2017
ca68a75
Expand fixtures (#2571)
Morlinest Sep 22, 2017
9a75a5d
Use custom type and constants to hold order by options (#2572)
Morlinest Sep 22, 2017
28f4de2
Fix drone for tags (#2573)
lafriks Sep 22, 2017
ccff571
Automatically regenerate indexer for incompatible versions (#2524)
ethantkoenig Sep 22, 2017
2db424c
Fix broken migration to add can_push field back to table (#2574)
lafriks Sep 23, 2017
2ef8b8b
fix go get subpackage bug (#2584)
lunny Sep 23, 2017
fa6d7c7
Automatic update of translations (#2585)
jonasfranz Sep 23, 2017
086eb62
Compress css with nodejs (#2580)
Morlinest Sep 24, 2017
0b0d85c
Add pre-build step for nodejs stuff (#2581)
Morlinest Sep 24, 2017
fa28de8
Make indexer code more reusable (#2590)
ethantkoenig Sep 25, 2017
6b6f16c
backport from v1.2 branch: add secrets for github release (#2588) (#2…
appleboy Sep 25, 2017
dd55534
Reduce usage of allcols on update (#2596)
lunny Sep 25, 2017
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
164 changes: 138 additions & 26 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,106 @@ 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

test:
pipeline:
pre-build:
image: webhippie/nodejs:latest
pull: true
commands:
- npm install
- make stylesheets-check
when:
event: [ push, tag, pull_request ]
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
- make lint
- make test
- make fmt-check
- make misspell-check
- make test-vendor
- make build
when:
event: [ push, tag, pull_request ]

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

test:
image: webhippie/golang:edge
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-mysql:
image: webhippie/golang:edge
pull: true
group: test
environment:
TAGS: bindata
GOPATH: /srv/app
commands:
- make integration-test-coverage
when:
event: [ push, pull_request ]
branch: [ master ]

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

test-pgsql:
image: webhippie/golang:edge
pull: true
group: test
environment:
TAGS: bindata
GOPATH: /srv/app
Expand All @@ -46,6 +110,27 @@ pipeline:
when:
event: [ push, tag, pull_request ]

generate-coverage:
image: webhippie/golang:edge
pull: true
environment:
TAGS: bindata
GOPATH: /srv/app
commands:
- make coverage
when:
event: [ push, pull_request ]
branch: [ master ]

coverage:
image: robertstettner/drone-codecov
secrets: [ codecov_token ]
files:
- coverage.all
when:
event: [ push, pull_request ]
branch: [ master ]

static:
image: karalabe/xgo-latest:latest
pull: true
Expand All @@ -55,50 +140,56 @@ pipeline:
commands:
- make release
when:
event: [ push, tag, pull_request ]

coverage:
image: plugins/coverage
server: https://coverage.gitea.io
when:
event: [ push, tag, pull_request ]
event: [ push, tag ]

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: [ aws_access_key_id, aws_secret_access_key ]
bucket: releases
endpoint: https://storage.gitea.io
path_style: true
strip_prefix: dist/release/
source: dist/release/*
target: /gitea/${DRONE_TAG##v}
when:
event: [ tag ]
branch: [ refs/tags/* ]

release:
image: plugins/s3
image: plugins/s3:1
pull: true
secrets: [ aws_access_key_id, aws_secret_access_key ]
bucket: releases
endpoint: https://storage.gitea.io
path_style: true
strip_prefix: dist/release/
source: dist/release/*
Expand All @@ -108,7 +199,11 @@ pipeline:
branch: [ release/* ]

release:
image: plugins/s3
image: plugins/s3:1
pull: true
secrets: [ aws_access_key_id, aws_secret_access_key ]
bucket: releases
endpoint: https://storage.gitea.io
path_style: true
strip_prefix: dist/release/
source: dist/release/*
Expand All @@ -117,16 +212,33 @@ pipeline:
event: [ push ]
branch: [ master ]

translations:
image: jonasfranz/crowdin
pull: true
secrets: [ crowdin_key ]
project_identifier: gitea
files:
locale_en-US.ini: options/locale/locale_en-US.ini
when:
event: [ push ]
branch: [ master ]

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

gitter:
image: plugins/gitter
discord:
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 ]

services:
mysql:
Expand Down
1 change: 0 additions & 1 deletion .drone.yml.sig

This file was deleted.

6 changes: 5 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ indent_size = 8
indent_style = tab
indent_size = 4

[*.{less,yml}]
[*.{less}]
indent_style = space
indent_size = 4

[*.{yml}]
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 4
Expand Down
16 changes: 9 additions & 7 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
1. Please speak English, this is the language all of us can speak and write.
2. Please ask questions or configuration/deploy problems on our Gitter channel: https://gitter.im/go-gitea/gitea
3. Please take a moment to search check that your issue doesn't already exist.
4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report.

**You MUST delete the content above including this line before posting, otherwise your issue will be invalid.**
<!--
1. Please speak English, this is the language all of us can speak and write.
2. Please ask questions or configuration/deploy problems on our Discord
server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io).
3. Please take a moment to check that your issue doesn't already exist.
4. Please give all relevant information below for bug reports, because
incomplete details will be handled as an invalid report.
-->

- Gitea version (or commit ref):
- Git version:
Expand All @@ -26,4 +28,4 @@

## Screenshots

**If this issue involves the Web Interface, please include a screenshot**
<!-- **If this issue involves the Web Interface, please include a screenshot** -->
17 changes: 16 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ _test
# IntelliJ
.idea

# MS VSCode
.vscode

# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out
Expand All @@ -26,7 +29,8 @@ _testmain.go
*.test
*.prof

coverage.out
*coverage.out
coverage.all

/modules/options/bindata.go
/modules/public/bindata.go
Expand All @@ -36,6 +40,8 @@ coverage.out
*.log

/gitea
/debug
/integrations.test

/bin
/dist
Expand All @@ -44,3 +50,12 @@ coverage.out
/indexers
/log
/public/img/avatar
/integrations/gitea-integration-mysql
/integrations/gitea-integration-pgsql
/integrations/gitea-integration-sqlite
/integrations/indexers-mysql
/integrations/indexers-pgsql
/integrations/indexers-sqlite
/integrations/mysql.ini
/integrations/pgsql.ini
/node_modules
Loading