Girish Ramakrishnan
24d7a86a8d
Set IsAdmin using LDAP
...
The IsAdmin flag is set based on whether the admin filter
returned any result. The admin filter is applied with the user dn
as the search root.
In the future, we should update IsAdmin as well on each login.
Alternately, we can have a periodic sync operation.
2015-08-18 23:49:12 -07:00
Unknwon
03b85b73af
token recent activity
2015-08-19 06:22:33 +08:00
Unknwon
54b52de6ee
minor fix on API response
2015-08-19 05:47:45 +08:00
Unknwon
47ac579f09
only assign auto-admin when sign up by web
2015-08-19 04:58:45 +08:00
Unknwon
4c7b6414eb
new access token UI
2015-08-19 03:36:16 +08:00
Unknwon
2493454587
new delete account UI and password confirmation
2015-08-19 02:49:44 +08:00
Unknwon
b1696665bd
make cron task configurable
2015-08-18 02:19:29 +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
55ccb00a47
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
2015-08-16 14:31:54 +08:00
Unknwon
c8bb475abb
fix autocomplete on migration
2015-08-15 18:16:39 +08:00
Paolo Borelli
0d38794c7f
Factor out function to get the current user
...
The same logic was duplicated in three places. Factor it
out so that we can add further fallbacks in a single place.
2015-08-15 10:05:12 +02: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
无闻
8be0bb177b
Merge pull request #1485 from donbowman/mime-type
...
43bfee0d48
reverted my change
2015-08-14 13:38:14 +08:00
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).
2015-08-13 23:21:49 +00:00
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
2015-08-14 02:43:40 +08:00
Unknwon
1fb53067f4
finish close/reopen issue
2015-08-13 23:21:43 +08:00
Unknwon
133b19d0c5
finish view comments on issue page
2015-08-13 16:07:11 +08:00
Sergio Benitez
7d84d4a8f0
Significantly enhanced LDAP support in Gogs.
2015-08-12 17:01:22 -07:00
Unknwon
ab2d0b3b44
add comment form UI
2015-08-12 18:44:09 +08:00
Unknwon
b4c0b7b98b
finish view issue without comments and ops
2015-08-12 17:04:23 +08:00
Unknwon
e67659bf8e
fix serve attachment content type
2015-08-12 04:49:51 +08:00
Unknwon
34f6cbfc2a
finish attachments when create issue
2015-08-11 23:24:40 +08:00
Unknwon
89c2bd4a0d
finish create issue attachment UI
2015-08-11 17:54:00 +08:00
Unknwon
17f3e840ec
fix cannot parse JSON for attachments
2015-08-11 12:44:14 +08:00
Unknwon
cbc7b7132f
finish new issue action and mentions
2015-08-10 23:31:59 +08:00
Unknwon
884bc4ffd8
rename functions
2015-08-10 22:45:49 +08:00
Unknwon
75aff60c90
finish create issue with milestone and assignee
2015-08-10 21:47:23 +08:00
Unknwon
09a1b2a1f5
finish create issue with milestone
2015-08-10 18:57:57 +08:00
Unknwon
922f3f3062
finish create issue with labels
2015-08-10 16:52:08 +08:00
Unknwon
17de3ab0a3
add migrate from issue.label_ids to issue_label
2015-08-10 14:42:50 +08:00
Unknwon
590c464c56
UI: create issue with title and content
2015-08-09 15:23:02 +08:00
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
2015-08-08 22:43:14 +08:00
Unknwon
e3bdfd51ff
better fork permission check
2015-08-08 17:24:10 +08:00
Unknwon
9db4acc62e
improve fork process
2015-08-08 17:10:34 +08:00
Unknwon
3d0583df0f
fix private repo cannot trigger hook by SSH
2015-08-08 01:04:12 +08:00
Unknwon
9d414d4dd9
remove Index field of milestone
2015-08-06 23:25:35 +08:00
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
2015-08-06 22:48:11 +08:00
Unknwon
34795770c3
fix issue stats with milestone filter
2015-08-05 20:52:17 +08:00
Unknwon
77dcef0cab
fix milestone format parse
2015-08-05 20:37:14 +08:00
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
2015-08-05 20:26:00 +08:00
Unknwon
0705f55ce0
finish new milestone page
2015-08-05 20:23:08 +08:00
Unknwon
74bd6b939c
milestone: edit
2015-08-05 18:26:18 +08:00
Unknwon
3e4cdccf6b
milestone: create page
2015-08-05 15:24:26 +08:00
Unknwon
ce4dcf1e83
fix naming
2015-08-05 11:18:24 +08:00
Unknwon
e50982f5ec
allow anonymous SSH clone
2015-08-05 11:14:17 +08:00
Unknwon
9311a9858a
milestone: pagination
2015-08-04 22:24:04 +08:00
Unknwon
04458d49a0
milestone: list view
2015-08-03 17:42:09 +08:00
Unknwon
cbb78b6a63
better wording
2015-08-02 12:37:29 +08:00
Unknwon
009d692c7d
fix install default db option
2015-07-31 16:23:17 +08:00
Unknwon
eea9302d8f
fix #1204
2015-07-31 13:53:14 +08:00
无闻
eedac73229
Merge pull request #1404 from wqweto/develop
...
Allow space and/or percent in file and directory names
2015-07-30 20:22:42 +08:00
Unknwon
869113704b
fix #1407
2015-07-30 20:00:57 +08:00
Vladimir Vissoultchev
2cc050e21e
Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodings
2015-07-29 17:58:03 +03:00
Vladimir Vissoultchev
43bfee0d48
Raw text file view returns correct charset in content-type header if not utf-8
2015-07-28 19:50:35 +03:00
Unknwon
589618c8a5
better paging
2015-07-28 03:14:37 +08:00
Unknwon
fa298a2c30
#835 : Realtime webhooks
2015-07-25 21:32:04 +08:00
Unknwon
68cacf9c63
fix issue paging
2015-07-25 07:59:54 +08:00
Unknwon
1ba837a055
new issue and label page
2015-07-25 02:52:25 +08:00
Unknwon
54b58e988d
Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
2015-07-25 00:49:40 +08:00
Unknwon
70d44e9565
Merge branch 'master' of github.com:gogits/gogs into develop
2015-07-25 00:48:42 +08:00
无闻
333ab1b2b4
Merge pull request #1317 from smcquay/keys
...
fix .keys route
2015-07-25 00:46:39 +08:00
无闻
3dcc0a4b5f
Merge pull request #1249 from donbowman/master
...
in routers/repo/download.go, don't set mime type, let go figure it out.
2015-07-25 00:41:22 +08:00
无闻
91ab2538c3
Merge pull request #1244 from jamesa/develop
...
Add full name field to admin's user edit page (fixes #1130 )
2015-07-25 00:39:16 +08:00
Unknwon
dc4aab9925
UI: CURD labels
...
- fix update lable break connection with repository
2015-07-24 23:13:42 +08:00
Unknwon
ac95f6d50f
UI: basic label list
...
- create new label
2015-07-24 21:02:49 +08:00
Unknwon
86dbda0b42
UI: basci issue list without filters
...
- fix isRead check
- fix paging
2015-07-24 16:42:47 +08:00
Unknwon
4447a20f87
UI: issues - finish basic frame
2015-07-24 04:50:05 +08:00
Unknwon
42a72b62fc
fix about #1289
2015-07-19 17:11:16 +08:00
Unknwon
bebbd08920
Disable log color in prod mode
2015-07-16 02:47:51 +08:00
Unknwon
4cbbaefd82
#1127 : hide user e-mail when API caller isn't signed in
2015-07-15 12:59:43 +08:00
Unknwon
ced212f8fa
fix hidden bug on tpl rendering
2015-07-10 17:26:50 +08:00
Unknwon
35be8741c4
fix #1112
2015-07-10 16:51:25 +08:00
Unknwon
a2a9e151f8
install - add mail from setting
2015-07-09 16:10:31 +08:00
Unknwon
b9dc2147b4
UI: install - done
2015-07-09 13:17:48 +08:00
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