imagesummary.jsp

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5404 Escaping funny characters that break js

- Image gallery

  1. … 11 more files in changeset.
LDEV-5213 Use version-dependent imports for LAMS JS files

  1. … 338 more files in changeset.
LDEV-5357 Use UUIDs for file downloads

  1. … 56 more files in changeset.
LDEV-4932 Passing CSRF token as a post rather than get

  1. … 41 more files in changeset.
LDEV-4932 Add CSRF prevention for monitor Image gallery

CSRF prevention for Monitor actions:

- toogle visibility

- add image

- edit image properties

  1. … 8 more files in changeset.
Merge Asia's Image Gallery

  1. … 76 more files in changeset.
LDEV-4440 Fixed upload and remove methods

  1. … 15 more files in changeset.
LDEV-4440 Authoring migration in progress

  1. … 17 more files in changeset.
LDEV-4440 Started Images Gallery migration to Spring

  1. … 48 more files in changeset.
LDEV-4367 Skins can be created

The SASS files are now configured to allow a new variable file to be

set up with different colours and for users to be able to switch

between skins.

  1. … 156 more files in changeset.
LDEV-4059: improve overall usability, file uploads and validation

  1. … 14 more files in changeset.
LDEV-2951: removing unused images from tool images

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

  1. … 44 more files in changeset.
LDEV-2917: Use <!DOCTYPE html> everywhere.

  1. … 170 more files in changeset.
LDEV-3450 updated Image Gallery monitoring to support new rating system. * Also updated its learning to support the latest rating features.

  1. … 39 more files in changeset.
LDEV-3259 Improved Image Gallery's learning

  1. … 43 more files in changeset.
LDEV-3238: Use full name rather than login for Image Gallery comments, exports and monitoring.

  1. … 6 more files in changeset.
LDEV-2463: escape HTML to prevent possible XSS attacks

  1. … 11 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.
LDEV-2459 use double quotes when enclosing i18n text in javascript

  1. … 47 more files in changeset.
LDEV-2069 Groups votes(and comments) are not shared across sessions anymore

  1. … 9 more files in changeset.
LDEV-2062 ability to vote for several images

  1. … 25 more files in changeset.
LDEV-1960 Monitor

* added pop up dialog on comment deletion

  1. … 2 more files in changeset.
LDEV-1960 Monitor

* if it is group, rankings calculated all separate for each groups.

* fixed displaying ratings on imageSummary page

* notebook fixed

* edit comment page works ok

* decided to move statistic on voting/rating to the statistics page instead of displaying them on summary one

  1. … 15 more files in changeset.
LDEV-1960 Monitor

* all the work is done except for saving updated comments

* fix for the rating mechanism (rate is unique for each user now)

    • -0
    • +145
    ./imagesummary.jsp
  1. … 32 more files in changeset.