lams_tool_notebook

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-2657 Date restrictions for Notebook (merge to HEAD)

    • -1
    • +1
    ./db/sql/create_lams_tool_notebook.sql
    • -4
    • +15
    ./web/pages/learning/runOffline.jsp
    • -0
    • +43
    ./web/pages/monitoring/daterestriction.jsp
LDEV-2642, LDEV-2616: Move Planner activity metadata (hidden, collapsed, expanded) to a separate table, as it may grow in the future and we don't want to make ToolActivity too complex. Move Editing Advice content from Online Instructions in activities to the metadata table. Allow editing the Editing Advice straight from the planner. Use jquery_ui instead of cluetip (dispose the last one completely). While creating a node, the Learning Design is imported just once from ZIP into DB, instead of importing it each time someone opens it in Planner. This allows less unnecessary copies of the LD and allows easier modfication of the original design. Change the way a Teacher gets a copy of the design. When opening the template in Planner, a copy is made in common folder ("Planner preview"). When the user saves the design, the same copy is *moved* to user's folder, rather than copying it again. Futhermore, each subsequent save modifies the same LD rather than making another copy.

  1. … 24 more files in changeset.
LDEV-2577: Fixed a bug preventing multiple CKEditor instances on one page to be properly reinitialized after form submit.

  1. … 27 more files in changeset.
LDEV-2617 Displaying user's response in monitor

*merge from lams2_3_release

    • -27
    • +2
    ./web/WEB-INF/struts/tiles-defs.xml
    • -34
    • +62
    ./web/pages/monitoring/notebookDisplay.jsp
LDEV-2577: Added extra safety measure preventing plain textarea from being show instead of CKEditor instance.

  1. … 27 more files in changeset.
LDEV-2577: Set default height for CKEditor instances, as in IE it was minimal.

  1. … 27 more files in changeset.
LDEV-2601: An attempt to fix Chrome ignoring CSS width.

  1. … 1 more file in changeset.
LDEV-2595: As CSS parameter "display: none" does not work in IE, the initial textarea for CKEditor has height = 0px which does the trick instead.

  1. … 27 more files in changeset.
LDEV-2596: Forcing CKEditor be reinitialized after AJAX form submit.

  1. … 28 more files in changeset.
LDEV-2595: An attempt to fix overflowing of viewable screen by CKEditor: reduced width of the initial textarea.

LDEV-2577: Readded videorecorder plugin. Readded missing contentFolderID parameter to CKEditor instances.

  1. … 36 more files in changeset.
LDEV-2577, LDEV-2588: Fixed names of buttons that have changed from FCKEditor. CKEditor are hidden until they are completely initialized.

  1. … 24 more files in changeset.
LDEV-2577: Removed quotation marks on "displayExpanded" option so it gets parsed correctly.

  1. … 27 more files in changeset.
LDEV-2577 The new CKEditor does not have Java Integration library (yet). We have been using it to: a) get the tag library to create our own tag <lams:FCKeditor> But the new CKEditor uses AJAX to get the contents, so the library is not needed anymore. The references to it has been deleted from every tool. FCKEditor.tag has been rewritten to use the new syntax. b) get a FCKEditor internal file manager by a Connector from the jar The new CKEditor does not provide a file manager - the license became commercial and the whole thing became a separate project, CKFinder. There were alternatives suggested on the web: jasfinder - http://sourceforge.net/projects/jasfinder/support kcfinder - http://kcfinder.sunhater.com/ some other - http://www.miguelmanchego.com/2009/gestor-de-archivos-ckeditor/ but we have already nicely integrated with the old file manager. This page: http://jacek-kromski.jogger.pl/2009/09/25/integracja-ckeditor-z-przegladarka-plikow-z-fckeditor/ in polish says how to use the file manager from the old FCKEditor. The steps that have to be done: - download the new CKEditor - download the old FCKEditor - copy the filemanager to ckeditor directory - in the file browser/default/frmresourceslist.html, line 92 (with SetUrl call) needs to be replaced to: window.top.opener.CKEDITOR.tools.callFunction( window.top.document.CKEditorFuncNum, fileUrl, '' ); - in the file browser/default/browser.html add in line 80: document.CKEditorFuncNum = GetUrlParam( 'CKEditorFuncNum');

