JoshyPHP
329e5c5e05
[ticket/15261] Fix censoring HTML tags
...
PHPBB3-15261
2017-07-03 16:06:50 +02:00
Marc Alexander
38f3688217
[ticket/13454] Fix a few issues introduced by overdeleting stuff
...
PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
f50ba9ab4f
[ticket/13454] Remove unused variables
...
This is part 2 of the pr.
PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
73e6e5b77f
[ticket/13454] Remove unused variables
...
This is the first part of the changes. More to come.
PHPBB3-13454
2016-01-06 13:51:19 +01:00
JoshyPHP
f02cc27014
[ticket/10620] Implemented quote improvements
...
PHPBB3-10620
2015-06-25 03:11:55 +02:00
JoshyPHP
92078dce33
[ticket/11742] Removed tabs-to-space conversion in [code]
...
PHPBB3-11742
2015-05-23 01:55:04 +02:00
JoshyPHP
b24e0f4f69
[ticket/11768] Stylistic change. No functional change intended
...
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
1d90daf969
[ticket/11768] Added some default template parameters
...
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
76088d64a6
[ticket/11768] Moved the routine that replaces tabs with spaces
...
...to its own method. Also added a quick stripos() check for performance.
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
d8e7e11ee3
[ticket/11768] Renamed service vars
...
The name of the variable that holds the service instance is now consistent
across events.
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
3e04e643df
[ticket/11768] Restored get_parser() / get_renderer()
...
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
0f30301a0c
[ticket/11768] Moved parser/renderer setup events
...
Moved down the setup events to make them happen after the service is
configured and ready to be used
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
f75f63b264
[ticket/11768] Added parser events
...
Added core.text_formatter_s9e_parse_before and
core.text_formatter_s9e_parse_after
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
a04fca86ee
[ticket/11768] Added renderer events
...
Added core.text_formatter_s9e_render_before and
core.text_formatter_s9e_render_after
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
af4f9b860f
[ticket/11768] Added core.text_formatter_s9e_renderer_setup event
...
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
2a462bb7e4
[ticket/11768] Removed get_parser() / get_renderer() accessors
...
There's no need to access the s9e\TextFormatter objects outside of events.
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
c165eaa37c
[ticket/11768] Removed superfluous whitespace [ci skip]
...
PHPBB3-11768
2015-04-02 19:16:03 +02:00
JoshyPHP
40c54898cc
[ticket/11768] Updated various annotations
...
PHPBB3-11768
2015-04-02 19:16:03 +02:00
JoshyPHP
44fc3d64da
[ticket/11768] Made capturing code blocks a bit more flexible
...
PHPBB3-11768
2015-04-02 19:16:03 +02:00
JoshyPHP
a611366bd3
[ticket/11768] Whitespace [ci skip]
...
PHPBB3-11768
2015-04-02 19:16:03 +02:00
JoshyPHP
8411db6257
[ticket/11768] Renamed interfaces
...
PHPBB3-11768
2015-04-02 19:16:03 +02:00
JoshyPHP
dc9a28d346
[ticket/11768] Replaced extract() calls
...
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
d37f2d10f0
[ticket/11768] Removed the cached renderer
...
We don't need to cache an instance of the renderer, we can just instantiate
it every time we need one.
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
6cb3fb6140
[ticket/11768] Replaced FQNs in annotations
...
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
baadc2a6e5
[ticket/11768] Removed unused annotations
...
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
5fe74cd394
[ticket/11768] Updated censor to apply to XML values
...
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
c1ba3a678d
[ticket/11768] Added methods to access the library's parser/renderer
...
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
f721b85a78
[ticket/11768] Replaced the Censor plugin
...
...with something that is run at rendering time.
PHPBB3-11768
2015-04-02 19:16:01 +02:00
JoshyPHP
6bd86a8e8a
[ticket/11768] Updated phpbb\textformatter\s9e\factory::regenerate()
...
Returns an associative array rather than a numerically-indexed array. Feels
cleaner and more extensible.
PHPBB3-11768
2015-04-02 19:16:01 +02:00
s9e
3b115a903a
[ticket/11768] Removed unused use statements
...
PHPBB3-11768
2015-04-02 19:16:01 +02:00
s9e
72fb380c9f
[ticket/11768] Updated constructors with explicit dependencies
...
The trade-off is that an instance of phpbb\textformatter\s9e\factory and
phpbb\textformatter\data_access is created on any page that uses the
parser or the renderer, even when neither need to be regenerated. It has
no measureable impact on performance and costs ~20KB of RAM.
PHPBB3-11768
2015-04-02 19:16:01 +02:00
s9e
cf39b02891
[ticket/11768] Updated annotations to pass sniff
...
PHPBB3-11768
2015-04-02 19:16:01 +02:00
s9e
147a713cc0
[ticket/11768] This commit integrates s9e\TextFormatter
...
This commit integrates s9e\TextFormatter as outlined in
http://area51.phpbb.com/phpBB/viewtopic.php?f=108&t=44467
PHPBB3-11768
2015-04-02 19:16:01 +02:00