aboutsummaryrefslogtreecommitdiff
path: root/templates/admin/auth
Commit message (Collapse)AuthorAge
* auth: decouple types and functions from db (#6320)ᴜɴᴋɴᴡᴏɴ2020-09-20
|
* login_source: migrate to GORM and add tests (#6090)ᴜɴᴋɴᴡᴏɴ2020-04-11
| | | | | | | | | | | | | | | | | | | | | * Use GORM in all write paths * Migrate to GORM * Fix lint errors * Use GORM to init table * dbutil: make writer detect error * Add more tests * Rename to clearTables * db: finish adding tests * osutil: add tests * Fix load source files path
* auth: coding style and glitches fixes for GitHub login source (#5340)Unknwon2018-12-18
|
* auth: add new authentication source: GitHub, including GitHub Enterprise (#5340)haixunlu2018-12-18
| | | | | | * Add new Authentication Source: GitHub, including GitHub Enterprise. * Add vendor dependencies.
* login_source: add default authentication switch (#5338)haixunlu2018-09-13
| | | | | | | | | | | | | | | * Add default Authentication Switch. * adjust the code accroding to reviews * #1. Remove redudant logic. #2, Fix a bug in "Edit" panel. * Remove unused logic * Fix local authentication files are not flushed. * refactor according to review.
* templates: fixes broken UI under supported resolution (1024x768) #5179 (#5182)rokuu2018-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | * Update view_list.tmpl * Update commits_table.tmpl * Update dashboard.tmpl * Update list.tmpl * Update list.tmpl * Update list.tmpl * Update list.tmpl * Update notice.tmpl * Update monitor.tmpl * Update view_file.tmpl * Update diff_preview.tmpl * Update box.tmpl
* auth: support authentication source config file (#3142)Unknwon2018-04-12
|
* templates/admin/auth/list: rename list titleUnknwon2018-04-11
|
* templates/admin/auth/list: move "new" button to table footUnknwon2018-04-11
|
* auth/ldap: allow placeholder %s for BindDN (#2526)Unknwon2017-11-16
|
* ldap: minor fix for PR #4398Unknwon2017-05-29
|
* ldap: add check for group membership (#4398)aboron2017-05-29
| | | | | | | | | * Add standard LDAP group membership checking. * Fix formatting, typo, grammer, and syntax errors * Debugging done. Gave up on locale file edits.
* pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}Unknwon2017-04-06
|
* pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}Unknwon2017-04-06
|
* fix grammar + typo. (#3453)Justin Ray Vrooman2016-08-12
|
* Use SecurityProtocol to replace UseSSL in LDAP configUnknwon2016-07-08
| | | | Initially proposed by #2376 and fixes #3068 as well.
* Minor fix for #2634Unknwon2016-02-20
| | | | Add AttributesInBind option in new auth source form.
* LDAP: Fetch attributes in Bind DN context optionAdam Strzelecki2016-02-20
| | | | | | | | | This is feature is workaround for #2628 (JumpCloud) and some other services that allow LDAP search only under BindDN user account, but not allow any LDAP search query in logged user DN context. Such approach is an alternative to minimal permissions security pattern for BindDN user.
* LDAP parameters UI: bind_dn and bind_password are not requiredSlavikZ2015-12-09
|
* Indent all templates with tabsAdam Strzelecki2015-12-08
| | | | | | | | | | | | This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
* LDAP: Optional user name attribute specificationAdam Strzelecki2015-12-02
| | | | | | | | | | | | | | | 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.
* revert simple LDAP userDN and update exampleUnknwon2015-09-16
|
* #1637 able to skip verify for LDAPUnknwon2015-09-14
|
* #1625 remove auto_register and makes it defaultUnknwon2015-09-12
|
* #1620 add allowed domains for SMTP authUnknwon2015-09-11
|
* finish new edit auth UIUnknwon2015-09-11
|
* finish new add auth UIUnknwon2015-09-10
|
* more minor fix on 1581Unknwon2015-09-10
|
* Added LDAP simple auth support.Sergio Benitez2015-09-04
|
* #1542 A way to skip TLS verify for SMTP authenticationUnknwon2015-08-29
|
* able edit issue titleUnknwon2015-08-19
|
* Set IsAdmin using LDAPGirish Ramakrishnan2015-08-18
| | | | | | | | | 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.
* Change input field to type=password for the authentication templates.Lydia Sevelt2015-08-18
|
* Significantly enhanced LDAP support in Gogs.Sergio Benitez2015-08-12
|
* Add PAM authenticationPaolo Borelli2015-04-24
|
* #1124 LDAP add and edit form are misleadingUnknwon2015-03-24
|
* Fix for deleting user when gogs instalation is on http://hostname/gogsSternik2015-03-13
|
* Merge pull request #915 from Lafriks/dev无闻2015-02-23
|\ | | | | Get username, name, surname and e-mail from LDAP server
| * Get username, name, surname and e-mail from LDAP serverLauris BH2015-02-08
| |
* | Remove the "PHP" style formatting functionPeter Smit2015-02-16
|/ | | | | | The "PHP" formatting function doesn't add anything, except an undocumented date format. All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
* Fix #799 by adding a tooltip for all dates in all settings/panelsPeter Smit2015-01-02
|
* UI: Confirmation boxUnknwon2014-09-28
|
* Add suburl supportUnknwon2014-09-19
|
* Allow Gogs to run from a suburl behind a reverse proxy. e.g. ↵Martin van Beurden2014-09-18
| | | | | | | | | | | | | | 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
* Removed trailing white spacesTristan Storch2014-08-30
| | | | | | | | | | Removed trailing whitespaces with ```sh for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done ``` and some handwork.
* Continue working on new admin pagesUnknwon2014-08-29
|
* In progress of name template name constantUnknown2014-06-22