Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge v4.7 into LDEV-5397

  1. … 79 more files in changeset.
LDEV-5397 bootstrap5 Forum tool

  1. … 20 more files in changeset.
LDEV-5397 <lams:textarea> has now simple "id" attribute without "__lamstextarea" suffix

As ids containing "__lamstextarea" complicate creation of ARIA labels.

  1. … 4 more files in changeset.
LDEV-5397 Migrate old Bootstrap3 class names into Bootstrap5 in *all* tools' learning

* Did this following 2 guides:

https://getbootstrap.com/docs/4.1/migration/

https://getbootstrap.com/docs/5.2/migration/

* Apart from changing class names, also performed other updates required in aforementioned guides.

For instance, checkboxes, radios, selects have now proper Bootstrap5 structure; removed "media" objects.

* Replaced some outdated LAMS class names

  1. … 105 more files in changeset.
LDEV-5404 Escaping funny characters that break js

- Forum

  1. … 21 more files in changeset.
LDEV-4995 Upgrade to bootstrap 4

* Update LAMS code to use bootstrap 4

* Update and redesign index page

  1. … 198 more files in changeset.
LDEV4440 Forum message body keeps newlines and counts correctly.

LDEV-4440 Error messages converted to new error tag

  1. … 129 more files in changeset.
LDEV-4440 Reintroduce custom textarea tags

  1. … 9 more files in changeset.
LDEV-4440 Get rid of a typo in Forum message form

LDEV-4440 removed Errors - changed into errorMap

  1. … 6 more files in changeset.
LDEV-4440 Fixed learning

  1. … 4 more files in changeset.
LDEV-4440 Forum - changes at monitoring, new way to download marks, added spring's errors

  1. … 13 more files in changeset.
LDEV-4440 Forum migration in progress

  1. … 8 more files in changeset.
LDEV-4440 Authoring and learning in progress

  1. … 10 more files in changeset.
LDEV-4440 Migration of Forum started - controllers, no tiles and no struts

  1. … 85 more files in changeset.
LDEV-4559 Students can post anonymously in Forum

  1. … 8 more files in changeset.
LDEV-3701 some cosmetic adjustments

  1. … 6 more files in changeset.
LDEV-3701 Update Forum Learner to Bootstrap

LDEV-3701 Update Forum Learner to Bootstrap

  1. … 27 more files in changeset.
LDEV-3395 Implement a minimum number of characters for forum postings

  1. … 32 more files in changeset.
LDEV-3395 Implement a minimum number of characters for forum postings

  1. … 15 more files in changeset.
LDEV-3395 Implement a minimum number of characters for forum postings

  1. … 20 more files in changeset.
LDEV-3076 added ability to upload images by learners using CKeditor

  1. … 30 more files in changeset.
LDEV-2839: Forum Tool clean up: remove duplicate taglibs file, update references.

  1. … 28 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.

  1. … 1096 more files in changeset.
Changed the width of the text area from cols=40 to cols=65 (LDEV-1329)

LDEV-1165: Wasn't able to disable the character limit for non rich text editing in forum. Changed authoring to check the limit on/off flag before checking number of characters > 0, and at learner if the limit is off then sets num chars to 0, which the jsp interprets as "no check".

  1. … 2 more files in changeset.
lams:out change and FCKEditor change to customized tag.

  1. … 20 more files in changeset.
Learning page multip session done.

  1. … 24 more files in changeset.