1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00

49 Commits

Author SHA1 Message Date
JoshyPHP
da7fc9e5da [ticket/13935] Allow more admin-configurable schemes in post links
PHPBB3-13935
2015-07-15 22:05:06 +02:00
Tristan Darricau
da0897323b Merge pull request #3758 from s9e/ticket/14008
[ticket/14008] Do not add a user_id value to quotes from guests
2015-07-13 23:03:44 +02:00
JoshyPHP
675cf5e897 [ticket/14008] Do not add a user_id value to quotes from guests
PHPBB3-14008
2015-07-13 16:08:57 +02:00
JoshyPHP
ca671708cb [ticket/14000] Added support for emoji
PHPBB3-14000
2015-07-12 18:55:23 +02:00
Tristan Darricau
d54aa190f1 Merge pull request #3623 from s9e/ticket/10620
[ticket/10620] Quote improvements
2015-07-07 09:46:36 +02:00
JoshyPHP
353b3b4cfd [ticket/13970] Save the value of the optional [code] parameter
PHPBB3-13970
2015-06-27 12:33:44 +02:00
JoshyPHP
9d364aee4a [ticket/10620] Moved quote's date to the upper corner
PHPBB3-10620
2015-06-25 22:51:44 +02:00
JoshyPHP
7ce2d996a8 [ticket/10620] Added tests
PHPBB3-10620
2015-06-25 03:11:58 +02:00
JoshyPHP
4f1b25706f [ticket/10620] Removed extraneous quotes from attribute values
PHPBB3-10620
2015-06-25 03:11:58 +02:00
JoshyPHP
f02cc27014 [ticket/10620] Implemented quote improvements
PHPBB3-10620
2015-06-25 03:11:55 +02:00
JoshyPHP
b69e33c2b0 [ticket/13901] Add whitespace to short, multiline quotes for readability
PHPBB3-13901
2015-05-30 22:20:52 +02:00
JoshyPHP
2f0d11ba3c [ticket/13901] Add more whitespace to long quotes for readability
PHPBB3-13901
2015-05-30 22:17:14 +02:00
Tristan Darricau
f5dbc3b6f2 Merge pull request #3616 from s9e/ticket/13847
[ticket/13847] Move quote generation to text_formatter.utils
2015-05-29 15:42:14 +02:00
JoshyPHP
e50d9186ce [ticket/13847] Changed enquote() logic to use whichever is the shortest
Will enclose attribute values in single- or double- quotes depending on
whichever requires the least escaping. Characters that need to be escaped
are always escaped regardless.

PHPBB3-13847
2015-05-25 21:33:17 +02:00
JoshyPHP
8a077e0e94 [ticket/13847] Move quote generation to text_formatter.utils
PHPBB3-13847
2015-05-25 21:33:17 +02:00
JoshyPHP
3f52429e3d [ticket/11742] Added test
PHPBB3-11742
2015-05-23 19:18:02 +02:00
JoshyPHP
ad84a40c00 [ticket/11742] Updated default formatting tests to match the new default
PHPBB3-11742
2015-05-23 01:55:04 +02:00
Nicofuma
c5493c2bb8 Merge pull request #3586 from s9e/ticket/13680
[ticket/13680] Updated quote notifications
2015-05-20 00:38:49 +02:00
JoshyPHP
deadc06652 [ticket/13801] Removed user dependency from text_formatter.s9e.parser
PHPBB3-13801
2015-05-18 02:58:33 +02:00
JoshyPHP
f7ad2c2b32 [ticket/13680] Renamed get_quote_authors to get_outermost_quote_authors
PHPBB3-13680
2015-05-15 02:12:52 +02:00
JoshyPHP
f5ce9f2738 [ticket/13680] Updated quote notifications
Added get_quote_authors() to text_formatter.utils service to retrieve
the names used in first-level quotes

PHPBB3-13680
2015-05-15 02:10:46 +02:00
MateBartus
179a470022 [ticket/13762] Moving language related functionality into a separate class
PHPBB3-13762
2015-05-02 13:37:12 +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
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
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
f4f5bdbaee [ticket/11768] Removed whitespace
No functional change intended

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
5fe8c6b6f5 [ticket/11768] Removed unused var
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
ed29972e76 [ticket/11768] Removed require_once calls that target mock classes
PHPBB3-11768
2015-04-02 19:16:02 +02:00
JoshyPHP
0dd5e62382 [ticket/11768] Replaced headers in test files
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
93c53ed52d [ticket/11768] Fixed test
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
JoshyPHP
63753bbf1a [ticket/11768] Uncommented disabled test
PHPBB3-11768
2015-04-02 19:16:01 +02:00
s9e
90d1a431bd [ticket/11768] Updated tests to use the new constructor signature
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