defacer
7ab8bb7160
Adding workaround for PHP < 4.3.0 where file_get_contents does not exist.
2005-02-25 02:46:05 +00:00
defacer
a43b5308c8
Fixed a typo in get_records_csv.
...
Made put_records_csv accept array of arrays as well as array of objects.
2005-02-25 02:06:42 +00:00
defacer
a77b98ebe6
Added function put_records_csv. This will be used to convert the results of
...
the Olson DST parser to csv format prior to importing. Could find other uses
as well.
2005-02-25 01:54:06 +00:00
defacer
13222d99b5
Adding new fields to the dst_preset table.
2005-02-25 01:24:52 +00:00
skodak
39ba6d586a
Slasharguments test for health center, please test
2005-02-24 21:14:32 +00:00
defacer
8c1315ff0a
Added missing defaults for the 4 clam options, they gave me notices when
...
test-driving upgrade MOODLE_141 -> HEAD
2005-02-24 04:59:27 +00:00
defacer
599f38f9db
New filelib, with get_records_csv().
2005-02-24 02:36:45 +00:00
defacer
ff67989728
Fix for bug 2628.
2005-02-23 18:51:00 +00:00
moodler
e9df755235
Robustness check
2005-02-23 16:29:00 +00:00
moodler
e76ae26489
Fix for erroneous checkin of CVS confict markers ... bug 2626
2005-02-23 12:10:02 +00:00
martinlanghoff
8b0660a3c5
Initial implementation of a simple Olson database file format for DST rule parsing. Implements olson_simple_rule_parser().
2005-02-23 06:45:45 +00:00
martinlanghoff
ccb3585fdc
Merged from MOODLE_14_HEAD - Bug fix. Using external auth, the user account fails to be created on login if currently logged-in as guest. Credits go to Dan Marsden for the fix.
2005-02-23 02:11:59 +00:00
martinlanghoff
814748c9ea
Merged from MOODLE_14_STABLE - Fixed a bug in get_categories() when called for category '0', and some extra fixes to fix_course_sortorder()
2005-02-23 01:49:22 +00:00
skodak
fd05dffed6
SC#98 protection of uploaded files in resources, please review and test
2005-02-22 23:36:20 +00:00
moodler
ed1f69b0cf
Er ... copy/paste typo
2005-02-22 06:52:42 +00:00
moodler
e34d817e66
Tidying up some timezone stuff
2005-02-21 08:55:40 +00:00
defacer
e17069d52a
This looks like the cause of problems for some people (why?).
...
Let's see if anyone is going to hit this error in the near future.
2005-02-21 03:57:51 +00:00
fiedorow
5f357fb67b
Updated guest shortcut code with Mike's loginas fixes
2005-02-19 21:02:33 +00:00
gustav_delius
1d86c8ea4c
I confused stripslashes with addslashes :o)
2005-02-19 18:31:29 +00:00
gustav_delius
75249234fe
I replaced the magic_quotes hack with something more elegant because I needed to be able to post a deeper array than the old code would allow. Any objections to this?
2005-02-19 17:52:30 +00:00
fiedorow
a2f8e0d40c
Allow mtrace to sleep to keep message on screen
2005-02-19 14:48:44 +00:00
moodler
fcbf6261b8
DOn't need this in the distribution any more ... install.php does it all
2005-02-19 12:41:18 +00:00
moodler
7cb29a3dbf
just foormatting (checkin by tui!)
2005-02-19 03:14:06 +00:00
moodler
4966836795
Extended choices in get_group_users
2005-02-19 03:00:07 +00:00
moodler
102dc313ea
Fixing bug 2588 when server dates are used.
2005-02-19 02:49:31 +00:00
defacer
e82d6cac81
Improvement when configuring a block instance: the heading shows the
...
block's original title as it appears in the lang files, not its "internal"
name.
2005-02-18 17:05:49 +00:00
moodler
4a7ba9ab87
Explicitly return an integer
2005-02-18 16:25:14 +00:00
defacer
48a6a7c2c9
Bad boy... broke moodlelib.
2005-02-18 14:45:35 +00:00
defacer
090cf95ae9
Fix for bug 2584:
...
All floatval() calls changed to (float) casts.
2005-02-18 14:42:04 +00:00
moodler
ceff930730
Added a new table for logging ADODB requests and a config variable to
...
turn it on. Very useful for debugging performance issues.
2005-02-18 14:12:38 +00:00
defacer
88ec5b7c8b
Reverting back to gmstrftime for userdate()
2005-02-18 13:44:14 +00:00
moodler
d43985607d
Updated ADOdb to latest version 4.60
2005-02-18 08:37:18 +00:00
defacer
afd8402cfa
Changed id attribute of adminblock to class, just like every other block.
2005-02-18 03:37:07 +00:00
mjollnir_
876714665d
This SHOULD fix the bug where users get unenrolled and reenrolled in metacourses (2579). Needs TESTING PLEASE :)
2005-02-18 02:42:33 +00:00
defacer
57f1191c2e
Last changes for DST! Now userdate() supports it as well! :)
2005-02-18 01:18:00 +00:00
defacer
8c0c2e9211
userdate() now transparently supports both new-style (gmdate)
...
and old-style (strftime) format strings.
2005-02-17 22:59:02 +00:00
defacer
85351042d1
Starting to fix userdate() to recognize DST as well.
2005-02-17 22:43:18 +00:00
defacer
85cafb3e5b
DST stuff being worked on.
2005-02-17 21:58:45 +00:00
defacer
41b7678df3
Adding extra field to mdl_user table: dstpreset
2005-02-17 21:00:54 +00:00
defacer
36b51cb5d1
Move the dimensions of the collapse/uncollapse graphic image to CSS.
2005-02-17 14:33:30 +00:00
moodler
d613daf00d
Bug fixes for external authentication, from Eagle Eye Eloy!
2005-02-17 09:28:27 +00:00
moodler
9056cec068
Don't show an error if allownull is turned on with one file ...
2005-02-17 07:16:26 +00:00
moodler
20fde7b1f9
If the user needs to set up their account on logging in, then remember the
...
URL they wanted so they get there after setting up their account.
bug 2565
2005-02-17 06:15:22 +00:00
julmis
c7ec213062
Merging from MOODLE_14_STABLE
2005-02-17 02:48:01 +00:00
moodler
4a4c30d24d
Sort the blocks menu..
2005-02-17 02:19:55 +00:00
defacer
02f0527dac
Moving closer to DST... this whole thing is so damn _hard_ to grasp...
2005-02-16 22:55:13 +00:00
defacer
42d364974a
Fixing stuff I broke with my last commit.
2005-02-16 22:04:14 +00:00
defacer
196f2619c0
Working for DST support.
2005-02-16 21:50:25 +00:00
defacer
eca3b01f48
Remove needless sort.
2005-02-16 21:39:35 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00