2
0
Commit Graph

450 Commits

Author SHA1 Message Date
Sandro Santilli
78d721a905 ACCESS_MODE_* -> AccessMode* 2016-11-07 17:20:37 +01:00
Thomas Boerger
b2409920ff Dropped client from version check 2016-11-07 14:49:25 +01:00
Sandro Santilli
2cc11efdcf Replace gogits/git-module dependency with go-gitea/git (#94)
* Replace gogits/git-module dependency with go-gitea/git

Fixes #92

* Remove git alias for git module import (not needed)
2016-11-06 11:18:34 -02:00
Sandro Santilli
fed359462e Merge branch 'master' into feature/goimports 2016-11-05 22:54:20 +01:00
Andrey Nering
6dbb386d80 Refactor editorconfig middleware 2016-11-05 15:44:14 -02:00
Matthias Loibl
974f58ee82 Add missing version & gogs package 2016-11-05 18:04:47 +01:00
Matthias Loibl
b2f20b4726 Fix imports found by goimports. 2016-11-05 17:56:35 +01:00
Thomas Boerger
4af5781e5d Fixed "net.UnixAddr composite literal uses unkeyed fields" 2016-11-04 23:45:47 +01:00
Thomas Boerger
8e6bde2874 Made linter happy in cmd folder 2016-11-04 23:45:06 +01:00
Lunny Xiao
40646d3fe7 Merge branch 'master' into fix/3743-route-regexp-branchname 2016-11-04 00:11:08 +08:00
Rémy Boulanouar
61ec6729e6 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
Thibault Meyer
d1ba73475a Restore whitespace 2016-11-03 09:37:24 +01:00
Thibault Meyer
098b6cb152 Fix SHA regexp and commit comparisons 2016-11-03 09:32:55 +01:00
Unknwon
7d7894961a #3590 fix 404 for release draft edition
Closes #3591
2016-09-03 06:00:59 -04:00
Daniel Oaks
6cdcdc8a31 Add the ability to explore organizations (#3573)
* Add ability to explore organizations

* Use right icon for org explore links
2016-09-01 09:08:05 -04:00
Unknwon
a9ebee89b6 Minor code fix [CI SKIP] 2016-08-31 04:31:53 -07:00
Unknwon
9f8a25cf38 Fix import path 2016-08-30 05:49:54 -07:00
Unknwon
c3cd0e2996 #3548 disable issue cannot edit label and milestonefor pull requests 2016-08-30 05:30:47 -07:00
Unknwon
c5dea9e790 Web editor: support upload files 2016-08-30 05:23:59 -07:00
Kim "BKC" Carlbäcker
ee478cfb79 codegangsta/cli => urfave/cli (#3546) 2016-08-30 04:57:58 -07:00
Unknwon
47ccca9f39 Bump git-module required version 2016-08-29 23:57:22 -07:00
Thibault Meyer
09648cfb39 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
2016-08-29 19:02:49 -07:00
Unknwon
b2d03ef595 Web editor: disallow edit mirror repository 2016-08-28 04:56:41 -07:00
Unknwon
6aa50bcc06 Web editor: improve delete file process 2016-08-28 01:41:44 -07:00
Unknwon
a5d8695d08 #3505 use user’s info for committer and author 2016-08-27 13:37:55 -07:00
Unknwon
36198ec56a #3383 code cleanup 2016-08-24 16:05:56 -07:00
Thibault Meyer
ccd4e903dc Fix #3361: Dumps are created world readable (#3473)
* Set dump file permission to 0600

* Typo
2016-08-17 11:38:42 -07:00
Unknwon
258fefac24 General code quality improvement 2016-08-16 23:06:38 -07:00
Unknwon
d80e017adf #2246 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
2016-08-16 10:19:09 -07:00
Unknwon
b36d801abe models/issue: improve quality and performance of NewIssue function 2016-08-15 18:40:32 -07:00
Unknwon
ce4acf67b9 markdown: fix treating pure number as SHA1
- Detect non-exist commit and return 404 not 500
2016-08-15 15:27:19 -07:00
Unknwon
06cab9ac1d Web editor: temporarily disable upload and quick fix for edit and new
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
2016-08-15 01:42:20 -07:00
Unknwon
85be03f187 Web editor: improve delete file 2016-08-14 23:52:24 -07:00
Unknwon
a1f46bf7c8 Code clean up for new config options 2016-08-14 23:52:24 -07:00
Richard Mahn
0450fc3784 Squashed commit of the following:
commit 0afcb843d7ffd596991c4885cab768273a6eb42c
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 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:42:41 2016 -0600

    Fix for CodeMirror mode

commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:03:33 2016 -0600

    Made tabbing in editor use spaces

commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:56:46 2016 -0600

    Fix for data-url

commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 818df27
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 7fc8a89cb495478225b02d613e647f99a1489634
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 fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:39:44 2016 -0600

    Code cleanup

commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 29 15:38:23 2016 -0600

    Code cleanup

commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Thu Jul 28 18:36:01 2016 -0600

    Code cleanup and fixes

commit c2895dc742f25f8412879c9fa15e18f27f42f194
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Thu Jul 28 18:24:04 2016 -0600

    Fixes per Unknwon's requests

commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef
Merge: 889e9fa 2fcd3c9
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 889e9faf1bd8559a4979c8f46005d488c1a234d4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 22 14:09:18 2016 -0600

    Fix in gogs.js

commit 47603edf223f147b114be65f3bd27bc1e88827a5
Merge: bb57912 1104e17
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 bb5791255867a71c11a77b639db050ad09c597a4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 22 14:02:18 2016 -0600

    Update for using CodeMirror mode addon

commit d10d128c51039be19e2af9c66c63db66a9f2ec6d
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Tue Jul 19 16:12:57 2016 -0600

    Update for Edit

commit 34a34982025144e3225e389f7849eb6273c1d576
Merge: fa1b752 22719b6
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 fa1b752be29cd455c5184ddac2ffe80b3489763e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 15 18:35:42 2016 -0600

    Feature for editing, creating, uploading and deleting files
2016-08-14 23:52:24 -07:00
Unknwon
154b397e8f Replace convert.To with APIFormat calls 2016-08-14 04:17:26 -07:00
Unknwon
a2c880ef17 #2246 fully support of webhooks for pull request 2016-08-14 03:32:24 -07:00
Unknwon
db5ae28d83 Add subcommand to create new user in CLI 2016-08-13 16:11:52 -07:00
Andrey Nering
154d9efa9e Add Content-Disposition header for downloads (#3439) 2016-08-11 16:53:40 -07:00
Thibault Meyer
4a7d79a68c Fix #3321: commit tag shortener (#3418)
* Fix #3321: commit tag shortener

* Check short commit

* remove debug

* Edit unit tests

* Show 10-char short SHA
2016-08-11 15:34:00 -07:00
Unknwon
19ea718eeb #2852 code cleanup 2016-08-11 14:55:10 -07:00
Odin Ugedal
2ed68857cd Add initial support for unix sockets (#2852) 2016-08-11 14:46:33 -07:00
Thibault Meyer
fc7a58710b Fix #3314: Cannot edit release with tag name contains slash (#3434) 2016-08-11 13:45:42 -07:00
Unknwon
17a339a723 #2780 code clean up 2016-08-11 11:35:46 -07:00
Unknwon
241d1e13a0 #3233 code cleanup and minor issue fix 2016-08-11 10:53:51 -07:00
Unknwon
9c182cac07 Fix only user has repo write access can comment 2016-08-11 06:22:56 -07:00
Thibault Meyer
8467154168 Fix typo CacheInternal -> CacheInterval (#3432) 2016-08-11 05:59:11 -07:00
Unknwon
8779261ccc #2907 Add commit timestamp to webhook 2016-08-09 18:28:06 -07:00
Unknwon
2cc3db6af7 #3007 update git-module require version 2016-08-09 17:15:48 -07:00
Unknwon
814445d8ca #3406 fix regression of MustEnableIssues check 2016-08-09 09:39:55 -07:00