331 Commits (308b562b3c0440e800dc63b0ef2eb6777a1e0026)

Author SHA1 Message Date
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon 024fcc836b Minor HTML fix for delete repository notice 8 years ago
Unknwon c083d76567 #2937 able to prohibit user login 8 years ago
Pheng Heong TAN 467d7dacb6 Modify behaviour of repo-delete. (#3232)
Re: issues gogits/gogs#2863 and gogits/gogs#3231

As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.

Meta
-----
This commit will be rebased onto the 'develop' branch.
8 years ago
Unknwon 401bf944ef Use SecurityProtocol to replace UseSSL in LDAP config
Initially proposed by #2376 and fixes #3068 as well.
8 years ago
Unknwon 2bf8494332 #13 finish user and repository search
Both are possible on explore and admin panel
8 years ago
Unknwon f946040fa9 #1891 attempt to fix expected invalid CSRF token
- Remove unused config settings `[picture] service`
8 years ago
Unknwon 8055a0bdac Post work for #2637
Improve test cases, config settings, also show SSH config settings on admin config panel.
8 years ago
Unknwon baaf6046a1 Minor fix for #2660 8 years ago
Josh Frye c27038e392 Test mailer button. Addresses #1531 8 years ago
Unknwon acf094fb07 Minor fix for #2634
Add AttributesInBind option in new auth source form.
8 years ago
Adam Strzelecki 834d92a47b LDAP: Fetch attributes in Bind DN context option
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.
8 years ago
Unknwon 3af1d3c581 #2633 fix removed config option 8 years ago
Unknwon 04be8c0de5 #2554 reinitialize all repos from the db
- Update locales
9 years ago
Unknwon 7ca1821725 fix #2416 9 years ago
Unknwon 4108c12092 #2156 add edit org link in admin panel 9 years ago
Unknwon 59c965a5ec #2156 admin able to edit organization max repo creation 9 years ago
Unknwon 2a0bb1fa90 #1575 Limit repo creation 9 years ago
SlavikZ a19aaa439d LDAP parameters UI: bind_dn and bind_password are not required 9 years ago
Adam Strzelecki da2585c11e 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
9 years ago
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 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 8966750fd4 add some log 9 years ago
Unknwon eea2e05da6 minor fix on #1694 9 years ago
Antoine GIRARD 63cdee84d1 Fix admin configuration new ui 9 years ago
Unknwon efea642d6c add admin op: delete missing repos 9 years ago
Unknwon 7a9777ae36 fix #1990 9 years ago
Unknwon dc7e74ebb1 Merge pull request #1769 from sapk/fix-admin-dashboard-new-ui
Fix admin dashboard new ui
9 years ago
Unknwon 6f0a41b8b2 #1511 Allow local import only for admin users 9 years ago
Antoine GIRARD 5edc2f6d6c Fix indent tmpl 9 years ago
Antoine GIRARD ae0fadeb0e To quick to copy-paste 9 years ago
Antoine GIRARD e1c04f043b Implement new ui to dashboard 9 years ago
Unknwon 21e13cb51e #1525 Triggere mailer for admin created accounts 9 years ago
无闻 84c727ae66 Merge pull request #1693 from sapk/fix-admin-repo-new-ui
Fix admin repos new ui
9 years ago
Antoine GIRARD dfc16d0879 Fix admin repos new ui 9 years ago
Antoine GIRARD c98dad1cf3 New admin organization UI 9 years ago
Antoine GIRARD fefce965f9 Add total next to system notice 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 6a1907d994 revert simple LDAP userDN and update example 9 years ago
Unknwon f5c7f22cc8 #1637 able to skip verify for LDAP 9 years ago
Unknwon 98108e379d #697 update locale and admin panel 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 1fa5b6711b fix html logic 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 c7ac237b57 fix css 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 964d0262ff Merged conflicts. 9 years ago
Gogs b80aef0fa6 remove dashboard operations table header 9 years ago
Sergio Benitez 2d1db4bf05 Added LDAP simple auth support. 9 years ago
Unknwon 50dbc2732b more fix on #1553 9 years ago
Unknwon 6c7a93a3ac fix #1553 9 years ago
Unknwon ea454c21f7 #1542 A way to skip TLS verify for SMTP authentication 9 years ago
Unknwon 87f5ca8e1f able edit issue title 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
Lydia Sevelt bfa8ef68a6 Change input field to type=password for the authentication templates. 9 years ago
Unknwon 81b8427438 new UI on admin/monitor 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
Fernando San Julián 514ce712b0 admin config fix 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
Unknwon 4fca548ed1 update locale 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 211596f407 #1124 LDAP add and edit form are misleading 9 years ago
Sternik d0e34c57cc Fix for deleting user when gogs instalation is on http://hostname/gogs 9 years ago
无闻 cd8b43d984 Merge pull request #915 from Lafriks/dev
Get username, name, surname and e-mail from LDAP server
9 years ago
Peter Smit 7759b9ee6e Remove the "PHP" style formatting function
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.
10 years ago
Unknwon d02e45f985 better naming on #891 10 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
Lauris BH 00653e52ee Get username, name, surname and e-mail from LDAP server 10 years ago
Raphael Randschau 79f3281548 Add ShowRegistrationButton configuration option 10 years ago
Alexey Makhov a7662f4a39 fix error at admin/config 10 years ago
无闻 cd6376f093 Merge pull request #818 from fzerorubigd/master
add a function to rewrite all public keys on admin request
10 years ago
Peter Smit fd70f9ec1b Fix #799 by adding a tooltip for all dates in all settings/panels 10 years ago
fzerorubigd 6643647687
add afunction to rewrite all public keys on admin request
refs #763
10 years ago
Unknwon 81a44e4cd0 fix API changes 10 years ago
Unknwon 9a1fe801e5 fix #711 10 years ago
Unknwon d75013a0e8 fix #580 10 years ago
James Cracknell 64d90a761b Fix swapped issue/star columns in /admin/repos 10 years ago
Unknwon 0c92da7e9c fix invalid user links in admin panels 10 years ago
Unknwon 2d8c414f8c Fix #635 10 years ago
Unknwon 32dcaefafa fox #620 10 years ago
Unknwon b375192352 fix tpl error 10 years ago
Unknwon 963354c5d7 Add raw, history file button, and other mirror fixes 10 years ago
Vyacheslav Bakhmutov 5103f16f78 add omitted lang 10 years ago
Unknwon 1aa76bd279 Fix #532, add system notice 10 years ago
Unknwon 49193bebd2 UI: Confirmation box 10 years ago
Unknwon 5bbeeb0f1b Page: Commits and fix #249 10 years ago
Unknwon 7ba9257a7f Add suburl support 10 years ago
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
10 years ago
Tristan Storch 69e332f432 Removed trailing white spaces
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.
10 years ago
Unknwon 9bc63bda7d Finish all new admin pages. 10 years ago
Unknwon d2aff9a46a Continue working on new admin pages 10 years ago
Unknwon 8829174574 Finish new admin users pages 10 years ago
Unknwon 1aec1a2dda Finish new admin dashboard 10 years ago
lunnyxiao 57f6ec672a bug fixed 10 years ago
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 10 years ago
gima 5a97cc69ed Make possible for administrators to change user's password (fix proposal for #290) 10 years ago
Unknown 63cc14062a Paging function for users and repositories 10 years ago
António Meireles 3ad20773a2 fix typos in users' editing template. 10 years ago
Unknown b2801a2e98 Fix #165 10 years ago
Unknown 9924e65ca1 In progress of name template name constant 10 years ago
Unknown ad5ec45dd6 Fix #165 10 years ago
Unknown f147ad619a Basic process manager 10 years ago
Unknown d952b4200c Add corn rask monitor panel 10 years ago
Unknown 302c863cda Fix #242 10 years ago
Unknown 4f2f3c2857 Code convention 10 years ago
Unknown ab13a29cb5 Fix #209 10 years ago
Bruno Bigras 6227b59b1a Registeration -> Registration 10 years ago
Unknown 4744996f9a Make gmail auth work 10 years ago
Lunny Xiao 7869cfccb9 Merge pull request #192 from DerDackel/ldapssl
Add LDAP over SSL support
10 years ago
Sebastian Jackel eb264a112b Add LDAP over SSL support 10 years ago
Unknown 54e95fa367 Finish add new milestone 10 years ago
Unknown f1130ce5e9 Fix edit auth page bug 10 years ago
Unknown 0970d6cc38 Log to different adapter according to level 10 years ago
Unknown d122aa6d88 Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
Unknown 2c73ced0db Fix #173 10 years ago
FuXiaoHei fd7b0a2ba4 add user new js 10 years ago
FuXiaoHei 27f9b7a144 add user new js 10 years ago
Lunny Xiao f68e279150 spell bug fixed 10 years ago
Unknown c5dbc24ca4 UI fix 10 years ago
Lunny Xiao bf58679390 add support for smtp authentication 10 years ago
FuXiaoHei cdc87623dc add auth new js 10 years ago
Lunny Xiao 4d6de6c7b9 add login name for auth type 10 years ago
Unknown 33d32585b1 Add mention, read/unread support of issue tracker 10 years ago
Unknown 7407f9caf3 Finish issue design 10 years ago
Unknown 8ca14e2109 Improve delete SSH key 10 years ago
Unknown 7cb5a15c9b Batch of mirror fixes 10 years ago
Unknown 6e3dba2cc5 Clean repo code 10 years ago
Unknown c1eb4d894a Clean api code 10 years ago
FuXiaoHei d34c3bb751 finish webhook ui,
some ui fix
10 years ago
Unknown 3b7465f817 fix code 10 years ago
Lunny Xiao d8136c9c3c Merge branch 'dev-ldap' into dev 10 years ago
Lunny Xiao 1652dd5068 basic authentications 10 years ago
Lunny Xiao 79ea34e70e ldap support 10 years ago
Unknown e7d8fadb08 Add disable gravatar option 10 years ago
Unknown 100cd181bc Add router log config option 10 years ago
Unknown 62d23e9154 HTTP no follow and offline mode 10 years ago
Bryan Johnson 34d18a19a3 Minor grammatical fix for Disable Registration feature 10 years ago
Unknown c36e7d322e Mirror updates 10 years ago
Unknown 57f84fb051 UPDATE DOCS 10 years ago
Unknown d2b53dd43b Add weibo oauth 10 years ago
Unknown 8980675a9f Fix #69 10 years ago
Unknown eb803ec5eb Add transfer repository 10 years ago
crackcomm 5a07b5430e .admin-dl-horizontal 10 years ago
crackcomm 868d921f7b Description list instead of div's in admin Dashboard & Configuration. 10 years ago
Unknown cb05b8325c Update config option 10 years ago
FuXiaoHei a8623ec104 fix init-tabs bug 10 years ago
FuXiaoHei 2a2f025388 change css name style 10 years ago
Unknown b9b82cfe47 Mirror updates 10 years ago
Unknown 6bc7ae971a Mirror fix 10 years ago
Unknown 97debac185 SSL enable config option 10 years ago
Unknown 59ffdbf6f8 Add create, list, view issue 10 years ago
slene 5edd57e482 Merge branch 'master' of github.com:gogits/gogs 10 years ago
slene 076fc98d98 add csrf check 10 years ago
Unknown fd1831052c Update session 10 years ago
Unknown 0d1872ebe3 Add admin memStatus panel 10 years ago
Unknown 7a1ff8636c Add config option: Picture cache path 10 years ago
Unknown 76cd448e79 Add admin delete user 10 years ago
Unknown f219ddcf4e Add log config panel in admin 10 years ago
Unknown d40499e7fa Finsih mail resend limit 10 years ago
FuXiaoHei ecc61ced41 update admin nav ui 10 years ago
Unknown e4053f5e98 Mirror update 10 years ago
Unknown 30618b271a Add admin edit user 10 years ago
Unknown e67653cf13 Bug fix 10 years ago
Unknown c1576b4c40 Add admin add user 10 years ago
Unknown f6596f11c4 All configuration reload-able 10 years ago
Unknown 369ddf76a8 Batch fix 10 years ago
Unknown 06631ab91f Basic admin data table, models changes 10 years ago
Unknown 9f9cd6bfc6 Work on admin 10 years ago