]>
source.dussan.org Git - gitea.git/log
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
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
Diep Pham [Thu, 18 May 2017 05:16:36 +0000 (12:16 +0700)]
fixes wrong after field in webhook payload
when merge pull request
Patrick G [Thu, 18 May 2017 01:03:43 +0000 (01:03 +0000)]
Fix bad grammar and wordiness (#1741)
* Fix bad grammar and wordiness
* Update locale_en-US.ini
* Update locale_en-US.ini
* Update locale_en-US.ini
* Update locale_en-US.ini
* Update locale_en-US.ini
* Update locale_en-US.ini
* Update locale_en-US.ini
Patrick G [Tue, 16 May 2017 07:30:20 +0000 (03:30 -0400)]
Change two factor code entry box from text to number (#1733)
Lunny Xiao [Tue, 16 May 2017 00:36:09 +0000 (08:36 +0800)]
fix avatar update bug (#1729)
Antoine GIRARD [Sun, 14 May 2017 09:37:15 +0000 (11:37 +0200)]
re-Generate swagger.json (#1722)
changes introduced to repo format by : go-gitea/gitea#1687 go-gitea/go-sdk#58 go-gitea/gitea#1668 go-gitea/go-sdk#56
Jonas Östanbäck [Sun, 14 May 2017 02:38:30 +0000 (04:38 +0200)]
Add new text for reset password flash (#1718)
* Forgot password should use ResetPwdCodeLives, not ActiveCodeLives
* Improve documentation for different send mail functions related to password reset
* Improve documentation in conf/app.ini regarding xxx_CODE_LIVE_MINUTES settings
Ethan Koenig [Fri, 12 May 2017 08:09:53 +0000 (04:09 -0400)]
gofmt (#1710)
Ethan Koenig [Fri, 12 May 2017 07:52:45 +0000 (03:52 -0400)]
Fix rendering of issue checkboxes (#1709)
Jun Hsieh ♞ [Fri, 12 May 2017 07:10:25 +0000 (00:10 -0700)]
Hide the create organization button (in dashboard/organization section) (#1705)
when the user has no such permission.
guyzmo [Fri, 12 May 2017 03:09:26 +0000 (05:09 +0200)]
Added Parent property to the repo API (#1687)
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
Ethan Koenig [Thu, 11 May 2017 15:32:43 +0000 (11:32 -0400)]
Don't recreate database in integration tests (#1697)
Jonas Östanbäck [Thu, 11 May 2017 01:03:34 +0000 (03:03 +0200)]
Correct spelling mistakes (#1703)
* Nitpicking
Lauris BH [Wed, 10 May 2017 13:10:18 +0000 (16:10 +0300)]
LDAP user synchronization (#1478)
mappu [Tue, 9 May 2017 14:20:22 +0000 (02:20 +1200)]
markup: microoptimise for many short filenames in directory (#1534)
* markup: microoptimise for many short filenames in directory
Move strings.ToLower() after the early-return length check. This is a safe operation in all cases and should slightly improve directory listing performance when a directory contains many thousands of files with short filenames.
* markup: expand test cases for IsReadmeFile()
Lunny Xiao [Tue, 9 May 2017 13:42:55 +0000 (21:42 +0800)]
remove sqlite tag when integration test with mysql/postgres AND recreate database when init integration test (#1693)
Daniel Wendler (@cassandra) [Mon, 8 May 2017 11:09:20 +0000 (13:09 +0200)]
Realy don't cache apk index
Actualy the "-U --no-cache" effectivly is treated as --no-cache
was never specified:
/ # apk -U --no-cache add sed
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
(1/1) Installing sed (4.2.2-r0)
Executing busybox-1.25.1-r0.trigger
OK: 4 MiB in 12 packages
/ # ls -la /var/cache/apk/
total 1004
drwxr-xr-x 1 root root 70 May 8 11:08 .
drwxr-xr-x 1 root root 29 Mar 3 11:20 ..
-rw-r--r-- 1 root root 732807 May 5 07:11 APKINDEX.
c51f8f92 .tar.gz
-rw-r--r-- 1 root root 293014 May 1 12:37 APKINDEX.
d09172fd .tar.gz
So removing the "-U" fix this behavior.
Andrey Nering [Tue, 9 May 2017 00:31:30 +0000 (21:31 -0300)]
Improve dashboard repo search (#1652)
* Add VueJS
* Improve dashboard search
* Fix tab switching
* Fix input autofocus
Lauris BH [Mon, 8 May 2017 19:51:53 +0000 (22:51 +0300)]
Add configuration option for default permission to create Organizations (#1686)
Kim "BKC" Carlbäcker [Mon, 8 May 2017 08:02:44 +0000 (10:02 +0200)]
fix potential sqlite lock #1680
Lunny Xiao [Mon, 8 May 2017 02:55:27 +0000 (10:55 +0800)]
fix bug when push a branch name with / & fix an integration test bug (#1689)
Lauris BH [Sun, 7 May 2017 14:40:31 +0000 (17:40 +0300)]
Show commit status icon in commits table (#1688)
* Show commit status icon in commits table
* Add comments
* Fix icons
* Few more places where commit table is displayed
* Change integration test to use goquery for parsing html
* Add integration tests for commit table and status icons
* Fix status to return lates status correctly on all databases
* Rewrote lates commit status selects
Thomas Boerger [Sun, 7 May 2017 14:06:30 +0000 (16:06 +0200)]
Enforce netgo build tag while cross-compilation (#1690)
Lunny Xiao [Sat, 6 May 2017 13:21:22 +0000 (21:21 +0800)]
Remove env user salt since no need to use (#1515)
* remove env user salt since no need to use
* remove unused variable from update.go
Lauris BH [Fri, 5 May 2017 08:49:13 +0000 (11:49 +0300)]
Fix commit sha1 URL rendering in markdown (#1677)
* Fix commit sha1 URL rendering in markdown
* Add unit test for commit sha1 markdown rendering when sha1 has space before it
* Change to better variable name
Lauris BH [Fri, 5 May 2017 07:15:36 +0000 (10:15 +0300)]
Remove sha1 hash display in repository table and add latest commit GPG check (#1678)
silverwind [Fri, 5 May 2017 06:03:54 +0000 (08:03 +0200)]
Download files to their original filename (#1676)
guyzmo [Fri, 5 May 2017 02:55:54 +0000 (04:55 +0200)]
Exposes in API the Repo entity's Size and IsBare property (#1668)
* Exposes in API the Repo entity's IsBare property as IsEmpty
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
* Exposes in API the Repo entity's Size property
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
Lunny Xiao [Fri, 5 May 2017 02:13:48 +0000 (10:13 +0800)]
fix potential sqlite lock
Peter Dave Hello [Fri, 5 May 2017 00:47:20 +0000 (19:47 -0500)]
Upgrade alpine to v3.5 in Dockerfile (#1633)
Lunny Xiao [Fri, 5 May 2017 00:47:03 +0000 (08:47 +0800)]
fix potential lock when sqlite (#1647)
Peter Dave Hello [Fri, 5 May 2017 00:42:28 +0000 (19:42 -0500)]
Fix static files permission under public/ (#1675)
Bo-Yi Wu [Thu, 4 May 2017 15:38:34 +0000 (23:38 +0800)]
fix: tag contain character ) will http 500 on release page (#1670)
Lauris Bukšis-Haberkorns [Thu, 4 May 2017 14:44:23 +0000 (17:44 +0300)]
Add @lafriks as maintainer
Ethan Koenig [Thu, 4 May 2017 05:54:56 +0000 (01:54 -0400)]
gofmt (#1662)
Lunny Xiao [Thu, 4 May 2017 05:42:02 +0000 (13:42 +0800)]
Drop db operations from hook commands (#1514)
* move all database operations from hook command to web command and instead of internal routes
* bug fixed
* adjust the import path sequences
* remove unused return value on hookSetup
Jonas Östanbäck [Wed, 3 May 2017 12:22:14 +0000 (14:22 +0200)]
Fix CSS for wiki markdown (#1660)
Antoine GIRARD [Tue, 2 May 2017 13:35:59 +0000 (15:35 +0200)]
Generate swagger json (#1402)
- Generate swagger.json into public/
- Add swagger-ui auto-installation
- Add footer link to local swagger-ui
- Add /swagger url for using app url.
- Fix Swagger-UI version via git tag
Antoine GIRARD [Tue, 2 May 2017 13:22:21 +0000 (15:22 +0200)]
Improve govendor testing (#1623)
- Use `govendor list +outside +unused` for finding missing or unused deps and govendor status for catching modified vendor.
- Remove appengine import
Lunny Xiao [Tue, 2 May 2017 08:57:54 +0000 (16:57 +0800)]
fix multiple readme file rendering and fix #1657 (#1658)
* fix multiple readme file rendering and fix #1657
* remove unnecessary loop
Lauris BH [Tue, 2 May 2017 08:41:44 +0000 (11:41 +0300)]
Add primary key and index to external login user table (#1656)
Jorrit Klein Bramel [Tue, 2 May 2017 08:34:28 +0000 (10:34 +0200)]
Sort on repo size in admin panel (#1654)
* fix #1653 sort on repo size
* fix minor mistake in en-us locale
Lauris BH [Tue, 2 May 2017 00:50:33 +0000 (03:50 +0300)]
Update xorm to latest version (#1651)
* Update xorm to latest version
* Update xorm/builder
Lauris BH [Tue, 2 May 2017 00:49:55 +0000 (03:49 +0300)]
Do not allow commiting to protected branch from online editor (#1502)
* Do not allow commiting to protected branch from online editor
* Add editor integration tests for adding new file and not allowing to add new file to protected branch
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