123 Commits (dd8a06a397e26c46639eba1313102560dfa49c95)

Author SHA1 Message Date
Unknwon 89244b74c6 remember page number when delete repo 9 years ago
Unknwon ca8ce793d1 #2063 Ability to delete repo from admin panel 9 years ago
Unknwon 978dc00305 APIs: admin users 9 years ago
Unknwon f41360d864 #2052 advanced select ops for system notices 9 years ago
Unknwon 0be8b1b1a1 #2052 Ability to batch delete system notices 9 years ago
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.
9 years ago
Unknwon efea642d6c add admin op: delete missing repos 9 years ago
Unknwon 10427b2178 fix #1930 9 years ago
Unknwon 6f0a41b8b2 #1511 Allow local import only for admin users 9 years ago
Unknwon 932dbccb67 fix import path, fix #1782 9 years ago
Unknwon 21e13cb51e #1525 Triggere mailer for admin created accounts 9 years ago
Unknwon 986447335d #1693 minor fix 9 years ago
无闻 84c727ae66 Merge pull request #1693 from sapk/fix-admin-repo-new-ui
Fix admin repos new ui
9 years ago
无闻 ee1256cf74 Merge pull request #1691 from sapk/fix-admin-organization-new-ui
Fix admin organization new ui
9 years ago
Antoine GIRARD dfc16d0879 Fix admin repos new ui 9 years ago
Antoine GIRARD a8fd615adc Fix indent in notice router 9 years ago
Antoine GIRARD c98dad1cf3 New admin organization UI 9 years ago
Unknwon 0d5e57e4ae #1689 minor fixes and update locale 9 years ago
Antoine GIRARD 3544dafb64 Fix indent 9 years ago
Antoine GIRARD 14a1101139 New admin notice UI based on user list example 9 years ago
Unknwon 3fb1b6a608 drop oauth2 feature support 9 years ago
Unknwon f5c7f22cc8 #1637 able to skip verify for LDAP 9 years ago
Unknwon 2d1bb0cf49 #1633 admin delete user 9 years ago
Unknwon b0bf4cc1cb fix #1632 and #1606 9 years ago
Unknwon 83e747bfda #697 and #1606 and new admin edit user UI 9 years ago
Unknwon e5ed5904c6 #1606 GUI bug while adding ldap user 9 years ago
Unknwon 8e0a69f86a #697 disable captcha and new admin create user UI 9 years ago
Unknwon cd37fccdfb #1625 remove auto_register and makes it default 9 years ago
Unknwon 10de16beb0 typo and README 9 years ago
Unknwon be89802bd8 new admin user list UI 9 years ago
Unknwon 362d64df04 #1620 add allowed domains for SMTP auth 9 years ago
Unknwon 121a81a2c5 finish new edit auth UI 9 years ago
Unknwon 0617448282 finish new add auth UI 9 years ago
Unknwon fa728d8dff more minor fix on 1581 9 years ago
Sergio Benitez 2d1db4bf05 Added LDAP simple auth support. 9 years ago
Unknwon ea454c21f7 #1542 A way to skip TLS verify for SMTP authentication 9 years ago
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.
9 years ago
Unknwon b1696665bd make cron task configurable 9 years ago
Sergio Benitez 7d84d4a8f0 Significantly enhanced LDAP support in Gogs. 9 years ago
Unknwon dea3a8c6a4 WIP: create PR - choose branch 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
James f3aab5dbe3 Add full name field to admin's user edit page (fixes #1130) 9 years ago
Paolo Borelli 182003aa41 Add PAM authentication 9 years ago
Unknwon 698b9e2acc #1070 Clearer error message for illegal characters 9 years ago
Unknwon 211596f407 #1124 LDAP add and edit form are misleading 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
无闻 cd8b43d984 Merge pull request #915 from Lafriks/dev
Get username, name, surname and e-mail from LDAP server
9 years ago
Unknwon 6a23252edc able to allow insecure certification of webhook for #891 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