Commit Graph

514 Commits

Author SHA1 Message Date
Marc Delisle
618cb07b26 should go to ['userconf'] 2008-01-05 15:12:30 +00:00
Marc Delisle
6d63f4bbd1 use PMA_generate_html_radio() 2007-12-29 21:06:30 +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
Sebastian Mendel
e96049f8b1 try to save some space on screen, replaced fieldset not used in form 2007-12-20 11:30:32 +00:00
Sebastian Mendel
50b63510de bug #1823018 [charset] Edit(Delete) img-links pointing to wrong row 2007-12-14 12:47:31 +00:00
Sebastian Mendel
b420984a06 bug #1724217 [Create PHP Code] doesn't include newlines for text fields 2007-12-14 10:09:42 +00:00
Marc Delisle
60c65ae220 bug #1835654 [core] wrong escaping when using double quotes 2007-12-09 13:40:51 +00:00
Marc Delisle
2c0b19a1cf undefined PMA_MYSQL_INT_VERSION when no default server is set 2007-11-25 12:58:41 +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
5eb4fee323 partition maintenance 2007-11-01 13:14:58 +00:00
Marc Delisle
cb576daa05 bug #1814463 Wrong database size 2007-10-20 18:58:04 +00:00
Sebastian Mendel
d5c158f3c0 PMA_showMessage(): cleanup - fix 2007-10-17 15:55:59 +00:00
Sebastian Mendel
d165fe8e18 PMA_showMessage(): cleanup 2007-10-17 15:47:26 +00:00
Sebastian Mendel
1454a3e599 PMA_showMessage(): removed obsolete check for $show_error_header 2007-10-17 10:10:17 +00:00
Sebastian Mendel
b53e28bd31 PMA_mysqlDie(): cleanup, make use of PMA_getIcon() and better use of PMA_generate_common_url() 2007-10-17 10:05:27 +00:00
Sebastian Mendel
ef7a052074 - fixed XSS in server_status.php, thanks to Omer Singer, The DigiTrust Group
- fixed some possible XSS with PHP_SELF (PATH_INFO)
- commented out some use of PATH_INFO ... needs further testing
2007-10-16 07:11:28 +00:00
Sebastian Mendel
504150a491 removed unnecessary checks in PMA_getIcon() 2007-10-11 09:11:22 +00:00
Sebastian Mendel
1708f2ecdd make use of new message object 2007-10-10 14:31:42 +00:00
Sebastian Mendel
86b1e3032b remove some space wasting elements - not finally, just let see how it is in work environment and how other say about 2007-10-09 12:56:33 +00:00
Sebastian Mendel
534ac6fe1d message box class as parameter 2007-10-09 12:11:16 +00:00
Sebastian Mendel
872cadf60d make use of PMA_showHint() in more places 2007-10-05 14:06:27 +00:00
Sebastian Mendel
4355a564d5 refactored tooltip handling (please test!) 2007-10-05 13:18:04 +00:00
Sebastian Mendel
faa52f611c removed MySQL < 5 code 2007-10-02 08:57:02 +00:00
Sebastian Mendel
35d2f6f984 identify active tab from PHP_SELF only if $GLOBALS['active_page'] is not set 2007-09-28 07:27:54 +00:00
Sebastian Mendel
669a3c2d87 check $GLOBALS['cfg']['PropertiesIconic'] inside PMA_buttonOrImage() and make use PMA_getIcon() 2007-09-27 14:43:44 +00:00
Sebastian Mendel
7bfa689e5a extended PMA_getIcon() 2007-09-27 12:39:29 +00:00
Sebastian Mendel
0f647eb883 added @todo 2007-09-27 09:35:04 +00:00
Marc Delisle
4beede83a1 bugs 1767759, 1216521 Duplicate entry error Browse feature: this minor feature removed due to its complexity 2007-09-09 13:51:15 +00:00
Sebastian Mendel
d489602a4c use PMA_get_arg_separator() 2007-09-04 15:44:55 +00:00
Marc Delisle
8eb4d37fe2 XHTML fixes 2007-09-02 19:23:59 +00:00
Marc Delisle
34c75eb875 bug #1771200 unknown system variable PROFILING 2007-08-11 11:53:01 +00:00
Marc Delisle
dda4bb6a67 bug #1760447, goto last page problem 2007-07-27 12:35:18 +00:00
Marc Delisle
a380a6c774 avoid marking the Browse tab active after a click, when there are no rows 2007-07-24 12:40:40 +00:00
Marc Delisle
7d015ff72a improved tabs background and bottom border 2007-07-23 23:46:20 +00:00
Marc Delisle
2d9613dfea patch #1749705, Allow multibyte characters in number formatting, thanks to garas 2007-07-09 19:41:38 +00:00
Marc Delisle
ae603822a5 obey MaxTableList in navi also (Light mode only); move the navigator near the database list 2007-07-09 16:30:39 +00:00
Marc Delisle
7cc52459f6 previous fix was incompatible with mysql extension 2007-07-05 12:26:42 +00:00
Marc Delisle
f73d68265b RFE #1743983: replace $max_characters by a configurable param MaxCharactersInDisplayedSQL 2007-07-01 19:26:41 +00:00
Marc Delisle
941dee7e41 Profiling (work in progress) 2007-06-27 21:01:13 +00:00
Marc Delisle
9d9cd7221b bug #1727138 HTML not encoded (last part of the fix) 2007-06-27 15:12:40 +00:00
Marc Delisle
a7146b0540 bug #1736405 Pretty printer and HTML line breaks 2007-06-26 12:52:36 +00:00
Marc Delisle
eb4e32a63e bug #1733012 Unwanted table alias in delete button 2007-06-26 11:53:09 +00:00
Marc Delisle
be43252164 <br> after "Page number" only in navi, thanks to Juergen Wind 2007-06-26 10:41:58 +00:00
Marc Delisle
09b1ea0646 Navigator for the table list in the content panel 2007-06-25 14:00:35 +00:00
Marc Delisle
7762946d76 unneeded double line in navi when no page selector is displayed 2007-06-24 11:59:16 +00:00
Marc Delisle
1316c6d07c bug #1727138 HTML not encoded (more than 1000 characters) 2007-06-24 10:42:02 +00:00
Marc Delisle
6bc959283f when saving an edit with a field of more than 1000 characters, constant PMA_QUERY_TOO_BIG is already defined 2007-06-24 10:14:08 +00:00
Marc Delisle
8b94c4cf83 bug #1739253 about the new page number in navi, thanks to Juergen Wind for the suggestions 2007-06-20 12:14:18 +00:00
Marc Delisle
63b259d955 navigation and MaxDbList (work in progress) 2007-06-18 12:18:51 +00:00
Marc Delisle
1d726b672c patch #1731280 unneeded for trunk 2007-06-13 16:33:57 +00:00
Marc Delisle
d69be68c25 patch #1731280 Avoid negative exponent in gmp_pow(), thanks to anosek 2007-06-10 19:47:14 +00:00
Sebastian Mendel
fa30ac8c33 store browse state in session per query 2007-05-15 11:16:10 +00:00
Sebastian Mendel
0130b9d07b typo, thanks to wiki user Jspboy 2007-05-14 12:42:59 +00:00
Sebastian Mendel
573a6161bd fixed code indention 2007-05-09 12:18:57 +00:00
Marc Delisle
1e7819e0ba undefined index when deleting a bookmark 2007-04-06 13:45:52 +00:00
Sebastian Mendel
d0ac1f2bbb XHTML standard: no language attribute in <script> 2007-04-01 11:13:46 +00:00
Sebastian Mendel
cfeb306526 coding standard: no spaces inside braces 2007-04-01 11:02:46 +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
Marc Delisle
8da1b5a730 bug #1690718 Can't edit if BLOB and no PK 2007-03-31 13:08:50 +00:00
Marc Delisle
f124554ab1 unneeded test, thanks to Juergen Wind 2007-03-31 12:29:05 +00:00
Marc Delisle
f7d9e324a1 undefined index when creating a table 2007-03-31 11:15:24 +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
Marc Delisle
d298724fd4 Edit next row: do not offer if no unique key on table 2007-03-26 13:23:24 +00:00
Sebastian Mendel
75fe2cfa9e PMA_getTab(): added support for fragments in link 2007-03-21 12:36:49 +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
aa8557d1a1 typo 2007-03-20 11:20:58 +00:00
Sebastian Mendel
817e790762 synced/fixed vim line 2007-03-19 17:55:39 +00:00
Sebastian Mendel
420a9d58e7 bug #1662976 Authentication fails when controluser/pass is set 2007-03-19 15:06:53 +00:00
Sebastian Mendel
c29b8627f9 hopefully cookie login is now working again as expected ... 2007-03-16 16:55:45 +00:00
Sebastian Mendel
aba1268619 [config] clean cookies on phpMyAdmin upgrade 2007-03-16 16:48:40 +00:00
Sebastian Mendel
af7691a469 bug #1676033 [core] pow(int,int) causes overflow 2007-03-14 12:47:37 +00:00
Sebastian Mendel
1eca371e5a added support for byte and gigabyte in PMA_get_real_size() 2007-03-08 17:08:22 +00:00
Sebastian Mendel
b60610ee4a changed message for possible exploit detection 2007-03-02 16:07:36 +00:00
Sebastian Mendel
6bf91cba55 bug #1672379 Call to undefined function PMA_removeCookie() 2007-03-02 13:09:01 +00:00
Sebastian Mendel
18853eece6 bug #1671813 CVE-2006-1549 deep recursion crash 2007-03-01 16:09:00 +00:00
Marc Delisle
a9e7d44382 bug #1659176, memory error displaying a table with large BLOBs 2007-02-27 23:03:18 +00:00
Marc Delisle
9867ac0fc9 bug 1667466, undefined variable when export + save on server 2007-02-25 12:45:29 +00:00
Marc Delisle
8c88abd05a avoid generating big links after an upload into a BLOB 2007-02-16 17:44:04 +00:00
Marc Delisle
2e61ea7d9d white page after uploading a 700 Kio BLOB 2007-02-14 15:21:32 +00:00
Marc Delisle
38b0199cb4 typo 2007-02-10 16:01:22 +00:00
Marc Delisle
42ac66ad74 get rid of propicon 2007-02-10 15:58:46 +00:00
Michal Čihař
bcc5684a84 security fixes 2007-01-09 09:50:49 +00:00
Michal Čihař
4b503ead85 Add <div> to allow selecting whole SQL by tripple click (patch #1611591). 2007-01-02 09:11:46 +00:00
Marc Delisle
8e61869a17 RFE #1621025, show SQL statements in Relation View 2006-12-29 16:27:25 +00:00
Marc Delisle
b7796e429c patch #1592366, using a host name as a URL parameter 2006-12-27 14:08:43 +00:00
Sebastian Mendel
cb0e5f3c94 added second optional parameter: $sql_query 2006-12-19 17:45:07 +00:00
Marc Delisle
14ff3c4729 bug #1615313, doc refers to auth_type HTTP so enable it 2006-12-15 17:47:38 +00:00
Marc Delisle
00f6e5b4b7 bug #1607282, add warning for loss of auto_increment due to a bug in older MySQL 2006-12-13 13:02:42 +00:00
Marc Delisle
d01f9977fb remove uva prefix 2006-12-10 12:32:41 +00:00
Marc Delisle
0547dafd9b bug #1603660, incorrect escaping 2006-12-06 17:39:42 +00:00
Marc Delisle
3c5b5d693a undefined index 2006-11-18 11:49:48 +00:00
Michal Čihař
7e5f61842c Fix path disclossure while passing array as some params. 2006-11-17 09:32:19 +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
Marc Delisle
6455e65bc9 wrong parameter when calling error.php 2006-10-19 20:48:14 +00:00
Michal Čihař
0564ecc946 Fix escaping of long query with js (thanks to Erwin for report). 2006-10-19 15:56:46 +00:00
Michal Čihař
bf22bc374f Switch to \n on Mac, as it is reported to be common EOL there now (bug #1577590). 2006-10-16 11:56:36 +00:00
Michal Čihař
491187ed77 Rename left.php to navigation.php and modify all calls to that. Only config variables are kept as Left*. 2006-10-16 07:43:48 +00:00
Michal Čihař
92c898727f Move cleanup to separate function (bug #1569123). 2006-10-13 07:52:34 +00:00
Michal Čihař
2b5baa6e9a Check for sent headers, provide backtrace in this case. 2006-10-10 14:06:56 +00:00
Marc Delisle
094d4d1db0 security fixes 2006-09-29 13:52:08 +00:00
Marc Delisle
f442bf7003 bug #1519859, avoid overflow on 64-bit machines 2006-09-23 12:31:28 +00:00
Sebastian Mendel
99bbc02686 more documentation fixes 2006-09-21 14:56:52 +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
Sebastian Mendel
ca44c117a2 moved some more code into class, some documentation improvements 2006-09-21 12:59:57 +00:00
Sebastian Mendel
45b04ab15d replaced $dblist with new PMA_List_Database class 2006-09-20 11:15:56 +00:00
Marc Delisle
c78c200692 rename a function borrowed from Moodle to avoid double definition when PMA is called by Moodle 2006-09-15 11:43:05 +00:00
Marc Delisle
75acdfeb69 bug #1554166, magic_quotes_runtime problems 2006-09-09 12:47:07 +00:00
Marc Delisle
8cf7947219 bug #1542865, themes not switching 2006-08-30 21:55:59 +00:00
Michal Čihař
ab718291fd Internationalise link to MySQL documentation when translation exists, this needs to be defined in language file (RFE #1547130). 2006-08-30 10:42:48 +00:00
Marc Delisle
6f95bf499a bug #1544734, error messages link outdated 2006-08-26 13:53:33 +00:00
Marc Delisle
efad3a52d2 bug #1542875 Cookie auth on IIS 2006-08-21 11:59:24 +00:00
Marc Delisle
0efa7e828e bug #1534475, arbitrary server not taken into account 2006-08-10 16:47:58 +00:00
Sebastian Mendel
39c52ac207 now really (forgot to return the unquoted string) 2006-08-02 12:18:09 +00:00
Sebastian Mendel
53ddec4168 forgot to replace escaped quotes 2006-08-02 11:58:08 +00:00
Sebastian Mendel
179917ec41 added PMA_unQuote() to remove quotes from strings 2006-08-02 11:34:38 +00:00
Sebastian Mendel
6d75c0afaf added PMA_escapeJsString() to escape strings for JavaScript inside CDATA blocks 2006-08-02 10:15:56 +00:00
Sebastian Mendel
ed52b071a1 use PMA_Config class for cookie needs, do not unset not set cookie 2006-07-31 15:06:25 +00:00
Marc Delisle
35b1ab1f88 bug #1523784, blank page after Edit in IE6 via IIS 2006-07-26 21:13:34 +00:00
Michal Čihař
64976261a3 Fix extension loading on HP-UX (bug #1524776), thanks to Francois Laupretre - flp1. 2006-07-18 20:40:40 +00:00
Sebastian Mendel
506b3cb938 bug #1477576 with rtl langs, navi links open in wrong frame 2006-07-03 15:01:45 +00:00
Marc Delisle
183441507c check also single quotes 2006-06-30 13:13:19 +00:00
Marc Delisle
6d6f47bdb2 escape allowed parameters from non-token requests 2006-06-28 15:39:56 +00:00
Sebastian Mendel
1b7b9673ac bug #1490556 Request-URI Too Large 2006-06-20 17:58:14 +00:00
Sebastian Mendel
1e1499eef2 did not recognize hard coded & when ; is set as url separator in php 2006-06-20 15:30:59 +00:00
Marc Delisle
840a5b3d56 bug #1498108, support twice the separator in db name 2006-05-31 16:43:45 +00:00
Michal Čihař
22128e5f89 Fix reading database list with MySQL wildcards (bug #1487613). 2006-05-14 16:40:54 +00:00
Michal Čihař
d90fbbf27c Better handle other URL separator than & (bug #1487365). 2006-05-12 15:39:33 +00:00
Michal Čihař
ed84a68f63 Use htmlspecialchars instead of htmlentities, it doesn't break utf-8. 2006-05-02 13:28:35 +00:00
Sebastian Mendel
9a4e3a65c2 improved themes 2006-04-27 13:18:42 +00:00
Michal Čihař
9f8afc5d4e Reload language file after switch to utf-8 translation (bug #1442605). 2006-04-27 12:13:52 +00:00
Michal Čihař
3758013766 Better detection of duplicate rows (bug #1477500). 2006-04-27 09:16:32 +00:00
Michal Čihař
47bbff3b81 Make cookie login form work with token protection. 2006-04-25 14:46:51 +00:00
Michal Čihař
0bf717892f Protect against external links which could perform any action (CVE-2006-1804). 2006-04-20 14:45:42 +00:00
Sebastian Mendel
2ce3cc1da9 - added option to PMA_arrayWalkRecursive() to use function also on keys
- un-magic_quotes_gpc also keys in GPC arrays
2006-04-12 16:41:27 +00:00
Sebastian Mendel
2511a03729 fixed bug #1469174 configuration changes not accepted in theme manager 2006-04-12 11:00:59 +00:00
Sebastian Mendel
fefedf57f5 fixed bug #1469109 PMA_backquote() issues 2006-04-12 08:47:44 +00:00
Sebastian Mendel
44a0f36096 use PMA_getenv() 2006-04-11 14:33:17 +00:00
Sebastian Mendel
0e1f1c0997 added PMA_getenv() as a wrapper to $_SERVER, $_ENV, getenv() and apache_getenv() 2006-04-11 13:58:58 +00:00
Marc Delisle
01b1374bc4 patch #1455286, catch 'permission denied' error on SHOW DATABASES 2006-03-23 10:59:50 +00:00
Marc Delisle
d40a1dab40 mysqli and zend.ze1_compatibility_mode 2006-03-17 01:32:10 +00:00
Michal Čihař
7b48016c66 Add wrapper to show config errors even with no error reporting (RFE #1447173). 2006-03-16 22:15:07 +00:00
Michal Čihař
a70def98ca Do not forget wrongly configured servers, otherwise user gets warning only on first access (RFE #1451521). 2006-03-16 21:58:37 +00:00
Marc Delisle
8597a6aabf bug #1449715, loading of binary data very slow 2006-03-14 16:44:37 +00:00
Marc Delisle
30afc8d7b0 bug 1445120, cookie login not working on IIS 2006-03-13 23:14:50 +00:00
Sebastian Mendel
5bdcd33740 replaced $_SERVER with getenv() 2006-03-06 11:32:58 +00:00
Marc Delisle
4b4305a20e bug #1413880, page status not preserved on Refresh 2006-03-04 12:48:46 +00:00
Sebastian Mendel
c438a35ac8 fixed bug #1436058 Notices while browsing table 2006-02-21 18:12:09 +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