Commit graph

41 commits

Author SHA1 Message Date
Petr Skoda
f7f0909ce5 PULL-442 multiple TeX related fixes
Prevent moodle_url error, cleanup entity encoding and decoding, disable tex source view when TeX and Algebra plugins disabled, localise TeX source popup and prevent phishing attempts, fix executable permission of Algebra pearl script, prevent image error in tex debug when Tex/Ghostscript not configured properly, fix copyright blocks and phpdocs, improve coding style, fix wrong source display link in Algebra filter.
2011-03-13 15:18:07 +01:00
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
Inaki
cf4e7548a8 filter tex: MDL-10197 Quality improvement of TeX-images by using PNG format.
It seems some TeX installs use a convert utility that renders poor quality
images when using the GIF format, but render good ones when using PNG. If
all the needed tools are available, let the admin choose the preferred
output format.

Merged from MOODLE_19_STABLE
2010-04-10 00:19:22 +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
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
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
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
b402e13409 MDL-14679 towards filters conversion 2008-06-02 08:46:50 +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
thepurpleblob
07caf142d7 MDL-10092:
Decode HTML entities before processing.

Merged from STABLE_18
2007-09-11 13:55:33 +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
7eb0b60a1f debugging and error reporting level fixes and improvements MDL-6671 2006-09-23 09:38:39 +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
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
thepurpleblob
5b540fa98f Use 'factored out' configuration settings. 2005-07-22 13:59:19 +00:00
thepurpleblob
25d7779cf2 Added additional features/fixes noted in bug #3795 by Dmitry Pupinin. 2005-07-22 09:01:34 +00:00
thepurpleblob
6ef8d79a3e Various small changes suggested by Dmitry Pupinin.
1. Changed formula's size
2. Formula displayed correctly in pop-up window
3. Preambula became configurable
4. Formula became transparent
2005-07-21 07:52:13 +00:00
thepurpleblob
18a2407ef4 Added class to render images using Latex rather than mimetex. It will only
be used if it works on the server, otherwise mimetex is used as before.
Produces rather nicer images, and the full range of formatting can be used,
rather than mimetex's limited set.
2005-06-28 13:23:57 +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
f352814af5 various improvements: updated mimetex, image positioning, XHTML validation 2005-02-10 22:17:13 +00:00
skodak
e7f927a0fc new handling of uploaded files, please TEST, TEST, TEST 2004-12-14 18:57:51 +00:00
skodak
650874544b merged from MOODLE_14_STABLE: initialized variables - the same as algebra/pix.php 2004-11-04 08:00:39 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
fiedorow
aecc779ee7 Bug fix: is_executable not available in Windows PHP 4.x 2004-02-26 03:25:20 +00:00
moodler
e553bdecf7 Changed the logic around so that any binary called "mimetex" is used
in preference to any other pre-installed binary.

This makes me happier about the FAT binary, because a leaner binary
can be installed without interfering with CVS etc.
2004-02-24 08:04:49 +00:00
fiedorow
ddea4cf070 Fix for case when $CFG->dirroot contains spaces, especially for Windows 2004-02-21 23:34:09 +00:00
moodler
6b0a2ff4a5 Add some feedback and instructions for other platforms 2004-02-20 03:31:02 +00:00
moodler
6e1ee58e3f Added the default platform back again. :-) 2004-02-20 03:00:44 +00:00
fiedorow
1ed0ba1d77 Improved debugging of mimetex 2004-02-20 01:44:31 +00:00
moodler
448acc2a51 Default to just using "mimetex" binary. This makes it easier
to drop in unusual binaries and have them work
2004-02-18 16:02:09 +00:00
fiedorow
e8e6a5602e Improved mimeTeX binaries & more uniform cross-platform code in filter 2004-02-17 03:41:10 +00:00
moodler
60efe6cbb3 Apparently WIN32 gets returned sometimes too 2004-02-16 06:44:50 +00:00
moodler
23323b37b6 Accept Windows as well as WINNT 2004-02-16 06:42:10 +00:00
fiedorow
d29d3218a2 Updates for Windows and MacOS X 2004-02-16 02:05:24 +00:00
moodler
aaad489149 Using PHP_OS to detect OS (thanks, Greg Barnett!)
Included three binaries for mimetex ... Linux is tested but I haven't
tested the others yet
2004-02-14 03:00:56 +00:00
moodler
9d49b43016 OK, well this is working for me now! 2004-02-12 08:39:48 +00:00