I've renamed the branch:naderman wrote:Hey Jim, can you please rename your branch to the proper feature/bbcode (or whatever you want to call the feature). Make sure there is a ticket for this on the tracker and then please use git rebase to edit your commit messages to conform with http://wiki.phpbb.com/display/DEV/Git. Thanks.
It seems you have not backported any of the tests. It's important that our new BBCode parser be well tested, so please add unit tests.
http://github.com/terrafrost/phpbb3/tree/feature/bbcode
Still need to figure out how to rebase, although I think I may have complicated matters by accidentally committing to the develop branch...
What about the PHP functions? The url BBcode has, as of the latest commit, url_tag(), url_children() and url_check(). Maybe we could do create_function() but should we be running PHP code stored in the database? Should admins be able to enter, via the ACP, data that'll be executed as PHP code?EXreaction wrote:Can't we move most of the bbcodes to custom bbcodes?
There could be an option on the bbcode table to use the output from a bbcode.html file so you can set each style independently, but it's probably rather moot as long as we use classes that allow the standard bbcodes to be modified from the CSS easily enough.