summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/EditUserPage.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix user preferences selecting the wrong preferred locale.Florian Zschocke2019-11-111-22/+3
| | | | | | | | | | | Due to a wrong comparison, when loading the preferred locale in the user preferences page, in cases like `zh_CN` or `de_DE` the wrong locale would be chosen. As with too many things, the code is duplicated on the `UserPage` and the `EditUserPage`. And they differ. So extract the choosing of the preferred language for display into a method in the (more up-to-date) `UserPage` and call that from the `EditUserPage`.
* Merge branch 'pingunaut-1166_more_secure_password_hashes' into master.Florian Zschocke2019-11-061-13/+8
|\
| * Use the new PasswordHash classes.Florian Zschocke2019-11-051-13/+8
| | | | | | | | | | | | Integrate the `PasswordHash` class and subclass in the user and password editing and authentication. Replaces the old code and the previous `SecurePasswordHashingUtils` class.
* | New Setting "Default Language" when creating user.william2017-02-081-0/+34
|/
* removing duplicated code for cookie genaration and adding random bytes to ↵Rodrigo Andrade2016-08-151-1/+1
| | | | generate user cookies
* #932 do not trim passwords anywhere in the uiRainerW2015-10-081-3/+3
|
* Only set mutable user access permissionsJames Moger2014-10-311-1/+3
|
* Allow authentication providers to control user and team role changesJames Moger2014-09-261-7/+17
|
* Disable permission checkboxes if permission is inheritedJames Moger2014-09-111-3/+26
|
* Implement user "disabled" flag as an alternative to deleting the accountJames Moger2014-03-041-0/+2
|
* issue-361: Reset user cookie after administrative password changeJames Moger2014-01-281-0/+3
| | | | | | | Cookies were not reset on administrative password change of a user account. This allowed accounts with changed passwords to continue authenticating. Cookies are now reset on password changes, they are validated on each page request, AND they will now expire 7 days after generation.
* Change IGitblit API to be more distinct from IUserServiceJames Moger2013-11-291-1/+5
| | | | Change-Id: I8fb38fb6a3dae74ad7a12b045b054373b9b02518
* Refactor user services and separate authentication (issue-281)James Moger2013-11-291-9/+5
| | | | Change-Id: I336e005e02623fc5e11a4f8b4408bea5465a43fd
* Define manager interfaces and update all of Gitblit to use managersJames Moger2013-11-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | These manager interfaces define how the GitBlit singleton will eventually be split into smaller component managers. The Wicket app and all servlets have been updated to request the needed managers. There are _very_ few method signature changes - although there are a handful. This is a surgical sharding of responsibility based on a proof of concept refactor. Instead of random references to GittBlit.self() there are now precise references to the manager interface required to accomplish some task. Some tasks may require references to multiple managers. The code is now littered with calls to GitBlit.getManager(class) and those familiar with the code-base will no doubt notice the duplication of methods from IUserService in IUserManager and the addition of implementation methods in the GitBlit context class. When the GitBlit class is broken apart and the existing external authentication user service classes are refactored to AuthenticationService classes, this will again simplify and flatten. But in order to safely and cleanly modularize the stable code-base we will have to live with a little duplication for a short while. Change-Id: I7314ec8acaab2dcc6092785ed4434cc09fdbbe16
* Eliminate nearly all direct GitBlit singleton references in WicketJames Moger2013-11-261-17/+16
| | | | | | | | | | This is the first step towards modularization and injection. All direct references to the GitBlit singleton within the Wicket pages and panels have been replaced to proxy methods in the GitBlitWebApp singleton. There are still two Wicket classes which rely on the GitBlit singleton; those require manual instantiation (servlet 3). Change-Id: I0cdbbcf87959d590c446c99abb09c07c87c737bc
* Trim trailing whitespace and organize importsJames Moger2013-09-301-12/+12
| | | | Change-Id: I9f91138b20219be6e3c4b28251487df262bff6cc
* Overhauled navigation and flattened lookJames Moger2013-05-191-0/+5
|
* Reorganized to Apache Standard Directory Layout & integrated MoxieJames Moger2013-03-271-0/+261
This is a massive commit which reorganizes the entire project structure (although it is still monolithic), removes the Build classes, and switches to Moxie, a smarter Ant build tookit based on the original Gitblit Build classes. The Ant build script will likely require additional fine-tuning, but this is big step forward.