View | Annotate | Download (17.8 KB)
fix bug #52605 - regression from r9811
bugfix for non-existent handles and theme data (we really need to clean this up, template_files feels quite furry)
Fix #51285 and more issues with template inherence on set_custom_template Conflict introduced with r9839 and r9823
Authorised by: AcydBurn
Check for valid $template_path in includes/template.php - Bug #50055
Small change to r9839
Fix Bug #40515 - Fix set_custom_template for database-stored styles
Preserve newlines in template files (one newline had been always dropped after a template variable due to PHP's handling of closing tags)
Fix bug #45805 - INCLUDEPHP not depending on phpbb_root_path
Authorised by: acydburn
Fix problems with styles using an underscore within the filename. (Bug #34315) - Also display inheriting template on style installation (previously, it was only displayed on template installs) - Fixes undefined variable in error message if inheriting style does not work...
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'.
- fixed database updater - fixed hook function call in database updater - fixed bot agent detection (we used a wildcard within the w3c-agent, therefore we should really support this. ;))
ok... i seem to have overlooked the handy CLASS constant. ;)
PHP4 compatibility
new hook system (do not get it confused with events or plugins please) - introducing two new hookable functions too
ok, the nasty one then... :/
#12675
tweak the sql_like_expression feature a little bit to allow correct escaping
new wrapper for LIKE expressions to streamline the fixes. We actually need to adjust them for different DBMS as well as SQLite2 not supporting escaping characters in LIKE statements (which is a reason why we think about dropping sqlite support completely).
some fixes
fixing some bugs, most being submitted grammatical/spelling errors.
#6642
- quite a few optimizations to the template engine. bitwise arithmatic is used to check odd/even, usage of ref to the root template variables should reduce the number of hash lookups needed, usage of refs within loops should reduce the amount of hash lookups, incrementing vars were turned from class variables to regular variables, cache now uses preincrementing variables instead of postincrementing variables, some regex were optimized/trimmed...
adjust some comments to work with phpdocumentor. :)
- now username changes should work as desired - removed some extract() calls
fix bug #4454
- Fix some bugs - fixed retrieving of permissions if the LIKE statement is used as well as proper supporting (needs testing on mssql)
some updates. Also adjusted the utf tools and normalizer more to our coding guidelines.
- fixing some bugs - shortening some db columns to meet the requirements - correctly increase/decrease user post counts - fix the topic title length bug(s)
show error if template path could not be determined
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
ok, sorry for this. :/ - cleaned up table names/constants
some tiny changes...
first round of custom profile changes
- introduce new function build_url to easily build a valid url from the user->page object as well as optionally removing certain keys - changed attachment config to utilize the config build methods - cleaned up posting.php - the submit/delete_post functions are now usable (functions_posting.php)...
- added the template editor (doesn't use a hardcoded list of template filenames for categorisation anymore) - fix some bugs related to storing template files in the database - allow templates stored in subfolders of the /styles/name/template/ folder
introduce LA_ for addslashing language variables for use in js vars (idea by naderman)
- clean up marklist calls (global function) - added new feature: test out others permissions (admin permissions will not be copied) - changed attachment processing by directly using the template engine - fixed some attachment related bugs - additional tiny fixes
fixing a bug within the installer (displaying notices) and making sure the installer is using the error handler.
save graham temporarly some headaches. ;)
- add our beloved in_phpbb check
- streamlined reports to consist of the feature set we decided upon (Nils, your turn now) - use getenv instead of $_ENV (with $_ENV the case could be wrong) - permission fixes (there was a bug arising with getting permission flags - re-added them and handled roles deletion differently)...
- implementing David's proposed expression changes (some of them already noted within the events CCP)
- Removed a variable that has been left unused for three and a half years...
- fixing alter_block_array function as suggested by david.
- 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.
Some fixes to the template code - this handles the case where file caching is used and no cached version exists
- mass email
- some bugfixes - checking if page_header has been called already - call correct page footer function - rewrote avatar gallery - seperated compilation of template and template functions (new file: functions_template.php) - added assign_display function to template...
- more acp additions and changes...
- tiny bugfixes. ;)
allow checking for loops with IF .block_var
- added new query type to dbal's sql_build_array - allow setting custom template path - adjusted module class to correctly parse trees with more than one category - added caching to module class
- some bugfixes - allow template variables in defines
- fixed url parsing ([] breakage)
- made path information available to template (T_) - eased topic/post icon in templates (removing hardcoded img) - added S_FIRST_ROW and S_LAST_ROW to template engine
- added updated coding guidelines - introduced is_registered and is_bot flags for correct determinition of guest/registered/bot users - changed bot code to act on useragent || ip
- 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)
fix admin_session "bug"
this should eliminate most problems with statements not interpreted but valid. We really do not use/need multiline conditionals. ;)
- some fixes/changes
- new function + a few fixes suggested by cyberalien
- 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)...
Fixed problem with UNDEFINE
- remove output buffering options from download.php (not needed anymore) - optimized viewtopic.php a little bit - removed the create_function (was consuming too much memory) from viewtopic - check for manually added convert[.exe] program name to imagemagick path in admin_attachments...
- added folder_moved image - new feature: bookmark topics - fixed post details link - added confirmation screen to cookie deletion
don't hurt me... just very small things
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)
oopsie
custom profile fields. Not finished, committed to let us discuss about the next steps -> BartVB
Add DEFINE/UNDEFINE ... user vars bust be preceeded by $ and be uppercase, string vars must be in single quotes. Can be used in loops, something.$VAR, etc. Use with standard IF, IF $something ==, etc.
Quiet please!
include_once
Switch for recompilation (based on filesystem modified time)
Allow for start,end values within begin/end loops
Added the binary attribute for Windows platforms. Removed the read attribute because it wasn't needed.
A fair amount of additional working or semi-working stuff ... template stored db source (when appropriate), switch theme/templates between DB/filesystem (if available), import, upload templates, imagesets, themes (if available ... i.e. no safe mode), etc. still a fair amount of stuff to do but getting there ... take care using this, backup any themes/templates/imagesets before fiddling and let me know of issues
Changes for styling directory layout alterations
Remove subfolder storage of templates ... a safe-mode thang, you can delete any existing cache/templates folder
Cope with secondary (per forum) styles, probably other minor things too ... there is a known permissions problem, will work on that soon
Fix failure to INCLUDE a file following its sole recompilation ... I should add that neither of these commits have added support for primary/secondary styles (e.g. styling of forums) ... won't commit these till all relevant styling changes have been implemented.
forced_recompile "seems" to work now if set true ...
Various updates, forum links, "improve" forum management, cleanups, blah blah, note the schema changes, note also that forum management may misbehave ... reports on wrong doings are welcome ... seem to be having problems with some mcp functions under apache/win32
Check for and remove other possible PHP execution tags
I believe the original intent was to put the backslash in the character class, this should make it work
hhmmm, was slap bang in the middle of working on this ;) Excess slashing(?) .. keep an eye out for errors ... fixed static lang preg
replaced \' with ' in template to let it parse javascript correctly. admin_attachments.php changes. added real media streaming.
Thanks to John, who indirectly reminded me about this :D ... echo only data we need to echo.
Okay, give this one a whirl ... clear your template cache before trying
Revert INCLUDE template change, fixed attachment display.
faster (for me), especially for topics with a bunch of attachments (due to the nested block vars).
Fixed INCLUDE. Now cached items are processed correctly. all glitches are fixed (for example the strange display after a template got changed)
added 711252 and lock topic within post, fixed post editing a bit.
Try this version of include ...
initial 'view attachments' implementation. added new template var (merged include, to preserve previous block vars), could be changed later to consider caching. some config variables and upload icons are not present as of yet...
Change cache location to root path cache, you can delete the cache/ and its contents from the templates/ directory. Moved cache show, decompile, etc. methods to new admin_ object in functions_admin
Updates as opposed to downdates
Start to (re-)fix generation of "plain text" templates from compiled source for template editing
Cleaned up viewforum/index, altered template class to replace missing lang strings with a nicely formatted text, pre-implemented topics prefetching and broke some things.
These changes mean you no longer have to assign L_ vars values (unless you want/need to) ... the relevant entry in the lang array will automatically be used if a var isn't assigned
More bugfixes
Well, here are all my changes ... don't blame me if things break :D
I updated my copy with the Area51 template so here it is, along with a couple of bugfixes :]
Subforums handling part 2, it almost works. Also added: the "Explain" link at the bottom page, can be removed easily before official release if necessary.
Instantiate template and set template path from seperate method
Minor changes
This should work fine with existing templates ... note that you will need to create a directory called cache/ in your templates directory ... give it a+w access (chmod 700)
Template caching ( file based )
Ok this is just me being anal again... No code changes, just file headers..
Stop being too paranoid about hacking of includes containing only fully inclusive functions
Updates to overcome security issue + updates of various functions, initial version of profile registration include ... not completed but should be functional for obvious reasons(!)
Another warning fix ...
Fix various var not set warnings ... many thanks go to The Horta for pointing out and offering fixes for many of these
Fix for Paul's Polling problem..
Re-added GPL disclaimers
Modified header comments
Fixes a template parsing error.
Changed extension of templates to php