Plugin Directory

Changeset 3398138


Ignore:
Timestamp:
11/18/2025 02:59:28 PM (3 months ago)
Author:
repertibit
Message:

upload assets

Location:
shoot-my-file
Files:
10 added
2 edited

Legend:

Unmodified
Added
Removed
  • shoot-my-file/trunk/includes/classes.php

    r3398109 r3398138  
    451451    function get_by_token($token=''){
    452452        if(empty($token))return [];
    453 
    454         $cache_key='shootmyfile_get_by_token_'.md5($token);
     453       
     454        $tokencode=md5(implode('',$token));
     455        $cache_key='shootmyfile_get_by_token_'.$tokencode;
    455456        $q=wp_cache_get($cache_key,'shootmyfile');
    456457        if(false!==$q)return $q;
  • shoot-my-file/trunk/readme.txt

    r3398109 r3398138  
    11=== Shoot My File ===
    2 
    32Contributors: samsereni,repertibit
    4 
    53Donate link:
    6 
    74Tags: file transfer, file upload, private share, download link, easy sharing
    8 
    95Requires at least: 5.2
    10 
    116Requires PHP: 7.0
    12 
    137Tested up to: 6.8
    14 
    158Stable tag: 1.0.0
    16 
    179License: GPLv2 or later
    18 
    1910License URI: https://www.gnu.org/licenses/gpl-2.0.html
    20 
    21 
    2211
    2312A private file transfer. Share files with users, collaborators or clients, directly from your WordPress site with a unique, time-limited link
    2413
    25 
    26 
    2714== Description ==
    28 
    2915Upload your files and send the download link to whoever you want.
    30 
    31 
    3216
    3317Designed to be intuitive and powerful, this plugin allows you to upload files and send a unique download link to your recipients with just a few clicks. It is ideal for web agencies, freelancers, and businesses that need a reliable system for exchanging documents.
    3418
    35 
    36 
    3719= Some features =
    38 
    3920* Unique, time-limited download links.
    40 
    4121* Intuitive interface directly within WordPress.
    42 
    4322* Automatic compression of files into a .zip format.
    44 
    4523* Logs of access and downloads, with notifications to the sender.
    46 
    4724* Centralized management of all active shares.
    4825
    49 
    50 
    5126= How It Works =
    52 
    5327Once your files are uploaded, you can enter the recipient's email and a personalized message. The recipient will receive an email notification with a secure, randomly generated link. Clicking the link directs them to a public page that verifies the link's validity and allows them to download the files. For convenience, all sent files are automatically compressed into a single zip file before download. You'll get a notification as soon as a download starts.
    54 
    55 
    5628
    5729After this period, the download link will no longer be valid, but the files will remain saved on the server until the sender or an administrator deletes them manually, using the "delete" button in the list or in the details.
    5830
    59 
    60 
    6131= User Guide =
    62 
    6332* After installation, you will find a new menu item in the WordPress backend. Click on Shoot My File to access the sending form.
    64 
    6533* Use the form to select and upload the files you want to share.
    66 
    6734* Type in the email address of the recipient to whom you want to send the link.
    68 
    6935* Include a short accompanying message that will be included in the email notification.
    70 
    7136* Click the send button and the plugin will generate a unique link and send the email to the recipient.
    72 
    7337* After sending, you can check the status of your files and monitor download requests from the details page.
    74 
    7538* When a recipient starts the download, you will receive a notification via email.
    76 
    7739* There is a second menu item that allows you to view a list of all active shares. From here, you can check the expiration date, the number of downloads, and view the details of each individual share, including download logs.
    7840
    79 
    80 
    8141= Privacy Consent Configuration =
    82 
    8342To help you ensure your site is compliant with privacy regulations, we have integrated an informed consent checkbox on the plugin's public download page.
    84 
    85 
    8643
    8744For this consent system to work correctly, you need to set your Privacy Policy page (by default, it's the WordPress one) and, if you consider it necessary, also your Terms and Conditions page (by default, it's set to none).
    8845
    89 
    90 
    9146Once configured, an obligatory acceptance checkbox will be displayed on the download page with direct links to your legal documents. Remember that the Privacy Policy page must also be integrated with the data processing information specified by the plugin. The checkbox will only be visible if you set at least one of the two pages. If both are set to "none," the checkbox will not be visible, and the plugin will function without requiring user acceptance.
    9247
    93 
    94 
    9548= Email configuration =
    96 
    9749The sender email address that appears to the recipient depends on the default WordPress configuration.
    98 
    99 
    10050
    10151To ensure correct email delivery and prevent them from ending up in the spam folder, we strongly recommend you configure an SMTP (Simple Mail Transfer Protocol) service.
    10252
    103 
    104 
    10553Using a dedicated SMTP plugin is the best way to make sure emails from our plugin and WordPress are delivered reliably.
    10654
    107 
    108 
    10955== Frequently Asked Questions ==
    110 
    11156=What is the "Shoot My File" plugin?=
    112 
    11357It's a WordPress plugin that allows you to upload files and send a private and unique link to one or more recipients, so they can download them directly from your site.
    11458
    115 
    116 
    11759=What are the main features?=
    118 
    11960The plugin generates unique and time-limited download links, automatically compresses files into a single `.zip` archive for download, and tracks accesses and downloads. It also allows you to manage and delete shares.
    12061
    121 
    122 
    12362=How does the plugin work?=
    124 
    12563From the WordPress admin area, you upload the files, enter the recipient's email, and a personalized message. The recipient receives an email with a secure link to access a public page where they can download the files.
    12664
    127 
    128 
    12965=How can I send a file?=
    130 
    13166After installing and activating the plugin, you will find a new menu item in the WordPress admin panel. Go to "Shoot My File", use the form to select and upload the files, enter the recipient's email address, write a message, and click on "Send link".
    13267
    133 
    134 
    13568=How long does the download link last?=
    136 
    13769The link is valid for 30 days. After this period, it will no longer be possible to download the files using that link.
    13870
    139 
    140 
    14171=Are the files automatically deleted after the link expires?=
    142 
    14372No, the download link expires, but the files remain on the server until the user who uploaded them or an administrator manually deletes them from the share management page.
    14473
    145 
    146 
    14774=Can I monitor who has downloaded the files?=
    148 
    14975Yes, the plugin logs accesses and downloads. From the "List" section of the menu, you can see the details of each share, including the number of downloads and a history of actions, such as viewing the download page and starting the download.
    15076
    151 
    152 
    15377=Will I receive a notification when a file is downloaded?=
    154 
    15578Yes, you will receive an email notification when a user starts downloading the files.
    15679
    157 
    158 
    15980=Where are the files saved on my server?=
    160 
    16181The files are saved in a subfolder within `wp-content/uploads`, organized into folders with randomly generated names for security reasons.
    16282
    163 
    164 
    16583=How does IP address anonymization work?=
    166 
    16784For security and fraud prevention purposes, the plugin records the visitor's IP address but anonymizes it by obscuring the last block (e.g., `192.168.1.*`) or the last four digits for longer addresses (IPv6).
    16885
    169 
    170 
    17186=Can I customize the Privacy and Terms of Service pages?=
    172 
    17387Yes, in the plugin's "Settings" section, you can select a Privacy Policy and a Terms of Service page from a dropdown menu.
    17488
    175 
    176 
    17789=Is the plugin GDPR compliant?=
    178 
    17990The plugin is designed to assist with compliance, but the final responsibility lies with the site owner (the Data Controller). The plugin collects necessary data for share management and security, such as the recipient's email address and the anonymized IP.
    18091
    181 
    182 
    18392=What personal data does the plugin collect?=
    184 
    18593The plugin collects: the recipient's email address, accompanying message, sender's WordPress user ID, the date and time of access to the download page, the date and time of the download start, the acceptance of the terms, and the anonymized IP address.
    18694
    187 
    188 
    18995=Can I delete recipients' personal data?=
    190 
    19196Yes, the sender is the Data Controller of the recipient's data. You can permanently delete a share and all associated data and files through the plugin's "List" page. This ensures the right to erasure as required by the GDPR.
    19297
    193 
    194 
    19598== Screenshots ==
    196 
    197991. `screenshot-1.png` - form to fill out for uploading the files and sending the link
    198 
    1991002. `screenshot-2.png` - list of shared links
    200101
    201 
    202 
    203102== Changelog ==
    204 
    205103= 1.0.0 =
    206 
    207104* Initial release of the plugin.
    208 
    209105* Core functionality to upload files and send a private download link.
    210106
    211 
    212 
    213107== Upgrade Notice ==
Note: See TracChangeset for help on using the changeset viewer.