Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"stylelint.vscode-stylelint",
"cipchk.cssrem"
]
}
}
21 changes: 6 additions & 15 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,8 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"stylelint.snippet": [
"css",
"scss"
],
"stylelint.validate": [
"css",
"scss",
"postcss"
],
"stylelint.snippet": ["css", "scss"],
"stylelint.validate": ["css", "scss", "postcss"],
"files.eol": "\n",
"search.exclude": {
"**/.git": true,
Expand All @@ -41,12 +34,10 @@
"**/tmp": true,
"**/yarn.lock": true,
"**/vendor": true,
"**/tests/__libs": true,
"**/tests/__libs": true
},
"typescript.tsdk": "frontend-dev\\node_modules\\typescript\\lib",
"css.lint.validProperties": [
"composes"
],
"css.lint.validProperties": ["composes"],
"cSpell.words": [
"ABSPATH",
"antd",
Expand Down Expand Up @@ -80,5 +71,5 @@
},
"[php]": {
"editor.defaultFormatter": "junstyle.php-cs-fixer"
},
}
}
}
4 changes: 2 additions & 2 deletions bitwpfi.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Bit Integrations
* Plugin URI: https://bitapps.pro/bit-integrations
* Description: Bit Integrations is a platform that integrates with over 200+ different platforms to help with various tasks on your WordPress site, like WooCommerce, Form builder, Page builder, LMS, Sales funnels, Bookings, CRM, Webhooks, Email marketing, Social media and Spreadsheets, etc
* Version: 2.0.9
* Version: 2.1.0
* Author: Automation & Integration Plugin - Bit Apps
* Author URI: https://bitapps.pro
* Text Domain: bit-integrations
Expand All @@ -23,7 +23,7 @@
$btcbi_db_version = '1.0';

// Define most essential constants.
define('BTCBI_VERSION', '2.0.9');
define('BTCBI_VERSION', '2.1.0');
define('BTCBI_PLUGIN_MAIN_FILE', __FILE__);

