Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Files API, Forms Library
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      35625

      Description

      new forms element primarily used for managing of multiple file attachments

      1/ first version that do not needs javascript - plain old upload form and embedded file manager
      2/ ajax version

        Issue Links

          Activity

          Hide
          Petr Škoda added a comment -

          basic version in cvs, going to file new issue for 2/

          Show
          Petr Škoda added a comment - basic version in cvs, going to file new issue for 2/
          Hide
          Petr Škoda added a comment - - edited

          reopening - found a better way - yay!
          going to move the area files to draft area also when editing existing content - benefits:

          • less code
          • more secure
          • we can also cancel all file operations on form
          • upload limits and other server side validation will be much easier
          • it will be easier to understand too

          testing patch - going to commit it today

          Show
          Petr Škoda added a comment - - edited reopening - found a better way - yay! going to move the area files to draft area also when editing existing content - benefits: less code more secure we can also cancel all file operations on form upload limits and other server side validation will be much easier it will be easier to understand too testing patch - going to commit it today
          Hide
          Martin Dougiamas added a comment -

          Move or copy?

          If you are moving the files while editing, won't that break the content for others while it is being edited?

          Show
          Martin Dougiamas added a comment - Move or copy? If you are moving the files while editing, won't that break the content for others while it is being edited?
          Hide
          Petr Škoda added a comment -

          sure, only copying

          Show
          Petr Škoda added a comment - sure, only copying
          Hide
          Martin Dougiamas added a comment -

          Can I suggest renaming this "filemanager" or "filepickermulti" to make it more consistent for new developers approaching the API from the outside.

          Show
          Martin Dougiamas added a comment - Can I suggest renaming this "filemanager" or "filepickermulti" to make it more consistent for new developers approaching the API from the outside.
          Hide
          Martin Dougiamas added a comment -

          Renamed from "areafiles"

          Show
          Martin Dougiamas added a comment - Renamed from "areafiles"
          Hide
          Martin Dougiamas added a comment -

          Currently there is no support in draftfiles.php (which provides the content for filemanager) for the file picker - this needs to be changed.

          Show
          Martin Dougiamas added a comment - Currently there is no support in draftfiles.php (which provides the content for filemanager) for the file picker - this needs to be changed.
          Hide
          Dongsheng Cai added a comment -

          Added UI Mockup: <File manager interface (root)>

          Show
          Dongsheng Cai added a comment - Added UI Mockup: <File manager interface (root)>

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: