Commit graph

46 commits

Author SHA1 Message Date
snipe
3b247ba31f Ignore location field if no value is passed 2016-08-02 03:45:03 -07:00
snipe
39450c1fe9 Eager load throttle query 2016-08-02 01:23:53 -07:00
snipe
8246a319a2 Fixes #2363 and #1097 2016-08-02 00:54:38 -07:00
snipe
f31637adb4 Fixes #2346 2016-07-28 08:39:28 -07:00
snipe
14b0a6315f Pass users path to get_src 2016-07-28 05:49:41 -07:00
snipe
261d2f133b Only bcrypt temp passwords once for performance 2016-07-25 22:10:33 -07:00
snipe
b2d958724b Removed commented code 2016-07-22 02:11:37 -07:00
snipe
92175eb700 Few more LDAP/AD tweaks 2016-07-14 23:49:32 -07:00
snipe
40b56cfad7 Removed unused variables 2016-07-13 07:24:54 -07:00
snipe
4233c781ac Reworked LDAP login. Fixes #2218
LDAP no longer fails completely when the connection settings are wrong, or when app key is messed up. Rather than auth as the admin user and search, we auth as the user themselves. Admin auth is only for LDAP sync now.

This should mean much fewer problems with donked LDAP settings and login.
2016-07-13 05:50:24 -07:00
snipe
4e38f96f97 Switched or and and to || and && for code quality 2016-07-10 20:55:44 -07:00
Daniel Meltzer
ab3b9dcf5d Add a clone button the the user table. (#2241)
Also preserve permissions when cloning a user, instead of nulling them by default.
2016-07-10 18:43:10 -07:00
Daniel Meltzer
b1c28d7965 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. 2016-06-28 00:11:59 -04:00
Daniel Meltzer
cf29a4a319 Extract common data from UserController postCreate and postEdit into a helper method. Use this method to store data about user. Fixes #2200 2016-06-27 22:48:09 -04:00
snipe
2867cd523d Fixes #2192 2016-06-22 17:14:49 -07:00
snipe
4ed8ff5576 Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
snipe
508e7acb54 Bump up memory for LDAP import of large number of users 2016-06-21 12:22:10 -07:00
snipe
87352470c0 Added sortable created_at to assets and users 2016-06-15 21:06:17 -07:00
snipe
6a277a5391 Added inheritance back into users/groups 2016-06-15 20:45:45 -07:00
snipe
464ecc7cc6 Moved group sync 2016-06-15 11:51:10 -07:00
snipe
2df71be321 No need to update the user again 2016-06-13 11:30:47 -07:00
snipe
2b5fb04ba9 Allow admin to add user on checkout screen 2016-06-09 00:36:52 -07:00
snipe
75eb2bbe09 Janky-ass form request stuff 2016-06-06 21:02:06 -07:00
snipe
d4e231d5d4 Save permissions on new user 2016-06-06 18:56:43 -07:00
snipe
75dfb87671 Use form request for user add/edit to handle password and password confirmation 2016-06-06 14:15:50 -07:00
snipe
46d3a784a2 Fixes groups for cloning users 2016-06-02 00:41:10 -07:00
snipe
04610e7864 Just use model validation for new user 2016-06-01 18:04:11 -07:00
Daniel Meltzer
0fa82743a1 Remove remaining DB::Raw(concat) calls to make things more sqlite friendly. This adds one new method to the Asset Model to return the formatted string that was used by the license and asset maintence controller. It also fixes a potential sqlite-only issue where '' and null are different. 2016-05-31 19:41:14 -05:00
snipe
f9572ffa0c Fixes #2048 2016-05-17 21:15:29 -07:00
snipe
a726934cde Fixed bulk delete+checkin for users 2016-05-12 21:01:31 -07:00
snipe
720274446e Fixes #1997 - save user groups without Sentry crap 2016-05-12 15:26:48 -07:00
snipe
c56c398d4c Fixes #1996 - replace old Sentry methods with laravel native 2016-05-09 15:40:27 -07:00
snipe
d40289fbc9 Fixes #1997 and #1996 - replace sentry functions 2016-04-28 21:59:43 -07:00
snipe
ba01b20ad4 Use updated redirect() reference 2016-04-28 21:06:41 -07:00
snipe
6b982ec253 Check for accessories 2016-04-21 21:01:45 -07:00
snipe
a0b080b91d Fixed restore again.
For some reason, $user->restore() isn't working? WTF.
2016-04-21 20:52:32 -07:00
snipe
0a5e7214aa Fixed restore method 2016-04-21 20:27:03 -07:00
snipe
c39e27cc5e Fixes #1955 - searching within locations 2016-04-19 20:23:04 -07:00
snipe
bf728da39d Updated to use 5.2 trans() instead of Lang::get for localization 2016-04-07 13:39:35 -07:00
snipe
a62859dc6d Updated docblocks 2016-04-07 13:21:09 -07:00
snipe
90d4a8b2e3 Cleanup namespaces a bit 2016-03-25 19:26:22 -07:00
snipe
bddb7fca23 Additional doc blocks, added private_uploads path 2016-03-25 15:50:08 -07:00
snipe
27543d16f6 Additional escaping 2016-03-25 15:24:12 -07:00
snipe
4b9dc430c4 Escape data in datatables 2016-03-25 06:50:24 -07:00
snipe
aff133b5f1 Applied updates from PR for LDAP pagination 2016-03-25 01:38:10 -07:00
snipe
fe00b0e401 Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00