Unknwon
5cf3732339
UI: install - new version
2015-07-08 19:47:56 +08:00
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
2015-06-08 00:40:38 -07:00
James
f3aab5dbe3
Add full name field to admin's user edit page ( fixes #1130 )
2015-04-28 11:59:05 -04:00
Lunny Xiao
f92bdf875b
Merge pull request #1226 from nice-software/wip/pam
...
Add PAM authentication
2015-04-24 16:43:58 +08:00
Paolo Borelli
182003aa41
Add PAM authentication
2015-04-24 10:13:01 +02:00
Lunny Xiao
673a76d638
Merge pull request #1211 from mephux/hotfix/type-fix-ValidatePassword
...
Hotfix/type fix validate password
2015-04-24 15:03:21 +08:00
Dustin Willis Webber
5a4f314cf7
fix calls that go rename missed
2015-04-16 14:42:24 -04:00
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."
2015-04-08 00:44:38 +00:00
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.
2015-03-28 22:30:05 +08:00
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
2015-03-26 17:11:47 -04:00
Unknwon
5169a0e025
mirror fix of #1105
2015-03-25 08:43:07 -04:00
无闻
f7219b0cf0
Merge pull request #1105 from linquize/migrate-git
...
Allow to migrate through git:// protocol
2015-03-24 19:28:55 -04:00
Unknwon
5f594d8774
#1140 MySQL root password exposure
2015-03-24 19:15:36 -04:00
Unknwon
211596f407
#1124 LDAP add and edit form are misleading
2015-03-24 19:04:16 -04:00
Linquize
3a977fc0ae
Allow to migrate through git:// protocol
2015-03-20 22:26:58 +08:00
无闻
e312634286
Merge pull request #1091 from sapk/fix-ng-issue-pages
...
Apply ng to issue dashboard
2015-03-19 17:03:03 -04:00
Unknwon
1cb57b1a44
#1094 : fix locale
2015-03-19 15:26:04 -04:00
Antoine GIRARD
96a71aaed8
Apply ng to issue dashboard
2015-03-19 00:35:17 +01:00
Unknwon
466facc009
#1067 : Deleting users should remove them from collaborator lists
...
- fix delete user but repository watches are not decreased
2015-03-17 21:51:39 -04:00
Unknwon
33894591a6
#851 : Edit Account does not take into consideration password rules
2015-03-17 03:21:58 -04:00
Unknwon
fc6db829b2
fix read access team visibility of private repo
2015-03-16 04:52:11 -04:00
Unknwon
588f3215c6
#1040 : dashboard no longer accessible when repo is missing
2015-03-16 04:04:27 -04:00
Unknwon
4aafeace23
fix HTTP/HTTPS push update func call panic #1037 and `http: multiple response.WriteHeader calls`
2015-03-12 01:15:01 -04:00
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
2015-03-11 09:21:05 -04:00
Filippo Valsorda
5d5d774e03
Handle submodules without a .gitmodules entry - fix #1023
2015-03-10 03:08:17 +00:00
Unknwon
18c0697329
routers/repo/setting.go: fix LDAP cannot validate password #1006
2015-03-05 19:20:27 -05:00
Unknwon
b0b11fd7b1
Merge branch 'access' of github.com:gogits/gogs into dev
2015-02-28 21:50:29 -05:00
无闻
3a6ba39a61
Merge pull request #992 from theangryangel/fix/ldap-auth
...
Attempt 3 to fix LDAP login issues when git pushing after password change
2015-02-28 06:57:43 -05:00
Gogs
fab038b175
Attempt #3 of ldap fixes
2015-02-27 13:18:29 +00:00
Unknwon
e3dece1371
modules/setting: simple behave change in startup
2015-02-26 19:45:38 -05:00
Unknwon
8896c82d34
models: fix issue with transfer repository
...
README: fix typo
2015-02-24 00:27:22 -05:00
Raphael Randschau
1f61340fa3
Properly calculate the number of open issues per label
2015-02-23 21:26:24 +01:00
无闻
f92bfabf86
Merge pull request #960 from phsmit/access_action
...
Fix that owners also see actions on their repositories
2015-02-23 13:51:02 -05:00
无闻
cd8b43d984
Merge pull request #915 from Lafriks/dev
...
Get username, name, surname and e-mail from LDAP server
2015-02-23 13:41:29 -05:00
Unknwon
ee68a826a5
v4 migration, merge 'dev', clean code and mirror fix
2015-02-23 02:15:53 -05:00
Unknwon
10e4b5b6c6
Merge branch 'access' of github.com:gogits/gogs into access
2015-02-22 22:55:35 -05:00
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
2015-02-22 22:51:25 -05:00
Unknwon
04164eada3
models: able to rename user with diff letter cases #981
...
- templates/org: mirror fix on name output
- routers: add missing error check
2015-02-22 18:24:49 -05:00
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
2015-02-22 09:49:25 -05:00
Unknwon
1654e9ecab
templates/user/settings/emial.tmpl: little fix on UI
...
- routers/user: little code format
- conf/locale: update French locale
2015-02-21 22:13:47 -05:00
无闻
fc4dff1b17
Merge pull request #959 from phsmit/access_update
...
Updating context and fixing permission issues
2015-02-21 02:55:30 -05:00
Peter Smit
0fa209d07b
Update/simplify fix that owners also see actions on their repositories
2015-02-18 08:59:22 +02:00
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.
2015-02-17 10:36:17 +02:00
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
2015-02-16 13:16:24 +02:00
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.
2015-02-16 12:51:56 +02:00
Peter Smit
f9454cc32c
Make sure that a mirror can't be written to by http or ssh
2015-02-16 12:00:06 +02:00
Unknwon
a38e4a0b02
routers/install.go: able to keep previous custom settings for 2nd time install
...
- .gopmfile: update all commits
2015-02-13 16:48:23 -05:00
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
2015-02-13 00:58:46 -05:00
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
2015-02-12 14:25:07 +02:00
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.
2015-02-12 14:14:45 +02:00
Unknwon
c5c467a9cd
Merge branch 'dev' of github.com:gogits/gogs into access
2015-02-11 19:25:59 -05:00
无闻
e805fdb29c
Merge pull request #925 from phsmit/newcollaboration
...
Collaboration
2015-02-11 12:43:13 -05:00
Unknwon
485ea6f14f
models: make code change for session issue with SQLite3 #739
2015-02-10 23:44:16 -05:00
Unknwon
6a23252edc
able to allow insecure certification of webhook for #891
2015-02-10 21:06:59 -05:00
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
2015-02-09 13:36:33 +02:00
无闻
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.
2015-02-09 00:31:16 -05:00
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)
2015-02-08 21:26:14 -05:00
无闻
cd0ee35b3f
Merge pull request #905 from phsmit/conf_on_cli
...
Add option to provide configuration file on command line
2015-02-08 20:22:02 -05:00
Lauris BH
00653e52ee
Get username, name, surname and e-mail from LDAP server
2015-02-08 01:49:51 +02:00
Unknwon
ba77a3b0b4
routers/repo/http.go: allow HTTP push/pull by token for #845
2015-02-07 15:47:23 -05:00
无闻
19525abfc4
Merge pull request #845 from compressed/token_http
...
allow http push by token - #842
2015-02-07 15:27:59 -05:00
Unknwon
216683004e
code fix for #908 , and work for #884
2015-02-06 21:16:23 -05:00
无闻
87b90372a7
Merge pull request #908 from nicolai86/feature/hide-signup-button-884
...
Make Signup button display configurable - #884
2015-02-06 21:03:31 -05:00
Unknwon
5a99e9a37b
models/action.go: add action reopen for #462
...
- models/issue.go: format comment type names
2015-02-06 20:47:21 -05:00
Unknwon
afccd0a3ee
models/action.go: mirror fix on #892
...
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
2015-02-06 20:34:49 -05:00
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.
2015-02-06 13:18:11 +02:00
Tony Tsang
fc6d80d619
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
2015-02-06 17:02:32 +08:00
Raphael Randschau
3c65265871
Hide the registration button depending on the setting
2015-02-05 18:15:00 +01:00
Peter Smit
1ab09e4f1b
Add option to provide configuration file on command line
2015-02-05 12:17:35 +02:00
Peter Smit
03af37554e
Merge branch 'dev' into newcollaboration
2015-02-05 11:08:10 +02:00
无闻
cd6376f093
Merge pull request #818 from fzerorubigd/master
...
add a function to rewrite all public keys on admin request
2015-02-01 16:56:34 -05:00
Unknwon
89ea3e1acc
routers: save partial config when install
2015-02-01 14:39:58 -05:00
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
2015-02-01 12:41:03 -05:00
Unknwon
32152d2363
routers/repo: set raw page content type to 'text/plain' #828
2015-01-31 15:27:57 -05:00
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
2015-01-30 18:05:20 -05:00
Peter Smit
76f8904718
Introducing Collaboration Struct
2015-01-23 09:54:16 +02:00
无闻
161774d4fb
Merge pull request #825 from phsmit/ssh2_keys
...
Implement #798 Flexible ssh-key input
2015-01-22 19:39:35 +08:00
无闻
edbfbfa66e
Merge pull request #822 from phsmit/fix_807
...
Fix #807 parse the userinfo with the golang tools
2015-01-22 19:31:51 +08:00
Christopher Brickley
d0827e5d5e
allow http push by token - #842
2015-01-08 09:30:22 -05:00
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.
2015-01-02 15:38:11 +02:00
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
2015-01-02 20:14:43 +08:00
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
2015-01-02 12:14:11 +02:00
Unknwon
677b1ec627
fix #808
2015-01-02 12:56:08 +08:00
fzerorubigd
6643647687
add afunction to rewrite all public keys on admin request
...
refs #763
2015-01-01 02:15:52 +03:30
Unknwon
bd555551ce
fix #801
2014-12-31 18:37:29 +08:00
Thomas Laroche
e948c7c262
Fix #795
2014-12-29 11:55:46 +01:00
Unknwon
81a44e4cd0
fix API changes
2014-12-28 20:40:35 +08:00
Unknwon
79537467da
mirror fix and update
2014-12-20 22:51:16 -05:00
无闻
a18decf4cc
Merge pull request #755 from phsmit/multiple_emails
...
Multiple emails
2014-12-20 22:47:05 -05:00
Peter
20b5c23a19
Small fixes to multiple_emails feature
2014-12-20 09:26:51 +02:00
Unknwon
0a697517ac
work on #754
2014-12-18 03:37:31 -05:00
Unknwon
c4820f119d
work on #754
2014-12-18 03:26:09 -05:00
Unknwon
57b3be4016
work on #756
2014-12-17 23:04:05 -05:00
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.
2014-12-17 17:42:54 +02:00
Peter
ec71d538fc
Method for activating email addresses through verification email
2014-12-17 17:41:49 +02:00
Unknwon
d01f2f3c22
fix #751
2014-12-16 20:47:10 -05:00
Unknwon
1a5aa5e0c0
fix #741
2014-12-16 02:28:57 -05:00
Unknwon
b553ea45ee
modes/repo: incorrect SSH clone URL for #742
2014-12-13 16:46:00 -05:00
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
2014-12-12 20:30:32 -05:00
Unknwon
2f3a7e53cb
fix #735
2014-12-12 01:29:36 -05:00
codeskyblue
db6c0ebf76
fix git clone error when repo has upper case name
2014-12-11 15:57:32 +08:00
Unknwon
bc8721fb6c
Finish new UI for release page
2014-12-10 16:37:54 -05:00
Unknwon
9a1fe801e5
fix #711
2014-12-09 02:18:25 -05:00
Joseph Crail
39c068400e
Fix spelling errors in comments.
2014-12-06 20:22:48 -05:00
dennis-smurf
528c075ad6
Added issue link rendering in commit messages
2014-12-05 11:02:52 +01:00
Deiwin Sarjas
48bb0fadc2
update user api search results to include the full name
...
Is fully backwards compatible
Fixes #677
2014-12-02 11:44:03 +02:00
Unknwon
5338808600
fix #676
2014-11-30 18:29:16 -05:00
Unknwon
d75013a0e8
fix #580
2014-11-30 02:26:29 -05:00
Unknwon
b6437b5a4c
safe check
2014-11-28 21:54:49 -05:00
Unknwon
db4951bc61
mirror fix on oauth2
2014-11-28 21:38:35 -05:00
Unknwon
d6132aaa88
fix oauth2
2014-11-28 21:20:13 -05:00
Unknwon
a43164877c
fix #664
2014-11-25 23:05:43 -05:00
Unknwon
0cce61de3a
Merge branch 'dev' of github.com:gogits/gogs into dev
2014-11-24 09:54:22 -05:00
Unknwon
5b96e3fcc7
fix #660
2014-11-24 09:54:08 -05:00
fuxiaohei
79dae254cf
add milestone page design
2014-11-24 22:33:04 +08:00
Unknwon
1b66600bd0
Fix #652
2014-11-23 02:33:47 -05:00
Unknwon
dc53270da9
Fix 653
2014-11-22 10:22:53 -05:00
Unknwon
ef275ebf62
more on change avatar
2014-11-21 12:51:36 -05:00
Unknwon
22ab4fa1b0
fix #139
2014-11-21 11:08:24 -05:00
Unknwon
55dfe2c978
custom avatar upload
2014-11-21 10:58:08 -05:00
Unknwon
2d8c414f8c
Fix #635
2014-11-18 19:05:33 -05:00
Unknwon
37d8d3afe9
more APIs on #12
2014-11-18 11:07:16 -05:00
Unknwon
32dcaefafa
fox #620
2014-11-17 14:53:41 -05:00
fuxiaohei
d1a60e3643
add pull-request and labels page design
2014-11-17 23:07:34 +08:00
Unknwon
a0f9197b45
GetFile api
2014-11-16 21:32:26 -05:00
Unknwon
340a4595dd
support duoshuo mirror of gravatar
2014-11-16 20:27:04 -05:00
Unknwon
52d66ba6c8
#12 , use go-gogs-client
2014-11-14 17:11:30 -05:00
Unknwon
9dc3c93a6a
#12 , add/edit hook
2014-11-13 12:57:00 -05:00
Unknwon
9e22840483
fix #622
2014-11-13 05:27:01 -05:00
Unknwon
8eb5120fbd
#12 , API: list user repos, list repo hooks
2014-11-13 02:32:18 -05:00
Unknwon
8c9338a537
add personal access token panel #12
2014-11-12 06:48:50 -05:00
Unknwon
21b9d5fa1f
Fix #618
2014-11-11 16:56:57 -05:00
Unknwon
e0de6cb5ad
work on #616 and update locales
2014-11-10 05:30:07 -05:00
Unknwon
abc57b6e43
work on #609
2014-11-07 14:46:13 -05:00
Unknwon
23eec25274
Fix #605 , fix #255 , fix #101
2014-11-06 22:06:41 -05:00
Unknwon
4e7eb5be9d
Work on #5 fork and fix #608
2014-11-05 23:30:04 -05:00
isotas38
2c28ed8c05
Fix #595
2014-11-02 14:18:37 +09:00
semlanik
377530ec21
Fix Issue 589
2014-10-30 22:13:52 +03:00
Unknwon
83283bca4c
Safe work
2014-10-25 07:50:19 -04:00
Christopher Brickley
3794111460
update slack hook to use new format
2014-10-24 08:56:12 -04:00
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.
2014-10-22 14:52:49 +08:00
Tony Tsang
93b9a2acc0
Fix misuse of issue index for issue id.
...
- UpdateAssignee
- UpdateIssueMilestone
2014-10-21 16:27:01 +08:00
Unknwon
a342d58d7e
Able to fork repo to individuals
2014-10-19 01:35:24 -04:00
无闻
d7d167ac63
Merge pull request #560 from evolvedlight/master
...
First cut of fork repo
2014-10-18 23:59:36 -04:00
Unknwon
146c8efee3
Fix API broken
2014-10-18 23:42:43 -04:00
Unknwon
3abc41ccca
Fix API broken
2014-10-18 23:26:55 -04:00
Unknwon
1aa12c7452
Fix #572
2014-10-15 16:28:38 -04:00
Eryx
fb8beaf19a
Fix pagination() to get the right total number of pages
2014-10-14 09:54:45 +08:00
evolvedlight
8d2a6fc484
Merge remote-tracking branch 'upstream/dev'
...
Conflicts:
models/repo.go
2014-10-13 20:30:31 +01:00
Unknwon
452ccff81c
Mirror fix on add ssh key
2014-10-11 21:04:42 -04:00