Commit graph

5222 commits

Author SHA1 Message Date
Lunny Xiao
341b3a0349 bug fix for dump when data directoryis not exist () 2017-03-02 17:41:33 +08:00
Schwobaland
2f7dc28b22 add ProxyFromEnvironment if none set () 2017-03-02 08:36:42 +08:00
Jonas
f3bf409082 Log config pretty printer ()
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
2017-03-02 08:25:44 +08:00
Lunny Xiao
0380ce269f add back the default setting values and fix () 2017-03-01 23:10:12 +08:00
Lunny Xiao
cfdc62e7fa Comment force push detect to fix bug ()
* umcomment force push detect to fix bug 

* fix 

* handle global config set and fix 
2017-03-01 23:01:03 +08:00
Lunny Xiao
9cb08a3cf5 fix wrong num of user repos because of duplicated click delete button & performance optimization () 2017-03-01 12:05:45 +08:00
Bo-Yi Wu
19bc2b10ae fix: Add str2html on DisplayName of Org. () 2017-03-01 12:02:19 +08:00
Thomas Boerger
db6777d369 Fixed custom templates for static builds () 2017-03-01 09:45:21 +08:00
Ethan Koenig
d21d5fd736 Remove unnecessary loads in org_team () 2017-03-01 09:09:49 +08:00
Ethan Koenig
22f7aa6e9c LableIDs -> LabelIDs () 2017-03-01 09:08:45 +08:00
Bo-Yi Wu
e83c8afc56 refactor: move SearchRepositoryByName testing. () 2017-02-28 17:58:50 +08:00
Lunny Xiao
c2eef171ff fix some typos () 2017-02-28 12:56:15 +08:00
Ethan Koenig
4b286f282a Consistency checks for action unit tests () 2017-02-28 09:42:10 +08:00
Ethan Koenig
cf80e19157 Optimize and unit test Issue_ReplaceLabels () 2017-02-28 09:35:55 +08:00
Jonas
a201977590 Fix for : Embed build tags ()
* Fix for 
Add build tags to ldflags and print in version output

Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>

* Reworked formatBuiltWith function

Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>

* Add tags to version information in admin panel

Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>

* Added new variable for use on admin page.

Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>

* Fixed incorrect indentation
2017-02-28 08:40:02 +08:00
Willem van Dreumel
8947b711aa Link OAuth2 account to 2FA enabled account (fix ) ()
* fixes  where linking an account to a 2fa enabled account failed because we forgot to really link the account when 2fa is completed

* handle errors
2017-02-27 18:10:26 +08:00
awwalker
c0f99e8229 API: support /users/:username/repos
clean up

fix arguments

remove repeated token

give admins listing rights
2017-02-27 07:46:01 +01:00
Lunny Xiao
9084bdd863 fix push () 2017-02-27 14:24:58 +08:00
Ethan Koenig
136e6beb0f Fix unused Engine bugs () 2017-02-27 10:16:35 +08:00
Lunny Xiao
50918084bb remove unused struct () 2017-02-27 09:49:05 +08:00
Lunny Xiao
e4134debd1 Remove unused vars ()
* remove unused vars

* remove unused comment
2017-02-27 09:22:15 +08:00
Lunny Xiao
32faec00e6 move all repo list functions as a standalone file () 2017-02-27 08:45:03 +08:00
Lunny Xiao
d4e38cf129 fix setMerged for remove unnecessary db connection () 2017-02-27 08:42:55 +08:00
Lunny Xiao
522f194983 Bug fixed for org avatar caused by ()
* bug fixed for org avatar caused by 

* use isfile only
2017-02-27 08:42:22 +08:00
Lunny Xiao
a5ac4c64fc refactor api issues load attributes for better performance () 2017-02-27 08:36:42 +08:00
silverwind
ab462fb95f Makefile: Use hash over which ()
`hash` is a much faster shell-builtin alternative to `which`.
2017-02-26 16:27:45 +01:00
puffybsd
a30797425f Implements 1071, .gitignore support for FSharp and Clojure. () 2017-02-26 16:14:38 +01:00
silverwind
5bd22a2f4a Makefile: Also redirect stderr on which calls () 2017-02-26 21:12:21 +08:00
Lunny Xiao
35548a9d4e remove unused fixme on dump command () 2017-02-26 16:01:49 +08:00
Bo-Yi Wu
95574a3640 fix: Admin can see all private repositories on Explore page. ()
* fix: Admin can see all private repositories on Explore page.

* refactor: fix session
2017-02-26 13:59:31 +08:00
Ethan Koenig
831ff41754 Fix go vet faults () 2017-02-26 13:25:35 +08:00
Sandro Santilli
bf24099114 Allow migrating installations with no local avatars () 2017-02-26 11:58:02 +08:00
Lunny Xiao
80f900ebae Fix avatar enumable ()
* fix avatar enumable

* fix import style
2017-02-25 22:58:57 +08:00
Lunny Xiao
19b3c45ca7 fix 500 when use a duplicat email instead of giving an error tip () 2017-02-25 22:57:06 +08:00
Lunny Xiao
cd1821a7e2 Move push update to post-receive and protected branch check to pre-receive ()
* move all push update to git hook post-receive and protected branch check to git hook pre-receive

* add SSH_ORIGINAL_COMMAND check back

* remove all unused codes

* fix the import
2017-02-25 22:54:40 +08:00
Lunny Xiao
e8e56da9ac fix () 2017-02-25 22:53:57 +08:00
Andrey Nering
ddb0287bf6 Merge pull request from andreynering/api-repo-mirror
Add "mirror" field to repo API
2017-02-25 11:35:03 -03:00
Andrey Nering
c4a3d5148d Merge pull request from andreynering/do-not-test-libravatar
Remove test that touch network
2017-02-25 11:27:45 -03:00
Lunny Xiao
fc4f7e82f9 refactor for searching user ()
* refactor for searching user

* fix like bug

* better format for builder cond
2017-02-25 21:42:20 +08:00
Lunny Xiao
8894f856de fix 500 when change user setting email to an exist email () 2017-02-25 21:39:52 +08:00
Andrey Nering
f552b0a207 Remove test that touch network 2017-02-25 10:32:15 -03:00
Andrey Nering
d7af8f96d7 Update vendor of code.gitea.io/sdk/gitea 2017-02-25 10:04:22 -03:00
Andrey Nering
946f3078d3 Add "mirror" field to repo API 2017-02-25 10:04:22 -03:00
Andrey Nering
d4a7040c7f Merge pull request from andrew-boyarshin/autolink
Fix span wrapping all the things
2017-02-25 09:31:28 -03:00
Jonas
9ad3a07989 Fix for : Corrected process ID placeholder to PID from Pid ()
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
2017-02-25 11:12:46 +08:00
Sandro Santilli
44827698e2 Reword the reinit_missing_repos message to be clear about what it does ()
I was confused by current wording, which seemed to imply that
*records* would be initialized, while instead the function initializes
the *git repositories* instead, where missing but referenced.
2017-02-25 11:12:17 +08:00
Bo-Yi Wu
f1412142e0 refactor: repo counts for SearchRepositoryByName func () 2017-02-25 09:27:39 +08:00
Lunny Xiao
c0ea3963be fix delete repo will hang on postgres () 2017-02-24 23:19:13 +08:00
Andrew Boyarshin
0602a44b27 Fix URL handling in the whole markdown module, improve test coverage ()
Amended with string to bool change in API SDK.

Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
2017-02-24 22:59:56 +08:00
Andrew Boyarshin
817710dd47
Fix span wrapping all the things
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
2017-02-24 18:49:04 +07:00