Feature #306
test tool: add a maximum number of words in open questions
0%
Description
test tool: add a maximum number of words in open questions
Associated revisions
Issue #306 - The myltibyte string library: Various reworks are in progress.
Issue #306 - The multibute string library: Fixing my newly made mistakes, logic upgrades, optimizations for speed.
Issue #306 - Fixing some my mistakes about using the function api_transliterate().
Issue #306 - The multibute string library: Logic upgrades, optimizations for speed.
Issue #306 - The multibute string library: Logic upgrades, optimizations for speed, part 2.
Issue #306 - The multibute string library: Restructuring the functions - those for internal use are renamed and moved in the correspondent file.
Issue #306 - The multibute string library: Adding comments, corrections.
Issue #306: Reworks about the initialization of the multibyte string library.
Issue #306 - Elimination of some direct calls of the function mb_convert_encoding(). The goal is we not to depend badly on the mbstring extension.
Issue #306 - The multibute string library: Adding functionality to the php-implemented internal function _api_convert_encoding(). It is able to convert from/to HTML-ENTITIES "encoding" now.
Issue #306 - Elimination of some direct calls of the function iconv().
Issue #306 - The multibute string library: Corrections after testing.
Issue #306 - The multibyte string library: Testing and corrections, a formal standalone test has been added. Two encodings are added for support. Improved logic to deal with encoding aliases. It seems that installed mbstring extension is not a mandatory requirement anymore. The php-extensions mbstring and iconv are optional: for speed or for supporting some exotic encodings.
Issue #306 - Testing the multibyte string library, a correction in the tester has been done.
Issue #306 - Testing the multibyte string library, corrections about the functions api_ucwords() and api_substr_replace(). Now the stanalone test makes successfully all passes (135) on Windows and Linux machines.
Issue #306 - Replacing the implementation of api_str_ireplace() with a better one.
Issue #306 - A sanity check within api_str_ireplace() has been added.
Issue #306 - Searching and fixing some insafe calls of htmlentities().
Issue #306 - Renaming the folder multibyte_string_database as internationalization_database. The content of this folder will grow with data outside the scope of sting operations only, this is why a more generic name has been chosen.
Issue #306 - Elimination of the function api_set_string_library_default_language(). Various logic improvements.
Issue #306 - Adding a new library about internationalization issues. Currently it contains routines for date/time formatting.
Issue #306 - Moving the functions get_lang() and api_get_interface_language() to the internationalization library.
Issue #306 - The extension mbstring ibecame optional. This is why a correction has been made in the installation script, also blocking checks have been removed.
Issue #306 - Moving the table with non-UTF-8 encoding in the internationalization "database".
Issue #306 - The internationalization library: Creation of two functions api_is_western_name_order() and api_get_person_name() for maintaining the conventions for full person name constructed from the first name and the last name. The functions are documented and stable, developers may freely use them.
Issue #306 - The internationalization library: Adding an option to the function api_get_person_name() for "hardcoded" person name order using predefined constants. This option is exceptional, it should be used in very limited number of cases.
Issue #306 - Fixing ordering of the administrator's names in the installation script and in the systems's footer.
Bug #3646 and Issue #306 - The functions api_get_person_name() and api_is_western_name_order() have been reworked (optimizations + title to person name support). The function api_get_person_name() has been made similar to the implementation Display::user_name() by Carlos Vargas, a good idea. I suggest we to deprecate Display::user_name(). The internationalization library is a better place for such a feature, I think.
Bug #3646 and Issue #306 - Internationalization library: Adding posibility to set sorting persons' full names independently for the name order convention, people's preferencies might differ. So, a new function api_sort_by_first_name() has been added. The table in the file name_order_conventions.php has been reworked to maintain the new name-sorting option for every language.
Bug #3646 and Issue #306 - Platform administrator's tools: Fixing person name order and sorting to be dependable on the internationalization settings, Part 1.
Bug #3646 and Issue #306 - Platform administrator's tools: Fixing person name order and sorting to be dependable on the internationalization settings, Part 2.
Bug #3646 and Issue #306 - Platform administrator's tools: Fixing person name order and sorting to be dependable on the internationalization settings, Part 3.
Bug #3646 and Issue #306 - Announcements and Platform administrator's tools (Part 4): Fixing person name order and sorting to be dependable on the internationalization settings.
Bug #3646 and Issue #306 - User profile and Platform administrator's tools (Part 5): Fixing person name order and sorting to be dependable on the internationalization settings.
Bug #3646 and Issue #306 - The agenda tool: Fixing person name order to be dependable on the internationalization settings. Setting the date-picker to work with the system's encoding. Common changes: Replacing repetitive code for building localized arrays with week days and months with API-function calls. Some other minor changes.
Bug #3646 and Issue #306 - Agenda tool (Part 2): Fixing person name order and sorting to be dependable on the internationalization settings.
Bug #3646 and Issue #306 - Chat tool: Fixing person name order to be dependable on the internationalization settings.
Bug #3646 and Issue #306 - Training settings, training creation: Fixing person name order to be dependable on the internationalization settings.
Bug #3646 and Issue #306 - Documents, Drobbox: Fixing person name order to be dependable on the internationalization settings, other minor corrections.
Bug #3646 and Issue #306 - Tests tool: Fixing person name order to be dependable on the internationalization settings, other minor corrections.
Bug #3646 and Issue #306 - Forums tool: Fixing person name order to be dependable on the internationalization settings, other minor corrections.
Issue #306 - Assignments tool, translation: Suppressing DLTT links inside javascripts in order to prevent errors. Another minor correction - changing href="#" with href="javascript: void(0);" in a link in order to prevent unexpected scrolling of the page on IE6.
Bug #3646 and Issue #306 - Gradebook tool (Part 1) and Assignments tool: Fixing person name order to be dependable on the internationalization settings.
Bug #3646 and Issue #306 - Assesments (gradebook) tool, part 2: Fixing person name order and sorting to be dependable on the internationalization settings.
Bug #3646 and Issue #306 - Groups tool: Fixing person name order and sorting to be dependable on the internationalization settings. Other corrections about sortable tables with person names: Assigning the default (initial) field for sorting to be dependable on the internationalization settings.
Bug #3646 and Issue #306 - Common Dokeos libraries: Fixing person name order to be dependable on the internationalization settings. Other minor corrections related to Bug #3384 and Bug #4318.
Bug #3646 and Issue #306 - Common Dokeos libraries (part 2): Fixing person name order to be dependable on the internationalization settings. Other minor corrections.
Bug #3646 and Issue #306 - Messages, metadata and training reports (part 1): Fixing person name order and sorting to be dependable on the internationalization settings.
Bug #3646 and Issue #306 - Training reports (part2): Fixing person name order and sorting to be dependable on the internationalization settings + code cosmetics. Introducing a new constant PERSON_NAME_DATA_EXPORT in the internationalization library.
Bug #3646 and Issue #306 - Training reports (part3 ): Cleaning and minor reworks for all the code in this tool. This is needed for code readability and understanding, before further efforts for implementing person name related logic.
Bug #3646 and Issue #306 - Training reports (part 4, still not last): Fixing person name order and sorting to be dependable on the internationalization settings.
Bug #3646 and Issue #306 - Training reports (part 5): Fixing person name order and sorting to be dependable on the internationalization settings. Other fixes have been done too.
Bug #3646 and Issue #306 - Learning paths, the old Conference tool, Booking tool, Social network tool, Surveys: Fixing person name order and sorting to be dependable on the internationalization settings.
Issue #306 - Platform administrator, tool usage statistics: Translation of tool names.
Issue #306 - The multibute string library: Adding the function api_strripos() wich is found as needed for Dokeos LMS. Adding in the main API two constants for PHP5 subversion detection.
Bug #3646 and Issue #306 - The old tracking tool and "Users" tool: Fixing person name order and sorting to be dependable on the internationalization settings. Other fixes have been done too.
Bug #3646 and Issue #306 - Wiki tool and some top-level pages: Fixing person name order and sorting to be dependable on the internationalization settings.
Issue #306 - Upgrading HTMLPurifier's Encoder class, so it not to depend on iconv too much. The encoding conversion functions from the multibyte string library might help for dealing with some encodings even without iconv or mbstring.
Issue #306 - The UserManager class: Adding a method create_username(), internationalized, without check for uniqueness in the system. This algorithm is a single point for providing logic, it should be reused everywhere.
Issue #306 - Logic upgrade for UserManager::create_username().
Issue #306 - Importing users in a session: Reworking code there.
Issue #306 - Fixing a typo error of mine.
Issue #306 - Training reporting: Reworks are in progress.
Issue #306 - Training reporting: Enabling showing the access-chart and other minor corrections.
Issue #306 - Training reporting: Cleaning code.
Issue #306 - Creation of a new method UserManager::create_unique_username().
Issue #306 - UserManager class: Polishing code about username generation.
Issue #306 - The multibyte string library: Adding new functions: api_detect_xml_encoding(), api_is_language_supported(), api_validate_language().
Issue #306 - The multibyte string library: Making the function api_detect_xml_encoding() more convenient for use.
Issue #306 - Adding a new method UserManager::cut_username().
Issue #306 - Platform admin, session import: Preparing a script for modifications, cleaning code for easy reading.
Issue #306 - Platform admin, the session import script: Applying our coding conventions and other minor reworks.
Issue #306 - Cleaning trailing whitespace in some files.
Issue #306 - The multibyte string library: The function api_detect_xml_encoding() has been renamed as api_detect_encoding_xml(). New functions have been added: api_convert_encoding_xml(), api_utf8_encode_xml(), api_utf8_decode_xml().
Issue #306 - Platform admin, the session import script: Starting to use some newly introduced in the UserManager class methods for processing usenames.
Issue #306 - Platform admin, the session import script: Starting to use the newly introduced function api_utf8_encode_xml().
Issue #306 - Platform admin: Minor corrections in the script for session import.
Issue #306 - Platform admin: Cleaning trailing whitespace in the user import script.
Issue #306 - Platform admin: Cleaning code in the user import script, for easier reading.
Issue #306 - Platform admin: Corrections about the form in the user import script.
Issue #306 - Platform admin, the user import script: Fixing person name oder in error messages, applyng some new methods from UserManager class.
Issue #306 - UserManager - cleaning trailing whitespace.
Issue #306 - Cleaning code of UserManager::create_username().
Issue #306 - Platform admin: Various corrections in the scripts for xml-import of sessions and users, increasing reliability when data with extra-whitespace is imported.
Issue #306 - Platform admin: Changes in the scripts for xml-import of users. Now the input xml-file may be arbitrary encoded, supported encodings depend on our multibyte string library. This is a variation of the same trick as it was in r8357.
Issue #306 - Platform admin: Final changes in the scripts for xml-import (only) of sessions and users. Dealing with encodings of csv-files is another story.
Issue #306 - Making logic in the UserManager class about usernames more precise. Adding new methods UserManager::purify_username() and UserManager::is_username_valid().
Issue #306 - Platform admin, session and user import tools again: Updating logic about usernames. Fixing a mistake of mine.
Issue #306 - Training reporting tool: Cleaning code of the script for importing users.
Issue #306 - Training reporting tool: Cleaning code of the script for importing users.
Issue #306 - Elimination of the method UserManager::cut_username(). Reverting a fragment of code that was inserted by mistake. Other minor corrections.
Issue #306 - Platform admin, session import tool: Applying validation for course languages, fixing a conflict between global variables.
Issue #306 - Web-services: Trimming whitespace in source files.
Issue #306 - Web-services: Cleaning code, pass 1.
Issue #306 - Web-services: Cleaning code, pass 2.
Issue #306 - Web-services: Updating logic (as far as it is possible) for names, usernames, lanuages, encodings. Final cleaning.
Issue #306 - The UserManager class: Cleaning source code before making some modifications.
Issue #306 - The UserManager class: Fixing an accidentally noticed issue related with getimagesize(), see http://www.dokeos.com/forum/viewtopic.php?t=16355 . Minir modification of the function get_lang() as it is needed for UserManager. Other minor changes.
Issue #306 - FormValidator: Updating code for the validation rule 'username'. This rule is served by the UserManager class now.
Issue #306 - Platform administration tool: Trimming whitespace from all php-source files there.
Issue #306 - Platform administration tool, "Add users to a class CSV": Cleaning source code.
Issue #306 - Platform administration tool, "Add users to a class CSV": Code rework, revision of logic about usernames. Other minor changes.
History
Updated by Yannick Warnier almost 11 years ago
- Priority changed from Normal to Low
- Target version changed from 1.8.7 to 1.8.7.1
Updated by Yannick Warnier almost 10 years ago
- Target version changed from 1.8.8 stable to 1.8.8.4
Issue #306 - The myltibyte string library: Reorganizing some functions. Upgrading the function api_substr() so it could process UTF-8 strings correctly even if there are no mbstring and iconv extensions installed.