Commit Graph

171 Commits (f61a1d210c4ed6f616b4bee25e8231b5bc67a640)

Author SHA1 Message Date
Unknwon 978dc00305 APIs: admin users
Unknwon f41360d864 advanced select ops for system notices
Unknwon 0be8b1b1a1 Ability to batch delete system notices
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.
Unknwon efea642d6c add admin op: delete missing repos
Unknwon 10427b2178 fix
Unknwon 6f0a41b8b2 Allow local import only for admin users
Unknwon 932dbccb67 fix import path, fix
Unknwon 21e13cb51e Triggere mailer for admin created accounts
Unknwon 986447335d minor fix
无闻 84c727ae66 Merge pull request from sapk/fix-admin-repo-new-ui
Fix admin repos new ui
无闻 ee1256cf74 Merge pull request from sapk/fix-admin-organization-new-ui
Fix admin organization new ui
Antoine GIRARD dfc16d0879 Fix admin repos new ui
Antoine GIRARD a8fd615adc Fix indent in notice router
Antoine GIRARD c98dad1cf3 New admin organization UI
Unknwon 0d5e57e4ae minor fixes and update locale
Antoine GIRARD 3544dafb64 Fix indent
Antoine GIRARD 14a1101139 New admin notice UI based on user list example
Unknwon 3fb1b6a608 drop oauth2 feature support
Unknwon f5c7f22cc8 able to skip verify for LDAP
Unknwon 2d1bb0cf49 admin delete user
Unknwon b0bf4cc1cb fix and
Unknwon 83e747bfda and and new admin edit user UI
Unknwon e5ed5904c6 GUI bug while adding ldap user
Unknwon 8e0a69f86a disable captcha and new admin create user UI
Unknwon cd37fccdfb remove auto_register and makes it default
Unknwon 10de16beb0 typo and README
Unknwon be89802bd8 new admin user list UI
Unknwon 362d64df04 add allowed domains for SMTP auth
Unknwon 121a81a2c5 finish new edit auth UI
Unknwon 0617448282 finish new add auth UI
Unknwon fa728d8dff more minor fix on 1581
Sergio Benitez 2d1db4bf05 Added LDAP simple auth support.
Unknwon ea454c21f7 A way to skip TLS verify for SMTP authentication
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.
Unknwon b1696665bd make cron task configurable
Sergio Benitez 7d84d4a8f0 Significantly enhanced LDAP support in Gogs.
Unknwon dea3a8c6a4 WIP: create PR - choose branch
无闻 91ab2538c3 Merge pull request from jamesa/develop
Add full name field to admin's user edit page (fixes )
James f3aab5dbe3 Add full name field to admin's user edit page (fixes )
Paolo Borelli 182003aa41 Add PAM authentication
Unknwon 698b9e2acc Clearer error message for illegal characters
Unknwon 211596f407 LDAP add and edit form are misleading
Unknwon 466facc009 : Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
Unknwon 33894591a6 : Edit Account does not take into consideration password rules
无闻 cd8b43d984 Merge pull request from Lafriks/dev
Get username, name, surname and e-mail from LDAP server
Unknwon 6a23252edc able to allow insecure certification of webhook for
Unknwon f15fa9167a cmd: code fix for
- 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)
Lauris BH 00653e52ee Get username, name, surname and e-mail from LDAP server
fzerorubigd 6643647687
add afunction to rewrite all public keys on admin request
refs 
Unknwon 81a44e4cd0 fix API changes
Unknwon 5338808600 fix
Unknwon d75013a0e8 fix
Unknwon 2d8c414f8c Fix
Unknwon 32dcaefafa fox
Unknwon 9e22840483 fix
Eryx fb8beaf19a Fix pagination() to get the right total number of pages
Unknwon d78abd3561 Mirror fix on admin/orgs paging
Unknwon 1aa76bd279 Fix , add system notice
Unknwon 7ba9257a7f Add suburl support
Martin van Beurden 0055cbd365 Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
Unknwon 9bc63bda7d Finish all new admin pages.
Unknwon d2aff9a46a Continue working on new admin pages
Unknwon 8829174574 Finish new admin users pages
Unknwon 1aec1a2dda Finish new admin dashboard
Unknwon 7bbf644dd5 Convert captcha, cache, csrf as middlewares
Unknwon 8dd07c0ddd New UI merge in progress
gima 5a97cc69ed Make possible for administrators to change user's password (fix proposal for )
Unknown 0f907301b7 Fix
Unknown 63cc14062a Paging function for users and repositories
Unknown e0f9c628c5 Add create organization
Unknown b2801a2e98 Fix
Unknown 9924e65ca1 In progress of name template name constant
Unknown ad5ec45dd6 Fix
Unknown f147ad619a Basic process manager
Unknown d952b4200c Add corn rask monitor panel
Unknown f160b4f33c Add tar.gz download button and other mirror updates
Unknown 302c863cda Fix
Unknown ab13a29cb5 Fix
Unknown 688ec6ecbd Fixed
Unknown 4744996f9a Make gmail auth work
Lunny Xiao f4486f3eec bug fixed
Lunny Xiao 7869cfccb9 Merge pull request from DerDackel/ldapssl
Add LDAP over SSL support
Sebastian Jackel eb264a112b Add LDAP over SSL support
Unknown f1130ce5e9 Fix edit auth page bug
Unknown 0970d6cc38 Log to different adapter according to level
Unknown 2c73ced0db Fix
Lunny Xiao f68e279150 spell bug fixed
Unknown c5dbc24ca4 UI fix
Lunny Xiao bf58679390 add support for smtp authentication
Lunny Xiao 55019bfbc5 merge all login methods
Unknown 33d32585b1 Add mention, read/unread support of issue tracker
Unknown 7cb5a15c9b Batch of mirror fixes
Unknown 6e3dba2cc5 Clean repo code
Unknown 3b7465f817 fix code
Lunny Xiao d8136c9c3c Merge branch 'dev-ldap' into dev
Lunny Xiao 1652dd5068 basic authentications
Lunny Xiao 79ea34e70e ldap support
Unknown e7d8fadb08 Add disable gravatar option
Unknown 100cd181bc Add router log config option