Plugin Directory

Changeset 3833969


Ignore:
Timestamp:
11/30/2026 12:21:25 AM (less than one hour ago)
Author:
comma5
Message:

Doshpup Inquiries 1.3.0: Connect to Doshpup sign-up invitation, coloured logo, icon and banners, new screenshots, tested up to 7.2

Location:
c5-inquiries
Files:
3 added
23 edited
1 copied

Legend:

Unmodified
Added
Removed
  • c5-inquiries/tags/1.3.0/assets/doshpup-icon.svg

    r3806787 r3833969  
    11<svg role="img" aria-label="Doshpup" viewBox="0 0 125 110" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
     2    <!-- Pack colours, left to right: Inquiries, Quotes, Money, Orders, Follow-ups -->
     3    <defs><linearGradient id="pack" gradientUnits="userSpaceOnUse" x1="4" y1="0" x2="209" y2="0" gradientTransform="rotate(-28 106 93)"><stop offset="0%" stop-color="#e27d95"/><stop offset="20%" stop-color="#e27d95"/><stop offset="20%" stop-color="#4fa9a3"/><stop offset="40%" stop-color="#4fa9a3"/><stop offset="40%" stop-color="#5fae7a"/><stop offset="60%" stop-color="#5fae7a"/><stop offset="60%" stop-color="#e8935a"/><stop offset="80%" stop-color="#e8935a"/><stop offset="80%" stop-color="#9486d8"/><stop offset="100%" stop-color="#9486d8"/></linearGradient></defs>
    24    <g transform="matrix(1,0,0,1,-54.7553,-38.9917)">
    35        <g>
    46            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    5                 <path d="M172.014,121.488C172.014,121.488 175.378,130.429 178.122,138.043C180.867,145.656 188.392,148.578 198.219,129.19C208.045,109.802 213.269,90.414 213.269,80.056C213.269,69.698 204.858,51.284 164.135,31.984C164.135,31.984 153.865,0.113 107.121,0.113C60.377,0.113 49.045,31.984 49.045,31.984C49.045,31.984 0,53.409 0,81.561C0,92.008 3.541,104.136 11.243,121.266C18.945,138.397 24.124,143.576 29.701,143.576C35.279,143.576 37.271,128.837 41.254,121.93C41.254,121.93 42.715,140.787 54.003,160.175C65.29,179.563 84.679,187 108.582,187C132.485,187 152.537,175.048 161.036,156.855C169.535,138.662 172.014,121.488 172.014,121.488Z" style="fill:rgb(113,155,208);fill-rule:nonzero;"/>
     7                <path d="M172.014,121.488C172.014,121.488 175.378,130.429 178.122,138.043C180.867,145.656 188.392,148.578 198.219,129.19C208.045,109.802 213.269,90.414 213.269,80.056C213.269,69.698 204.858,51.284 164.135,31.984C164.135,31.984 153.865,0.113 107.121,0.113C60.377,0.113 49.045,31.984 49.045,31.984C49.045,31.984 0,53.409 0,81.561C0,92.008 3.541,104.136 11.243,121.266C18.945,138.397 24.124,143.576 29.701,143.576C35.279,143.576 37.271,128.837 41.254,121.93C41.254,121.93 42.715,140.787 54.003,160.175C65.29,179.563 84.679,187 108.582,187C132.485,187 152.537,175.048 161.036,156.855C169.535,138.662 172.014,121.488 172.014,121.488Z" style="fill:url(#pack);fill-rule:nonzero;"/>
    68            </g>
    79            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    … …  
    911            </g>
    1012            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    11                 <path d="M61.838,93.512C60.331,93.512 58.823,92.932 57.68,91.775C55.413,89.479 55.437,85.779 57.733,83.511L78.847,62.662C81.141,60.397 84.842,60.417 87.111,62.715C89.377,65.011 89.354,68.711 87.058,70.979L65.943,91.828C64.805,92.951 63.322,93.512 61.838,93.512Z" style="fill:rgb(113,155,208);fill-rule:nonzero;"/>
     13                <path d="M61.838,93.512C60.331,93.512 58.823,92.932 57.68,91.775C55.413,89.479 55.437,85.779 57.733,83.511L78.847,62.662C81.141,60.397 84.842,60.417 87.111,62.715C89.377,65.011 89.354,68.711 87.058,70.979L65.943,91.828C64.805,92.951 63.322,93.512 61.838,93.512Z" style="fill:url(#pack);fill-rule:nonzero;"/>
    1214            </g>
    1315            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    14                 <path d="M83.085,92.716C81.609,92.716 80.132,92.16 78.994,91.044L58.278,70.727C55.974,68.467 55.938,64.767 58.198,62.463C60.458,60.16 64.156,60.124 66.461,62.383L87.177,82.701C89.48,84.961 89.517,88.66 87.257,90.964C86.113,92.131 84.599,92.716 83.085,92.716Z" style="fill:rgb(113,155,208);fill-rule:nonzero;"/>
     16                <path d="M83.085,92.716C81.609,92.716 80.132,92.16 78.994,91.044L58.278,70.727C55.974,68.467 55.938,64.767 58.198,62.463C60.458,60.16 64.156,60.124 66.461,62.383L87.177,82.701C89.48,84.961 89.517,88.66 87.257,90.964C86.113,92.131 84.599,92.716 83.085,92.716Z" style="fill:url(#pack);fill-rule:nonzero;"/>
    1517            </g>
    1618            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    17                 <path d="M150.412,77.046C150.412,82.473 146.013,86.873 140.586,86.873C135.158,86.873 130.759,82.473 130.759,77.046C130.759,71.619 135.158,67.219 140.586,67.219C146.013,67.219 150.412,71.619 150.412,77.046Z" style="fill:rgb(113,155,208);fill-rule:nonzero;"/>
     19                <path d="M150.412,77.046C150.412,82.473 146.013,86.873 140.586,86.873C135.158,86.873 130.759,82.473 130.759,77.046C130.759,71.619 135.158,67.219 140.586,67.219C146.013,67.219 150.412,71.619 150.412,77.046Z" style="fill:url(#pack);fill-rule:nonzero;"/>
    1820            </g>
    1921            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    20                 <path d="M124.296,146.01C124.296,155.985 116.21,164.071 106.236,164.071C96.261,164.071 88.175,155.985 88.175,146.01C88.175,136.036 96.261,127.95 106.236,127.95C116.21,127.95 124.296,136.036 124.296,146.01Z" style="fill:rgb(113,155,208);fill-rule:nonzero;"/>
     22                <path d="M124.296,146.01C124.296,155.985 116.21,164.071 106.236,164.071C96.261,164.071 88.175,155.985 88.175,146.01C88.175,136.036 96.261,127.95 106.236,127.95C116.21,127.95 124.296,136.036 124.296,146.01Z" style="fill:url(#pack);fill-rule:nonzero;"/>
    2123            </g>
    2224        </g>
  • c5-inquiries/tags/1.3.0/c5-inquiries.php

    r3808216 r3833969  
    44 * Plugin URI:        https://doshpup.com/
    55 * Description:       Never miss another customer inquiry. Saves every Contact Form 7 inquiry in WordPress, with attachments and where the visitor came from, so no lead is lost. Sorts inquiries into Sales and Help, tracks each one to Won or Resolved, and shows live analytics you can share.
    6  * Version:           1.2.1
     6 * Version:           1.3.0
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    2525}
    2626
    27 define( 'C5LB_VERSION', '1.2.1' );
     27define( 'C5LB_VERSION', '1.3.0' );
    2828define( 'C5LB_DB_VERSION', '7' );
    2929define( 'C5LB_FILE', __FILE__ );
    … …  
    5959require_once C5LB_DIR . 'includes/class-c5lb-abilities.php';
    6060require_once C5LB_DIR . 'includes/class-c5lb-report.php';
     61require_once C5LB_DIR . 'includes/class-c5lb-doshpup.php';
    6162
    6263register_activation_hook(
    … …  
    6667                C5LB_Roles::install();
    6768                delete_option( 'c5lb_rules_version' ); // Adds the share-link address on the next page load.
     69                C5LB_Doshpup::ensure_sweep();
    6870        }
    6971);
    … …  
    7375                wp_clear_scheduled_hook( 'c5lb_cleanup_spam' );
    7476                wp_clear_scheduled_hook( 'c5lb_send_report' );
     77                wp_clear_scheduled_hook( 'c5lb_doshpup_sync' );
     78                wp_clear_scheduled_hook( 'c5lb_doshpup_sweep' );
    7579                flush_rewrite_rules( false );
    7680        }
    … …  
    9195                C5LB_Abilities::init();
    9296                C5LB_Report::init();
     97                C5LB_Doshpup::init();
    9398
    9499                if ( is_admin() ) {
  • c5-inquiries/tags/1.3.0/includes/class-c5lb-db.php

    r3806787 r3833969  
    4545                // Core fields are columns; anything else from the form lives in extra_fields (JSON).
    4646                // lead_status is the enquiry's place in follow-up (New, Contacted, ...).
    47                 // status, retry_count, last_error and synced_at are reserved for a future CRM sync and unused for now.
     47                // status, last_error and synced_at are the send queue for Connect to Doshpup (C5LB_Doshpup); retry_count is unused.
    4848                $sql_submissions = "CREATE TABLE {$s} (
    4949  id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    … …  
    360360        public static function update_submission( $id, array $data ) {
    361361                global $wpdb;
    362                 return $wpdb->update( self::submissions_table(), $data, array( 'id' => (int) $id ) );
     362                $done = $wpdb->update( self::submissions_table(), $data, array( 'id' => (int) $id ) );
     363                if ( $done ) {
     364                        /**
     365                         * Fires after an inquiry's row changed (status, type, spam, email status, location, contact details).
     366                         *
     367                         * @param int   $id   Submission id.
     368                         * @param array $data The columns that were written.
     369                         */
     370                        do_action( 'c5lb_submission_updated', (int) $id, $data );
     371                }
     372                return $done;
    363373        }
    364374
  • c5-inquiries/tags/1.3.0/includes/class-c5lb-settings.php

    r3806787 r3833969  
    588588                $api    = self::has_abilities_api();
    589589                $mcp    = self::has_mcp_adapter();
    590                 $manual = 'https://comma5.au/comma5-inquiries-manual/#ai';
     590                $manual = 'https://comma5.au/doshpup-inquiries-manual/#ai';
    591591                $checks = array(
    592592                        array( $api, 'WordPress ' . get_bloginfo( 'version' ), $api ? 'Has the Abilities API that AI assistants use.' : 'AI assistants need WordPress 6.9 or later. Everything else in Doshpup Inquiries works as normal.' ),
    … …  
    673673                        </div>
    674674
     675                        <?php C5LB_Doshpup::render_card(); ?>
     676
    675677                        <form method="post" action="options.php">
    676678                                <?php settings_fields( self::GROUP ); ?>
  • c5-inquiries/tags/1.3.0/readme.txt

    r3808216 r3833969  
    33Tags: contact form 7, cf7 database, leads, lead tracking, crm
    44Requires at least: 6.2
    5 Tested up to: 7.1
     5Tested up to: 7.2
    66Requires PHP: 7.4
    7 Stable tag: 1.2.1
     7Stable tag: 1.3.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    3131
    3232* **Works on the forms you already build.** Activate it and the next submission is captured. No form changes are needed: name, email, phone and message are found automatically, and every other field is saved too.
    33 * **Nothing to host or bill.** It is free, needs no outside service, and the data stays in the client's own database.
     33* **Nothing to host or bill.** It is free, needs no outside service, and the data stays in the client's own database, unless they choose to connect to Doshpup.
    3434* **Clients who log in as Editors.** Tick one box and Editors can see and update inquiries, while Settings and delete stay with administrators (and export too, unless you choose to allow it).
    3535* **A weekly summary email.** The week's inquiries, how the week compares with the ones before, where inquiries came from, and failed emails or inquiries still waiting for a reply.
    … …  
    3939Free. No account, no monthly fee. Made by Comma5, a software company in Melbourne, Australia.
    4040
     41**Goes further with Doshpup (optional)**
     42
     43Doshpup is the app that goes with this plugin. Connect your website and each inquiry is also kept in your Doshpup account, in Australia, so it is safe if the website goes down. Your team can see inquiries, assign them and follow them up without a WordPress login. The plugin works fully on its own, and nothing is sent unless you connect. Create an account at doshpup.com.
     44
    4145**Works with AI assistants**
    4246
    … …  
    5155Each inquiry is sorted into **Sales** or **Help**. Sales leads move through New, Contacted, Quoted, Won and Lost. Help requests are tracked as cases until they are resolved, so every one gets an answer. One click changes a status, right from the list.
    5256
    53 Everything stays on your own site. No account or outside service is needed.
     57Everything stays on your own site unless you choose to connect to Doshpup. No account or outside service is needed.
    5458
    5559**Inquiries**
    … …  
    100104= Is it really free? =
    101105
    102 Yes. There is no account or monthly fee, and it runs entirely on your own site. It is made by Comma5, an Australian software company that also offers paid products such as Comma5 Live. You never need them to use this plugin.
     106Yes. There is no account or monthly fee, and it runs entirely on your own site. It is made by Comma5, an Australian software company that also offers paid products such as Comma5 Live. You never need them to use this plugin. Connecting to Doshpup is optional, and the plugin never needs it.
    103107
    104108= Can my client see inquiries without being an administrator? =
    … …  
    116120= Does it work with AI assistants like Claude or ChatGPT? =
    117121
    118 Yes, from version 1.1.0, on WordPress 6.9 or later. Install the free MCP Adapter plugin from WordPress (https://github.com/WordPress/mcp-adapter), turn on "Allow AI assistants to read inquiries" in Inquiries > Settings > AI assistants, and connect your AI client with an Application Password. It is off by default. Step-by-step instructions: https://comma5.au/comma5-inquiries-manual/#ai
     122Yes, from version 1.1.0, on WordPress 6.9 or later. Install the free MCP Adapter plugin from WordPress (https://github.com/WordPress/mcp-adapter), turn on "Allow AI assistants to read inquiries" in Inquiries > Settings > AI assistants, and connect your AI client with an Application Password. It is off by default. Step-by-step instructions: https://comma5.au/doshpup-inquiries-manual/#ai
    119123
    120124= Do you send my inquiries to an AI service? =
    121125
    122 No. The plugin never sends anything to an AI service, or to us. Nothing happens unless you switch it on: then your own AI client connects to your site as a WordPress user you choose, and sees only what that user is allowed to see. You can leave out names, emails and phone numbers.
     126No. The plugin never sends anything to an AI service. Nothing happens unless you switch it on: then your own AI client connects to your site as a WordPress user you choose, and sees only what that user is allowed to see. You can leave out names, emails and phone numbers.
    123127
    124128= Does it change how Contact Form 7 works? =
    … …  
    132136= Where is my data stored? =
    133137
    134 In your own WordPress database, in the plugin's tables, and attachments in a protected folder inside your uploads folder. Nothing is sent anywhere unless you switch on the optional location lookup (see External services).
     138In your own WordPress database, in the plugin's tables, and attachments in a protected folder inside your uploads folder. Nothing is sent anywhere unless you switch on the optional location lookup or choose to connect to Doshpup (see External services).
     139
     140= What is "Connect to Doshpup"? =
     141
     142Doshpup is the app that goes with this plugin. Connecting is optional and off until you do it: you create a Doshpup account, copy a connection key from it, and paste the key into Inquiries > Settings > Connect to Doshpup. From then on each new inquiry, and each change to one, is also kept in your Doshpup account, so your inquiries are safe if your website goes down and your team can work on them without logging in to WordPress. Inquiries already on your website are copied across when you connect. A status or type changed in Doshpup stays in Doshpup for now: it is not sent back to your website. Attached files stay on your website: only their names, types and sizes are sent. Disconnect at any time and the sending stops; what is already in Doshpup stays there. See External services for exactly what is sent.
     143
     144= Do I need a Doshpup account to use this plugin? =
     145
     146No. The plugin saves, sorts and tracks your inquiries on your own website with no account and no outside service. A Doshpup account is only needed if you choose to connect.
    135147
    136148= Who can see the share link? =
    … …  
    161173
    162174If your site is behind Cloudflare and you tell the plugin to trust proxy headers, the country is read from Cloudflare's header instead, without contacting any outside service.
     175
     176**Doshpup (optional)**
     177
     178This plugin can keep a copy of your inquiries in a Doshpup account. Doshpup is an online service run by Comma5, the makers of this plugin. This is **off by default** and only happens if an administrator pastes a Doshpup connection key into Inquiries > Settings > Connect to Doshpup.
     179
     180When you connect, and when you press "Test connection", the key is sent to Doshpup to check it. When you connect, the plugin sends the inquiries already on your website. While connected, it sends each new inquiry shortly after it is saved, and again whenever one changes (its status, type, spam flag, email status, location or contact details). "Send existing inquiries", and Sync in Doshpup, send them all again. Each time, this is sent:
     181
     182* the visitor's name, company, email address, phone number and message, and their other answers on the form;
     183* where they came from: campaign tags, the referring site, the page they landed on and the pages they viewed, their Google Analytics visitor number if your site uses it, and their country, state or region and city if you have switched on location lookup;
     184* the form's name, the inquiry's type, status, spam flag and reason, and whether its notification email was sent;
     185* the inquiry's history, including the display names of the WordPress users who made changes;
     186* the name, type and size of each attached file.
     187
     188Attached files themselves are never sent, and neither are the notification email or its error. Doshpup stores the copies in Australia. Disconnecting stops the sending and removes the key from your website; copies already sent stay in your Doshpup account, including copies of inquiries you later delete in WordPress. You remain responsible for your customers' details, so mention Doshpup in your own privacy policy if you connect.
     189
     190* Service: https://doshpup.com/ (inquiries are sent to https://api.doshpup.com)
     191* Terms of service: https://comma5.au/terms/
     192* Privacy policy: https://doshpup.com/privacy/
    163193
    164194== Screenshots ==
    … …  
    1691994. Live results on any phone through a private share link, with no names or contact details.
    1702005. Choose which forms bring in sales leads and which bring in help requests.
     2016. Optional: connect to Doshpup and your team can work on inquiries without a WordPress login.
    171202
    172203== Changelog ==
     204
     205= 1.3.0 =
     206* New logo: the coloured Doshpup logo, matching the Doshpup app.
     207* New: create a free Doshpup account straight from Inquiries > Settings > Connect to Doshpup.
     208* New screenshots and help pages.
     209* Tested with WordPress 7.2.
     210* New: Connect to Doshpup (optional, off unless you connect). Paste a connection key from your Doshpup account in Inquiries > Settings and a copy of each inquiry is kept there. Attached files stay on your website. Connecting copies the inquiries already on your website as well as new ones. You can test the connection, send everything again (from here, or with Sync in Doshpup), and disconnect at any time. See External services for what is sent.
     211* The connection key box is a plain text box, so browsers no longer offer to save the key as a password.
    173212
    174213= 1.2.1 =
  • c5-inquiries/tags/1.3.0/uninstall.php

    r3806787 r3833969  
    1616// Each user's "new since you last looked" marker for the menu count.
    1717delete_metadata( 'user', 0, 'c5lb_seen_id', '', true );
     18// The Doshpup connection key never outlives the plugin, whether or not inquiries are kept.
     19delete_option( 'c5lb_doshpup' );
     20delete_option( 'c5lb_doshpup_lock' );
     21wp_clear_scheduled_hook( 'c5lb_doshpup_sync' );
     22wp_clear_scheduled_hook( 'c5lb_doshpup_sweep' );
    1823
    1924$c5lb_settings = get_option( 'c5lb_settings', array() );
  • c5-inquiries/trunk/assets/doshpup-icon.svg

    r3806787 r3833969  
    11<svg role="img" aria-label="Doshpup" viewBox="0 0 125 110" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
     2    <!-- Pack colours, left to right: Inquiries, Quotes, Money, Orders, Follow-ups -->
     3    <defs><linearGradient id="pack" gradientUnits="userSpaceOnUse" x1="4" y1="0" x2="209" y2="0" gradientTransform="rotate(-28 106 93)"><stop offset="0%" stop-color="#e27d95"/><stop offset="20%" stop-color="#e27d95"/><stop offset="20%" stop-color="#4fa9a3"/><stop offset="40%" stop-color="#4fa9a3"/><stop offset="40%" stop-color="#5fae7a"/><stop offset="60%" stop-color="#5fae7a"/><stop offset="60%" stop-color="#e8935a"/><stop offset="80%" stop-color="#e8935a"/><stop offset="80%" stop-color="#9486d8"/><stop offset="100%" stop-color="#9486d8"/></linearGradient></defs>
    24    <g transform="matrix(1,0,0,1,-54.7553,-38.9917)">
    35        <g>
    46            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    5                 <path d="M172.014,121.488C172.014,121.488 175.378,130.429 178.122,138.043C180.867,145.656 188.392,148.578 198.219,129.19C208.045,109.802 213.269,90.414 213.269,80.056C213.269,69.698 204.858,51.284 164.135,31.984C164.135,31.984 153.865,0.113 107.121,0.113C60.377,0.113 49.045,31.984 49.045,31.984C49.045,31.984 0,53.409 0,81.561C0,92.008 3.541,104.136 11.243,121.266C18.945,138.397 24.124,143.576 29.701,143.576C35.279,143.576 37.271,128.837 41.254,121.93C41.254,121.93 42.715,140.787 54.003,160.175C65.29,179.563 84.679,187 108.582,187C132.485,187 152.537,175.048 161.036,156.855C169.535,138.662 172.014,121.488 172.014,121.488Z" style="fill:rgb(113,155,208);fill-rule:nonzero;"/>
     7                <path d="M172.014,121.488C172.014,121.488 175.378,130.429 178.122,138.043C180.867,145.656 188.392,148.578 198.219,129.19C208.045,109.802 213.269,90.414 213.269,80.056C213.269,69.698 204.858,51.284 164.135,31.984C164.135,31.984 153.865,0.113 107.121,0.113C60.377,0.113 49.045,31.984 49.045,31.984C49.045,31.984 0,53.409 0,81.561C0,92.008 3.541,104.136 11.243,121.266C18.945,138.397 24.124,143.576 29.701,143.576C35.279,143.576 37.271,128.837 41.254,121.93C41.254,121.93 42.715,140.787 54.003,160.175C65.29,179.563 84.679,187 108.582,187C132.485,187 152.537,175.048 161.036,156.855C169.535,138.662 172.014,121.488 172.014,121.488Z" style="fill:url(#pack);fill-rule:nonzero;"/>
    68            </g>
    79            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    … …  
    911            </g>
    1012            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    11                 <path d="M61.838,93.512C60.331,93.512 58.823,92.932 57.68,91.775C55.413,89.479 55.437,85.779 57.733,83.511L78.847,62.662C81.141,60.397 84.842,60.417 87.111,62.715C89.377,65.011 89.354,68.711 87.058,70.979L65.943,91.828C64.805,92.951 63.322,93.512 61.838,93.512Z" style="fill:rgb(113,155,208);fill-rule:nonzero;"/>
     13                <path d="M61.838,93.512C60.331,93.512 58.823,92.932 57.68,91.775C55.413,89.479 55.437,85.779 57.733,83.511L78.847,62.662C81.141,60.397 84.842,60.417 87.111,62.715C89.377,65.011 89.354,68.711 87.058,70.979L65.943,91.828C64.805,92.951 63.322,93.512 61.838,93.512Z" style="fill:url(#pack);fill-rule:nonzero;"/>
    1214            </g>
    1315            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    14                 <path d="M83.085,92.716C81.609,92.716 80.132,92.16 78.994,91.044L58.278,70.727C55.974,68.467 55.938,64.767 58.198,62.463C60.458,60.16 64.156,60.124 66.461,62.383L87.177,82.701C89.48,84.961 89.517,88.66 87.257,90.964C86.113,92.131 84.599,92.716 83.085,92.716Z" style="fill:rgb(113,155,208);fill-rule:nonzero;"/>
     16                <path d="M83.085,92.716C81.609,92.716 80.132,92.16 78.994,91.044L58.278,70.727C55.974,68.467 55.938,64.767 58.198,62.463C60.458,60.16 64.156,60.124 66.461,62.383L87.177,82.701C89.48,84.961 89.517,88.66 87.257,90.964C86.113,92.131 84.599,92.716 83.085,92.716Z" style="fill:url(#pack);fill-rule:nonzero;"/>
    1517            </g>
    1618            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    17                 <path d="M150.412,77.046C150.412,82.473 146.013,86.873 140.586,86.873C135.158,86.873 130.759,82.473 130.759,77.046C130.759,71.619 135.158,67.219 140.586,67.219C146.013,67.219 150.412,71.619 150.412,77.046Z" style="fill:rgb(113,155,208);fill-rule:nonzero;"/>
     19                <path d="M150.412,77.046C150.412,82.473 146.013,86.873 140.586,86.873C135.158,86.873 130.759,82.473 130.759,77.046C130.759,71.619 135.158,67.219 140.586,67.219C146.013,67.219 150.412,71.619 150.412,77.046Z" style="fill:url(#pack);fill-rule:nonzero;"/>
    1820            </g>
    1921            <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)">
    20                 <path d="M124.296,146.01C124.296,155.985 116.21,164.071 106.236,164.071C96.261,164.071 88.175,155.985 88.175,146.01C88.175,136.036 96.261,127.95 106.236,127.95C116.21,127.95 124.296,136.036 124.296,146.01Z" style="fill:rgb(113,155,208);fill-rule:nonzero;"/>
     22                <path d="M124.296,146.01C124.296,155.985 116.21,164.071 106.236,164.071C96.261,164.071 88.175,155.985 88.175,146.01C88.175,136.036 96.261,127.95 106.236,127.95C116.21,127.95 124.296,136.036 124.296,146.01Z" style="fill:url(#pack);fill-rule:nonzero;"/>
    2123            </g>
    2224        </g>
  • c5-inquiries/trunk/c5-inquiries.php

    r3808216 r3833969  
    44 * Plugin URI:        https://doshpup.com/
    55 * Description:       Never miss another customer inquiry. Saves every Contact Form 7 inquiry in WordPress, with attachments and where the visitor came from, so no lead is lost. Sorts inquiries into Sales and Help, tracks each one to Won or Resolved, and shows live analytics you can share.
    6  * Version:           1.2.1
     6 * Version:           1.3.0
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    2525}
    2626
    27 define( 'C5LB_VERSION', '1.2.1' );
     27define( 'C5LB_VERSION', '1.3.0' );
    2828define( 'C5LB_DB_VERSION', '7' );
    2929define( 'C5LB_FILE', __FILE__ );
    … …  
    5959require_once C5LB_DIR . 'includes/class-c5lb-abilities.php';
    6060require_once C5LB_DIR . 'includes/class-c5lb-report.php';
     61require_once C5LB_DIR . 'includes/class-c5lb-doshpup.php';
    6162
    6263register_activation_hook(
    … …  
    6667                C5LB_Roles::install();
    6768                delete_option( 'c5lb_rules_version' ); // Adds the share-link address on the next page load.
     69                C5LB_Doshpup::ensure_sweep();
    6870        }
    6971);
    … …  
    7375                wp_clear_scheduled_hook( 'c5lb_cleanup_spam' );
    7476                wp_clear_scheduled_hook( 'c5lb_send_report' );
     77                wp_clear_scheduled_hook( 'c5lb_doshpup_sync' );
     78                wp_clear_scheduled_hook( 'c5lb_doshpup_sweep' );
    7579                flush_rewrite_rules( false );
    7680        }
    … …  
    9195                C5LB_Abilities::init();
    9296                C5LB_Report::init();
     97                C5LB_Doshpup::init();
    9398
    9499                if ( is_admin() ) {
  • c5-inquiries/trunk/includes/class-c5lb-db.php

    r3806787 r3833969  
    4545                // Core fields are columns; anything else from the form lives in extra_fields (JSON).
    4646                // lead_status is the enquiry's place in follow-up (New, Contacted, ...).
    47                 // status, retry_count, last_error and synced_at are reserved for a future CRM sync and unused for now.
     47                // status, last_error and synced_at are the send queue for Connect to Doshpup (C5LB_Doshpup); retry_count is unused.
    4848                $sql_submissions = "CREATE TABLE {$s} (
    4949  id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    … …  
    360360        public static function update_submission( $id, array $data ) {
    361361                global $wpdb;
    362                 return $wpdb->update( self::submissions_table(), $data, array( 'id' => (int) $id ) );
     362                $done = $wpdb->update( self::submissions_table(), $data, array( 'id' => (int) $id ) );
     363                if ( $done ) {
     364                        /**
     365                         * Fires after an inquiry's row changed (status, type, spam, email status, location, contact details).
     366                         *
     367                         * @param int   $id   Submission id.
     368                         * @param array $data The columns that were written.
     369                         */
     370                        do_action( 'c5lb_submission_updated', (int) $id, $data );
     371                }
     372                return $done;
    363373        }
    364374
  • c5-inquiries/trunk/includes/class-c5lb-settings.php

    r3806787 r3833969  
    588588                $api    = self::has_abilities_api();
    589589                $mcp    = self::has_mcp_adapter();
    590                 $manual = 'https://comma5.au/comma5-inquiries-manual/#ai';
     590                $manual = 'https://comma5.au/doshpup-inquiries-manual/#ai';
    591591                $checks = array(
    592592                        array( $api, 'WordPress ' . get_bloginfo( 'version' ), $api ? 'Has the Abilities API that AI assistants use.' : 'AI assistants need WordPress 6.9 or later. Everything else in Doshpup Inquiries works as normal.' ),
    … …  
    673673                        </div>
    674674
     675                        <?php C5LB_Doshpup::render_card(); ?>
     676
    675677                        <form method="post" action="options.php">
    676678                                <?php settings_fields( self::GROUP ); ?>
  • c5-inquiries/trunk/readme.txt

    r3808216 r3833969  
    33Tags: contact form 7, cf7 database, leads, lead tracking, crm
    44Requires at least: 6.2
    5 Tested up to: 7.1
     5Tested up to: 7.2
    66Requires PHP: 7.4
    7 Stable tag: 1.2.1
     7Stable tag: 1.3.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    3131
    3232* **Works on the forms you already build.** Activate it and the next submission is captured. No form changes are needed: name, email, phone and message are found automatically, and every other field is saved too.
    33 * **Nothing to host or bill.** It is free, needs no outside service, and the data stays in the client's own database.
     33* **Nothing to host or bill.** It is free, needs no outside service, and the data stays in the client's own database, unless they choose to connect to Doshpup.
    3434* **Clients who log in as Editors.** Tick one box and Editors can see and update inquiries, while Settings and delete stay with administrators (and export too, unless you choose to allow it).
    3535* **A weekly summary email.** The week's inquiries, how the week compares with the ones before, where inquiries came from, and failed emails or inquiries still waiting for a reply.
    … …  
    3939Free. No account, no monthly fee. Made by Comma5, a software company in Melbourne, Australia.
    4040
     41**Goes further with Doshpup (optional)**
     42
     43Doshpup is the app that goes with this plugin. Connect your website and each inquiry is also kept in your Doshpup account, in Australia, so it is safe if the website goes down. Your team can see inquiries, assign them and follow them up without a WordPress login. The plugin works fully on its own, and nothing is sent unless you connect. Create an account at doshpup.com.
     44
    4145**Works with AI assistants**
    4246
    … …  
    5155Each inquiry is sorted into **Sales** or **Help**. Sales leads move through New, Contacted, Quoted, Won and Lost. Help requests are tracked as cases until they are resolved, so every one gets an answer. One click changes a status, right from the list.
    5256
    53 Everything stays on your own site. No account or outside service is needed.
     57Everything stays on your own site unless you choose to connect to Doshpup. No account or outside service is needed.
    5458
    5559**Inquiries**
    … …  
    100104= Is it really free? =
    101105
    102 Yes. There is no account or monthly fee, and it runs entirely on your own site. It is made by Comma5, an Australian software company that also offers paid products such as Comma5 Live. You never need them to use this plugin.
     106Yes. There is no account or monthly fee, and it runs entirely on your own site. It is made by Comma5, an Australian software company that also offers paid products such as Comma5 Live. You never need them to use this plugin. Connecting to Doshpup is optional, and the plugin never needs it.
    103107
    104108= Can my client see inquiries without being an administrator? =
    … …  
    116120= Does it work with AI assistants like Claude or ChatGPT? =
    117121
    118 Yes, from version 1.1.0, on WordPress 6.9 or later. Install the free MCP Adapter plugin from WordPress (https://github.com/WordPress/mcp-adapter), turn on "Allow AI assistants to read inquiries" in Inquiries > Settings > AI assistants, and connect your AI client with an Application Password. It is off by default. Step-by-step instructions: https://comma5.au/comma5-inquiries-manual/#ai
     122Yes, from version 1.1.0, on WordPress 6.9 or later. Install the free MCP Adapter plugin from WordPress (https://github.com/WordPress/mcp-adapter), turn on "Allow AI assistants to read inquiries" in Inquiries > Settings > AI assistants, and connect your AI client with an Application Password. It is off by default. Step-by-step instructions: https://comma5.au/doshpup-inquiries-manual/#ai
    119123
    120124= Do you send my inquiries to an AI service? =
    121125
    122 No. The plugin never sends anything to an AI service, or to us. Nothing happens unless you switch it on: then your own AI client connects to your site as a WordPress user you choose, and sees only what that user is allowed to see. You can leave out names, emails and phone numbers.
     126No. The plugin never sends anything to an AI service. Nothing happens unless you switch it on: then your own AI client connects to your site as a WordPress user you choose, and sees only what that user is allowed to see. You can leave out names, emails and phone numbers.
    123127
    124128= Does it change how Contact Form 7 works? =
    … …  
    132136= Where is my data stored? =
    133137
    134 In your own WordPress database, in the plugin's tables, and attachments in a protected folder inside your uploads folder. Nothing is sent anywhere unless you switch on the optional location lookup (see External services).
     138In your own WordPress database, in the plugin's tables, and attachments in a protected folder inside your uploads folder. Nothing is sent anywhere unless you switch on the optional location lookup or choose to connect to Doshpup (see External services).
     139
     140= What is "Connect to Doshpup"? =
     141
     142Doshpup is the app that goes with this plugin. Connecting is optional and off until you do it: you create a Doshpup account, copy a connection key from it, and paste the key into Inquiries > Settings > Connect to Doshpup. From then on each new inquiry, and each change to one, is also kept in your Doshpup account, so your inquiries are safe if your website goes down and your team can work on them without logging in to WordPress. Inquiries already on your website are copied across when you connect. A status or type changed in Doshpup stays in Doshpup for now: it is not sent back to your website. Attached files stay on your website: only their names, types and sizes are sent. Disconnect at any time and the sending stops; what is already in Doshpup stays there. See External services for exactly what is sent.
     143
     144= Do I need a Doshpup account to use this plugin? =
     145
     146No. The plugin saves, sorts and tracks your inquiries on your own website with no account and no outside service. A Doshpup account is only needed if you choose to connect.
    135147
    136148= Who can see the share link? =
    … …  
    161173
    162174If your site is behind Cloudflare and you tell the plugin to trust proxy headers, the country is read from Cloudflare's header instead, without contacting any outside service.
     175
     176**Doshpup (optional)**
     177
     178This plugin can keep a copy of your inquiries in a Doshpup account. Doshpup is an online service run by Comma5, the makers of this plugin. This is **off by default** and only happens if an administrator pastes a Doshpup connection key into Inquiries > Settings > Connect to Doshpup.
     179
     180When you connect, and when you press "Test connection", the key is sent to Doshpup to check it. When you connect, the plugin sends the inquiries already on your website. While connected, it sends each new inquiry shortly after it is saved, and again whenever one changes (its status, type, spam flag, email status, location or contact details). "Send existing inquiries", and Sync in Doshpup, send them all again. Each time, this is sent:
     181
     182* the visitor's name, company, email address, phone number and message, and their other answers on the form;
     183* where they came from: campaign tags, the referring site, the page they landed on and the pages they viewed, their Google Analytics visitor number if your site uses it, and their country, state or region and city if you have switched on location lookup;
     184* the form's name, the inquiry's type, status, spam flag and reason, and whether its notification email was sent;
     185* the inquiry's history, including the display names of the WordPress users who made changes;
     186* the name, type and size of each attached file.
     187
     188Attached files themselves are never sent, and neither are the notification email or its error. Doshpup stores the copies in Australia. Disconnecting stops the sending and removes the key from your website; copies already sent stay in your Doshpup account, including copies of inquiries you later delete in WordPress. You remain responsible for your customers' details, so mention Doshpup in your own privacy policy if you connect.
     189
     190* Service: https://doshpup.com/ (inquiries are sent to https://api.doshpup.com)
     191* Terms of service: https://comma5.au/terms/
     192* Privacy policy: https://doshpup.com/privacy/
    163193
    164194== Screenshots ==
    … …  
    1691994. Live results on any phone through a private share link, with no names or contact details.
    1702005. Choose which forms bring in sales leads and which bring in help requests.
     2016. Optional: connect to Doshpup and your team can work on inquiries without a WordPress login.
    171202
    172203== Changelog ==
     204
     205= 1.3.0 =
     206* New logo: the coloured Doshpup logo, matching the Doshpup app.
     207* New: create a free Doshpup account straight from Inquiries > Settings > Connect to Doshpup.
     208* New screenshots and help pages.
     209* Tested with WordPress 7.2.
     210* New: Connect to Doshpup (optional, off unless you connect). Paste a connection key from your Doshpup account in Inquiries > Settings and a copy of each inquiry is kept there. Attached files stay on your website. Connecting copies the inquiries already on your website as well as new ones. You can test the connection, send everything again (from here, or with Sync in Doshpup), and disconnect at any time. See External services for what is sent.
     211* The connection key box is a plain text box, so browsers no longer offer to save the key as a password.
    173212
    174213= 1.2.1 =
  • c5-inquiries/trunk/uninstall.php

    r3806787 r3833969  
    1616// Each user's "new since you last looked" marker for the menu count.
    1717delete_metadata( 'user', 0, 'c5lb_seen_id', '', true );
     18// The Doshpup connection key never outlives the plugin, whether or not inquiries are kept.
     19delete_option( 'c5lb_doshpup' );
     20delete_option( 'c5lb_doshpup_lock' );
     21wp_clear_scheduled_hook( 'c5lb_doshpup_sync' );
     22wp_clear_scheduled_hook( 'c5lb_doshpup_sweep' );
    1823
    1924$c5lb_settings = get_option( 'c5lb_settings', array() );
Note: See TracChangeset for help on using the changeset viewer.