snipe
56576d9e45
Fixed more camel-casing -> snake-casing
2019-05-24 16:01:12 -07:00
snipe
bf93e8cc32
Use getReader instead of fetchAssoc for CSV parser
...
https://csv.thephpleague.com/9.0/upgrading/
2019-05-23 19:09:58 -07:00
snipe
df8008f1ed
Renamed fire() to handle()
2019-05-22 00:52:32 -07:00
Bob Clough
096393389c
Fixes #5054 : LDAP users deactivated for none-ad ( #7032 )
...
When using none-AD ldap, users are automatically deactivated every LDAP
sync. This commit changes the behaviour so that if the active flag isn't set,
the users are enabled.
Fixed #5054 , at least for 4.X
2019-05-16 09:31:55 -07:00
snipe
6728089106
Fixed #6883 - remove escaping of fields on LDAP import
2019-05-15 19:15:41 -07:00
snipe
d67c931f6a
Import locations from CSV via command line ( #7021 )
...
* Added import locations command
* Small fixes to location importer
* Added country, LDAP OU
* Cleaned up comments, added more clarification to what the script does
2019-05-13 02:27:19 -07:00
Joris van Eijden
486c708911
Leave the activated state for users alone in normal LDAP synchronisation. ( #6988 )
2019-05-06 09:40:53 -04:00
snipe
e5c2d77c7d
Fixes #6204 - added email alerts and web/API access to assets due for audits ( #6992 )
...
* Added upcoming audit report
TODO: Fid diff/threshold math
* Added route to list overdue / upcoming assets via API
* Controller/API methods for due/overdue audits
We could probably skip this and just handle it via view in the routes…
* Added query scopes for due and overdue audits
* Added audit due console command to kernel
* Added ability to pass audit specs to main API asset search method
* Added audit presenter
* Added bootstrap-tables presenter formatter to display an audit button
* Added gated sidenav items to left nav
* Added audit due/overdue blades
* Cleanup on audit due/overdue console command
* Added language strings for audit views
* Fixed :threshold placeholder
* Removed unused setting variable
* Fixed next audit date math
* Added scope for both overdue and upcoming
* Derp. Wrong version
* Bumped version
(I will release this version officially tomorrow)
2019-05-05 22:32:52 -04:00
snipe
dae26e0378
Remove “Imported from LDAP” note override
2019-04-18 17:56:08 -04:00
snipe
858d382e26
Changed logging to info level for LDAP
2019-03-13 15:14:03 -07:00
snipe
dd5ca73602
Set support footer and version footer to on when resetting the demo
2018-11-08 12:52:37 -08:00
Wes Hulette
b8a37a0c73
Fixed Expiring Assets Email ( #6321 )
2018-10-11 14:03:00 -07:00
snipe
4db1dd8afc
Fixed #6291 - send-welcome argument in cli importer
2018-10-04 04:43:06 -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
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
ffbee77f6f
Patch for 5965 - multiple email recipients no longer working ( #6238 )
2018-09-26 15:47:53 -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
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
snipe
1a29d4f60f
Check for > 0 expected assets
2018-05-21 15:41:19 -07:00
snipe
4c656c0321
De-normalize new counters from 4.3.0 ( #5547 )
...
* Added de-norm counter migration for assets
* Renaming counter columns, since Eloquent has a magical *_count helper
* Added artisan command to sync counters (one-off)
* Update API to use de-normed fields
* Increment counters for checkin;/checkout
* Derp.
* Added request increment/decrementer
* Move increment for checkout to the Asset::checkout method
* Added “could take a while” message
2018-05-16 19:20:43 -07:00
snipe
8f64da5bc7
Added admin alert on expiring notifications
2018-05-08 05:27:03 -07:00
snipe
71708e349c
PHP7.2 count fixes ( #5427 )
...
* PHP 7.2 count() fixes
* Re-enable php travis 7.2
2018-04-29 06:10:49 -07:00
snipe
d886dcc7c3
Reset skin for demo
2018-04-24 03:00:56 -07:00
snipe
d60c9800c2
Check that the id key exists to prevent any weird edge cases for location
2018-03-05 22:44:05 -08:00
snipe
04d2542b81
Fixed #5078 - check for object or array as location in LDAP sync
2018-03-05 22:42:40 -08:00
snipe
5484b06df8
Fixed #4923 - invalid check for location object in Ldap Sync
2018-02-13 17:06:42 -08:00
Richard Hofman
5219fb63a1
Add --base_dn option to LdapSync command. ( #4888 )
2018-01-23 18:15:36 -08:00
Ryan
9a40e5e651
return an error from ldap_search ( #4623 )
...
This will return the error from the ldap_search ran in Models/Ldap.php instead of throwing an exception. Users seem to commonly be getting an Exception because of invalid search filters. This will better inform them of that issue without requiring them to enable DEBUG.
2017-12-14 12:57:43 -08:00
snipe
608bb1b5b1
Fixed #3416 - bulk delete asset models
2017-12-12 09:10:05 -08:00
Brady Wetherington
4584990cc3
Cleaner re-implementation of loop-detection for asset-assigned-assets ( #4553 )
...
* Cleaner re-implementation of loop-detection for asset-assigned-assets
* Get rid of the other static and pass it along recursively too.
2017-12-04 23:00:55 -08:00
snipe
2aafdb1400
Bumped version
2017-12-01 20:49:04 -08:00
snipe
51661b0a21
Fixed #4190 - Added artisan command to regenerate asset tags
2017-11-24 11:25:51 -08:00
snipe
e5129a8b98
Removed next_version
2017-11-21 19:39:33 -08:00
snipe
0c9e41e1fa
Updated versioning script to handle githooks better
2017-11-21 19:01:47 -08:00
snipe
f672b14468
Ignore deleted assets and check for valid location in artisan command
2017-11-04 16:20:31 -07:00
snipe
12caa48390
Uncommented info output
2017-11-03 19:42:54 -07:00
snipe
1c12b6e13b
Added artisan command to sync locations
2017-11-03 19:00:36 -07:00
snipe
da9bb07041
Add a default legacy cipher of rijndael-256
2017-11-03 16:27:03 -07:00
snipe
809e310565
Recrypt the LDAP password properly
...
Older installs should add a line to their .env:
`LEGACY_CIPHER=rijndael-256`
2017-10-18 08:15:23 -07:00
Tõnis Ormisson
a4eeff01f0
FIXED upgrade Recrypt not working with changed cipher ( #4245 )
...
* FIX legacy cipher change
* FIX Recrypt Custom fields column names
* FIX ReCrypt Clean un-needed code
2017-10-18 05:43:54 -07:00
snipe
1d5fb52bfc
Fix for LDAP where location ou is not null but blank
2017-10-17 16:59:50 -07:00
Richard Hofman
adca7cb0c5
Fix LDAP location sync issue in #3993 ( #4181 )
...
* Ensure locations with the most specific OUs take precedence during user assignment.
* Save 'ldap_ou' Location attribute during creation.
2017-10-09 13:06:47 -07:00
snipe
6e33f36595
Set snipe-logo as default
2017-10-07 14:49:36 -07:00
snipe
9dc79f7165
Demo Settings reset artisan command
...
We’ll set this as a cron job to reset the language back to english
2017-10-07 07:43:57 -07:00
snipe
064a4ebe33
Ability to skip deleting/generating new users
...
This will behave unpredictably if there is not a user id 1
2017-10-07 00:02:37 -07:00
snipe
a84da88114
Demo seeder
2017-10-06 22:58:00 -07:00
Richard Hofman
f2be409914
LDAP sync improvements and DB query fix. ( #4148 )
...
* Set 'ldap_ou' Location field to NULL when an empty string is submitted.
* Consolidate LDAP user import logic in LdapSync.php.
2017-10-06 16:15:14 -07:00
Daniel Meltzer
bbffde47f7
Remove conditional related to no longer existant testrun option. ( #4079 )
2017-09-29 17:31:39 -07:00
snipe
c53dae4b72
Possible fix for #3919 - allow later versions of mcrypted base64 keys
2017-09-14 16:43:41 -07:00