1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-24 08:10:13 +02:00

105 Commits

Author SHA1 Message Date
JoshyPHP
102b6c2df3 [ticket/10922] Added support for body and subject in email BBCode
PHPBB3-10922
2015-04-28 02:40:33 +02:00
Marc Alexander
39d6180c68 [ticket/8672] Use fastImageSize in classes
PHPBB3-8672
2015-04-24 13:33:14 +02:00
JoshyPHP
245d042e43 [ticket/8672] Updated the text_formatter.s9e service
PHPBB3-8672
2015-04-24 13:31:37 +02:00
MateBartus
f23fe9e69d [ticket/13766] Add style_parent_id in textformater's data_access::get_styles()
PHPBB3-13766
2015-04-16 23:28:52 +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
c1bc05a860 [ticket/11768] Updated s9e\TextFormatter
PHPBB3-11768
2015-04-02 19:16:04 +02:00
JoshyPHP
55c3fc02cf [ticket/11768] Updated utils service
Updated docblocks.
Removed remove_formatting() because it overlaps with clean_formatting()

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
a7a53d5a30 [ticket/11768] Added core.text_formatter_s9e_parser_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
37fedc656f [ticket/11768] Updated the text_formatter.s9e.utils service
Made it use s9e\TextFormatter\Utils. Refactored some tests to make
them more readable.

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
69dae16ba7 [ticket/11768] Preserve comments in custom BBCodes
PHPBB3-11768
2015-04-02 19:16:03 +02:00
JoshyPHP
49b9e8e4ea [ticket/11768] Added configurator events
PHPBB3-11768
2015-04-02 19:16:03 +02:00
JoshyPHP
4398da234e [ticket/11768] Updated merge_templates(). No functional change intended
PHPBB3-11768
2015-04-02 19:16:03 +02:00
JoshyPHP
b46bf9f02f [ticket/11768] Updated merge_templates(). No functional change intended
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
89d87a99db [ticket/11768] Replaced array access with call to $user->lang()
PHPBB3-11768
2015-04-02 19:16:03 +02:00
JoshyPHP
20a1646fc6 [ticket/11768] Renamed utils
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
78b544920c [ticket/11768] Added support for creating unsafe BBCodes
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
dc9a28d346 [ticket/11768] Replaced extract() calls
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
40340004aa [ticket/11768] Replaced some references
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
70b7e57497 [ticket/11768] Renamed property
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
458cf95b1e [ticket/11768] Replaced class names in annotations with their FQN
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
825bc45983 [ticket/11768] Removed comments
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
3d9596be79 [ticket/11768] Updated renderer annotation
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
694e515f7c [ticket/11768] Replaced \phpbb\textformatter\parser with an interface
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
b12043d4b0 [ticket/11768] Renamed get_words() to get_censored_words()
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
73ce09b73a [ticket/11768] Fixed censored words being escaped twice
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
3e5ee87b15 [ticket/11768] Allowed text in places where text is not valid HTML
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
6578e1c6ec [ticket/11768] Added limited support for [url] in [quote] author
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
JoshyPHP
f6e3e41717 [ticket/11768] Added support for magic links that start with "www."
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