2
0
Commit Graph

167 Commits

Author SHA1 Message Date
Unknwon
fbb9c8b998 fix #2416 2016-01-26 02:00:16 -05:00
Unknwon
8147202f8a #2156 add edit org link in admin panel 2015-12-12 15:47:59 -05:00
Unknwon
c2717eb029 #2156 admin able to edit organization max repo creation 2015-12-11 19:24:57 -05:00
Unknwon
74ceced0e8 #1575 Limit repo creation 2015-12-10 12:37:53 -05:00
SlavikZ
de9a4b369b LDAP parameters UI: bind_dn and bind_password are not required 2015-12-09 21:02:19 +02:00
Adam Strzelecki
14c04615a0 Indent all templates with tabs
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
2015-12-08 00:57:46 +01:00
Unknwon
64cf523389 remember page number when delete repo 2015-12-05 17:49:46 -05:00
Unknwon
ab04be1647 #2063 Ability to delete repo from admin panel 2015-12-05 17:39:29 -05:00
Unknwon
9f75c6ce3d #2052 advanced select ops for system notices 2015-12-05 01:09:14 -05:00
Unknwon
2003d25c5f #2052 Ability to batch delete system notices 2015-12-01 23:33:08 -05:00
Adam Strzelecki
8d0ee10100 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
adc7ce29e9 add some log 2015-11-21 19:11:57 -05:00
Unknwon
9ce6a3a9ee minor fix on #1694 2015-11-21 12:58:31 -05:00
Antoine GIRARD
2b6d98c0fa Fix admin configuration new ui 2015-11-21 12:57:28 +01:00
Unknwon
8bffdd6c0b add admin op: delete missing repos 2015-11-18 15:37:48 -05:00
Unknwon
bc2129a699 fix #1990 2015-11-18 14:12:10 -05:00
Unknwon
356c53f4cf Merge pull request #1769 from sapk/fix-admin-dashboard-new-ui
Fix admin dashboard new ui
2015-11-18 10:24:35 -05:00
Unknwon
efd1b30453 #1511 Allow local import only for admin users 2015-11-03 18:40:52 -05:00
Antoine GIRARD
90d0f58f0c Fix indent tmpl 2015-10-14 01:09:33 +02:00
Antoine GIRARD
2ab4eddd6f To quick to copy-paste 2015-10-13 02:08:13 +02:00
Antoine GIRARD
4d8588eef3 Implement new ui to dashboard 2015-10-13 01:40:35 +02:00
Unknwon
41a27b7e75 #1525 Triggere mailer for admin created accounts 2015-09-25 19:45:44 -04:00
无闻
dd34da15d1 Merge pull request #1693 from sapk/fix-admin-repo-new-ui
Fix admin repos new ui
2015-09-25 19:05:27 -04:00
Antoine GIRARD
ae2a9e0aae Fix admin repos new ui 2015-09-26 00:38:43 +02:00
Antoine GIRARD
24d3309ae5 New admin organization UI 2015-09-25 19:54:52 +02:00
Antoine GIRARD
20795dbbf5 Add total next to system notice 2015-09-25 18:36:05 +02:00
Antoine GIRARD
476bbbc610 New admin notice UI based on user list example 2015-09-25 18:13:38 +02:00
Unknwon
6fa54b35e4 drop oauth2 feature support 2015-09-17 16:11:44 -04:00
Unknwon
380cd2a21c revert simple LDAP userDN and update example 2015-09-16 12:15:14 -04:00
Unknwon
6bf4dbca56 #1637 able to skip verify for LDAP 2015-09-14 15:48:51 -04:00
Unknwon
b627c288ec #697 update locale and admin panel 2015-09-13 11:16:29 -04:00
Unknwon
0d977db881 #697 and #1606 and new admin edit user UI 2015-09-13 11:07:21 -04:00
Unknwon
4226a6f8d6 #1606 GUI bug while adding ldap user 2015-09-13 10:05:18 -04:00
Unknwon
fa05620079 fix html logic 2015-09-13 09:56:50 -04:00
Unknwon
dfcfb9f5cd #697 disable captcha and new admin create user UI 2015-09-13 09:51:51 -04:00
Unknwon
82495e190c #1625 remove auto_register and makes it default 2015-09-12 20:58:51 -04:00
Unknwon
3a8eecbf71 fix css 2015-09-11 20:49:28 -04:00
Unknwon
d44f90afee new admin user list UI 2015-09-11 20:42:26 -04:00
Unknwon
012517c083 #1620 add allowed domains for SMTP auth 2015-09-11 13:32:33 -04:00
Unknwon
4c1432e16b finish new edit auth UI 2015-09-11 12:03:08 -04:00
Unknwon
1403d970bc finish new add auth UI 2015-09-10 17:11:41 -04:00
Unknwon
b409c3d62e more minor fix on 1581 2015-09-10 15:45:03 -04:00
Sergio Benitez
3a7a345f41 Merged conflicts. 2015-09-09 13:44:51 -07:00
Gogs
6913a8fcef remove dashboard operations table header 2015-09-05 16:57:25 +02:00
Sergio Benitez
443a837c01 Added LDAP simple auth support. 2015-09-04 20:48:34 -07:00
Unknwon
3fb75a8024 more fix on #1553 2015-09-01 08:13:45 -04:00
Unknwon
2938459ee3 fix #1553 2015-09-01 05:44:36 -04:00
Unknwon
c301b5ab09 #1542 A way to skip TLS verify for SMTP authentication 2015-08-29 15:45:58 +08:00
Unknwon
63b1b817de able edit issue title 2015-08-19 23:14:57 +08:00
Girish Ramakrishnan
d4c816bd12 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.
2015-08-18 23:49:12 -07:00