• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

  1. … 1096 more files in changeset.
merge LDEV-2436 from branch

LDEV-2436 wiki.getWikiPages not returning all wiki pages as expected; circumvent model to get req'd wiki pages

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.
change to ascii

  1. … 26 more files in changeset.
LDEV-2374: Data flow between tools: framework and example for Q&A -> Vote.

  1. … 84 more files in changeset.
more merging lams2_3 into head

  1. … 39 more files in changeset.
Merge lams2_3 into head

  1. … 161 more files in changeset.
LDEV-2055 Fixing (once again) the non-uniue result that occures sometimes in wiki tool. Now each time you save the wiki it goes through the list an checks for duplicates, deleting them when they are found. This should prevent it happening in the future

Fixing wiki update scripts to use useful names for unique keys, indexes and foreign keys for wiki_page table

  1. … 1 more file in changeset.
Merging wiki greek characters fix with head

  1. … 4 more files in changeset.
LDEV-2055 Fixing non-unique result problem reproduced by Spyros, this was happening from a sequence that WikiPage titles with "/n" characters in them, possibly due to copy/pasting the titles in

  1. … 1 more file in changeset.
LDEV-2055 Fixing non-unique result problem reproduced by Spyros, this was happening from a sequence that WikiPage titles with "/n" characters in them, possibly due to copy/pasting the titles in

  1. … 4 more files in changeset.
merging improvements from lams2_3_spring_jboss_tune branch

  1. … 118 more files in changeset.
LDEV-2174:

Changed Spring contexts to use ContextSingletonBeanFactoryLocator.

Added Ant task to slim JBoss.

  1. … 80 more files in changeset.
Added repositoryService via spring

Removed calls to RepositoryProxy class.

LDEV-2171

  1. … 17 more files in changeset.
Added repositoryService via spring

Removed calls to RepositoryProxy class.

LDEV-2171

  1. … 17 more files in changeset.
LDEV-1998: Added Pedagogical Planner editor with add/edit node functionality.

  1. … 46 more files in changeset.
LDEV-1998: Added Editing advice for all tools. Added FCKEditor for Notebook, Chat and Submit Files.

  1. … 44 more files in changeset.
LDEV-1998: Added support for Wiki tool.

  1. … 6 more files in changeset.
LDEV-2084 Backported from head for 2.2.1

LDEV-2084 Wiki teacher notification link fails because it does not have the contentFolderID, fixed

LDEV-2020 adding refresh button to learner and monitor for wiki

  1. … 8 more files in changeset.
A small fix to make the export servlet replace fckeditor image paths using the serverurlcontext from the configuration table rather than the request

LDEV-1987 Export portfolio not exporting images

this was related to LDEV-1971:, the image urls were not being adjusted properly in export becuse the "lams/www/secure" url was instead "rams/www/sevure" because this tool was developed in rams.

now the "lams" bit is retrieved from the request context using:

request.getContextPath().substring(0, 5);

  1. … 1 more file in changeset.
LDEV-1977 improving the redirect servlet yet again, now the parameters are all hashed using Base64, so that users cannot recognise patterns in our tool's monitor and learner urls and attempt to access contetn they are not authorised for.

Now applying the changes to the wiki tool, instead of sending separate parameters, they are all sent in the hash

Adding notifications to add, remove and revert wiki page

  1. … 5 more files in changeset.
LDEV-1972 - adding notifications for the wiki tool

implemented for teachers and students

Required the completion of LDEV1977, which allowed direct linking to the wiki from outside LAMS, so the link could be sent in emails

    • -1
    • +16
    ./lamsfoundation/lams/tool/wiki/model/Wiki.java
  1. … 11 more files in changeset.
Cleanup and commenting

LDEV-1966 Implemented a special workspace folder for each session of the wiki

Monitor and learner modules adjuested to point to this folder

Export portfolio adjusted to export folder images and point to the correct location

  1. … 5 more files in changeset.