1013 Commits (dd8a06a397e26c46639eba1313102560dfa49c95)

Author SHA1 Message Date
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
Sergio Benitez 7d84d4a8f0 Significantly enhanced LDAP support in Gogs. 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
Unknwon cbb78b6a63 better wording 9 years ago
Unknwon 009d692c7d fix install default db option 9 years ago
Unknwon eea9302d8f fix #1204 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
Unknwon 70d44e9565 Merge branch 'master' of github.com:gogits/gogs into develop 9 years ago
无闻 333ab1b2b4 Merge pull request #1317 from smcquay/keys
fix .keys route
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
无闻 91ab2538c3 Merge pull request #1244 from jamesa/develop
Add full name field to admin's user edit page (fixes #1130)
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 bebbd08920 Disable log color in prod mode 9 years ago
Unknwon 4cbbaefd82 #1127: hide user e-mail when API caller isn't signed in 9 years ago
Unknwon ced212f8fa fix hidden bug on tpl rendering 9 years ago
Unknwon 35be8741c4 fix #1112 9 years ago
Unknwon a2a9e151f8 install - add mail from setting 9 years ago
Unknwon b9dc2147b4 UI: install - done 9 years ago
Unknwon 5cf3732339 UI: install - new version 9 years ago
stephen mcquay 73698d292a fix .keys route
This change fixes the output from /{{ username }}.keys so that it can work in
a ~/.ssh/authorized_keys file
9 years ago
James f3aab5dbe3 Add full name field to admin's user edit page (fixes #1130) 9 years ago
Lunny Xiao f92bdf875b Merge pull request #1226 from nice-software/wip/pam
Add PAM authentication
9 years ago
Paolo Borelli 182003aa41 Add PAM authentication 9 years ago
Lunny Xiao 673a76d638 Merge pull request #1211 from mephux/hotfix/type-fix-ValidatePassword
Hotfix/type fix validate password
9 years ago
Dustin Willis Webber 5a4f314cf7 fix calls that go rename missed 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."
9 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.
9 years ago
Unknwon 698b9e2acc #1070 Clearer error message for illegal characters 9 years ago
Unknwon 5169a0e025 mirror fix of #1105 9 years ago
无闻 f7219b0cf0 Merge pull request #1105 from linquize/migrate-git
Allow to migrate through git:// protocol
9 years ago
Unknwon 5f594d8774 #1140 MySQL root password exposure 9 years ago
Unknwon 211596f407 #1124 LDAP add and edit form are misleading 9 years ago
Linquize 3a977fc0ae Allow to migrate through git:// protocol 9 years ago
无闻 e312634286 Merge pull request #1091 from sapk/fix-ng-issue-pages
Apply ng to issue dashboard
9 years ago
Unknwon 1cb57b1a44 #1094: fix locale 9 years ago
Antoine GIRARD 96a71aaed8 Apply ng to issue dashboard 9 years ago
Unknwon 466facc009 #1067: Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
9 years ago
Unknwon 33894591a6 #851: Edit Account does not take into consideration password rules 9 years ago
Unknwon fc6db829b2 fix read access team visibility of private repo 9 years ago
Unknwon 588f3215c6 #1040: dashboard no longer accessible when repo is missing 9 years ago
Unknwon 4aafeace23 fix HTTP/HTTPS push update func call panic #1037 and `http: multiple response.WriteHeader calls` 9 years ago
Unknwon 34102f7889 remove unused scripts and simplify migrate form definition 9 years ago
Filippo Valsorda 5d5d774e03 Handle submodules without a .gitmodules entry - fix #1023 9 years ago
Unknwon 18c0697329 routers/repo/setting.go: fix LDAP cannot validate password #1006 9 years ago
Unknwon b0b11fd7b1 Merge branch 'access' of github.com:gogits/gogs into dev 9 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
9 years ago
Gogs fab038b175 Attempt #3 of ldap fixes 9 years ago
Unknwon e3dece1371 modules/setting: simple behave change in startup 9 years ago
Unknwon 8896c82d34 models: fix issue with transfer repository
README: fix typo
9 years ago
Raphael Randschau 1f61340fa3 Properly calculate the number of open issues per label 9 years ago
无闻 f92bfabf86 Merge pull request #960 from phsmit/access_action
Fix that owners also see actions on their repositories
9 years ago
无闻 cd8b43d984 Merge pull request #915 from Lafriks/dev
Get username, name, surname and e-mail from LDAP server
9 years ago
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix 9 years ago
Unknwon 10e4b5b6c6 Merge branch 'access' of github.com:gogits/gogs into access 9 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
9 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
9 years ago
Unknwon 059338139c routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
9 years ago
Unknwon 1654e9ecab templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
9 years ago
无闻 fc4dff1b17 Merge pull request #959 from phsmit/access_update
Updating context and fixing permission issues
9 years ago
Peter Smit 0fa209d07b Update/simplify fix that owners also see actions on their repositories 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 455fad0fbd Fix that owners also see actions on their repositories
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.

