lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
changed the taglib uri for fckeditor

    • -1
    • +1
    /lams_tool_nb/conf/xdoclet/taglibs.xml
under the ant target build-war, changed the directory name of fckEditor to fckeditor

changed the directory name from fckEditor to fckeditor (all lowercase)

  1. … 768 more files in changeset.
*** empty log message ***

files that are not needed

All testcases will run except in TestToolContentManager and TestToolSessionManager when the supplied parameter is null and the default content id is needed. The default content id is no longer NoticeboardConstants.DEFAULT_CONTENT_ID, but it is determined by calling getDefaultToolCOntentId (in service bean) In order for it to work, in getContextConfigLocation(), need to uncomment the values and in the testApplicationContext.xml need to uncomment the toolService and learnerService property under nbService. This however, will run only if you allocate more memory to ant, otherwise it will just hang. The test cases run, however the test-report cannot be generated. I need to find a reason behind this.

Otherwise if you leave it as is and run the test, the tests will fail in some of the testcases in TestToolContentManager and TestToolSessionManager, and the error is that you get a null pointer exception, this is

because it doesnt have the toolService in order to make the call to get the default content id

*** empty log message ***

    • -11
    • +25
    /lams_tool_nb/web/author_page.jsp
added tool_custom.css which just includes a button class,

    • -0
    • +59
    /lams_tool_nb/web/author_page/css/tool_custom.css
if toolcontent id doesnt exist, it will display a nice message to user, instead of showing system exception page with no message

changed the copyFormValues..(), the deleteAttachment method now doesnt call this method, otherwise all fields will be blank.

instead of using hardcoded default content id, makes the call to getDefaultToolContentId

added comments to code

Make the 3tab DHTML works well. Add /ToolAppliationContent.xml and LearnerApplicationContext.xml into web.xml to enable call the LearnerServer and ToolService

    • -118
    • +0
    /lams_tool_sbmt/web/includes/javascript/server.js
Add aurhoring 3 tabs stuff: 1.Tab images 2. Updated CSS 3. tabcontrol.js 4. Updated build.xml

    • -29
    • +92
    /lams_central/web/css/default.css
    • binary
    /lams_central/web/images/aqua_tab.gif
    • binary
    /lams_central/web/images/aqua_tab_centre.gif
    • binary
    /lams_central/web/images/aqua_tab_left.gif
    • binary
    /lams_central/web/images/aqua_tab_right.gif
    • binary
    /lams_central/web/images/aqua_tab_s_centre.gif
    • binary
    /lams_central/web/images/aqua_tab_s_left.gif
    • binary
    /lams_central/web/images/aqua_tab_s_right.gif
    • binary
    /lams_central/web/images/aqua_tab_selected.gif
    • -0
    • +118
    /lams_central/web/includes/javascript/tabcontroller.js
removed the dbname when creating / dropping tables

    • -4
    • +4
    /lams_tool_nb/db/sql/create_lams_tool_nb.sql
    • -4
    • +4
    /lams_tool_nb/db/sql/drop_lams_tool_nb.sql
    • -8
    • +8
    /lams_tool_nb/db/sql/init_lams_tool_nb.sql
*** empty log message ***

    • -0
    • +84
    /lams_tool_nb/db/sql/activity_insert.sql
    • -0
    • +20
    /lams_tool_nb/db/sql/create_lams_tool_nb.sql
    • -56
    • +0
    /lams_tool_nb/db/sql/lams_tool_nb.sql
    • -0
    • +18
    /lams_tool_nb/db/sql/library_insert.sql
    • -0
    • +56
    /lams_tool_nb/db/sql/test_data_lams_tool_nb.sql
    • -0
    • +50
    /lams_tool_nb/db/sql/tool_insert.sql
    • -1
    • +1
    /lams_tool_nb/web/template/template.jsp
image icon for nb

    • binary
    /lams_tool_nb/web/WEB-INF/images/dot.gif
    • binary
    /lams_tool_nb/web/WEB-INF/images/icon_noticeboard.swf
    • binary
    /lams_tool_nb/web/WEB-INF/images/tree_I_line.gif
included the learner and lams core application context

included the reference to lams-learning

    • -1
    • +1
    /lams_tool_nb/conf/war/META-INF/MANIFEST.MF
implemented to call to leaveToolSession, indicating that the learner has finished the activity

instead of using the constant for default content id, the service method is called

added author tag

removed the TODO

methods to return the toolSessionManager and ToolContentManager interface

implementation of the new function get default content id

in method copyToolSession and copyToolCOntent this method is used instead of the constant

added comments in the code and also new method called getDefaultToolContentId which retrieves the default content id instead of hard coding it

added comments in the code

use the JNDI tool-ds instead od jdbc connection also added learnerService and ToolService

added references to other applicationContext.xml as it is needed by the learners application context

added the deploy-tool targets and create-deploy-package

added AUTHOR_PAGEV2 AND TOOL_SIGNATURE constants