summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* make openid support default false for compitable with v1.1 (#1650)Lunny Xiao2017-05-021-2/+2
|
* Additional OAuth2 providers (#1010)Willem van Dreumel2017-05-0144-160/+4165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add google+ * sort signin oauth2 providers based on the name so order is always the same * update auth tip for google+ * add gitlab provider * add bitbucket provider (and some go fmt) * add twitter provider * add facebook provider * add dropbox provider * add openid connect provider incl. new format of tips section in "Add New Source" * lower the amount of disk storage for each session to prevent issues while building cross platform (and disk overflow) * imports according to goimport and code style * make it possible to set custom urls to gitlab and github provider (only these could have a different host) * split up oauth2 into multiple files * small typo in comment * fix indention * fix indentation * fix new line before external import * fix layout of signin part * update "broken" dependency
* Optimize png images via Google zopflipng [ci skip] (#1639)Peter Dave Hello2017-04-305-0/+0
|
* MySQL, Postgres integration tests in drone (#1638)Ethan Koenig2017-04-309-27/+64
| | | | | | | | | | * MySQL, Postgres integration tests in drone * Fix .drone.yml * sign drone * resign drone
* fix #1643 and improve integration test (#1645)Lunny Xiao2017-04-304-10/+36
|
* Limit clone depth when drone-building (#1644)Sandro Santilli2017-04-302-1/+2
| | | | | | * Limit clone depth when drone-building * sign drone
* Fix broken migration v27 (#1504)Jonas Östanbäck2017-04-301-12/+30
| | | | Mirror.interval column type needed to be changed to bigint. Correct interval where the interval set is < MinInterval.
* Refactor DockerfilePeter Dave Hello2017-04-293-18/+9
| | | | | | | | 1. Use `apk -U --no-cache add` instead of `apk update` + `apk add` + manually cache clean up. 2. Separate package installation and user, group setup, the combination to reduce a docker image layer didn't bring benefits here, only makes Dockerfiles more complex.
* fix bug on issue view when not login (#1624)Lunny Xiao2017-04-294-10/+52
| | | | | | | | | | * fix bug on issue view when not login * hide issue watch when not login * update the tests * fix test on issue
* bug fixed for API to get user's repos (#1622)Lunny Xiao2017-04-292-4/+30
| | | | | | | | * bug fixed for API to get user's repos * add tests and fix another place * test user2 since user1 has no repos
* Revert "Set VERSION from git once, in a variable (#1447)"Kim "BKC" Carlbäcker2017-04-281-3/+1
| | | | This reverts commit 410af6971b87ac5dc7ac198f538d8383c1f47a1f.
* update git which fixes #1133 (#1614)Lunny Xiao2017-04-282-4/+15
|
* [ci skip] Add "Table of Contents" in CONTRIBUTING.md (#1634)Peter Dave Hello2017-04-281-0/+17
|
* improve integration test to resue models/fixtures and store git repos with ↵Lunny Xiao2017-04-2833-21/+582
| | | | | | | | | | tests (#1627) * improve integration test to resue models/fixtures and store git repos with source * use gitea-integration-meta dir instead .tar.gz and cleanup every before every test * fix import package name
* Handle display of GPG key without end date (#1628)Antoine GIRARD2017-04-282-2/+3
|
* fix #1521 (#1621)Lunny Xiao2017-04-271-1/+1
|
* remove unused vendor packages (#1620)Lunny Xiao2017-04-2718-1558/+0
|
* Add create_at and updated_at in PR json (#1616)Jonas Östanbäck2017-04-274-4/+9
| | | | * Move new fields to object creation (use reference) * Vendor: Update SDK
* Rework SSH key management UI to add GPG (#1293)Antoine GIRARD2017-04-2614-139/+323
| | | | | | | | | | | | | | | | | | | | | | | * Rework SSH key management UI to add GPG * Add more detail to gpg key display * Update CHANGELOG.md * Implement deletion UI * Implement adding gpg UI * Various fixes - Fix duplicate entry in locale - Re-generate hash before verification since they are consumed * Add missing translation * Split template * Catch not found/verified email error
* Fix service description in Debian init file (#1538)Sandro Santilli2017-04-251-1/+1
|
* Integration test framework (#1290)Ethan Koenig2017-04-2517-974/+1043
| | | | | | | | | | * Integration test framework * udpate drone sign * Formatting fixes and move router.go to routers/ * update sign for drone
* fix bug on status API (#1533)Lunny Xiao2017-04-241-16/+5
|
* Check if missing/modified/unused deps in vendor and fix errors (#1468)Antoine GIRARD2017-04-246-37/+22
| | | | | | | | | | | | | | | | | | | | | | | | * Check if missing deps in vendor This will catch import from other repos. (maybe by auto-import) * Remove github.com/smartystreets unused deps * Remove github.com/boltdb/bolt unused dep * Fetch github.com/go-xorm/core + sync gopkg.in/ldap.v2/ldap.go * Auto-install govendor + reinstall github.com/boltdb/bolt needed by vendor/github.com/blevesearch/bleve/index/store/boltdb * Update go-xorm/xorm to a5cb21 in vendor.json * Use a custom repo for implementing change to bolt dep. * Switching bolt to github.com/go-gitea/bolt * Switching bolt to github.com/go-gitea/bolt (fork version) * change the drone sign
* Fix markdown rendering (#1530)Morlinest2017-04-241-9/+10
|
* Do not show empty collaborators segment (#1531)Morlinest2017-04-231-0/+2
|
* Status-API (#1332)Kim "BKC" Carlbäcker2017-04-218-0/+529
|
* Add markup package to prepare for org markup format (#1493)Lunny Xiao2017-04-216-51/+157
|
* fix go get sub package and add domain on installation to let go get work ↵Lunny Xiao2017-04-213-1/+27
| | | | | | | | | | defaultly (#1518) * fix go get sub package and add domain on installation to let go get work defaultly * fix import sequence * fix .git problem
* support health check via / and fix #969 (#1520)Lunny Xiao2017-04-201-0/+4
|
* Fix empty file download (#1506)Lauris BH2017-04-201-1/+1
|
* feat: add download count field and unit testing for attachment. (#1512)Bo-Yi Wu2017-04-204-9/+158
| | | | | | | | | | | | | | * feat: add download count field and unit testing. * fix: unit testing * refactor: improve testing. * fix: update comment * add default value. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix #1501 ssh hangs caused by #1461 (#1513)Lunny Xiao2017-04-191-10/+2
|
* Add repo mirror sync API endpoint (#1508)Jonas2017-04-192-0/+13
| | | | | | | | * API: Add repo mirror sync * Correct error message * Change http status to 200
* Add internal routes for ssh hook comands (#1471)Lunny Xiao2017-04-197-12/+161
| | | | | | | | | | | | | | | | * add internal routes for ssh hook comands * fix lint * add comment on why package named private not internal but the route name is internal * add comment above package private why package named private not internal but the route name is internal * remove exp time on internal access * move routes from /internal to /api/internal * add comment and defer on UpdatePublicKeyUpdated
* Better URL validation (#1507)Lauris BH2017-04-1911-9/+432
| | | | | | | | | | | | | | | | | | | | * Add correct git branch name validation * Change git refname validation error constant name * Implement URL validation based on GoLang url.Parse method * Backward compatibility with older Go compiler * Add git reference name validation unit tests * Remove unused variable in unit test * Implement URL validation based on GoLang url.Parse method * Backward compatibility with older Go compiler * Add url validation unit tests
* Use MAINTAINERS file in repository in CONTRIBUTING (#1489)Antoine GIRARD2017-04-181-1/+1
| | | | | | * Use MAINTAINERS file in repository because teams are not publicly available * Use relative link
* Adding @sapk to MAINTAINERS (#1497)Antoine GIRARD2017-04-161-0/+1
|
* Migrate WatchInfo struct to api (#1492)Antoine GIRARD2017-04-165-18/+142
| | | | | | | | * Remove WatchInfo and link to api struct * Add vendor temporary update * Return to gitea vendor source
* Orgs: fix org page title when full name is not defined (#1495)silverwind2017-04-151-1/+1
|
* Sanitation fix from Gogs (#1461)Kim "BKC" Carlbäcker2017-04-137-27/+118
| | | | | | | | | | | | | | | | * Santiation fix from Gogs * Linting * Fix build-errors * still not working * Fix all the things! * gofmt * Add code-injection checks
* Optimize and fix autolink function (#1442) (#1444)Michael de Wit2017-04-121-15/+45
| | | | | | * Optimize and fix autolink function (#1442) * Fix bug in autolink recursive fallback function
* refactor: show command help message. (#1486)Bo-Yi Wu2017-04-124-3/+7
|
* Repo size in admin panel (#1482)Jonas2017-04-118-0/+119
| | | | | | | | | | | | | | | * Implementation of the feature to view repository size in admin panel * Move GetRepoSize to git module * Repository.RepoSize -> Repository.Size * RepoSize -> Size in template * Redo a few bits and pieces * Update size when syncing mirror or forking * Remove GetRepoSize * Changed fatal errors to error message * Copy migration code from Gogs * make fmt
* Mirror sync interval specified as duration string (#1407)Jonas2017-04-0810-21/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sync interval specifed as duration string * Changed mirror interval text * make fmt * Add MinInterval for mirror sync * Use duration internally * Changed min default to 10m * make fmt * Incorrect default * Removed defaults in MustDuration() * Add Mirror interval migration * Default values corrected * Use transaction during migration * Change http 500 to page with error message * Cleanup session.commit()
* Fix race when running commands with timeout (#1465)Mura Li2017-04-074-25/+73
| | | Update vendored module code.gitea.io/git
* refactor update ssh key use time (#1466)Lunny Xiao2017-04-072-7/+15
|
* Fix #1418 (#1456)Antoine GIRARD2017-04-075-118/+28
|
* Autofocus on 2fa passcode fields (#1460)Jonas2017-04-072-2/+2
| | | | | | * Autofocus on 2fa passcode field * Autofocus on 2fa scratch code field
* fix migrate failed and org dashboard failed on MSSQL database (#1448)Lunny Xiao2017-04-0636-1628/+1993
|
* fix gpg API panic when no verification (#1451)Lunny Xiao2017-04-061-2/+7
| | | | | | * fix gpg API panic when no verification * fix if condition