1809 Commits

Author SHA1 Message Date
moodler
4cff67d66b FIxed an XHTML error 2005-02-28 16:26:06 +00:00
moodler
4e471fc62a Forum searching now allows searching by date, and no longer has confusing help. 2005-02-28 12:40:29 +00:00
stronk7
b6e2260398 Experimental way to get the server name from wwwroot instead of
using such SERVER_NAME and HTTP_HOST variables.

It should help in servers having wrong Apache configurations, being
the cause of bad logins, referer problems....

Seems to work both under PHP 4.3 (linux) and PHP 5 (MacOS X).

Please, TEST it, specially in installation, upgrade and cron!
2005-02-28 09:04:37 +00:00
defacer
251af423cd Err... course block instances weren't being deleted along with the course? 2005-02-28 04:35:32 +00:00
defacer
b5e9682173 Adding caching to page_import_types. Actually the caching is REQUIRED for the
function to work, because otherwise it would barf on duplicate class declaration
the second time it was called with the same arguments.
2005-02-28 04:16:41 +00:00
defacer
3f6aba0c42 Library function which returns the page types used for a specific directory
in the Moodle distro structure. As generic as it gets.
2005-02-28 04:01:30 +00:00
defacer
f99fcffeb9 Fix for bug 2648: call-time pass by reference has been deprecated, the constructor
of search_lexer now accepts the parser argument by reference all... one time it's called :)
2005-02-28 00:30:39 +00:00
moodler
e6ae4dc8dd Much better "full" search page. Still needs some polishing.
Also, you can now search for all posts by one user.  Which brings me to my
next check-in....
2005-02-27 09:57:31 +00:00
moodler
f685bf2eef Fixed missing tag 2005-02-27 07:20:03 +00:00
skodak
48283ff638 slashargument test fix 2005-02-26 20:43:30 +00:00
moodler
29daf3a0d1 Added some sql_functions that return the correct SQL for those few
niggly little differences in database brands.   THis replaces a
whole lot of ugly repeated code in datalib.php
2005-02-26 09:20:31 +00:00
defacer
8dc3f6cf5e Changing find_day_in_month() to conform with the new definitions of DST presets.
Adding function dayofweek (centralization, this might also be helpful in fixing a bug).
2005-02-26 06:26:04 +00:00
defacer
6ebb179eb2 "Reasonable assumptions" if a set or reset time is missing for some year. 2005-02-25 18:44:41 +00:00
defacer
83e1fc1407 Trying to get the Olson parser to produce correct output. That format is a nightmare... 2005-02-25 18:28:12 +00:00
moodler
bc01a2b8ea Some little cleanups ... all auto-links to external URLs now use _blank 2005-02-25 13:11:18 +00:00
moodler
2ae281532b New PARAM type called PARAM_CLEANHTML which knows how to clean up HTML properly 2005-02-25 13:10:24 +00:00
moodler
fd5b9188bd removed explicit style-adding for user login string 2005-02-25 06:23:46 +00:00
moodler
d3593a675d user login string now always this style added 2005-02-25 06:20:53 +00:00
gustav_delius
d2a9f7cc69 removed & from url in password change confirmation email, see bug 2502 2005-02-25 06:08:40 +00:00
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