Commit Graph

49 Commits (b8c1dc55b42d928bebb70ccd3b172140b124a45f)

Author SHA1 Message Date
Kim "BKC" Carlbäcker e5b8b4b5ec Cleanup models.User.HashPassword ()
Morgan Bazalgette 65861900cd Handle refactor ()
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound

* Change Handle(403) to NotFound, avoid using macaron's NotFound
Morgan Bazalgette 674cfb7cac Change EncodePasswd to HashPassword ()
* Change EncodePasswd to HashPassword

* Create test+benchmark for HashPassword
Ethan Koenig 716ac1214f Enable admin to search by email ()
Lunny Xiao 6eeadb2082 Hide unactive on explore users and some refactors ()
* hide unactive on explore users and some refactors

* fix test for removed Organizations

* fix test for removed Organizations

* fix imports

* fix logic bug

* refactor the toConds

* Rename TestOrganizations to TestSearchUsers and add tests for users

* fix other tests

* fix other tests

* fix watchers tests

* fix comments and remove unused code
Bo-Yi Wu d67b278a0d feat: Able to disable non-admin to create new organization ()
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
Bwko fa3abc22c0 Added sorting to organizations, repos & users page ()
Denis Denisov 380e32e129 Fix random string generator ()
* Remove unused custom-alphabet feature of random string generator

Fix random string generator

Random string generator should return error if it fails to read random data via crypto/rand

* Fixes variable (un)initialization mixed assign
Update test GetRandomString
Lunny Xiao ec87a75c00 golint fixed for modules/auth
Lunny Xiao 94da472717 Golint fixed for modules/setting ()
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
Lunny Xiao 659bc2814c go lint fixed for routers/admin
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
Sandro Santilli aadd7dcdc3 And others
Sandro Santilli 60c82a8780 More...
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon 46e96c008c Use struct for UI settings
Unknwon c083d76567 able to prohibit user login
Unknwon f1b8d52eb3 fix no mail notification when issue is closed/reopened
Unknwon 149d62a648 fix admin can't search private repos
- update glide info
Unknwon 2bf8494332 finish user and repository search
Both are possible on explore and admin panel
Unknwon 514382e2eb Rename module: middleware -> context
Unknwon 3d5d61778a disable password change for non-local users
Unknwon 2a0bb1fa90 Limit repo creation
Unknwon 978dc00305 APIs: admin users
Unknwon 6f0a41b8b2 Allow local import only for admin users
Unknwon 21e13cb51e Triggere mailer for admin created accounts
Unknwon 2d1bb0cf49 admin delete user
Unknwon b0bf4cc1cb fix and
Unknwon 83e747bfda and and new admin edit user UI
Unknwon e5ed5904c6 GUI bug while adding ldap user
Unknwon 8e0a69f86a disable captcha and new admin create user UI
Unknwon be89802bd8 new admin user list UI
Unknwon dea3a8c6a4 WIP: create PR - choose branch
James f3aab5dbe3 Add full name field to admin's user edit page (fixes )
Unknwon 698b9e2acc Clearer error message for illegal characters
Unknwon 466facc009 : Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
Unknwon 33894591a6 : Edit Account does not take into consideration password rules
Unknwon 5338808600 fix
Unknwon 32dcaefafa fox
Unknwon 9e22840483 fix
Eryx fb8beaf19a Fix pagination() to get the right total number of pages
Unknwon d78abd3561 Mirror fix on admin/orgs paging
Unknwon 1aa76bd279 Fix , add system notice
Unknwon 7ba9257a7f Add suburl support
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
Unknwon d2aff9a46a Continue working on new admin pages
Unknwon 8829174574 Finish new admin users pages