Search found 367 matches

by JoshyPHP
Mon Jul 15, 2013 12:18 am
Forum: [3.x][Archive] RFCs
Topic: Integrating s9e\TextFormatter in phpBB
Replies: 1
Views: 3640

Integrating s9e\TextFormatter in phpBB

Preface Earlier this year , I have announced in this forum the text formatting library I've been working on, s9e\TextFormatter . Since then, brunoais has agreed to take on the difficult task of cleaning up phpBB's current message parser and prepare to replace it with s9e\TextFormatter. In the meant...
by JoshyPHP
Sun Jul 14, 2013 4:53 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Remove innermost quote
Replies: 40
Views: 41663

Re: [RFC] Remove innermost quote

Ideally I'd prefer having the deepest levels automatically removed when the user clicks the "Quote" button, eventually with a non-intrusive warning displayed on the posting page indicating that the deepest level of quote was removed. Most commonly, people "overquote" because they just click "quote" ...
by JoshyPHP
Wed Jun 05, 2013 6:07 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC] Javascript Preview
Replies: 13
Views: 9877

Re: [RFC] Javascript Preview

If your JavaScript preview contains a <script> element it'll get executed when you display it. Same for <img onerror="..."/> and other XSS vectors. It's not terribly useful though, because you need to trick somebody into either manually entering the XSS vector in the message box, or somehow edit or ...
by JoshyPHP
Sat May 18, 2013 3:22 am
Forum: [3.x][Archive] RFCs
Topic: [RFC|Accepted] Updated BBcode engine
Replies: 146
Views: 103649

Re: [RFC|Accepted] Updated BBcode engine

Bumping this topic to see if there's some new activity that I missed. Is there something I can do on my side to help you move forward? Also, since the discussion has moved away from its original RFC, wouldn't it make sense to create a new RFC/topic? Perhaps even more than one RFC, so that you can br...
by JoshyPHP
Sat Feb 02, 2013 1:54 am
Forum: [3.x][Archive] RFCs
Topic: [RFC|Accepted] Updated BBcode engine
Replies: 146
Views: 103649

Re: [RFC|Accepted] Updated BBcode engine

Yes, multiple attributes are supported, as well as default attributes as per your first example. Attribute values can be in single quotes, double quotes, or no quotes. The backslash serves as the escape character inside of quotes. Unquoted values extend either to the end of the tag, as in [QUOTE=Joh...
by JoshyPHP
Sat Feb 02, 2013 12:21 am
Forum: [3.x][Archive] RFCs
Topic: [RFC|Accepted] Updated BBcode engine
Replies: 146
Views: 103649

Re: [RFC|Accepted] Updated BBcode engine

It's been a month since my last post here so I thought I'd post an update of my progress on the text formatting library I'm working on, s9e\TextFormatter . Most of the changes are not directly related to phpBB, but I always keep phpBB in mind when designing new parts or refactoring old parts of the ...
by JoshyPHP
Wed Jan 02, 2013 2:59 am
Forum: [3.x][Archive] RFCs
Topic: [RFC|Accepted] Updated BBcode engine
Replies: 146
Views: 103649

Re: [RFC|Accepted] Updated BBcode engine

Multiple rendering backends. This is a subject I have barely scratched because I haven't seen a host that doesn't support ext/xsl and I was under the impression it was enabled by default, as opposed to being included by default. One possible alternative to using ext/xsl is to compile the template in...
by JoshyPHP
Wed Jan 02, 2013 12:31 am
Forum: [3.x][Archive] RFCs
Topic: [RFC|Accepted] Updated BBcode engine
Replies: 146
Views: 103649

Re: [RFC|Accepted] Updated BBcode engine

Thanks. I'm aiming at 100% coverage , minus a few codepaths that are unreachable under normal conditions. I haven't really checked the performance of any specific situation, even though I have a good idea of the parameters in play. The BBCode parser uses one big preg_match_all() to find where the BB...
by JoshyPHP
Tue Jan 01, 2013 10:48 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC|Accepted] Updated BBcode engine
Replies: 146
Views: 103649

Re: [RFC|Accepted] Updated BBcode engine

I'm following up on my previous post. As I said, I've been working on a text formatting library, s9e\TextFormatter , for a little while now. Today, even though I still considering it some ways from being in a releasable state I have registered the project on Travis https://travis-ci.org/s9e/TextForm...
by JoshyPHP
Thu Dec 20, 2012 10:51 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC|Accepted] Updated BBcode engine
Replies: 146
Views: 103649

Re: [RFC|Accepted] Updated BBcode engine

I see that this topic has been relatively active lately thanks to brunoais's efforts, so it would feel disingenuous if I waited more to say that I'm currently writing a text formatting library, which includes a BBCode plugin. And since my long-term goal is to see it included in forum softwares (with...