1. 11 Jan, 2016 1 commit
  2. 11 Dec, 2015 2 commits
  3. 05 Dec, 2015 1 commit
  4. 01 Dec, 2015 1 commit
    • Adam Strzelecki's avatar
      LDAP: Optional user name attribute specification · 573305f3
      Adam Strzelecki authored
      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.
      573305f3
  5. 24 Nov, 2015 1 commit
  6. 21 Nov, 2015 1 commit
  7. 14 Sep, 2015 2 commits
  8. 13 Sep, 2015 2 commits
  9. 12 Sep, 2015 1 commit
  10. 11 Sep, 2015 3 commits
  11. 10 Sep, 2015 3 commits
  12. 05 Sep, 2015 1 commit
  13. 29 Aug, 2015 1 commit
  14. 19 Aug, 2015 1 commit
    • Girish Ramakrishnan's avatar
      Set IsAdmin using LDAP · 24d7a86a
      Girish Ramakrishnan authored
      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.
      24d7a86a
  15. 13 Aug, 2015 1 commit
  16. 05 Aug, 2015 1 commit
  17. 24 Apr, 2015 1 commit
  18. 16 Apr, 2015 1 commit
  19. 23 Mar, 2015 1 commit
  20. 12 Mar, 2015 1 commit
  21. 06 Mar, 2015 1 commit
  22. 07 Feb, 2015 1 commit
  23. 07 Dec, 2014 1 commit
  24. 05 Dec, 2014 1 commit
  25. 24 Oct, 2014 1 commit
  26. 03 Oct, 2014 1 commit
  27. 26 Jul, 2014 1 commit
  28. 25 Jun, 2014 1 commit
  29. 21 Jun, 2014 1 commit
  30. 08 Jun, 2014 1 commit
  31. 06 Jun, 2014 1 commit
  32. 18 May, 2014 1 commit
  33. 16 May, 2014 1 commit