It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action
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 a38e4a0b02 routers/install.go: able to keep previous custom settings for 2nd time install
- .gopmfile: update all commits
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
Unknwon c5c467a9cd Merge branch 'dev' of github.com:gogits/gogs into access 10 years ago
无闻 e805fdb29c Merge pull request #925 from phsmit/newcollaboration
Collaboration
10 years ago
Unknwon 485ea6f14f models: make code change for session issue with SQLite3 #739 10 years ago
Unknwon 6a23252edc able to allow insecure certification of webhook for #891 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 f15fa9167a cmd: code fix for #905
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
10 years ago
无闻 cd0ee35b3f Merge pull request #905 from phsmit/conf_on_cli
Add option to provide configuration file on command line
10 years ago
Lauris BH 00653e52ee Get username, name, surname and e-mail from LDAP server 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 216683004e code fix for #908, and work for #884 10 years ago
无闻 87b90372a7 Merge pull request #908 from nicolai86/feature/hide-signup-button-884
Make Signup button display configurable - #884
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
Raphael Randschau 3c65265871 Hide the registration button depending on the setting 10 years ago
Peter Smit 1ab09e4f1b Add option to provide configuration file on command line 10 years ago
Peter Smit 03af37554e Merge branch 'dev' into newcollaboration 10 years ago
无闻 cd6376f093 Merge pull request #818 from fzerorubigd/master
add a function to rewrite all public keys on admin request
10 years ago
Unknwon 89ea3e1acc routers: save partial config when install 10 years ago
Unknwon b293b6eaa6 cmd: CMD option for port number of `gogs web` to prevent first time run conflict
- routers: use new binding convention to simplify code
- templates: able to set HTTP port number in install page
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
无闻 161774d4fb Merge pull request #825 from phsmit/ssh2_keys
Implement #798 Flexible ssh-key input
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
Peter Smit 6251626de4 Implement #798 Flexible ssh-key input
It is now possible to input ssh keys in a number of formats: openssh, SSH2 or just the base64 encoded key.
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
fzerorubigd 6643647687
add afunction to rewrite all public keys on admin request
refs #763
10 years ago
Unknwon bd555551ce fix #801 10 years ago
Thomas Laroche e948c7c262 Fix #795 10 years ago
Unknwon 81a44e4cd0 fix API changes 10 years ago
Unknwon 79537467da mirror fix and update 10 years ago
无闻 a18decf4cc Merge pull request #755 from phsmit/multiple_emails
Multiple emails
10 years ago
Peter 20b5c23a19 Small fixes to multiple_emails feature 10 years ago
Unknwon 0a697517ac work on #754 10 years ago
Unknwon c4820f119d work on #754 10 years ago
Unknwon 57b3be4016 work on #756 10 years ago
Peter b033f2f535 Finish method for having multiple emails/user.
All basics are implemented. Missing are the right (localized) strings
and the page markup could have a look at by a frontend guy.
10 years ago
Peter ec71d538fc Method for activating email addresses through verification email 10 years ago
Unknwon d01f2f3c22 fix #751 10 years ago
Unknwon 1a5aa5e0c0 fix #741 10 years ago
Unknwon b553ea45ee modes/repo: incorrect SSH clone URL for #742 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
Unknwon 9a1fe801e5 fix #711 10 years ago
Joseph Crail 39c068400e Fix spelling errors in comments. 10 years ago
dennis-smurf 528c075ad6 Added issue link rendering in commit messages 10 years ago
Deiwin Sarjas 48bb0fadc2 update user api search results to include the full name
Is fully backwards compatible
Fixes #677
10 years ago
Unknwon 5338808600 fix #676 10 years ago
Unknwon d75013a0e8 fix #580 10 years ago
Unknwon b6437b5a4c safe check 10 years ago
Unknwon db4951bc61 mirror fix on oauth2 10 years ago
Unknwon d6132aaa88 fix oauth2 10 years ago
Unknwon a43164877c fix #664 10 years ago
Unknwon 0cce61de3a Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
Unknwon 5b96e3fcc7 fix #660 10 years ago
fuxiaohei 79dae254cf add milestone page design 10 years ago
Unknwon 1b66600bd0 Fix #652 10 years ago
Unknwon dc53270da9 Fix 653 10 years ago
Unknwon ef275ebf62 more on change avatar 10 years ago
Unknwon 22ab4fa1b0 fix #139 10 years ago
Unknwon 55dfe2c978 custom avatar upload 10 years ago
Unknwon 2d8c414f8c Fix #635 10 years ago
Unknwon 37d8d3afe9 more APIs on #12 10 years ago
Unknwon 32dcaefafa fox #620 10 years ago
fuxiaohei d1a60e3643 add pull-request and labels page design 10 years ago
Unknwon a0f9197b45 GetFile api 10 years ago
Unknwon 340a4595dd support duoshuo mirror of gravatar 10 years ago
Unknwon 52d66ba6c8 #12, use go-gogs-client 10 years ago
Unknwon 9dc3c93a6a #12, add/edit hook 10 years ago
Unknwon 9e22840483 fix #622 10 years ago
Unknwon 8eb5120fbd #12, API: list user repos, list repo hooks 10 years ago
Unknwon 8c9338a537 add personal access token panel #12 10 years ago
Unknwon 21b9d5fa1f Fix #618 10 years ago
Unknwon e0de6cb5ad work on #616 and update locales 10 years ago
Unknwon abc57b6e43 work on #609 10 years ago
Unknwon 23eec25274 Fix #605, fix #255, fix #101 10 years ago
Unknwon 4e7eb5be9d Work on #5 fork and fix #608 10 years ago
isotas38 2c28ed8c05 Fix #595 10 years ago
semlanik 377530ec21 Fix Issue 589 10 years ago
Unknwon 83283bca4c Safe work 10 years ago
Christopher Brickley 3794111460 update slack hook to use new format 10 years ago
Tony Tsang d87a9cb362 Avoid setting missing label/milestone/assignee ids
Label, milestone, assignee ids are not includes in post request, possible
js or form building bug.
10 years ago
Tony Tsang 93b9a2acc0 Fix misuse of issue index for issue id.
- UpdateAssignee
- UpdateIssueMilestone
10 years ago
Unknwon a342d58d7e Able to fork repo to individuals 10 years ago
无闻 d7d167ac63 Merge pull request #560 from evolvedlight/master
First cut of fork repo
10 years ago
Unknwon 146c8efee3 Fix API broken 10 years ago
Unknwon 3abc41ccca Fix API broken 10 years ago
Unknwon 1aa12c7452 Fix #572 10 years ago
Eryx fb8beaf19a Fix pagination() to get the right total number of pages 10 years ago
evolvedlight 8d2a6fc484 Merge remote-tracking branch 'upstream/dev'
Conflicts:
	models/repo.go
