4719 Commits

Author SHA1 Message Date
3c7116382f change the default action when deleting a release to not delete tag 2017-01-03 02:27:38 +01:00
727675dd46 fix config session missing data row & resolved #517 (#549) 2017-01-02 12:33:15 +08:00
05837a8d0f Provide description for the INSTALL_LOCK config option (#554) 2017-01-02 12:32:21 +08:00
0c301f7b5c Release API endpoints 2017-01-02 00:10:52 +01:00
b7e1bccc50 Makefile: on Windows, executable should have ".exe" (#550) 2017-01-01 22:18:35 +08:00
aea1b2b02e Merge pull request #543 from lunny/lunny/fallback_graceful_windows
Fix windows build broken by #416
2017-01-01 10:45:51 -02:00
787fda53ef UI config to toggle whether user email shows up in Explore Users (#336)
* UI config to toggle whether user email shows up in Explore Users

* Recommendation made by @tboerger
66a1c59fe7 (r94122732)

* fixed typo, rename ShowUserEmailInExplore to ShowUserEmail

* Fixed typo merged conflict

* Hide email in the user profile page

if you are active ShowUserEmail
ref https://github.com/go-gitea/gitea/pull/336#issuecomment-269843725

* Please replace MustBool() with MustBool(true)
2017-01-01 10:51:10 +08:00
a09a3dcabb Apply dockerfile updates to raspberry dockerfile (#548) 2017-01-01 10:25:17 +08:00
dc50c78f48 Replace pull request with issue at issue_template (#547) 2016-12-31 22:35:32 +08:00
1f07792881 Merge pull request #545 from lunny/lunny/fix_ui_data_row_missing
Partially fix #484: fix admin ui data row missing
2016-12-31 10:40:14 -02:00
96c201273e resolved #517: fix admin ui data row missing 2016-12-31 18:58:54 +08:00
9ccc3698d5 Fix wrong anchors for non-latin headings (#3981) (#512)
Change Javascript regular expression to match non-latin characters
The regex comes from here: http://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters#comment22322603_150078

And this patch should fixed these two issues: #3919 #3843
2016-12-31 18:06:09 +08:00
6e5fffbd3f resolved #485: when migrate empty wiki repo, then ignore (#541) 2016-12-31 17:34:34 +08:00
de8b73dd92 Unit tests for token and update models 2016-12-31 10:17:45 +01:00
bf85c82087 fix windows build broken by #416 2016-12-31 17:16:02 +08:00
c0904f1942 Restrict creating organisations by user (#193)
* restrict creating organizations based on right on user

* revert bindata.go

* reverse vendor lib

* revert goimports change

* set AllowCreateOrganization default value to true

* revert locale

* added default value for AllowCreateOrganization

* fix typo in migration-comment

* fix comment

* add coments in migration
2016-12-31 10:33:30 +08:00
b75450ad36 API endpoints for forks (#509) 2016-12-31 09:15:45 +08:00
527c2dd665 Support http service graceful restart (#416)
* support http service graceful restart

* fix dependencies
2016-12-31 09:00:33 +08:00
fa60cf0ea4 Updated Dutch translations 2016-12-30 21:05:12 +01:00
cb18941e63 replcae go fmt with gofmt command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-30 20:41:10 +01:00
6510e57758 fix gofmt error
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-30 20:41:10 +01:00
d0490c187c Merge pull request #538 from 0xbaadf00d/feature/fix-contrib-link
Fix URL link on CONTRIBUTING
2016-12-30 16:38:14 -02:00
aae960b31f Fix URL link on CONTRIBUTING
Signed-off-by: Thibault Meyer <meyer.thibault@gmail.com>
2016-12-30 18:45:52 +01:00
42904cb98a Notification - Step 1 (#523)
* Notification - Step 1

* Add copyright headers

* Cache issue and repository on notification model
2016-12-31 00:44:54 +08:00
37eec6c9b7 push + pull now works with reverse proxy + basic auth on apache 2.4 2016-12-29 22:37:50 +01:00
937b4b5aa1 Speed up conflict checking in pull request creation (#276)
* Speed up conflict checking in pull request creation

In order to check conflicts of a PR, we set up a working tree by
cloning the base branch, which is quite time-consuming when the repository is huge.
Instead, this PR uses `git read-tree` and `git apply --check --cached` to check conflicts.

For #258

* Use $GIT_INDEX_FILE instead of --index-output to avoid lockfile problem

The lockfile gets renamed to the final destination after the operation
finishes. But it must be located in the same filesystem, which prevents
us from using /tmp.

* Temporary file names should not prefixed with '-'
2016-12-29 22:59:52 +08:00
b992858883 Tab on user profile to show starred repos (#519)
* Tab on user profile to show starred repos

* Make golint happy and use transactions on StarRepo function

* x -> sess

* Use sess.Close() instead of sess.Rollback()

* Add copyright

* Fix lint
2016-12-29 22:58:24 +08:00
2d1a1fce93 Cache users on list releases (#527) 2016-12-29 21:21:19 +08:00
6f4ba6884c Repo permission bug fixes (#513) 2016-12-29 21:17:32 +08:00
ac51caa517 add default values for SSH settings (#500) 2016-12-29 11:51:15 +01:00
799d0c2030 slight optimization for GetUserRepositories (#498) 2016-12-29 02:53:33 -06:00
22e1bd31c6 commithgraph / timeline (#428)
* Add model and tests for graph

* Add route and router for graph

* Add assets for graph

* Add template for graph
2016-12-29 07:44:32 +08:00
35d9378e4e Permissions bug fix for webhooks 2016-12-28 20:12:23 +01:00
c22f9114c7 Implementation of Folder Jumping 2016-12-28 18:09:52 +01:00
331316894e Replace Gogs with Gitea (#520) 2016-12-28 16:33:21 +08:00
f686a32eac API endpoints for organization teams (#370) 2016-12-28 09:36:04 +08:00
c463b1b8cb Optimization for user.GetRepositoryAccesses to reduce db query times (#495)
* optimization for user.GetRepositoryAccesses to reduce db query times

* fix missing cache
2016-12-28 09:34:35 +08:00
9fae9f0dc2 Remove redundant query in collaborator API (#516) 2016-12-28 09:09:54 +08:00
8f1c311b90 ignore static files statstics for linguist 2016-12-27 16:49:25 +01:00
edfa76d3f5 Merge pull request #508 from joubertredrat/fix-cookie-name
Fix default cookie name
2016-12-27 13:14:20 -02:00
a0f5471e21 Fix default cookie name 2016-12-27 13:02:24 -02:00
ba85f68ea8 Merge pull request #487 from Bwko/NL
Added Dutch translations to the landingpage
2016-12-27 11:13:48 -02:00
7802699f52 fix installation page ssh domain unavilable 2016-12-27 12:00:18 +01:00
ba134bd27a fix 500 when delete orgnization and resolved #486 2016-12-27 12:00:12 +01:00
59f736d54c Merge pull request #492 from Bwko/password
At the locales replaced 6 with MIN_PASSWORD_LENGTH
2016-12-26 22:10:29 -02:00
98b0688921 At the locales replaced 6 with MIN_PASSWORD_LENGTH 2016-12-26 23:28:04 +01:00
6388761129 Added Dutch translations to the landingpage 2016-12-26 23:03:16 +01:00
71dee6b7c0 Improve the way how branches are deleted
Delete branch from HeadRepo instead of BaseRepo
Prevent the deletion of a master branch
Show a yes/no overlay when you press the delete branch button
2016-12-26 11:55:28 +01:00
71634452e1 Improve issue references in markdown (#471)
* Improve issue references in markdown. (#3436)

* Fix build

* Fix lint

* Fix comment typo
2016-12-26 18:52:04 +08:00
2342df183b API Endpoints for collaborators (#375) 2016-12-26 15:37:01 +08:00