Commit Graph

413 Commits

Author SHA1 Message Date
Martynas Mickevicius
d814efcfb6 added the chart in the profiling window 2010-06-15 20:13:34 +03: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
b05a903dc3 gettext conversion 2010-05-14 07:47:50 -04:00
Marc Delisle
632211d065 gettext conversion 2010-05-09 16:24:32 -04:00
Marc Delisle
2586524b03 gettext conversion; clarify code 2010-05-06 07:48:38 -04:00
Marc Delisle
17c9fb4d28 gettext conversion 2010-05-05 12:57:30 -04:00
Michal Čihař
c2de4dd8d9 Add full uncompressed version of jquery ui. 2010-04-15 09:34:52 +02:00
Marc Delisle
360101dbfb bug #2973949 SQL History broken (need to revert patch #2899969) 2010-04-04 17:30:36 -04:00
Marc Delisle
1f62ea1932 bug #2973949 SQL History broken (need to revert patch #2899969) 2010-04-04 17:21:48 -04:00
Michal Čihař
a2a0d9bb38 Avoid multiple loading of jQuery. 2010-04-01 17:19:37 +02:00
Michal Čihař
4dd524eaf1 Use ngettext for number of inserted rows. 2010-03-30 14:51:09 +02:00
Michal Čihař
44d5cb8548 Use ngettext for number of deleted rows. 2010-03-30 14:41:46 +02:00
Michal Čihař
9e345b4ab8 Use ngettext for number of affected rows. 2010-03-30 14:32:06 +02:00
Marc Delisle
9785bbc561 remove author names 2010-03-26 17:44:10 -04:00
Marc Delisle
58ebfd4591 jquery in subdirectory of js; trying jquery-ui toggle effect 2010-03-23 17:08:47 -04:00
Marc Delisle
f8fa3b4ede jQuery and slider effect 2010-03-21 07:36:39 -04:00
Michal Čihař
201d0e892c Load mootools in every page. 2010-01-25 11:49:46 +00:00
Michal Čihař
78b00824eb [core] Updated mootools to fix some glitches with Safari.
Mootools are now in separate files as distributed upstream.
2010-01-04 15:35:23 +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
90c5ef65cd patch #2899969 [core] Session lock blocks working from a second window 2009-12-17 17:27:47 +00:00
Marc Delisle
cda5b04eab improve wording in comment 2009-10-23 10:22:00 +00:00
Marc Delisle
1419fcf3c2 remove deprecated parameter of PMA_Table::countRecords() 2009-10-23 10:02:09 +00:00
Marc Delisle
2a893aba92 [security] XSS: Insufficient output sanitizing in bookmarks 2009-06-30 10:48:08 +00:00
Marc Delisle
38fea0cc9e in SESSION, userconf renamed to tmp_user_values to avoid confusion with the future db-based user preferences 2009-06-20 16:36:58 +00:00
Michal Čihař
9605363dfb Escape zero_rows (this is not dangerous, but I think it should be escaped). 2009-04-09 14:20:44 +00:00
Marc Delisle
c19b43557f message "Bookmark created" is not displaying 2009-01-24 16:43:56 +00:00
Marc Delisle
c010da50d8 bug #2473127 [display] Deleting rows displays tbl structure, not contents 2009-01-01 21:39:21 +00:00
Michal Čihař
56941e509c Adding @package, second part. 2008-11-24 11:05:40 +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
2ac75d4591 upgrade to mootools 1.2; temporarily deactivate the color picker that does not work with this mootools version 2008-07-14 19:52:16 +00:00
Marc Delisle
606619b6b9 small code cleanup 2008-07-09 18:01:56 +00:00
Marc Delisle
b9baa825c1 display options (work in progress) 2008-05-21 15:49:57 +00:00
Sebastian Mendel
32c61a2ff6 reworked bookmarking 2008-05-09 12:37:30 +00:00
Marc Delisle
4f98c84dd7 dead code 2008-03-16 11:28:18 +00:00
Sebastian Mendel
eb07812dbb aggregate more index code into PMA_index class 2008-02-07 14:59:02 +00:00
Marc Delisle
cf1303f0fe Avoid a No tables found when deleting the last table of a db and the table limit offset becomes greater than the number of tables 2007-12-29 20:38:27 +00:00
Marc Delisle
78a3a6dacb parser (analyzer) the section_before_limit should not contain the LIMIT clause itself; and extract the limit_clause 2007-12-16 15:18:23 +00:00
Marc Delisle
9385dde992 bug #178988 [display] space before SHOW COLUMNS 2007-11-12 17:55:31 +00:00
Marc Delisle
a4be8e0efd bug #1824506 [profiling] Profile command repeated on older MySQL servers 2007-11-02 17:34:58 +00:00
Marc Delisle
c94fd548d6 new strInsertedRowId 2007-10-19 16:16:49 +00:00
Marc Delisle
6250cd0506 strRowsInserted 2007-10-19 11:40:27 +00:00
Marc Delisle
e9da128bc0 strRowsDeleted, strRowsAffected 2007-10-18 17:15:39 +00:00
Sebastian Mendel
236198619d should save before committing ... (missed some comments) 2007-10-17 08:05:57 +00:00
Sebastian Mendel
3b8b479d8c commented out auto-switching to active database - really required? bug #1814718 win: table list disappears (mixed case db names) 2007-10-17 08:03:19 +00:00
Sebastian Mendel
107fc46ad9 make use of PMA_Message 2007-10-16 12:14:19 +00:00
Sebastian Mendel
1950e582e6 some tweaks
display error an calling page instead of empty page
2007-10-12 08:08:32 +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
40b3ce9fd1 use array to define included JavaScript libraries 2007-10-04 09:22:50 +00:00
Sebastian Mendel
7955d51f4f removed MySQL < 5 code 2007-10-02 11:18:29 +00:00
Marc Delisle
7d517bd66a bug #1798646 [display] Character + in query wrongly interpreted 2007-09-23 16:13:42 +00:00
Marc Delisle
941dee7e41 Profiling (work in progress) 2007-06-27 21:01:13 +00:00
Sebastian Mendel
fa30ac8c33 store browse state in session per query 2007-05-15 11:16:10 +00:00
Marc Delisle
73696f116f bug #1712570 Deleting last record freezes (sorry for the double commit) 2007-05-09 13:10:08 +00:00
Sebastian Mendel
573a6161bd fixed code indention 2007-05-09 12:18:57 +00:00
Sebastian Mendel
d0ac1f2bbb XHTML standard: no language attribute in <script> 2007-04-01 11:13:46 +00:00
Sebastian Mendel
adb39168cc coding standard: no braces around include 2007-04-01 09:51:41 +00:00
Sebastian Mendel
b2f3ae5fcf make $sql_query persistent (init it, never unset it, always assume it is set) 2007-04-01 09:26:14 +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
c28969acbd no need to globalize $_REQUEST['is_js_confirmed'] 2007-03-27 11:29:18 +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
Sebastian Mendel
71d4904b71 bug #1627210, #1083301, #1482401 [data] warning on duplicate indexes 2007-03-14 16:16:47 +00:00
Marc Delisle
5dd2f3696d patch #1605032, undefined index 2006-11-29 11:04:16 +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ř
ad06b4a991 Rename tbl_* files to drop useless _properties part. 2006-10-25 10:55:20 +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
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
5e0722a9db bug #1533945, wrong table name in header (SELECT from query window) 2006-08-11 12:36:12 +00:00
Marc Delisle
57eaa756e0 bug #1490422, lost connection to MySQL server 2006-05-30 15:25:29 +00:00
Michal Čihař
942357ec92 Do not compare db if not defined. 2006-05-30 09:19:44 +00:00
Michal Čihař
7ad007ccf8 Show results of REPLACE as affected as it contains both deleted and inserted rows count (bug #1475765). 2006-04-27 08:48:08 +00:00
Sebastian Mendel
f020ab03b0 - fixed bug #1469469 cyclic redirect with sql.php as default table-page
- re-use already existing code
2006-04-13 10:39:58 +00:00
Marc Delisle
ae52834be5 bug #1448890 Column expander doesn't work 2006-03-26 10:52:21 +00:00
Marc Delisle
7f5e34a4d1 bug #1437499, LIMIT clause when query end with semicolon 2006-02-23 17:55:31 +00:00
Michal Čihař
7b96b58417 Better message for query export, move operation above query results into one fieldset (bug #1431420). 2006-02-22 12:42:35 +00:00
Sebastian Mendel
cd340d8496 moved PMA_generateFieldSpec(), PMA_tableIsView(), PMA_countRecords(), PMA_generateAlterTable() into class PMA_Table 2006-02-21 11:07:46 +00:00
Sebastian Mendel
f21826d64c fixed bug #1431422 Safari: Print view prints blank page 2006-02-20 14:19:56 +00:00
Marc Delisle
4532d8d0b0 bug #1434576, undefined variable db 2006-02-19 14:34:25 +00:00
Sebastian Mendel
0ec11cfc97 fixed some 'not refreshing left frame' 2006-02-05 11:02:26 +00:00
Marc Delisle
bacb45368a verification for COUNT clause and VIEWs 2006-01-25 15:29:17 +00:00
Marc Delisle
c7d4963897 affected rows are returned in case of DELETE with no WHERE clause, at least since MySQL 4.0.x 2006-01-25 14:49:40 +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
Marc Delisle
841b3403c7 bug #1394779, SQL executer tries to find keys from current table 2006-01-11 20:16:20 +00:00
Marc Delisle
1a16113609 bug #1395590 Safari Bookmark query fieldset float problem 2006-01-07 12:41:57 +00:00
Marc Delisle
a05f06bc48 revert changes 2005-12-11 23:49:19 +00:00
Marc Delisle
f6d24d59c9 first example for deglobalization: goto 2005-12-11 13:49:00 +00:00
Sebastian Mendel
8344198c10 moved tbl_properties_common.php into libraries 2005-12-08 13:19:25 +00:00
Sebastian Mendel
7a23fe5cb6 hide edit/delete links for information_schema (bug #1373201) 2005-12-05 13:32:50 +00:00
Sebastian Mendel
82572774cd define variables only where needed 2005-11-26 06:59:49 +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ř
c40b663969 Move tbl_properties{.inc,_links,_table_info}.php to libraries folder as it does not require direct access. 2005-11-24 08:55:33 +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
Michal Čihař
66aa9d2396 Move server_{links,common}.inc.php to libraries folder as it does not require direct access. 2005-11-24 08:29:44 +00:00
Michal Čihař
3f2e3ab766 use bookmarked query for browsing when available 2005-11-23 21:41:16 +00:00
Michal Čihař
adf0c75d55 Allow browse page to be default (RFE #1228013). 2005-11-23 21:30:53 +00:00
Sebastian Mendel
d099b9d0d6 use fieldset for 'bookmark this' 2005-11-06 12:33:40 +00:00
Sebastian Mendel
a51f2533ea unified message boxes (error, warning, confirmation) 2005-10-26 17:32:19 +00:00
Sebastian Mendel
0b477e9c03 refresh left frame on view creation 2005-10-20 08:16:27 +00:00
Sebastian Mendel
889b2e9f2e update row count in left frame bug #1243908 2005-10-18 10:00:46 +00:00
Michal Čihař
1819599e53 We need bookmark code to be included everytime. 2005-10-13 17:25:15 +00:00
Michal Čihař
885cb0891b Fix appending LIMIT when there are comments. 2005-10-08 20:09:03 +00:00
Marc Delisle
fbdac06a9d remove old code 2005-10-08 19:02:15 +00:00
Michal Čihař
f029aea260 Use common code for superuser detection. 2005-10-08 16:11:46 +00:00
Michal Čihař
6a093d4283 Switch all SQL from read_dump.php to import.php. 2005-10-08 11:24:21 +00:00
Michal Čihař
79c05d5cb9 Work even if no db set. 2005-10-08 09:51:56 +00:00
Sebastian Mendel
c8971b42e8 bug #1305830 wrong db choosen 2005-09-28 17:03:17 +00:00
Sebastian Mendel
b8741540db moved all code for queryboxes into libraries/sql_query_form.lib.php, replaced table with fieldsets, moved styles into css, minor interface changes related to queryboxes 2005-09-27 13:53:49 +00:00
Michal Čihař
64bd56dfba Support for browsing selected columns (RFE #1275909). 2005-09-26 19:03:11 +00:00
Marc Delisle
2050d44950 bug #1255869, 'MySQL returned an empty result set' not displayed in all cases 2005-08-12 01:06:18 +00:00
Marc Delisle
6588678efa patch #1249451, display improvements 2005-08-02 13:11:24 +00:00
Marc Delisle
6c92b913ef For Insert row and Export: use post when query is too big 2005-07-12 17:17:26 +00:00
Michal Čihař
34bd15df0e Use post for print view when query is too big (bug #1203692). 2005-07-10 21:08:52 +00:00
Marc Delisle
21583d65a8 bug #1204951, left frame browse icon alt tag not updated on emptying table 2005-06-06 01:03:47 +00:00
Marc Delisle
1f2733989b bug #1204913, left frame update on manual table rename 2005-05-26 17:09:07 +00:00
Marc Delisle
e8be67e72e bug #1120434, comment at the end of query is applied to appended LIMIT as well 2005-05-15 12:37:48 +00:00
Michal Čihař
5784420791 Better calculate inserted row id (bug #1156963). 2005-03-07 13:04:46 +00:00
Marc Delisle
4766676ee2 bug #1084820, End>> and InnoDB 2005-01-18 15:35:50 +00:00
Michal Čihař
ffea49bf03 Do not forget reloading when launching multiple queries (bug #1090818). 2005-01-01 21:36:48 +00:00
Michal Čihař
f1f39b8ed1 added infou about UFPDF to documentation 2004-12-29 14:16:51 +00:00
Garvin Hicking
ae2022381e RFE #1044677: Check for suboptimal indexes.
EXPERIMENTAL IMPLEMENTATION! Please check, though it does work on my
installation, I had to shift around several functions to make them re-usable
from the sql.php file.
2004-11-02 13:41:30 +00:00
Michal Čihař
3f258cfb45 Cleanup of message displaying and navigation reloading. 2004-10-21 10:18:12 +00:00
Michal Čihař
67d35fc6af Work better in ANSI mode (bug #816858). 2004-10-19 14:25:57 +00:00
Michal Čihař
f09d9c1aef Fix undefined index. 2004-10-19 12:50:30 +00:00
Marc Delisle
fdad655074 detect more complex case of SELECT DISTINCT for MySQL 3 2004-10-15 19:38:23 +00:00
Michal Čihař
9e840c92b6 Don't try to require sql.php with parameters, rather redirect to it. 2004-10-12 10:27:54 +00:00
Marc Delisle
f213938455 bug #1036678 2004-09-29 19:56:04 +00:00
Marc Delisle
043140d096 re: bug 978930, LIMIT not displayed anymore 2004-09-24 17:37:34 +00:00
Marc Delisle
2a9b839203 bug 988723 sql error when ordering by count( * ) 2004-09-12 13:38:57 +00:00
Marc Delisle
cb2c07f371 bug 899430: problem when lower_case_table_names==2 2004-09-04 11:02:27 +00:00
Michal Čihař
ed3158c035 Don't unset $sql_limit_to_append, we need it later (bug #978930, found by Marc). 2004-08-22 15:03:35 +00:00
Michal Čihař
be3d8a7e91 Work with $display_query only if set (Marc spotted this out). 2004-08-17 13:01:14 +00:00
Michal Čihař
8f3c3accec Better appending of LIMIT (bug #978930). 2004-08-16 15:55:06 +00:00
Michal Čihař
fa837e8bee XHTML fixes 2004-08-12 15:55:43 +00:00
Michal Čihař
ca5b16f654 Change look of adding fields into table (bug #991095).
I again did some XHTML validation, so removed few of most obvious errors, but there are still many, mostly missing alt attributtes for images and wrongly nested tags.
2004-08-12 15:13:20 +00:00
Marc Delisle
5fb6e7976d PMA_securePath 2004-06-15 16:55:53 +00:00
Marc Delisle
d9a21610d1 redesign part 3 2004-06-13 21:39:08 +00:00
Marc Delisle
e9602b27bb bug 956828 deleting last row generates a PHP error 2004-05-29 12:32:16 +00:00
Alexander M. Turek
0b6975f8bd Patch #947190 2004-05-16 17:32:15 +00:00
Michal Čihař
72b3f91917 Use same code for generating INSERT and UPDATE queries (also fixes bug #953250). 2004-05-13 14:41:28 +00:00
Marc Delisle
4276852c82 use PMA_sendHeaderLocation 2004-05-11 12:57:49 +00:00
Michal Čihař
71c24b8e76 Export only SELECT queries, do not show multi row actions when no checkboxes shown. 2004-05-03 13:52:36 +00:00
Marc Delisle
25a29c45b8 bug 780516 capitalizing keywords 2004-04-19 14:12:24 +00:00
Marcel Tschopp
181e1aca82 Use PMA_DBI_fetch_row instead of PMA_DBI_fetch_array in display_tbl.lib.php 2004-04-10 19:04:01 +00:00
Marcel Tschopp
16de478154 Changed some queries to use MYSQLI_STORE_RESULT.
phpMyAdmin now works with MYSQLI_USE_RESULT as default.
2004-04-10 16:27:23 +00:00
Marcel Tschopp
4e62f7658f Changed some queries to use MYSQLI_STORE_RESULT.
phpMyAdmin now works with MYSQLI_USE_RESULT as default.
2004-04-10 16:19:21 +00:00
Marc Delisle
f81459a5d2 bug 913630 deleted rows 0 2004-03-13 13:38:40 +00:00
Marc Delisle
d879ff452a strDropDatabaseStrongWarning 2004-01-29 18:38:32 +00:00
Alexander M. Turek
2915b5c3ce Added MySQLi library; Removed calls to old mysql_wrappers library. 2004-01-22 02:13:48 +00:00
Marc Delisle
a7bd761f3f PMA_DBI_affected_rows 2004-01-20 21:03:31 +00:00
Marc Delisle
a69eb2ebbc PMA_DBI_insert_id 2004-01-20 20:52:28 +00:00
Marc Delisle
f8d049ace5 use PMA_DBI function 2004-01-20 20:24:00 +00:00
Marc Delisle
b0cc4dbb23 use PMA_DBI function 2004-01-20 19:53:53 +00:00
Marc Delisle
28a5d0476e PMA_DBI_num_rows 2004-01-20 19:35:37 +00:00
Marc Delisle
b7ad9c1119 clarify 2004-01-05 00:37:02 +00:00
Garvin Hicking
079c662908 check for databases after query 2003-12-11 11:16:25 +00:00
Alexander M. Turek
37d50c1822 Huge set of optimizations, please test! 2003-11-26 22:52:25 +00:00
Garvin Hicking
ca7836a684 Fixed transformation system now accepting '.php3' files and using the '.php' pendants. Make use of 's' RegEx pattern modifier. Fixed small (but impacting) typo. 2003-11-25 20:30:12 +00:00
Garvin Hicking
c2b46ac945 Final batch of PHP3-Compatibility fixes. Please test. :-) 2003-11-22 20:57:48 +00:00
Michal Čihař
6884f9701a no more support for php3 2003-11-18 15:20:45 +00:00