Commit Graph

24767 Commits

Author SHA1 Message Date
martinlanghoff b76169a214 filterlib/filter_phrases() - try to escape magic characters used internally by the filter mechanism -- Bug#5236 / WR#422
This is an attempt to fix filter problems caused by glossary matches on %
(which also affect matches on * and #). Works for the sample cases I have,
but we may be breaking subtly in other places.
2006-04-25 22:47:42 +00:00
stronk7 f809df70ce Avoided some notices when one block has been deleted from moodle/blocks
and from blocks admin page and their instances haven't been deleted.

We should build some sort of check to do all the house-cleaning of "orphaned"
blocks, perhaps each time we arrive to the blocks admin page.
2006-04-24 15:01:35 +00:00
vyshane c343bc8831 Fixing inserts for log_display table. 2006-04-24 08:55:29 +00:00
vyshane 4dd8464f3d Fixed insert statements for log_display table 2006-04-24 08:02:17 +00:00
vyshane cfd2188118 Fixed insert error for log_display 2006-04-24 07:55:06 +00:00
vyshane cfd8facee6 Added primary key definition for log_display 2006-04-24 07:44:27 +00:00
toyomoyo 3dba170e7d adding dropindex and addindex for modified tags table 2006-04-24 06:20:30 +00:00
toyomoyo 808f9930b3 adding proper _idx postfix 2006-04-24 06:00:37 +00:00
toyomoyo 31513aa13e changing tags->text to varchar 20, created index on tags(type, userid), and tags(text) 2006-04-24 05:53:06 +00:00
vyshane 36e6706eb0 Bumped version number for last changes 2006-04-24 02:28:02 +00:00
vyshane 721cb8678d Bug #5254 - live logs
Cleanup for duplicate module/action combinations. Added id field for
log_display table and added an index moduleaction.
2006-04-24 02:24:18 +00:00
patrickslee 2544a80de1 PostgreSQL 8 compatibility fix for database character set detecting 2006-04-23 23:39:56 +00:00
skodak d2b23346c9 block editing now uses PARAM_BOOL 2006-04-23 20:58:06 +00:00
skodak 6cf4cbbdf9 added FIX ME notice for inclusion of format.php 2006-04-22 17:21:21 +00:00
skodak 463468bc96 fixed typo in ismember() - nasty one!
and some warnings get_directory_size()
2006-04-22 16:45:12 +00:00
skodak 9e092ff827 fixed typo and s() 2006-04-22 16:36:35 +00:00
skodak e77ea6403a fixed missing xxx_param() and broken path 2006-04-22 16:35:32 +00:00
skodak d850b4e621 typo in switch 2006-04-22 13:38:24 +00:00
toyomoyo bee40515da fix for 5216 2006-04-21 05:17:08 +00:00
moodler 1939c80a54 Bug #5274 - HTML Editor Full Screen, Wrong Image location 2006-04-21 02:26:29 +00:00
moodler a80722bc33 Fix for double escapeshellarg in bug 5258 - Thanks Andy! 2006-04-21 01:51:46 +00:00
martinlanghoff 78fbaeaeed weblib: validate_email() -- emails with a trailing dot in the local-part (user.@host.com) are invalid 2006-04-20 22:32:00 +00:00
moodler 08bdcd3974 Added more common mail charsets to choose from bug 5229 2006-04-20 08:21:58 +00:00
moodler 31256b56b3 Sitemailcharset should be empty string 2006-04-20 08:19:36 +00:00
moodler 02c649e69e Make email address denying work a little more rigorously. bug 5250 2006-04-20 08:17:11 +00:00
toyomoyo 8bcd295c3d bumping up version, chaing user->firstname, user->lastname, course->shortname to varchar(100) 2006-04-19 08:18:35 +00:00
gustav_delius 9977aa0f4a Don't forget the prefix_ for table names 2006-04-18 21:49:14 +00:00
toyomoyo 2b9fd72cc3 fix for 5210 2006-04-18 07:12:39 +00:00
toyomoyo 8f23f49004 fix for 5209 2006-04-18 06:43:29 +00:00
toyomoyo 5bce15857e added a comment 2006-04-18 03:45:23 +00:00
toyomoyo 025bec3169 the table_column function ate my auto_increments 2006-04-18 03:30:57 +00:00
skodak 960855b9a1 fixed double header warning in redirect() 2006-04-17 20:40:33 +00:00
moodler d87a9d7338 Fixed the upgrade_plugins function so that it automatically
handles the .sql file for first installation (just like activities)
2006-04-16 16:50:55 +00:00
moodler 9e458bb388 Moodle Docs link on home page could be a bit confusing 2006-04-16 16:21:50 +00:00
moodler f666830caf Removed blank line 2006-04-16 15:56:36 +00:00
stronk7 717f14b627 strstr(string haystack,string needle). We were doing the opossite. Bug 5037.
(http://moodle.org/bugs/bug.php?op=show&bugid=5037)
2006-04-15 17:30:23 +00:00
julmis b5a5d9f668 Another fix for creating links. 2006-04-14 09:57:41 +00:00
skodak f8a5159a2b changes needed for new s() and p() - see bug #2338 2006-04-14 08:02:32 +00:00
moodler 99d1acbcef Default blog level is site level 2006-04-14 06:39:14 +00:00
skodak e8d1c9ed2b stripslashes_safe() improvement - now works also for arrays and objects see bug #2338 2006-04-13 21:27:01 +00:00
thepurpleblob 2784b98278 Don't compare floats for equality! Bug #5176 2006-04-13 10:29:20 +00:00
moodler 87fa2e3f8a Fixes to make print_error more useful, suggested by Sam
It can now take a module argument, and can support different link locations
2006-04-13 05:42:47 +00:00
gustav_delius da1cc5a44e Fixed problem with slashes, bug 5177 2006-04-13 00:37:14 +00:00
stronk7 d4a42ff494 New optional parameter to s() and p() allowing to specify
if we want to strip slashes (data coming from forms) or no
(data coming from DB, the default). Bug 2338.
(http://moodle.org/bugs/bug.php?op=show&bugid=2338)
2006-04-12 17:39:23 +00:00
skodak eb59ac2777 PARAM_BOOL now accepts "yes/no" too 2006-04-12 16:55:47 +00:00
skodak f27d105cc6 final fix for category and courses edit button 2006-04-12 16:28:11 +00:00
moodler dd899b917d Fixed up print_error according to original plan
see also http://moodle.org/mod/forum/discuss.php?d=43712
2006-04-12 09:32:19 +00:00
stronk7 766ad62808 Solve some notices that were breaking Excel generation under
some PHP versions. As bug is well documented but PEAR code hasn't
been changed in origin, we'll patch it here. Changes will
merge smoothly in the future, I think.
(Moode Bug: http://moodle.org/bugs/bug.php?op=show&bugid=4763)
(PEAR Bug: http://pear.php.net/bugs/bug.php?id=6509)
2006-04-11 22:49:09 +00:00
skodak 2451dcc3aa added proper parameter type in confirm_sesskey() 2006-04-11 20:07:57 +00:00
stronk7 1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00