SWF TODO List:

Not done:

  1. Include source code for concept map
  2. Include webcam capture in debugger app. Also make it movable and add "Take snapshot" button.
  3. Error on course participation page; modulemissingcode. Need to complete code in mod/swf/lib.php for reports
  4. Several functions in mod/swf/lib.php are incomplete.
  5. Hash file is being pushed into fileurl DB cell - Can you stop it? i.e. leave it blank?
  6. Large video files, 100MB+ put excessive load on server (PHP memory use). Possible to hand it over to Apache/server to manage?
  7. Add course completion support. By view and by grade. http://docs.moodle.org/dev/Activity_completion_API
  8. Add available from and to dates support. Simple enough to test for dates and change output. Or use Moodle core? Not implemented yet. Wait until Moodle 2.6+
  9. Develop captioning plugin for Strobe: http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Captions

Done:

  1. Complete code for configxml parameters in mod_form.php and view.php
  2. Fix preloader app - Throwing errors: TypeError: Error #1009: Cannot access a property or method of a null object reference. at engestrom_activity_theory_fla::MainTimeline/frame1()
  3. Prepend namespace on file names listed from swfcontent so that users can see which source their from and to avoid confusing naming schemas.
  4. Add timecreated timemodified and modifiedby DB entries + code.
  5. Update Snapshot.php as a generic file saving app to work with new module. Save user files to /swfcontent/userdata/
  6. Develop content cartridge checker as open source app for distribution with module with source code
  7. Secure swf/content.php script to prevent snooping outside repository/swfcontent/
  8. Split code on moodle/mod/swf/index.php into functions and create an indexlib.php page. - tidied up but still ugly
  9. Check backup and restore. Do they work? (Didn't restore grades is it supposed to or not?)
  10. Add created/modified by [name] to view.php and index.php pages, and mod_form.php?
  11. urlencode() name value pair input strings before embedding them.
  12. Test if uploaded "file required" works on mod_form.php
  13. The way video works now isn't satisfactory. Can we get it to deploy in one go: upload -> save -> view? Option to switch xmlurl= to file= ?
  14. content.php?file=etc... confuses Strobe and JW Player. Change to slashes? i.e. content.php/path/to/file.jpg
  15. Managing Moodle grade book grade items: 0% gradepass by default + instructions to edit gradebook
  16. Add option for teachers to select and view learner's activity report pages.
  17. Sort participants names by lastname.
  18. Add links to sort by lastname and firstname.
  19. Get JW Player to work through file.php Youtube doesn't work with JW5
  20. Get a better working version of expressInstall and/or error message.
  21. Test Flash Params: StageAlign, StageScaleMode, and fullscreen.
  22. Remove filetype on /moodle/mod/swf/mod_form.php and related functions. Make it work on the xmlurl list options.
  23. Remove xmlurl vs. xmlfile checking and internal vs. external file checking and constants from /moodle/mod/swf/lib.php and other files. They go into separate table columns; xmlurl and fileurl; and get chosen on /moodle/mod/swf/view.php
  24. Put all language strings into lang/en/swf.php
  25. xmlurl = dropdown list
  26. fileurl = file uploader
  27. Finish MILAs Content Cartridge Checker: Remove bit about Moodle 1.9
  28. Update /moodle/lib/amfphp/services/Snapshot.php to save files to /moodledata/repository/swfcontent/snapshots/
  29. Probably won't work with avatar camera... save to temp file and then to desktop? NOPE
  30. Eliminate tables: swf_sessions, swf_activities, swf_settings, swf_groups, and swf_users
  31. In $CFG eliminate jar_base and lap
  32. index.php page: A summary of user's activities from grade book again?
  33. SWF Activity heatmap for users
  34. Leave index.php report table row blank if there's no grade book entries.

3 options in dropdown list:

Get rid of evaluation settings?

Common module settings: show/hide works! :)

Show/hide intro works! :)

In table swf eliminate:

Matteo Scaramuccia's help from: https://moodle.org/mod/forum/discuss.php?d=231099:

  1. Trivial, you coud use '../../config.php' instead of dirname() for performances reasons. If you like to use absolute paths, which is nice as well, you could simplify it with just dirname(__FILE__).'/../../'
  2. Trivial, do not use @subpackage but @package mod_swf
  3. Fix, instead of using isset(_GET($content), use required_param('content', PARAM_PATH): it will do what you've coded in just one single line. Now the path will be valid if it will start with '/' which is fine, just a bit of refactoring in your work to consider '/' the root of your subfolder when creating $swf_file
  4. Enh, MIME type extraction. Get benefits from the Moodle Files API: include (= require_once()) lib/filelib.php and use $swf_mime = mimeinfo('type', basename($swf_file)) then simplify the switch by including all the case now based on the MIME Type you're supporting, defining a new boolean variable like $found = true NOT
  5. Change the conditional branch now based on $found, before being $swf_mime NOT
  6. Fix, use lib/filelib.php::send_file() (read the PHPDoc for the parameters) to send the file to the browser and get advantages of Partial Responses (HTTP 206) too which are used - it depends on the client - to serve parts of the file to simulate streaming especially when playing with the slider of a media viewer. Besides you'll stick with the Moodle Files API providing files the same way as Moodle does with the objects under its control: you'll share the same bugs (rare, really stable) but also the benefits wink NOT
  7. Enh, sending HTTP 404 could be implemented with lib/filelip.php::send_header_404() NOT
  8. Trivial, be kind and send an HTTP 404 when someone is trying to hack your content parameter with absolute system paths or whatever you find to be a nonexistent file within $CFG->dataroot.$CFG->swf_content_dir