Commit Graph

972 Commits

Author SHA1 Message Date
Adam Strzelecki 573305f3d3 LDAP: Optional user name attribute specification
Consider following LDAP search query example:

    (&(objectClass=Person)(|(uid=%s)(mail=%s)))

Right now on first login attempt Gogs will use the text supplied on login form
as the newly created user name. In example query above the text matches against
both e-mail or user name. So if user puts the e-mail then the new Gogs user
name will be e-mail which may be undesired.

Using optional user name attribute setting we can explicitly say we want Gogs
user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail
to login 1st time, the new account will receive correct user name.
2015-12-02 00:20:14 +01:00
Unknwon 9ed60d96a9 fix API 2015-12-01 16:33:45 -05:00
Unknwon d3a5ff7b6b fix #2042 2015-11-30 20:50:40 -05:00
Unknwon 830d000667 finish wiki 2015-11-30 20:45:55 -05:00
Unknwon e42fcb033d wiki: finish edit 2015-11-27 01:50:38 -05:00
Unknwon 392f3ee210 wiki: finish new 2015-11-27 00:24:24 -05:00
Unknwon c50a3503e6 introduce git-shell 2015-11-26 17:33:45 -05:00
Unknwon 2b10fdc4dc Wiki: UI for page new 2015-11-25 20:10:25 -05:00
Unknwon eb30cbab81 add unsupported migration prompt 2015-11-25 09:27:27 -05:00
Unknwon 3ca544912f #1944 Drop /org/ URL path prefix in organization home page 2015-11-24 19:14:00 -05:00
Unknwon ec8d41765d some fix to #2026 2015-11-23 20:43:04 -05:00
Unknwon dcc740fd26 fix incorrect 2015-11-21 19:30:11 -05:00
Unknwon 8966750fd4 add some log 2015-11-21 19:11:57 -05:00
Unknwon b4877b1e06 fix for #2012 2015-11-21 14:02:37 -05:00
Unknwon eea2e05da6 minor fix on #1694 2015-11-21 12:58:31 -05:00
Unknwon 6a6a7512c2 notice 2015-11-20 11:37:17 -05:00
Unknwon 6b30b20765 add more debug info 2015-11-20 08:43:15 -05:00
Unknwon 74dfe439c2 more fix on #2002 2015-11-20 04:08:08 -05:00
Unknwon 1d4a5b1825 fix #2002 2015-11-20 02:53:54 -05:00
Unknwon 987dcc5372 fix #1383 2015-11-20 02:38:41 -05:00
Unknwon 902b578465 better escape char handle 2015-11-20 01:18:50 -05:00
Unknwon 3d14e73fd8 fix #1119 and data race in timming tasks 2015-11-20 00:47:35 -05:00
Unknwon 2158e6fc43 fix #1997 2015-11-19 11:40:00 -05:00
Unknwon f455125d4d fix #878 2015-11-18 21:21:47 -05:00
Unknwon f04d773f4f UI: long organization name in create repository owner list 2015-11-18 17:42:20 -05:00
Unknwon efea642d6c add admin op: delete missing repos 2015-11-18 15:37:48 -05:00
Unknwon ab9411be2a clean up code 2015-11-16 23:33:40 -05:00
Unknwon 9ab96172fc new watchers, stars and forks UI 2015-11-16 23:28:46 -05:00
Unknwon e06558e208 #1922 Pull request fail to merge with BIN 2015-11-16 21:18:04 -05:00
Unknwon 5dc3dd1704 fix #1960 2015-11-16 11:11:59 -05:00
Unknwon 134d8e7681 work on #1961 2015-11-16 10:14:12 -05:00
Unknwon 18de67380c fix #1958 2015-11-15 23:52:46 -05:00
Unknwon e030109b5a fix api broken 2015-11-15 17:07:44 -05:00
Unknwon 4d3138cd10 fix #1953 2015-11-15 14:55:12 -05:00
Unknwon 4f03b81ec7 #1931 Test patch does not checkout correct base branch 2015-11-15 14:41:36 -05:00
Unknwon f8ae161c74 fix #1302 2015-11-13 17:37:02 -05:00
Unknwon 1d57f0d64f Show custom avatars in commits 2015-11-13 17:10:25 -05:00
Unknwon 1559bd58e7 save custom avatar as PNG 2015-11-13 16:43:43 -05:00
Unknwon 6a664e88c7 #1854 show issue content 2015-11-13 12:11:45 -05:00
Unknwon a6c7716742 minor fix for #1935 and fix #1854 2015-11-13 10:05:50 -05:00
Alexey Makhov ee645af107 #1854 change issueId to issueIndex 2015-11-13 09:21:22 +03:00
Alexey Makhov 3e7695ae91 #1854 improves 2015-11-13 00:16:51 +03:00
Alexey Makhov 1bfebdcdf6 #1854 improves 2015-11-13 00:01:51 +03:00
Alexey Makhov 588a0db218 #1854 issue title at dashboard 2015-11-12 23:09:48 +03:00
Unknwon 18c841050b fix 1540 and experimental SSH server support 2015-11-08 16:59:56 -05:00
Unknwon b55499d039 go vet and fix #1890 2015-11-08 14:31:49 -05:00
Unknwon d85a1d478e admin op with notice 2015-11-07 20:20:51 -05:00
Unknwon 676d774d88 fix #1902 2015-11-07 00:39:45 -05:00
Unknwon 6f929dcd9e #1895 Case sensitive clone URL 2015-11-06 11:14:58 -05:00
Unknwon 2bd64621fc #1900 last updatede time not update after push 2015-11-05 19:18:59 -05:00