2587 Commits

Author SHA1 Message Date
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
patrickslee
9a0f8502f5 Allow tutors to be added in bulk email list.
In addition, if any tutor in the list is not subscribed to the teacher forum they will be subscribed automatically.

Also show hidden tutors as well when a teacher is viewing the participants list.

And some small bug fixes
2005-11-17 03:37:30 +00:00
mjollnir_
1b4fe47b08 Merged from MOODLE_15_STABLE: Pulling in a missing global CFG in datalib:execute_sql (affects CFG->dblogerror) 2005-11-17 02:27:05 +00:00
mjollnir_
68d9654316 Display fix to stats 2005-11-16 19:49:07 +00:00
mjollnir_
4907efae2b Merged from MOODLE_15_STABLE: Another fix to the perf printing patch from earlier. I didn't realise that 'no' in the context of perf means 7 ;) 2005-11-16 02:12:12 +00:00
skodak
4d7c4f7f5c Do not use set_default() and isset_param(), becasue those ugly hacks will be removed SOON!! 2005-11-15 23:32:22 +00:00
skodak
5d7a9f5669 PARAM_BOOL now detects on and off values + UNCHECKED_VARS detection; merged from MOODLE_15_STABLE 2005-11-15 23:28:10 +00:00
mjollnir_
d1f1e3f899 Merged from MOODLE_15_STABLE: perf configvar & footer 2005-11-15 21:34:53 +00:00
skodak
24e202cd4f added register_globals off as recommended setting; merged from MOODLE_15_STABLE 2005-11-14 22:58:02 +00:00
skodak
578dcc4019 add GLOBALS overwrite protection and improved magic_quotes_gpc hack SC#191, SC#184, SC#92; merged together with Jon's last patch from MOODLE_15_STABLE
also removed the broken unregister_globals() function
2005-11-14 22:53:44 +00:00
defacer
136f43dcda Missing footers, XHTML warnings.
I suppose the "home page" button is not a problem, as the "continue" button
is very obvious on screen.
2005-11-14 04:33:25 +00:00