Lunny Xiao
b2cce12980
golint fixed for routers/repo/wiki.go ( #203 )
8 years ago
Lunny Xiao
f0df8e8dfa
golint fixed for routers/repo/middlewares.go ( #204 )
8 years ago
Lunny Xiao
18dc4f1023
golint fixed for routers/repo/view.go ( #205 )
8 years ago
Bwko
7b75d93f3d
Fix for anonymous users to switch views
8 years ago
Bwko
fc3ed8a1de
Fix panic when no user is signed in
...
See #188
8 years ago
Sandro Santilli
cd339263d9
Allow updating draft releases while keeping them as draft
...
Closes #162
8 years ago
Andrey Nering
739f07c98e
Remember diff view style ( #163 )
8 years ago
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
8 years ago
Sandro Santilli
a1c5f02444
Fix import path of go-sdk ( #141 )
...
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
8 years ago
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
8 years ago
Matthias Loibl
45c4539c61
Merge pull request #17 from LefsFlarey/issue/3666
...
Fixed 404 caused by unexpected question mark
8 years ago
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
8 years ago
Lunny Xiao
5667d4daae
Merge pull request #73 from bkcsoft/gt/2164-release-pagination
...
Add Pagination to Releases-page (and de-duplicate pagination templates)
8 years ago
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"
8 years ago
Sandro Santilli
aadd7dcdc3
And others
8 years ago
Sandro Santilli
64196d4036
More overlooks
8 years ago
Sandro Santilli
60c82a8780
More...
8 years ago
Sandro Santilli
f6a11e0de1
More MixedCase consts
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli
0b62aeb495
More MixedCase consts
8 years ago
Sandro Santilli
80eea77953
Use MixedCase constant names
...
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
5d430c9e68
Merge pull request #108 from go-gitea/go-sdk
...
Replaced gogits go-gogs-client with go-sdk
8 years ago
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
8 years ago
Thomas Boerger
77f9c7e571
Fixed links to sdk docs
8 years ago
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
8 years ago
Kim "BKC" Carlbäcker
86fb1a0cb1
Add Pagination to Releases-page
8 years ago
Rachid Zarouali
be5607e510
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
...
Disable HTTP cloning
8 years ago
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.
8 years ago
Odin Ugedal
530f6c1da4
Fix rendering of non-markdown readme files
8 years ago
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)
8 years ago
Sandro Santilli
f36544f98d
Merge branch 'master' into feature/goimports
8 years ago
Andrey Nering
bd898a10f8
Refactor editorconfig middleware
8 years ago
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
8 years ago
Andrey Nering
984fa8d83b
Fix 500 when repo has invalid .editorconfig
...
Creating a notice instead
8 years ago
Thomas Boerger
e05a5ca36c
Executed go fmt for all files
8 years ago
Rémy Boulanouar
8dc49dc114
Implementation of the feature to redirect to an external issue tracker
8 years ago
Andrey Nering
87b593f93e
Show issue/PR number on title
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Thibault Meyer
93f1eabe30
rename variable + fix wiki link
8 years ago
Thibault Meyer
9d66497abc
Can disable GIT interactions by HTTP protocol
8 years ago
Unknwon
dadd35b636
#3559 fix template error
8 years ago
无闻
cd9b926af7
Support Editorconfig on web editor ( #3512 )
8 years ago
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
8 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Unknwon
780cc2d110
router/repo: code refactoring
8 years ago
Unknwon
28cf0e6aaa
#3459 code quality improvement
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
62b0dc4853
Web editor: fix cannot create new file in subdirectory
8 years ago
Unknwon
429c92c0ce
#3516 enforce line ending to be \n from web editor
8 years ago
Unknwon
ba27d71abe
Web editor: improve edit file
8 years ago
Unknwon
0114fdcba4
Web editor: improve delete file process
8 years ago
Unknwon
6e171c5225
Web editor: improve edit file tooltip
8 years ago
Unknwon
6b98d58906
#2966 code cleanup
8 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
8 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
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
6cda35a75f
#3464 reproduce diff signs
8 years ago
Unknwon
2625193a48
models/repo_editor: improve code quality
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
61e27dedf7
#3466 fix response of pull request form validation error
8 years ago
Unknwon
94392a7af3
Fix empty repository panic on send test webhook
8 years ago
Unknwon
8637e67e6f
Fix outdated edit can’t overwrite changes
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
cd89f6c502
Web editor: improve edit file and diff preview
8 years ago
Unknwon
15845cb287
Code clean up for new config options
8 years ago
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
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
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
8 years ago
Thibault Meyer
53c573ed02
Fix #3314 : Cannot edit release with tag name contains slash ( #3434 )
8 years ago
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
8 years ago
Unknwon
d625e41c6c
#3408 minor code fix
8 years ago
lstahlman
89f71b44f7
Add committer information to API and Webhooks. Also fixes #3271 ( #3414 )
8 years ago
Unknwon
f70343660d
Little code refactoring
8 years ago
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
8 years ago
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
8 years ago
Unknwon
ab9c5fb5e7
#2593 allow render raw content
...
Use URL query parameter render=1 to render content in raw mode.
8 years ago
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
8 years ago
Unknwon
10dc330640
#3345 dump content directly to HTTP ResponseWriter
8 years ago
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>
8 years ago
마누엘
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
8 years ago
Unknwon
29ccf047d8
routers/repo/issue: remove redundant format string
8 years ago
Unknwon
899e799459
#1601 support delete issue comment
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
46e96c008c
Use struct for UI settings
8 years ago
Unknwon
256cd6374a
#2790 fix not detect diff style in pull request file changes
8 years ago
Unknwon
4b5e09e4d6
#3181 detect situation when base branch is deleted in pull request
8 years ago
Unknwon
c912494609
#3076 detect invalid tag name git error
8 years ago
lstahlman
25b3836418
Refresh repository mirror from database when the repository's name has changed. ( #3276 )
8 years ago
Unknwon
5aa2bf86f4
Update locales and .gopmfile
8 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
8 years ago
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
8 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
8 years ago
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
8 years ago
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
8 years ago
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
8 years ago
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
...
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
8 years ago
Unknwon
e84ac64964
Do not show filename not have suffifx .md
8 years ago
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
8 years ago
Franz Schmidt
8b35c194ec
Fixes #3110 ( #3136 )
8 years ago
Unknwon
4bbb878d20
Minor fix for #3194
...
- Update locale bindata
8 years ago
Sandro Santilli
2ce60ff314
Include repository owner name and description in html title ( #3194 )
...
Closes #3192
8 years ago
Unknwon
c041273dd3
repo/http: clean code
8 years ago
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
8 years ago
Thomas Boerger
dfad51fe9e
Made the issue stats query more secure with parameterized placeholders ( #2895 )
8 years ago
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
8 years ago
Tamás Molnár
39356f4238
Set utf-8 charset for text files when serving raw content ( #2898 )
8 years ago
Unknwon
dd36c431ec
#2842 add quotes to attachment file name
9 years ago
Unknwon
60ae8ac3d2
Add route for #2846
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Marin Jankovski
1314ba219e
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
9 years ago
Unknwon
0e9bc2d410
Fix pull request availability check
9 years ago
Unknwon
9cf7f3e46f
Remove duplicated of code
9 years ago
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
9 years ago
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.
9 years ago
Unknwon
4cb8bf1b75
#1597 fix premission logic check of pull request
9 years ago
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
9 years ago
Unknwon
9df6ce48c5
Minor fixes for #2746
9 years ago
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
9 years ago
Unknwon
260723e2cc
Minor fixes for #2745
9 years ago
Josh Frye
f3358f5927
Repo setting to delete and disable wiki
9 years ago
Unknwon
7a91d7e776
Merge pull request #2694 from mhartkorn/pullrefs
...
Improved Pull Request refs
9 years ago
Unknwon
129638117f
#2697 fix panic when close issue via commit message
9 years ago
Martin Hartkorn
51f15880d1
Call PushToBaseRepo() also on Pull Request creation and not only on git push
9 years ago
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
9 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
9 years ago
Unknwon
7140dbac95
Fix #857
9 years ago
Unknwon
a703f7d7b4
Merge pull request #2647 from andreynering/issue-template
...
Implement issue and pull request templates
9 years ago
Unknwon
2408df3f35
Merge pull request #2663 from Download-Fritz/MirrorForks
...
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Download-Fritz
a1b28fc33c
Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls().
9 years ago
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
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
9 years ago
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.
9 years ago
Unknwon
d5ca913b2f
#2639 add branch prefix for test webhook
9 years ago
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.
9 years ago
Unknwon
632c27802c
Minor fix for #2624
9 years ago
Martin Hartkorn
bb595666ac
Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
9 years ago
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
9 years ago
Martin Hartkorn
15394f613f
Add missing safety check
9 years ago
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
9 years ago
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
9 years ago
Martin Hartkorn
6b3e47b103
Removed HTTP 500 error on the release page when a user deleted their account
9 years ago
Unknwon
f15a2f9b25
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
...
Enable syntax highlighting on diff view
9 years ago
Tobias Kunicke
bc0eee48d5
parse milestone.deadline as local time
9 years ago
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
9 years ago
Florian Kaiser
0e4ae27caa
Use pretty 404 pages in repo.HTTPBackend
9 years ago
Unknwon
1c74612b3c
Minor fix for #2444
9 years ago
Unknwon
d3ba246693
Merge pull request #2444 from bkcsoft/feature/participants
...
Implemented participant-listing for issue-pages (Fixes #2377 )
9 years ago
Florian Kaiser
3e0a27157c
Make highlighted markdown code blocks work on issue pages
9 years ago
Andrey Nering
5deb726f3f
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
9 years ago
Kim "BKC" Carlbäcker
85335c5f56
Go-ism :D
9 years ago
Kim "BKC" Carlbäcker
b31c7fe074
Fixed Poster/Commenter-bug and clean-up
9 years ago
Kim "BKC" Carlbäcker
2665728ee7
Fix OP not 'participating' until commented
9 years ago
Kim Carlbäcker
f65dedc3be
Optimize participant-fetching
9 years ago
Kim "BKC" Carlbäcker
2cc1ee3fc0
Implemented participant-listing for issue-pages
9 years ago
Andrey Nering
ee5d6fb025
Compute inline diff for pull request view, too. Fix #2462
9 years ago
Kim "BKC" Carlbäcker
a3eab8185d
Admins are allowed to create repos for arbitrary Orgs
9 years ago
Unknwon
a72f57374d
Merge pull request #2403 from ddelpero/master
...
Update repo.go
9 years ago
Unknwon
bcf6aed452
Merge pull request #2335 from andreynering/highlight-diff
...
Highlight diff
9 years ago
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
9 years ago
Unknwon
e0f0f72a36
#2345 disallow access of some pages for empty repo
9 years ago
Andrey Nering
73474c043b
Highlighting differences of lines in the diff view.
9 years ago
zhuharev
0d5dc8a064
typo fix
9 years ago
Kim "BKC" Carlbäcker
8fe5d887ae
Changed name from inline to unified
9 years ago
Kim "BKC" Carlbäcker
0df39b33eb
Implement Split Diff-View
...
- Unified/Inline Diff-View Selectable
9 years ago
Unknwon
a62290de52
#2311 improve HTTP auth error message
9 years ago
Unknwon
8d58e06ad8
more fix on #2268
9 years ago
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
9 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon
c62a6b7a12
#2014 allow switch branches between two orgs in compose PR
9 years ago
Unknwon
5ff6eedf5e
#2251 fix button name
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
6673dcb038
#2103 #2181 improvments of highlight class name
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
3362b3a44f
fix possible disclosure
9 years ago
Unknwon
7509fa2c33
improve get commits performance
9 years ago
Unknwon
79dcd7ee6e
#2167 able to identify git version on Windows
9 years ago
Unknwon
40f3142264
#2114 External URL for wiki
9 years ago
Unknwon
2a0bb1fa90
#1575 Limit repo creation
9 years ago
Unknwon
c6083c335e
#1612 Ability to send mail when a new pull request is submitted
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
9 years ago
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
dce2a9e7e1
fix wrong slack webhook payload URL
9 years ago
Unknwon
ca8ce793d1
#2063 Ability to delete repo from admin panel
9 years ago
Unknwon
404867f206
fix #2105 and fix #1857
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
4d9499c2d3
fix broken link
9 years ago
Unknwon
cc8f5add6e
fix #976
9 years ago
Unknwon
ec2423ad7c
more UI minor fixes
9 years ago
Unknwon
830d000667
finish wiki
9 years ago
Unknwon
5d1f5f32d0
wiki: finish pages
9 years ago
Unknwon
e42fcb033d
wiki: finish edit
9 years ago
Unknwon
392f3ee210
wiki: finish new
9 years ago
Unknwon
c50a3503e6
introduce git-shell
9 years ago
Unknwon
2b10fdc4dc
Wiki: UI for page new
9 years ago
Unknwon
0128036514
#1681 some fixes for builtin SSH server on Windows
9 years ago
Unknwon
b2fb7e3fd2
more HTTP clone word fix
9 years ago
Unknwon
b80e848d02
upgrade libs
9 years ago
Unknwon
987dcc5372
fix #1383
9 years ago
Unknwon
6a66e5fc98
better error message
9 years ago
Unknwon
c0b0ce7b1a
#1971 more general rule to detect error
9 years ago
Unknwon
f455125d4d
fix #878
9 years ago
Unknwon
2c653141a8
#1742 Update default branch in git repository while change in web view
9 years ago
Unknwon
81d7359fdd
fix #1981
9 years ago
Unknwon
9a0902523b
fix #1987
9 years ago
Unknwon
ab9411be2a
clean up code
9 years ago
Unknwon
9ab96172fc
new watchers, stars and forks UI
9 years ago
Unknwon
d370effca5
minor fix for #1961
9 years ago
Unknwon
29ed7872f8
repo sidebar active class
9 years ago
Unknwon
134d8e7681
work on #1961
9 years ago
Unknwon
18de67380c
fix #1958
9 years ago
Unknwon
84a43b38cf
remove unused code
9 years ago
Unknwon
7c80eba77f
minor UI fix and fix ssh race
9 years ago
Unknwon
7b1c10ea7e
new repo ui
...
- copy link button: #1396 , #1168 , #1668 ,
- synxtax highlight: #1712 , #1549 , #1315 , #670
- z-index: #1942
9 years ago
Unknwon
1d57f0d64f
Show custom avatars in commits
9 years ago
Unknwon
3b62a0fe0e
fix #1572 fix file histrory paging issue
9 years ago
Unknwon
0d4498429c
work on #1904
9 years ago
Unknwon
b55499d039
go vet and fix #1890
9 years ago
Unknwon
e7aabf70dc
#1905 Triming the issue title
9 years ago
Unknwon
00eb2b221f
fix #1876
9 years ago
Unknwon
3a81fdf092
rename fields
9 years ago
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
9 years ago
Unknwon
fad31ca302
work on #1748
9 years ago
Unknwon
706b0f72e2
fix issue comment mention and autofix count when start
9 years ago
Unknwon
022820103d
#1657 allow forcing all private repos
9 years ago
Unknwon
c3ba5590c9
Reopen PR need retest patch
9 years ago
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
9 years ago
Unknwon
e0aab4a7f6
#1830 new comment with status change overwrites issue content
9 years ago
Unknwon
c6ce6bd4c2
work on #1830
9 years ago
Unknwon
fc7959d3bc
New/reopen PR checks if there is any unmerged and open PR
9 years ago
Unknwon
4dc6285715
add new status: checking
9 years ago
Unknwon
215920772a
save PR info as patch and minor fix on PR
9 years ago
kendaru
5c39d3fa7d
changed integrated page number to GET
9 years ago
Steven
c8aa9c6cb1
implemented #1721 : see users who forked/starred/watched a repository
9 years ago
Unknwon
d9c5b3bcee
#1659 fix change label title resets color
9 years ago
Unknwon
562e47f31c
finish all new template for current ones
9 years ago
Unknwon
2729eb998c
#1646 and other minor fixes
9 years ago
Unknwon
b0bf4cc1cb
fix #1632 and #1606
9 years ago
Unknwon
6f6f38e7c3
#1603 suburl for comment attachments
9 years ago
Unknwon
49e120a67c
#1602 change status after comment issue
9 years ago
Unknwon
cc83043edc
minor fix on template
9 years ago
Unknwon
3d9b98fae4
#1585 order owners list by last changed time
9 years ago
Unknwon
aa67de910a
fix #1558
9 years ago
Unknwon
119dec51f2
Mirror repository should not allow fork
9 years ago
Unknwon
2a2a8cd619
ui and pulls index fix
9 years ago
Unknwon
83dc2468f5
finish initial version of pull request
9 years ago
Unknwon
5da306c0e5
tmp: fix issue open count
9 years ago
Unknwon
953bb06857
basic PR feature
9 years ago
Unknwon
1abfe4e05f
PR: nothing to commit and has pull request check
9 years ago
Unknwon
37e0cee877
finish PR UI
9 years ago
Unknwon
2ac8e11f46
#842 able to use access token replace basic auth
9 years ago
Unknwon
ebf1bd4f51
add view pull desc
9 years ago
Unknwon
8c046073a8
work on PR conversation
9 years ago
Unknwon
670ade9a61
#1206 does not allow fork bare repo
9 years ago
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
9 years ago
Unknwon
8af094967f
#1377 add rename repo action
9 years ago
Unknwon
1ca257ad9f
rename fields
9 years ago
Unknwon
cb381078ff
finish new repo options page
9 years ago
Unknwon
d01f688257
fix repository count of user is messed up
9 years ago
Unknwon
55ddf225bb
webhook APIs
9 years ago
Unknwon
f509c59ac1
new create webhook event
9 years ago
Unknwon
a00194e665
work on #1548
9 years ago
Unknwon
c75cd33f2f
#965 Remember visibility preference
9 years ago
Unknwon
bb3b90fcd6
#1487 Readme Template
9 years ago
Unknwon
46bee50e45
complate list of gitignores and licenses
9 years ago
Unknwon
70e0153b93
add highlight js
9 years ago
Unknwon
23f42d92c9
add webhook recent deliveries
9 years ago
Unknwon
c08600c59b
new edit webhook UI
9 years ago
Unknwon
4217c2333c
new create webhook UI
9 years ago
Unknwon
2881456421
new webhooks list UI
9 years ago
Unknwon
1cb03135b7
new repo git hooks UI
9 years ago
Unknwon
a329bbc215
new org dashboard issues
9 years ago
Unknwon
f808df5a7b
new user dahsboard issues
9 years ago
Unknwon
4275b3720a
finsih diff and compare
9 years ago
Unknwon
aa65761d81
new commits table
9 years ago
Unknwon
062adbed8a
add confirmation to delete ssh key
9 years ago
Unknwon
371572cf5f
allow edit issue and comment
9 years ago
Unknwon
87f5ca8e1f
able edit issue title
9 years ago
Unknwon
03b85b73af
token recent activity
9 years ago
Unknwon
4c7b6414eb
new access token UI
9 years ago
Unknwon
d17f102339
try to fix HTTP ops not GC
9 years ago
Unknwon
407385db7e
work on #1493
9 years ago
Unknwon
c8bb475abb
fix autocomplete on migration
9 years ago
Unknwon
e633425f27
#1180 and #1250 : migration
9 years ago
Unknwon
a52324a5f9
able sort issues
9 years ago
Unknwon
4ce003dc15
Filter issues by assignee
9 years ago
Unknwon
30b428bf0e
#1419 : 500 when visit a issue with issue/comments of deleted user
9 years ago
Unknwon
13a74c3a0c
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
9 years ago
Unknwon
cec38f2a8c
able edit issue labels/milestone/assignee
9 years ago
无闻
8be0bb177b
Merge pull request #1485 from donbowman/mime-type
...
43bfee0d48
reverted my change
9 years ago
Don Bowman
4137426c88
43bfee0d48
reverted my change
...
423b1c69be
, which in turn
causes all content to be served as text/plain. Let go decide
what the mime type is (e.g. text/html instead of text/plain).
9 years ago
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
9 years ago
Unknwon
1fb53067f4
finish close/reopen issue
9 years ago
Unknwon
133b19d0c5
finish view comments on issue page
9 years ago
Unknwon
ab2d0b3b44
add comment form UI
9 years ago
Unknwon
b4c0b7b98b
finish view issue without comments and ops
9 years ago
Unknwon
e67659bf8e
fix serve attachment content type
9 years ago
Unknwon
34f6cbfc2a
finish attachments when create issue
9 years ago
Unknwon
89c2bd4a0d
finish create issue attachment UI
9 years ago
Unknwon
17f3e840ec
fix cannot parse JSON for attachments
9 years ago
Unknwon
cbc7b7132f
finish new issue action and mentions
9 years ago
Unknwon
884bc4ffd8
rename functions
9 years ago
Unknwon
75aff60c90
finish create issue with milestone and assignee
9 years ago
Unknwon
09a1b2a1f5
finish create issue with milestone
9 years ago
Unknwon
922f3f3062
finish create issue with labels
9 years ago
Unknwon
17de3ab0a3
add migrate from issue.label_ids to issue_label
9 years ago
Unknwon
590c464c56
UI: create issue with title and content
9 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
9 years ago
Unknwon
e3bdfd51ff
better fork permission check
9 years ago
Unknwon
9db4acc62e
improve fork process
9 years ago
Unknwon
3d0583df0f
fix private repo cannot trigger hook by SSH
9 years ago
Unknwon
9d414d4dd9
remove Index field of milestone
9 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
9 years ago
Unknwon
34795770c3
fix issue stats with milestone filter
9 years ago
Unknwon
77dcef0cab
fix milestone format parse
9 years ago
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
9 years ago
Unknwon
0705f55ce0
finish new milestone page
9 years ago
Unknwon
74bd6b939c
milestone: edit
9 years ago
Unknwon
3e4cdccf6b
milestone: create page
9 years ago
Unknwon
ce4dcf1e83
fix naming
9 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
9 years ago
Unknwon
9311a9858a
milestone: pagination
9 years ago
Unknwon
04458d49a0
milestone: list view
9 years ago
无闻
eedac73229
Merge pull request #1404 from wqweto/develop
...
Allow space and/or percent in file and directory names
9 years ago
Unknwon
869113704b
fix #1407
9 years ago
Vladimir Vissoultchev
2cc050e21e
Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodings
9 years ago
Vladimir Vissoultchev
43bfee0d48
Raw text file view returns correct charset in content-type header if not utf-8
9 years ago
Unknwon
589618c8a5
better paging
9 years ago
Unknwon
fa298a2c30
#835 : Realtime webhooks
9 years ago
Unknwon
68cacf9c63
fix issue paging
9 years ago
Unknwon
1ba837a055
new issue and label page
9 years ago
Unknwon
54b58e988d
Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
9 years ago
无闻
3dcc0a4b5f
Merge pull request #1249 from donbowman/master
...
in routers/repo/download.go, don't set mime type, let go figure it out.
9 years ago
Unknwon
dc4aab9925
UI: CURD labels
...
- fix update lable break connection with repository
9 years ago
Unknwon
ac95f6d50f
UI: basic label list
...
- create new label
9 years ago
Unknwon
86dbda0b42
UI: basci issue list without filters
...
- fix isRead check
- fix paging
9 years ago
Unknwon
4447a20f87
UI: issues - finish basic frame
9 years ago
Unknwon
42a72b62fc
fix about #1289
9 years ago
Unknwon
ced212f8fa
fix hidden bug on tpl rendering
9 years ago
Unknwon
35be8741c4
fix #1112
9 years ago
Don Bowman
423b1c69be
don't set mime type to text/plain. This will break serving e.g. raw images,
...
html, etc
According to http://golang.org/pkg/net/http/#DetectContentType
"If the Header does not contain a Content-Type line, Write adds
a Content-Type set to the result of passing the initial 512 bytes
of written data to DetectContentType."
10 years ago
Linquize
f26f8d5afa
Set Content-Type to text/plain for http status 401
...
This is because git command line shows the failure reason only if Content-Type is text/plain.
10 years ago
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
10 years ago
Unknwon
5169a0e025
mirror fix of #1105
10 years ago
Linquize
3a977fc0ae
Allow to migrate through git:// protocol
10 years ago
Unknwon
466facc009
#1067 : Deleting users should remove them from collaborator lists
...
- fix delete user but repository watches are not decreased
10 years ago
Unknwon
fc6db829b2
fix read access team visibility of private repo
10 years ago
Unknwon
588f3215c6
#1040 : dashboard no longer accessible when repo is missing
10 years ago
Unknwon
4aafeace23
fix HTTP/HTTPS push update func call panic #1037 and `http: multiple response.WriteHeader calls`
10 years ago
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
10 years ago
Filippo Valsorda
5d5d774e03
Handle submodules without a .gitmodules entry - fix #1023
10 years ago
Unknwon
18c0697329
routers/repo/setting.go: fix LDAP cannot validate password #1006
10 years ago
Unknwon
b0b11fd7b1
Merge branch 'access' of github.com:gogits/gogs into dev
10 years ago
无闻
3a6ba39a61
Merge pull request #992 from theangryangel/fix/ldap-auth
...
Attempt 3 to fix LDAP login issues when git pushing after password change
10 years ago
Gogs
fab038b175
Attempt #3 of ldap fixes
10 years ago
Unknwon
8896c82d34
models: fix issue with transfer repository
...
README: fix typo
10 years ago
Raphael Randschau
1f61340fa3
Properly calculate the number of open issues per label
10 years ago
Unknwon
ee68a826a5
v4 migration, merge 'dev', clean code and mirror fix
10 years ago
Unknwon
10e4b5b6c6
Merge branch 'access' of github.com:gogits/gogs into access
10 years ago
Unknwon
7ccab9cd09
Merge branch 'dev' of github.com:gogits/gogs into access
...
Conflicts:
gogs.go
models/models.go
models/user.go
templates/.VERSION
templates/org/home.tmpl
10 years ago
Unknwon
04164eada3
models: able to rename user with diff letter cases #981
...
- templates/org: mirror fix on name output
- routers: add missing error check
10 years ago
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
10 years ago
无闻
fc4dff1b17
Merge pull request #959 from phsmit/access_update
...
Updating context and fixing permission issues
10 years ago
Peter Smit
e6fc58a744
Remove GoGet option from repository and handle it with ?go-get=1 instead
...
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
10 years ago
Peter Smit
ed89b39984
Updating context and fixing permission issues
...
The boolean flags in the repo context have been replaced with mode and two methods
Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
10 years ago
Peter Smit
f9454cc32c
Make sure that a mirror can't be written to by http or ssh
10 years ago
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
10 years ago
Peter Smit
6c1ee384f1
Merge remote-tracking branch 'mine/access_refactor' into access_refactor
...
Conflicts:
cmd/serve.go
models/access.go
models/migrations/migrations.go
models/org.go
models/repo.go
models/user.go
modules/middleware/org.go
modules/middleware/repo.go
routers/api/v1/repo.go
routers/org/teams.go
routers/repo/http.go
routers/user/home.go
10 years ago
Peter Smit
0a4cda0dd4
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
无闻
e805fdb29c
Merge pull request #925 from phsmit/newcollaboration
...
Collaboration
10 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
10 years ago
无闻
6ed96b7a20
Merge pull request #911 from TonyTsangHK/dev
...
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
10 years ago
Unknwon
ba77a3b0b4
routers/repo/http.go: allow HTTP push/pull by token for #845
10 years ago
无闻
19525abfc4
Merge pull request #845 from compressed/token_http
...
allow http push by token - #842
10 years ago
Unknwon
5a99e9a37b
models/action.go: add action reopen for #462
...
- models/issue.go: format comment type names
10 years ago
Unknwon
afccd0a3ee
models/action.go: mirror fix on #892
...
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
10 years ago
Peter Smit
4e79adf6b5
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Tony Tsang
fc6d80d619
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
10 years ago
Peter Smit
03af37554e
Merge branch 'dev' into newcollaboration
10 years ago
Unknwon
32152d2363
routers/repo: set raw page content type to 'text/plain' #828
10 years ago
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
10 years ago
Peter Smit
76f8904718
Introducing Collaboration Struct
10 years ago
无闻
edbfbfa66e
Merge pull request #822 from phsmit/fix_807
...
Fix #807 parse the userinfo with the golang tools
10 years ago
Christopher Brickley
d0827e5d5e
allow http push by token - #842
10 years ago
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
10 years ago
Peter Smit
d016eaaa09
Fix #807 parse the userinfo with the golang tools
...
Note, this is now only fixed with Go version >= 1.4.2, see this bug in Go: 07d86b1f2d
10 years ago
Unknwon
677b1ec627
fix #808
10 years ago
Thomas Laroche
e948c7c262
Fix #795
10 years ago
Unknwon
1a5aa5e0c0
fix #741
10 years ago
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
10 years ago
Unknwon
2f3a7e53cb
fix #735
10 years ago
codeskyblue
db6c0ebf76
fix git clone error when repo has upper case name
10 years ago
Unknwon
bc8721fb6c
Finish new UI for release page
10 years ago