Project

General

Profile

Feature #306

test tool: add a maximum number of words in open questions

Added by Carlos Vargas over 9 years ago. Updated over 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
03/12/2009
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

test tool: add a maximum number of words in open questions

Associated revisions

Revision 0cc113bd (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision b4635b90 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - The myltibyte string library: Various reworks are in progress.

Revision b188da6f (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - The multibute string library: Fixing my newly made mistakes, logic upgrades, optimizations for speed.

Revision a29e18b6 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Fixing some my mistakes about using the function api_transliterate().

Revision 51a649cd (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - The multibute string library: Logic upgrades, optimizations for speed.

Revision 9376bb9d (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - The multibute string library: Logic upgrades, optimizations for speed, part 2.

Revision a3cb586f (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - The multibute string library: Restructuring the functions - those for internal use are renamed and moved in the correspondent file.

Revision 1b116477 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - The multibute string library: Adding comments, corrections.

Revision c3c4275f (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306: Reworks about the initialization of the multibyte string library.

Revision 933b1beb (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision c57684d5 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 5079fc0e (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Elimination of some direct calls of the function iconv().

Revision 1fd25b29 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - The multibute string library: Corrections after testing.

Revision b76924e4 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision c42ebb54 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Testing the multibyte string library, a correction in the tester has been done.

Revision c5a9ffb9 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 146468b7 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Replacing the implementation of api_str_ireplace() with a better one.

Revision fecadb6a (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - A sanity check within api_str_ireplace() has been added.

Revision 70f98829 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Searching and fixing some insafe calls of htmlentities().

Revision 21b8d880 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 3659ea7f (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Elimination of the function api_set_string_library_default_language(). Various logic improvements.

Revision 0cb59eb5 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Adding a new library about internationalization issues. Currently it contains routines for date/time formatting.

Revision 23920717 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Moving the functions get_lang() and api_get_interface_language() to the internationalization library.

Revision bb7feb13 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 56bed478 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Moving the table with non-UTF-8 encoding in the internationalization "database".

Revision ccaf5405 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 68cbc768 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision b73bf7cc (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Fixing ordering of the administrator's names in the installation script and in the systems's footer.

Revision 0a0e7f66 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 7a02b21e (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 0f566d6e (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Platform administrator's tools: Fixing person name order and sorting to be dependable on the internationalization settings, Part 1.

Revision a0618dc5 (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Platform administrator's tools: Fixing person name order and sorting to be dependable on the internationalization settings, Part 2.

Revision 2fbb7017 (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Platform administrator's tools: Fixing person name order and sorting to be dependable on the internationalization settings, Part 3.

Revision 8e0075fa (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision ed64d52d (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision a6a6cea3 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 0d00215a (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Agenda tool (Part 2): Fixing person name order and sorting to be dependable on the internationalization settings.

Revision 1a15aba0 (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Chat tool: Fixing person name order to be dependable on the internationalization settings.

Revision 7645df26 (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Training settings, training creation: Fixing person name order to be dependable on the internationalization settings.

Revision d7ac1ce9 (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Documents, Drobbox: Fixing person name order to be dependable on the internationalization settings, other minor corrections.

Revision bc7b4630 (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Tests tool: Fixing person name order to be dependable on the internationalization settings, other minor corrections.

Revision a130b1e0 (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Forums tool: Fixing person name order to be dependable on the internationalization settings, other minor corrections.

Revision 4404f295 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision d30739e9 (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Gradebook tool (Part 1) and Assignments tool: Fixing person name order to be dependable on the internationalization settings.

Revision 3185aba8 (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Assesments (gradebook) tool, part 2: Fixing person name order and sorting to be dependable on the internationalization settings.

Revision 27e71d5b (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision bda4e3c0 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 15016385 (diff)
Added by Ivan Tcholakov almost 10 years ago

Bug #3646 and Issue #306 - Common Dokeos libraries (part 2): Fixing person name order to be dependable on the internationalization settings. Other minor corrections.

Revision 6b7bd06d (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 601ef1eb (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 3fc6b57c (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 150bf58c (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 96fca8e7 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 9dce81ad (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 864f6a43 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform administrator, tool usage statistics: Translation of tool names.

Revision 0ac2e538 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 4b965941 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision db806372 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision e7b2a09a (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision aa896ce6 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 272570f5 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Logic upgrade for UserManager::create_username().

Revision f833d359 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Importing users in a session: Reworking code there.

Revision 7a2ed349 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Fixing a typo error of mine.

Revision e6c22cfb (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Training reporting: Reworks are in progress.

Revision cfdcb5a6 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Training reporting: Enabling showing the access-chart and other minor corrections.

Revision 9fd9d928 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Training reporting: Cleaning code.

Revision a57de8e1 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Creation of a new method UserManager::create_unique_username().

Revision 5ac391b1 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - UserManager class: Polishing code about username generation.

Revision a18b877f (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - The multibyte string library: Adding new functions: api_detect_xml_encoding(), api_is_language_supported(), api_validate_language().

Revision c10679b2 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - The multibyte string library: Making the function api_detect_xml_encoding() more convenient for use.

Revision 873e10e7 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Adding a new method UserManager::cut_username().

Revision f00fef6d (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin, session import: Preparing a script for modifications, cleaning code for easy reading.

Revision 3d565f07 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin, the session import script: Applying our coding conventions and other minor reworks.

Revision 88fffff1 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Cleaning trailing whitespace in some files.

Revision d477a7ce (diff)
Added by Ivan Tcholakov almost 10 years ago

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().

Revision 6f9b2b77 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin, the session import script: Starting to use some newly introduced in the UserManager class methods for processing usenames.

Revision b20726c9 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin, the session import script: Starting to use the newly introduced function api_utf8_encode_xml().

Revision b44cc468 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin: Minor corrections in the script for session import.

Revision eb0a627e (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin: Cleaning trailing whitespace in the user import script.

Revision 2109615a (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin: Cleaning code in the user import script, for easier reading.

Revision 03d75622 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin: Corrections about the form in the user import script.

Revision 9f06d3d0 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin, the user import script: Fixing person name oder in error messages, applyng some new methods from UserManager class.

Revision 6b66ad6c (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - UserManager - cleaning trailing whitespace.

Revision bde25205 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Cleaning code of UserManager::create_username().

Revision 24e356e3 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 1289b6bf (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision 2cbaebf3 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision bf33ebf6 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Making logic in the UserManager class about usernames more precise. Adding new methods UserManager::purify_username() and UserManager::is_username_valid().

Revision 1be6407c (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin, session and user import tools again: Updating logic about usernames. Fixing a mistake of mine.

Revision 861aad70 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Training reporting tool: Cleaning code of the script for importing users.

Revision cef8c12a (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Training reporting tool: Cleaning code of the script for importing users.

Revision a794b60d (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Elimination of the method UserManager::cut_username(). Reverting a fragment of code that was inserted by mistake. Other minor corrections.

Revision 0c5a7d48 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform admin, session import tool: Applying validation for course languages, fixing a conflict between global variables.

Revision b23d9bc6 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Web-services: Trimming whitespace in source files.

Revision a08f0cd9 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Web-services: Cleaning code, pass 1.

Revision 746a58c8 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Web-services: Cleaning code, pass 2.

Revision 5d16ef68 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Web-services: Updating logic (as far as it is possible) for names, usernames, lanuages, encodings. Final cleaning.

Revision adc74d7b (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - The UserManager class: Cleaning source code before making some modifications.

Revision cb1a44e1 (diff)
Added by Ivan Tcholakov almost 10 years ago

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.

Revision a3019a99 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - FormValidator: Updating code for the validation rule 'username'. This rule is served by the UserManager class now.

Revision 37dc9f98 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform administration tool: Trimming whitespace from all php-source files there.

Revision f9f850e6 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform administration tool, "Add users to a class CSV": Cleaning source code.

Revision 9d3ee627 (diff)
Added by Ivan Tcholakov almost 10 years ago

Issue #306 - Platform administration tool, "Add users to a class CSV": Code rework, revision of logic about usernames. Other minor changes.

History

#1

Updated by Yannick Warnier over 9 years ago

  • Priority changed from Normal to Low
  • Target version changed from 1.8.7 to 1.8.7.1
#2

Updated by Yannick Warnier almost 9 years ago

  • Target version changed from 1.8.7.1 to 1.8.8 stable
#3

Updated by Yannick Warnier over 8 years ago

  • Target version changed from 1.8.8 stable to 1.8.8.4
#4

Updated by Yannick Warnier almost 8 years ago

  • Target version changed from 1.8.8.4 to 1.9 Stable
#5

Updated by Yannick Warnier about 7 years ago

  • Target version changed from 1.9 Stable to 1.9.2
#6

Updated by Yannick Warnier almost 7 years ago

  • Target version changed from 1.9.2 to 2.0
#7

Updated by Yannick Warnier over 3 years ago

  • Target version changed from 2.0 to 3.0

Also available in: Atom PDF