Commit graph

4419 commits

Author SHA1 Message Date
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
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
e0bb446c57 [ticket/11768] Reorganized code for readability
No functional change intended

PHPBB3-11768
2015-04-02 19:16:01 +02:00
s9e
dc303cbc99 [ticket/11768] Toggled Unicode modifier in relative URL filter
get_preg_expression('relative_url') returns an expression that requires it

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
Andreas Fischer
18d3dd54a1 Merge pull request #3507 from VSEphpbb/ticket/13725
[ticket/13725] Coding guidelines: static public

* VSEphpbb/ticket/13725:
  [ticket/13725] Coding guidelines: static public
2015-04-02 12:37:34 +02:00
Matt Friedman
dbb538afbd [ticket/13725] Coding guidelines: static public
PHPBB3-13725
2015-03-27 00:02:20 -07:00
Marc Alexander
9eab4ba740 [ticket/12368] Fix comment in docblock
PHPBB3-12368
2015-03-26 11:01:22 +01:00
Marc Alexander
4d7cb7ca73 [ticket/13564] Use user_id from link_data for unlinking account in oauth
PHPBB3-13564
2015-03-24 17:08:55 +01:00
Marc Alexander
ca883f1196 [ticket/13564] Allow to specify user id for retrieving auth link data
PHPBB3-13564
2015-03-24 17:08:55 +01:00
Cesar G
8423ae1201 Merge remote-tracking branch 's9e/ticket/13718'
* s9e/ticket/13718:
  [ticket/13718] Added missing global declaration
2015-03-23 08:49:43 -07:00
JoshyPHP
fd230cd9c5 [ticket/13718] Added missing global declaration
PHPBB3-13718
2015-03-23 01:51:04 +01:00
brunoais
576eaa0cff [feature/sql-bool-builder] Adding the IS operator to predicted operators
PHPBB3-13652
2015-03-17 20:31:26 +00:00
Marc Alexander
038b27abba Merge branch '3.1.x' 2015-03-16 14:43:22 +01:00
brunoais
298d86009e [feature/sql-bool-builder] Added LIKE and NOT_LIKE to the comparations
PHPBB3-13652
2015-03-16 11:14:33 +00:00
brunoais
5d70f612be [feature/sql-bool-builder] Explain better the code in the first
Explain what that if and check is for in the first method that is called.

PHPBB3-13652
2015-03-16 11:14:32 +00:00
brunoais
51737be616 [feature/sql-bool-builder] Also use parenthesis for the NOT operator
Be on the safe side, also use parenthesis for the NOT operator

PHPBB3-13652
2015-03-16 11:14:32 +00:00
brunoais
5c1850e10e [feature/sql-bool-builder] AS keyword must be lowercase;
AS keyword must be lowercase; expected "as" but found "AS"

PHPBB3-13652
2015-03-16 11:14:31 +00:00
brunoais
46de946904 [feature/sql-bool-builder] Added code to use this feature for the WHERE clause
PHPBB3-13652
2015-03-16 11:14:25 +00:00
brunoais
b54adaaabe [feature/sql-bool-builder] Removed non-necessary spaces
PHPBB3-13652
2015-03-16 11:13:50 +00:00
brunoais
5c77e43819 [feature/sql-bool-builder] First working version
PHPBB3-13652
2015-03-16 11:13:49 +00:00
Cesar G
7f7d8d9101 [ticket/13550] Check that the Plupload temp directory is writable before moving
This prevents a PHP warning from being issued that results in an invalid JSON
response being returned to the user.

PHPBB3-13550
2015-03-15 16:06:35 -07:00
Dhruv
24f26478c4 Merge branch '3.1.x'
Conflicts:
	phpBB/phpbb/search/fulltext_native.php
2015-03-14 23:44:58 +08:00
brunoais
cfdaf2d63f [ticket/13694] Allow modifying the Postgres native author search query
PHPBB3-13694
2015-03-12 22:14:20 +00:00
brunoais
29ccbd8098 [ticket/13693] Allow modifying the MySQL author search query
PHPBB3-13693
2015-03-12 12:23:53 +00:00
brunoais
1a001fc233 [ticket/13691] Allow changing query to search for posts by author in native
PHPBB3-13691
2015-03-12 12:23:29 +00:00
brunoais
d5dd9c929d [ticket/13689] Allow modifying the query for postgres native fulltext search
PHPBB3-13689
2015-03-12 12:22:45 +00:00
brunoais
3bda9a3c11 [ticket/13686] Allow modify query used for counting in fulltext_native
PHPBB3-13686
2015-03-12 12:22:07 +00:00
brunoais
c3a0e09ddb [ticket/13685] Add phpbb_dispatcher to fulltext search constructors
PHPBB3-13685
2015-03-12 12:21:15 +00:00
brunoais
9b030fd174 [ticket/13674] Missing space after "if"
PHPBB3-13674
2015-03-07 14:57:42 +00:00