snipe
5c9b1ed43a
Fixed #6676 - consumables API not respecting category id
2019-02-14 14:48:43 -08:00
snipe
35ebe33e4e
Fixed #6703 - fixes password confirmation ( #6711 )
...
* Fixed #6703 - fixes password confirmation
* Removed debugging
* Fixed tests
* I guess we use 10 as the settings for password min in tests
* One more try to fix tests - confirmation won’t validate until password validates
2019-02-13 23:01:19 -08:00
snipe
aa1e06f021
One more time…. Fixed #6704 - don’t apply gate to $arrays collection, just check that they can view assets
2019-02-13 04:46:19 -08:00
snipe
30b1cfabf5
Fixed dumb formatting
2019-02-13 04:45:21 -08:00
snipe
e75d22ab73
Revert "Fixed #6704 - don’t apply gate to $arrays collection, just check that they can view assets"
...
This reverts commit b1e17743b8
.
2019-02-13 04:44:19 -08:00
snipe
b1e17743b8
Fixed #6704 - don’t apply gate to $arrays collection, just check that they can view assets
2019-02-13 04:35:55 -08:00
snipe
e2c0f01a10
Fixed #6367 - pass table name and column_id to scopeCompanyables
...
Solves error: Integrity constraint violation: 1052 Column 'company_id' in where clause is ambiguous
2019-02-13 01:26:11 -08:00
snipe
f88fee0f21
Make user notes field editable via API
2019-02-12 23:58:30 -08:00
snipe
f3c12f38b6
Fixed #6061 - Assigned user group cannot be removed
...
This bug was a result of attempting to check if the groups field had a value, and only THEN trying to sync the groups. This meant that uf you were removing ALL groups, the sync wouldn’t be triggered.
This still needs to be updated in the API.
2019-02-12 23:43:38 -08:00
snipe
5e19178a30
Do not count deleted locations in managedLocation check on user delete
2019-02-12 23:32:10 -08:00
snipe
90cddb7aee
Fixed #6113 - use $asset->fill vs filled() to allow blanking values via API ( #6693 )
...
Need to confirm that re-enabling `\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,` won’t mangle anything. I know we ran into some issues when testing a long time ago, but not sure those issues apply anymore, and I can’t remember what they were.
2019-02-12 22:08:38 -08:00
snipe
971fcf5800
Fixed #6633 - return 200 status code
2019-02-04 18:58:28 -08:00
snipe
a371e8d53f
Added calibration as a maintenance type
...
Should just make these custmizable options
2019-01-24 15:17:33 -08:00
snipe
8f09cca043
Fixed incorrect group route
2019-01-24 15:17:11 -08:00
snipe
39bca49e8f
Specify table name in deleted user display
2019-01-24 14:38:18 -08:00
snipe
b8269020ae
Specify table name in deleted user display
2019-01-24 14:37:39 -08:00
snipe
b293d00699
Switch LDAP error to debug, to avoid crapping up the logs
2019-01-17 20:18:03 -08:00
snipe
75a0cf97e2
Return an error if asset maintenance is associated with a non-existant asset
2019-01-16 02:19:57 -08:00
snipe
a1f93e733c
Fixed undefined error when maintenance is associated with a deleted asset
2019-01-16 01:45:51 -08:00
fanta8897
49073742b5
Updating LDAP such that each user is not required to be bindable to LDAP ( #6571 )
...
* Update Ldap.php
* Update Ldap.php
* Update Ldap.php
* Update Ldap.php
* Update Ldap.php
Updating LDAP.php such that the admin bind will ONLY occur if the user attempting auth cannot bind. If that is the case, it will attempt to bind as admin and search for that user, prior to failing.
2019-01-15 14:04:21 -08:00
Sxderp
187206cb88
Fix saving of REMOTE_USER setting broken by 1a64879b6
( #6565 )
...
The previous commit made it such that remote user login could only
be enabled if two factor authentication was also enabled. Unnest
the configuration so that the setting can be applied without.
2019-01-15 13:59:36 -08:00
Hubert
8420cb7ec1
Fixed problem with import when using snipeit:import command ( #6550 )
2019-01-15 13:58:23 -08:00
snipe
8f6ea84fca
Fixed #4568 - escaping values in custom report
2018-12-12 19:38:24 -08:00
snipe
ea1b792a93
Fixed #6491 - cleaner return methods for PHP 7.3 compact()
2018-12-12 18:23:39 -08:00
Wes Hulette
d023f61bc4
Fixed missing importer ( #6413 )
...
Fixed missing manager_id
Fixed missing department_id
2018-12-04 13:06:12 -08:00
snipe
dd5ca73602
Set support footer and version footer to on when resetting the demo
2018-11-08 12:52:37 -08:00
snipe
2632f730d1
Sets activated to 0 in UserImporter if the activated column isn’t set
2018-11-07 22:36:58 -08:00
snipe
24c158bfe6
Added missing use statement for departments in importer
2018-11-07 18:33:43 -08:00
snipe
3d4a5a8066
More importer tweaks for dept and manager
2018-11-07 18:05:53 -08:00
snipe
db7e0b56f2
Fixed department id on asset import with users
2018-11-07 17:36:34 -08:00
snipe
f2478d813c
Fix manager id if no manager is given in importer
2018-11-07 17:33:27 -08:00
snipe
192aa9eb71
Fixed #6386 - licenses not searching on category name
2018-11-02 17:14:08 -07:00
snipe
81f8fe34cd
Removed debugging line
2018-10-30 18:11:27 -07:00
snipe
f744696043
Fixed #6375 - lowercase keys on findAndBindUser to address LDAP syncing issue
2018-10-30 13:12:10 -07:00
snipe
29b0780c6c
Added company info to asset maintenances transforrmer
2018-10-30 00:20:16 -07:00
Wes Hulette
6b3b673daa
Changed NULL coalesce from ?? ( #6353 )
...
PHP 5 does not have the double question mark null coalesce support.
2018-10-26 15:53:18 -07:00
snipe
1a10aa0dda
Fixed #6349 - add view permission for print all assigned
2018-10-19 16:43:28 -07:00
snipe
09a102fea8
Only try to return a department if there is a matching field
2018-10-19 01:44:45 -07:00
snipe
304fce73fc
Null if blank on user import
2018-10-19 01:38:14 -07:00
snipe
295a68bb7a
Try false instead of null
2018-10-19 01:36:15 -07:00
snipe
3aeb521782
Patch PR #6335 to master
2018-10-19 01:30:05 -07:00
snipe
f587d2248b
WIP: Better handle activation column in importer ( #6290 )
...
* Better handle activation column
* Added comments for clarity on importer methods
2018-10-19 00:23:12 -07:00
snipe
8579c5a68a
Allow 0 as a consumable min amt
2018-10-15 17:04:51 -07:00
Wes Hulette
b8a37a0c73
Fixed Expiring Assets Email ( #6321 )
2018-10-11 14:03:00 -07:00
snipe
c7596e7741
Fixed image not uploading on asset create
2018-10-09 17:31:52 -07:00
snipe
d4fa81301d
Check if user can see assets in statuslabels gate
2018-10-09 16:34:12 -07:00
snipe
de76e8db5f
Re-enable rollbar
2018-10-04 12:11:36 -07:00
snipe
4db1dd8afc
Fixed #6291 - send-welcome argument in cli importer
2018-10-04 04:43:06 -07:00
snipe
890b613f71
Temporarily suppress rollbar
2018-10-03 15:47:56 -07:00
snipe
c8bff3ef38
Features/add manager and dept to importer ( #6277 )
...
* Ignore the simlink for public storage
* Added manager and department to user import
* More UI importer tweaks
* Fisxed typos
2018-10-02 15:43:54 -07:00
snipe
eea65a3f26
Fixed manufacturers item count
2018-09-28 12:03:27 -07:00
snipe
75032def9e
Fixed #4151 - Undefined index: samaccountname on LDAP import
2018-09-27 16:11:09 -07:00
snipe
3a0f738fb0
Added some hepful comments
2018-09-26 19:20:50 -07:00
snipe
55846cc717
Changed LOG:: to Log::
2018-09-26 19:06:31 -07:00
snipe
afac0bc441
Removed old isActive model (unused)
2018-09-26 19:05:42 -07:00
snipe
ffbee77f6f
Patch for 5965 - multiple email recipients no longer working ( #6238 )
2018-09-26 15:47:53 -07:00
snipe
b69b5fdf84
Added counts to location show() API method
2018-09-21 15:50:14 -07:00
snipe
adf6e7d1cd
Added group support for user API
2018-09-07 18:25:58 -07:00
snipe
05ea61421f
Added manager_id to fillable for locations API
2018-09-07 18:11:38 -07:00
snipe
51d3d130e4
Fixed Not unique table/alias: 'models' on custom report triggered when category is selected
2018-09-07 03:19:54 -07:00
snipe
db907815ff
Removed check for active in password reset form
2018-08-21 18:40:27 -07:00
snipe
ae6abdddad
Check the user is active before displaying password reset
...
This would only come into play if an inactive user already received a password reset email and then the system was upgraded to prevent those emails from being sent to inactive users
2018-08-14 19:04:47 -07:00
snipe
63c9fbe10c
Temporarily disbable notifying users on import
2018-08-14 18:27:46 -07:00
snipe
5db5134ae0
Set activated to default on when new user is created
2018-08-14 18:14:41 -07:00
snipe
05b2b8fb59
Tweaked code/language for password reset
2018-08-14 18:09:33 -07:00
snipe
0100c56046
Only allow password reset if user is active
2018-08-14 17:46:29 -07:00
snipe
524c6c502e
Features/restore deleted cmd ( #5982 )
...
* Delete content from login attempts table
* Script to restore deleted users and put their asset assignments back
* Uncomment backup
2018-07-27 02:42:55 -07:00
snipe
614e858e44
Restrict users asset listing to just assets checked out to users
2018-07-25 21:38:14 -07:00
snipe
e320d2ba05
Fixed #5944 - added logo option for print-assets page ( #5950 )
2018-07-24 13:37:02 -07:00
snipe
ed78a4b8a0
Fixed activated issue for strict mode
2018-07-24 13:28:59 -07:00
snipe
376eb52f00
Fixed #5938 - added “self location edit” as permission
2018-07-24 12:42:16 -07:00
snipe
f4cfb31bf4
Use request object
2018-07-24 12:10:02 -07:00
snipe
227dc7e81d
Save model display setting - fix for issue in #5301
2018-07-24 12:10:02 -07:00
Azerothian
66c3f5432d
implemented specific seat checkout ( #5887 )
2018-07-23 20:28:45 -07:00
Daniel Meltzer
059126f642
Checkout update locationid ( #5919 )
...
* Fix missing punctuation. Bad merge.
* If we're checking out to an location, use it's id instead of location_id
2018-07-23 06:47:21 -07:00
Daniel Meltzer
3bc43210ab
Add ID to the allowed sort fields in api/Users. ( #5929 )
2018-07-23 06:46:50 -07:00
Daniel Meltzer
82194cef8a
bugfix: updating a user when an admin (not a superuser) would remove any groups from the user. ( #5914 )
2018-07-21 23:02:06 -07:00
Till Deeke
e1c095adca
Removes the typehint for search term string ( #5904 )
...
The „string“ typehint only works in PHP >= 7.0.0.
Since we are still supporting versions below that, remove the type hint.
2018-07-20 13:23:44 -07:00
Till Deeke
45a2932f4b
Fixes the generation of where conditions ( #5902 )
2018-07-20 13:23:29 -07:00
Till Deeke
b6e3715cd8
Fix: No Notifications for checking out Consumables ( #5898 )
...
* Adds a method to consumables to check if a notification should be sent
Adds the checkin_email method to Consumables, this gets checked in notifications when checking out the consumable.
Without the method, no notifications get sent for checking out consumables.
* Fixes the checkin_email method on the License model
This should allow the License to also send checkout/checkin notifications again.
2018-07-20 13:22:49 -07:00
snipe
d45e90e358
One more fix for #5893
2018-07-19 14:45:28 -07:00
snipe
7ebb7876c4
Partial fix for #5896
...
Still need to fix the front end on edit, which seems to be defaulting to boolean
2018-07-19 10:40:07 -07:00
Daniel Meltzer
351274c633
Hotfix: the checkin_email does not exist on consumable. ( #5891 )
2018-07-19 10:38:50 -07:00
snipe
a0c0b7b1eb
Fixed #5893 - activated typo
2018-07-19 10:22:08 -07:00
snipe
5a34d43a86
Fixed #5895 - wrong date validation in maintenances
2018-07-19 10:19:55 -07:00
snipe
9d00ae6e50
Fixed #5894 - lookup by asset tag in top search broken
2018-07-19 10:14:02 -07:00
snipe
9daeeeb851
Features/nicer notifications ( #5886 )
...
* Improved expiring licenses notification
* Improved expiring assets notification
* Nicee low inventory notification
* Refactored stupid language strings
* Oops
* Use settings variable
2018-07-18 19:15:45 -07:00
Daniel Meltzer
92671823d8
Userimport fixes/improvements ( #5884 )
...
* Send notification when user is created.
* Flesh out default user mappings
* Add user importing test.
2018-07-18 19:15:07 -07:00
Daniel Meltzer
19396b2107
Logic Fix ( #5877 )
...
If we have a username, we should look that up even if we do not have a
first name.
2018-07-18 19:10:36 -07:00
snipe
d309f67df0
Set activated to zero if no values passed for active user
2018-07-18 08:27:26 -07:00
snipe
1c0ee7c4c5
Fixed license checkout gate
2018-07-18 05:33:14 -07:00
snipe
5a1e1c73c9
Include show_in_list option in select
2018-07-18 03:59:02 -07:00
snipe
3be68ec721
Fix location edit permissions
2018-07-18 03:43:45 -07:00
snipe
027edbdb21
Fixed #5872 - asset maintenances listing showing created_at instead of start_date
2018-07-18 02:24:53 -07:00
Daniel Meltzer
cf03d25934
Fix importer emailformat ( #5871 )
...
* Fix Importer emailformat
Str::slug() strips periods from the string, which caused our existing
logic to misbehave when generating a user's email on an import. Adjust
logic to use generateEmail() helper on user instead. Also clean up some
of the logic in this method.
* Remove dead code.
* More refactor/cleanup of the user create method. I think it is almost readable now.
2018-07-17 16:46:08 -07:00
snipe
bcd988bb81
Merge branch 'develop' of https://github.com/DeusMaximus/snipe-it into develop
...
# Conflicts:
# app/Http/Controllers/Auth/LoginController.php
2018-07-17 01:11:15 -07:00
snipe
aa6c21f38d
Fixed typo
2018-07-17 01:03:32 -07:00
snipe
0f85d6810b
Added login log
2018-07-16 23:49:08 -07:00
snipe
bf761946da
Fix activated check for login
2018-07-16 23:48:46 -07:00
snipe
d9fa2f0e91
Fixed #5842 - added components to location detail view
2018-07-16 21:50:14 -07:00