Commit graph

70 commits

Author SHA1 Message Date
Schwobaland c0904f1942 Restrict creating organisations by user ()
* restrict creating organizations based on right on user

* revert bindata.go

* reverse vendor lib

* revert goimports change

* set AllowCreateOrganization default value to true

* revert locale

* added default value for AllowCreateOrganization

* fix typo in migration-comment

* fix comment

* add coments in migration
2016-12-31 10:33:30 +08:00
Unknwon 1f2e173a74 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
Unknwon c083d76567 able to prohibit user login 2016-07-16 10:22:16 +08:00
Unknwon 59c965a5ec admin able to edit organization max repo creation 2015-12-11 19:24:57 -05:00
Unknwon 2a0bb1fa90 Limit repo creation 2015-12-10 12:37:53 -05:00
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
2015-12-08 00:57:46 +01:00
Unknwon 6f0a41b8b2 Allow local import only for admin users 2015-11-03 18:40:52 -05:00
Unknwon 83e747bfda and and new admin edit user UI 2015-09-13 11:07:21 -04:00
Unknwon 6c7a93a3ac fix 2015-09-01 05:44:36 -04:00
James f3aab5dbe3 Add full name field to admin's user edit page (fixes ) 2015-04-28 11:59:05 -04:00
Sternik d0e34c57cc Fix for deleting user when gogs instalation is on http://hostname/gogs 2015-03-13 20:17:20 +01:00
Unknwon 32dcaefafa fox 2014-11-17 14:53:41 -05:00
Unknwon 49193bebd2 UI: Confirmation box 2014-09-28 01:38:25 -04:00
Unknwon 7ba9257a7f Add suburl support 2014-09-19 20:11:34 -04:00
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
2014-09-18 20:50:48 +02:00
Unknwon 8829174574 Finish new admin users pages 2014-08-29 15:32:52 +08:00
lunnyxiao 57f6ec672a bug fixed 2014-08-08 13:51:02 +08:00
gima 5a97cc69ed Make possible for administrators to change user's password (fix proposal for ) 2014-07-18 05:30:57 +03:00
António Meireles 3ad20773a2 fix typos in users' editing template. 2014-06-30 20:12:55 +01:00
Unknown 9924e65ca1 In progress of name template name constant 2014-06-22 13:14:03 -04:00
Renamed from templates/admin/users/edit.tmpl (Browse further)