Commit Graph

83 Commits (5f840878cb60f9b6f645db16082bf376075e901b)

Author SHA1 Message Date
Eric Marguin b8fc0810ef [svn r14615] add the DRH status (adapted from ucanss development) 18 years ago
Yannick Warnier 420914de78 [svn r14598] Added api_get_language_isocode() 18 years ago
Yannick Warnier c28cc8c55f [svn r14573] Renamed REL_CLARO_PATH constant to REL_CODE_PATH 18 years ago
Yannick Warnier e1f6b85cc1 [svn r14544] Added api_get_version() to get the system's version number (and later provide it through web services) 18 years ago
Yannick Warnier 36e6bc9399 [svn r14331] Added call to api_set_anonymous() in api_get_anonymous() if conditions are met 18 years ago
Yannick Warnier ebd7843181 [svn r14309] Light fixes to user selected theme feature (see FS#2204) 18 years ago
Yannick Warnier 52d58d47e0 [svn r14307] Added user theme selection in user's profile (includes creating api_get_themes() in main_api and corresponding select list in FormValidator). Implements part of FS#2204 18 years ago
Eric Marguin f577e626ef [svn r14167] avoid problems when having two times the course setting in the db (it can appear after an upgrade for example) 18 years ago
Yannick Warnier d996555fa0 [svn r14034] Updated api_sql_query() so that it doesn't die stupidly before printing the error message, and so that it doesn't die at all. 18 years ago
Yannick Warnier 809f0fb760 [svn r14033] Added constants for gradebook inclusion 18 years ago
Yannick Warnier ad0ea27cee [svn r13971] Reverted change 18 years ago
Yannick Warnier fa237d3589 [svn r13968] Minor code improvement (avoid notices) 18 years ago
Yannick Warnier 11a97c7c8b [svn r13967] Set default tool name to empty string (in this case we don't need a tool name to be shown) 18 years ago
Yannick Warnier f16931e8c2 [svn r13928] Dangerous change that seems to fix the issue with "session side-effect" warning (see FS#1282) 18 years ago
Eric Marguin 0a06d512ec [svn r13855] fix a bug when logging to a protected course (FS#2085) 18 years ago
Yannick Warnier 263b6c4dcc [svn r13786] - reflected changes in local.inc.php regarding student_view 18 years ago
Yannick Warnier c3ca50e259 [svn r13763] Added "username" to the list of fields recovered by the api_get_user_info() function 18 years ago
Yannick Warnier 45a6be607b [svn r13735] Added cid XSS filtering in api_get_cidreq() 18 years ago
Yannick Warnier 1769336c79 [svn r13358] Improved is_anonymous check 18 years ago
Yannick Warnier 190de0599d [svn r13357] Blocks anonymous users in api_block_anonymous() following updates in anonymous user handling 18 years ago
Christophe Goossens a2221d7316 [svn r13353] Updated session expired message to use get_lang (FS#1946) 18 years ago
Yannick Warnier 9a3e2114a3 [svn r13345] Fixed language files loading process as proposed by Joost in FS#1925 18 years ago
Yannick Warnier 0907ac73ac [svn r13261] Using include_once() instead of include() for language files in get_lang(). Might *considerably* improve performances! 18 years ago
Yannick Warnier 39b891b5ea [svn r13147] Always return api_get_path(WEB_PATH) and api_get_path(SYS_PATH) with a trailing slash. 18 years ago
Yannick Warnier 4f11c7f1fc [svn r13144] Ensured _user is in global after setting anonymous user in api_set_anonymous(). Fixes a bug whereby a learning path is not visible to an anonymous user when the course is open to the world. 18 years ago
Julian Prud'homme f6b4ecb9a1 [svn r13125] Fix a bug with permissions in blogs 18 years ago
Yannick Warnier e098560d80 [svn r13116] Added auth_source to the result of api_get_user_info() 18 years ago
Yannick Warnier 9b96fc43f2 [svn r13104] Fixed typo in SQL query 18 years ago
Yannick Warnier 6bded67d4a [svn r13103] Added api_get_item_visibility() to fetch an item_property row's visibility directly (just pass course, tool and id). 18 years ago
Yannick Warnier 8d758d26f8 [svn r13099] Improved api_get_course_info() to enable getting info for a specific course_code rather than only the current course 18 years ago
Eric Marguin 9214f00d43 [svn r13082] add api_chmod_R function and chmod imported scorm directory (recursively) 18 years ago
Yannick Warnier 77ad6be538 [svn r12834] Added constant for hotpotatoes files directory 18 years ago
Yannick Warnier 24e1aaa396 [svn r12747] Added TOOL_HOTPOTATOES - fix submitted by André Boivin - see http://www.dokeos.com/forum/viewtopic.php?t=11104 18 years ago
Yannick Warnier cbe71b4dea [svn r12644] Added check for config setting before adding [= =] for DLTT markup 19 years ago
Eric Marguin 33c954c5ec [svn r12640] remove session_set_cookie_params (too many problems are due to it) 19 years ago
Yannick Warnier b1a4ab9c13 [svn r12620] Minor change - added examples for all the api_get_path() cases - This will presumably save a lot of seconds in the future. 19 years ago
Eric Marguin ecb85d4a1f [svn r12614] add a function to copy recursively a folder 19 years ago
Yannick Warnier 46e5f7aae7 [svn r12603] Fine-tuned anonymous-functions to avoid database checks when possible (heavy resource usage) 19 years ago
Yannick Warnier a02b6f4cd8 [svn r12590] Added functions to deal with the "anonymous user" (a user who's DB status is 6), that will help deal with tools that record progress and are open to the public. 19 years ago
Yannick Warnier d2bebd9e45 [svn r12522] Updated api_display_tool_view_option() to allow for studentView switch even in framed mode (added target="_top") 19 years ago
Yannick Warnier 684209685d [svn r12520] Fixed bug preventing natural behaviour of studentView (checking for &studentView but not &studentView - now always using &studentView everywhere) 19 years ago
Yannick Warnier bb5cb81fe1 [svn r12489] Added optional param to api_protect_course_script() to print headers when calling api_not_allowed(). Defaults to false so that current scripts remain the same. 19 years ago
Yannick Warnier 575a6c0aa4 [svn r12476] Introduced config-file settable session cookie lifetime. Defaults to 100 hours. Can be changed in config file (not in DB because used before DB connection). 19 years ago
Julian Prud'homme 1f5d1270b4 [svn r12272] 6th step in removing all $_SERVER['PHP_SELF'] 19 years ago
Julian Prud'homme 97778d4ca4 [svn r12263] First step ni removing all $_SERVER['PHP_SELF'] 19 years ago
Yannick Warnier 8c8374b529 [svn r12216] Improved checks before HTTP redirection to user_portal (in api_not_allowed()) 19 years ago
Yannick Warnier 2299eee5c4 [svn r12215] Added param to api_not_allowed(). Default is as before (doesn't print headers). If param set to true, headers are considered already sent (redirect is impossible) 19 years ago
Yannick Warnier 4b86251d49 [svn r12213] api_not_allowed() now deals itself with the header (this means it has to be called before any output in other tools) 19 years ago
Patrick Cool daa02fd213 [svn r11874] consistency improvements 19 years ago
Patrick Cool fcb1a172f3 [svn r11794] re-enable studentview but default = off 19 years ago