View | Annotate | Download (6 KB)
PHP 5.3 compatibility.
Hiding everywhere little buggers, eh?
#19955
This commit was manufactured by cvs2svn to create branch 'phpBB-3_0_0'.
- Constant PHPBB_DB_NEW_LINK introduced which can be used to force phpBB to create a new database connection instead of reusing an existing one if the dbms supports it [Bug #14927] - Automatic URL parsing no longer allows dots in the schema but can parse URLs starting after a dot [Bug #15110]...
#i42 new password hashing mechanism for storing passwords
deregister globals to install too
#i101
#i112
allow new installations...
new hook system (do not get it confused with events or plugins please) - introducing two new hookable functions too
php, a strange language. :o
necessary changes...
Some changes... non-invasive...
- clean up mssql and mssql_odbc, mssql now uses a different method of dealing with IDENTITY - clean up firebird, I will consider changing it to use fetch array instead of fetch object. it's identity code already uses this method as of right... now :D - fix a tiny bug in MySQL's driver (remember to pass the connect id to all DBAL functions)...
- using the PHP_VERSION constant is faster
- fixing a bunch of bugs - moved the install trigger error to sessions and also disabled it for those having DEBUG_EXTRA enabled. i hope not having introduced too many new bugs.
- no more encoding mixture, say hello to UTF-8 (I'll add a validation solution for PHP 4.3.3/4 ASAP) [side effect: fixes Bug #3762] - take local server time into consideration for birthday/age calculation - faster active topic search - allow changing active topic time frame [Bug #4150]...
- getcwd replacement - realpath stuff thanks to Chris
Allow ACP access if install/ is present and display the generic board disabled message otherwise so that a user does not know the reason for it being disabled
Fixed: a double slash appears in the installer URL if you go to the board and config.php is missing
Fixed: if phpBB isn't installed, it redirects to http://host.tld\/install/index.php on my Windows dev server Changed: instead of undoubling double slashes, we replace any number of consecutive backslashes and forward slashes with a single slash
Appears that the redirect in common.php didn't work on all setups we tried, so swapping it for some new code which does
Change redirection logic to match the RFC better in those cases before redirect() is available to us
hey dev team mates, here are the brand new beta checkins (as promised). Please ensure this stays in our private cvs until the 23rd June, except the bug fixes.
- automatically sync topic_reported when deleting a post [Bug #2152] - retrieve forum information in report.php - don't update deleted topics - proper permission check for "admin or moderator" - allow changing poster while ip dropdown contains a different user [Bug #2190]...
- forgot to commit common.php - cleaning up a few more mcp permissions - adjust some links - make global topics work properly in MCP
dumdidum
ok, this one is rather large... the most important change: re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different
apart from this, code cleanage, bug fixing, etc.
hmm, still not giving the expected results
- fix nasty error in functions_admin generating a fatal error on inclusion - adjusted error reporting level to get those errors instead of just the script halting.
- some adjustements for phpdocumentor
- put the error reporting check into another location (since we do want to display our notices. ;)) - default error reporting in common.php - E_ALL being set if DEBUG_EXTRA defined
hmm, maybe i should not comment this statement, eh?
- slightly adjusted the DEBUG/DEBUG_EXTRA requirements - changed error_reporting to E_ALL - our error handler now takes the error_reporting value into account allowing us to correctly supress notices
blah
reverting changes to the installer do not introduce a function we never call outside of common.php
graham, sorry for this but i had to... ;)
- utilize common.php in installer (we only need to change one location then) - use $user->lang instead of $lang to be able to use language template vars and having consistant namings
oops
- safer globals deregistration
- removed group settings from roles - added forum icon in front of forums in permissions acp - added trace permissions in permission masks (thanks naderman for writing the first code and for the idea... :)) - some bugfixes - PHP6 fix
Porting the random number generator code over Fingers crossed that this doesn't break anything.... ;-)
Replacing the first part of the installer ready for some testing This will bounce you back to the previous installer part way through
Weee! My turn to bug things up :D
- A moved topic has two forum_ids, we must update the tracking info on the "fake" forum and the "real" forum. - Welcome back to register_globals! :P
- sperate permissions from sessions - added some comments to the auth class for better understanding - revised some permission functions - added option to negate permission check by prefixing option with a ! (for example checking for !f_read returns true if user is not able to read forum)...
- use the changes. ;)
- changed dbal class layout
Wanted ... someone who can commit updates without screwing up, will pay top dollar.
Session key implementation.
- new queue invocation method
- 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)
- first try to break things...
- bugfixes - do not hardcode url bbcode tag (please change the bitfield accordingly - see schema file!)
- fix attachment mod errors - make upload path consistent with all other 2.2 path settings - fix "post title wrong after split" bug
Add warning notice
- minor fixes
- 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)...
This is a mass commit ... expect trouble! Changes made here are primarily to how login is handled, schema changes necessary!
Rejiggle "board disabled" system to allow admin/mods access, eliminate duplication and "fudges" ... hopefully I've not overlooked something fundamental ...
- added folder_moved image - new feature: bookmark topics - fixed post details link - added confirmation screen to cookie deletion
- added delete cookies link - fixed global announcement links in viewforum - do not display redirects in link forums as posts in forum overview
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)
Profile, prefs, feedback
inline attachment capability...
Custom profile data table define
Addslash function no longer needed with request_var processing
send mass mail immediatly mail priority setting added log session (see Note)
custom profile fields. Not finished, committed to let us discuss about the next steps -> BartVB
ACM garbage collection
my attempt to break things...
Finished drafts, one bit is remaining though. added file and disk space statistics. some minor changes here and there.
users_notes table
new permissions, merged attachment tables (the intended purpose of two tables is no longer valid), attachment updates along the merging...
Note: please merge your attachment tables (develop dir).
bump topic and orphan attachments changes here and there...
Remove need for session_ids for "allowed" bots, dump user_founder/user_active in favour of user_type, new user_type, USER_IGNORE
well, seems putting the queue process in the footer doesn't work on "real boards" where people hit stop constantly on their browser :D
Let's break lots of things
Change in format of module db data, add zebra, many things probably "damaged goods" for now ... don't panic Mr. Mainwaring, don't panic
Updates mainly for removal of extension + header comment ... moved some aspects of ucp around, further work to be done on these areas ... not commiting search for time being
initial draft functionality, loading (and a bunch of other stuff) is not implemented yet + bugfixes.
Various bits and pieces ... this isn't really what I wanted M-2 to look like but hum ho
More paranoia
bye bye forbidden extensions... we have a deny,allow rule for extensions, forbidden extensions are therefore a little bit redundant.
Taken out the $db var from acm classes for consistency with other classes
Added support for db-based caching... for people who like to store data in databases.
oops, that's not quite right
Guess this may come in handy
merged log tables, added new log_type (critical). changed email class a little bit. bug fixed the queue a little bit.
Global announcements ... sort of work ... well they seem to, need to look at possbility of splitting topics table in two
Add install/ warning for future use
deleting the constructor means refining the init call. ;)
moved the queue call, added interval. The current lock is very "fluent" at the moment. ;)
Majority are UCP related updates ... avatars should now work, aside from gallery, fixed a few other issues, updated schema/basic
a few updates, added #539865 and #694413.
Changed forum_link_track to forum_flags for storage of additional info [ pruning related ], moved lang selection into DB, other minor changes, still working on admin_prune, per forum styling for posting
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
Various changes, and tests ... marking/tracking is not complete ... tinkering, changing, etc. still to be done ... it's just I've made numerous and various changes to different files so a commit really is due
Changed: only cache non-dynamic config settings
replaced \' with ' in template to let it parse javascript correctly. admin_attachments.php changes. added real media streaming.
first version of attachment admin panel + some fixes (i hope i do not screw someones code with this, my appologies)
Change ACL_UNSET constant value
Rename ACL_ constants
changed $message to be a class variable, added attachment category constants (now images are displayed inlined by default... no wrong assignments anymore, if you wondered why your zip file got streamed. ;))
Moved BBCODE_UID_LEN to common.php
Moved acl_options caching code into acl
hhmm, where did that constant go ...
initial attachment functionality... only posting related (add/delete/edit) and schema. Also added attachment switch to board settings admin.
Desesperatly trying to synchronise my different versions ;)
Line feeds
Moved db include
Implementing post reporting
Re-enabled fully dynamic config settings.
Remove or rename some table definitions
Re-jiggle where acl_option caching is done, move to common in-keeping with config
Un-b0rked ACL options caching, small general fixes
EOL should be fixed now
Implementation of an experimental cache manager.
oops, seems I forgot to commit this :)
Initial Lastread support. Mind the schema and config changes\!
Cache moderator names?
Give the special groups a special constant ...to make them feel, well, special.
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.
Changed $board_config to $config, more posting "stuff", altered polling code in viewtopic and loads of new problems, poor coding, etc. created :)
Preliminary 'freeze' on permissions awaiting developer feedback, testing, etc. Caching of non-dynmaic config and acl option elements.
Mostly changes to turn userdata into user->data, lang into user->lang + bitstring 2nd format + inheritance for permission admin and various other updates/fixes/changes ... note that user->lang & user->theme isn't final
Random bugfixes, (hopefully) improved admin panel security.
Well, here are all my changes ... don't blame me if things break :D
Cleanups
Instantiate template and set template path from seperate method
Anonymous takes user_id = 0 ... hopefully this will not cause problems on the various supported DB's ...
More session changes to accomodate ACL_PERMIT/PREVENT ...
More changes ... switched away from prefetch for now ...
Various updates
extra constant
Updates for permissions, sessions, lots of things ... note that many things do_not_work now ... I'm commiting them to stop people complaining about my holding on to everything :) There is no update script at present for all these changes, you'll have to work out what's needed yourselves till I finish various things
IP related updates
Forum watch stuff ... just copied the topic watch stuff and thus needs reviewing inline with everything else ... but something needed to be added to 2.1 :)
merged from 2.0.0 branch (marked merge_point_20020420) + assorted updates and trial stuff for example session alterations
Allow global_var off for REMOTE_ADDR
Fix for private IPs via HTTP_FOR.. + spoofing of it ... note that getenv doesn't apparently work in ISAPI mode so will only report REMOTE_ADDR
Somewhat overhauled posting, fixed various bugs, completed new way of handling URIs in emails, blah blah
Now the code is fixed for real :D Not smart to use config info before it's read
Fixed some problems with last checkin ( for Email links etc)
Cleaned up stuff (for Email)
Remove guest user topic tracking via cookies, update viewtopic to re-fix highlighting of search terms, add lang capability to images, various other issues, removed remote avatar size reduction
Updated IP stuff
New session code, probably still dodgy, fix for login failed message, search updates, highlighting URI messup fixes, max limit for ranks
Implemented Navigation bar in Mozilla
Topic review changes + updates
A few tweaks to install
Updated and fixed various issues, see post in developers forum for info
Various changes to notification, editing, etc. etc.
Should fix any remaining chance of bug #462318 ... should
Removed some trailing newlines
Altered layout of phpbb_config table
Numerous updates and additions for polling and assorted fixes ... or bugs, whichever they turn out to be
Re-added GPL disclaimers
Modified header comments
Added emailer class, did alterations and templates for registration Welcome message vars can be removed from lang file
Stupid oversight on slashing vars fixed ... doh
More varied changes, again hopefully not breaking anything
System config admin section started. Can view settings but can't modify them at the moment
Changed extension of templates to php
Basic stats almost done
Various updates to session code inc. moving data away from config
Opps, double assigned same board_config var
Removed most old language vars, not needed any more
Template config system, store relevant config stuff here
Changes to include location + some other misc stuff
Another fix to user_ip determination
More fixes
I am a total utter idiot and I will kill those monkies, down cheetah
Mass lock/unlock done. Locked topic handling in viewforum
More images ... now CVS is back up
More vB inspired icons
Fixes and updates
Image name update
Lots of updates
Updates related to message.php and transaction update
Included message.php and error.php
Added some gzip compression capability
Working on getting Oracle functional. Almost there, need to deal with the 'AUTO INCREMENT' issue
added auto_prune
Found that php has an imagesize function ... doh
Basic new post folder colour change
Fixed reply w/ quote link (functionality still dosan't exist for it though) Fixed bug with being able to modifiy someone elses profile Fixed bug with BBCode not working Fixed bug with validate_username causing editing of profile to fail (only checks if you actually change you name now)
IP encoding now done in common no need to encode anywhere else
More work on posting. Editing now works. Also replies can have subjects.
Initial SQL updates complete
Moved config, images vars to arrays and various other fixes
Added extra defaults
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
Added some passthru support to login Got edit profile half working..
Grab default_theme setting from DB
Updated for generic theming
Okay it seems the template setup has moved to the DB ... thanks for telling me :)
Someone removed the template instance ...
Added user selectable templates, and put the system template into the config database. Updated mysql_schema as well
Moved defaults to common + dir move changes
error_die changes and various bug fixes to files
Session code updates
Changes related to session code updates
User registration works.
New template system. Lots of merging conflicts, so let nate know if he broke stuff.
Changed USER_IP to $user_ip
Moved include files
Started on posting.php, got the logic done for displaying the new topic form
Started translation implemenation, added 1.2 english lang file
Added login/logout file and logic to login a user
Changed the order of some statements
Centralise common includes and setup