aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_database.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14789] Remove obsolete check_form_key() and add missing hashesMarc Alexander2016-09-301-5/+0
| | | | PHPBB3-14789
* [ticket/14789] Move form key checks to where they actually do somethingMarc Alexander2016-09-301-5/+10
| | | | PHPBB3-14789
* [ticket/14789] Add link hashes and form tokens to all acp links/buttonsMarc Alexander2016-09-181-0/+8
| | | | | | | | | | | This will further harden the ACP security by adding link hashes to links and form tokens to forms that did not have these yet and result in modified settings or write action on the filesystem or database. These few links and forms were still relying on the global ACP protection, mainly due to them not posing further risks of compromising data. After this change these will now also be properly protected against tampering. PHPBB3-14789
* [ticket/13930] Add missing spaces to codeMarc Alexander2015-06-081-1/+1
| | | | PHPBB3-13930
* [ticket/13819] Add missing sql_freeresult() to files in includes/Marc Alexander2015-05-051-0/+1
| | | | PHPBB3-13819
* [ticket/13045] Remove Pragma headersJakub Senko2014-09-171-2/+2
| | | | PHPBB3-13045
* [ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_extsTristan Darricau2014-06-261-14/+14
| | | | PHPBB3-12446
* [ticket/12747] Drop support for FirebirdJoas Schilling2014-06-201-248/+0
| | | | PHPBB3-12747
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-30/+7
| | | | PHPBB3-12594
* [feature/sqlite3] Remove unneeded ORDER BY type from sqlite_master queriesJoas Schilling2014-05-021-1/+1
| | | | PHPBB3-9728
* [feature/sqlite3] Add support for SQLite 3Patrick Webster2014-05-021-0/+112
| | | | | | | Minimum version requirement is 3.6.15 as that's what ships with PHP 5.3.0 when support for SQLite 3 was added. PHPBB3-9728
* [ticket/12458] Apply Squiz.WhiteSpace.SuperfluousWhitespace.* to legacy code.Andreas Fischer2014-04-291-2/+0
| | | | | | | | | * There MUST NOT be trailing whitespace at the end of lines. * There MUST NOT be whitespace before the first content of a file. * There MUST NOT be whitespace after the last content of a file. * Functions MUST NOT contain multiple empty lines in a row. PHPBB3-12458
* [ticket/11990] Remove result_mssqlnative usage in acp_database.phpPatrick Webster2013-11-031-8/+9
| | | | | | | | | | | The class result_mssqlnative was removed in ticket 11980. This removes the dependency on that class from the database backup utility. It is possible to use the sqlsrv functions to retrieve the field information, but they must be then mapped back to type names. That mapping was removed in 11980 and it is easier to just look it up in the information schema table. PHPBB3-11990
* [ticket/11981] Fix code sniffer complaintsMarc Alexander2013-10-281-7/+7
| | | | PHPBB3-11981
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-1/+1
| | | | PHPBB3-11700
* [ticket/11696] Rename db_tools.php so it can be autoloadedJoas Schilling2013-07-141-4/+0
| | | | PHPBB3-11696
* Merge branch 'develop-olympus' into developNils Adermann2012-05-311-3/+9
|\ | | | | | | | | | | | | | | | | By Andreas Fischer via Andreas Fischer (1) and Nils Adermann (1) * develop-olympus: [ticket/10611] Filter out not existing database tables when making a backup. [ticket/10611] Use phpbb_db_tools::sql_list_tables() instead of get_tables(). [ticket/10611] Generate db_tools instance in acp_database module.
| * [ticket/10611] Filter out not existing database tables when making a backup.Andreas Fischer2012-05-301-1/+1
| | | | | | | | | | | | | | Using $this->db_tools->sql_list_tables() as the first argument gives us table names as array keys as a by-product which might be useful at some point. PHPBB3-10611
| * [ticket/10611] Use phpbb_db_tools::sql_list_tables() instead of get_tables().Andreas Fischer2012-05-301-2/+1
| | | | | | | | | | | | | | | | get_tables() was deprecated by phpbb_db_tools::sql_list_tables() This prevents unnecessarily loading functions_install.php PHPBB3-10611
| * [ticket/10611] Generate db_tools instance in acp_database module.Andreas Fischer2012-05-301-0/+7
| | | | | | | | PHPBB3-10611
* | [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | | | | | PHPBB3-9916
* | Merge branch 'develop-olympus' into developOleg Pudeyev2011-11-191-3/+6
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/10239] Correct undefined variable error. [ticket/10239] Add confirm box to backup restore.
| * [ticket/10239] Correct undefined variable error.Chris Smith2011-11-181-2/+1
| | | | | | | | PHPBB3-10239
| * [ticket/10239] Add confirm box to backup restore.Chris Smith2011-09-211-1/+5
| | | | | | | | PHPBB3-10239
* | [feature/request-class] Add server(), header() and is_ajax() to requestIgor Wiedler2011-07-151-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | Extend the request class with helpers for reading server vars (server()) and HTTP request headers (header()). Refactor the existing code base to make use of these helpers, make $_SERVER a deactivated super global. Also introduce an is_ajax() method, which checks the X-Requested-With header for the value 'XMLHttpRequest', which is sent by JavaScript libraries, such as jQuery. PHPBB3-9716
* | [ticket/9574] Remove conditional PHP<5.2 codeIgor Wiedler2010-12-281-36/+1
| | | | | | | | | | | | | | There is a large amount of conditional code for PHP < 5.2 that can be removed with phpBB 3.1. PHPBB3-9574
* | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
|/ | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* [ticket/9686] Fix mssqlnative database data exportNils Adermann2010-10-251-23/+31
| | | | | | | | | We require version 1.1 of the sqlsrv extension anyway so the regular sqlsrv_num_rows can be used instead of buffering the result. The result buffer (class result_mssqlnative) should never automatically free the resource it receives - we consistently close resources using sql_freeresult(). PHPBB3-9686
* [ticket/9582] MSSQL native backups can now be restored.Chris Smith2010-05-031-0/+1
| | | | | PHPBB3-9583 PHPBB3-9582
* Support for Microsoft's Native SQL Server Driver for PHP - Patch by Chris ↵Nils Adermann2010-02-111-0/+102
| | | | | | | | | | | | | Pucci at Microsoft [Bug #57055] If you are using SQL Server, please try to test this new dbal so we can safely include it in 3.0.8. If you want to try it on a current phpBB version you can apply the latest version of the patch to your board which you can find attached to the bug tracker ticket (look in the comments for the latest version, the one in the ticket itself is outdated): http://www.phpbb.com/bugs/phpbb3/ticket.php?ticket_id=57055 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10489 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix Bug #57385Andreas Fischer2010-02-061-2/+2
| | | | | | | | Correctly sort database backup file list by date on database restore page. Take admin's time zone settings into account when listing database backup files. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10478 89ea8834-ac86-4346-8a33-228a782c2dd0
* Ok, the oracle database backup never actually worked at all. We used the ↵Meik Sievertsen2009-09-211-17/+46
| | | | | | | | wrong delimiter, did not preserve correct sequence order, did not merge primary keys and uniques... i think no one ever tried to actually restore an oracle backup. Fix all of this. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10174 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix Bug #48955 - Correctly extract column default value when exporting ↵Andreas Fischer2009-08-051-3/+4
| | | | | | PostgreSQL tables. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9928 89ea8834-ac86-4346-8a33-228a782c2dd0
* Small change to r9765, Bug #47495Andreas Fischer2009-07-171-3/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9773 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix bug #47495 - Move hardcoded language string to language file.Andreas Fischer2009-07-171-1/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9765 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix Oracle database backup (Bug #46715)Meik Sievertsen2009-06-161-2/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9598 89ea8834-ac86-4346-8a33-228a782c2dd0
* Prevent incomplete backups stored if option &quot;store and download&quot; ↵Meik Sievertsen2009-03-301-0/+2
| | | | | | is selected and admin cancel download by removing the option. (Bug #20325) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9417 89ea8834-ac86-4346-8a33-228a782c2dd0
* Sort backups by date, newest first (Bug #14818)Meik Sievertsen2009-03-301-42/+52
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9416 89ea8834-ac86-4346-8a33-228a782c2dd0
* Ok, story real database server info, as well as caching itMeik Sievertsen2008-09-041-1/+1
| | | | | | Store it on installation too - allows us to check the db version used on installation and used currently to warn the user about incompatibilities git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8814 89ea8834-ac86-4346-8a33-228a782c2dd0
* hmmMeik Sievertsen2008-06-111-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8647 89ea8834-ac86-4346-8a33-228a782c2dd0
* #24245Meik Sievertsen2008-04-211-2/+6
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8525 89ea8834-ac86-4346-8a33-228a782c2dd0
* #22385David M2008-04-201-4/+23
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8511 89ea8834-ac86-4346-8a33-228a782c2dd0
* #22385 - David told me to ci thisHenry Sudhof2008-03-261-0/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8472 89ea8834-ac86-4346-8a33-228a782c2dd0
* dumdidum... sorry. ;)Meik Sievertsen2007-10-051-8/+16
| | | | git-svn-id: file:///svn/phpbb/trunk@8147 89ea8834-ac86-4346-8a33-228a782c2dd0
* #13463David M2007-07-161-3/+3
| | | | | | | - tiny issue with get_tables() git-svn-id: file:///svn/phpbb/trunk@7893 89ea8834-ac86-4346-8a33-228a782c2dd0
* #10785David M2007-05-111-0/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7531 89ea8834-ac86-4346-8a33-228a782c2dd0
* #10715David M2007-05-111-21/+21
| | | | git-svn-id: file:///svn/phpbb/trunk@7530 89ea8834-ac86-4346-8a33-228a782c2dd0
* I *knew* I forgot something :PDavid M2007-05-051-112/+114
| | | | git-svn-id: file:///svn/phpbb/trunk@7479 89ea8834-ac86-4346-8a33-228a782c2dd0
* #10495David M2007-05-051-2/+9
| | | | git-svn-id: file:///svn/phpbb/trunk@7472 89ea8834-ac86-4346-8a33-228a782c2dd0
* #9662David M2007-04-071-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7293 89ea8834-ac86-4346-8a33-228a782c2dd0