Thomas Boerger
b6b616b336
Merge pull request #228 from Bwko/feature/short-hash-download
...
Added short-hash support to downloads
2016-11-24 13:38:14 +01:00
Bwko
ff0d1bd602
Added short-hash support to downloads
2016-11-24 11:45:16 +01:00
Lunny Xiao
3917ed45de
golint fixed for routers ( #208 )
2016-11-24 15:04:31 +08:00
Lunny Xiao
cb1602840c
golint fixed for routers/repo/branch.go ( #206 )
2016-11-22 16:32:00 +08:00
Lunny Xiao
b2cce12980
golint fixed for routers/repo/wiki.go ( #203 )
2016-11-21 18:03:42 +08:00
Lunny Xiao
f0df8e8dfa
golint fixed for routers/repo/middlewares.go ( #204 )
2016-11-21 18:03:37 +08:00
Lunny Xiao
18dc4f1023
golint fixed for routers/repo/view.go ( #205 )
2016-11-21 18:03:29 +08:00
Bwko
7b75d93f3d
Fix for anonymous users to switch views
2016-11-19 16:53:34 +01:00
Bwko
fc3ed8a1de
Fix panic when no user is signed in
...
See #188
2016-11-19 12:43:10 +01:00
Sandro Santilli
cd339263d9
Allow updating draft releases while keeping them as draft
...
Closes #162
2016-11-14 18:02:21 +01:00
Andrey Nering
739f07c98e
Remember diff view style ( #163 )
2016-11-13 10:54:04 +08:00
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
2016-11-11 13:11:45 +01:00
Sandro Santilli
a1c5f02444
Fix import path of go-sdk ( #141 )
...
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
2016-11-11 17:39:44 +08:00
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
2016-11-10 17:24:48 +01:00
Matthias Loibl
45c4539c61
Merge pull request #17 from LefsFlarey/issue/3666
...
Fixed 404 caused by unexpected question mark
2016-11-08 18:27:59 +01:00
Flare
01c5233b53
Fixed 404 caused by unexpected question mark
...
This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
2016-11-08 22:09:48 +08:00
Lunny Xiao
5667d4daae
Merge pull request #73 from bkcsoft/gt/2164-release-pagination
...
Add Pagination to Releases-page (and de-duplicate pagination templates)
2016-11-08 10:39:03 +08:00
Sandro Santilli
864d1b1f9f
Fix type in unused constant name ( #111 )
...
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase
* Fix type in unused constant name
* Other MixCased fixes
* Complete MixerCasing of template constants
* Re uppercase LTS and LDAPS suffixes
* Uppercase JSON suffix in constant names
* Proper case LoginNoType
* Prefix unexported template path constants with "tpl"
2016-11-07 18:58:22 -02:00
Sandro Santilli
aadd7dcdc3
And others
2016-11-07 17:53:22 +01:00
Sandro Santilli
64196d4036
More overlooks
2016-11-07 17:35:34 +01:00
Sandro Santilli
60c82a8780
More...
2016-11-07 17:30:04 +01:00
Sandro Santilli
f6a11e0de1
More MixedCase consts
2016-11-07 17:24:59 +01:00
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
2016-11-07 17:20:37 +01:00
Sandro Santilli
0b62aeb495
More MixedCase consts
2016-11-07 17:08:21 +01:00
Sandro Santilli
80eea77953
Use MixedCase constant names
...
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
2016-11-07 17:05:08 +01:00
Thomas Boerger
5d430c9e68
Merge pull request #108 from go-gitea/go-sdk
...
Replaced gogits go-gogs-client with go-sdk
2016-11-07 16:31:17 +01:00
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
2016-11-07 16:10:32 +01:00
Thomas Boerger
77f9c7e571
Fixed links to sdk docs
2016-11-07 16:10:32 +01:00
Sandro Santilli
b7263f31a5
Replace GOGS with GITEA in variable names
...
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables
as a fallback if the equivalent GITEA_* are not set,
warning user about the need for change.
Does not change "gogs" to "gitea" in webhook type name
Because "gogs" hook type is part of the API (routes) and used
in templates...
Closes #87
2016-11-07 16:05:18 +01:00
Kim "BKC" Carlbäcker
86fb1a0cb1
Add Pagination to Releases-page
2016-11-07 11:41:09 +01:00
Rachid Zarouali
be5607e510
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
...
Disable HTTP cloning
2016-11-07 11:23:30 +01:00
Odin Ugedal
5a6f7edde9
Use the rev-parsed sha1 commit id ( #98 )
...
Use the rev-parsed sha1 commit id in urls to repo files,
instead of the abbreviated version.
2016-11-06 19:15:44 -02:00
Odin Ugedal
530f6c1da4
Fix rendering of non-markdown readme files
2016-11-06 16:02:42 +01:00
Sandro Santilli
6e4252dad4
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
f36544f98d
Merge branch 'master' into feature/goimports
2016-11-05 22:54:20 +01:00
Andrey Nering
bd898a10f8
Refactor editorconfig middleware
2016-11-05 15:44:14 -02:00
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
2016-11-05 17:56:35 +01:00
Andrey Nering
984fa8d83b
Fix 500 when repo has invalid .editorconfig
...
Creating a notice instead
2016-11-05 13:33:41 -02:00
Thomas Boerger
e05a5ca36c
Executed go fmt for all files
2016-11-04 23:45:06 +01:00
Rémy Boulanouar
8dc49dc114
Implementation of the feature to redirect to an external issue tracker
2016-11-04 09:06:54 +01:00
Andrey Nering
87b593f93e
Show issue/PR number on title
2016-11-03 20:28:05 -02:00
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
2016-11-03 10:29:56 -02:00
Thibault Meyer
93f1eabe30
rename variable + fix wiki link
2016-10-04 18:58:14 +02:00
Thibault Meyer
9d66497abc
Can disable GIT interactions by HTTP protocol
2016-09-18 10:54:33 +02:00
Unknwon
dadd35b636
#3559 fix template error
2016-08-31 13:59:23 -07:00
无闻
cd9b926af7
Support Editorconfig on web editor ( #3512 )
2016-08-30 16:47:22 -07:00
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
2016-08-30 20:30:47 -03:00
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
2016-08-30 16:18:33 -07:00
Unknwon
643142acab
Web editor: support upload files
2016-08-30 05:23:59 -07:00
Unknwon
780cc2d110
router/repo: code refactoring
2016-08-30 02:08:38 -07:00
Unknwon
28cf0e6aaa
#3459 code quality improvement
2016-08-29 20:00:06 -07:00
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
2016-08-29 19:02:49 -07:00
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
2016-08-29 00:10:21 -07:00
Unknwon
429c92c0ce
#3516 enforce line ending to be \n from web editor
2016-08-28 05:32:10 -07:00
Unknwon
ba27d71abe
Web editor: improve edit file
2016-08-28 04:31:42 -07:00
Unknwon
0114fdcba4
Web editor: improve delete file process
2016-08-28 01:41:44 -07:00
Unknwon
6e171c5225
Web editor: improve edit file tooltip
2016-08-27 15:25:01 -07:00
Unknwon
6b98d58906
#2966 code cleanup
2016-08-26 13:40:53 -07:00
Unknwon
f8a48ffaad
Web editor: improve code quality
2016-08-24 21:35:03 -07:00
Unknwon
0b273ac4d5
#3383 code cleanup
2016-08-24 16:05:56 -07:00
Unknwon
a00c932bbc
General code quality improvement
2016-08-16 23:06:38 -07:00
Unknwon
6f9a95f830
#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
6cda35a75f
#3464 reproduce diff signs
2016-08-16 07:31:54 -07:00
Unknwon
2625193a48
models/repo_editor: improve code quality
2016-08-15 22:20:55 -07:00
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
2016-08-15 18:40:32 -07:00
Unknwon
4a46613916
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
61e27dedf7
#3466 fix response of pull request form validation error
2016-08-15 14:04:44 -07:00
Unknwon
94392a7af3
Fix empty repository panic on send test webhook
2016-08-15 05:53:47 -07:00
Unknwon
8637e67e6f
Fix outdated edit can’t overwrite changes
2016-08-15 02:06:35 -07:00
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.
2016-08-15 01:42:20 -07:00
Unknwon
54e0ada9d5
Web editor: improve delete file
2016-08-14 23:52:24 -07:00
Unknwon
cd89f6c502
Web editor: improve edit file and diff preview
2016-08-14 23:52:24 -07:00
Unknwon
15845cb287
Code clean up for new config options
2016-08-14 23:52:24 -07:00
Richard Mahn
d0a0239bac
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 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 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 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 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 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 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 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 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
dccb0c15b9
Replace convert.To with APIFormat calls
2016-08-14 04:17:26 -07:00
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
2016-08-14 03:32:24 -07:00
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
2016-08-11 17:07:09 -07:00
Thibault Meyer
53c573ed02
Fix #3314 : Cannot edit release with tag name contains slash ( #3434 )
2016-08-11 13:45:42 -07:00
Andrew
0885784f13
Wiki mirroring implementation ( #3233 )
...
* Implement wiki mirroring, add Update mirrors operation to admin dashboard
* bindata.go update after merge
* Implement checking Git repo endpoint existence, support for BB included
* Remove admin dashboard operation
Fix bindata.go
* Apply gofmt to repo model file
* Try to remove bindata from PR
* Revert accepted wiki names change in favor of better system
* Remove unused imports
2016-08-11 10:18:51 -07:00
Unknwon
d625e41c6c
#3408 minor code fix
2016-08-11 07:41:01 -07:00
lstahlman
89f71b44f7
Add committer information to API and Webhooks. Also fixes #3271 ( #3414 )
2016-08-09 22:01:57 -07:00
Unknwon
f70343660d
Little code refactoring
2016-08-09 12:56:00 -07:00
Rory McNamara
c8b45ecc27
Render the Code view on the server (minus syntax highlighting) ( #2942 )
...
* render code view server side
* remove debug print
* fix multiline selection bug
* change string concatenation to bytes.Buffer for efficiency
* Fix newlines added by previous for hljs
* fix selection highlighting
* make css changes in .less
2016-08-09 12:35:20 -07:00
Thibault Meyer
30fda0f1ae
Fix #3315 : Release dont use tag creation date ( #3374 )
...
* Fix #3315 : Release dont use tag creation date
* Simplify code and apply gofmt
* remove useless block (ctx.Repo.GitRepo.GetTag) on EditReleasePost
* apply gofmt on modified files
2016-08-06 10:02:15 -07:00
Unknwon
ab9c5fb5e7
#2593 allow render raw content
...
Use URL query parameter render=1 to render content in raw mode.
2016-08-05 18:34:13 -07:00
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
2016-08-04 16:32:02 -07:00
Unknwon
10dc330640
#3345 dump content directly to HTTP ResponseWriter
2016-07-30 23:39:58 +08:00
Dennis Chen
dfab54d5a2
Diff patch ( #3345 )
...
* Add support for .diff and .patch
Add the ability to get text-diff and format-patch by adding .diff or
.patch in the end of a commit url. Issue #2641
* models: git_diff: various fixes
* Renames commitId to commitID.
* Writes stderr to a bytes.Buffer and displays proper error message on
command failure.
* Various style changes.
Signed-off-by: Dennis Chen <barracks510@gmail.com>
2016-07-30 23:02:22 +08:00
마누엘
fe60ca408b
routers/repo/release: Use correct branch reference ( #3330 )
...
When calculating the current behind commit count the calculation should
use the current release target to get the total commit count. Should the
release target not exist anymore the calculation will return zero for
the newest release on that target. Older releases on that target will then
use that calculated commit count as reference.
The only use case that is now somehow invalid is when the release target
was merged / deleted after a tag on that release target:
master 1 - - - - - - - 6
\ /
branch 2 - 3 - 4 - 5
When `4` is the last tag on branch `branch` and the branch `branch` is not
yet deleted the calculated numbers would be:
1 commits to branch since this release
Now if the branch `branch` gets deleted the calculation function will not
find the branch and use the commit count of the newest release (`4`) as
reference resulting in:
0 commit to branch since this release
This fixes #3326
2016-07-27 16:57:32 +08:00
Unknwon
29ccf047d8
routers/repo/issue: remove redundant format string
2016-07-26 18:42:18 +08:00
Unknwon
899e799459
#1601 support delete issue comment
2016-07-26 02:48:17 +08:00
Unknwon
1f2e173a74
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08:00
Unknwon
46e96c008c
Use struct for UI settings
2016-07-24 00:23:54 +08:00
Unknwon
256cd6374a
#2790 fix not detect diff style in pull request file changes
2016-07-23 23:46:49 +08:00
Unknwon
4b5e09e4d6
#3181 detect situation when base branch is deleted in pull request
2016-07-23 18:35:16 +08:00
Unknwon
c912494609
#3076 detect invalid tag name git error
2016-07-23 15:59:19 +08:00
lstahlman
25b3836418
Refresh repository mirror from database when the repository's name has changed. ( #3276 )
2016-07-17 09:30:43 +08:00
Unknwon
5aa2bf86f4
Update locales and .gopmfile
2016-07-17 09:25:30 +08:00
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
2016-07-17 08:33:59 +08:00
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
2016-07-16 01:02:55 +08:00
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
2016-07-16 00:36:39 +08:00
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
2016-07-15 21:53:43 +08:00
Kim Carlbäcker
f4ab50501e
[Fix] Don't display way too large files #1513 ( #3253 )
...
* Add MaxDisplayFileSize setting
* Don't show files that are too large
* Localized FileTooLarge
* Change IsFileTooBig => IsFileTooLarge
2016-07-12 06:21:26 +08:00
Pablo Saavedra
98b152030d
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )
...
Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
2016-07-09 13:22:28 +08:00
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
...
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
2016-07-08 13:57:09 +08:00
Unknwon
e84ac64964
Do not show filename not have suffifx .md
2016-07-01 15:34:03 +08:00
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
2016-06-29 23:11:00 +08:00
Franz Schmidt
8b35c194ec
Fixes #3110 ( #3136 )
2016-06-27 17:02:39 +08:00
Unknwon
4bbb878d20
Minor fix for #3194
...
- Update locale bindata
2016-06-27 16:38:35 +08:00
Sandro Santilli
2ce60ff314
Include repository owner name and description in html title ( #3194 )
...
Closes #3192
2016-06-27 16:32:35 +08:00
Unknwon
c041273dd3
repo/http: clean code
2016-06-01 04:19:01 -07:00
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
2016-04-26 21:48:44 -04:00
Thomas Boerger
dfad51fe9e
Made the issue stats query more secure with parameterized placeholders ( #2895 )
2016-04-26 00:07:49 -04:00
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
2016-04-22 18:28:08 -04:00
Tamás Molnár
39356f4238
Set utf-8 charset for text files when serving raw content ( #2898 )
2016-04-20 19:38:11 -04:00
Unknwon
dd36c431ec
#2842 add quotes to attachment file name
2016-03-25 22:11:58 -04:00
Unknwon
60ae8ac3d2
Add route for #2846
2016-03-21 10:49:46 -04:00
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
2016-03-13 23:20:22 -04:00
Unknwon
514382e2eb
Rename module: middleware -> context
2016-03-11 11:56:52 -05:00
Marin Jankovski
1314ba219e
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
2016-03-11 12:43:35 +01:00
Unknwon
0e9bc2d410
Fix pull request availability check
2016-03-06 23:57:46 -05:00
Unknwon
9cf7f3e46f
Remove duplicated of code
2016-03-06 14:44:22 -05:00
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
2016-03-05 20:45:23 -05:00
Unknwon
045f14fbd0
#1146 finsih UI work for access mode of collaborators
...
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
2016-03-05 18:08:42 -05:00
Unknwon
4cb8bf1b75
#1597 fix premission logic check of pull request
2016-03-04 16:14:02 -05:00
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
2016-03-04 15:43:01 -05:00
Unknwon
9df6ce48c5
Minor fixes for #2746
2016-03-04 13:32:17 -05:00
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
2016-03-04 09:26:52 -05:00
Unknwon
260723e2cc
Minor fixes for #2745
2016-03-03 23:24:22 -05:00
Josh Frye
f3358f5927
Repo setting to delete and disable wiki
2016-03-03 16:12:48 -05:00
Unknwon
7a91d7e776
Merge pull request #2694 from mhartkorn/pullrefs
...
Improved Pull Request refs
2016-02-26 14:21:31 -05:00
Unknwon
129638117f
#2697 fix panic when close issue via commit message
2016-02-25 14:17:55 -05:00
Martin Hartkorn
51f15880d1
Call PushToBaseRepo() also on Pull Request creation and not only on git push
2016-02-24 13:56:54 +01:00
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
2016-02-22 12:40:00 -05:00
Unknwon
d5a3021a7d
Make markdown as an independent module
2016-02-20 17:10:05 -05:00
Unknwon
7140dbac95
Fix #857
2016-02-20 15:10:34 -05:00
Unknwon
a703f7d7b4
Merge pull request #2647 from andreynering/issue-template
...
Implement issue and pull request templates
2016-02-20 14:12:15 -05:00
Unknwon
2408df3f35
Merge pull request #2663 from Download-Fritz/MirrorForks
...
#2505 Allow to fork and disallow to create PRs for mirrors.
2016-02-19 15:04:50 -05:00
Download-Fritz
a1b28fc33c
Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls().
2016-02-19 20:48:32 +01:00
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
2016-02-19 20:33:06 +01:00
Andrey Nering
658bfc2704
Implement issue and pull request templates.
...
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates
Priority:
- root
- .gogs
- .github
2016-02-18 21:21:30 -02:00
Unknwon
338af89d56
#2650 fix possbility that use email as pusher user name
...
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
2016-02-17 22:47:06 -05:00
Unknwon
d5ca913b2f
#2639 add branch prefix for test webhook
2016-02-17 15:05:07 -05:00
Unknwon
2765b5c7cf
#2630 fix wrong user avatar link in webhook
...
Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
2016-02-15 15:18:53 -05:00
Unknwon
632c27802c
Minor fix for #2624
2016-02-15 14:57:15 -05:00
Martin Hartkorn
bb595666ac
Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
2016-02-15 14:59:24 +01:00
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
2016-02-14 22:40:39 +01:00
Martin Hartkorn
15394f613f
Add missing safety check
2016-02-14 21:22:36 +01:00
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
2016-02-14 21:12:00 +01:00
Unknwon
0ad5f51059
Merge pull request #2599 from mhartkorn/fix-release-error-deleted-user
...
Fix for server error on release page when a user deleted their account
2016-02-10 16:11:56 -05:00
Martin Hartkorn
6b3e47b103
Removed HTTP 500 error on the release page when a user deleted their account
2016-02-10 22:04:11 +01:00
Unknwon
f15a2f9b25
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
...
Enable syntax highlighting on diff view
2016-02-07 11:49:11 -05:00
Tobias Kunicke
bc0eee48d5
parse milestone.deadline as local time
2016-02-06 00:10:32 +01:00
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
2016-02-04 18:21:47 -02:00
Florian Kaiser
0e4ae27caa
Use pretty 404 pages in repo.HTTPBackend
2016-02-02 14:09:47 +00:00
Unknwon
1c74612b3c
Minor fix for #2444
2016-02-01 20:55:12 -05:00
Unknwon
d3ba246693
Merge pull request #2444 from bkcsoft/feature/participants
...
Implemented participant-listing for issue-pages (Fixes #2377 )
2016-02-01 20:31:54 -05:00
Florian Kaiser
3e0a27157c
Make highlighted markdown code blocks work on issue pages
2016-02-01 19:53:58 +00:00
Andrey Nering
5deb726f3f
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
2016-01-27 18:54:08 -02:00
Kim "BKC" Carlbäcker
85335c5f56
Go-ism :D
2016-01-27 20:11:07 +01:00
Kim "BKC" Carlbäcker
b31c7fe074
Fixed Poster/Commenter-bug and clean-up
2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker
2665728ee7
Fix OP not 'participating' until commented
2016-01-26 17:55:54 +01:00
Kim Carlbäcker
f65dedc3be
Optimize participant-fetching
2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker
2cc1ee3fc0
Implemented participant-listing for issue-pages
2016-01-26 17:55:54 +01:00
Andrey Nering
ee5d6fb025
Compute inline diff for pull request view, too. Fix #2462
2016-01-25 20:56:27 -02:00
Kim "BKC" Carlbäcker
a3eab8185d
Admins are allowed to create repos for arbitrary Orgs
2016-01-20 14:46:45 +01:00
Unknwon
a72f57374d
Merge pull request #2403 from ddelpero/master
...
Update repo.go
2016-01-14 14:55:45 +08:00
Unknwon
bcf6aed452
Merge pull request #2335 from andreynering/highlight-diff
...
Highlight diff
2016-01-09 13:39:18 +08:00
ddelpero
7655337a1f
Update repo.go
...
Release download file name doesn't include tag number #2339
Download: Changed to use refName instead of commit.ID for downloaded file name
2016-01-07 14:28:38 -06:00
Unknwon
e0f0f72a36
#2345 disallow access of some pages for empty repo
2016-01-07 11:07:17 +08:00
Andrey Nering
73474c043b
Highlighting differences of lines in the diff view.
2016-01-06 17:46:56 -02:00
zhuharev
0d5dc8a064
typo fix
2016-01-06 22:41:42 +03:00
Kim "BKC" Carlbäcker
8fe5d887ae
Changed name from inline to unified
2016-01-05 19:21:50 +01:00
Kim "BKC" Carlbäcker
0df39b33eb
Implement Split Diff-View
...
- Unified/Inline Diff-View Selectable
2016-01-05 19:21:41 +01:00
Unknwon
a62290de52
#2311 improve HTTP auth error message
2015-12-30 21:29:30 -05:00
Unknwon
8d58e06ad8
more fix on #2268
2015-12-30 18:47:32 -05:00
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
2015-12-25 05:45:07 -05:00
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
2015-12-21 04:24:11 -08:00
Unknwon
c62a6b7a12
#2014 allow switch branches between two orgs in compose PR
2015-12-20 01:06:54 -05:00
Unknwon
5ff6eedf5e
#2251 fix button name
2015-12-19 22:07:06 -05:00
Unknwon
9cd16c5b12
#1692 add organization APIs
2015-12-17 02:28:47 -05:00
Unknwon
6673dcb038
#2103 #2181 improvments of highlight class name
2015-12-16 22:13:12 -05:00
Unknwon
19423957b1
rename import path
2015-12-15 17:25:45 -05:00
Unknwon
3362b3a44f
fix possible disclosure
2015-12-14 17:06:54 -05:00
Unknwon
7509fa2c33
improve get commits performance
2015-12-13 22:58:12 -05:00
Unknwon
79dcd7ee6e
#2167 able to identify git version on Windows
2015-12-13 18:20:39 -05:00
Unknwon
40f3142264
#2114 External URL for wiki
2015-12-11 04:55:08 -05:00
Unknwon
2a0bb1fa90
#1575 Limit repo creation
2015-12-10 12:37:53 -05:00
Unknwon
c6083c335e
#1612 Ability to send mail when a new pull request is submitted
2015-12-10 11:18:56 -05:00
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
2015-12-09 20:46:05 -05:00
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
2015-12-09 11:24:56 -05:00
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
2015-12-09 00:32:53 -05:00
Unknwon
120cd4e471
#1984 Better mirror repo management
2015-12-08 20:06:12 -05:00
Unknwon
dce2a9e7e1
fix wrong slack webhook payload URL
2015-12-06 23:07:02 -05:00
Unknwon
ca8ce793d1
#2063 Ability to delete repo from admin panel
2015-12-05 17:39:29 -05:00
Unknwon
404867f206
fix #2105 and fix #1857
2015-12-05 13:24:13 -05:00
Unknwon
e538ff2770
fix #1829 and fix #890
2015-12-04 21:30:33 -05:00
Unknwon
4d9499c2d3
fix broken link
2015-12-03 18:10:45 -05:00
Unknwon
cc8f5add6e
fix #976
2015-12-03 00:24:37 -05:00
Unknwon
ec2423ad7c
more UI minor fixes
2015-12-02 20:56:26 -05:00
Unknwon
830d000667
finish wiki
2015-11-30 20:45:55 -05:00
Unknwon
5d1f5f32d0
wiki: finish pages
2015-11-27 02:16:12 -05:00
Unknwon
e42fcb033d
wiki: finish edit
2015-11-27 01:50:38 -05:00
Unknwon
392f3ee210
wiki: finish new
2015-11-27 00:24:24 -05:00
Unknwon
c50a3503e6
introduce git-shell
2015-11-26 17:33:45 -05:00
Unknwon
2b10fdc4dc
Wiki: UI for page new
2015-11-25 20:10:25 -05:00
Unknwon
0128036514
#1681 some fixes for builtin SSH server on Windows
2015-11-23 22:32:07 -05:00
Unknwon
b2fb7e3fd2
more HTTP clone word fix
2015-11-22 13:01:42 -05:00
Unknwon
b80e848d02
upgrade libs
2015-11-21 21:09:18 -05:00
Unknwon
987dcc5372
fix #1383
2015-11-20 02:38:41 -05:00
Unknwon
6a66e5fc98
better error message
2015-11-19 13:45:07 -05:00
Unknwon
c0b0ce7b1a
#1971 more general rule to detect error
2015-11-19 13:04:07 -05:00
Unknwon
f455125d4d
fix #878
2015-11-18 21:21:47 -05:00
Unknwon
2c653141a8
#1742 Update default branch in git repository while change in web view
2015-11-18 19:32:23 -05:00
Unknwon
81d7359fdd
fix #1981
2015-11-18 15:11:37 -05:00
Unknwon
9a0902523b
fix #1987
2015-11-18 15:01:11 -05:00
Unknwon
ab9411be2a
clean up code
2015-11-16 23:33:40 -05:00
Unknwon
9ab96172fc
new watchers, stars and forks UI
2015-11-16 23:28:46 -05:00
Unknwon
d370effca5
minor fix for #1961
2015-11-16 11:20:11 -05:00
Unknwon
29ed7872f8
repo sidebar active class
2015-11-16 11:16:52 -05:00
Unknwon
134d8e7681
work on #1961
2015-11-16 10:14:12 -05:00
Unknwon
18de67380c
fix #1958
2015-11-15 23:52:46 -05:00
Unknwon
84a43b38cf
remove unused code
2015-11-14 13:22:24 -05:00
Unknwon
7c80eba77f
minor UI fix and fix ssh race
2015-11-14 13:21:31 -05:00
Unknwon
7b1c10ea7e
new repo ui
...
- copy link button: #1396 , #1168 , #1668 ,
- synxtax highlight: #1712 , #1549 , #1315 , #670
- z-index: #1942
2015-11-14 04:34:01 -05:00
Unknwon
1d57f0d64f
Show custom avatars in commits
2015-11-13 17:10:25 -05:00
Unknwon
3b62a0fe0e
fix #1572 fix file histrory paging issue
2015-11-10 16:46:17 -05:00
Unknwon
0d4498429c
work on #1904
2015-11-09 02:13:25 -05:00
Unknwon
b55499d039
go vet and fix #1890
2015-11-08 14:31:49 -05:00
Unknwon
e7aabf70dc
#1905 Triming the issue title
2015-11-06 11:17:46 -05:00
Unknwon
00eb2b221f
fix #1876
2015-11-04 10:16:50 -05:00
Unknwon
3a81fdf092
rename fields
2015-11-03 22:49:06 -05:00
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
2015-11-03 18:40:52 -05:00
Unknwon
fad31ca302
work on #1748
2015-10-31 18:59:07 -04:00
Unknwon
706b0f72e2
fix issue comment mention and autofix count when start
2015-10-29 20:40:57 -04:00
Unknwon
022820103d
#1657 allow forcing all private repos
2015-10-25 04:26:26 -04:00
Unknwon
c3ba5590c9
Reopen PR need retest patch
2015-10-25 03:10:22 -04:00
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
2015-10-24 03:36:47 -04:00
Unknwon
e0aab4a7f6
#1830 new comment with status change overwrites issue content
2015-10-23 12:54:19 -04:00
Unknwon
c6ce6bd4c2
work on #1830
2015-10-23 10:31:13 -04:00
Unknwon
fc7959d3bc
New/reopen PR checks if there is any unmerged and open PR
2015-10-18 19:30:39 -04:00
Unknwon
4dc6285715
add new status: checking
2015-10-18 17:18:54 -04:00
Unknwon
215920772a
save PR info as patch and minor fix on PR
2015-10-04 20:54:06 -04:00
kendaru
5c39d3fa7d
changed integrated page number to GET
2015-10-02 10:04:11 +02:00
Steven
c8aa9c6cb1
implemented #1721 : see users who forked/starred/watched a repository
2015-10-01 15:51:46 +02:00
Unknwon
d9c5b3bcee
#1659 fix change label title resets color
2015-09-18 06:18:31 -04:00
Unknwon
562e47f31c
finish all new template for current ones
2015-09-17 15:45:36 -04:00
Unknwon
2729eb998c
#1646 and other minor fixes
2015-09-16 15:34:46 -04:00
Unknwon
b0bf4cc1cb
fix #1632 and #1606
2015-09-13 11:26:25 -04:00
Unknwon
6f6f38e7c3
#1603 suburl for comment attachments
2015-09-08 09:09:40 -04:00
Unknwon
49e120a67c
#1602 change status after comment issue
2015-09-08 06:34:02 -04:00
Unknwon
cc83043edc
minor fix on template
2015-09-07 14:02:09 -04:00
Unknwon
3d9b98fae4
#1585 order owners list by last changed time
2015-09-07 13:58:23 -04:00
Unknwon
aa67de910a
fix #1558
2015-09-06 08:54:08 -04:00
Unknwon
119dec51f2
Mirror repository should not allow fork
2015-09-05 14:31:52 -04:00
Unknwon
2a2a8cd619
ui and pulls index fix
2015-09-03 03:49:50 -04:00
Unknwon
83dc2468f5
finish initial version of pull request
2015-09-02 16:18:09 -04:00
Unknwon
5da306c0e5
tmp: fix issue open count
2015-09-02 11:13:37 -04:00
Unknwon
953bb06857
basic PR feature
2015-09-02 09:26:56 -04:00
Unknwon
1abfe4e05f
PR: nothing to commit and has pull request check
2015-09-02 05:09:12 -04:00
Unknwon
37e0cee877
finish PR UI
2015-09-02 04:08:05 -04:00
Unknwon
2ac8e11f46
#842 able to use access token replace basic auth
2015-09-02 02:40:15 -04:00
Unknwon
ebf1bd4f51
add view pull desc
2015-09-01 19:26:39 -04:00
Unknwon
8c046073a8
work on PR conversation
2015-09-01 19:07:02 -04:00
Unknwon
670ade9a61
#1206 does not allow fork bare repo
2015-09-01 11:57:02 -04:00
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
2015-09-01 11:43:53 -04:00
Unknwon
8af094967f
#1377 add rename repo action
2015-09-01 09:29:52 -04:00
Unknwon
1ca257ad9f
rename fields
2015-08-31 16:24:28 +09:00
Unknwon
cb381078ff
finish new repo options page
2015-08-31 13:36:31 +08:00
Unknwon
d01f688257
fix repository count of user is messed up
2015-08-30 01:13:24 +08:00
Unknwon
55ddf225bb
webhook APIs
2015-08-29 11:49:59 +08:00
Unknwon
f509c59ac1
new create webhook event
2015-08-28 23:36:13 +08:00
Unknwon
a00194e665
work on #1548
2015-08-28 19:15:25 +08:00
Unknwon
c75cd33f2f
#965 Remember visibility preference
2015-08-28 18:45:25 +08:00
Unknwon
bb3b90fcd6
#1487 Readme Template
2015-08-28 18:33:09 +08:00
Unknwon
46bee50e45
complate list of gitignores and licenses
2015-08-28 16:44:04 +08:00
Unknwon
70e0153b93
add highlight js
2015-08-27 23:58:50 +08:00
Unknwon
23f42d92c9
add webhook recent deliveries
2015-08-27 23:06:14 +08:00
Unknwon
c08600c59b
new edit webhook UI
2015-08-27 01:04:23 +08:00
Unknwon
4217c2333c
new create webhook UI
2015-08-27 00:30:06 +08:00
Unknwon
2881456421
new webhooks list UI
2015-08-26 21:45:51 +08:00
Unknwon
1cb03135b7
new repo git hooks UI
2015-08-26 18:03:30 +08:00
Unknwon
a329bbc215
new org dashboard issues
2015-08-25 23:22:05 +08:00
Unknwon
f808df5a7b
new user dahsboard issues
2015-08-25 22:58:34 +08:00
Unknwon
4275b3720a
finsih diff and compare
2015-08-21 00:18:30 +08:00
Unknwon
aa65761d81
new commits table
2015-08-20 20:18:49 +08:00
Unknwon
062adbed8a
add confirmation to delete ssh key
2015-08-20 17:11:29 +08:00
Unknwon
371572cf5f
allow edit issue and comment
2015-08-20 04:31:28 +08:00
Unknwon
87f5ca8e1f
able edit issue title
2015-08-19 23:14:57 +08:00
Unknwon
03b85b73af
token recent activity
2015-08-19 06:22:33 +08:00
Unknwon
4c7b6414eb
new access token UI
2015-08-19 03:36:16 +08:00
Unknwon
d17f102339
try to fix HTTP ops not GC
2015-08-17 22:32:43 +08:00
Unknwon
407385db7e
work on #1493
2015-08-17 17:05:37 +08:00
Unknwon
c8bb475abb
fix autocomplete on migration
2015-08-15 18:16:39 +08:00
Unknwon
e633425f27
#1180 and #1250 : migration
2015-08-15 16:03:20 +08:00
Unknwon
a52324a5f9
able sort issues
2015-08-15 12:07:08 +08:00
Unknwon
4ce003dc15
Filter issues by assignee
2015-08-15 11:24:41 +08:00
Unknwon
30b428bf0e
#1419 : 500 when visit a issue with issue/comments of deleted user
2015-08-15 02:48:05 +08:00
Unknwon
13a74c3a0c
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
2015-08-15 00:42:57 +08:00
Unknwon
cec38f2a8c
able edit issue labels/milestone/assignee
2015-08-15 00:42:43 +08:00