Commit Graph

563 Commits

Author SHA1 Message Date
Sebastian Mendel
cf9e4208d1 code cleanup whole querywindow js stuff, moved all in one new js file, now included in index.php, bug #1327055 2005-10-17 16:40:32 +00:00
Michal Čihař
a9f87975ce Group databases by rightmost separator (bug #1325651). 2005-10-17 11:46:08 +00:00
Michal Čihař
a13fadb644 Allow editing of query without database. 2005-10-13 17:26:08 +00:00
Michal Čihař
e70801d40c Use normal font sizes for Mozilla browsers. 2005-10-12 12:11:04 +00:00
Sebastian Mendel
2600d3c29b fixed rowcount in left frame for tables in information_schema 2005-10-12 12:02:00 +00:00
Sebastian Mendel
1e2ebddf7c revert icon size to fixed width and height 2005-10-12 10:30:27 +00:00
Sebastian Mendel
e052827c74 use list for navigation tabs RFE #1290423 2005-10-12 09:28:38 +00:00
Sebastian Mendel
3143135a5c XHTML 1.0 trans. compliance and more semantic XHTML output 2005-10-11 11:49:17 +00:00
Michal Čihař
32496981c9 Show message when bookmark has been created (RFE #477472), show deleted bookmark query. 2005-10-09 08:31:44 +00:00
Michal Čihař
6429a239da Parse query before inserting LIMIT to know where to place it. 2005-10-08 20:10:01 +00:00
Michal Čihař
c62f975a47 Use common code for CREATE/ALTER TABLE, set comments on creating table, so that user can see it in the query. 2005-10-08 17:28:31 +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ř
589ee102f6 Drop some old code. 2005-10-07 15:23:55 +00:00
Marc Delisle
171613c0d0 bug #1262250, cannot change ENUM default value to empty 2005-09-28 11:50:50 +00:00
Michal Čihař
cbea45fa0f Use common file listing in query window, remove no more used functions. Please note that file import from query windows is currently half rewritten, so compressed imports will not work. 2005-09-27 19:30:44 +00:00
Sebastian Mendel
87764fc859 introducing sessions 2005-09-27 16:26:18 +00:00
Michal Čihař
d3a666f936 improve fix for [ 1303994 ] PHP error message on empty queries 2005-09-26 20:04:02 +00:00
Michal Čihař
d5b78243d8 Do no try to parse empty SQL query (bug #1303994). 2005-09-26 19:14:12 +00:00
Michal Čihař
64bd56dfba Support for browsing selected columns (RFE #1275909). 2005-09-26 19:03:11 +00:00
Marc Delisle
b073c6365e patch #1257134: no longer emit the strPmaUriError message 2005-08-23 23:08:21 +00:00
Michal Čihař
39ea0b8557 Default charset for export is now configurable (RFE #1263772). 2005-08-22 21:41:20 +00:00
Michal Čihař
6164cb16ae Protect against possible XSS (bug #1265740), move input sanitizing to special file. 2005-08-22 21:00:52 +00:00
Marc Delisle
ecc9022346 patch #1258978, move common code for error pages out of common.lib.php 2005-08-20 13:23:35 +00:00
Marc Delisle
5de17e7cc9 patch #1252031, CSS for navigation tabs 2005-08-16 17:52:06 +00:00
Marc Delisle
3cfc06163a bug #1259951, invalid argument for foreach() 2005-08-15 17:18:37 +00:00
Marc Delisle
80aecf6518 bugs 1248577 (incorrect message 'you should define a primary key') and 1253125 (request-URI too large) 2005-08-14 19:31:55 +00:00
Marc Delisle
7b1d7b42cc patch #1246245, tree in databases selector 2005-08-04 14:47:31 +00:00
Michal Čihař
d9977e23ae Show error header on error to make clear that something bad has happened. 2005-08-04 13:52:51 +00:00
Marc Delisle
1d785c1212 patch #1249457, display improvements 2005-08-02 13:19:30 +00:00
Marc Delisle
2e5c10aa2f bug #1249239, XSS vulnerability on Create page 2005-08-01 12:38:56 +00:00
Marc Delisle
0966e9faa0 RFE #1177459, BOOL column type 2005-07-27 00:27:49 +00:00
Michal Čihař
2b28fc510d Use eval for config file including to catch parse errors (bug #1223319), on error page display config file that actually failed. 2005-07-13 11:16:51 +00:00
Robin Johnson
63798666e5 Document previous foreign-key dropdown work, and also ensure that the configuration import code works properly with it. 2005-07-11 05:51:13 +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
Michal Čihař
fc1be828b6 User can now have different theme per server (RFE #1231599). 2005-07-10 18:42:00 +00:00
Michal Čihař
c6f540be72 Configurable file name templates (RFE #1226941). 2005-06-24 12:17:07 +00:00
Marc Delisle
ab217262ea bug #1216901, missing backquotes on the Browse feature in case of duplicate entry 2005-06-08 16:58:00 +00:00
Marc Delisle
8fef0686cf bug #1207395, undefined theme_generation, theme_version 2005-05-24 10:37:38 +00:00
Marc Delisle
0a136cbfba bug #1185152, setting collation for a field 2005-05-03 22:50:31 +00:00
Marc Delisle
179c05acfb bug #1193223, undefined index htmlexcel_null 2005-05-02 16:49:38 +00:00
Marc Delisle
450f13064c bug #1179241 escaping apostrophe in generated PHP code 2005-04-25 20:24:35 +00:00
Marc Delisle
15d5334de6 bug #117686, tbl_alter.php 2005-04-07 17:46:03 +00:00
Marc Delisle
01a27e8d26 bug #1163595, problem 6 2005-04-01 20:59:46 +00:00
Marc Delisle
effac6b69f bug #1163595, problem 4 2005-04-01 20:50:59 +00:00
Marc Delisle
6289ccb49c default current_timestamp is only for TIMESTAMP 2005-04-01 17:19:38 +00:00
Marc Delisle
25468cde68 XSS vuln on convcharset 2005-03-29 21:11:31 +00:00
Alexander M. Turek
c15147a848 Force separate connection for controluser queries 2005-03-24 20:57:00 +00:00
Marc Delisle
b8b9334da9 experimental support in table structure editing for MySQL 4.1.2+ TIMESTAMP options 2005-03-16 17:23:58 +00:00
Michal Čihař
a9aedbe951 Unified cookie path handling, added / to end of path (bug #1155373). 2005-03-06 21:10:53 +00:00
Marc Delisle
92ca7e0b2c native comments 2005-03-05 23:26:34 +00:00
Marc Delisle
b496149f14 new faq 2.8 about Missing parameters 2005-03-04 13:59:12 +00:00
Marc Delisle
7fbead83e4 a few comments 2005-03-04 13:43:16 +00:00
Marc Delisle
1df092f4d7 bug #1114363, error when SHOW DATABASES is disabled 2005-02-07 21:55:32 +00:00
Michael Keck
27afa33d33 tooltip function / replacement for alert box on hints 2005-01-20 16:35:53 +00:00
Alexander M. Turek
542883b8b0 Finger pointer for lightbulbs! :-) 2005-01-18 22:31:39 +00:00
Marc Delisle
ab5908be5e make lightbulbs clickable 2005-01-18 17:04:46 +00:00
Marc Delisle
4766676ee2 bug #1084820, End>> and InnoDB 2005-01-18 15:35:50 +00:00
Michael Keck
0d0f0f3094 modified function for feature request #1036254 2005-01-17 15:21:28 +00:00
Marc Delisle
6a863ea364 bug #1103201 2005-01-16 14:41:27 +00:00
Michal Čihař
ede2a6ee5d Fix timestamp in uva condition with MySQL 4.1 (bug #1097593). 2005-01-07 11:58:32 +00:00
Michal Čihař
f1f39b8ed1 added infou about UFPDF to documentation 2004-12-29 14:16:51 +00:00
Garvin Hicking
2a3da9f8f6 RFE #925817, better page selector with flexible jumping/pagination controls 2004-11-02 15:47:19 +00:00
Michal Čihař
a01a885f84 Comparsion is == and not = (bug #1054758). 2004-11-01 10:25:08 +00:00
Michal Čihař
d6b965b4ac Fix URI detection in case REQUEST_URI contains full URI (patch #1044123). 2004-10-25 13:01:38 +00:00
Michael Keck
d368bdc318 feature request #1036254:
Add a link by MySQL-Error #1062 - Duplicate entry
2004-10-21 21:12:00 +00:00
Michal Čihař
e08ffcaaaf Fix navigation reloading. 2004-10-21 16:47:14 +00:00
Michal Čihař
1eaea0fe95 New function PMA_buttonOrImage to display button or image to submit form and not to duplicate code on all places. 2004-10-21 11:59:21 +00:00
Michal Čihař
3f258cfb45 Cleanup of message displaying and navigation reloading. 2004-10-21 10:18:12 +00:00
Michal Čihař
aca8292833 Allow simple blocking of root login (RFE #1012971), show just Access denied in case we denied it. 2004-10-20 15:50:52 +00:00
Marc Delisle
a017257c22 use already made icon for hint 2004-10-20 12:49:25 +00:00
Marc Delisle
9b61bbf88c PMA_showHint 2004-10-20 00:03:26 +00:00
Michal Čihař
0cf5a3cb56 Fix left frame reloading after dropping table (bug #1034531). 2004-10-19 16:19:24 +00:00
Michal Čihař
82e4fb6cc3 0 as field name causes problems (bug #1042235). 2004-10-19 13:55:00 +00:00
Marc Delisle
11a6564840 bug #1037004 UPDATE statement not showing 2004-09-29 20:20:57 +00:00
Marc Delisle
f213938455 bug #1036678 2004-09-29 19:56:04 +00:00
Michal Čihař
b425d0ebab Do not prepend $cfg['ThemePath'] with another './'. 2004-09-23 14:36:54 +00:00
Michal Čihař
4e37b29113 Better theme version check (bug #1023029). 2004-09-14 14:21:31 +00:00
Marc Delisle
2814c4ce81 remove remaining charset introducers 2004-09-03 20:16:03 +00:00
Marc Delisle
6111ce7d45 replace charset introducer by CONVERT USING 2004-09-03 18:59:22 +00:00
Marc Delisle
5103056f34 bug 1006011, save the chosen connection collation into a cookie 2004-08-26 11:12:17 +00:00
Marc Delisle
2102df6073 move search operators to config 2004-08-17 12:37:37 +00:00
Michal Čihař
8f3c3accec Better appending of LIMIT (bug #978930). 2004-08-16 15:55:06 +00:00
Michal Čihař
37307b9905 remove useless comparsion 2004-08-12 18:08:18 +00:00
Michal Čihař
ae85313a36 Impleneted versioning and naming for themes (RFEs #991642 and #991645). 2004-08-12 17:38: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
e18937d5d2 better use default values in the fonction 2004-07-25 21:20:10 +00:00
Marc Delisle
837639360f bug 997682 Illegal mix of collations 2004-07-25 20:17:53 +00:00
Marc Delisle
a991dc6265 typo about GLOBALS 2004-07-15 11:17:47 +00:00
Marc Delisle
6f97956b60 bug 989581 and display problems if left panel when switching themes 2004-07-14 13:16:03 +00:00
Marc Delisle
ed3eaa7449 renamed colors.inc.php to layout.inc.php 2004-07-12 15:20:55 +00:00
Marc Delisle
0e8e84d8c0 bug 981359 optional hex for binary 2004-07-01 01:30:37 +00:00
Alexander M. Turek
5dd5999d7f security fix against $_REQUEST['cfg'] exploits 2004-06-30 13:13:19 +00:00
Marc Delisle
eaea6da89d BrowseMarkerEnable 2004-06-24 14:20:26 +00:00
Marc Delisle
f5db2f7cfe BrowsePointerEnable 2004-06-24 13:47:01 +00:00
Marc Delisle
de04757024 LeftPointerEnable 2004-06-24 12:41:10 +00:00
Michal Čihař
d924b831fd Use read_dump.php instead of sql.php for links, otherwise we'll fail on commas. 2004-06-24 11:28:30 +00:00
Marc Delisle
4eb829f874 remove /images 2004-06-23 13:31:44 +00:00
Marc Delisle
85c2d52ce5 missing elements for Refresh link feature 2004-06-22 18:16:45 +00:00
Marc Delisle
919bfd6646 redesign phase 4 2004-06-18 20:02:27 +00:00
Marc Delisle
9d339c0a1f undefined unparsed_sql when fmtType is none 2004-06-17 19:46:33 +00:00
Marc Delisle
03f9900a64 fix original theme colors 2004-06-17 09:47:13 +00:00
Marc Delisle
a828c214da better message 2004-06-16 23:06:07 +00:00
Marc Delisle
59a2ae4d90 missing tags 2004-06-16 12:39:00 +00:00
Michal Čihař
1eaa0a7596 slight optimalisation 2004-06-16 07:39:48 +00:00
Marc Delisle
21fbc1d33d missing title tags 2004-06-16 01:54:29 +00:00
Michal Čihař
367d508d21 On error show edit link with table context if possible. 2004-06-15 17:27:17 +00:00
Michal Čihař
9e75a51fd0 for marc :-) 2004-06-15 15:36:56 +00:00
Marc Delisle
67d381bb22 test for PMA_securePath 2004-06-15 15:26:50 +00:00
Marc Delisle
a12663d2d0 PMA_securePath 2004-06-15 14:50:22 +00:00
Michal Čihař
019ce8747e Use same code for all server selection, possibly display server links also in right frame, show server links in query frame when possible. 2004-06-15 13:05:02 +00:00
Michal Čihař
cad8362923 various theme selector fixes 2004-06-15 11:10:55 +00:00
Michal Čihař
092769a727 Support for SHA1 function (RFE #971703). 2004-06-15 10:37:39 +00:00
Marc Delisle
bdaf8242e4 make it work with older config file 2004-06-14 23:16:37 +00:00
Marc Delisle
d9a21610d1 redesign part 3 2004-06-13 21:39:08 +00:00
Michal Čihař
d9cc90927c Add FOREIGN_KEY_CHECKS=0 to export (RFE #966038). 2004-06-08 09:21:48 +00:00
Alexander M. Turek
e10e729b96 backwards compatibility 2004-06-08 05:50:02 +00:00
Michal Čihař
6ecfb039fc Remove spaces from strServer, strDatabase 2004-06-03 10:20:28 +00:00
Michal Čihař
a32dc0b397 css improvements (design should not be changed by this, just the way how it is done) 2004-06-03 09:31:39 +00:00
Michal Čihař
1aaa89fa54 Little code reorganistaion (RFE #957308), removed some remaining php3 compatibility code in SQL parser. 2004-05-20 16:14:13 +00:00
Michal Čihař
ea63ab24c5 Show refresh link only for SELECT and SHOW queries. 2004-05-13 17:59:56 +00:00
Alexander M. Turek
1856f02c20 patch #947190 (Redesign) 2004-05-08 14:20:25 +00:00
Michal Čihař
0b9bdd62a7 Support for insert multiple rows at once (RFE #749733). 2004-05-05 10:05:30 +00:00
Michal Čihař
af00a22cdd Add Refresh link (RFE #942110). 2004-05-03 13:48:42 +00:00
Michal Čihař
e60b9ac61b Make tabs CSS styled (RFE #946540). 2004-05-03 09:35:14 +00:00
Marc Delisle
4d197aa5dc Patch 859034 better BLOB comparison 2004-04-29 17:35:57 +00:00
Garvin Hicking
8cc4bd7fa4 Bug #942296 - Safari can't handle location.replace() redirects
correctly
2004-04-28 12:13:36 +00:00
Michal Čihař
23f8ddfdbd When only_db matches no database, do not show any (bug #943626). 2004-04-28 10:57:25 +00:00
Michal Čihař
04229e997f Be valid XHTML. 2004-04-27 11:54:54 +00:00
Marc Delisle
02580c9b3b optional server list as links in left panel 2004-04-26 14:01:25 +00:00
Alexander M. Turek
f1e57ee07a bye bye, mysql_wrappers... 2004-04-17 11:00:13 +00:00
Michal Čihař
36f2eb3055 ANSI compatible exports (RFE #859815). 2004-04-16 08:37:51 +00:00
Michal Čihař
7dbba54afd Support for enclosing SQL export in transaction (RFE #930827). 2004-04-14 13:31:26 +00:00
Michal Čihař
f6a7525818 Really support export of UPDATE queries (bug #914237), condition generation used from previous implementation in display_tbl.lib.php and moved to common.lib.php. 2004-04-14 12:55:00 +00:00
Marc Delisle
3315aacde9 bug 898484 IIS crash 2004-04-13 18:59:22 +00:00
Marc Delisle
736b182dad Natural order 2004-03-26 18:49:56 +00:00
Marc Delisle
cf4bba92d9 bug 922553 2004-03-24 18:05:44 +00:00
Marc Delisle
78b92f76e1 bug 913704 2004-03-18 13:22:10 +00:00
Michal Čihař
fc0c608d82 Add support for IF NOT EXISTS in CREATE TABLE export (RFE #913421). 2004-03-10 13:13:27 +00:00
Michal Čihař
262462b03a added missed configuration for INSERT IGNORE 2004-03-10 12:59:01 +00:00
Marc Delisle
d4614b526a bug 887933, nested forms 2004-03-09 20:52:30 +00:00
Michal Čihař
0914c72f15 Can add custom text to SQL export headers (RFE #874361). 2004-03-09 16:21:37 +00:00
Michal Čihař
88dc344cdb Use charset aware substr and strlen functions (bugs #854755 and #910575). 2004-03-09 15:02:28 +00:00
Marc Delisle
6ce5dfa493 cookie login does not work if LoginCookieValidity is not defined 2004-03-01 18:31:21 +00:00
Alexander M. Turek
fd25405391 fixed my previous fix... (I was just too tired ;-) ) 2004-02-14 00:24:57 +00:00
Alexander M. Turek
9abea89287 bug #890186 2004-02-13 23:03:39 +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
55d1fe7b93 use PMA_DBI function 2004-01-20 20:31:40 +00:00
Marc Delisle
f8d049ace5 use PMA_DBI function 2004-01-20 20:24:00 +00:00
Marc Delisle
02e945b376 PMA_DBI_get_dblist 2004-01-19 20:09:43 +00:00
Alexander M. Turek
9b427fd7f6 backwards compatibility 2004-01-17 23:08:49 +00:00
Alexander M. Turek
6a6953899e Freed main.php from all direct calls to mysql_wrappers or the MySQL API. 2004-01-17 23:04:34 +00:00
Alexander M. Turek
7eced930bc database abstraction, part I 2004-01-17 01:47:36 +00:00
Alexander M. Turek
e2b955cc90 yet more charset stuff 2003-12-30 18:24:11 +00:00
Marc Delisle
5e15b1f73a maximum upload size 2003-12-12 16:54:52 +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
8d1bfe6f3b Reverted some obfuscated RegExes. Nijel, as you where working on that: I removed the bugfixes you threw in for my faulty code because there where some issue left (for me):
The lines

$re0 = '@(^|(\\\\\\\\)+|[^\\\\])'; // non-escaped wildcards
$re1 = '@(^|[^\])(\\\)+'; // escaped wildcards

as they currently where made no sense to me, because the single [^\] should be replaced to [^\\\\] as well, doesn't it? To not seriously break more stuff I decided to revert to the previous mechanism here.

I will do more serious tests the next days and will actually work with my PMA again and I pay close attention to see if there are any issues left.

I also searched through the code to see if the setting of the array points from former while() constructs was in any way used [current(), next(), prev(), key(), end(), each()] but did find none.
2003-11-25 19:20:20 +00:00
Michal Čihař
a66b1cc6b3 Use preg again, it just needs a bit more escaping of \ (once for PHP and once for PCRE). 2003-11-24 12:42:38 +00:00
Marc Delisle
096094b74d regex problem when only_db is used 2003-11-22 19:58:01 +00:00
Garvin Hicking
f0da471ec3 /libraries cleanup hopefully done. Double-Checked every change, my installation still works. ;)
Will continue working on remaining files tomorrow and hope to make it to the end of the next day.
2003-11-20 16:31:51 +00:00
Alexander M. Turek
048d4ce7fd workaround for CVS tag auto-replacements :o) 2003-11-18 21:17:22 +00:00
Alexander M. Turek
1f882147a7 Recognizing new 2.x config.inc.php revisions. 2003-11-18 20:40:36 +00:00
Michal Čihař
6884f9701a no more support for php3 2003-11-18 15:20:45 +00:00