]>
source.dussan.org Git - gitea.git/log
Lunny Xiao [Mon, 1 May 2017 16:27:53 +0000 (00:27 +0800)]
make openid support default false for compitable with v1.1 (#1650)
Willem van Dreumel [Mon, 1 May 2017 13:26:53 +0000 (15:26 +0200)]
Additional OAuth2 providers (#1010)
* 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
Peter Dave Hello [Sun, 30 Apr 2017 12:04:36 +0000 (20:04 +0800)]
Optimize png images via Google zopflipng [ci skip] (#1639)
Ethan Koenig [Sun, 30 Apr 2017 06:30:12 +0000 (02:30 -0400)]
MySQL, Postgres integration tests in drone (#1638)
* MySQL, Postgres integration tests in drone
* Fix .drone.yml
* sign drone
* resign drone
Lunny Xiao [Sun, 30 Apr 2017 05:08:09 +0000 (13:08 +0800)]
fix #1643 and improve integration test (#1645)
Sandro Santilli [Sun, 30 Apr 2017 04:32:30 +0000 (06:32 +0200)]
Limit clone depth when drone-building (#1644)
* Limit clone depth when drone-building
* sign drone
Jonas Östanbäck [Sun, 30 Apr 2017 02:08:16 +0000 (04:08 +0200)]
Fix broken migration v27 (#1504)
Mirror.interval column type needed to be changed to bigint.
Correct interval where the interval set is < MinInterval.
Peter Dave Hello [Fri, 28 Apr 2017 11:55:19 +0000 (19:55 +0800)]
Refactor Dockerfile
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.
Lunny Xiao [Sat, 29 Apr 2017 05:52:25 +0000 (13:52 +0800)]
fix bug on issue view when not login (#1624)
* fix bug on issue view when not login
* hide issue watch when not login
* update the tests
* fix test on issue
Lunny Xiao [Sat, 29 Apr 2017 04:33:25 +0000 (12:33 +0800)]
bug fixed for API to get user's repos (#1622)
* bug fixed for API to get user's repos
* add tests and fix another place
* test user2 since user1 has no repos
Kim "BKC" Carlbäcker [Fri, 28 Apr 2017 13:48:24 +0000 (15:48 +0200)]
Revert "Set VERSION from git once, in a variable (#1447)"
This reverts commit
410af6971b87ac5dc7ac198f538d8383c1f47a1f .
Lunny Xiao [Fri, 28 Apr 2017 14:20:58 +0000 (22:20 +0800)]
update git which fixes #1133 (#1614)
Peter Dave Hello [Fri, 28 Apr 2017 13:56:28 +0000 (21:56 +0800)]
[ci skip] Add "Table of Contents" in CONTRIBUTING.md (#1634)
Lunny Xiao [Fri, 28 Apr 2017 13:23:28 +0000 (21:23 +0800)]
improve integration test to resue models/fixtures and store git repos with 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
Antoine GIRARD [Fri, 28 Apr 2017 00:44:58 +0000 (02:44 +0200)]
Handle display of GPG key without end date (#1628)
Lunny Xiao [Thu, 27 Apr 2017 12:15:56 +0000 (20:15 +0800)]
fix #1521 (#1621)
Lunny Xiao [Thu, 27 Apr 2017 10:10:34 +0000 (18:10 +0800)]
remove unused vendor packages (#1620)
Jonas Östanbäck [Thu, 27 Apr 2017 09:29:46 +0000 (11:29 +0200)]
Add create_at and updated_at in PR json (#1616)
* Move new fields to object creation (use reference)
* Vendor: Update SDK
Antoine GIRARD [Wed, 26 Apr 2017 13:10:43 +0000 (15:10 +0200)]
Rework SSH key management UI to add GPG (#1293)
* 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
Sandro Santilli [Tue, 25 Apr 2017 17:30:42 +0000 (19:30 +0200)]
Fix service description in Debian init file (#1538)
Ethan Koenig [Tue, 25 Apr 2017 07:24:51 +0000 (03:24 -0400)]
Integration test framework (#1290)
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
Lunny Xiao [Mon, 24 Apr 2017 14:33:54 +0000 (22:33 +0800)]
fix bug on status API (#1533)
Antoine GIRARD [Mon, 24 Apr 2017 14:31:46 +0000 (16:31 +0200)]
Check if missing/modified/unused deps in vendor and fix errors (#1468)
* 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
Morlinest [Mon, 24 Apr 2017 04:18:36 +0000 (06:18 +0200)]
Fix markdown rendering (#1530)
Morlinest [Sun, 23 Apr 2017 00:55:02 +0000 (02:55 +0200)]
Do not show empty collaborators segment (#1531)
Kim "BKC" Carlbäcker [Fri, 21 Apr 2017 11:32:31 +0000 (13:32 +0200)]
Status-API (#1332)
Lunny Xiao [Fri, 21 Apr 2017 07:01:08 +0000 (15:01 +0800)]
Add markup package to prepare for org markup format (#1493)
Lunny Xiao [Fri, 21 Apr 2017 02:43:29 +0000 (10:43 +0800)]
fix go get sub package and add domain on installation to let go get work defaultly (#1518)
* fix go get sub package and add domain on installation to let go get work defaultly
* fix import sequence
* fix .git problem
Lunny Xiao [Thu, 20 Apr 2017 12:14:21 +0000 (20:14 +0800)]
support health check via / and fix #969 (#1520)
Lauris BH [Thu, 20 Apr 2017 02:38:56 +0000 (05:38 +0300)]
Fix empty file download (#1506)
Bo-Yi Wu [Thu, 20 Apr 2017 02:31:31 +0000 (10:31 +0800)]
feat: add download count field and unit testing for attachment. (#1512)
* 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>
Lunny Xiao [Wed, 19 Apr 2017 11:16:36 +0000 (19:16 +0800)]
fix #1501 ssh hangs caused by #1461 (#1513)
Jonas [Wed, 19 Apr 2017 11:09:49 +0000 (13:09 +0200)]
Add repo mirror sync API endpoint (#1508)
* API: Add repo mirror sync
* Correct error message
* Change http status to 200
Lunny Xiao [Wed, 19 Apr 2017 03:45:01 +0000 (11:45 +0800)]
Add internal routes for ssh hook comands (#1471)
* 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
Lauris BH [Wed, 19 Apr 2017 03:02:20 +0000 (06:02 +0300)]
Better URL validation (#1507)
* 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
Antoine GIRARD [Tue, 18 Apr 2017 00:56:28 +0000 (02:56 +0200)]
Use MAINTAINERS file in repository in CONTRIBUTING (#1489)
* Use MAINTAINERS file in repository because teams are not publicly available
* Use relative link
Antoine GIRARD [Sun, 16 Apr 2017 12:51:38 +0000 (14:51 +0200)]
Adding @sapk to MAINTAINERS (#1497)
Antoine GIRARD [Sun, 16 Apr 2017 12:51:04 +0000 (14:51 +0200)]
Migrate WatchInfo struct to api (#1492)
* Remove WatchInfo and link to api struct
* Add vendor temporary update
* Return to gitea vendor source
silverwind [Sat, 15 Apr 2017 02:02:46 +0000 (04:02 +0200)]
Orgs: fix org page title when full name is not defined (#1495)
Kim "BKC" Carlbäcker [Thu, 13 Apr 2017 02:52:24 +0000 (04:52 +0200)]
Sanitation fix from Gogs (#1461)
* Santiation fix from Gogs
* Linting
* Fix build-errors
* still not working
* Fix all the things!
* gofmt
* Add code-injection checks
Michael de Wit [Wed, 12 Apr 2017 08:01:08 +0000 (10:01 +0200)]
Optimize and fix autolink function (#1442) (#1444)
* Optimize and fix autolink function (#1442)
* Fix bug in autolink recursive fallback function
Bo-Yi Wu [Wed, 12 Apr 2017 07:44:54 +0000 (15:44 +0800)]
refactor: show command help message. (#1486)
Jonas [Tue, 11 Apr 2017 13:30:15 +0000 (15:30 +0200)]
Repo size in admin panel (#1482)
* 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
Jonas [Sat, 8 Apr 2017 15:27:26 +0000 (17:27 +0200)]
Mirror sync interval specified as duration string (#1407)
* 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()
Mura Li [Sat, 8 Apr 2017 02:23:39 +0000 (10:23 +0800)]
Fix race when running commands with timeout (#1465)
Update vendored module code.gitea.io/git
Lunny Xiao [Sat, 8 Apr 2017 00:40:38 +0000 (17:40 -0700)]
refactor update ssh key use time (#1466)
Antoine GIRARD [Fri, 7 Apr 2017 14:50:40 +0000 (16:50 +0200)]
Fix #1418 (#1456)
Jonas [Fri, 7 Apr 2017 13:07:37 +0000 (15:07 +0200)]
Autofocus on 2fa passcode fields (#1460)
* Autofocus on 2fa passcode field
* Autofocus on 2fa scratch code field
Lunny Xiao [Fri, 7 Apr 2017 01:47:25 +0000 (18:47 -0700)]
fix migrate failed and org dashboard failed on MSSQL database (#1448)
Lunny Xiao [Fri, 7 Apr 2017 01:40:05 +0000 (18:40 -0700)]
fix gpg API panic when no verification (#1451)
* fix gpg API panic when no verification
* fix if condition
Morlinest [Thu, 6 Apr 2017 15:33:57 +0000 (17:33 +0200)]
Fix and simplify repo branches UI (#1435)
Sandro Santilli [Thu, 6 Apr 2017 15:32:28 +0000 (17:32 +0200)]
Set VERSION from git once, in a variable (#1447)
Damien Gaignon [Thu, 6 Apr 2017 01:50:33 +0000 (03:50 +0200)]
Correct broken unaligned load/store in armv5 (#1355)
Update vendor github.com/boltdb/bolt to take care of the issue #1354.
Patrick G [Thu, 6 Apr 2017 01:32:59 +0000 (21:32 -0400)]
Commit search appearence fixes (#1254)
* Fix button text to be consisstent with rest of UI
* Make all commits checkbox look nicer
Bo-Yi Wu [Thu, 6 Apr 2017 01:31:31 +0000 (09:31 +0800)]
fix: remove `str2html` from org full name (#1360)
* fix: remove str2html for security issue.
* fix: update
Jonas [Thu, 6 Apr 2017 00:56:45 +0000 (02:56 +0200)]
Corrected Mirror.NextUpdate not set (#1388)
Mura Li [Wed, 5 Apr 2017 08:10:32 +0000 (16:10 +0800)]
Add GOFLAGS and EXTRA_GOFLAGS (#1438)
Mura Li [Tue, 4 Apr 2017 08:54:02 +0000 (16:54 +0800)]
Remove unused mutex field (#1440)
Mura Li [Mon, 3 Apr 2017 02:22:26 +0000 (10:22 +0800)]
Fix races in the log module by using syncmap (#1421)
Kuba Tyszko [Mon, 3 Apr 2017 02:21:09 +0000 (19:21 -0700)]
fixes pull request hanging indefinitely when it contains normal and LFS file pointers (#1425)
Morlinest [Mon, 3 Apr 2017 02:19:51 +0000 (04:19 +0200)]
Fix disabled fields in repo settings UI (#1431)
Andrey Nering [Sat, 1 Apr 2017 18:12:24 +0000 (15:12 -0300)]
Merge pull request #1410 from andreynering/notification/issue-watch
[Notifications Step 6] Per issue/PR watch/unwatch
Andrey Nering [Sat, 1 Apr 2017 13:05:58 +0000 (10:05 -0300)]
Improve tests a little
Andrey Nering [Sat, 1 Apr 2017 12:58:20 +0000 (09:58 -0300)]
Code style fixes
agrn [Sat, 1 Apr 2017 01:05:39 +0000 (03:05 +0200)]
Fix "Error: No issue number specified" when pushing (#1393)
* Fix "Error: No issue number specified" when pushing
* update pr
Jonas [Sat, 1 Apr 2017 01:03:01 +0000 (03:03 +0200)]
Support for custom html meta (#1423)
* Support for custom html meta
* Changed html meta description default
Mura Li [Fri, 31 Mar 2017 08:42:23 +0000 (16:42 +0800)]
Add length check for the return string (#1420)
* Add length check for the return string
* Differentiate error paths and logging messages
* Rectify error message
Andrey Nering [Thu, 30 Mar 2017 23:29:57 +0000 (20:29 -0300)]
Merge pull request #1390 from Morlinest/commit-graph-UI
Use whole button (commit graph) as link
Andrey Nering [Thu, 30 Mar 2017 23:20:08 +0000 (20:20 -0300)]
Add unit tests for issue_watch
Andrey Nering [Thu, 30 Mar 2017 22:14:16 +0000 (19:14 -0300)]
Use variables for times
Andrey Nering [Thu, 30 Mar 2017 22:11:58 +0000 (19:11 -0300)]
Add copyright headers
Andrey Nering [Thu, 30 Mar 2017 22:10:30 +0000 (19:10 -0300)]
UI and translation improvements
Morlinest [Thu, 30 Mar 2017 10:05:38 +0000 (12:05 +0200)]
Make issue in commit graph "clickable" (#1392)
Antoine GIRARD [Thu, 30 Mar 2017 01:02:37 +0000 (03:02 +0200)]
Simplify settings pages with item list (#1389)
* Remove point column on ssh key setting page
* Remove un-used css
* Some cleaning
* Use octicon-key
Andrey Nering [Thu, 30 Mar 2017 00:18:28 +0000 (21:18 -0300)]
Fix lint
Andrey Nering [Thu, 30 Mar 2017 00:08:46 +0000 (21:08 -0300)]
Add octicons to watch/unwatch buttons
Andrey Nering [Wed, 29 Mar 2017 23:59:28 +0000 (20:59 -0300)]
Add updated_unix column on issue_watch
Andrey Nering [Wed, 29 Mar 2017 23:54:57 +0000 (20:54 -0300)]
Consider issue_watchers while sending notifications
Andrey Nering [Wed, 29 Mar 2017 23:31:47 +0000 (20:31 -0300)]
Add watch button on issue
Andrey Nering [Sun, 19 Mar 2017 19:54:12 +0000 (16:54 -0300)]
Create issue_watch table
Sandro Santilli [Wed, 29 Mar 2017 10:57:43 +0000 (12:57 +0200)]
Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION (#1369)
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION
Omit the configuration variable (the default) to be dependent.
Fixes #1363
* Move OpenID settings under Service object
* Show OpenID SignUp and SignIn status in admin panel / configuration
Bo-Yi Wu [Wed, 29 Mar 2017 02:05:23 +0000 (10:05 +0800)]
refactor: remove workaround after the golang 1.7 release. (#1349)
* refactor: remove workaround after the golang 1.7 release.
* remove unused import.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* refactor: Add remove function.
* refactor: rename
* refactor: update build flag
Peter Žeby [Mon, 27 Mar 2017 10:46:46 +0000 (12:46 +0200)]
Use whole button as link
Andrey Nering [Fri, 24 Mar 2017 02:32:40 +0000 (23:32 -0300)]
Minor improvements on commit graph UI (#1380)
* Make "Commit Graph" link a button and translate it
* Add title on Commit Graph page
Pavel Korovin [Thu, 23 Mar 2017 07:57:43 +0000 (10:57 +0300)]
Fix FCGI (over TCP) support (#1368)
Philippe Kueck [Thu, 23 Mar 2017 01:12:51 +0000 (02:12 +0100)]
rewrite pre-commit, post-commit and options hooks (fixes #1250) (#1257)
* issue #1250, replace {pre,post}-receive and update hooks with a single shell script that does not require custom hooks to be a sh-script
* issue #1250, make script posix compilant
* v23, add migration script to update {pre,post}-receive and update hooks
* migration: use a more common name and rename v23 to v26 to avoid conflicts
* gofmt'ed and added copyright header
* fix SyncRepositoryHooks to also sync wiki repos
Lunny Xiao [Wed, 22 Mar 2017 16:04:31 +0000 (00:04 +0800)]
fix migration failed when authorized_keys is not exist (#1180)
Kim "BKC" Carlbäcker [Wed, 22 Mar 2017 14:30:40 +0000 (15:30 +0100)]
Cleaner IMO (#1361)
Jonas [Wed, 22 Mar 2017 14:29:29 +0000 (15:29 +0100)]
Changed text when password reset disabled. (#1364)
Fixes #1340
aloupfor [Wed, 22 Mar 2017 11:37:48 +0000 (12:37 +0100)]
Remove href on first/last link when on first/last page (#1345)
Signed-off-by: Arthur Loupforest <arthur.loupforest@outlook.fr>
Antoine GIRARD [Wed, 22 Mar 2017 10:43:54 +0000 (11:43 +0100)]
GPG commit validation (#1150)
* GPG commit validation
* Add translation
+ some little fix
* Move hash calc after retrieving of potential key + missing translation
* Add some little test
Fabian Zaremba [Wed, 22 Mar 2017 10:43:28 +0000 (11:43 +0100)]
LFS: Fix SSH authentication for trailing arguments (#1328)
Fixes #1296
Kim "BKC" Carlbäcker [Tue, 21 Mar 2017 23:50:56 +0000 (00:50 +0100)]
Reduce conditionals in signin/signup inner forms (#1138)
Jonas [Tue, 21 Mar 2017 10:00:39 +0000 (11:00 +0100)]
Removed email copyright year (#1348)
Jonas [Tue, 21 Mar 2017 01:44:59 +0000 (02:44 +0100)]
Fix broken table layout (#1344)
Sandro Santilli [Tue, 21 Mar 2017 00:55:00 +0000 (01:55 +0100)]
Run "make fmt" with go-1.6 (#1333)
Lunny Xiao [Mon, 20 Mar 2017 14:13:52 +0000 (22:13 +0800)]
fix delete user failed on sqlite (#1321)
Lunny Xiao [Mon, 20 Mar 2017 13:36:19 +0000 (21:36 +0800)]
fix wiki bugs (#1294)
caiwp [Mon, 20 Mar 2017 13:17:07 +0000 (21:17 +0800)]
Delete the useless code (#1335)
Sandro Santilli [Tue, 7 Mar 2017 10:47:56 +0000 (11:47 +0100)]
Reduce conditionals in signin/signup inner forms
by always using SignInLink and SignUpLink in the form action