]>
source.dussan.org Git - gitea.git/log
Dennis Keitzel [Sun, 11 Jun 2017 02:57:28 +0000 (04:57 +0200)]
Gracefully handle bare repositories on API operations. (#1932)
Signed-off-by: Dennis Keitzel <github@pinshot.net>
silverwind [Sat, 10 Jun 2017 15:20:25 +0000 (17:20 +0200)]
Support CRLF when splitting code lines for display (#1862)
* Support CRLF when splitting code lines for display
* refactor, fix mixed match
* fmt
* split on both LF and CRLF, use raw literals in regexes
* simplify
Bo-Yi Wu [Sat, 10 Jun 2017 13:38:00 +0000 (08:38 -0500)]
[ci skip] update discord badge. (#1930)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Lunny Xiao [Sat, 10 Jun 2017 12:40:56 +0000 (20:40 +0800)]
Change join chat from gitter to discord (#1929)
Kim "BKC" Carlbäcker [Sat, 10 Jun 2017 01:07:09 +0000 (03:07 +0200)]
Merge pull request #1926 from go-gitea/bkcsoft-update-changelog
Update changelog with v1.1.1
Ethan Koenig [Sat, 10 Jun 2017 00:41:36 +0000 (20:41 -0400)]
Display URLs in integration test logs (#1924)
Ethan Koenig [Sat, 10 Jun 2017 00:39:16 +0000 (20:39 -0400)]
No highlighting for .txt files (#1922)
Kim "BKC" Carlbäcker [Thu, 4 May 2017 15:11:18 +0000 (17:11 +0200)]
Update changelog with v1.1.1
Kim "BKC" Carlbäcker [Fri, 9 Jun 2017 01:52:23 +0000 (03:52 +0200)]
Don't run 'make release' on PRs (#1908)
Ethan Koenig [Fri, 9 Jun 2017 01:51:31 +0000 (21:51 -0400)]
Fix ghost user bug (#1913)
Fix bug where unassigned issues would appear to be assigned to a ghost user
Jonas Östanbäck [Fri, 9 Jun 2017 00:24:15 +0000 (02:24 +0200)]
Set TMPDIR enviroment variable for dump command (#1915)
Mura Li [Thu, 8 Jun 2017 11:15:41 +0000 (19:15 +0800)]
Add integration test for file editing (#1907)
Ethan Koenig [Thu, 8 Jun 2017 08:48:49 +0000 (04:48 -0400)]
Fix 500 in public activity page (#1901)
Ethan Koenig [Thu, 8 Jun 2017 02:11:41 +0000 (22:11 -0400)]
Cache ctx.User in retrieveFeeds (#1902)
Dan Magnus Lindvall [Thu, 8 Jun 2017 02:08:22 +0000 (04:08 +0200)]
Delete Public SSH Key tmp file after calculating fingerprint (#1855)
* Delete public key tmp file after calculating fingerprint
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Move line
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Remove defer statement
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Readd defer statement and move remove
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Delete space
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
Andrey Nering [Wed, 7 Jun 2017 19:49:52 +0000 (16:49 -0300)]
Merge pull request #1905 from ethantkoenig/fix/org_api_auth
Require token before checking membership/ownership
Andrey Nering [Wed, 7 Jun 2017 19:49:33 +0000 (16:49 -0300)]
Merge pull request #1904 from ethantkoenig/fix/org_api
Bug fixes for org member API
Andrey Nering [Wed, 7 Jun 2017 18:55:12 +0000 (15:55 -0300)]
Merge pull request #1896 from typeless/add-integration-test-for-forking
Add integration test for repository forking
Andrey Nering [Wed, 7 Jun 2017 18:50:13 +0000 (15:50 -0300)]
Merge pull request #1903 from camlafit/patch-1
A missing / to provide a correct endpoint
Ethan Koenig [Wed, 7 Jun 2017 16:20:32 +0000 (12:20 -0400)]
Require token before checking membership/ownership
Ethan Koenig [Wed, 7 Jun 2017 16:10:35 +0000 (12:10 -0400)]
Bug fixes for org member API
camlafit [Wed, 7 Jun 2017 15:57:28 +0000 (17:57 +0200)]
A missing / to provide a correct endpoint
solve #1899
Mura Li [Wed, 7 Jun 2017 02:27:49 +0000 (10:27 +0800)]
Add integration test for repository forking
Jonas Östanbäck [Wed, 7 Jun 2017 01:14:31 +0000 (03:14 +0200)]
Send mails as HTML as default. Setting for send as plain text. (#1648)
* Send mails as HTML as default. Setting for send as plain text.
* Add new option SendAsPlainText. remove EnableHTMLAlternative
* Send HTML mails as default
* Add html check if html2text should be performed
* Send only multipart or plain. Add deprication warning for ENABLE_HTML_ALTERNATIVE
* Still use ENABLE_HTML_ALTERNATIVE for backward compatibility
* Changed to not ignore html2text errors
Andrey Nering [Tue, 6 Jun 2017 19:35:05 +0000 (16:35 -0300)]
Merge pull request #1892 from sapk-fork/update-git
Update code.gitea.io/git
Antoine GIRARD [Tue, 6 Jun 2017 17:36:48 +0000 (19:36 +0200)]
Update code.gitea.io/git
Sandro Santilli [Tue, 6 Jun 2017 13:53:16 +0000 (15:53 +0200)]
Include formatting check to the `make test` (and thus also `check`) rule (#1366)
* Include formatting check to the `make check` rule
... and give it its own standalone target too (make fmt-check)
Show diff on fmt-check failure
Do not allow running "fmt-check" with incompatible go version
Also simplify the `fmt` rule
* Forbid running "make fmt" with Go version != 1.7 or 1.8
* Ignore bindata.go for spelling and formatting checks
also remove duplicated variable assignment for GOFILES
* Run `make fmt`
Phil Hopper [Tue, 6 Jun 2017 09:09:54 +0000 (05:09 -0400)]
Make `LocalCopyPath` a setting instead of a hard-coded path (#1881)
Ethan Koenig [Tue, 6 Jun 2017 07:05:06 +0000 (03:05 -0400)]
Center-aligned login topbar (#1880)
* Center-aligned login topbar
* Center-align OpenID login
Ethan Koenig [Mon, 5 Jun 2017 10:40:25 +0000 (06:40 -0400)]
Migration to fix existing owner team units (#1873)
silverwind [Mon, 5 Jun 2017 07:52:35 +0000 (09:52 +0200)]
Prevent accidential selection of line numbers in code view (#1860)
Bo-Yi Wu [Mon, 5 Jun 2017 07:49:46 +0000 (02:49 -0500)]
feat: add check misspelling (#1877)
Andrey Nering [Sun, 4 Jun 2017 20:10:40 +0000 (17:10 -0300)]
Merge pull request #1874 from ethantkoenig/typo/issue_test
Fix misspelled variables
Andrey Nering [Sun, 4 Jun 2017 20:10:10 +0000 (17:10 -0300)]
Merge pull request #1875 from ethantkoenig/test/unused
Run unused test
Ethan Koenig [Sun, 4 Jun 2017 18:28:17 +0000 (14:28 -0400)]
Run unused test
Ethan Koenig [Sun, 4 Jun 2017 17:39:08 +0000 (13:39 -0400)]
Fix misspelled variables
Bo-Yi Wu [Sun, 4 Jun 2017 08:48:18 +0000 (03:48 -0500)]
fix: error from mktemp command in MacOS. (#1837)
* fix: error from mktemp command in MacOS.
* [ci skip] udpate temp name.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Ethan Koenig [Sun, 4 Jun 2017 03:10:16 +0000 (23:10 -0400)]
gofmt (#1868)
Ethan Koenig [Sun, 4 Jun 2017 03:09:50 +0000 (23:09 -0400)]
Rename misnamed migration (#1867)
Ethan Koenig [Sun, 4 Jun 2017 03:07:20 +0000 (23:07 -0400)]
Fix paginater length (#1866)
Antoine GIRARD [Sun, 4 Jun 2017 03:04:42 +0000 (05:04 +0200)]
Use production version of vuejs. (#1869)
Hussain Khalil [Sat, 3 Jun 2017 08:58:43 +0000 (04:58 -0400)]
Remove annoying difference in button heights. (#1853)
* Remove annoying difference in button heights.
Why was that even there?
See before & after: http://imgur.com/a/yKdUR
* (2/2) Remove annoying difference in button heights
Ethan Koenig [Sat, 3 Jun 2017 05:56:36 +0000 (01:56 -0400)]
Fix 404 for external tracking issues (#1852)
* Fix 404 for external tracking issues
* Fix 404 for new/upload file
Ethan Koenig [Sat, 3 Jun 2017 03:46:56 +0000 (23:46 -0400)]
Display draft releases (#1854)
* Display draft releases
* Include ctx.User in user cache
* Integration test
Ethan Koenig [Sat, 3 Jun 2017 01:06:10 +0000 (21:06 -0400)]
Fix bug in removeOrgRepo (#1858)
Rémy Boulanouar [Fri, 2 Jun 2017 08:43:44 +0000 (10:43 +0200)]
Display all organization from user settings (#1739)
* Display all organization from user settings
* fix Tab selection
* Update locale_en-US.ini
* Add a condition for display Create organization button
* Remove french translation
* Remove unnecessary admin flag
Antoine GIRARD [Fri, 2 Jun 2017 04:35:31 +0000 (06:35 +0200)]
Fix change introduce by update of go-swagger. (#1727)
Ethan Koenig [Fri, 2 Jun 2017 00:42:25 +0000 (20:42 -0400)]
Fix user profile activity feed (#1848)
* Fix user profile activity feed
* gofmt, and avoid overlapping database connections
Patrick G [Fri, 2 Jun 2017 00:41:52 +0000 (20:41 -0400)]
Fix some mistakes (#1833)
* Fix some mistakes
* Fixes
* Not correct -> incorrect or invalid
* Update according to comments
Bo-Yi Wu [Thu, 1 Jun 2017 18:07:24 +0000 (13:07 -0500)]
fix: only run test coverage on master branch. (#1838)
Ethan Koenig [Thu, 1 Jun 2017 01:43:11 +0000 (21:43 -0400)]
Update code.gitea.io/git (#1849)
silverwind [Thu, 1 Jun 2017 01:10:11 +0000 (03:10 +0200)]
Use a better default MAX_GIT_DIFF_LINE_CHARACTERS (#1845)
Tests indicate that line length alone does not make browsers slow, so
increase the default threshold after which diffs get surpressed for line
length from 500 to a more reasonable 5000 characters.
Fixes: https://github.com/go-gitea/gitea/issues/1826
Ethan Koenig [Thu, 1 Jun 2017 00:51:24 +0000 (20:51 -0400)]
Don't ignore error in getMergeCommit (#1843)
Ethan Koenig [Thu, 1 Jun 2017 00:41:14 +0000 (20:41 -0400)]
Fix locking bug in removeOrgRepo (#1842)
Ethan Koenig [Wed, 31 May 2017 14:47:42 +0000 (10:47 -0400)]
Fix pull request compare link (#1832)
* Fix pull request compare link
* Integration test
Ethan Koenig [Wed, 31 May 2017 08:57:17 +0000 (04:57 -0400)]
Fix status table race condition (#1835)
himaaaatti [Wed, 31 May 2017 01:16:51 +0000 (10:16 +0900)]
Add variable for docker tag (#1825)
Signed-off-by: Shunsuke Mie <sux2mfgj@gmail.com>
Sondre Nilsen [Wed, 31 May 2017 01:05:49 +0000 (03:05 +0200)]
Fix FOUC on Firefox (#1728)
Firefox users will experience a flash of unstyled content on loading
various pages, this patch will fix this issue using Filament Groups
loadCSS library to asynchronously load the CSS responsible for the FOUC.
Will fix #1698.
Signed-off-by: Sondre Nilsen <nilsen.sondre@gmail.com>
Ethan Koenig [Tue, 30 May 2017 12:04:12 +0000 (08:04 -0400)]
Fix PR template error (#1834)
Ethan Koenig [Tue, 30 May 2017 09:32:01 +0000 (05:32 -0400)]
Update code.gitea.io/git (#1824)
* Update code.gitea.io/git
* Update function calls
* govendor fetch
Ethan Koenig [Tue, 30 May 2017 06:08:36 +0000 (02:08 -0400)]
Use ghost users in issues/PRs (#1831)
Timo Myyrä [Mon, 29 May 2017 11:51:16 +0000 (14:51 +0300)]
use writeTmpKeyFile in calcFingerprint (#1828)
this makes calcFingerprint use SSH.KeyTestpath instead of os temp dir.
Jonas Östanbäck [Mon, 29 May 2017 07:35:47 +0000 (09:35 +0200)]
xxx_active_code_live setting in printed in hours and minutes instead … (#1814)
* xxx_active_code_live setting in printed in hours and minutes instead of just hours
* Update app.ini description of xxx_code_lives settings
Rémy Boulanouar [Mon, 29 May 2017 07:17:15 +0000 (09:17 +0200)]
Add Gitea Webhook (#1755)
* Replace Gogs by Gitea
* Fix missing changes
* Create Gitea webhook and put Gogs webhook apart.
Andrey Nering [Sat, 27 May 2017 20:40:09 +0000 (17:40 -0300)]
Merge pull request #1750 from andreynering/dashboard-search-org-repos
More fixes for dashboard search
Andrey Nering [Sat, 27 May 2017 16:40:54 +0000 (13:40 -0300)]
Fix private repo icon
Ethan Koenig [Sat, 27 May 2017 03:34:11 +0000 (23:34 -0400)]
Fix invalid reference in feeds template (#1820)
* Fix invalid reference in feeds template
* Comment for GetActAvatar
* Add integration test
Patrick G [Sat, 27 May 2017 01:14:13 +0000 (21:14 -0400)]
Improve clarity between is_activated and prohibit_login (#1788)
It used to be unclear what the difference between the two are.
Lunny Xiao [Fri, 26 May 2017 15:08:38 +0000 (23:08 +0800)]
resign drone and fix #1816 (#1819)
Ethan Koenig [Fri, 26 May 2017 13:15:45 +0000 (09:15 -0400)]
Fix 500 for GET /teams/:id endpoints (#1811)
* Fix 500 for GET /teams/:id endpoints
* Integration test for GET /team/:id
* Clean up integration test
Lunny Xiao [Fri, 26 May 2017 13:12:02 +0000 (21:12 +0800)]
fix bug to deny to add orgnization as a member of an orgnization or team (#1815)
Ethan Koenig [Fri, 26 May 2017 08:03:37 +0000 (04:03 -0400)]
Give all units to owner team (#1812)
Ethan Koenig [Fri, 26 May 2017 05:08:13 +0000 (01:08 -0400)]
Fix deadlock in updateRepository (#1813)
Ethan Koenig [Fri, 26 May 2017 01:38:18 +0000 (21:38 -0400)]
Fix activity feed (#1779)
* Fix activity feed
Preserve actions after user/repo name change
* Add missing comment
* Fix migration, and remove fields completely
* Tests
Jonas Franz [Thu, 25 May 2017 02:38:56 +0000 (04:38 +0200)]
Adding #issuecomment to the URL in E-Mail notifications (#1674)
* Added comment's hashtag to url for mail notifications.
Signed-off-by: Jonas <info@jonasfranz.software>
* Added comment's hashtag to url for mail notifications.
Added explanation to return statement.
Signed-off-by: Jonas <info@jonasfranz.software>
* Added comment's hashtag to url for mail notifications.
Added explanation to return statement + documentation.
Signed-off-by: Jonas <info@jonasfranz.software>
* Added comment's hashtag to url for mail notifications.
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Replacing in-line link generation with HTMLURL. (+gofmt)
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Replaced action-based model with nil-based model. (+gofmt)
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants.
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Updating comment for mailIssueCommentToParticipants
Signed-off-by: Jonas Franz <info@jonasfranz.software>
Ethan Koenig [Thu, 25 May 2017 00:53:03 +0000 (20:53 -0400)]
Remove stale rule from Makefile (#1782)
Ethan Koenig [Wed, 24 May 2017 16:13:18 +0000 (12:13 -0400)]
Only run coverage on merges/pushes to master (#1783)
Lunny Xiao [Wed, 24 May 2017 16:12:00 +0000 (00:12 +0800)]
fix bug not to trim space of login username (#1796)
Ethan Koenig [Wed, 24 May 2017 06:01:02 +0000 (02:01 -0400)]
Fix renaming bug (#1786)
Patrick G [Wed, 24 May 2017 06:00:40 +0000 (02:00 -0400)]
Make navbar scroll on overflow (#1777)
* Scrollbars on overflow of horizontal nav
* Update _base.less
* Add fade out on right side of overflowing nav
* Update _base.less
Jonas Östanbäck [Wed, 24 May 2017 00:27:08 +0000 (02:27 +0200)]
Rename RepoCreationNum -> MaxCreationLimit (#1766)
Patrick G [Tue, 23 May 2017 08:01:27 +0000 (04:01 -0400)]
Improve grammar (#1775)
Ethan Koenig [Tue, 23 May 2017 08:00:10 +0000 (04:00 -0400)]
Delete repo redirects on repo deletion (#1776)
Patrick G [Tue, 23 May 2017 07:58:43 +0000 (03:58 -0400)]
Make side nav on dashboard stackable (#1778)
Bo-Yi Wu [Sun, 21 May 2017 14:48:35 +0000 (22:48 +0800)]
fix: #1757 fix set MAX_CREATION_LIMIT as zero. (#1762)
* fix: #1757 fix set MAX_CREATION_LIMIT as zero.
* fix: missing default value
Ethan Koenig [Sun, 21 May 2017 06:35:45 +0000 (02:35 -0400)]
Fix unloaded owner (#1770)
Ethan Koenig [Sat, 20 May 2017 08:48:22 +0000 (04:48 -0400)]
Fix and test for delete user (#1713)
* Fix and test for delete user
* Run updates in batches
* Unit test
Jonas Östanbäck [Sat, 20 May 2017 08:47:48 +0000 (10:47 +0200)]
Add error direclty when user tries to create new repo and limit already hit (#1767)
Andrey Nering [Sat, 20 May 2017 03:52:35 +0000 (00:52 -0300)]
Update HighlightJS and fix YAML files highlighting (#1764)
* Update HighlightJS to 9.11.0
* Fix YAML files highlighting
Jonas Östanbäck [Sat, 20 May 2017 03:51:19 +0000 (05:51 +0200)]
Admin should always be allowed to create repos even if hit limit (#1765)
Kim "BKC" Carlbäcker [Fri, 19 May 2017 10:12:27 +0000 (12:12 +0200)]
fixes wrong after field in webhook payload (#1746)
Kim "BKC" Carlbäcker [Fri, 19 May 2017 10:10:17 +0000 (12:10 +0200)]
fix admin lost permission caused by #947 (#1753)
Lunny Xiao [Fri, 19 May 2017 00:59:26 +0000 (08:59 +0800)]
fix admin lost permission caused by #947
Rémy Boulanouar [Fri, 19 May 2017 00:20:41 +0000 (02:20 +0200)]
Add button to admin ui (#1738)
* Add button to admin ui
* Update according to review
* Update locale_fr-FR.ini
* Rollback to locale french file
Jonas Östanbäck [Fri, 19 May 2017 00:20:06 +0000 (02:20 +0200)]
Add swagger comment for MirrorSync (#1747)
* Add swagger comment for MirrorSync
* Generate swagger.v1.json
Andrey Nering [Thu, 18 May 2017 17:35:06 +0000 (14:35 -0300)]
Fix test
There was a panic when there's no logged in user
Lunny Xiao [Thu, 18 May 2017 14:54:24 +0000 (22:54 +0800)]
Add units to team (#947)
* add units to team
* fix lint
* finish team setting backend
* finished permission controll on routes
* fix import blank line
* add unit check on ssh/http pull and push and fix test failed
* fix fixtures data
* remove unused code
Jonas Östanbäck [Thu, 18 May 2017 14:39:42 +0000 (16:39 +0200)]
Correct grammar in APIEmpty documentation (#1748)
* Correct grammar in APIEmpty doc
* Generate swagger.v1.json
Andrey Nering [Thu, 18 May 2017 14:28:29 +0000 (11:28 -0300)]
Show repos acording to user/organization
Andrey Nering [Thu, 18 May 2017 14:16:04 +0000 (11:16 -0300)]
Remove colaborative repo panel