1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-23 19:45:10 +01:00

3046 Commits

Author SHA1 Message Date
JoshyPHP
98bdcd0cde [ticket/12745] Added HTML entity test
https://github.com/phpbb/phpbb/pull/3548#issuecomment-96219167

PHPBB3-12745
2015-04-25 23:43:38 +02:00
JoshyPHP
25acba2259 [ticket/12745] Added support for Unicode characters outside BMP
PHPBB3-12745
2015-04-25 23:43:32 +02:00
Tristan Darricau
c89384eb86 Merge pull request #3446 from MateBartus/ticket/13654
[ticket/13654] Moving reporting into controller
2015-04-16 21:30:52 +02:00
Tristan Darricau
f077b72d0d Merge pull request #3487 from MateBartus/ticket/13697
[ticket/13697] Moving filesystem related functions to filesystem service
2015-04-16 20:44:02 +02:00
MateBartus
4bdef6fd21 [ticket/13697] Moving filesystem related functions to filesystem service
* Moving filesystem service to \phpbb\filesystem namespace
 * Wraping Symfony's Filesystem component
 * Moving filesystem related functions from includes/functions.php
   into \phpbb\filesystem\filesystem
   Functions moved (and deprecated):
     - phpbb_chmod
     - phpbb_is_writable
     - phpbb_is_absolute
     - phpbb_own_realpath
     - phpbb_realpath
 * Adding interface for filesystem service

PHPBB3-13697
2015-04-16 13:24:10 +02:00
MateBartus
a089ff5eb0 [ticket/13654] Moving reporting into controller
Moving report.php's content into different services and controllers to
better comply with the MVC model.

Also implementing:
 * Replacement for reasons_display()
 * Adding assign_meta_refresh_var() to \controller\helper
 * Adding separate routes for easy configuration
 * Updating unit tests to expect to correct results
 * Add BC tests

PHPBB3-13654
2015-04-16 11:29:11 +02:00
Dhruv
2c0b1252c8 Merge branch '3.1.x' 2015-04-14 09:10:47 +05:30
Oliver Schramm
366dfce846 [ticket/13756] Add test for generate_resize_string()
PHPBB3-13756
2015-04-12 14:20:07 +02:00
Oliver Schramm
afc3730cca Merge branch '3.1.x' 2015-04-06 23:54:40 +02:00
Marc Alexander
9d181daa71 [ticket/13749] Add missing slash to base uri in helper route tests
PHPBB3-13749
2015-04-06 22:59:34 +02:00
Joas Schilling
201f5cb3fb Merge branch '3.1.x' 2015-04-06 16:54:54 +02:00
Joas Schilling
53ed8a3cd9 Merge pull request #3392 from marc1706/ticket/13493
[ticket/13493] Append page name to base url if it doesn't contain it
2015-04-06 16:54:35 +02:00
Joas Schilling
478fed7ee1 Merge branch '3.1.x' 2015-04-06 14:22:18 +02:00
Tristan Darricau
8575cc69d1 [ticket/13747] Add assertions to test_validate_path_linux
PHPBB3-13747
2015-04-06 13:09:07 +02:00
Joas Schilling
477f7823e5 [ticket/13522] Fix globals for 3.2 in Q&A tests
PHPBB3-13522
2015-04-06 12:08:55 +02:00
Joas Schilling
3af61075a8 Merge branch '3.1.x'
Conflicts:
	phpBB/phpbb/captcha/plugins/qa.php
2015-04-06 11:09:20 +02:00
Joas Schilling
009a8cb2d5 Merge pull request #3333 from marc1706/ticket/13522
[ticket/13522] Remove empty answers from possible answers in Q&A
2015-04-06 11:04:35 +02:00
Joas Schilling
197369e3f9 Merge branch '3.1.x' 2015-04-06 10:59:46 +02:00
Joas Schilling
9ab27fe129 Merge pull request #3284 from Elsensee/ticket/13469
[ticket/13469] Fall back to soft_delete if no permissions for delete
2015-04-06 10:59:33 +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
b021225148 [ticket/11768] Removed unused var
PHPBB3-11768
2015-04-02 19:16:03 +02:00
JoshyPHP
1b4bdff3b3 [ticket/11768] Fixed test double
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
462696aa47 [ticket/11768] Replaced headers in test files
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
b12043d4b0 [ticket/11768] Renamed get_words() to get_censored_words()
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
JoshyPHP
6540918ffa [ticket/11768] Added test files
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