Register
phpBB.com Wiki · Home Projects Help

root / tags / release_3_0_RC1 / phpBB / common.php

common.php

View | Annotate | Download (5 KB)

# Date Author Comment
7657 View | Annotate 05/20/2007 04:59 PM

This commit was manufactured by cvs2svn to create tag
‘release_3_0_RC1’.

7009 View | Annotate 02/19/2007 05:12 AM davidmj

- 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)
- add new_link as a new param for sql_connect. This allows you to make connections that are not dependant on each other. This is done for our friends mysql, mssql, postgresql and oracle. Now for everybody else.. (I said this was clever ;) MySQLi and SQLite should always spawn a new connection when you call it while mssql_odbc and firebird both will create new links if you give them different params (different creds) than the previous connection(s). Thus we can always promise new links :D
- fixed a bug in the converter
- cleaned up the dbal a little

6779 View | Annotate 12/17/2006 07:17 PM davidmj

- using the PHP_VERSION constant is faster

6628 View | Annotate 11/21/2006 07:15 PM acydburn

- 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.

6578 View | Annotate 11/12/2006 08:45 PM davidmj
  • empty log message *
6380 View | Annotate 09/18/2006 12:02 AM naderman

- 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]
- reload stylesheet on language change [Bug #4222]

6296 View | Annotate 08/17/2006 06:26 AM davidmj

- getcwd replacement
- realpath stuff thanks to Chris

6276 View | Annotate 08/12/2006 05:37 PM grahamje

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

6205 View | Annotate 07/23/2006 11:26 PM ludovic_arnaud

Fixed: a double slash appears in the installer URL if you go to the board and config.php is missing

6204 View | Annotate 07/23/2006 10:59 PM ludovic_arnaud

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

6155 View | Annotate 07/07/2006 11:50 PM grahamje

Appears that the redirect in common.php didn’t work on all setups we tried, so swapping it for some new code which does

6154 View | Annotate 07/07/2006 10:47 PM grahamje

Change redirection logic to match the RFC better in those cases before redirect() is available to us

6092 View | Annotate 06/17/2006 10:28 PM acydburn

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.

6063 View | Annotate 06/14/2006 08:59 PM naderman

- 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]
- fixed a typo in acp_styles [Bug #2188]
- allow inserting BBCode at the first position of the textarea [Bug #2078]
- allow the style name to be different than the style path

6045 View | Annotate 06/11/2006 01:11 AM naderman

- forgot to commit common.php
- cleaning up a few more mcp permissions
- adjust some links
- make global topics work properly in MCP

6018 View | Annotate 06/07/2006 12:10 PM acydburn

dumdidum

6015 View | Annotate 06/06/2006 10:53 PM acydburn

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.

5980 View | Annotate 05/28/2006 07:18 PM acydburn

hmm, still not giving the expected results

5978 View | Annotate 05/28/2006 06:00 PM acydburn

- 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.

5883 View | Annotate 05/05/2006 07:56 PM acydburn

- some adjustements for phpdocumentor

5882 View | Annotate 05/05/2006 02:28 PM acydburn

- 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

5878 View | Annotate 05/04/2006 06:00 PM acydburn

hmm, maybe i should not comment this statement, eh?

5877 View | Annotate 05/04/2006 05:49 PM acydburn

- 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

5860 View | Annotate 04/29/2006 03:31 PM acydburn

blah

5859 View | Annotate 04/29/2006 03:14 PM acydburn

reverting changes to the installer
do not introduce a function we never call outside of common.php

5855 View | Annotate 04/28/2006 02:49 PM acydburn

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

5852 View | Annotate 04/26/2006 11:29 PM naderman

oops

5849 View | Annotate 04/26/2006 08:22 PM naderman

- safer globals deregistration

5824 View | Annotate 04/22/2006 06:18 PM acydburn

- 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

5813 View | Annotate 04/21/2006 10:42 PM grahamje

Porting the random number generator code over
Fingers crossed that this doesn’t break anything…. ;-)

5654 View | Annotate 03/18/2006 05:39 PM grahamje

Replacing the first part of the installer ready for some testing
This will bounce you back to the previous installer part way through

5608 View | Annotate 03/07/2006 12:45 AM davidmj

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

5423 View | Annotate 01/04/2006 08:51 AM acydburn

- 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)
- used the new option for testing in ucp front

5246 View | Annotate 10/02/2005 08:43 PM acydburn

- use the changes. ;)

5193 View | Annotate 08/17/2005 05:57 PM acydburn

- changed dbal class layout

5176 View | Annotate 07/04/2005 07:52 PM psotfx

Wanted … someone who can commit updates without screwing up, will pay top dollar.

5175 View | Annotate 07/04/2005 06:54 PM psotfx

Session key implementation.

5136 View | Annotate 04/30/2005 04:28 PM acydburn

- new queue invocation method

5114 View | Annotate 04/09/2005 02:26 PM acydburn

- 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)

5108 View | Annotate 03/21/2005 11:43 PM acydburn

- first try to break things…

5063 View | Annotate 01/15/2005 07:49 PM acydburn

- bugfixes
- do not hardcode url bbcode tag (please change the bitfield accordingly – see schema file!)

5032 View | Annotate 12/12/2004 03:07 PM acydburn

- fix attachment mod errors
- make upload path consistent with all other 2.2 path settings
- fix “post title wrong after split” bug

5031 View | Annotate 11/30/2004 12:05 PM psotfx

Add warning notice

5024 View | Annotate 11/06/2004 03:24 PM acydburn

- minor fixes

4984 View | Annotate 09/16/2004 08:33 PM acydburn

- 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)
- code optimizations (use of strpos, sizeof, loops not iterating functions on every call, memory savings…)
- and last but not least - hopefully not introduced more bugs than healthy (cough)

4970 View | Annotate 09/01/2004 05:47 PM psotfx

This is a mass commit … expect trouble! Changes made here are primarily to how login is handled, schema changes necessary!

4950 View | Annotate 08/02/2004 04:32 PM psotfx

Rejiggle “board disabled” system to allow admin/mods access, eliminate duplication and “fudges” ... hopefully I’ve not overlooked something fundamental …

4912 View | Annotate 06/06/2004 11:44 PM acydburn

- added folder_moved image
- new feature: bookmark topics
- fixed post details link
- added confirmation screen to cookie deletion

4904 View | Annotate 05/31/2004 08:00 PM acydburn

- added delete cookies link
- fixed global announcement links in viewforum
- do not display redirects in link forums as posts in forum overview

4883 View | Annotate 05/02/2004 03:06 PM acydburn

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)

4827 View | Annotate 02/11/2004 07:28 PM psotfx

Profile, prefs, feedback

4819 View | Annotate 02/08/2004 07:02 PM acydburn

inline attachment capability…

4814 View | Annotate 02/08/2004 04:18 PM psotfx

Custom profile data table define

4790 View | Annotate 02/03/2004 03:14 PM psotfx

Addslash function no longer needed with request_var processing

4777 View | Annotate 02/01/2004 10:45 PM acydburn

send mass mail immediatly
mail priority setting added
log session (see Note)

4740 View | Annotate 01/10/2004 01:23 PM acydburn

custom profile fields.
Not finished, committed to let us discuss about the next steps
-> BartVB

4685 View | Annotate 11/27/2003 12:54 AM ludovic_arnaud

ACM garbage collection

4682 View | Annotate 11/23/2003 11:25 PM acydburn

my attempt to break things…

4668 View | Annotate 11/16/2003 10:53 PM acydburn

Finished drafts, one bit is remaining though.
added file and disk space statistics.
some minor changes here and there.

4647 View | Annotate 11/05/2003 07:51 PM psotfx

users_notes table

4637 View | Annotate 11/04/2003 11:05 PM acydburn

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).

4614 View | Annotate 10/19/2003 05:36 PM acydburn

bump topic and orphan attachments
changes here and there…

4603 View | Annotate 10/15/2003 07:43 PM psotfx

Remove need for session_ids for “allowed” bots, dump user_founder/user_active in favour of user_type, new user_type, USER_IGNORE

4593 View | Annotate 10/13/2003 01:34 AM psotfx

well, seems putting the queue process in the footer doesn’t work on “real boards” where people hit stop constantly on their browser :D

4578 View | Annotate 10/12/2003 01:59 PM psotfx

Let’s break lots of things

4522 View | Annotate 10/01/2003 07:24 PM psotfx

Change in format of module db data, add zebra, many things probably “damaged goods” for now … don’t panic Mr. Mainwaring, don’t panic

4473 View | Annotate 09/07/2003 03:46 PM psotfx

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

4467 View | Annotate 09/04/2003 08:30 PM acydburn

initial draft functionality, loading (and a bunch of other stuff) is not implemented yet + bugfixes.

4441 View | Annotate 08/27/2003 06:32 PM psotfx

Various bits and pieces … this isn’t really what I wanted M-2 to look like but hum ho

4427 View | Annotate 08/23/2003 11:51 PM ludovic_arnaud

More paranoia

4400 View | Annotate 08/13/2003 06:56 PM acydburn

bye bye forbidden extensions… we have a deny,allow rule for extensions, forbidden extensions are therefore a little bit redundant.

4379 View | Annotate 08/11/2003 11:45 PM ludovic_arnaud

Taken out the $db var from acm classes for consistency with other classes

4368 View | Annotate 08/10/2003 09:46 PM ludovic_arnaud

Added support for db-based caching… for people who like to store data in databases.

4346 View | Annotate 08/06/2003 08:33 PM psotfx

oops, that’s not quite right

4345 View | Annotate 08/06/2003 08:29 PM psotfx

Guess this may come in handy

4210 View | Annotate 07/06/2003 08:48 PM acydburn

merged log tables, added new log_type (critical).
changed email class a little bit.
bug fixed the queue a little bit.

4167 View | Annotate 06/23/2003 04:00 PM psotfx

Global announcements … sort of work … well they seem to, need to look at possbility of splitting topics table in two

4164 View | Annotate 06/21/2003 05:14 PM psotfx

Add install/ warning for future use

4120 View | Annotate 06/13/2003 06:45 PM acydburn

deleting the constructor means refining the init call. ;)

4068 View | Annotate 05/30/2003 08:37 AM acydburn

moved the queue call, added interval. The current lock is very “fluent” at the moment. ;)

4062 View | Annotate 05/27/2003 01:53 AM psotfx

Majority are UCP related updates … avatars should now work, aside from gallery, fixed a few other issues, updated schema/basic

4005 View | Annotate 05/11/2003 06:21 PM acydburn

a few updates, added #539865 and #694413.

3989 View | Annotate 05/08/2003 03:14 AM psotfx

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

3961 View | Annotate 05/02/2003 05:50 PM psotfx

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

3953 View | Annotate 04/26/2003 03:17 AM psotfx

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

3935 View | Annotate 04/23/2003 11:48 PM ludovic_arnaud

Changed: only cache non-dynamic config settings

3932 View | Annotate 04/23/2003 10:50 PM acydburn

replaced \’ with ’ in template to let it parse javascript correctly. admin_attachments.php changes. added real media streaming.

3926 View | Annotate 04/22/2003 09:44 PM acydburn

first version of attachment admin panel + some fixes (i hope i do not screw someones code with this, my appologies)

3836 View | Annotate 04/15/2003 07:34 PM psotfx

Change ACL_UNSET constant value

3819 View | Annotate 04/12/2003 10:01 PM psotfx

Rename ACL_ constants

3816 View | Annotate 04/11/2003 09:51 PM acydburn

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. ;))

3811 View | Annotate 04/11/2003 02:02 AM ludovic_arnaud

Moved BBCODE_UID_LEN to common.php

3746 View | Annotate 03/29/2003 07:25 PM psotfx

Moved acl_options caching code into acl

3714 View | Annotate 03/25/2003 01:23 AM psotfx

hhmm, where did that constant go …

3697 View | Annotate 03/22/2003 04:48 PM acydburn

initial attachment functionality… only posting related (add/delete/edit) and schema. Also added attachment switch to board settings admin.

3676 View | Annotate 03/19/2003 02:44 AM ludovic_arnaud

Desesperatly trying to synchronise my different versions ;)

3671 View | Annotate 03/18/2003 11:24 PM psotfx

Line feeds

3657 View | Annotate 03/17/2003 11:54 AM psotfx

Moved db include

3601 View | Annotate 03/06/2003 02:13 AM ludovic_arnaud

Implementing post reporting

3360 View | Annotate 01/22/2003 09:44 PM ludovic_arnaud

Re-enabled fully dynamic config settings.

3344 View | Annotate 01/21/2003 04:01 PM psotfx

Remove or rename some table definitions

3341 View | Annotate 01/21/2003 03:33 PM psotfx

Re-jiggle where acl_option caching is done, move to common in-keeping with config

3338 View | Annotate 01/20/2003 06:12 AM ludovic_arnaud

Un-b0rked ACL options caching, small general fixes

3315 View | Annotate 01/13/2003 05:25 AM ludovic_arnaud

EOL should be fixed now

3312 View | Annotate 01/11/2003 11:56 PM ludovic_arnaud

Implementation of an experimental cache manager.

3309 View | Annotate 01/11/2003 02:37 AM psotfx

oops, seems I forgot to commit this :)

3102 View | Annotate 11/27/2002 02:24 PM bartvb

Initial Lastread support. Mind the schema and config changes\!

3060 View | Annotate 11/18/2002 07:56 PM psotfx

Cache moderator names?

3021 View | Annotate 11/09/2002 01:45 AM psotfx

Give the special groups a special constant …to make them feel, well, special.

3018 View | Annotate 11/08/2002 04:33 AM ludovic_arnaud

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.

2983 View | Annotate 10/30/2002 01:57 AM psotfx

Changed $board_config to $config, more posting “stuff”, altered polling code in viewtopic and loads of new problems, poor coding, etc. created :)

2970 View | Annotate 10/26/2002 02:36 PM psotfx

Preliminary ‘freeze’ on permissions awaiting developer feedback, testing, etc. Caching of non-dynmaic config and acl option elements.

2958 View | Annotate 10/20/2002 09:19 PM psotfx

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

2954 View | Annotate 10/17/2002 04:50 AM ludovic_arnaud

Random bugfixes, (hopefully) improved admin panel security.

2923 View | Annotate 10/04/2002 03:09 PM psotfx

Well, here are all my changes … don’t blame me if things break :D

2889 View | Annotate 09/15/2002 07:21 PM ludovic_arnaud

Cleanups

2882 View | Annotate 08/22/2002 11:40 PM psotfx

Instantiate template and set template path from seperate method

2865 View | Annotate 08/16/2002 07:50 PM psotfx

Anonymous takes user_id = 0 … hopefully this will not cause problems on the various supported DB’s …

2853 View | Annotate 08/15/2002 05:45 PM psotfx

More session changes to accomodate ACL_PERMIT/PREVENT …

2849 View | Annotate 08/13/2002 06:34 PM psotfx

More changes … switched away from prefetch for now …

2816 View | Annotate 08/04/2002 01:52 AM psotfx

Various updates

2776 View | Annotate 07/28/2002 09:41 PM psotfx

extra constant

2673 View | Annotate 07/14/2002 04:45 PM psotfx

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

2560 View | Annotate 05/09/2002 04:08 PM psotfx

IP related updates

2536 View | Annotate 04/21/2002 12:56 AM psotfx

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 :)

2532 View | Annotate 04/20/2002 02:22 AM psotfx

merged from 2.0.0 branch (marked merge_point_20020420) + assorted updates and trial stuff for example session alterations

2327 View | Annotate 03/19/2002 12:45 AM psotfx

Allow global_var off for REMOTE_ADDR

2314 View | Annotate 03/18/2002 04:43 PM psotfx

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

2183 View | Annotate 02/18/2002 01:34 PM psotfx

Somewhat overhauled posting, fixed various bugs, completed new way of handling URIs in emails, blah blah

2182 View | Annotate 02/18/2002 09:57 AM bartvb

Now the code is fixed for real :D Not smart to use config info before it’s read

2181 View | Annotate 02/18/2002 08:35 AM bartvb

Fixed some problems with last checkin ( for Email links etc)

2178 View | Annotate 02/17/2002 06:02 PM bartvb

Cleaned up stuff (for Email)

1566 View | Annotate 12/14/2001 03:41 AM psotfx

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

1537 View | Annotate 12/10/2001 03:01 AM psotfx

Updated IP stuff

1511 View | Annotate 12/05/2001 01:20 AM psotfx

New session code, probably still dodgy, fix for login failed message, search updates, highlighting URI messup fixes, max limit for ranks

1452 View | Annotate 11/26/2001 01:09 PM bartvb

Implemented Navigation bar in Mozilla

1220 View | Annotate 10/16/2001 01:12 PM psotfx

Topic review changes + updates

1144 View | Annotate 10/10/2001 01:28 AM psotfx

A few tweaks to install

1083 View | Annotate 09/25/2001 08:18 PM psotfx

Updated and fixed various issues, see post in developers forum for info

1061 View | Annotate 09/18/2001 03:24 AM psotfx

Various changes to notification, editing, etc. etc.

1054 View | Annotate 09/17/2001 09:30 PM psotfx

Should fix any remaining chance of bug #462318 … should

1016 View | Annotate 09/09/2001 02:40 PM bartvb

Removed some trailing newlines

1010 View | Annotate 09/08/2001 08:24 PM bartvb

Altered layout of phpbb_config table

987 View | Annotate 09/06/2001 02:29 AM psotfx

Numerous updates and additions for polling and assorted fixes … or bugs, whichever they turn out to be

943 View | Annotate 08/31/2001 12:20 AM thefinn

Re-added GPL disclaimers

932 View |