summaryrefslogtreecommitdiff
path: root/lib/chef/win32/api
Commit message (Collapse)AuthorAgeFilesLines
* really fix copslcg/really-fix-copsLamont Granquist2016-01-121-107/+107
|
* fixes #3521 correcting format of user name passed to policy apis and does ↵Matt Wrock2015-12-291-0/+38
| | | | not clobber existing service rights of other users
* adds support to installer types inno, nsis, wise and installshield top the ↵Matt Wrock2015-12-071-1/+51
| | | | windows_package resource
* Monkey-patch Win32::Registry::API::DeleteValue for Win32::Registry#delete_value.Claire McQuin2015-09-031-0/+6
|
* Refactor Chef::Mixin::WideString to remove implicit Windows dependency.mcquin/refactor-wstringClaire McQuin2015-09-013-43/+2
|
* Prep for Registry FFI; Convert RegDeleteKeyEx to FFIsalam/registry-ffichefsalim2015-08-301-0/+45
|
* FFI NetUseAddJay Mundrawala2015-08-281-0/+8
|
* FFI NetUseGetInfoJay Mundrawala2015-08-281-0/+22
|
* Create StructHelperJay Mundrawala2015-08-281-38/+42
|
* Use FFI for NetUseDelJay Mundrawala2015-08-281-0/+11
|
* Make win32/api/net.rb look nicerjdm/net-api-styleJay Mundrawala2015-08-281-11/+28
|
* Use ffi for GetVolumeNameForVolumeMountPointJay Mundrawala2015-08-271-0/+7
|
* Convert SetVolumeMountPoint to use ffiJay Mundrawala2015-08-271-0/+6
|
* Rewrite DeleteVolumeMountPoint to use FFIJay Mundrawala2015-08-271-0/+6
|
* Merge pull request #3775 from chef/salam/win64Salim Alam2015-08-191-0/+23
|\ | | | | Enable 64-bit support for Powershell and Batch scripts
| * Enable 64-bit support for Powershell and Batch scriptsSalim Alam2015-08-191-0/+23
| |
* | FFYify NetLocalGroupSetMembersJay Mundrawala2015-07-301-0/+18
| |
* | FFIify NetLocalGroupGetMembersJay Mundrawala2015-07-291-0/+21
| |
* | Rewrite NetLocalGroupDel to use FFIJay Mundrawala2015-07-291-0/+6
| |
* | Convert NetLocalGroupAdd to use FFIJay Mundrawala2015-07-291-0/+12
|/
* Merge pull request #3267 from dbjorge/issue-3266Thom May2015-05-201-0/+8
|\ | | | | #3266 Fix bad Windows securable_resource functional spec assumptions for default file owners/groups
| * securable_resource functional specs compare default creation permissions ↵Dan Bjorge2015-04-231-0/+8
| | | | | | | | against actual defaults on Windows
* | LogonUser uses ffi instead win32-apiJay Mundrawala2015-05-151-0/+16
| |
* | NetUserDel uses ffi instead in win32-apiJay Mundrawala2015-05-151-0/+6
| |
* | Empty strings should be able to be converted into wide stringsJay Mundrawala2015-05-151-1/+1
| |
* | NetUserSetInfo uses ffiJay Mundrawala2015-05-151-3/+19
| |
* | NetUserGetInfo uses ffiJay Mundrawala2015-05-151-1/+47
| |
* | Replace some user creation win32-api calls with ffiJay Mundrawala2015-05-151-2/+47
| |
* | windows_package is idempotent againjdm/winstaller-idempotentJay Mundrawala2015-04-301-1/+1
|/ | | | | | | | | | This was broken in #3034. The issue is that the package does not get detected as installed because the version that is installed has \x00 at the end, while the version from the msi does not. This fails comparison, and we fall into code that does not use source and thus requires candidate version and we die. (Or something like that) Solves #3316
* Adding CryptProtectDataJay Mundrawala2015-03-201-0/+63
|
* Remove trailing null character from msi propertiesSimon Detheridge2015-03-111-1/+1
|
* Added AccessCheckJay Mundrawala2015-02-171-0/+1
|
* Added PRIVILEGE_SETJay Mundrawala2015-02-171-0/+6
|
* Fix spacing for GENERIC_MAPPINGJay Mundrawala2015-02-171-6/+7
|
* Added MapGenericMaskJay Mundrawala2015-02-171-0/+1
|
* Added GENERIC_MAPPING structJay Mundrawala2015-02-171-0/+6
|
* Added GetFileSecurityJay Mundrawala2015-02-171-0/+1
|
* Added DuplicateTokenJay Mundrawala2015-02-171-0/+1
|
* Added SecurityImpersonationLevel enumJay Mundrawala2015-02-171-0/+9
|
* As https://github.com/opscode/chef/issues/2580 summarizes, Link resource ↵sersut/revert-1901Serdar Sutay2014-12-111-3/+13
| | | | | | need to support relative paths in its 'to' attribute since one can create a symlink pointing to a relative location. This is useful if the directory that symlink resides in moves to a different place (e.g. mounting a disk on a separate location). This commit preserves relative paths inside the "encode_path" method used by the link operations and expands relative paths in similar fashion when being used by file operations.
* Revert "Merge pull request #1901 from opscode/dont-prepend-to-relative-paths"Serdar Sutay2014-12-111-1/+5
| | | | | | | | | | This reverts commit 1241ea6f9866d0e61d11129bb32e5fc96cd2bac0, reversing changes made to 34d956c6b96087e6ca4bfbc9080037ded481709d. Conflicts: spec/functional/resource/file_spec.rb spec/functional/resource/link_spec.rb spec/unit/provider/link_spec.rb
* Merge pull request #2024 from opscode/jdmundrawala/windows_env_pathJay Mundrawala2014-09-301-0/+9
|\ | | | | Windows path fix
| * Use windows api to expand path. Cleaned up testsJay Mundrawala2014-09-111-0/+9
| |
* | Fix https://github.com/opscode/chef/issues/1842 by calling ↵Chris Doherty2014-09-121-5/+1
|/ | | | PathHelper.canonical_path, so that (among other things) we don't add the prepender to relative paths.
* Make exception for a user not existing more explicitBryan McLellan2014-08-221-0/+1
|
* Automatically find out the sid for Administrators so that the specs can run ↵sersut2014-07-141-0/+90
| | | | on boxes for which the administrators account is renamed.
* Merge pull request #1525 from opscode/mcquin/chefdk-69Claire McQuin2014-06-241-0/+14
|\ | | | | Use FFI binders to attach :SendMessageTimeout instead of Win32API.
| * Use FFI binders to attach :SendMessageTimeout instead of Win32API in order ↵sersut2014-06-191-0/+14
| | | | | | | | | | | | to disable annoying message of: DL is deprecated, please use Fiddle
* | CHEF-5287: Use IsWow64Process instead of ENV hash to determine 32-bit ↵Adam Edwards2014-06-201-0/+1
|/ | | | process on 64-bit OS
* CHEF-5087: Add a Windows Installer package providerBryan McLellan2014-03-271-0/+166
| | | | | | | | | | | | | Adds the framework for a windows package provider, which must determine the correct provider by examining metadata about the source file, or the source file itself. Provides FFI based access to the Windows Installer functions to retrieve metadata from the MSI files and from the Windows product database. Combines both of these into an MSI package provider. Continues to work alongside the windows_package LWRP.