A free open source IT asset/license management system
Commits on master
Merge pull request #2201 from dmeltzer/fix-user-creation-values
82d19fc snipe committed 10 years ago
Move checks back into methods instead of having an extra helper method. Also remove unnecessary lock_passwords checks because there is a check at the top of the method that does this already.
b1c28d7 Daniel Meltzer committed 10 years ago
Merge pull request #2203 from dmeltzer/display-error-if-import-upload-fails
6ea74f9 snipe committed 10 years ago
If the move of the uploaded import file fails, return a message. Fixes an issue reported on gitter today where bad permissions on the upload directory didn't provide any feedback.
ee1f983 Daniel Meltzer committed 10 years ago
Fix integrity constraint violation on sqlite. If the requestable checkbox was not checked, it did not exist in the request. Setting requestable to null in such a case would cause a violation because it should be 0/1.
d3b035c Daniel Meltzer committed 10 years ago
Extract common data from UserController postCreate and postEdit into a helper method. Use this method to store data about user. Fixes #2200
cf29a4a Daniel Meltzer committed 10 years ago
Just use inline validation instead of form request, since it's a one-off
e5a5de6 snipe committed 10 years ago
Flash input on model validation errors when creating/editing assets.
f6d4788 Daniel Meltzer committed 10 years ago