• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-4053 Refactor code

- quite a few methods are duplicated across LearningAction AuthorAction and MonitorAction.java. It will best probably to put these into a single util class

- Similarly for the UI, there's plenty of repeated parts that perhaps can we put into a common folder and reused from there.

  1. … 17 more files in changeset.
LDEV-4052 Fixing the problem with opening new items in divs and its inability to support server side validation and server side exceptions

  1. … 10 more files in changeset.
LDEV-3787: make it image gallery great again! :-p

Improve the usability and UI. Discover that we've got some problems uploading pics in learner.

Need to further refactor the .js (will raise another JIRA for this).

  1. … 4 more files in changeset.
LDEV-3787 Update Image Gallery Author and Monitor to Bootstrap

  1. … 44 more files in changeset.
LDEV-3450 Introduced central rating service

  1. … 51 more files in changeset.
LDEV-3450 Use central rating system.

Plus introduced common rating tags.

  1. … 21 more files in changeset.
LDEV-3305 Prevent iframe from expanding too big in Chrome

  1. … 13 more files in changeset.
LDEV-3305 Prevent iframe from expanding too big in Chrome

  1. … 13 more files in changeset.
LDEV-2936 reinitialize lytebox after adding image

  1. … 1 more file in changeset.
LDEV-2764: fixing frame width and height for Tool Images

  1. … 1 more file in changeset.
LDEV-2759: fixing with and height for image iframe

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.
LDEV-2459 LDEV-2462 surround i18n messages with double quotes when outputting to html or javascript

  1. … 45 more files in changeset.
LDEV-2459 use double quotes when enclosing i18n text in javascript

  1. … 47 more files in changeset.
LDEV-2070 Ability to upload multiple images at once

*a bit of renaming in authoring

  1. … 22 more files in changeset.
LDEV-2034

* images has correct dimensions in IE now

* also switched from lightbox.js to another implemetation which is called - lytebox

  1. … 22 more files in changeset.
LDEV-1958 Authoring

* added pop up dialog on image deletion

* style of the links improved

  1. … 1 more file in changeset.
LDEV-1958

* problem with lightbox fixed

(lightbox didn't work after uploading, deleting or switching the order of images)

* property "number of columns" removed

  1. … 7 more files in changeset.
LDEV-1958 almost finished authoring

also

* lightbox introduced

* Image scaling and creation of 3 files: original, medium, thumbnail

  1. … 27 more files in changeset.
LDEV-1958 introducing the first scratch of the image gallery tool

  1. … 193 more files in changeset.