Commit graph

67 commits

Author SHA1 Message Date
Petr Skoda
35716b8682 MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;Êimproved php docs; fixed upgrade of filters (should be in plugins, not core) 2010-07-30 20:51:01 +00:00
Andrew Davis
e4cd4de28a filters MDL-22564 fixing some php errors in the filters 2010-05-26 01:31:11 +00:00
Andrew Davis
eaed2fd163 ajax MDL-22286 removed references to the previous version of the JS function openpopup() 2010-05-05 02:05:58 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Petr Skoda
a845d68b9f MDL-21694 moving filters strings to correct plugin location 2010-04-01 19:27:30 +00:00
Petr Skoda
4317f92f3f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:51:40 +00:00
Petr Skoda
2e9b772fb8 MDL-20693 new NO_DEBUG_DISPLAY define 2009-10-31 22:02:05 +00:00
samhemelryk
e25b7ded61 filter MDL-19796 Upgraded deprecated function calls 2009-09-30 07:03:52 +00:00
skodak
5e6d46cbd9 MDL-19842 securing algebradebug the same way as text debug - only admins may use it now 2009-07-17 08:33:23 +00:00
skodak
0be30d6f7a MDL-19841 removed sloppy hardcoded debug levels 2009-07-16 09:05:15 +00:00
tjhunt
6b037e0420 filters: MDL 7336 Remove remaining references to ->filters 2009-04-13 07:04:32 +00:00
tjhunt
ccc161f8f0 filters: MDL-7336 change weblib to use the new code
* Rename filter base class from filter_base to moodle_text_filter
* Remove unnecessary explicit constructors in moodle_text_filter
subclasses
* New filter_manager class, rather than static methods in filter_base
* Move some logic out of weblib, and into filter_manager
* Count filtering ops when $CFG->perfdebug on, via
performance_measuring_filter_manager
* Kill unused filter_string function. Petr said it should have been
private to weblib
2009-04-13 06:56:32 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
dongsheng
9e3f34d1c7 "FILTER/MDL-14582, filters 2.0, compatible with old filters" 2008-12-19 02:16:00 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
8618fd2aeb MDL-14679 converted some delete_records 2008-06-02 21:52:27 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
dongsheng
09ee7b0d9e MDL-14460, fix get_context_instance, see tracker 2008-04-23 08:07:42 +00:00
dongsheng
c85fac1ff1 MDL-14129, fix incorrect print_error() call 2008-04-16 09:21:57 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak
10ccb7a77b MDL-8897 fixed shell commands in tex and algebra filters; merged from MOODLE_17_STABLE 2007-03-14 11:33:50 +00:00
skodak
0f13ec8f9b MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon 2007-01-08 20:30:38 +00:00
skodak
60af27037b MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed 2007-01-08 19:34:16 +00:00
skodak
7150226896 MDL-7861 xhtml strict fixes - fixed all <br> in our code 2007-01-04 23:38:17 +00:00
skodak
2bbaf749c8 MDL-7434 all images that convey information should have alt text to convey that information - part 2 2006-11-25 18:09:33 +00:00
skodak
7eb0b60a1f debugging and error reporting level fixes and improvements MDL-6671 2006-09-23 09:38:39 +00:00
toyomoyo
5f10f77505 took out a comment, for proper debugging use the new debugging() function 2006-09-19 04:31:36 +00:00
moodler
779ef7fc0b Fixed up some more debug statements 2006-09-18 13:26:58 +00:00
moodler
0e1cc9070b Fixed a some debugging statements 2006-09-18 13:24:45 +00:00
toyomoyo
51792df056 adding capabilities 2006-09-08 08:46:26 +00:00
skodak
33851b5c16 prevent access to filters when disabled in filter settings SC#291; merged from MOODLE_16_STABLE 2006-08-14 06:24:34 +00:00
skodak
6544f8d896 slashargument fix for healthcenter, better diagnostic messages; renamed file.php/pic.jpg option to file.php/1/pic.jpg because the course number is mandatory; merged from MOODLE_16_STABLE 2006-06-30 13:46:25 +00:00
fiedorow
ee9ff7f35b Compatibility fix for glossary 2005-06-24 18:07:10 +00:00
stronk7
894ff63f8f Tabs are out 2005-05-16 22:22:31 +00:00
fiedorow
380e47f50b Check slasharguments setting in algebradebug.php too 2005-04-14 13:39:54 +00:00
martinlanghoff
a9a9bdba55 Merged from MOODLE_14_STABLE - insert_record() - major efficiency improvements for Postgres databases on insert. Also fixed many calls to insert_record() which discard the returned record id to not ask for the record id. 2005-04-01 05:55:10 +00:00
moodler
f1e0649c1c Removed files/mimetype.php and put it into lib/filelib.php instead
where it always should have been.
2005-03-07 11:32:03 +00:00
fiedorow
3613082378 Corrected file size message in debugger 2005-02-13 17:04:35 +00:00
fiedorow
d7e3f044c1 various improvements: better debugging, image positioning, XHTML validation 2005-02-10 22:19:08 +00:00
skodak
e7f927a0fc new handling of uploaded files, please TEST, TEST, TEST 2004-12-14 18:57:51 +00:00
moodler
5977cfa376 Merged from stable 2004-11-11 07:03:53 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
moodler
df1c46115b Improvement to filters, providing speed boost AND better compatibility
with Turck MMCache.

Filter function must now have a particular name

   eg resource_filter

where "resource" is the name of the directory that filter.php is in.
2004-08-08 06:57:44 +00:00
fiedorow
49dfcc3b4f Bug fix for Windows systems 2004-06-08 20:36:13 +00:00
fiedorow
7363a0355b Commented out debugging code 2004-04-26 15:20:10 +00:00
fiedorow
1372c95ada Compatibility update for new mimetex version 2004-04-05 02:46:52 +00:00
fiedorow
1b71c53e1d Bug fix for incorrect handling of negatives in equations and inequalities 2004-03-30 17:11:56 +00:00