2347 Commits

Author SHA1 Message Date
stronk7
2c76ad371b This was causing some disruption in tests because "SET CHARSET" changes
conection charset to default DB charset and not to the specified 'utf8'.
2006-01-13 14:26:53 +00:00
toyomoyo
e8f7b20f9a more bug fixes =( 2006-01-13 07:24:43 +00:00
mjollnir_
fbcbd77c85 Fixing bug # 4567: warning in get_my_courses 2006-01-12 02:55:59 +00:00
toyomoyo
7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
toyomoyo
7098681423 adding new fields in xml, and bug fixes 2006-01-11 03:04:57 +00:00
mjollnir_
82c859921b Added selectall/deselectall to files/index.php 2006-01-11 02:26:26 +00:00
mjollnir_
1404079794 added useful function array_is_nested to moodlelib;
added choose_from_menu_nested which takes a nested array and prints
<optgroup> for first level of array and then <option> under that
2006-01-11 02:22:16 +00:00
mjollnir_
d0d272e758 A few changes to weblib - print_checkbox can now return and have script elements, choose_from_menu does type comparisons when testing for selected, added print_textfield function 2006-01-11 02:14:37 +00:00
mjollnir_
79a1029455 Merged from MOODLE_15_STABLE: Metacourse unenrolling: fixes bug #4541 2006-01-10 01:19:44 +00:00
toyomoyo
fb7b685530 adding utf8 support scripts 2006-01-09 06:12:18 +00:00
patrickslee
bbbb201364 Wrong default data for $CFG->changepassword
Merged from MOODLE_15_STABLE
2006-01-09 03:54:11 +00:00
stronk7
dee5beecd7 If both mbstring and iconv are not present, use recode
as last resort to perform charset conversions before using
internal libraries.
2006-01-07 17:15:47 +00:00
stronk7
2412b5ab1b Avoid one notice if the dataroot/lang dir doesn't exist. 2006-01-07 10:00:49 +00:00
stronk7
46115724f5 New current_charset() function added.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:04:26 +00:00
stronk7
0dd23062c9 Adding new defaults for email encoding.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 15:59:16 +00:00
stronk7
7124cc16e7 Now rss_unhtmlentities() is not used anymore!
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 13:13:06 +00:00
moodler
d3f9f1f85d Moving some functions to setuplib.php so they are first 2006-01-05 07:08:10 +00:00
toyomoyo
f66a6ab716 language list file to keep in /lib, in case user can't use fopen, this list is read to get a list of possible languages to download from download.moodle.org 2006-01-05 06:53:05 +00:00
moodler
fb5928bddd Temporarily restored rss_unhtmlentities that was recently removed by Eloy.
Eloy, you may want to check this... The RSS client block was using this function.
2006-01-05 06:51:46 +00:00
moodler
6aaa17c7cc Merging language-pack-related updates from Eloy's MOODLE_16_UTF8 branch.
Do not use that branch any more!!
2006-01-04 08:23:42 +00:00
martinlanghoff
e2e6b166df Merged from MOODLE_15_STABLE - AdoDB tests cleanup after Secunia Advisory SA18267 2006-01-03 20:53:15 +00:00
martinlanghoff
ed5cc66d5d Merged from MOODLE_15_STABLE: Fix for Secunia Advisory SA18267 - plus logging of suspicious activity 2006-01-03 20:42:39 +00:00
skodak
c59733ef80 improved comments for parameter types (PARAM_XXX) 2005-12-30 15:54:19 +00:00
skodak
16303ee905 fixed session fixation prevention that was broken after cookieless patch SC#205 2005-12-28 19:05:46 +00:00
toyomoyo
33c3578684 changed get_list_of_languages, now checking *_local lang folders, also getting $string['thislanguage'] string from langconfig.php for 1.6 unicode packs 2005-12-21 02:06:25 +00:00
mjollnir_
ddf1935f30 For pinned blocks (that don't have a pageid), make one up on the fly (Fixes bug #4497) 2005-12-20 20:55:37 +00:00
toyomoyo
0afb2f2fb4 merged, bug fix for 4490 2005-12-19 02:12:49 +00:00
defacer
1130633117 NEW FEATURE:
Per-block access controls for creating and editing block instances. Defaults
behave the same as before, and the framework has final say as before.

See relevant discussion at http://moodle.org/mod/forum/discuss.php?d=36444



Other minor changes: Converted "continue" to "break" inside switch statements
(more to the point, although equivalent), change erroneous (but harmless)
"return false" to "break" on failed addition of block instance, removed some
inline comments from block_base (they were duplicated in PHPdoc)
2005-12-17 04:37:55 +00:00
defacer
a9033ad5f8 Faster block_method_result(), my back-of-the-envelope benchmarks say that
call_user_func is about 3 times faster than eval(). Which is no surpise. ;-)

Faster block_load_class() by checking if the block class is already present
instead of relying on require_once() and include_once() which have include
paths and other nasties to take into account.
2005-12-17 03:09:13 +00:00
dhawes
9420ae5bc2 updating magpie to version 0.72 2005-12-14 01:07:54 +00:00
dhawes
9273dc56c1 upgraded Snoopy to version 1.2.3 - see http://www.sec-consult.com/216.html 2005-12-13 23:38:47 +00:00
dhawes
68d2d83622 moving Snoopy references to moodle/lib/snoopy/Snoopy.class.inc 2005-12-13 23:35:54 +00:00
dhawes
e53b6045fe updating magpie to version 0.72 2005-12-13 23:34:21 +00:00
patrickslee
0986271ba2 Moved the new functions added for Bug #4074 to datalib.php 2005-12-13 19:31:48 +00:00
stronk7
7c1222573d Updated to newest version. Solved one important bug.
(http://bugs.typo3.org/view.php?id=2020)

Merged from MOODLE_16_UTF8
2005-12-13 17:21:53 +00:00
patrickslee
7fb0fec757 Fixed courses and subcategories in an invisible category being visible (Bug #4074)
This patch is different from the one form MOODLE_15_STABLE as it used the stored path in category data.
2005-12-13 04:05:04 +00:00
dhawes
80be7ee37e minor phpdoc update 2005-12-13 03:44:08 +00:00
dhawes
735b85670a correct malformed phpdoc function comments, rearranged phpdoc comments associated with wrong globals, and removed some tab characters 2005-12-13 02:21:02 +00:00
dhawes
f5ecb599ec PHPDoc todo tags added to functions called out as close to EOL 2005-12-10 16:40:23 +00:00
toyomoyo
fd78420b78 patch for cookieless sessions 2005-12-05 02:24:45 +00:00
moodler
410a24c09e Merged Hannes Gassert's code for podcasting support more or less without changes.
http://opensource.mediagonal.ch/moodle/patches/podcasting/
2005-12-02 07:07:44 +00:00
toyomoyo
a266c90455 fixes bug 4400 2005-12-02 02:26:39 +00:00
toyomoyo
8f23e33bf7 merged from stable, makes autologin guest possible at site level 2005-11-28 02:23:11 +00:00
stronk7
ec6bee0f8e Prevent a warning when params is empty. Bug 4328.
(http://moodle.org/bugs/bug.php?op=show&bugid=4328)
2005-11-21 13:13:23 +00:00
patrickslee
3468d58a1b New feature: Configureable visibility of fields in Participants page
A new configuration variable is avaliable to limit which fields normal user can see about other users. Teachers/admins can still see the full info.

This provides some degree of privacy for students.
2005-11-20 21:29:59 +00:00
moodler
81532b92f2 Merged bug 4351 fix from stable 2005-11-19 15:39:31 +00:00
mjollnir_
f53fba389a If tablelib is going to do fullname voodoo, it should allow us to make the default order field something that makes up fullname (ie, firstname/lastname) 2005-11-18 04:19:58 +00:00
julmis
3e7fa1f8cb Merging from stable 2005-11-17 19:33:48 +00:00
julmis
8da03148ee Merging from stable.
Added required_param or optional_param.
2005-11-17 10:37:41 +00:00
moodler
2deebecdc5 Merged Petr's fixes for SC189 from STABLE 2005-11-17 06:45:40 +00:00