Skip to content

Add support for offloading Ninja Forms Uploads to the Microsoft Azure cloud.

License

Notifications You must be signed in to change notification settings

dss-web/ninjaforms-uploads-azure

Repository files navigation

Ninja Forms File Uploads to Azure

Add support for offloading Ninja Forms Uploads to the Microsoft Azure cloud.

How to use

You can also define constants:

define( 'MICROSOFT_AZURE_ACCOUNT_NAME', '' );
define( 'MICROSOFT_AZURE_ACCOUNT_KEY', '' );
define( 'MICROSOFT_AZURE_CNAME', '' );

The respective settings have priority over constants in this situation.

For more controlled environments, you may also use the following constant to automatically force all use the external Azure storage service when creating forms:

define( 'MICROSOFT_AZURE_FORCE_EXTERNAL_UPLOAD', true );

This constant may not be overwritten by individual settings on your site or sites.

Development

Install NodeJS and run npm install and npm run azure to launch development server.

Use local settings:

  • Account Name: devstoreaccount1
  • Account Key: Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
  • Blob Service Endpoint: http://127.0.0.1:10000/devstoreaccount1

Credits

Developed by Dekode for DSS.

Copyright

Ninja Forms File Uploads to Azure is copyright 2021 DSS

Ninja Forms File Uploads to Azure is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

Ninja Forms File Uploads to Azure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the Extension. If not, see http://www.gnu.org/licenses/.