Unknwon
2bb1de1805
cmd/serve: minor code improve for PR #4078
8 years ago
Pablo Saavedra
0081c6911d
Check deploy keys when Gogs is run with Service.RequireSignInView=true ( #4078 )
...
* Check deploy keys when Gogs is run with require_sign_in_view
Check if the deploy key can access to a repository. A deploy key
doesn't represent an gogs user, so in a site with Service.RequireSignInView
activated we should give read access only in the repositories where
this deploy key is in use. In other case, a deploy service or system
using an active deploy key can get read access to all the repositories
in a Gogs service.
* Refactoring: Comments starts in a new line
* Minor change in a comment
* Code cleaning. Replace spaces with tabs
8 years ago
Unknwon
d293aa9ced
Do a fast-fail testing on repository URL before mirroring
...
To ensure the URL is accessible under good condition to prevent
long blocking on URL resolution without syncing anything.
8 years ago
Unknwon
4bc98f7aa2
Move models/mail.go to modules/mail.go
...
To use interface to replace *models.User in avoiding cycle import.
8 years ago
Unknwon
5e01ecbc05
Able to set custom Access-Control-Allow-Origin header ( #3987 )
...
Added new config option '[http] ACCESS_CONTROL_ALLOW_ORIGIN'.
8 years ago
Unknwon
7aa53635fe
Add 'Organizations' page to user settings ( #3587 )
...
User is now able to view full list of organizations belongs to.
8 years ago
Rémy Boulanouar
2ee0c61e62
Setting orgs ( #3587 )
...
* Implement organizations listing in setting and allow user to create new organization.
* Implement organizations listing in setting and allow user to create new organization.
* Add space remove by mistake
* Remove unused part of the template
* Update display and behavior according to @Unknown remarks
8 years ago
Unknwon
8bcc0e392e
Update XORM required version and 'go fmt'
8 years ago
Unknwon
42a3bbb0f4
Fetch before Checkout when create pull request ( #3699 )
8 years ago
Thibault Meyer
93616fe776
Fix regex on route file ( #3851 )
8 years ago
Unknwon
cc45a8ab06
cmd: new command 'import locale'
...
Quickly import locale files downloaded from Crowdin.
8 years ago
Unknwon
b092733c2e
Update git-module version to support back Git 1.7.1
8 years ago
Unknwon
491407ddf8
#3590 fix 404 for release draft edition
...
Closes #3591
8 years ago
Tanapol Nearunchorn
73fedc7275
provide button to delete merged pull request
8 years ago
Daniel Oaks
b3d9ca4ccd
Add the ability to explore organizations ( #3573 )
...
* Add ability to explore organizations
* Use right icon for org explore links
8 years ago
Unknwon
c2afdf2192
Minor code fix [CI SKIP]
8 years ago
Unknwon
16eb2eb6a3
Fix import path
8 years ago
Unknwon
e6ec1ca1f8
#3548 disable issue cannot edit label and milestonefor pull requests
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Kim "BKC" Carlbäcker
4f40019130
codegangsta/cli => urfave/cli ( #3546 )
8 years ago
Unknwon
2a13f682e0
Bump git-module required version
8 years ago
Thibault Meyer
92fb30c526
Load a set of predefined labels ( #3459 )
...
* Can use a predefined set of labels
* Change UI
* Fix HTML file indentation
* Avoid reading file from other directory (security issue)
* Apply a better fix
* Remove not used variable
* Merge upstream/develop
* Do modifications
* Raname
* remove binding + rename variable
8 years ago
Unknwon
579e5e4fee
Web editor: disallow edit mirror repository
8 years ago
Unknwon
0114fdcba4
Web editor: improve delete file process
8 years ago
Unknwon
c30b856d14
#3505 use user’s info for committer and author
8 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
8 years ago
Thibault Meyer
2c5411b00c
Fix #3361 : Dumps are created world readable ( #3473 )
...
* Set dump file permission to 0600
* Typo
8 years ago
Unknwon
a00c932bbc
General code quality improvement
8 years ago
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
8 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
8 years ago
Unknwon
4a46613916
markdown: fix treating pure number as SHA1
...
- Detect non-exist commit and return 404 not 500
8 years ago
Unknwon
4a19fd6441
Web editor: temporarily disable upload and quick fix for edit and new
...
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
8 years ago
Unknwon
54e0ada9d5
Web editor: improve delete file
8 years ago
Unknwon
15845cb287
Code clean up for new config options
8 years ago
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
commit 0afcb843d7
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff55
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591
Merge: 7fc8a89
991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb4
Merge: fd3d86c
c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21
Merge: 889e9fa
ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf22
Merge: bb57912
cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb57912558
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a3498202
Merge: fa1b752
1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be2
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
8 years ago
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 years ago
Unknwon
0f33b04c87
Add subcommand to create new user in CLI
8 years ago
Andrey Nering
fa12c282f6
Add Content-Disposition header for downloads ( #3439 )
8 years ago
Thibault Meyer
7eafe3213f
Fix #3321 : commit tag shortener ( #3418 )
...
* Fix #3321 : commit tag shortener
* Check short commit
* remove debug
* Edit unit tests
* Show 10-char short SHA
8 years ago
Unknwon
a47aef5460
#2852 code cleanup
8 years ago
Odin Ugedal
1dd003bd4c
Add initial support for unix sockets ( #2852 )
8 years ago
Thibault Meyer
53c573ed02
Fix #3314 : Cannot edit release with tag name contains slash ( #3434 )
8 years ago
Unknwon
7e9b42c87d
#2780 code clean up
8 years ago
Unknwon
5077408d78
#3233 code cleanup and minor issue fix
8 years ago
Unknwon
042d350762
Fix only user has repo write access can comment
8 years ago
Thibault Meyer
6a81632e36
Fix typo CacheInternal -> CacheInterval ( #3432 )
8 years ago
Unknwon
c5d4a9e046
#2907 Add commit timestamp to webhook
8 years ago
Unknwon
15b0cbe318
#3007 update git-module require version
8 years ago
Unknwon
bbe866122d
#3406 fix regression of MustEnableIssues check
8 years ago