10 years ago
Unknwon 452ccff81c Mirror fix on add ssh key 10 years ago
Unknwon 963354c5d7 Add raw, history file button, and other mirror fixes 10 years ago
Unknwon b2632dec09 Page: Compare 2 commits 10 years ago
Unknwon 41dbb4c148 Hide org member in collar page 10 years ago
Unknwon 85c9f7c5f3 Issue: Show error prompt when add repository to team and it does not exist #533 10 years ago
Unknwon d78abd3561 Mirror fix on admin/orgs paging 10 years ago
evolvedlight 211dc74816 Got the fork count working 10 years ago
Unknwon 1aa76bd279 Fix #532, add system notice 10 years ago
Unknwon 1e1f9e7166 Update with macaron 10 years ago
Unknwon 64c68220d2 Fix #264 10 years ago
evolvedlight c9e5e38fcf Initial cut of git fork 10 years ago
Unknwon 2a031c1365 Fix #515 10 years ago
Unknwon a046a31d2b UI: Confirmation box 10 years ago
fuxiaohei 7d48f811f1 add issue router for new issue page ui preview 10 years ago
Unknwon b8368f98ff Add directory level commit message 10 years ago
lunnyxiao d1911658e1 remove debug info 10 years ago
Unknwon ad52b2d791 Mirror fix on transfer repo 10 years ago
Unknwon 977779cdcf Mirror template bug fix 10 years ago
Unknwon 25268577a5 Fix download archive issue 10 years ago
Unknwon 5bbeeb0f1b Page: Commits and fix #249 10 years ago
Unknwon 3f707b3f32 Add basic submodule support 10 years ago
lunnyxiao 7df60af60e submodule support and closed #478 10 years ago
lunnyxiao 79ec08141a Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
lunnyxiao 150eef93b2 add submodule basic support & buf fixed #478 10 years ago
Martin van Beurden 976f1486e0 Set cookiepath to AppSubUrl 10 years ago
Unknwon 7ba9257a7f Add suburl support 10 years ago
Martin van Beurden 0055cbd365 Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
10 years ago
Unknwon a596388ebf Add success message after transfer repository #481 10 years ago
lunnyxiao 061a879cea Merge branch 'dev' of github.com:gogits/gogs into dev
Conflicts:
	conf/app.ini
10 years ago
lunnyxiao ed84adb679 toutf8 improved & add max git diff lines 10 years ago
tobyzxj ad041167f7 fix user's actions on domain/org/name-of-organization/dashboard 10 years ago
Unknwon 632b1b694d Fix #465 10 years ago
Unknwon efb68a0a96 Fix UI issue 10 years ago
Mathieu Gagnon 3549fb0ea8 Remove APP_LOGO setting 10 years ago
Unknwon a2cac952a4 Prepare 0.5 release 10 years ago
Unknwon cfed11f092 Bug: Transfer repository doesn't update the count 10 years ago
Unknwon 25d6ae69d1 Remove hg dep 10 years ago