Commit graph

50 commits

Author SHA1 Message Date
Shamim Rezaie
e514e6951c MDL-71240 filter_tex: Support paranoid mode for openin_any in latex 2021-09-07 09:04:23 +02:00
Dan Poltawski
292df9f613 MDL-48846 filter: Stop reffering to invalid moodle.org/download/mimetex 2018-08-31 12:37:14 +02:00
Daniel Thies
ece1e519f6 MDL-48213 filter_algebra,filter_tex: Require sesskey for debug actions 2014-12-18 16:30:52 -06:00
Daniel Thies
a275c52f62 MDL-45044 filter_tex: properly escape excutable pathnames for Windows 2014-07-24 15:01:17 -05:00
Daniel Thies
a57a336fd3 MDL-44925 Add SVG output option to TeX notation filter with PNG or MathJax for backup 2014-07-15 22:47:22 -04:00
Eloy Lafuente (stronk7)
078379a9aa Revert " MDL-45044 filter_tex: properly escape excutable pathnames for Windows"
This reverts commit f0da509835.
2014-06-26 10:06:20 +02:00
Eloy Lafuente (stronk7)
046930cfba Merge branch 'MDL-46045-master' of git://github.com/damyon/moodle 2014-06-24 21:48:30 +02:00
Daniel Thies
f0da509835 MDL-45044 filter_tex: properly escape excutable pathnames for Windows 2014-06-19 22:26:49 -05:00
Damyon Wiese
a084ac0db4 MDL-46045 Fix php tags (lowercase) everywhere 2014-06-19 11:05:16 +08:00
Tim Gus
7a3723219c MDL-40939 tex filter: Changes to the TeX notation plugin
- Added configurable setting for path to mimetex binary
- Moved language strings from lang/en/admin.php to lang/en/filter_tex.php
- Config settings now stored in table config_plugins and retrieved
through get_config
- Added upgrade step to move TeX settings to the config_plugins table
and delete settings from the config table

AMOS BEGIN
  MOV [configconvertformat,core_admin],[configconvertformat,filter_tex]
  MOV [convertformat,core_admin],[convertformat,filter_tex]
  MOV [latexpreamble,core_admin],[latexpreamble,filter_tex]
  MOV [latexsettings,core_admin],[latexsettings,filter_tex]
  MOV [pathconvert,core_admin],[pathconvert,filter_tex]
  MOV [pathdvips,core_admin],[pathdvips,filter_tex]
  MOV [pathlatex,core_admin],[pathlatex,filter_tex]
AMOS END
2013-10-08 16:09:30 -04:00
Petr Škoda
0662bd677c MDL-29996 remove deprecated stuff from filter code 2012-12-30 17:02:18 +01:00
Frederic Massart
6ca657a772 MDL-34462 Librairies: Replaced deprecated get_context_instance() 2012-07-23 16:22:36 +08:00
Rajesh Taneja
08d32575e1 MDL-33616 Maths filter: Addded --halt-on-error swtich for latex to stop execution, if any error is encountered 2012-07-16 14:24:34 +08:00
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
8a7703ce53 MDL-25973 add missing charset 2011-01-14 09:32:17 +01:00
Petr Skoda
7270479f7d MDL-24058 removing forgotten stripslashes, no magic quotes used any more 2010-09-02 12:44:27 +00: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
4317f92f3f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:51:40 +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
stronk7
e42398e409 MDL-18552 TeX filter - blacklist unsecure commands + protect texdebug ; merged from 19_STABLE 2009-03-26 19:17:25 +00:00
stronk7
84585f1d4b MDL-18100 tex filter debug - fix missing quote. Merged from 19_STABLE 2009-02-02 21:15:50 +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
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
8618fd2aeb MDL-14679 converted some delete_records 2008-06-02 21:52:27 +00:00
skodak
b402e13409 MDL-14679 towards filters conversion 2008-06-02 08:46:50 +00:00
skodak
54d0812500 MDL-11561 tex debug leaking sensitive info; merged from MOODLE_19_STABLE 2007-12-25 11:42:45 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
thepurpleblob
bad6ba65ae Missing a stripslashes() so TeX functions didn't work
Merged from STABLE_18
2007-09-11 14:55:34 +00:00
thepurpleblob
07caf142d7 MDL-10092:
Decode HTML entities before processing.

Merged from STABLE_18
2007-09-11 13:55:33 +00:00
thepurpleblob
d93a90dcfd MDL-11147:
Debug screen now supports LaTeX/Ghostscript renderer.

Merged from STABLE_18
2007-09-07 14:24:18 +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
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
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
stronk7
894ff63f8f Tabs are out 2005-05-16 22:22:31 +00:00
fiedorow
781cac7273 Added link to admin/config.php for slasharguments 2005-04-14 13:24:51 +00:00
fiedorow
9dd9a4267a texdebug.php now checks slasharguments setting 2005-04-14 04:27:32 +00:00
fiedorow
3613082378 Corrected file size message in debugger 2005-02-13 17:04:35 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
fiedorow
f7e0a0b8e7 Functionality in debug for miscellaneous mimeTeX binaries 2004-06-10 16:47:30 +00:00
fiedorow
23b9d1d209 Security updates for Linux and Windows based on new source from John Forkosh 2004-04-05 02:45:11 +00:00
moodler
623799eb26 Just some cleanup formatting 2004-03-05 06:35:56 +00:00
fiedorow
e072c85e65 Displays file permissions for mimetex and uses md5_file if available 2004-02-23 18:48:55 +00:00
fiedorow
ddea4cf070 Fix for case when $CFG->dirroot contains spaces, especially for Windows 2004-02-21 23:34:09 +00:00
fiedorow
6361d22faf Statically linked mimetex.linux; bug fix for texdebug.php 2004-02-20 19:20:01 +00:00
fiedorow
1ed0ba1d77 Improved debugging of mimetex 2004-02-20 01:44:31 +00:00
fiedorow
9cc1730595 Added debugger for TeX filter 2004-02-19 18:05:01 +00:00