[Commits] [fluid-project/infusion] 01c05e: FLUD-3878: Comprehensive tests for ErrorsView.Sect...

noreply at github.com noreply at github.com
Fri Jun 24 16:27:57 UTC 2011


  Branch: refs/heads/master
  Home:   https://github.com/fluid-project/infusion

  Commit: 01c05e121ddfc4d603788aadc508da6defb81ad1
      https://github.com/fluid-project/infusion/commit/01c05e121ddfc4d603788aadc508da6defb81ad1
  Author: Colin Clark <colinbdclark at gmail.com>
  Date:   2011-06-17 (Fri, 17 Jun 2011)

  Changed paths:
    M src/webapp/components/uploader/js/ErrorsView.js
  A src/webapp/tests/component-tests/uploader/html/ErrorsView-test.html
  A src/webapp/tests/component-tests/uploader/js/ErrorsViewTests.js

  Log Message:
  -----------
  FLUD-3878: Comprehensive tests for ErrorsView.Section. Some still failing.


  Commit: 6f14a085fb7f657ceee13510ee4905a14c160929
      https://github.com/fluid-project/infusion/commit/6f14a085fb7f657ceee13510ee4905a14c160929
  Author: Colin Clark <colinbdclark at gmail.com>
  Date:   2011-06-17 (Fri, 17 Jun 2011)

  Changed paths:
    M src/webapp/components/uploader/js/ErrorsView.js
  M src/webapp/tests/component-tests/uploader/html/ErrorsView-test.html
  M src/webapp/tests/component-tests/uploader/js/ErrorsViewTests.js

  Log Message:
  -----------
  FLUID-3878: Full test suite, green bars.


  Commit: 9e8ae1fb32dac30a0c0170676a3cc343fca994b5
      https://github.com/fluid-project/infusion/commit/9e8ae1fb32dac30a0c0170676a3cc343fca994b5
  Author: Colin Clark <colinbdclark at gmail.com>
  Date:   2011-06-21 (Tue, 21 Jun 2011)

  Changed paths:
    M src/webapp/components/uiOptions/js/UIOptions.js
  M src/webapp/demos/uiOptions/FatPanelUIOptions/html/uiOptions.html
  M src/webapp/demos/uiOptions/FullNoPreviewUIOptions/html/uiOptions.html
  M src/webapp/demos/uiOptions/FullPreviewUIOptions/html/uiOptions.html
  M src/webapp/integration-demos/sakai/html/ui-options-fss-sakai.html
  M src/webapp/tests/component-tests/uiOptions/js/UIOptionsTests.js
  M src/webapp/tests/framework-tests/core/html/FluidIoC-test.html
  M src/webapp/tests/framework-tests/core/js/FluidIoCTests.js
  M src/webapp/tests/manual-tests/js/someKindOfNews.js

  Log Message:
  -----------
  Merge branch 'master' of github.com:fluid-project/infusion into FLUID-3878

* 'master' of github.com:fluid-project/infusion:
  FLUID-4291: Removed or reduced the un-necessary definitions of "templates" option on uiOptionsTemplateLoader from demos and tests.
  FLUID-4291: Modified ui options unit tests to ensure fluid.uiOptionsTemplateLoader works well when full template url, instead of a url with prefix placeholder, is given.
  FLUID-4291: Added new option prefix into fluid.uiOptionsTemplateLoader to simlify the template input.
  FLUID-4248: Added tests for IoC resolution of DOM Binder elements.
  Merge branch 'master', remote branch 'upstream/master'


  Commit: a2029f544017ac54e1883b557fde2811680b4b71
      https://github.com/fluid-project/infusion/commit/a2029f544017ac54e1883b557fde2811680b4b71
  Author: Colin Clark <colinbdclark at gmail.com>
  Date:   2011-06-23 (Thu, 23 Jun 2011)

  Changed paths:
    M src/webapp/components/uploader/html/Uploader.html
  A src/webapp/components/uploader/js/ErrorPanel.js
  R src/webapp/components/uploader/js/ErrorsView.js
  M src/webapp/components/uploader/js/Uploader.js
  M src/webapp/components/uploader/uploaderDependencies.json
  M src/webapp/demos/uploader/html/uploader.html
  A src/webapp/tests/component-tests/uploader/html/ErrorPanel-test.html
  R src/webapp/tests/component-tests/uploader/html/ErrorsView-test.html
  M src/webapp/tests/component-tests/uploader/html/Uploader-test.html
  M src/webapp/tests/component-tests/uploader/html/UploaderCompatibility-test.html
  A src/webapp/tests/component-tests/uploader/js/ErrorPanelTests.js
  R src/webapp/tests/component-tests/uploader/js/ErrorsViewTests.js

  Log Message:
  -----------
  FLUID-3878: Renamed ErrorsView to ErrorPanel for more consistent naming and to avoid conflicts with Image Gallery.


  Commit: 9c357112f71b5425213823a1e7395d1eeceeb110
      https://github.com/fluid-project/infusion/commit/9c357112f71b5425213823a1e7395d1eeceeb110
  Author: Colin Clark <colinbdclark at gmail.com>
  Date:   2011-06-23 (Thu, 23 Jun 2011)

  Changed paths:
    M src/webapp/components/uploader/uploaderDependencies.json

  Log Message:
  -----------
  FLUID-3878: Fixed casing bug in Uploader dependency declaration.


  Commit: 07b0b7c6be5c4f52ce9a8328fbf08d9ca0077e88
      https://github.com/fluid-project/infusion/commit/07b0b7c6be5c4f52ce9a8328fbf08d9ca0077e88
  Author: Colin Clark <colinbdclark at gmail.com>
  Date:   2011-06-23 (Thu, 23 Jun 2011)

  Changed paths:
    M src/webapp/components/uploader/js/ErrorPanel.js

  Log Message:
  -----------
  FLUID-3878: Hide errors when user starts to upload files.


  Commit: 25fdd0dd5d44c2971785e8b64bb06231ae8eaa89
      https://github.com/fluid-project/infusion/commit/25fdd0dd5d44c2971785e8b64bb06231ae8eaa89
  Author: Michelle D'Souza <michelled33 at gmail.com>
  Date:   2011-06-24 (Fri, 24 Jun 2011)

  Changed paths:
    M src/webapp/components/uploader/css/Uploader.css
  M src/webapp/components/uploader/html/Uploader.html
  A src/webapp/components/uploader/images/grey-4d4d4d-x-button.png
  A src/webapp/components/uploader/images/grey-999999-x-button.png
  A src/webapp/components/uploader/js/ErrorPanel.js
  M src/webapp/components/uploader/js/FlashUploaderSupport.js
  M src/webapp/components/uploader/js/HTML5UploaderSupport.js
  M src/webapp/components/uploader/js/Uploader.js
  M src/webapp/components/uploader/uploaderDependencies.json
  M src/webapp/demos/uploader/html/uploader.html
  A src/webapp/tests/component-tests/uploader/html/ErrorPanel-test.html
  M src/webapp/tests/component-tests/uploader/html/SWFUploadManager-test.html
  M src/webapp/tests/component-tests/uploader/html/Uploader-test.html
  M src/webapp/tests/component-tests/uploader/html/UploaderCompatibility-test.html
  A src/webapp/tests/component-tests/uploader/js/ErrorPanelTests.js
  M src/webapp/tests/component-tests/uploader/js/HTML5UploaderSupportTests.js
  M src/webapp/tests/component-tests/uploader/js/SWFUploadManagerTests.js
  M src/webapp/tests/component-tests/uploader/js/UploaderTests.js

  Log Message:
  -----------
  Merge remote-tracking branch 'colinbdclark/FLUID-3878'

