* Primary functionality implemented for CIFS This will add CIFS support to Duplicati. One of the advantages is that the resource does not need to be mounted as the backend connects and authenticates directly to the resource via TCP/or Netbios over TCP. The authentication supported is domain/username/password. At present integrated Windows authentication is not supported. This implementation relies on SMBLibrary library (https://github.com/TalAloni/SMBLibrary). * Fixes to XML documentation * Implementing single CIFS connection + Fix on PutAsync Single CIFS connection to avoid re-authentication on every operation. Fix to PutAsync which only because apparent after file sizes were larger than _smb2Client.MaxWriteSize * Adding CI tests for CIFS The CI test for CIFS is self contained, requiring no environment variables. Also updated README.
Update style sheets
We use Less CSS as a CSS preprocessor and its minify plugin along with it. We also use Stylelint with a plugin for Less (stylelint-config-standard-less).
Before proceeding, please make sure that npm is installed on your computer and available on your PATH. For install instruction, check the official documentation.
Then, run npm install --prefix ../../ on the current directory to install the packages.
To use Stylelint and compile the Less files, run the commands below:
npx stylelint "**/less/*.less"
npx lessc webroot/ngax/less/dark.less webroot/ngax/styles/dark.css --clean-css -m=always
npx lessc webroot/ngax/less/default.less webroot/ngax/styles/default.css --clean-css -m=always
Add --fix option to have Stylelint fix the errors which the linter can fix by itself.
Alternatively, it is possible to run those commands with npm run-script. See package.json on the root directory for available scripts.
Note: there are warnings about math=always on running lessc, but to fix those all divisions in .less need to be wrapped in parentheses.