Plugin Directory

Changeset 1385866


Ignore:
Timestamp:
04/04/2016 03:05:29 AM (10 years ago)
Author:
lynton_reed
Message:

commits for 3.1.0 release includes

Location:
work-the-flow-file-upload/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • work-the-flow-file-upload/trunk/README.txt

    r1228203 r1385866  
    325325
    326326== Changelog ==
     327= 3.1.0 =
     328* Updates to better support wtf_fu_list_files shortcode.
     329* Addition of %%FILEDATETIME%% placeholder for wtf_fu_list_files.
     330* Some redundant code and logging removed.
     331
     332= 3.0.1 =
     333* Minor update to remove warnings for "Headers already sent errors" on the templates and workflows pages.
     334
    327335= 3.0.0 =
    328336* Improved performance : revised javascript routines to use jquery in no-conflicts mode, allowing use of wordpress supplied jquery scripts instead of importing from code.jquery.
     
    487495
    488496== Upgrade Notice ==
     497= 3.1.0 =
     498* PRO users should upgrade to improve support for the wtf_fu_list_files shortcode, non PRO users should also upgrade to ensure they have the latest code base.
     499* This version (3.1.0) of the core is required for the PRO release 3.1.0.
     500
     501= 3.0.1 =
     502* Minor update to remove warnings for "Headers already sent errors" on the templates and workflows pages.
     503
    489504= 3.0.0 =
    490505* Improved performance : revised javascript routines to use JQuery in no-conflicts mode, allowing use of wordpress supplied jquery scripts instead of importing from code.jquery.
  • work-the-flow-file-upload/trunk/admin/class-wtf-fu-admin.php

    r1228203 r1385866  
    439439     */
    440440    public function add_action_links($links) {
    441         log_me(array('add_action_links' => $links));
    442441        return array_merge(
    443442                array(
  • work-the-flow-file-upload/trunk/includes/class-wtf-fu-option-definitions.php

    r1206638 r1385866  
    205205                'user_info' => "<tr><th colspan=4>%%LOGIN_NAME%% (%%NUMBER_OF_FILES%% files, %%TOTAL_FILE_SIZE%%)</th></tr>",
    206206                'table_class' => 'wtf_list_files',
    207                 'line_format' => "<tr><td class=number>%%NUMBER%%</td><td class=thummbnail>%%MEDIUM%%</td><td class=vertical>%%FILENAME%%%%AUDIO%%</td><td class=icon>%%ICON%%&nbsp;%%FILESIZE%%</td></tr>",               
     207                'line_format' => "<tr><td class=number>%%NUMBER%%</td><td class=thummbnail>%%THUMBNAIL%%</td><td class=vertical>%%FILENAME%%<br />%%AUDIO%%</td><td class=icon>%%ICON%%&nbsp;%%FILESIZE%%</td></tr>",   
     208                'filetimeformat' => "M d Y H:i:s",
    208209                'download_links' => '1',
    209210                'gallery' => '1',
     
    366367                'wtf_upload_subdir' => 'The subdirectory directory for the user files. This should match the value used to upload the files in the wtf_upload shortcode attribute of the same name.',
    367368                'table_class' => 'the css class to use for the table of files, use this to provide your own css formatting e.g. mytableclass. To create your own css class formatting have a look at the default css in the work-the-flow-file-upload-pro/public/ssets/css/wtf-list-files.css file',
    368                 'line_format' => "The format for a single file item as an html table row. The field placeholders %%NUMBER%%, %%THUMBNAIL%%, %%FILENAME%%, %%ICON%%, and %%FILESIZE%% may be use to construct the row. e.g. "
     369                'line_format' => "The format for a single file item as an html table row. The field placeholders %%NUMBER%%, %%THUMBNAIL%%, %%FILENAME%%, %%ICON%%, %%FILESIZE%%, and %%FILEDATETIME%% may be used to construct the row. e.g. "
    369370               . "<tr><td>%%NUMBER%%</td><td>%%THUMBNAIL%%</td><td>%%FILENAME%%</td><td>%%ICON%%&nbsp;<small>%%FILESIZE%%</small></td></tr>. Note that the string MUST be enclosed with <tr> and </tr> tags,"
    370371               . " note that anthing outside these tags is stripped out to remove the (annoying) WP auto line formatting <br /> and <p> tags. You may include more than one row if desired. eg <tr>...</tr><tr>...</tr>"
     
    373374               'user_info' => "The format for display of each users information. Setting this to an empty string \"\" will cause no user information to be displayed. "
    374375               . "The placeholders %%USER_ID%%, %%LOGIN_NAME%%, %%FIRST_NAME%%, %%LAST_NAME%%, %%NUMBER_OF_FILES%%, %%TOTAL_FILE_SIZE%% may be used.",
     376               'filetimeformat' => "The php date format string to use with the %%FILEDATETIME%% placeholder. Please see http://php.net/manual/en/function.date.php for a list of php date formatting codes.",
    375377               'download_links' => '0 (false) or 1 (true). Provides a link to the file for download on the %%FILENAME%% field .',
    376378                'gallery' => 'set to 1 (true) to showcase list thumnail and medium images fullsize in a gallery display when clicked.',               
  • work-the-flow-file-upload/trunk/includes/wtf-fu-common-utils.php

    r1206638 r1385866  
    10691069    }   
    10701070    $info->filesize = filesize($filename);
     1071    $info->filetime = filemtime($filename);
    10711072
    10721073    return $info;
  • work-the-flow-file-upload/trunk/public/class-wtf-fu.php

    r1228203 r1385866  
    4444     * @var     string
    4545     */
    46     const VERSION = '3.0.1';
     46    const VERSION = '3.1.0';
    4747
    4848    /**
     
    6666     */
    6767    private function __construct() {
    68 
    69         // log_me('__construct  Wtf_Fu ');
    70         //log_me('memory=' . memory_get_usage(true) . "\n");
    71         //log_me('peak memory=' . memory_get_peak_usage(true) . "\n");
    7268
    7369        add_action('init', array($this, 'check_for_upgrade'));
     
    305301                        Wtf_Fu_Options::update_options_from_default_options($k, $v['options'], $default_stage_options);
    306302                    }
    307 
    308303                    break;
    309304            }
    310 
    311             log_me("upgrading from $installed_ver to " . self::VERSION);
    312            
     305            // log_me("upgrading from $installed_ver to " . self::VERSION);         
    313306            update_option("wtf-fu_version", self::VERSION);
    314307        }
     
    372365
    373366        if (self::wtf_fu_has_shortcode('wtf_fu')) {
    374            
    375 //            'jquery-ui-autocomplete','jquery-ui-button',
    376 //                'jquery-ui-datepicker', 'jquery-ui-dialog', 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-menu', 'jquery-ui-mouse',
    377 //                'jquery-ui-position', 'jquery-ui-progressbar', 'jquery-ui-selectable','jquery-ui-resizable','jquery-ui-selectmenu',
    378 //                'jquery-ui-slider', 'jquery-ui-tooltip', 'jquery-ui-tabs');
    379367           
    380368            // use WP supplied JQuery libs where possible.
     
    436424                            'absoluteurl' => wtf_fu_JQUERY_FILE_UPLOAD_URL . 'cors/result.html?%s'// , 'security' => wp_create_nonce('wtf_fu_upload_nonce')                           
    437425                ));
    438 
    439                 //log_me("uploadFilesHtml  wp_localize_script for $fileupload_handle = $ret");
    440             } else {
    441                 //log_me("$fileupload_handle is already enqueued");
    442426            }
    443427           
     
    460444
    461445    function file_upload_shortcode($attr) {
    462         // log_me("upload_shortcode hook fired");
    463446        $shortcode_instance = new Wtf_Fu_Fileupload_Shortcode($attr);
    464447        $content = $shortcode_instance->generate_content();
     
    512495                $content = $wf_instance->generate_content($options);
    513496
    514                 if (!empty($content)) {
    515                     //global $shortcode_tags;
    516                     //log_me(array('shortcode_tags' => $shortcode_tags));
    517 //                    $content = do_shortcode($content); // Process any embedded short codes.
    518                     //$content = apply_filters( 'the_content', $content );
    519                 }
    520 
    521497                return $content;
    522498
    523499            case 'fileupload' :
    524500                return $this->file_upload_shortcode($attr);
    525 
    526501
    527502            case 'show_files' :
  • work-the-flow-file-upload/trunk/work-the-flow-file-upload.php

    r1228203 r1385866  
    55 * Plugin URI:        http://wtf-fu.com
    66 * Description:       Front end Html5 File Upload and configurable Workflow steps. Multiple file drag and drop, gallery image display, file reordering and archiving.
    7  * Version:           3.0.1
     7 * Version:           3.1.0
    88 * Author:            Lynton Reed
    99 * Author URI:        http://wtf-fu.com
Note: See TracChangeset for help on using the changeset viewer.