Commit Graph

280 Commits

Author SHA1 Message Date
Dieter Adriaenssens
65fcab4122 Merge branch 'QA_3_3' 2010-11-14 21:08:28 +01:00
Dieter Adriaenssens
63aec5b328 bug #1762306, Copy database with view of a view 2010-11-14 21:03:13 +01:00
Dieter Adriaenssens
57c5abf579 Merge branch 'QA_3_3' 2010-11-14 18:28:10 +01:00
Dieter Adriaenssens
8277c92e25 bug #3077463, Events were not copied when copying/renaming database 2010-11-14 18:27:10 +01:00
Dieter Adriaenssens
1fe6e59d73 Merge branch 'QA_3_3' 2010-09-28 20:07:00 +02:00
Dieter Adriaenssens
c0d1c7a2ae export/copy procedures and routines before tables 2010-09-28 19:37:03 +02:00
Marc Delisle
ddc99a3dee renaming mysql db does not make sense 2010-09-26 07:39:37 -04:00
Marc Delisle
98a5ba7317 misleading variable name 2010-09-04 07:01:30 -04:00
Michal Čihař
d17fba309c Fix permissions.
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
9c34a0eec9 Merged branch official/master. Resolved merge conflicts introduced due to merging of Piotr and Martynas's branches 2010-08-28 01:53:52 +05:30
Michal Čihař
ada2a9e80f Better title for edit/export link. 2010-08-23 11:27:51 +02:00
Michal Čihař
f84659efcb Better file name for schema edit page. 2010-08-23 10:55:19 +02:00
Adnan
03d37b45f1 Removing previous schema generation code which was duplicating 2010-08-17 15:23:06 +05:00
ninadsp
6a3d0a7f58 Added documentation, fixed some minor bugs/typos 2010-08-13 23:34:10 +05:30
Adnan
bdf033115b Merge remote branch 'origin/master' into export_branch 2010-08-02 10:46:50 +05:00
ninadsp
a2f78a6d38 Resolve merge conflicts for upstream merge 2010-07-29 19:17:25 +05:30
Michal Čihař
1c17bfc121 Add drop link to the database operations tab. 2010-07-27 09:41:21 +02:00
Michal Čihař
cfc7fd7a2d The linked-tables infrastructure is now called phpMyAdmin configuration storage. 2010-07-26 17:16:55 +02:00
Michal Čihař
3910ce6121 Remove explicit inclusion of Table.class.php as it is included in common.inc anyway. 2010-07-26 16:35:52 +02:00
Michal Čihař
d291827444 No need to require_once footer
It is the last thing executed anyway (ends with exit).
2010-07-26 16:20:24 +02:00
Michal Čihař
ee767e2d3d No need to explicitely include relation.lib its anyway included in common.inc 2010-07-26 16:17:59 +02:00
ninadsp
e646a2760c Fixed conflict due to upstream merge 2010-07-23 21:59:15 +05:30
Leslie
b6349cd626 Removed unused code from db_operations.php. Changed blobstreaming.lib.php so that it check to see if blob streaming is enabled before doing anything and also uses an indirect method to create the 'pbms' database if it doesn't exist. 2010-07-22 11:23:48 -04:00
Barry Leslie
f8653e5803 Update blob streaming to match the current API and use the PBMS PHP extension. 2010-07-22 11:23:37 -04:00
Adnan
a7e3c0475c Merge Origin: Conflicts in js/functions.js 2010-07-22 16:03:50 +05:00
Michal Čihař
318dc4b650 Drop @version tag from docblocks. 2010-07-20 13:59:17 +02:00
ninadsp
5677d17722 Include the query too if we are in an ajax request. 2010-06-30 01:16:49 +05:30
ninadsp
a968b58d5c Now shows the sql query too when renaming a database. 2010-06-27 23:04:18 +05:30
Adnan
9befa3965e Schema Classes structure 2010-06-24 20:37:39 +05:00
Adnan
0e9f6247e4 Revert "schema classes structure"
This reverts commit 589eef3280.
2010-06-24 20:26:14 +05:00
Adnan
589eef3280 schema classes structure 2010-06-24 18:31:42 +05:00
ninadsp
c3d2d0fed4 Return the new name of the database in a rename, or the name of the
copied database, so that we can switch to the database if the user wants
to.
2010-06-23 10:50:54 +05:30
ninadsp
e9ffc7c5d5 Added id's for copy database and change database charset forms.
Hooked in the PMA_ajaxResponse function for change/copying a database
2010-06-21 01:51:44 +05:30
ninadsp
2986a7b1a0 Removed inline JavaScript calls to confirmLink for renaming the
database, added an id to the form and submit button
2010-06-15 14:58:48 +05:30
ninadsp
160f4314eb Merge remote branch 'origin/master' 2010-06-03 22:34:52 +05:30
Michal Čihař
5a3ebdec93 Place link into fieldset to have consistent look with other pages. 2010-05-31 14:25:58 +02:00
Michal Čihař
168824b38f Standard look to all forms on database properties page. 2010-05-31 14:17:50 +02:00
Michal Čihař
c6a28b42e6 Single place to define PDF schema form. 2010-05-31 14:05:41 +02:00
ninadsp
38ac78e3ba merging changes from origin 2010-05-24 18:32:42 +05:30
Marc Delisle
b4598190d0 style is already in theme CSS 2010-05-23 08:44:58 -04:00
ninadsp
bed1948d04 testing git setup - no major change made in code yet
only added a few comments
2010-05-23 01:22:01 +05:30
Marc Delisle
632211d065 gettext conversion 2010-05-09 16:24:32 -04:00
Marc Delisle
f55823f47f strings to gettext, first batch 2010-05-03 12:57:46 -04:00
Marc Delisle
87dd6b3cee Merge branch 'QA_3_3' 2010-03-12 17:16:58 -05:00
Dieter Adriaenssens
7c818d046a patch #2969449 Name for MERGE engine varies depending on the MySQL version 2010-03-12 17:16:05 -05:00
Michal Čihař
94c2f864ae [core] Remove config data from session as it brings chicken-egg problem.
Configuration data stores PmaAbsoluteUri, which should be accessible
before initiating session. Otherwise there is no way to make
PmaAbsoluteUri work. PmaAbsoluteUri is needed at least for reverse
proxy setups, for example http webserver running behind https proxy.
2010-01-21 11:18:18 +00:00
Herman van Rink
1ad5d85666 bug #2926613 [edit] Copy database shows errors when DB has foreign key 2010-01-20 08:00:47 +00:00
Herman van Rink
8cae0a1d0f bug #2926613 [edit] Copy database shows errors when DB has foreign key 2010-01-20 08:00:47 +00:00
Marc Delisle
c67ceaa83b unwanted side effect of tracking when renaming a database 2010-01-01 22:57:34 +00:00
Marc Delisle
f92038b022 unwanted side effect of tracking when renaming a database 2010-01-01 22:57:34 +00:00
Marc Delisle
4e4e40188f bug #2924357 [operations] Cannot rename a database that has foreign key constraints 2010-01-01 22:41:29 +00:00
Marc Delisle
d3892fdbff bug #2924357 [operations] Cannot rename a database that has foreign key constraints 2010-01-01 22:41:29 +00:00
Marc Delisle
526dce65cb 3.3 2009-12-31 13:11:19 +00:00
Marc Delisle
f3833884e4 3.3 2009-12-31 13:09:18 +00:00
Marc Delisle
8ec5434999 [security] XSS and SQL injection 2009-10-12 21:47:40 +00:00
Marc Delisle
b296a5fa31 no longer to do 2009-09-29 11:40:10 +00:00
Marc Delisle
2227f1c4c3 bug #2852370 [operations] Renaming database deletes triggers 2009-09-27 13:23:07 +00:00
Marc Delisle
2751a8c000 unneeded messages 2009-09-07 12:24:19 +00:00
Marc Delisle
e67f4cbc54 clarify function name 2009-06-24 11:34:56 +00:00
Marc Delisle
8480ffb665 improve function names 2009-06-07 11:09:13 +00:00
Michal Čihař
4884179e63 rfe #1688975 [display] enable copying of auto increment by default 2008-11-28 12:47:41 +00:00
Michal Čihař
ebeb0c319f Adding @package, first part. 2008-11-24 10:32:56 +00:00
Michal Čihař
37315b0c79 Document some require/includes as phpdoc otherwise takes random block before to document it. 2008-11-24 10:02:56 +00:00
Marc Delisle
b9793ab02c patch #2122883 [PDF schema] Option to display just the keys 2008-09-29 17:03:02 +00:00
Marc Delisle
e77938bb20 BLOBstreaming support (Google Summer of Code 2008, Raj Kissu Rajandran) -- work in progress 2008-08-20 17:04:37 +00:00
Sebastian Mendel
fa21fe3ea5 make the database list more magic:
load/fetch only if really required
use SPL ArrayObject to behave like an array
2008-05-09 10:41:16 +00:00
Marc Delisle
26abcac5e7 bug #1919808 [operations] Renaming a database fails to handle functions 2008-04-14 14:32:06 +00:00
Marc Delisle
4469b64e4e RENAME DATABASE removed in 5.1.23 2008-04-12 13:27:18 +00:00
Marc Delisle
d32b9ae46c bug #1862661 [GUI] Warn about rename deleting database 2008-01-07 18:07:08 +00:00
Marc Delisle
6d63f4bbd1 use PMA_generate_html_radio() 2007-12-29 21:06:30 +00:00
Marc Delisle
786a67f0e6 bug 1823224, no legend/icon for db comment 2007-11-01 16:36:52 +00:00
Sebastian Mendel
26599a4fe2 fixed call to PMA_Message::addParam() 2007-10-18 07:24:04 +00:00
Sebastian Mendel
9a510cabf3 make use of PMA_Message 2007-10-17 10:42:33 +00:00
Sebastian Mendel
68cad9ad8b bug #1814733 win: copy db to mixed name db fails
make use of PMA_Message
do not just exit (blank white page) in case of error when copying/moving tables
2007-10-17 07:38:31 +00:00
Sebastian Mendel
82d5c295c4 typo 2007-10-09 12:18:34 +00:00
Sebastian Mendel
ec7a30f4fd make use of new third 'class' parameter for PMA_showMessage() 2007-10-09 12:16:10 +00:00
Sebastian Mendel
640becedc4 make use of PMA_getDbComment() 2007-10-02 14:16:39 +00:00
Sebastian Mendel
e1fd395631 removed MySQL < 5 code 2007-10-02 09:53:43 +00:00
Marc Delisle
63d4e4ef69 bug #1774825 Rename database loses charset info 2007-09-10 17:08:32 +00:00
Marc Delisle
bcb341575a bug #1771239 Edit PDF Pages not working 2007-08-11 12:35:12 +00:00
Marc Delisle
aee689a5a2 bug #1755339 Warn about rename dataase actually being copy/delete 2007-07-19 15:34:02 +00:00
Sebastian Mendel
008734f8b0 do NEVER unset $table or $db;
no need to test for isset() on $db and $table;
always test with strlen() for valid $table or $db;
2007-03-30 09:12:05 +00:00
Sebastian Mendel
711eb76ce3 do not mess with $table 2007-03-30 08:42:41 +00:00
Sebastian Mendel
d0facc3d4f splitted common.lib.php into common.inc.php, core.lib.php and common.lib.php 2007-03-20 14:16:18 +00:00
Sebastian Mendel
374abd5173 fixed/added page level docblock 2007-03-20 10:32:13 +00:00
Sebastian Mendel
817e790762 synced/fixed vim line 2007-03-19 17:55:39 +00:00
Michal Čihař
fb9a3a598e Check before commit! 2006-11-17 08:49:30 +00:00
Michal Čihař
cac4247057 Rename db_* files to drop useless _details part. 2006-10-25 12:25:01 +00:00
Michal Čihař
39ac60384a Rename db_details_db_info.inc.php to db_info.inc.php. 2006-10-19 08:54:19 +00:00
Marc Delisle
9116db01b7 must rebuild the db list after a CREATE DATABASE 2006-10-18 13:17:28 +00:00
Marc Delisle
6e7eba3d5b bug #1567316, renaming a db containing a view 2006-10-18 13:03:57 +00:00
Sebastian Mendel
1eadc0a41a use @todo tag for todo items, to show up in generated documentation 2006-09-21 14:28:46 +00:00
Marc Delisle
4eae69b250 bug #1544779, undefined variable on db copy 2006-08-26 13:41:29 +00:00
Marc Delisle
6e861120db add a FIXME for db copy with Add Constraints and mysql extension 2006-08-08 16:56:47 +00:00
Marc Delisle
e79079b0c4 bug 1388048, constraints copied too early when copying a db 2006-07-04 16:46:09 +00:00
Marc Delisle
029a63a1f5 single-table copy did not copy the constraints 2006-07-04 15:53:41 +00:00
Marc Delisle
745e33bafd undefined variable table 2006-07-02 13:52:33 +00:00
Michal Čihař
04e666ff7c Adapt to changes in export. 2006-04-26 17:00:46 +00:00
Marc Delisle
f5bbe5f24d DROP VIEW choice also for a db copy operation 2006-03-25 11:45:23 +00:00
Marc Delisle
9c993cdacd bug #1401864, preparing for possible DROP VIEW clauses 2006-03-23 18:01:43 +00:00
Sebastian Mendel
f341c72fbe merged libraries\tbl_move_copy.php in class PMA_Table 2006-02-21 11:34:19 +00:00
Sebastian Mendel
0ae8842353 (not complete) PEAR coding standard 2006-01-17 17:03:02 +00:00
Sebastian Mendel
7358f5a712 allow 0 as name for database, table collumn, alias and index 2006-01-14 23:17:17 +00:00
Sebastian Mendel
16a71a194e added database name to relation querys 2005-12-17 17:36:58 +00:00
Michal Čihař
b61e1e99ad Fix XHTML. 2005-12-08 19:25:44 +00:00
Sebastian Mendel
917b7f0c49 db operations: revised (style, code, xhtml output) 2005-12-05 17:50:55 +00:00
Michal Čihař
6aeabf44d1 Move footer.inc.php, header.inc.php and header_printview.inc.php to libraries folder as it does not require direct access. 2005-11-24 09:12:17 +00:00
Michal Čihař
5fe9f0f259 Move db_details_{common,db_info,links}.php to libraries folder as it does not require direct access. 2005-11-24 08:42:20 +00:00
Sebastian Mendel
fcf387bc70 common.lib.php should REALLY REALLY and ALWAYS be the first include 2005-11-18 12:50:49 +00:00
Sebastian Mendel
a51f2533ea unified message boxes (error, warning, confirmation) 2005-10-26 17:32:19 +00:00
Sebastian Mendel
ac4d335c25 removed queryframe.php and references to it 2005-10-17 12:04:39 +00:00
Marc Delisle
863a6e24d4 bug #1307208, detect lack of permission for CREATE TABLE 2005-09-30 19:22:11 +00:00
Michal Čihař
ea707775d2 Fix auto increment export (bug #1309257). 2005-09-30 18:38:14 +00:00
Marc Delisle
064568ff4a those operations do not make sense on information_schema 2005-07-22 16:26:49 +00:00
Michal Čihař
d1027c518e Allow adding DROP TABLE when copying database (RFE #1235761). 2005-07-11 13:12:44 +00:00
Michal Čihař
9216ba0729 Show better error messages when checking numerical inputs (bug #1207402). 2005-07-10 20:35:58 +00:00
Marc Delisle
9b1abcc555 bug #1230224, db rename and old pmadb information 2005-07-02 12:15:59 +00:00
Alexander M. Turek
c5a7c6662c Cleaning up Marc's code 2005-06-24 11:38:00 +00:00
Marc Delisle
e69122d0e6 rename db problem 2005-06-24 11:29:22 +00:00
Marc Delisle
18a96d81d4 bug #1221359, Copying a db containing a MERGE table 2005-06-18 13:06:42 +00:00
Marc Delisle
f899389dc2 bug #1215688, Copying database does not preserve default charset and collation 2005-06-12 10:04:32 +00:00
Marc Delisle
51b4118923 CreateDatabaseBeforeCopying 2005-06-04 13:29:44 +00:00
Marc Delisle
36099ecac3 bug #1170227, copying a db does not refresh the queryframe 2005-05-30 00:05:22 +00:00
Marc Delisle
1fe0f5c006 bug #1192468, bookmarks copied too many times 2005-04-30 12:02:43 +00:00
Marc Delisle
d8962c1da1 db comments broken 2005-03-09 15:36:49 +00:00
Michal Čihař
a9aedbe951 Unified cookie path handling, added / to end of path (bug #1155373). 2005-03-06 21:10:53 +00:00
Michal Čihař
f812811927 We switch to database here. not table. 2004-10-22 09:42:03 +00:00
Michal Čihař
4892148d1d Duplicate create new table dialog (see RFE #808029). 2004-10-21 15:43:23 +00:00
Michal Čihař
1293dc1a24 Implemented database copying (RFE #996730), this forced separating code for copying tables. 2004-10-20 17:29:18 +00:00
Michal Čihař
f91d9b9b64 Separate operations from structure (RFE #808029). 2004-10-20 16:26:43 +00:00