Commit graph

2079 commits

Author SHA1 Message Date
martinlanghoff
af2309e366 We now postpone parsing of AT until we have the GMTOFFSET handy; some reorganization of the returned arrays, and starting to prepare the rationalized DST entries for Moodle DST table 2005-03-04 12:05:26 +00:00
martinlanghoff
720e6293ad Olson parser now parses Zones and Rules 2005-03-04 10:59:29 +00:00
moodler
a039c3af28 Generic filter function. It's a reworked version of the old glossary
filter and is now more efficient.(SE)
2005-03-04 10:10:24 +00:00
moodler
77ffdf4b4c Finishing off search capability with the ability to search by instance,
and in this case, by forum.
2005-03-03 12:22:13 +00:00
moodler
6f2a391fbd Just to make backups work, but we may still have problems with the new adodb
See bug 2663
2005-03-03 07:32:00 +00:00
moodler
c44d5d4215 Some cleaning up of user_login_string and SITE 2005-03-03 04:41:46 +00:00
gustav_delius
009f39beab fixed bug caused by user_login_string() being called with course id instead of course object 2005-03-02 19:49:04 +00:00
defacer
3ef642d96a Implemented discussion from bug 2547:
* Block authors no longer need to set $this->content_type
* If you want to make a "list" block, just derive from block_list
  instead of block_base
* All switch() statements gone from library code
* Overloaded method is_empty() added to block classes for convenience
2005-03-02 19:22:26 +00:00
stronk7
433c8b2e72 Added support to priority in email_to_user(). Bug 2647
(http://moodle.org/bugs/bug.php?op=show&bugid=2647)
2005-03-02 17:56:46 +00:00
moodler
fb89ac81e3 Latest version. Not fully finished, but better 2005-03-02 17:27:33 +00:00
moodler
2327ce8e8a FIx for bug 2663 2005-03-02 06:33:04 +00:00
defacer
831cd87f77 Er, print the adminblock only if editing is turned on. 2005-03-02 05:57:50 +00:00
defacer
dffd4bb948 You know you are beyond hope of redemption when you make "API uniformity" changes. ;-) 2005-03-02 05:56:24 +00:00
defacer
664923229c Since $PAGE knows where the adminblock should be printed, let it do the printing. 2005-03-02 05:47:39 +00:00
defacer
ec79d3e428 One-line-setup function for using blocks in a page. 2005-03-02 05:15:39 +00:00
defacer
262771e08f page_import_types($path) doesn't care if $path has a trailing slash or not 2005-03-02 03:43:41 +00:00
moodler
7d1c8c55fe Sshhh easter egg. ;-) 2005-03-01 08:45:05 +00:00
moodler
0afedf684d Fixed the link for the confirmation email ... the & was breaking in some
mail  ... see also bug 2502 for something similar
2005-03-01 07:06:42 +00:00
moodler
0e18f8278b FIxed the logininfo classes in some situations (bug 2657) 2005-03-01 02:49:10 +00:00
stronk7
68796e6b60 Avoid one notice at installation time (when wwwroot isn't set) and
the new qualified_me() needs it.
2005-03-01 00:11:35 +00:00
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