FCKeditor has been used in version 2.6.6, the last one before switching to CKEditor project.

Changes required to use newer version of Java Integration library

for FCKEditor so it was upgraded to the latest (for FCKEditor, because one for CKEditor does not exist) version 2.6.

This also required the Prototype to be upgraded to the latest 1.6.1.

The CKEditor code also needed to be changed, so if another upgrade to a newer version occurs, we need to remember to repeat these steps:

http://cksource.com/forums/viewtopic.php?f=5&t=15750

It says:

/ckeditor/plugins/link/dialogs/link.js

Changes

label:a.lang.common.target,'default':'notSet' --> label:a.lang.common.target,'default':'_blank'

label:a.lang.link.targetFrameName,'default':'' --> label:a.lang.link.targetFrameName,'default':'_blank'

It is also worth mentioning that if you include the ckeditor.js file twice in the same page, sometimes it causes trouble, thus detection in the CKEditor.tag files.

    • -129
    • +0
    ./web/WEB-INF/fckeditor/tlds/FCKeditor.tld
    • -36
    • +36
    ./web/WEB-INF/struts/struts-config.xml
    • -0
    • +53
    ./web/WEB-INF/tags/CKEditor.tag
  1. … 1085 more files in changeset.
LDEV-2329 When editing in monitor if press the "Cancel" button, the define_later flag *does* get removed.

    • -1
    • +1
    ./web/WEB-INF/tags/AuthoringButton.tag
  1. … 28 more files in changeset.
translation update

  1. … 31 more files in changeset.
LDEV-2152: Changes to make it work with IE6

  1. … 6 more files in changeset.
Updating Japanese

  1. … 12 more files in changeset.
LDEV-2372 modifications to selenium tests (according to the last changes in selenium core classes)

  1. … 3 more files in changeset.
LDEV-2374: Added outputs for Data Flow for: * Image gallery (URL to the images uploaded by the students), * Forum (text for the postings for a student in the forum) * Chat (all text postings for a student in the chat) * Pixlr (URL to the image) * Share resources (URL to file/urls uploaded) * Notebook (Text entered by the student) * Submit Files (URL to files uploaded)

  1. … 29 more files in changeset.
LDEV-2372 modified ant builds to support Selenium tests also added selenium server port property to common.properties

  1. … 4 more files in changeset.
Updating Japanese

  1. … 22 more files in changeset.
LDEV-2372 Testing framework * modifications to tool's Selenium tests due to the changes in core classes * Assessment and Notebook tools: tests moved to the new packages

  1. … 4 more files in changeset.
LDEV-2374: - Vote now accepts nominations created by Teacher as well as ones derived from input. - Teacher can now limit number of Learners contributing to Vote's nomination pool. - Each tool now declares which DataOutputDefinitions it can accept for Data Flow.

  1. … 49 more files in changeset.
LDEV-2387 Changed rendering of FCKEditor in Assessment and Notebook tool

* removed commented script part from FCKEditor.tag

* removed all references to fckeditor.js, fckcontroller.js, fckeditor.css

  1. … 3 more files in changeset.
LDEV-2372 completely moving all Selenium classes to lams_common

    • binary
    ./lib/selenium-java-client-driver-sources.jar
    • binary
    ./lib/selenium-java-client-driver-test-sources.jar
    • binary
    ./lib/selenium-java-client-driver-tests.jar
    • binary
    ./lib/selenium-java-client-driver.jar
  1. … 1 more file in changeset.
LDEV-2372 doing nothing except for updating formatting

  1. … 2 more files in changeset.
LDEV-2372 testing framework * ability to run tests in IE (version 7) * changes to user-extensions * fixed test failures on the newly started JBoss server * added timeouts preventing Selenium from crashing

  1. … 1 more file in changeset.
Updating Japanese

  1. … 14 more files in changeset.
LDEV-2372 testing framework * a lot of refactoring * constants moved to separate class * when we get verification error(s) Selenium server shuts down correctly now * fixed random assertion failures by setting minimum Selenium speed to 400ms (can't be decreased) * added assertions to the createNewLesson method * fixed problem with saving learning designs with the same name * receiving workspaceFolderID from DB now