View | Annotate | Download (16.1 KB)
Fix #51285 and more issues with template inherence on set_custom_template Conflict introduced with r9839 and r9823
Authorised by: AcydBurn
Color bbcode now supports three-digit hex notation. (Bug #39965 - Patch by leviatan21)
change arabic-numbers list-style-type to correct type decimal (Bug #30775)
revert r8893 - there were massive problems with the display and select all code
support tabs in code selections (Bug #25445). Still does not solve the strange "4 spaces prefixed on every line" problem in firefox. :/
Okay. Frozen, we never said anything about it being permafrost. Also, this is not 100% tested, expect troubel with store_db (I'm waiting for the bug reports)
Hiding everywhere little buggers, eh?
This commit was manufactured by cvs2svn to create branch 'phpBB-3_0_0'.
- Match custom BBCodes in the same way during first and second pass - patch provided by IBBoard [Bug #14268]
dumdidum... sorry. ;)
- Prevent {URL} token in custom BBCodes from make_clickable messing [Bug #14151] - Added alternative tokens to custom BBCodes which are safe for CSS/Javascript and changed TEXT token to entitise opening and closing parantheses.
- BBCode parsing order should ALWAYS be censor_text(), bbcode_secon_pass(), bbcode_nl2br(), smiley_text(), parse_attachments() - using \r on custom bbcodes to allow line breaks [Bug #10758]
#8576 Introducing percentage based font sizing for the font-site BBCode
#8456
blah, no need to capture this
#8374
- some bugfixes - bugfixes for the convertor (typecasting for example was totally broken)
- Changed handling of the bitfield in bbcode.php - #6270, reverted to an earlier version of list handling + bug fixes
rather large update, most important things done: - implemented provided patch/diff file for bug #5350 (Highway of Life) with some tiny changes and alterations - more username/colour changes/fixes - added a note about PM rule-dependant message removals so the user is not wondering too much if he can't remember his rules. :)...
he braces style is deprecated as of PHP 6
fix custom bbcode html replacement to correctly replace references It failed if there was a number directly after the token, resulting in $12345, where $1 was needed. Fixed by using ${x}
also made sure that newlines within the html replacement are not replaced with <br />.
sql_in_set changes
so.... what does this thing do?
well, the super fast, ultra efficient, massively huge BBCode handling system was implemented differently on each DBMS. Although this provided the best performance, the solution was a bit hacky.
So what does this new thing do? We use base64 encoding to make everything nice and shiny, it turns into nice, safe characters that we can just jam into varchars on essentially any database. This has two implications: we must decode every bitfield we get AND we have slightly fewer IDs to work with. It goes down from 2040 BBCodes to 1512. We lose like a quarter of them :P...
OK...
This commit should increase the total number of BBCodes from 31 to 2040. Some things to watch out for:
Each database likes to deal with binary data in its own, special way. They are, quite frankly, too cool for school.
MySQL, MSSQL and Oracle all allow me to send in a default value for their binary column using a hex number. However, MSSQL forces me to send the specific data as a hex number and thus we must CAST it....
fix some bugs... again. :)
what? yeah... - turns out the backup issue was not a backup issue but a schema issue - let there be color
- removed db cache (might re-appear, but for now we do not see the need for it) - all changes to styles/subsilver/template are purely cosmetic (no functional changes) - cosmetics - bugfixes - add index to modules table - use modules ordering code for forums too
erm, ok, my fault. :/
make sure custom profile fields are created correctly on registration (#2225)
- fixed a few bugs - added user_add() function - check posted images ([img]) for same domain/scipt and php files - auth_api.html updated to the coding guidelines look&feel - introduced ability to force non page-updates (cron is using it) - correctly resend coppa email
- BBCode bugs - PostgreSQL now gives us database info (if you are running 8.1 or have the dbsize contrib module installed)
- get every bbcode tpl block defined within bbcode.html. ;) (#1889)
some tiny changes...
- fixing a few smaller bugs/glitches - init user session in cron.php (else it can produce errors if functions expect the user object being set) - fix sql escaping for mssql/mssql_odbc
#1327
- file_get_contents instead of imploding file()s or fread()ing till the maximum filesize - language and style properly use compression - language now prompts user for methods - functions_compress does not need to eval() to get a hex date, instead calls pack()...
- ok, get away with the secondary style approach (styles can be mixed together easily with the acp) - introduce a more generic approach of defining some additional variables through cfg files as well as the name, copyright and version fields - please note that at the moment this is in flux. I added it now for Tom because he needs the theme parameters.
- added acp_language (language pack management) - minor adjustments to cope with PHP5.x
- Documentation related changes - added resend activation email dialog - fixed issue in session code - log failed/successful admin re-authentication/login - fixed simple forum dropdown box (used in mcp and posting)
- bugfixes - do not hardcode url bbcode tag (please change the bitfield accordingly - see schema file!)
- some fixes/changes
- letting urls work again, fixing [code] breakage on urls, corrected magic_url to be able to parse urls at the beginning/end of bbcode blocks - fixed "edited by" message.
- a bunch of updates, most of them bbcode related
- more updates, mostly bugfixes to the bbcode parser - changed current_user in sessions (please review) - give more flexibility to style authors in regard to the pagination elements - profile fields updates (included a sample constuct into viewtopic_body.html - have to be documented extensivly)...
my turn to break the forum (and at least pm's are no longer working - will not last long). HARRRR
trouble oh trouble... trouble oh trouble... trou... SLAP!
- approve/disapprove posts/topics - changed mcp_front to be more moderator friendly - able to change the forum in mcp_queue (for moderators moderating more than one forum)
- forum rules + link to forum rules - three new (tiny) functions added to functions_posting responsible for handling text with bbcode/smilies/urls, use them at items all over across phpbb... - some bugfixes within admin_forums and other files - new admin_board layout (much safer, security wise)
fix some issues with oop, fixing small bugs and prepare the next steps... NOTE TO DEVS: have a look at adm/admin_board.php (new config layout)
inline attachment capability...
do not parse smilies within code tag
Not even worth a log msg ;)
Let's break lots of things
username quoting should be working again...
Added: admin definable bbcodes Changed: preg references, use the prefered $n form instead of the old \\n one Fixed: tweaked PHP highlightning a little
Correct pathname for template
Less bug, more comments
Primary / secondary style bbcode implementation. Not thoroughly tested yet but my test board still functions so I guess it works ;)
path change for bbcode
Cope with secondary (per forum) styles, probably other minor things too ... there is a known permissions problem, will work on that soon. Ashe, the bbcode primary/secondary stuff may need some tightening, particularly since it only checks the bbcode_bitfield for the primary template (which may not exist as coped with later) ... I'll leave that to you to alter.
Shifting bits appears to be faster than the pow() function
Fix up display of sigs and bbcode for preview
Changed: [list=square] is translated into an UNordered list Fixed: <ul> opening tag Changed: [list] is not hardcoded anymore
Added: width / height parameters to flash Fixed: ol closing tag Screwed-up: ol opening tag - will check that later
Updated bbcode parser. Images that are replace with a link according to user's preferences now use the corresponding [url] template. Some regular expressions have been made a little more restrictive.
This version tends to do what it was supposed to do ... I guess users will prefer this ...
Enable view limiting functions ... Ashe, not sure if this is compatible with your thinking for bbcode but it seems the "logical" way to handle disabling of bbcode/flash in this manner. Fixed issue with automatic url handling of local links
Added: [/*] tag (list item end tag). Automagically added if needed, in which case it's stored as [/*:m:$uid] Added: any {L_*} var in bbcode.html is replaced by its matching $lang string
prepared (and fixed) topic review.
a few updates, added #539865 and #694413.
Changed: the loading of bbcodes template is triggered whenever needed - see bbcode_tpl() Changed: [flash] got templated
Move second parse cache init after assignment of bitfield ... in case bitfield isn't set globally
First-pass syntax highlightning. Will fix quotes later
More bbcode fixes
Added syntax highlitning to [code]. Added [flash] tag.
Added some extra 's' extensions to preg_matches to cope with multiline data
BBCode parser + decoder, missing some tags and mildly broken at this time
Various, typically posting related updates
Changed $board_config to $config, more posting "stuff", altered polling code in viewtopic and loads of new problems, poor coding, etc. created :)
Various updates and alterations
Updates in line with 2.0.1
Fix for "security vulnerability" in img tag
merged from 2.0.0 branch (marked merge_point_20020420) + assorted updates and trial stuff for example session alterations
Move phpbb_preg_quote back into functions because it's plain annoying ... :D
Fixed little bug that made the smilies image tags not XHTML compatible
Fix for bug #529642... Tabs should end parsing for magic urls as well as spaces or newlines...
Updates to overcome security issue + updates of various functions, initial version of profile registration include ... not completed but should be functional for obvious reasons(!)
Fixed #506066, [img] didn't work with multiple instances directly following each other
doh
Minor change to email match
Various updates, mods, changes to several functions, moved smilies stuff to bbcode.php ... nathan may kill me ... good bye all in advance
Add a ; to URI validation rex
And another ...
Couple more updates to URL 'fixes'
arrgghhhhh I hate regexp
alphaNUMERICS Paul, ... doh
Check for allowed chars in [url] submissions ... could use some double checking
!!$## gotta stop testing on one machine and commiting changes on another... I mistyped one word, and broke quotes completely. :( Somebody please get me a beer
!!$
trimmed down the quote bug fix in second pass to one preg_replace rather than two, by changing the pattern up a bit...
Fix for bug #496944 "quotes with usernames containing "]"
bug #489842 -- some pages were doing bbencode_second and make_click in a bad order.
fixed [code] bbcode linebreaking nbsp; stuff.
Removed uniqid() from make_bbcode_uid(). uniqid() was doing absolutely nothing for 20ms on each call ;(
tabs-to-spaces and other indentation mojo for [code] bbcode.
Fixed bug 478218 -- [ and ] in usernames qith quote= bbcode. Usernames can no longer contain the double-quote character. Also removed a dupe from lang_main file.
[quote=username] bbcode.
Removing traces of global announcements and also fixing a potential security hole in bbcode. Img-based javascript is now stripped. All images have to begin with http://
Changes related to private messaging + some bug fixes
Templated bbcode.
color and size tags
Added underlined text [u][/u]
Numerous updates and additions for polling and assorted fixes ... or bugs, whichever they turn out to be
Re-added GPL disclaimers
Modified header comments
Various posting updates
Beginnings of the forum managament code (no functionality yet). Also a bit of a fix to view topic so it dosan't screw up when HTML is turned off. Still needs work, HTML works in [quote] tags... havn't tracked it down yet. Nate should look at it!
Lots of work on posting. New topic and reply functionality is mostly done. Edit post loads the form but needs database functionality All this is only been tested on Postgres, donno if it works as well on MySQL yet, will test when I can get access to sourceforge again
Ran John's fix_files script to fix all the windows carriage returns. Also added the script in the develop dir. To use it copy it to the phpBB2 root dir and run it
Moved all included files to includes