Commit graph

34 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
c5e783e512 MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700 2012-06-18 02:37:00 +02:00
Petr Skoda
9c89c04af5 MDL-30007 standardise filter version files 2011-11-29 21:15:42 +01:00
Helen Foster
82b15e2811 MDL-21250 capital letters removal
Also some spotted leading and trailing whitespace was removed from some
strings.
2011-01-27 16:24:30 +01:00
David Mudrak
dcfffe3072 MDL-24531 Extend filter manager API so that options can be passed to the filters
The only option passed at the moment is the original format in which the
user inserted the text. Other options can be added later if/when needed.
2010-10-07 08:57:20 +00:00
Aparup Banerjee
b7ff4643ae filters MDL-24152 added a grey highlight to censor words for admin to see words being filtered. 2010-09-22 03:51:47 +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
Petr Skoda
dbf9e4bae3 MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +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
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +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
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
tjhunt
522a8ac88c XHTML strict fix in the word censorship filter 2009-04-09 12:01:42 +00:00
dongsheng
9e3f34d1c7 "FILTER/MDL-14582, filters 2.0, compatible with old filters" 2008-12-19 02:16:00 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
poltawski
4b991ddd18 Adding a comment pointing to MDL-3964 which explains why we leave the
badword in the filter span title (as I almost 'fixed it' so it couldn't
be hovered over)
2007-11-13 20:03:27 +00:00
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
stronk7
dbaa905e10 Now all the filters global config pages are valid XML. Related to MDL-7861 2007-01-13 20:15:09 +00:00
thepurpleblob
e9512cdda9 Added ability to reset to default. Bug #4123 2006-02-06 16:36:28 +00:00
thepurpleblob
afaf622902 If no custom list is specified, the default list from the language pack
will be used instead. It works out-of-the-box (again!).
2005-08-26 08:33:59 +00:00
moodler
ff8f90c759 Merged from stable 2005-07-30 15:54:32 +00:00
thepurpleblob
ee780c2d80 Added configuration screen for bad words list. 2005-07-26 13:06:44 +00:00
thepurpleblob
bf9760c4a8 Provide setup screen for the censor bad words list. Note that for decencies
sake, I have decided to start with a blank word list rather than use the
provided one which may shock the unwary!
2005-07-26 13:05:13 +00:00
stronk7
32be01392d Changed to use the new replacementphrase attribute so
bad words are replaced with a strlen(phrase) number
of **** characters. Bug 3605
(http://moodle.org/bugs/bug.php?op=show&bugid=3605)

Merged from MOODLE_15_STABLE
2005-06-22 23:34:26 +00:00
moodler
bde0832a23 Moved badwords list to censor.php file (bug 3164) 2005-05-08 15:10:17 +00:00
ikawhero
748105767f Just so we can put spaces in the bad words string. 2005-03-26 03:03:26 +00:00
moodler
dc15cff35a Modern version :-) 2005-03-05 11:53:46 +00:00
moodler
e661425c2b Use a customised style for censored words 2005-03-05 03:41:00 +00:00
moodler
fc34bbe886 Improved censor
- now blacks out words using styles
  - gets the words from the language pack
2005-03-05 03:32:38 +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
moodler
4da85078e9 Changed the name of all filters to be consistent.
Removed texh filter
2004-02-17 05:22:26 +00:00
moodler
b81789c55b Add a simple README 2003-10-16 09:39:18 +00:00
moodler
3e6525ba88 A very simple filter to censor "bad" words.
Also provides an example of how to write filters.
2003-10-16 09:33:27 +00:00