Commit graph

5 commits

Author SHA1 Message Date
Christian Glahn
4e715dd69d MDL-61732 filters: Have emoticons respect nolink
Also extracts static emoticon cache to a field in order to increases
testability of filter_emoticon, because we are now able to reset the
static emoticon cache before tests, particularly for observing the
response to changing $CFG->emoticons.
2018-06-22 10:30:55 +02:00
Eloy Lafuente (stronk7)
0d6f53e8f7 MDL-50491 filters: Some final touches.
- Complete the deprecation information to follow the rules.
- Minor tweak to PLAIN tests to have clearer expectations.
- Completely delete get_global_config() from filters, there
  was not much utility keeping it there. Note we have opted
  for direct deletion because it's private API, not public one
  (and searching github/google/docs did not reveal any use
  of those functions either, just in case).
2015-06-18 04:11:24 +02:00
Tim Hunt
41e5e524f9 MDL-50491 filters: Eliminate un-resettable static caching.
This was breaking unit tests. I think it is no longer necessary since
get_config now has good caching of its own.
2015-06-17 13:48:56 +01:00
Eloy Lafuente (stronk7)
045c0e4d8f MDL-38298 Take out harcoded dependency + tests.
With that change the filte_emoticon will be easily
resusable by other "emoticon filters".
2013-03-03 19:10:09 +01:00
David Mudrak
015ba71af0 MDL-24777 replace_smilies() replaced with the new standard filter 2010-10-23 18:43:31 +00:00