Commit Graph

2529 Commits

Author SHA1 Message Date
defacer a945eab2c2 Merging from HEAD:
Now get_sql_sort can be called static-function-imitation style as well.
Necessary to solve SC#187 gracefully.
2005-11-13 04:45:23 +00:00
skodak 8ab4f3001f fixed login block at http://site/index.php when secure forms on - bug #4305 2005-11-10 21:40:10 +00:00
moodler 722d5c0378 Upgraded to ADOdb 4.66. All the tests on my local server went fine,
so I hope nothing unexpected surfaces before 1.5.3.  Please test!
2005-11-10 08:04:35 +00:00
moodler 912127a158 Standard menus can now be part of tabindex sequences for keyboard accessibility 2005-11-03 05:01:31 +00:00
skodak 164099fd14 merged cleaning of array params from HEAD 2005-10-31 22:10:09 +00:00
patrickslee 46dc437f66 Reverting commits just made. They are not intended to be in MOODLE_15_STABLE 2005-10-30 22:05:30 +00:00
patrickslee 80fc4f88be DB upgrade script to clean up enrol field for user_students and user_teachers 2005-10-30 21:36:19 +00:00
skodak 239f82915a fixed caching + cleanup in format_text() SC#172 2005-10-29 21:30:29 +00:00
julmis faf8922009 Fixing Bug #4201, cursor movement on IE. 2005-10-24 14:11:30 +00:00
stronk7 5e41163054 Methods aren't static due to the Typo3 structure. 2005-10-22 16:15:21 +00:00
martinlanghoff 1ff64b7f60 If wwwroot is unset, log something before dying 2005-10-18 03:28:20 +00:00
stronk7 e72c81ab82 Initial commit of Typo3 charset libraries and Moodle's textlib.class code. 2005-10-17 15:37:42 +00:00
stronk7 44de4fd8a8 Updated to 2.4 Final. From notes: This resolve a lots of bad formated archive errors. 2005-10-15 09:57:18 +00:00
skodak e5df73c53e quick fix for the problems with p() and s() - SC#167 2005-10-13 20:09:54 +00:00
patrickslee 763f3766a8 Fixed various bugs in add_teacher() those caused the function not populating record correctly 2005-10-10 21:39:43 +00:00
julmis 1d9b22c497 Adding charset to header 2005-10-01 00:46:28 +00:00
julmis 38453bb238 Adding gz_handler for a bit faster loading time. 2005-10-01 00:05:12 +00:00
mjollnir_ 70f6f8b708 Much better namespace collision fix to apacheloguser thing 2005-09-29 23:39:52 +00:00
mjollnir_ 98f052303f Fixing up the log apache user patch from the otherday - problem with variable scope 2005-09-29 21:53:48 +00:00
stronk7 66fd3fb7ff Modified clone() method to work better under PHP 4. Credit goes to Julian. 2005-09-29 16:36:02 +00:00
mjollnir_ 85508791a6 Adding default for new config option pathtodu. Related to bug 4107 2005-09-29 00:34:25 +00:00
mjollnir_ 73ec9fb26e Logging apache user now takes into account loginas 2005-09-27 05:24:43 +00:00
skodak 184e03b294 new session timeout handling 2005-09-23 18:28:15 +00:00
julmis d27162c0cd XSS fix
- added optional_param for id
2005-09-20 08:55:58 +00:00
skodak d994263946 fixed IE and https problems 2005-09-19 17:09:06 +00:00
moodler 7de8f45ae9 Merged from head 2005-09-16 02:25:59 +00:00
julmis d0491a1fef Faster version check for Gecko and work-a-round for "No IDN" problem. 2005-09-13 11:49:40 +00:00
skodak 919a058edb formal RFC151 compliance 2005-09-12 18:43:49 +00:00
stronk7 43ea696c77 Now both p() and s() respect html entities. 2005-09-10 10:59:19 +00:00
moodler 93bcfb18a8 iAdded some CSS for blocks config editing bug 4045 2005-09-09 16:51:29 +00:00
skodak d16b5bb763 new handling of session timeouts - part 1 2005-09-09 15:12:42 +00:00
skodak 17e941b48a reverting previous patch - see http://moodle.org/mod/forum/discuss.php?d=26970 2005-09-09 11:08:41 +00:00
mjollnir_ 1068ba8d27 Much more sophisticated IP address cleansing 2005-09-08 23:04:10 +00:00
mjollnir_ 4e9cc4842f 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:16 +00:00
stronk7 b12e186c04 Some RSS readers seems to have problems with that wrong p tag. 2005-09-07 17:06:25 +00:00
mjollnir_ 72ed1089dd Further tidyup to the cleanremoteaddr function I added - some thing were getting through 2005-09-07 04:45:52 +00:00
patrickslee fe18e430f7 Finally the *correct* fix for the looping problem. Thanks to Penny 2005-09-07 04:22:03 +00:00
patrickslee 6fcc3fab2c The report_session_error() fix does not work all the times. Proper fix here. 2005-09-06 22:15:42 +00:00
patrickslee 67ba380ec9 Fixed a rare problem that report_session_error() causes a redirection loop 2005-09-05 23:46:08 +00:00
moodler f21b4c1c2b Silent header (no errors) 2005-09-05 16:33:30 +00:00
moodler 235089d15f Removed blank line 2005-09-05 16:29:38 +00:00
mjollnir_ 926a759c71 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:30:53 +00:00
julmis 57a1c1af6a Fixing array_change_key_case errors.
- Function present in version PHP 4 >= 4.2.0, PHP 5
2005-09-02 07:50:28 +00:00
martinlanghoff 8ade954b60 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:42:33 +00:00
mjollnir_ 18c26f97ef Fixing bug 3977: sort of. Check for mysql >= 4 or postgres, do a smarter query with a UNION. Otherwise, do the same old query. This is not very good for mysql 3.23 users with large datasets, but not much else I can do. 2005-08-31 23:57:37 +00:00
mjollnir_ f2179d4688 prevent stuff being sent to the browser before config.php being included 2005-08-31 02:29:52 +00:00
moodler b109aa6efa Fix for bug 3958 and google overactivity 2005-08-30 09:34:42 +00:00
defacer 0be62652d1 Merging from HEAD:
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:31:17 +00:00
martinlanghoff 8e0b42fb88 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:07:42 +00:00
martinlanghoff 8a9e5ac327 Long-pending rollback_sql() 2005-08-26 03:57:30 +00:00