Commit graph

968 commits

Author SHA1 Message Date
skodak
18478666ca fixed printing of filenames from zip archives - SC#273; merged from MOODLE_16_STABLE 2006-07-12 05:57:28 +00:00
stronk7
1a9b9a0143 Emulate file_put_contents() under PHP 4.3.x 2006-07-11 17:42:21 +00:00
skodak
f262874bbe Bug #5909 - Fix use of user_group() because it returns arrays now - part 1; merged from MOODLE_16_STABLE 2006-07-03 21:11:17 +00:00
tjhunt
3ef8c9362d Bug #5979 - Check in the OU's unit testing framework. Docs at http://docs.moodle.org/en/Unit_tests 2006-06-30 14:59:05 +00:00
skodak
77cf4951b7 fixed Turkish problems see, Bug #5878 - Teachers can't add blog and blocks; merged from MOODLE_16_STABLE 2006-06-26 07:23:10 +00:00
stronk7
c0bd060a58 Change the moodle_strtolower() function to use textlib services.
Also, mark it as deprecated, code should use text services directly.
Partially, bug 5777. It continues under investigation.
(http://moodle.org/bugs/bug.php?op=show&bugid=5777)

Merged from MOODLE_16_STABLE
2006-06-10 10:40:16 +00:00
stronk7
d96466d29f Moving from lastIP to lastip everywhere. Bug 5763.
(http://moodle.org/bugs/bug.php?op=show&bugid=5763)

Merged from MOODLE_16_STABLE
2006-06-09 10:04:43 +00:00
vyshane
69c9c3e696 Fix for get_string(), which was not building path to report language files
correctly.
2006-06-01 03:10:17 +00:00
moodler
45fc1f759e Make $COURSE a full object for later use 2006-05-29 07:31:22 +00:00
skodak
043f527471 Bug #4779 - lib/moodlelib.php: typo; merged from MOODLE_16_STABLE 2006-05-25 06:34:33 +00:00
skodak
a38a768b29 fixed cleaning of path in custom scripts SC#221; merged from MOODLE_16_STABLE 2006-05-20 17:23:14 +00:00
skodak
4a10c3875b fixed - disabled autologinguest not always respected in require_login() SC#255; merged from MOODLE_16_STABLE 2006-05-19 19:11:30 +00:00
skodak
2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
skodak
aaeaa4b007 fixed alternative salt index range - now allowed 1...20 2006-05-01 21:32:49 +00:00
skodak
4908ad3ebf added optional salting of user passwords stored in internal table - first part; admin UI and docs coming soon (SC#236) 2006-04-30 21:02:28 +00:00
moodler
35ca0d6a45 Add a new function fullclone() to forcibly make a complete copy of a structure 2006-04-26 04:39:34 +00:00
skodak
463468bc96 fixed typo in ismember() - nasty one!
and some warnings get_directory_size()
2006-04-22 16:45:12 +00:00
moodler
08bdcd3974 Added more common mail charsets to choose from bug 5229 2006-04-20 08:21:58 +00:00
moodler
02c649e69e Make email address denying work a little more rigorously. bug 5250 2006-04-20 08:17:11 +00:00
toyomoyo
8bcd295c3d bumping up version, chaing user->firstname, user->lastname, course->shortname to varchar(100) 2006-04-19 08:18:35 +00:00
stronk7
717f14b627 strstr(string haystack,string needle). We were doing the opossite. Bug 5037.
(http://moodle.org/bugs/bug.php?op=show&bugid=5037)
2006-04-15 17:30:23 +00:00
skodak
eb59ac2777 PARAM_BOOL now accepts "yes/no" too 2006-04-12 16:55:47 +00:00
skodak
2451dcc3aa added proper parameter type in confirm_sesskey() 2006-04-11 20:07:57 +00:00
stronk7
6346748fec Strip the "_utf8" suffix from language names in list of languages.
(http://moodle.org/bugs/bug.php?op=show&bugid=4924)
2006-04-10 22:53:53 +00:00
moodler
f07fa64418 Of $COURSE you can't redefine constants :) 2006-03-29 17:56:35 +00:00
stronk7
063716bad9 Now new lang packs won't be available until UTF-8
migration was performed. Until then, only "en" and
old lang packs will be available.

The opposite is also true: only new lang packs will be available
once the UTF-8 migration was performed.
2006-03-29 16:18:46 +00:00
moodler
00a67d879c Just removing a space 2006-03-29 15:39:21 +00:00
moodler
8a58a8e17f Starting the global COURSEID.
require_login seems to be the best place to capture this, however
I'm sure there are a few little places where it won't work.

We need to hunt these places down and fix them, because I would
like to rely on COURSEID and remove all the "global $course" hacks
that are floating around.

Probably later we need the full object $COURSE as well (to match $SITE)
2006-03-29 15:38:29 +00:00
moodler
1ae655b17c Support for $CFG->sessioncookiepath 2006-03-28 05:26:18 +00:00
stronk7
11f7b25d18 Bump! Now we support Win32 locales. B-)
Anyway some "holes" remain. See:

http://docs.moodle.org/en/Table_of_locales
2006-03-25 12:26:33 +00:00
moodler
42431d7a30 Fixed bug in make_mod_upload_directory() vecause of new lang packs 2006-03-21 16:57:32 +00:00
gustav_delius
f67172b64b Moved code to delete questions and question categories to lib/questionlib.php
Also fixed bug 4949
2006-03-21 09:06:34 +00:00
moodler
ffd0fbb7ac New feature: you can now reset a course simply and easily using the new
"Reset" item on the course admin menu.

This allows you to delete user data from the course without touching the
course itself.
2006-03-21 07:34:33 +00:00
moodler
952d8dc87c Speedup! get_timezone_record wasn't caching! :-) 2006-03-20 09:36:47 +00:00
stronk7
8abebd1e5b Notice killing... ;-) 2006-03-19 11:13:16 +00:00
stronk7
b212c114ce First cut of email working with any encoding. Works practically ok but
I've to check something that seems to be a bug in the build of the
subject. Sendind it to CVS to check the code under Win32 and Linux.
2006-03-18 17:48:52 +00:00
skodak
4f01826a27 removed $SESSION->encoding now replaced by current_charset() and $CFG->unicodedb; 3rd party contribs must be fixed to be utf-8 and 1.6dev compatible anyway;
going to add a notice to wiki at http://docs.moodle.org/en/UTF-8_scripts
2006-03-13 22:26:06 +00:00
skodak
df1931578a password handling refactoring and added conversion of passwords to unicode 2006-03-11 11:26:36 +00:00
thepurpleblob
7277ee54ca Removed bad bad bad isset_param() function. 2006-03-10 11:11:32 +00:00
stronk7
c1f6779fac If $CFG->running_installer is set, we force to retrieve
all the strings from installer.php to allow multi-lang
installations.
2006-03-09 17:43:14 +00:00
moodler
8c5ea8d5ce Look for languages in report directories too 2006-03-09 08:27:53 +00:00
martinlanghoff
f9667a5aea [multienrol]Initial commit for multi enrolment plugin feature 2006-03-09 02:48:29 +00:00
tjhunt
09481160db Refactor course deletion code to eliminate about 70 lines of duplication. 2006-03-08 16:10:24 +00:00
skodak
038ba6aa30 change value of PARAM_RAW from 0 to 666, becasue we need to detect incorrect param types (such as PARAM_IND) and incorrect order - optional_param('xx', PARAM_INT, 0)
This might break faulty code...
2006-03-07 19:20:23 +00:00
skodak
c07549b6e2 fixed coding style of unicode db detection 2006-03-06 20:30:00 +00:00
tjhunt
c0b5b31a48 Addition to locallib.php to notify local code when a course is deleted. 2006-03-06 12:19:58 +00:00
skodak
96e98ea67f Fixed error in my previous commit, unknown parametery type 0. 2006-03-06 06:25:33 +00:00
ikawhero
70070c1f88 Changes to custom script code. Credit to Gordon Bateson. Bug 4827. 2006-03-06 01:45:11 +00:00
mjollnir_
2e05b22ab6 Fixing the parse error in moodlelib! Do I get a prize for being first after sf.net came back up? ;) 2006-03-06 00:39:51 +00:00
mjollnir_
74ffb569c6 Added a useful function in moodlelib to resolve filename collisions when moving files around. Perhaps useful for backup or importing or files/index.php 2006-03-06 00:36:06 +00:00