* colinbdclark/FLUID-3878:
  FLUID-3878: Hide errors when user starts to upload files.
  FLUID-3878: Fixed casing bug in Uploader dependency declaration.
  FLUID-3878: Renamed ErrorsView to ErrorPanel for more consistent naming and to avoid conflicts with Image Gallery.
  FLUID-3878: Full test suite, green bars.
  FLUD-3878: Comprehensive tests for ErrorsView.Section. Some still failing.
  FLUID-3878: Minor whitespace and comment tweaks.
  FLUID-3878: All Uploader unit tests now passing again. ErrorsView tests temporarily removed.
  FLUID-3878: Removed markup redundancy, rendering sections from a template. Standardized class and selector names.
  FLUID-3878: Fixed bug when we're hiding and showing sections.
  FLUID-3878: Renamed the selector for the errors panel to be more descriptive.
  FLUID-3878: Substantially simplified file list rendering using the magic of .join()
  FLUID-3878: Removed a bit more duplicated code.
  FLUID-3878: All core functionality now working properly. Renamed selectors and strings to be more user-friendly.
  FLUID-3878: Removed unncessarily complex logic from ErrorView; renamed panels to sections; sections now listen to Uploader events directly.
  FLUID-3878: Almost working refactoring of errorView and panels.
  FLUID-3878: Reimplementation of clearFileErrors as an event our users might also want to use.
  FLUID-3878: Updated the Uploader demo to link to ErrorsView.js
  FLUID-3878: Refactored ErrorHandler to reduce coupling between it and the other components. This includes:  * Binding all event handlers via IoC  * Renaming to ErrorsView to better describe its role in the Uploader architecture  * Removed all code-level references to ErrorsView in Uploader and HTML5UploaderSupport  * Factored as an graded, autoInit component
  FLUID-3878:  Fixing Uploader Error Handler unit tests from merging with trunk.
  FLUID-3878:  Flash error handler
  FLUID-3878: Fixed fileQueueLimit error condition.
  FLUID-3878: Separated the clearFileError event from the onUploadStart event
  FLUID-3878: Report only 1 error message per file
  FLUID-3878: Fixes SWFUploadManager-test UnitTest.  Added a parameter into swfUpload.setupDOM to fix IE8 button drifting down due to error divs as well as FLUID-3987 issue.
  FLUID-3878: jslint fix.
  FLUID-3878: ErrorHanlder fixes with IE8, assuming Flash fires QUEUE_LIMIT_EXCEEDED with the file type instead of a null.  CSS and Flash tweaks included for the flash button.
  FLUID-3878: Error now shows on IE8.  Renamed onFileQueueError back to onQueueError.  Copied queue constants from swfupload to uploader.
  FLUID-3878: Making use of SWFUpload.QUEUE_ERROR constants from swfupload.js
  FLUID-3878: setStateLoaded should be wrapped in else statement in updateStateAfterFileRemoval() function.
  FLUID-3878: After merged, error failed to fire properly. Now properly fire errors.
  FLUID-3878: Taken out the dom init from HTML5.
  FLUID-3878: Changes for jslint
  FLUID-3878: Added code back after the revert. Includes codes that fire errors for the error handler.
  FLUID-3878: Reverting HTML5UploaderSupport.js back to head.
  FLUID-3878: JSLint fixes.
  FLUID-3878: Changed language to "Show files", "Hide files", and "Warning(s)"
  FLUID-3878: Applied UI modification based on Heidi's and James' suggestion on http://issues.fluidproject.org/browse/FLUID-3878 (Feb 14 comments)
  FLUID_3878: Took out line 135~155 repeated CSS codes.
  FLUID-3878: Added ErrorHandler and Unit tests.  CSS needs review.


Compare: https://github.com/fluid-project/infusion/compare/f831047...25fdd0d



More information about the Commits mailing list