In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001292 [In-Portal CMS] Front End feature request N/A 2012-05-18 04:53 2012-07-25 05:30
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-RC1
Status closed Product Version 5.1.3 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001292: Sorting already uploaded files
Description To make flash uploader even more powerful I'm proposing to add queue sorting capability to it.

To allow that I've added getSortedFiles function, that allows to sort uploaded files using uploader queue div IDs as input. As an example I've used following code (see http://jqueryui.com/demos/sortable/#display-grid):

$(document).ready(
    function () {
        var $uploader_id = '<inp2:project_InputName name="Gallery" js_escape="1"/>';

        $('#' + jq($uploader_id + '_queueinfo'))
        .sortable({
            update: function(event, ui) {
                var $new_order = $(this).sortable('toArray'),
                    $uploader = UploadsManager._Uploaders[$uploader_id],
                    $files = $uploader.getSortedFiles($new_order);

                $('#' + jq($uploader_id + '[order]')).val($files.join('|'));
            }
        })
        .disableSelection();
    }
);

jQuery sortable isn't included in in-portal, that's why by default you can't sort anything of course.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/BoPw8BaFR8g/discussion
Change Log Message Allows to sort uploaded files
Estimate Points 1
Attached Files patch file icon uploader_queue_sorting.patch [^] (4,597 bytes) 2012-05-18 04:53 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000456closed (5.1.0)alex Major Flash Uploader Redesign 

-  Notes
User avatar (0004654)
alex (manager)
2012-05-18 04:54

Will test all together later.
User avatar (0004655)
alex (manager)
2012-05-18 04:55

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001292: Sorting already uploaded files
User avatar (0004896)
alex (manager)
2012-07-25 05:30

Since 5.2.0/1.2.0 versions was released.

- Related Changesets
In-Portal CMS: 5.2.x r15347
Timestamp: 2012-05-18 04:55:58
Author: alex
Details ] Diff ]
Fixes 0001292: Sorting already uploaded files
mod - /in-portal/branches/5.2.x/core/admin_templates/incs/form_blocks.tpl Diff ] File ]
mod - /in-portal/branches/5.2.x/core/admin_templates/js/uploader/uploader.js Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/utility/formatters/upload_formatter.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:30 alex Note Added: 0004896
2012-07-25 05:30 alex Status resolved => closed
2012-05-18 04:55 alex Changeset attached 5.2.x r15347
2012-05-18 04:55 alex Note Added: 0004655
2012-05-18 04:55 alex Status reviewed and tested => resolved
2012-05-18 04:55 alex Fixed in Version => 5.2.0-RC1
2012-05-18 04:55 alex Resolution open => fixed
2012-05-18 04:55 alex Assigned To !COMMUNITY => alex
2012-05-18 04:54 alex Note Added: 0004654
2012-05-18 04:54 alex Status needs testing => reviewed and tested
2012-05-18 04:54 alex Assigned To => !COMMUNITY
2012-05-18 04:54 alex Developer => alex
2012-05-18 04:54 alex Status active => needs testing
2012-05-18 04:54 alex Reference => https://groups.google.com/d/topic/in-portal-dev/BoPw8BaFR8g/discussion
2012-05-18 04:53 alex Relationship added related to 0000456
2012-05-18 04:53 alex New Issue
2012-05-18 04:53 alex File Added: uploader_queue_sorting.patch
2012-05-18 04:53 alex Change Log Message => Allows to sort uploaded files
2012-05-18 04:53 alex Estimate Points => 1



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker