aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
Commit message (Collapse)AuthorAgeFilesLines
...
| * | [ticket/9629] Allow style.php to retrieve its session ID from cookiesJosh Woody2010-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | style.php takes a session ID to ensure it gets the right language for a user, but that session ID is always passed in GET. This allows change allows the SID to be read from the cookie, and theoretically makes it friendlier for caching engines like Varnish. PHPBB3-9629
* | | [feature/auto-loading] Added autoloader to common and ensured compatabilityNils Adermann2010-07-051-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autoloader is registered in install without caching, since caching is set up during installation. This provides the same functionality, performance is not a concern during installation anyway. In common.php the autoloader is instantiated after the cache is initialised and is started with the standard cache backend used for other cached values. A few places in the code using class_exists had to be updated to explicitly avoid autoloading, since they are used to check whether a file needs to be included which does not (yet) follow the naming scheme the autoloader follows. PHPBB3-9682
* | Merge branch 'ticket/rxu/9606' into develop-olympusAndreas Fischer2010-06-171-3/+4
|\ \ | | | | | | | | | | | | * ticket/rxu/9606: [ticket/9606] Optimize unread search option.
| * | [ticket/9606] Optimize unread search option.rxu2010-05-171-3/+4
| |/ | | | | | | | | | | Get rid of redundant SQL query in search.php that should increase performance slightly. PHPBB3-9606
* | [ticket/7782] Return 404 HTTP status code for nonexistent attachments.Oleg Pudeyev2010-05-171-1/+1
| | | | | | | | PHPBB3-7782
* | [ticket/7782] Added spaces.Oleg Pudeyev2010-05-171-1/+1
| | | | | | | | PHPBB3-7782
* | [ticket/7782] Added phpdoc comment for send_status_line function.Oleg Pudeyev2010-05-161-0/+20
| | | | | | | | PHPBB3-7782
* | [ticket/7782] Send status line using refactored download/file.php logic.Oleg Pudeyev2010-05-161-1/+22
|/ | | | PHPBB3-7782
* Merge branch 'ticket/p/7782' into develop-olympusNils Adermann2010-05-161-0/+5
|\ | | | | | | | | * ticket/p/7782: [ticket/7782] Send 404 HTTP code when a nonexistent user/forum/topic is requested.
| * [ticket/7782] Send 404 HTTP code when a nonexistent user/forum/topic is ↵Oleg Pudeyev2010-05-161-0/+5
| | | | | | | | | | | | requested. PHPBB3-7782
* | Merge branch 'ticket/aptx/9525' into develop-olympusNils Adermann2010-05-161-1/+1
|\ \ | | | | | | | | | | | | * ticket/aptx/9525: [ticket/9524] IPv6 regex does not match all valid IPv6 addresses starting with ::
| * | [ticket/9524] IPv6 regex does not match all valid IPv6 addresses starting ↵Marek A. Ruszczyński2010-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | with :: :: can replace 1 or more groups (not 2 or more) PHPBB3-9524
* | | Merge branch 'ticket/bantu/9174' into develop-olympusNils Adermann2010-05-141-4/+1
|\ \ \ | | | | | | | | | | | | | | | | * ticket/bantu/9174: [ticket/9173] No longer limit scope of numbers we store in the config table on
| * | | [ticket/9173] No longer limit scope of numbers we store in the config table onAndreas Fischer2010-05-141-4/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | PostgreSQL and Firebird when using set_config_count(). Since we're using a VARCHAR(255) column to store the numbers we have to CAST the varchar string to a type we can do maths on. Using int4 or integer as the type however limits the scope to 4-byte-integer = 32-bit. Using DECIMAL(255, 0) allows the 'full' scope of decimals in varchar(255). PHPBB3-9173
* | | [ticket/9598] checkdnsrr() is now available on Windows with PHP 5.3 or ↵Andreas Fischer2010-05-141-11/+7
|/ / | | | | | | | | | | later. Change if block order to always call checkdnsrr() if the function is available. PHPBB3-9598
* | [bug/58465] The redirect hidden field is now XHTML conformU-H-PC\H2010-03-281-1/+1
| | | | | | | | The result of build_url was falsely un-entitized.
* | Merge branch 'bug/jellydoughnut/56965' into develop-olympusNils Adermann2010-03-261-42/+48
|\ \ | | | | | | | | | | | | * bug/jellydoughnut/56965: [bug/56965] Redirect fails with directory traversal
| * | [bug/56965] Redirect fails with directory traversalJosh Woody2010-03-221-42/+48
| |/ | | | | | | Correct invalid r10536 with a boolean flag. Note that this fix for the bug will not actually correct the redirects, it will only prevent phpBB from redirecting outside $phpbb_root_path when redirect()'s third argument is not provided.
* | [bug/58685] Correct spelling errors in append_sid() comments.Chris Smith2010-03-181-2/+2
| |
* | [bug/51555] proposed fix for bug #51555Igor Wiedler2010-03-061-1/+1
|/
* Bug #56965 - Allow redirect() to redirect across directories.Josh Woody2010-02-251-0/+13
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10536 89ea8834-ac86-4346-8a33-228a782c2dd0
* General errors can't be logged if there isn't a database connection, ↵Chris Smith2010-02-221-1/+1
| | | | | | introduced in r9924 #57975 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10518 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix Bug #57755 - Make user_email_hash() function independent from system's ↵Andreas Fischer2010-02-181-2/+2
| | | | | | architecture. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10499 89ea8834-ac86-4346-8a33-228a782c2dd0
* Bug #57345 - No longer return the character O in generated random strings ↵Andreas Fischer2010-02-071-1/+1
| | | | | | and passwords. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10480 89ea8834-ac86-4346-8a33-228a782c2dd0
* Trigger error right away if user has exceeded login attempts instead of ↵Andreas Fischer2010-01-201-0/+5
| | | | | | asking for the authentication data over and over again without accepting it even if it is correct. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10432 89ea8834-ac86-4346-8a33-228a782c2dd0
* [Feature] Ability to use HTTP authentication in ATOM feeds by passing the ↵Andreas Fischer2010-01-191-0/+97
| | | | | | GET parameter auth=http git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10430 89ea8834-ac86-4346-8a33-228a782c2dd0
* Integrate active topics feed. Some language adjustments and rearrangements.Andreas Fischer2009-12-271-1/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10382 89ea8834-ac86-4346-8a33-228a782c2dd0
* Add ability to disable overall (aka board-wide) feed.Andreas Fischer2009-12-221-0/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10363 89ea8834-ac86-4346-8a33-228a782c2dd0
* whitespacesHenry Sudhof2009-12-131-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10335 89ea8834-ac86-4346-8a33-228a782c2dd0
* #54145 - move redirect parameter back to POST to avoid mod_security triggersHenry Sudhof2009-12-131-1/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10332 89ea8834-ac86-4346-8a33-228a782c2dd0
* Restore user language choice to compiled stylesheets. Broken by r10008 #54035Chris Smith2009-12-111-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10319 89ea8834-ac86-4346-8a33-228a782c2dd0
* [Fix] Force full date for board online record date.Joas Schilling2009-11-141-6/+2
| | | | | | Authorised by: bantu git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10266 89ea8834-ac86-4346-8a33-228a782c2dd0
* remove unnecessary query parts... thanks to asinshesq for pointing it out.Meik Sievertsen2009-09-201-6/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10172 89ea8834-ac86-4346-8a33-228a782c2dd0
* move up the feed code because MODs often use this location which results in ↵Meik Sievertsen2009-09-161-10/+10
| | | | | | more unneccessary conflicts. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10149 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix login for passworded forums - Bug #51265Meik Sievertsen2009-09-151-0/+1
| | | | | | Was a regression from r10067 for Bug #50285 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10147 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix bug #51075 introduced in r10121.Andreas Fischer2009-09-101-2/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10129 89ea8834-ac86-4346-8a33-228a782c2dd0
* Further adjust unread tracking query, should work now for user last mark ↵Meik Sievertsen2009-09-081-6/+14
| | | | | | times less than forum/topic mark times. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10121 89ea8834-ac86-4346-8a33-228a782c2dd0
* Rename get_unread_topics_list() to get_unread_topics().Andreas Fischer2009-09-081-14/+16
| | | | | | | Cleanup: Remove some stuff we no longer need. Related to report #46765 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10120 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix retrieval of unread topics list. The old queries were too heavy, using ↵Meik Sievertsen2009-09-071-79/+25
| | | | | | temporary and filesort and actually only based on topics being retrieved before. Instead now use one query which is also a lot faster and yields the same results. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10118 89ea8834-ac86-4346-8a33-228a782c2dd0
* Adjustments to r10005: Use request_var() to get cookie data.Andreas Fischer2009-09-071-13/+10
| | | | | | | Some more adjustments to get_unread_topics_list() Related to report: #46765 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10113 89ea8834-ac86-4346-8a33-228a782c2dd0
* #50675 ; also don't reset the captcha on loginHenry Sudhof2009-09-031-2/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10094 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed bugs #43145, #44375, #44415 and #43045Jim Wigginton2009-09-021-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10088 89ea8834-ac86-4346-8a33-228a782c2dd0
* Save some calls here, since page_footer(true) gets called quite often.Andreas Fischer2009-09-011-7/+8
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10087 89ea8834-ac86-4346-8a33-228a782c2dd0
* Only embed cron.php if there is no cron lock present to reduce overhead. ↵Meik Sievertsen2009-09-011-0/+19
| | | | | | (Bug #45725 - Patch by TerryE) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10082 89ea8834-ac86-4346-8a33-228a782c2dd0
* Addition to r10060: Add function documentation.Andreas Fischer2009-08-311-1/+5
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10071 89ea8834-ac86-4346-8a33-228a782c2dd0
* Simplified login_box() and redirection after login. S_LOGIN_ACTION can now ↵Meik Sievertsen2009-08-301-16/+7
| | | | | | be used on every page. (Bug #50285) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10067 89ea8834-ac86-4346-8a33-228a782c2dd0
* Send service unavailable response code for E_USER_ERRORMeik Sievertsen2009-08-281-0/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10061 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix Bug #49195 - Queries on un-indexed column user_emailJoas Schilling2009-08-281-0/+8
| | | | | | | | Added function to generate email-hash. Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10060 89ea8834-ac86-4346-8a33-228a782c2dd0
* Change of r10055, which itself was:Meik Sievertsen2009-08-271-2/+0
| | | | | | | | Adjustement for r10050, related to Bug #50185 Instead of S_TAB_INDEX we now use a method suggested by nickvergessen - we simply DEFINE the tabindex for the captcha depending on where it is included. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10058 89ea8834-ac86-4346-8a33-228a782c2dd0
* One more unread posts search adjustment.Ruslan Uzdenov2009-08-251-7/+13
| | | | | | Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10057 89ea8834-ac86-4346-8a33-228a782c2dd0