Commit Graph

786 Commits

Author SHA1 Message Date
b846f195c1 work 2015-08-20 00:12:43 +08:00
1453e91f41 minor fix on API response 2015-08-19 20:08:57 +08:00
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
03b85b73af token recent activity 2015-08-19 06:22:33 +08:00
47ac579f09 only assign auto-admin when sign up by web 2015-08-19 04:58:45 +08:00
4c7b6414eb new access token UI 2015-08-19 03:36:16 +08:00
6235bd1fe9 work on and fix a LDAP crash 2015-08-18 04:03:11 +08:00
b1696665bd make cron task configurable 2015-08-18 02:19:29 +08:00
407385db7e work on 2015-08-17 17:05:37 +08:00
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
ce8864c69a Merge pull request from donbowman/master
Fix race condition on ssh key delete, and revert re-revert of hard line break
2015-08-15 17:27:20 +08:00
1d52793faf remove empty line as per https://github.com/gogits/gogs/pull/1475 2015-08-15 09:21:34 +00:00
a52324a5f9 able sort issues 2015-08-15 12:07:08 +08:00
a24141ec9c more on 2015-08-15 02:54:39 +08:00
30b428bf0e : 500 when visit a issue with issue/comments of deleted user 2015-08-15 02:48:05 +08:00
e4d6b5d488 Creates hooks directory when init update hook 2015-08-15 01:13:23 +08:00
cec38f2a8c able edit issue labels/milestone/assignee 2015-08-15 00:42:43 +08:00
2cc9bc8969 delete attachments when delete repo 2015-08-14 03:07:20 +08:00
817b48ed1e Show owner/poster tags of comments and fix 2015-08-14 02:43:40 +08:00
1fb53067f4 finish close/reopen issue 2015-08-13 23:21:43 +08:00
133b19d0c5 finish view comments on issue page 2015-08-13 16:07:11 +08:00
7d84d4a8f0 Significantly enhanced LDAP support in Gogs. 2015-08-12 17:01:22 -07:00
ab0247b4dc race condition on keydelete 2015-08-12 22:00:43 +00:00
ab2d0b3b44 add comment form UI 2015-08-12 18:44:09 +08:00
b4c0b7b98b finish view issue without comments and ops 2015-08-12 17:04:23 +08:00
cafde1287e delete avatar when del user 2015-08-12 03:46:08 +08:00
34f6cbfc2a finish attachments when create issue 2015-08-11 23:24:40 +08:00
1ce4543a94 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2 2015-08-10 23:56:17 +08:00
64985c7faa fix template error 2015-08-10 23:56:04 +08:00
9c0c16bb5a Merge pull request from jamesa/hide-gravatar-tooltip
Hide avatar tooltips unless you're looking at your own profile
2015-08-10 23:55:43 +08:00
e5146155a0 Resize avatars to the same size they are displayed 2015-08-10 10:43:14 -05:00
cbc7b7132f finish new issue action and mentions 2015-08-10 23:31:59 +08:00
887bc1b594 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
2015-08-10 23:01:41 +08:00
2aea247208 minor fix on 2015-08-10 22:59:12 +08:00
884bc4ffd8 rename functions 2015-08-10 22:45:49 +08:00
75aff60c90 finish create issue with milestone and assignee 2015-08-10 21:47:23 +08:00
09a1b2a1f5 finish create issue with milestone 2015-08-10 18:57:57 +08:00
922f3f3062 finish create issue with labels 2015-08-10 16:52:08 +08:00
17de3ab0a3 add migrate from issue.label_ids to issue_label 2015-08-10 14:42:50 +08:00
a79586cc54 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
#	templates/repo/header.tmpl
2015-08-10 00:37:42 +08:00
7372042441 list view: issue, label, milestone 2015-08-09 22:45:38 +08:00
590c464c56 UI: create issue with title and content 2015-08-09 15:23:02 +08:00
68b9d78386 remove sync.Pool and support go1.2 again 2015-08-09 12:06:08 +08:00
4b43ffc96c Generate random avatar based on e-mail when disable Gravatar 2015-08-09 11:46:10 +08:00
dea3a8c6a4 WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00
e3bdfd51ff better fork permission check 2015-08-08 17:24:10 +08:00
9db4acc62e improve fork process 2015-08-08 17:10:34 +08:00
45adb9b7a3 fix 2015-08-08 00:41:09 +08:00
b1f08d3218 more on 2015-08-07 00:09:28 +08:00
d922b7e504 set first user to be admin
...not just ID=1
2015-08-07 00:00:11 +08:00