Commit Graph

24767 Commits

Author SHA1 Message Date
stronk7 df8d3e66f4 Now both p() and s() respect html entities.
(and some unmerged silent headers)

Merged from MOODLE_15_STABLE
2005-09-10 11:07:09 +00:00
moodler b9709905c7 Merged CSS fix for bug 4045 from stable 2005-09-09 16:52:47 +00:00
skodak 4dfa092564 new handling of session timeouts - part 1; merged from MOODLE_15_STABLE 2005-09-09 15:14:48 +00:00
skodak 9259cb73bc reverting previous patch - see http://moodle.org/mod/forum/discuss.php?d=26970 2005-09-09 12:07:13 +00:00
mjollnir_ 9284a728b7 Merged from MOODLE_15_STABLE: Much more sophisticated IP address cleansing 2005-09-08 23:04:23 +00:00
mjollnir_ a9b3afb7b1 Merged from MOODLE_15_STABLE: Performance fix: in postgres, sometimes indexes are not used because of type casting. block_instance.pageid is a big int field so the index wasn't being used. Wrapping in '' prevents the typecast. See http://www.postgresql.org/docs/7.4/interactive/datatype.html#DATATYPE-INT for more information 2005-09-07 22:00:55 +00:00
stronk7 324d97ca65 Some RSS readers seems to have problems with that wrong p tag.
Merged from MOODLE_15_STABLE
2005-09-07 17:07:52 +00:00
patrickslee dd875f1aa2 Finally the *correct* fix for the looping problem. Thanks to Penny (Merged from MOODLE_15_STABLE) 2005-09-07 04:23:37 +00:00
patrickslee 488b94689d The report_session_error() fix does not work all the times. Proper fix here.(Merged from MOODLE_15_STABLE) 2005-09-06 22:16:27 +00:00
mjollnir_ 3bff4935eb Merged from MOODLE_15_STABLE: Further tidyup to the cleanremoteaddr function I added - some thing were getting through 2005-09-06 21:34:02 +00:00
patrickslee c9e2e3ffcf Fixed a rare problem that report_session_error() causes a redirection loop (Merged from MOODLE_15_STABLE) 2005-09-05 23:48:42 +00:00
mjollnir_ 51332190b9 Merged from MOODLE_15_STABLE: Performance fix for get_directory_size: new config option for path to du - if we have it, use that instead. MUCH faster on directories with a lot of files 2005-09-05 05:33:02 +00:00
julmis 3500c7c7b3 Merging from MOODLE_15_STABLE
Fixing array_change_key_case errors.
- Function present in version PHP 4 >= 4.2.0, PHP 5
2005-09-02 07:54:08 +00:00
martinlanghoff 4b598ff45b Merged from MOODLE_15_STABLE - auth - bugfixes: update_userinfo() did not truncate values, and did not have proper errorhandling; user creatiwas passing an id to set_user_preference when we wanted an object 2005-09-02 06:44:02 +00:00
mjollnir_ 861efb1937 Allow moving courses and editing courses and stuff from the course results search page (now has turn editing on button) 2005-09-01 04:48:22 +00:00
mjollnir_ f2f3893c3b [STATS] Merging forgotten patch 2005-09-01 04:26:59 +00:00
mjollnir_ f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
mjollnir_ 3ec22e352c Merged from MOODLE_15_STABLE: merging check_db_compat function for backwards compatability (just in case) 2005-09-01 00:28:45 +00:00
mjollnir_ d89d870bf5 Merged from MOODLE_15_STABE: prevent stuff being sent to the browser before config.php being included 2005-08-31 02:30:20 +00:00
dhawes ea3b979660 phpdoc comment 2005-08-30 18:34:41 +00:00
moodler ca9388440a Merged bugfix 3958 into head from stable 2005-08-30 09:36:14 +00:00
defacer 2280ecf537 Fix for bug 3981 (also quite lively discussed at
http://moodle.org/mod/forum/discuss.php?d=29564):

When the user was not logged in and was not a guest, DST compensation was not
being done. I guess deciding to store the computationally expensive DST cache
in $USER was a major oops on my part. I 've moved everything to $SESSION and
now it works as it should.
2005-08-30 03:27:52 +00:00
mjollnir_ 62e4c0959b New config setting for /my redirect and breadcrumb replacement rather than always doing it 2005-08-29 02:34:17 +00:00
phoenixfr 5ef5c0ecdd New release of php-cas 0.4.20-1 2005-08-26 07:47:04 +00:00
martinlanghoff a6d114e600 Merged from MOODLE_15_STABLE - enrolment fixes: We now have better handling of the enrol field when dealing with student enrolments. This fixes bugs 3912 and 3974. NOTE that enrol_student() now defaults to manual - this is to support the different pages that call enrol_student() to still work correctly when external enrolments are in use, by recording the enrolments as manual. Enrolment plugins are expected to know better and pass the correct parameter. 2005-08-26 06:11:38 +00:00
martinlanghoff c54a59435c Merged from MOODLE_15_STABLE - Long-pending rollback_sql() 2005-08-26 04:02:06 +00:00
julmis 1cefda4225 Merging from stable
- Adding escapeshellarg to aspell path
2005-08-25 07:49:39 +00:00
mjollnir_ 5b66416fe9 Merged from MOODLE_15_STABLE: Fixing another postgres problem. With distinct, you can't order by a field not in the select field list 2005-08-25 00:03:14 +00:00
mjollnir_ d5efb299de Merged from MOODLE_15_STABLE: Fixing typo in postgres-fixing patch from a couple days ago 2005-08-24 23:48:12 +00:00
patrickslee 8ceb09e0d6 Wrong parameter order in function definition (merged from MOODLE_15_STABLE) 2005-08-24 23:08:54 +00:00
defacer 3cdc4597f5 Fixing copy/paste typo, caught by Howard Miller.
Penny can you please confirm that this is how it's supposed to be?
2005-08-23 18:16:06 +00:00
mjollnir_ 755c8d5870 Merged from MOODLE_15_STABLE: Fixing metacourses to work in mysql 3.23 series. At same time, set enrolment type to 'metacourse' so as not to break some external enrolment (eg ldap) plugins 2005-08-23 05:43:02 +00:00
mjollnir_ 4374ee2ca9 Fixing warnings in my moodle/ blocks /pagelib, plus moved page->edit_always to base class 2005-08-23 04:48:34 +00:00
mjollnir_ ee6055eb89 Fixing up the my moodle blocks to use blocks_setup instead of the old way. 2005-08-23 04:03:56 +00:00
mjollnir_ f19570d0ec Initial checkin of new feature to select users from participants page for a recipient list for sending an IM to. Please test. 2005-08-22 05:44:13 +00:00
mjollnir_ d13dc4ac8c merged from MOODLE_15_STABLE: Clean up IP addresses from getremoteaddr. Otherwise we sometimes get weird results from proxies and inserts into mdl_log and mdl_user fail 2005-08-18 01:44:47 +00:00
mjollnir_ c1147b7efe merged from MOODLE_15_STABLE: Fixing a postgres error. You can't sort by a field that isn't in the select list when you have distinct 2005-08-17 23:17:05 +00:00
mjollnir_ f41ef63ee6 materialized path & depth for course categories. 2005-08-16 23:15:58 +00:00
mjollnir_ 0705ff843b Course request feature. Allows normal users to 'request' courses they would like created,
and admins can approve or reject pending courses.

Also, contains the ability to restrict activity modules on a per course basic. Strict config options:
  enable restricting modules at ALL (for all courses, no courses, requested courses), what to do by default for newly created courses
  as well as what modules to enable for above category by default.

This feature was created for the aim of building a community side to moodle - for institutes that have strict courses and enrolments, allowing normal users to request interest courses is a good feature,
but some modules may be redundant (assignment, lesson, quiz etc)

  Please test!
2005-08-16 06:15:49 +00:00
martinlanghoff 06ba0b0452 Merged from MOODLE_15_STABLE - Tell insert record we don't care about inserted id 2005-08-16 00:43:56 +00:00
mjollnir_ 0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +00:00
martinlanghoff f209eb9d34 Merged from MOODLE_15_STABLE - Enable reset password functinoality for LDAP and other external auth mechanisms as promised in the auth config page 2005-08-15 23:19:58 +00:00
patrickslee 4e980e5a92 Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
mjollnir_ 43e664cca7 Added locallib - hook to provide easier means for local customisations. Currently contains mechanism for having local db upgrades without munging the main CFG->dbtype.php scripts. 2005-08-15 22:31:22 +00:00
thepurpleblob f85c067f85 Removed some commented out code from studentview additions. 2005-08-15 13:14:36 +00:00
thepurpleblob 367b841305 Added 'studentview' button functionality. 2005-08-15 12:53:57 +00:00
patrickslee 7c56e42da0 Fixed a serious bug in table_column() that modified column not having NOT NULL for postgres (merged from 15_STABLE) 2005-08-11 23:52:11 +00:00
mjollnir_ 5afa0de677 Merged from MOODLE_15_STABLE: When fetching child courses for a metacourse, order by shortname (unless just counting) 2005-08-11 04:24:57 +00:00
moodler cac429bca4 Merging fix for bug 3848 from stable 2005-08-09 15:16:23 +00:00
urs_hunkler 145d63422b removed the hard coded color for .errorbox and .errorboxcontent. see bug 3522 2005-08-09 09:25:20 +00:00