Changelog 1.8.x

From ClaroDevel

This page aims to resume in a "comprehensive language" what has been changed or fixed between Claroline 1.8.0 and 1.8.x.

A lot of people in the forum asked to get such a list in case of a customized campus, this can be useful. If you need more technical informations about the changes (scripts concerned,... ) please refer directly to the Claroline SVN (http://claroline.svn.sourceforge.net/viewvc/claroline/branches/1.8/).

Table of contents

Modification between claroline 1.8.10 and 1.8.11

Released, July 22nd, 2008

New translations

  1. Polish translation by Kamil Kiereta

New features and fixed bugs

  1. Security : Fix multiple vulnerabilities (http://www.securityfocus.com/bid/30346/). Thanks to the Digital Security Research Group [DSecRG]

Modification between claroline 1.8.9 and 1.8.10

Released, July 16th, 2008

New translations

  1. Spanish latin by Mario Augusto Mendez Secaira
  2. Hungarian by Maxigas

New features and fixed bugs

  1. Security : Fix multiple vulnerabilities (http://secunia.com/advisories/31116/). Thanks to the Digital Security Research Group [DSecRG]
  2. Fix some minor bugs in Exercises, Install, File Download, Linker, Wiki, Forum, Learning Path...

Modification between claroline 1.8.8 and 1.8.9

Released, February 12th, 2008

New translations

  1. Dutch translation by Bob Podevijn from VOSKENSLAAN school in Gent, Belgium
  2. Simple chinese translation by Derek Zhou - Shenzhen First-class Technique Co. LTD - Shenzhen (China)
  3. Czech translation by Lubos Hladik

New features and fixed bugs

  1. Security : Fix a XSS vulnerability
  2. Security : Fix a SQL injection
  3. Security : Fix php2phps function
  4. Assignments : Add possibility to order by last submission date
  5. Assignments : Fix cancel link
  6. Assignments : impossible to access shared tools from group context
  7. Assignments : Fix end date default value for leap year
  8. Assignments : Fix condition where user was showed the submission link and was not able to submit as the time limit was exceeded
  9. Exercises tracking : Add index for tracking tables of exercise and in rel table of questions and exercises
  10. Import/export : Use native ut8 encoding functions when possible
  11. Exercises : Fix a display bug with float values because sometimes MySql returns a value with too much decimals
  12. Exercises : Record float value instead of a int as exercise result can be a float
  13. Assignments : Fix right to display submission link.
  14. Assignments : Fix wrong column name for sorting (maxScore)
  15. Assignments : Delete submissions of an assignment when deleting assignment.
  16. Assignments : Fix corrupted zip file when downloading all submissions
  17. Exercises : Fix export of Fill in blank questions
  18. Forums : Add command to delete a whole topic (By Fundp)
  19. Documents and links : Fix impossibility to download a document in some cases

Modification between claroline 1.8.7 and 1.8.8

Released, November 16th, 2007

New translations

  1. Galician translation by the team of Universidade de Vigo, Spain
  2. Spanish translation by the team of Universidade de Vigo, Spain
  3. Thai translation by Prachid Tinnabutr ( http://www.prachid.com )

New features and fixed bugs

  1. Authentication : force the cleaning of the session on new authentication (if an existing session exists)
  2. Document : refactoring of claro_readfile and claro_send_file (now makes the difference between O octet-sized files and errors), add useSendFile option to document/goto (TODO add option somewhere in config...)
  3. Kernel : more secured version of secure_file_path
  4. Users : Add option to allow export user list even if import is not allowed
  5. Assignments : Add download of all assignments
  6. Document : correct bug with str_replace on $pathInfo for Windows platforms
  7. Group : Fix use of submitGroupWorkUrl (was incorrectly encoded for link creation); fix link creation that was using courseRepositorySys
  8. Linker : Correct bug from Marina on the forum (backport from 1.9)
  9. Groups : Create the default category for group forums (if fill course with sample is false)
  10. Import/Export : Add compat version of iconv (iconv module is not always installed)
  11. Announcements : Fix html to text conversion to avoid a lot of useless line breaks
  12. Group : Use rawurlencode instead of urlencode to fix a problem with spaces thats makes url incorrect in goto file for html files
  13. TinyMCE : Use tinymce save callback to add the metadata comment tag so that it will not be shown when tinymce is disabled.
  14. Learning path : Allow access to invisible document or exercise if used in learning path

Modification between claroline 1.8.6 and 1.8.7

Released, October 15th, 2007

New translations

  1. Bulgarian translation - Alex
  2. German translation - Olaf Nöhring
  3. Turcke translation - Mustafa Dogan

New features and fixed bugs

  1. Kernel
    1. Crash platform : Sometimes, the value of Claroline path isn't correct, because : 1. the path of the platform on the hosting provider is updated (mount path); 2. the user migrates its platform to other server, 3. the user move the platform to another folder, ...
    2. Improve the error message if we try to access a non-existing course.
    3. Html redirection : Fix bug with internet explorer 7 : urlencodes the url for files with special characters.
    4. Unzip : Set correct file permissions when unzipping a file (documents, modules, ...).
    5. Right : Move tool protection to kernel for more security.
    6. SQL functions : Put $db in global, for modules using different database connection.
    7. Installation : Fix regular expression for institution url validation
    8. Pager class : fix a bug if item by page is 0
  1. Course tools
    1. Assignment : The mail notification is send to wrong users.
    2. Course description : Improve layout, use headerX class instead of superHeader, like in other tools.
    3. Documents and links : Add index.php to url for file download to avoid issue on some internet hosting.
    4. Documents and links : Document isn't editable - "wrong path" : fix the expression to find if the file is under the course folder document on windows system.
    5. Documents and links : Delete the redirection if the file is an url, add mime-type 'text/html' to read .url in non-microsoft browser
    6. Documents and links : Temporary zip files deleted if 5 minutes old
    7. Documents and links : Change the permission of the file uploaded/created.
    8. Exercise : add previous, next question navigation links for exercice with all questions on 1 page
    9. Forum : fix a html bug in the confirmation message. Solution from Mike (geano) http://www.claroline.net/forum/viewtopic.php?t=13649
    10. Groups: use of claro_get_current_group_data now returns 0 instead of null for number of group allowed per user (TODO test if no other side effect bugs)
    11. Import/export exercices and learning path : Add utilities library for xml handling, use html_entity_decode so that html entities will be replaced by xml entities, add utf-8 handling functions to encode and decode strings using iconv, add some missing CDATA, use xmlentities to properly encode content of attributes, use claro_utf8_decode (new utf8 decoding function that should handle current charset of course); do not entity decode content before pass it to parser as it should not be necessary and as xml decoding should be automatically done by parser, use claro_utf8_decode instead of deprecated utf8_decode_if_is_utf8.
    12. Learning path : Fix a bug in export (wrong temporary path)
    13. Learning path : Fix $uInfo not using $_REQUEST array ...
    14. Learning path : Some area are not editable to course manager
    15. Profile : Tools name untranslated in right profile
    16. Wiki : use get_module_url and path function. Fix bug : http://www.claroline.net/forum/viewtopic.php?t=13974
    17. Wiki : increase the font-size of the information message in diff page
  2. Module
    1. Check activated module list for tlabel
    2. Fix function check_module_repository : the function didn't work (never)
    3. Add function to load module language files and use it in kernel
  3. Mail
    1. SMTP : Fix connection to smtp with required authentication failed
    2. SMTP : Enable ssl authentication. Example with google mail - SMTP server(s) : ssl://smtp.gmail.com:465, User name : login@gmail.com, Password : password
    3. Set the Sender email (Return-Path) of the message
    4. Mail request course creator / revocation : Missing slash in the url
  4. Layout
    1. Favicon : Add code to display favicon.ico on the platform
    2. Default css : Fix font-size for IE; use '%' because 'em' may cause bug if user select a font smaller than "normal text size"
    3. TinyMCE : Upgrade to the latest version 2.1.2
  5. Administration
    1. Upgrade : Add to the "restore_course_repository.php" script the feature to move course folders to a folder called 'courses/'...
    2. Course category : urlencode parameters value
    3. Translation : Some translation are not find in the scripts
    4. Classes : Add action to unregister a class to all courses
    5. Classes : Add a search function to register a user to a class (from Marina Saint-Etienne)
    6. User Profile configuration : Add new parameter ; users' official code can be unique or not
    7. Home page configuration : Add a setting to hide introduction messages on course categories pages
    8. Tracking : Fix a condition, didn't display event at 0 hour
  6. Authentication
    1. Fix some error with claroline/auth/login.php. base64_decode the value of sourceUrl in the beginning of script (more readable). fix some error with url_encode, url_decode, ... Don't redirect to lostPassowrd after login succeed
  7. External authentication
    1. Fix problem if user is doubled with the same ext auth driver ( !=uid ==login == sourceAuth). Include_once included serveral times return true.
    2. Shibboleth SSO : Configuration of the default email address used if email is missing in the data provided by the Identity Provider, UTF8 support for Identity Provider data, No new user is created if uniqueID is empty, A default email is used if no email address is provided, event_login call moved to claro_init_local (by Daniel Streiff)
    3. CAS : Move session destroy after CAS logout
    4. CAS authentication : Don't use HTTP_REFERER (by Marina Zelwer)
    5. LCS : Some modification for the integration, force reconnection to claroline database after LCS authentication (Mathieu Laurent and Olivier Lécluse)

Modification between claroline 1.8.5 and 1.8.6

Released, July 31th, 2007

New translation

  • Traditional Chinese for Taiwan by (58% -> 90%) by Lionel Li-Xing Hong - Faculty Development and Instructional Resources Center - Fu Jen Catholic University
  • Hungarian by maxigas (58% -> 98%)
  • Few updates in Spanish, Spanish Latin and French

Fixed bugs

  • Shibboleth : Fixed two bugs (Daniel Streiff)
  • Fixed bug "Disk usage" (Daniel Streiff)
  • Wiki (bugs #937, #938, #940)

Improvments

  • Shibboleth : Customized login forms, Improved code, Added event login (Daniel Streiff)
  • Documents : Added two MIME types (Daniel Streiff)
  • Backport get_icon functions from claroline 1.9 to 1.8

Security

  • XSS injection (bug #928, #929, #930) - Fernando Muñoz
  • Remote inclusion (bug #943) - Fernando Muñoz

Modification between claroline 1.8.4 and 1.8.5

Released, July 5th, 2007

New feature

  • User : Add export user list command
  • Authentication : Add Shibboleth SSO (beta) from Daniel Streiff
  • Authentication : Add LCS SSO (beta) from Olivier Lécluse

New translation

  • Spanish Latin by Carlos Brys (Argentina)
  • Thai translation by prachid - prachid.com
  • Portuguese translation by joelm
  • Turkce translation by mudo
  • Brazilian translation by Marlon Willrich
  • Russian translation by Feodor Baliberdin

Fixed bugs

  • Fix html : close body and html
  • File upload library : include file.lib.php
  • Learning path : Fix commands rights
  • module.manage.lib.php : add default values to optional manifest fields
  • Course description : fix a javascript error in confirm delete message : escape string
  • Exercises : Protect output in html page
  • Fix claro_mail function
  • learnPath use claro_get_course_path()
  • User profile : use autocomplete off for password field
  • Learning path : Fix display when raw is higher than scoreMax
  • claro_redirect function : fix a bug with iis 6.0 (workaround from ipl upgrade)
  • Documents and links : error with html page : if document mime-type is text/html, redirect to the file

Modification between claroline 1.8.3 and 1.8.4

Released, April 10th, 2007

New translation

  1. Bulgarian translation by Alexander Simidchiev (82%)
  2. German translation by Michelle Stahl (93%)
  3. Greek translation by Michail Vourlakos (100%)
  4. Guarani (http://en.wikipedia.org/wiki/Guarani_language) translation by Manuel Fernandez with the support of the Biblioteca de las Indias Eléctrónicas (http://www.lasindias.org) (60%).

Fixed bugs

  1. Icon course tool list : Get icon from tool directory
  2. Exercise : Regardless of 'Show Answers' setting, a student is unable to see their exercise details; students are greeted with the message "Display of detailled answers is not authorized.
  3. Exercise : Scores were submitted even if time was over
  4. Assignments : Fix result column in display (was displayed -1 when no result)
  5. Upgrade : Add if not exists for table creation
  6. Tiny_mce : color picker, add missing images
  7. Wiki tranlsation : fix call of get_lang param, it is not found (remove trailing space in param value)
  8. Group : protect group forums against url-based unauthorised access
  9. Forum : do not display editor to user to reply to a non existing topic
  10. Forum : error if topic forum_id different from forum id passed in url
  11. Edit text zone : wrong number
  12. Forum mail notification : wrong url - use get_module url instead of get_module_path
  13. Assignment mail notification : wrong url - use get_module url instead of get_module_path
  14. Module : Fix wrong url in get_module_url
  15. Documents : correct issue #853 - image viewer broken in document tool
  16. Exercises : fill in blanks : fix bug in replace reg exp
  17. Document : fix a bug in move category
  18. Document : add XML Stylesheet mime type

Refactoring

  1. Configuration tool : Add 'text' type for multi line strings
  2. CAS : patch from Marina Zelwer
  3. MySQL library : Use claro_sql_* functions instead of mysql_* functions.
  4. Modules : Add course module functions : get_module_label_list, install_module_in_course, delete_all_modules_from_course, delete_module_in_course, execute_sql_file_in_course.
  5. Modules : add functions to get database table names for course based modules without getting the claro_get_tbl context-related issues

Security

  1. XSS : Use php_self function to protect claroline against PHP_SELF injection

Modification between claroline 1.8.2 and 1.8.3

Released Wednesday, 14 February 2007

New translation

  1. Thai 70% by Assistant Professor Prachid Tinnabutr From Chandrakasem Rajabhat Univesity (Thailand)

New features

  1. TinyMCE : add table handling tool
  2. TinyMCE : use media plugin instead of flash plugin. Media files can now be : Quicktime, flash, Shockwave, Windows media, Real media
  3. Textzone for top of entry page  : you can now ad a text only show to anonymous or to authenticated users Hot stuff
  4. Configuration : Add smtp host, username and password configuration Hot stuff

Fixed bugs

  1. Wiki : add display of hrelang attribute after links in wiki pages
  2. TinyMCE : Change image.htm to image.php to allow upload of image directly in wysiwyg editor
  3. Wiki : Wiki table syntax in help
  4. Learning Path : Hide tracking link when tracking is deactivated
  5. Banner Layout : Check that we have a institution name to know if we have to add / before external link
  6. Configuration : Move logo url to layout section
  7. Introduction text : Duplicate double quote was causing text disappear under IE
  8. Function claro_disp_auth_form : remove server_name and protocol from sourceUrl to avoid bug when apache not running on default http(s) port Hot stuff
  9. Upgrade : include fileManage.lib.php in upgrade global ini for use of claro_mkdir
  10. Documents : secure file path for potential remote file inclusion and denial of service attacks
  11. Documents : fix temporary zip files with "Download current directory" Hot stuff
  12. Upgrade : fix mysql bug - add myisam type
  13. Upgrade : Wrong path for images in exercises
  14. PHP Security Info : use dirname(__FILE__) instead of include_path based require
  15. Exercises : Never disable exercise tracking
  16. Installation : Check if xml module is enabled
  17. Assignment : Fix bug when late upload were always allowed
  18. Announcement : impossible to use message tool for user with edit right
  19. Forum : go to last message, wrong value for start with pager
  20. External Auth : replace require_once by require : clarol_init_local can be reloaded, so it's needed to reinit extAuthSource (fix bug with rss auth and external auth)
  21. Right : Error in announcement send message and group tool
  22. Improve edit zone file tool in administration
  23. Exercises : Fill in blanks, fix a bug in regular expression : protect blank items (with preg_quote) to replace by form items.

Refactoring

  1. Linker : remove echo from linker_display_resource to match new Claroline API convention
  2. Init functions : use claro_is_user_authenticated, claro_is_in_a_course, claro_is_in_a_group, claro_is_in_a_tool, claro_get_current_user_id, claro_get_current_course_id, claro_get_current_group_id, claro_get_current_tool_id, claro_get_current_course_data, claro_get_current_group_properties_data, claro_get_current_user_data, claro_get_current_group_data, claro_get_current_course_user_data, claro_get_current_course_tool_data, claro_get_current_course_tool_list_data, claro_is_course_member, claro_is_course_tutor, claro_is_platform_admin, claro_is_course_admin, claro_is_course_manager, claro_is_course_allowed, claro_is_allowed_to_create_course, claro_is_group_member,claro_is_group_tutor, claro_is_group_allowed, claro_is_tool_allowed instead of global variables.
  3. claro_disp functions : more claro_disp functions has renamed to clar_html_function (because they don't output but return a html stream)

Modification between claroline 1.8.1 and 1.8.2

Claroline 1.8.2 released Thu December 7 2006

New translation

  1. Thai 60% by Assistant Professor Prachid Tinnabutr From Chandrakasem Rajabhat Univesity (Thailand)
  2. Turk translation : by Fazli Yurtsever - onlinedershane.biz
  3. Bulgarian translation : by Alexander Simidchiev
  4. Czech translation : by Zdenek Machek ( Claroline in Czech: http://www.claroline.cz )
  5. French translation : Administration Configuration Tool in french by Claroline Team

New features

  1. Configuration : New parameters to hide course categories to anonymous user Hot stuff
  2. Configuration : Add two parameters logo campus and institution (display the logo in the header) Hot stuff
  3. Configuration : l10n (http://en.wikipedia.org/wiki/L10n) translatable in your mother tongue. Hot stuff
  4. CAS - Configuration : Use new configuration parameters : root parameters. Example : esup-cas/ ( Forum topic 8724 (http://www.claroline.net/forum/viewtopic.php?t=8724) )
  5. Footer : Display administrator phone number
  6. Forum : Add a link in threads to the last message of topic
  7. Exercises : Add a message to warn user that they should use negative weighting for incorrect choices.
  8. Exercises : Add a method to compare the correct answer and the response given by user
  9. Exercises : Add support of HTML in fill in blanks questions Hot stuff
  10. Home page : Mark (as empty) empty text zones
  11. Subcription : Add a textzone for subscribing rules
  12. TinyMCE : Allow several editors on same page Hot stuff
  13. Tracking : User delete and enrolment are tracked
  14. Wiki : Add header and caption to wiki table syntax and correct a bug with white space around table tags bug
  15. Wiki : Allow wiki syntax within table cells

Fixed bugs

  1. Administration : Advanced course search does not work with access_all and subscription_all
  2. Administration : Fix bug in unenrol user from a course
  3. Assignments : Add course id in mail notification
  4. Assignments : Fix bug where feedback was shown when it does not be showned
  5. Configuration - User tool : One parameter of configuration wasn't defined
  6. Course creation : Display error when course folders creation failed
  7. Course creation : Error with mysql 5 - does not support comments for table creation more than 60 characters in length
  8. Course homepage : Show empty zone & outline zones to allowed to edit
  9. Course settings : Accept IP addresses as valid urls
  10. Documents and links : Windows file path are case insensitive
  11. Documents & Links : Add css and js filetype
  12. Edit profile : Data validation failed for empty password in edit profile
  13. Exercises : Add back link "Back to the question list"
  14. Exercises : Change replacement to fix problem when there is several times the same blank in text (fill in blanks)
  15. Exercises : Fix name of exported files
  16. Exercises : Fix translation string
  17. Groups : Fix bug when user maximum by group is not limited
  18. IMS/QTI export : Fix zip file name to avoid download bug when using IE
  19. IMS/QTI import : Add claroFormId to prevent double post of package
  20. IMS/QTI import : Remove url_decode, as it transforms + in xml content to space
  21. Install : Fix install bug for free.fr, 1and1 and ovh mutualised server Hot stuff
  22. Learning Path - scorm export : Use html_entity_decode for metadata values (to fix a bug when language vars is html entities encoded)
  23. Module : Add some report message on action success
  24. Notification : Group notification not displayed
  25. Pear cache lite : Add a missing / ( Forum 8923 (http://www.claroline.net/forum/viewtopic.php?t=8923) )
  26. Security information : Separate phpinfo from security information for more clarity
  27. TinyMCE : Use source formatting in editor
  28. TinyMCE : Use compressed tine_mce js file to gain performance (don't use the php compressor as there is some error when user is behind a proxy)
  29. TinyMCE : Fix bug preventing upload of an image from editor
  30. User info : Fix a bug in 1.8.2 refactoring - fatal error on the page
  31. User profile : Password is required
  32. User profile : Use email validation regexp proposed by Marina from Saint-Etienne
  33. User profile : Validate maximum length of username (20 characters max)
  34. User tracking : Hide link to view tracking when tracking is disabled

Modification between claroline 1.8.0 and 1.8.1

Claroline 1.8.1 released Wed October 25 2006

Fixed bugs

  1. Module : generate_conf() return an array containing a string and a boolean.
  2. Announcement & agenda : Fix a bug in display next announcement or evenement : invisible elements are displayed
  3. Learning Path : Fix name of session that require an unset
  4. Classes : Invalid field name in a sql query
  5. Css: Fix padding of rightMenu
  6. Notification : Fix html for notification
  7. Upgrade : Add missing / with $urlAppend
  8. Upgrade : Fix bug with mkdir and sun solaris and hight restrictive permission : mkdir failed if folder name finish with /
  9. Upgrade : Add DEFINE old secure mechanism from 1.7.x in upgrade init
  10. Document and links : Fix bug with rawurlencode
  11. Document and links : Use PATH_INFO if available.
  12. Documents and links : Multiple urlencode/decode on various request variables that caused several bugs in the tool
  13. Documents and links : use claro_readfile instead of readfile, claro_readfile implements readfile_chunked from http://bugs.php.net/bug.php?id=32970
  14. RSS : Correct path (complet for outside)
  15. Admin user list : Fix wrong url in pager
  16. lostPassword  : Fix a bug in sql query : no backtick around db name
  17. Kernel : claro_mkdir(), remove trailing slash as mkdir failed sometimes when path ends with a slash
  18. User : wrong course url in enrolment mail
  19. Exercise (IMS/QTI) : Fix attached file recuperation
  20. Exercise (IMS/QTI) : Fix attached file recuperation and export
  21. Exercise (IMS/QTI) : add cdata for exported values
  22. Exercise : Fix mysql strict mode bugs
  23. Exercise : Limit attempt
  24. Exercise : Time limitation
  25. Exercise : No ponderation with decimal
  26. Assignment : Fix mysql strict mode bugs
  27. Tracking : Fix mysql strict mode bugs
  28. Tracking : Fix wrong type for exe_exo_id
  29. Linker : allow jpspan in IE7
  30. Wysiwyg editor : Fix claro_parse_user_text function for new editors
  31. Course settings : Didn't use the configuration on require Department name and/or url
  32. User profile : $_uid required for editing profile
  33. Platform footer : Fix mail html error, when you click on administrator mailto link (outside a course)
  34. Create course : mail, double slash in course url
  35. PEAR : use PEAR_LIB_PATH in includes. Fix bug with some hosting service (like jexiste.fr)

Security fix

  1. Import.lib.php : Security fix for future version : add the file empty to force erase of this old script (when upgrade)