History | View | Annotate | Download (13.6 kB)
commit b414a4d107b3baa4b6d2f600e6f52211359ec3a5Merge: e685c1c 5e97dd7Author: Andreas Fischer <bantu@phpbb.com>Date: Tue Feb 1 07:41:21 2011 +0100
Merge branch 'ticket/p/10014' into develop-olympus
commit dfd3c4a5dfa7f2afceb3ab7b3fd12181ba66b10cMerge: 3c02a1c 5e33004Author: Andreas Fischer <bantu@phpbb.com>Date: Sat Aug 28 23:25:05 2010 +0200
Merge branch 'ticket/nickvergessen/9519' into develop-olympus
Bug #55865 - Correctly move sql_row_pointer forward when calling sql_fetchfield() on cached queries.
Here we go! New data format for the file ACM module:- No longer PHP files that are included- Contain a simple PHP header to stop people attempting to read them- Read using file system functions only reading as much data as requiredResult is:- Better performance by minimising file system reads...
add IN_PHPBB check to generated cache files
Fix infinite loop in message handler if cache directory is not writable. (Bug #38675)- newer PHP versions handle this quite fine, a Fatal Error is returned in this case
Missing read permission from calls to phpbb_chmod()
small adjustement... only add an empty array if cached data is empty (from 3.2.x)
make sure phpbb_chmod is able to be called
Use phpBB 3.1.x method for storing cached data to prevent PHP bug with our usage of var_export(). (Thanks to Techie Micheal and HoL for pointing out possible problems)
change the way we do chmodd'ing. I know, my implementation really sucked... good we have motivated community members who point this out. ;) Thanks to faw for providing a way better function and for discussing and also abiding to our needs. :) LEW21 should maybe credited too... he gave the inspiration without knowing it.
the chmod change i already had within the changelog (by mistake). This should further secure writable directories and created files.Installation need to be tested on different hosts.
writable instead of writeable. :/
Hiding everywhere little buggers, eh?
Do not rely on parameter returned by unlink() for verifying cache directory write permission - #19565
This commit was manufactured by cvs2svn to create branch 'phpBB-3_0_0'.
- Re-populate arrays on cache purge/save to allow re-using some functions without warnings- fix the annoying "last page empty" bug on inactive users page.
dumdidum... sorry. ;)
some fixes
more failsafe "glob()" method.
let's see if i can break something. :o
some fixes...
some language-specific adjustementsfix prune users (adding the list of users to the confirmation page)tried to fix the show/hide trigger in ACP by not using width: auto; (which gets somehow inherited to each other element)
some changes/bugfixes
#5137
we support PHP4. :o
this change should be a performance boost on destroying the sql cache... took several seconds before. This is especially noticeable on updating groups and permissions and may also fix the "blank screen" bugs.
- fixing some bugs- removing utf8 characters from email files (has been discussed internally, you guys know why)- making sure some opendir calls are checked before calling readdir.
- use var_export instead of our format_array function [Bug #6748]- fix dumb error in column naming [Bug #6750]- Make sure to catch some special conditions for cpf translation as well as correctly removing/adding default values on language installation/removing [Bug #6752]
he braces style is deprecated as of PHP 6
- finally removed sql_numrows- sql_fetchfield now in dbal.php- check query id correctly as well as other tiny fixes
i am tired of the support requests for those having changed the permissions of the cache folder on an update (not intentionally most of the time though)
made sql_rowseek consistent with the dbal methods as well as fixing sql_query_limit for mssql, especially if sql_query_limit($sql, 0, 0) is given...
removed debug_extra noticeother fixesstate that mysql.php shouldn't be used for mysql 4.1+ (actually, it should deny using it)
some changes/fixes
some updates. Also adjusted the utf tools and normalizer more to our coding guidelines.
- custom profile field fixed- fixing sql_fetchfield from cache- changing the quote parser. In my tests i have not seen changed behaviour - but i might have broken something with this change.
- acm_file uses an index pointer to the current row instead of shifting the result array now [Bug #2451]- all dbals adjusted to use the cache in sql_fetchfield, sql_rowseek, sql_numrows and sql_freeresult [Bug #2451]- use include_once for dbal.php to at least theoretically allow connections to multiple databases at once...
- tackle some usability issues- fix bug #3147- added the lock-images made by SHS`- fixed MSSQL errors (adding the correct ESCAPE sequence)
make sure custom profile fields are created correctly on registration (#2225)
- permission trace correctly uses language variables now- updated documentation for the auth class- use cache for "SELECT forum_name FROM phpbb_forums WHERE forum_id = X" queries everywhere and not only in functions_display- updated the permission trace to include information about global settings overwriting local ones...
some tiny changes...
- some adjustements for phpdocumentor
- Bug 1301
- adding ability to assign moderator specific ban options- fixing destroying of sql caches- fixing referencing of sql cached queries if more than one are active on one page- other fixes
- fix cookie shortening- let the acm handle the module cache- call $cache->save() after destroying data if necessary
- overhauled search system - updated structure for search backend plugins - better result caching using ACM - search results no longer session restricted => link to them by copying the URL :) - in-topic search - indexing posts now uses search backend plugins...
- acm::exists() is considered private now and was renamed to acm::_exists()
- 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...
- some bugfixes
- changes to /acm
- 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
- fixed custom profile field get/store- changed tz lang array to hold more descriptive timezones (no more tz+-13, dst is a seperate option)- fixed bugs after jabber queue processing (data being escaped differently)
- 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)
- mysql 4.1.x support (mysqli extension)
- some fixes/changes
language additionssome small fixes
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)
Changed: the way caches expire. (see dev forum)Added: "private" caching. (see dev forum too ;))
Minor change. You may have to empty your cache.
Changed: headers, and a couple of clean-ups
Minor changes
oopsie on closedir
Added: ability to destroy specific SQL caches
Taken out the $db var from acm classes for consistency with other classes
Cleaned up var names. $query_result is now passed by reference to be altered directly from the cache manager
Remove subfolder storage of templates ... a safe-mode thang, you can delete any existing cache/templates folder
No functional changes, will only produce less PHP notices/warnings.
Added user notification for post reporting, moved lang strings to lang_main, added CSS style for mcp_jumpbox
Random stuff: report.gif renamed to icon_report.gif, typo in acm_file.
ACM filenames re-prefixed