require_once plugin_dir_path(__FILE__) . 'includes/loader.php';
Expand Down
58 changes: 36 additions & 22 deletions frontend-dev/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions frontend-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"lodash": "^4.17.21",
"mutative": "^0.5.0",
"node-sass": "^9.0.0",
"prettier": "^3.3.2",
"react": "^18.3.1",
"react-accessible-treeview": "^2.9.0",
"react-content-loader": "^6.2.1",
Expand Down
9 changes: 9 additions & 0 deletions frontend-dev/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions frontend-dev/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ function App() {
<div className="flx">
<div className="logo flx" title={__('Integrations for Forms')}>
{/* <Link to="/" className="flx"> */}
<img src={logo} alt="logo" style={{ marginLeft: '8px' }} />
<span className="ml-2 mr-2 ">Bit Integrations</span>
<img src={logo} alt="logo" style={{ marginLeft: '8px', width: '170px' }} />
{/* <span className="ml-2 mr-2 ">Bit Integrations</span> */}
{/* </Link> */}
</div>
<nav className="top-nav ml-2">
Expand Down Expand Up @@ -110,7 +110,6 @@ function App() {
</div>
</div>


<div className="route-wrp">
<Routes>
<Route path="/" element={
Expand Down
1 change: 1 addition & 0 deletions frontend-dev/src/Utils/StaticData/hooklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const hooklist = [
{ label: 'Brizy', value: 'brizy_form_submit_data', logo: 'Brizy' },
{ label: 'Divi', value: 'et_pb_contact_form_submit', logo: 'Divi' },
{ label: 'Kadence Blocks Form', value: 'kadence_blocks_form_submission', logo: 'Kadence Blocks Form' },
{ label: 'Kadence Advance Blocks Form', value: 'kadence_blocks_advanced_form_submission', logo: 'Kadence Blocks Form' },
// { label: 'Forminator', value: 'forminator_custom_form_submit_before_set_fields', logo: 'Forminator' },
// { label: 'Fluent CRM (Add Contact)', value: 'fluentcrm_contact_created', logo: 'Fluent CRM' },
// { label: 'Fluent CRM (Contact added to lists)', value: 'fluentcrm_contact_added_to_lists', logo: 'Fluent CRM' },
Expand Down
2 changes: 1 addition & 1 deletion frontend-dev/src/Utils/StaticData/webhookIntegrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ export const webhookIntegrations = [
"FluentSupport",
];

export const customFormIntegrations = ["Breakdance", "Elementor"];
export const customFormIntegrations = ["Breakdance", "Elementor","Kadence"];
export const actionHookIntegrations = ["ActionHook"];
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function AcademyLms({ formFields, setFlow, flow, allIntegURL }) {
<button
onClick={() => nextPage(3)}
// disabled={!academyLmsConf?.recipient_id}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ export default function AcademyLmsAuthorization({ academyLmsConf, setAcademyLmsC
)}

{!isAuthorized && (
<button onClick={authorizeHandler} className="btn btcd-btn-lg green sh-sm flx mt-5" type="button">
<button onClick={authorizeHandler} className="btn btcd-btn-lg purple sh-sm flx mt-5" type="button">
{__('Connect', 'bit-integrations')}
</button>
)}

{isAuthorized && (
<button onClick={() => setStep(2)} className="btn btcd-btn-lg green sh-sm flx mt-5" type="button" disabled={!isAuthorized}>
<button onClick={() => setStep(2)} className="btn btcd-btn-lg purple sh-sm flx mt-5" type="button" disabled={!isAuthorized}>
{__('Next', 'bit-integrations')}
<BackIcn className="ml-1 rev-icn" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function ActiveCampaign({ formFields, setFlow, flow, allIntegURL }) {
<button
onClick={() => nextPage(3)}
disabled={!activeCampaingConf?.listId || activeCampaingConf.field_map.length < 1}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ export default function ActiveCampaignAuthorization({ formID, activeCampaingConf
)}
{!isInfo && (
<>
<button onClick={handleAuthorize} className="btn btcd-btn-lg green sh-sm flx" type="button" disabled={isAuthorized || isLoading}>
<button onClick={handleAuthorize} className="btn btcd-btn-lg purple sh-sm flx" type="button" disabled={isAuthorized || isLoading}>
{isAuthorized ? __('Authorized ✔', 'bit-integrations') : __('Authorize', 'bit-integrations')}
{isLoading && <LoaderSm size={20} clr="#022217" className="ml-2" />}
</button>
<br />
<button onClick={() => nextPage(2)} className="btn f-right btcd-btn-lg green sh-sm flx" type="button" disabled={!isAuthorized}>
<button onClick={() => nextPage(2)} className="btn f-right btcd-btn-lg purple sh-sm flx" type="button" disabled={!isAuthorized}>
{__('Next', 'bit-integrations')}
<BackIcn className="ml-1 rev-icn" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function Acumbamail({ formFields, setFlow, flow, allIntegURL }) {
<button
onClick={() => nextPage(3)}
disabled={!acumbamailConf.mainAction || !checkMappedFields(acumbamailConf)}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ export default function AcumbamailAuthorization({ formID, acumbamailConf, setAcu
setIsLoading,
setSnackbar,
)}
className="btn btcd-btn-lg green sh-sm flx"
className="btn btcd-btn-lg purple sh-sm flx"
type="button"
disabled={isAuthorized || isLoading}
>
{isAuthorized ? __('Authorized ✔', 'bit-integrations') : __('Authorize', 'bit-integrations')}
{isLoading && <LoaderSm size={20} clr="#022217" className="ml-2" />}
</button>
<br />
<button onClick={nextPage} className="btn f-right btcd-btn-lg green sh-sm flx" type="button" disabled={!isAuthorized}>
<button onClick={nextPage} className="btn f-right btcd-btn-lg purple sh-sm flx" type="button" disabled={!isAuthorized}>
{__('Next', 'bit-integrations')}
<BackIcn className="ml-1 rev-icn" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function Affiliate({ formFields, setFlow, flow, allIntegURL, isInfo, edit }) {
<button
onClick={() => nextPage(3)}
disabled={!affiliateConf.statusId || !affiliateConf.referralId || isLoading}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ export default function AffiliateAuthorization({ formID,
)}

{!isAuthorized && (
<button onClick={authorizeHandler} className="btn btcd-btn-lg green sh-sm flx mt-5" type="button">
<button onClick={authorizeHandler} className="btn btcd-btn-lg purple sh-sm flx mt-5" type="button">
{__('Connect', 'bit-integrations')}
</button>
)}

{isAuthorized && (
<button onClick={() => setStep(2)} className="btn btcd-btn-lg green sh-sm flx mt-5" type="button" disabled={!isAuthorized}>
<button onClick={() => setStep(2)} className="btn btcd-btn-lg purple sh-sm flx mt-5" type="button" disabled={!isAuthorized}>
{__('Next', 'bit-integrations')}
<BackIcn className="ml-1 rev-icn" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function Agiled({ formFields, setFlow, flow, allIntegURL }) {
<button
onClick={() => nextPage(3)}
disabled={!checkMappedFields(agiledConf)}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ export default function AgiledAuthorization({ agiledConf, setAgiledConf, step, s

{!isInfo && (
<div>
<button onClick={() => agiledAuthentication(agiledConf, setAgiledConf, setError, setIsAuthorized, loading, setLoading)} className="btn btcd-btn-lg green sh-sm flx" type="button" disabled={isAuthorized || loading.auth}>
<button onClick={() => agiledAuthentication(agiledConf, setAgiledConf, setError, setIsAuthorized, loading, setLoading)} className="btn btcd-btn-lg purple sh-sm flx" type="button" disabled={isAuthorized || loading.auth}>
{isAuthorized ? __('Authorized ✔', 'bit-integrations') : __('Authorize', 'bit-integrations')}
{loading.auth && <LoaderSm size="20" clr="#022217" className="ml-2" />}
</button>
<br />
<button onClick={nextPage} className="btn ml-auto btcd-btn-lg green sh-sm flx" type="button" disabled={!isAuthorized}>
<button onClick={nextPage} className="btn ml-auto btcd-btn-lg purple sh-sm flx" type="button" disabled={!isAuthorized}>
{__('Next', 'bit-integrations')}
<div className="btcd-icn icn-arrow_back rev-icn d-in-b" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function Airtable({ formFields, setFlow, flow, allIntegURL }) {
<button
onClick={() => nextPage(3)}
disabled={!checkMappedFields(airtableConf)}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ export default function AirtableAuthorization({ airtableConf, setAirtableConf, s

{!isInfo && (
<div>
<button onClick={() => airtableAuthentication(airtableConf, setAirtableConf, setError, setIsAuthorized, loading, setLoading, 'authentication')} className="btn btcd-btn-lg green sh-sm flx" type="button" disabled={isAuthorized || loading.auth}>
<button onClick={() => airtableAuthentication(airtableConf, setAirtableConf, setError, setIsAuthorized, loading, setLoading, 'authentication')} className="btn btcd-btn-lg purple sh-sm flx" type="button" disabled={isAuthorized || loading.auth}>
{isAuthorized ? __('Authorized ✔', 'bit-integrations') : __('Authorize', 'bit-integrations')}
{loading.auth && <LoaderSm size="20" clr="#022217" className="ml-2" />}
</button>
<br />
<button onClick={nextPage} className="btn ml-auto btcd-btn-lg green sh-sm flx" type="button" disabled={!isAuthorized}>
<button onClick={nextPage} className="btn ml-auto btcd-btn-lg purple sh-sm flx" type="button" disabled={!isAuthorized}>
{__('Next', 'bit-integrations')}
<div className="btcd-icn icn-arrow_back rev-icn d-in-b" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function Asana({ formFields, setFlow, flow, allIntegURL }) {
<button
onClick={() => nextPage(3)}
disabled={!(checkMappedFields(asanaConf))}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ export default function AsanaAuthorization({ asanaConf, setAsanaConf, step, setS

{!isInfo && (
<div>
<button onClick={() => asanaAuthentication(asanaConf, setAsanaConf, setError, setIsAuthorized, loading, setLoading)} className="btn btcd-btn-lg green sh-sm flx" type="button" disabled={isAuthorized || loading.auth}>
<button onClick={() => asanaAuthentication(asanaConf, setAsanaConf, setError, setIsAuthorized, loading, setLoading)} className="btn btcd-btn-lg purple sh-sm flx" type="button" disabled={isAuthorized || loading.auth}>
{isAuthorized ? __('Authorized ✔', 'bit-integrations') : __('Authorize', 'bit-integrations')}
{loading.auth && <LoaderSm size="20" clr="#022217" className="ml-2" />}
</button>
<br />
<button onClick={nextPage} className="btn ml-auto btcd-btn-lg green sh-sm flx" type="button" disabled={!isAuthorized}>
<button onClick={nextPage} className="btn ml-auto btcd-btn-lg purple sh-sm flx" type="button" disabled={!isAuthorized}>
{__('Next', 'bit-integrations')}
<div className="btcd-icn icn-arrow_back rev-icn d-in-b" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function Autonami({ formFields, setFlow, flow, allIntegURL }) {
<button
onClick={() => nextPage(3)}
disabled={autonamiConf.field_map.length < 1}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ export default function AutonamiAuthorization({ formID, autonamiConf, setAutonam
)}
{!isInfo && (
<>
<button onClick={handleAuthorize} className="btn btcd-btn-lg green sh-sm flx" type="button" disabled={isAuthorized || isLoading}>
<button onClick={handleAuthorize} className="btn btcd-btn-lg purple sh-sm flx" type="button" disabled={isAuthorized || isLoading}>
{isAuthorized ? __('Connected ✔', 'bit-integrations') : __('Connect to Autonami', 'bit-integrations')}
{isLoading && <LoaderSm size={20} clr="#022217" className="ml-2" />}
</button>
<br />
<button onClick={() => nextPage(2)} className="btn f-right btcd-btn-lg green sh-sm flx" type="button" disabled={!isAuthorized}>
<button onClick={() => nextPage(2)} className="btn f-right btcd-btn-lg purple sh-sm flx" type="button" disabled={!isAuthorized}>
{__('Next', 'bit-integrations')}
<BackIcn className="ml-1 rev-icn" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function BenchMark({ formFields, setFlow, flow, allIntegURL }) {
<button
onClick={() => nextPage(3)}
disabled={!benchMarkConf?.listId || benchMarkConf.field_map.length < 1}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ export default function BenchMarkAuthorization({ formID, benchMarkConf, setBench
)}
{!isInfo && (
<>
<button onClick={handleAuthorize} className="btn btcd-btn-lg green sh-sm flx" type="button" disabled={isAuthorized || isLoading}>
<button onClick={handleAuthorize} className="btn btcd-btn-lg purple sh-sm flx" type="button" disabled={isAuthorized || isLoading}>
{isAuthorized ? __('Authorized ✔', 'bit-integrations') : __('Authorize', 'bit-integrations')}
{isLoading && <LoaderSm size={20} clr="#022217" className="ml-2" />}
</button>
<br />
<button onClick={() => nextPage(2)} className="btn f-right btcd-btn-lg green sh-sm flx" type="button" disabled={!isAuthorized}>
<button onClick={() => nextPage(2)} className="btn f-right btcd-btn-lg purple sh-sm flx" type="button" disabled={!isAuthorized}>
{__('Next', 'bit-integrations')}
<BackIcn className="ml-1 rev-icn" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function BitForm({ formFields, setFlow, flow, allIntegURL }) {
<button
onClick={() => nextPage(3)}
disabled={bitFormConf.field_map.length < 2 || isLoading}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ export default function BitFormAuthorization({ formID, bitFormConf, setBitFormCo
setIsLoading,
setSnackbar,
)}
className="btn btcd-btn-lg green sh-sm flx"
className="btn btcd-btn-lg purple sh-sm flx"
type="button"
disabled={isAuthorized || isLoading}
>
{isAuthorized ? __('Authorized ✔', 'bit-integrations') : __('Authorize', 'bit-integrations')}
{isLoading && <LoaderSm size={20} clr="#022217" className="ml-2" />}
</button>
<br />
<button onClick={nextPage} className="btn f-right btcd-btn-lg green sh-sm flx" type="button" disabled={!isAuthorized}>
<button onClick={nextPage} className="btn f-right btcd-btn-lg purple sh-sm flx" type="button" disabled={!isAuthorized}>
{__('Next', 'bit-integrations')}
<BackIcn className="ml-1 rev-icn" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function BuddyBoss({ formFields, setFlow, flow, allIntegURL, isInfo, edit }) {
<button
onClick={() => nextPage(3)}
disabled={!buddyBossConf.mainAction || isLoading || isDisabled()}
className="btn f-right btcd-btn-lg green sh-sm flx"
className="btn f-right btcd-btn-lg purple sh-sm flx"
type="button"
>
{__('Next', 'bit-integrations')}
Expand Down
Loading