Commit Graph

286 Commits

Author SHA1 Message Date
Marc Delisle
70c6e5a32c rfe #2657696 Automatically copy generated password 2009-05-04 16:32:16 +00:00
Marc Delisle
01dbe95dff add reference to mysql_upgrade command 2009-03-05 16:57:43 +00:00
Michal Čihař
eceb0aa5bc rfe #2186820 Explanation for using Host table. 2009-03-03 15:08:13 +00:00
Marc Delisle
de126075ef patch #2596230 [XHTML] View table headers/footers completely 2009-02-20 09:22:20 +00:00
Marc Delisle
3755869d83 patch #2541261, improvement to patch #2506831 2009-02-01 12:26:33 +00:00
Marc Delisle
e37c506dd6 patch #2505255 [privileges] Cleanup, thanks to Virsacer - virsacer 2009-01-27 17:54:57 +00:00
Marc Delisle
fba0302bd1 patch #2506831 [privileges] Create user for existing database 2009-01-17 22:22:52 +00:00
Marc Delisle
bd3595f7cb patch #2498350 [cleanup] XHTML cleanup 2009-01-13 22:55:44 +00:00
Marc Delisle
f606970a1f bug #2416418 Escaping special characters (and other problems too) 2009-01-04 20:26:23 +00:00
Michal Čihař
50ea90e605 Use PMA_backquote where applicable. 2008-12-09 13:04:19 +00:00
Marc Delisle
9b5b648e65 patch #1821619 [privileges] Extra back reference when editing table-specific privileges 2008-12-08 17:39:30 +00:00
Michal Čihař
56941e509c Adding @package, second part. 2008-11-24 11:05:40 +00:00
Marc Delisle
e94d069cf2 patch #2176438 [privileges] Wrong message when changing password 2008-10-18 23:35:22 +00:00
Marc Delisle
3b5b6ed3f7 bug #2063100 Unknown column Event_priv 2008-08-21 16:55:31 +00:00
Marc Delisle
ad63e8f0eb use PMA_generate_html_radio() 2008-01-08 18:22:40 +00:00
Sebastian Mendel
ace0569f94 fixed possible SQL injection using database name 2007-11-09 07:41:47 +00:00
Marc Delisle
5abf6d7bb7 this must have been tracing code :) 2007-10-19 17:26:12 +00:00
Sebastian Mendel
26599a4fe2 fixed call to PMA_Message::addParam() 2007-10-18 07:24:04 +00:00
Sebastian Mendel
107fc46ad9 make use of PMA_Message 2007-10-16 12:14:19 +00:00
Sebastian Mendel
55356e7b5e cleanup
avoid PMA_mysqlDie()
2007-10-15 11:37:26 +00:00
Sebastian Mendel
8348ed3818 do not force charset (collation), charset (collation) is defined in the db, table and/or field 2007-10-15 08:54:12 +00:00
Sebastian Mendel
ac69f1cad1 fixed bug #1811519 Can't delete user with a german umlaut.
return to privileges pages in case of error in drop user
2007-10-12 12:16:48 +00:00
Sebastian Mendel
c47b15a6b2 cleanup 2007-10-11 14:08:25 +00:00
Sebastian Mendel
afe75063df change FlushPrivilegesNote from WARNING to NOTICE 2007-10-11 12:54:59 +00:00
Sebastian Mendel
81b7f9a3fc patch #1807615 [GUI] Display patch for column rights in Opera
make use of PMA_Message
2007-10-11 12:45:12 +00:00
Marc Delisle
9e9d5309d1 new/changed messages 2007-10-11 12:00:47 +00:00
Sebastian Mendel
69f193e47c make use of PMA_getIcon()
added support for EVENT and TRIGGER privileges
cleanup
2007-10-11 09:13:27 +00:00
Sebastian Mendel
40b3ce9fd1 use array to define included JavaScript libraries 2007-10-04 09:22:50 +00:00
Sebastian Mendel
9f6d5979db removed MySQL < 5 code 2007-10-02 10:15:06 +00:00
Marc Delisle
6147b3565e Support password hashing on the Edit Privileges interface 2007-07-18 15:32:08 +00:00
Sebastian Mendel
cfeb306526 coding standard: no spaces inside braces 2007-04-01 11:02: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
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
Marc Delisle
3ad4d14bde bug #1635377, superfluous backslash 2007-01-20 15:38:45 +00:00
Marc Delisle
a3c4e465e4 bug #1614087, deleting a user having a
global GRANT privilege fails under MySQL 4.1.x
2007-01-02 15:40:25 +00:00
Marc Delisle
3bee553ab2 grant all privileges on wildcard name: did not work as intended 2006-12-05 17:55:26 +00:00
Michal Čihař
dda0db43d0 Use correct links (patch #1607236). 2006-12-05 10:24:03 +00:00
Michal Čihař
a247be5fc0 Add IF NOT EXISTS to CREATE DATABASE query (RFE #1608372), reload navigation after creating database. 2006-12-05 10:11:16 +00:00
Michal Čihař
5eb166184f Rename db_details_db_info.inc.php to db_info.inc.php. 2006-10-19 08:58: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
7e6b238fb9 bug #1526557, display error when admin lacks some privileges and tries to do a privilege change 2006-07-26 20:41:59 +00:00
Marc Delisle
fde2f613ad bug #1478812, Add new user, password containing backslash 2006-05-17 10:33:23 +00:00
Michal Čihař
817c2339bd Create database for newly created user (RFE #479640). 2006-04-26 22:20:31 +00:00
Sebastian Mendel
0a9c4fc3eb never rush a checkin - its allways trouble 2006-04-11 15:13:22 +00:00
Sebastian Mendel
44a0f36096 use PMA_getenv() 2006-04-11 14:33:17 +00:00
Marc Delisle
95fe3cecab bug 1427707, radio button unselectable 2006-03-21 17:41:33 +00:00
Marc Delisle
e35b13a8a6 MySQL < 4.0.2 compatibility 2006-03-14 17:37:28 +00:00
Sebastian Mendel
0ae8842353 (not complete) PEAR coding standard 2006-01-17 17:03:02 +00:00
Marc Delisle
258d8bf84c typo 2006-01-16 17:22:14 +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
0ebee3fbc8 bug #1398018, Safari fieldset float issue in privileges screens 2006-01-07 13:13:05 +00:00
Marc Delisle
f79c3973d6 some options to remove a user do not work on MySQL 4.1.1+ 2006-01-04 17:46:51 +00:00
Michal Čihař
b61e1e99ad Fix XHTML. 2005-12-08 19:25:44 +00:00
Marc Delisle
ef4ea978e1 do not use UNION DISTINCT 2005-12-04 19:51:23 +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
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
Sebastian Mendel
0567bfe215 drop PMA_setFontSizes() 2005-11-23 14:17:53 +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
088b3cf07a - bug #1353437 Table/Column privileges brokeness new in HEAD
- fixed proper display fo yes/no for column/table specific rights
- fixed row selection
- make use of javascript:un/markAllRows()
- adapted layout like db, table and row lists
2005-11-13 08:10:26 +00:00
Michal Čihař
9df1de79bc Revert fix for #1353437, there are wrong data and not displaying of it, fix bad display of table privileges. 2005-11-10 21:41:01 +00:00
Marc Delisle
7868520c9f handle many hosts per user definition for checkbox labels 2005-11-10 21:20:59 +00:00
Marc Delisle
508f5a2348 bug #1353437, undefined index in server_privileges.php 2005-11-10 21:15:21 +00:00
Marc Delisle
e9199acb65 bug #1353435, selecting users to drop is broken 2005-11-10 20:50:33 +00:00
Sebastian Mendel
267674f962 javascript errors 2005-11-09 13:13:27 +00:00
Sebastian Mendel
2da8671831 db with only table specific rights where not displayed if there was not at least one db with db specfic rights 2005-11-09 12:36:13 +00:00
Marc Delisle
ce68e023e2 undefined variable 2005-11-01 18:46:42 +00:00
Marc Delisle
0a7036cfa1 do not display password No if this is not a real user definition 2005-10-31 13:39:33 +00:00
Marc Delisle
0fd2ba167f respect the chosen initial 2005-10-29 18:49:54 +00:00
Sebastian Mendel
59e0493b3e - minor tweak in display
- added PMA_unescape_mysql_wildcards()
- bug #1144110 Unable to escape "_"
- now every user from every mysql table is displayed
- no table specific rights for db wildcards
2005-10-28 09:16:36 +00:00
Sebastian Mendel
ce7425d598 bug #688255 Can't edit priv. when different host in db and user 2005-10-27 20:49:15 +00:00
Sebastian Mendel
e1062426cf forgot one if() 2005-10-27 18:31:22 +00:00
Sebastian Mendel
6c7933cd52 - bug #1274032 Field privileges with database names containing underscores
- use DROP USER
 - use db_name LIKE REPLACE( mysql.db.Db, \_, _ )
2005-10-27 15:23:32 +00:00
Sebastian Mendel
e947e6d2db MySQL 5 requires CREATE USER before GRANT 2005-10-26 19:28:23 +00:00
Sebastian Mendel
a51f2533ea unified message boxes (error, warning, confirmation) 2005-10-26 17:32:19 +00:00
Sebastian Mendel
d1346a3c2d XHTML compl., NOTICE, Icons for Edit/Revoke Links 2005-10-13 08:47:09 +00:00
Sebastian Mendel
bea48c6e6d XHTML compl. 2005-10-12 16:09:44 +00:00
Marc Delisle
c7dc601156 bug #1226819, Accepting Negative values in Resource Limits in Privileges 2005-10-09 11:32:27 +00:00
Michal Čihař
d00f506329 Limit username and hostname to actual limits of MySQL (RFE #1178071). 2005-10-09 09:00:25 +00:00
Marc Delisle
20c9f89683 support MAX_USER_CONNECTIONS 2005-10-08 19:42:39 +00:00
Michal Čihař
5214f57c6f Better show error, define used message strDeleteNoUsersSelected. 2005-10-08 15:22:14 +00:00
Marc Delisle
2ec555a558 Execute_priv support 2005-10-03 18:23:26 +00:00
Michal Čihař
64bd56dfba Support for browsing selected columns (RFE #1275909). 2005-09-26 19:03:11 +00:00
Marc Delisle
88733b1ecb undefined index 2005-08-07 12:48:11 +00:00
Marc Delisle
a710cb1df8 patch #1249363, remove unneeded wordwrap(), table width should be limited by the template if needed 2005-08-02 12:04:08 +00:00
Olivier Müller
b3a0d39e8b typo (:) 2005-06-12 10:25:38 +00:00
Olivier Müller
0f1a4d4df9 added strings for RFE #1197482: $strGeneratePassword, $strGenerate and $strCopy 2005-06-12 10:10:11 +00:00
Marc Delisle
746736b23e make the password generator work also when editing a user 2005-05-17 16:59:44 +00:00
Olivier Müller
75833b0cd9 RFE #1197482, password generator on user creation. RFC: ok like that? TODO: add strings. 2005-05-16 22:29:01 +00:00
Marc Delisle
a6a0822ed0 db view: add Privileges tab, and server view: add a back link to the db while checking privileges 2005-05-08 10:53:56 +00:00
Olivier Müller
ba331a45ba always display the "Add a new user" link on the 'user overview' page 2005-05-08 00:14:55 +00:00
Marc Delisle
38c65094db bug #1179969, MySQLi and privileges 2005-04-10 12:28:59 +00:00
Marc Delisle
abd90b29d8 bug #1113788, escaping character removed by error 2005-02-18 02:58:12 +00:00
Marc Delisle
812c3122d5 bug #1118137, host not changing when editing user 2005-02-13 20:36:58 +00:00
Michal Čihař
f1f39b8ed1 added infou about UFPDF to documentation 2004-12-29 14:16:51 +00:00
Marc Delisle
9c027b859f MySQL 4.1.x compatibility for list of initials 2004-11-02 11:42:01 +00:00
Marc Delisle
7bad177f30 better compatibility for top index 2004-10-30 00:25:41 +00:00
Marc Delisle
df57ad178d top index for user initials 2004-10-23 16:06:04 +00:00
Marc Delisle
a40f6200ba strEscapeWildcards 2004-10-20 00:28:22 +00:00
Michal Čihař
f95db7a99a Make non-js checkall work also for adding new user (bug #1028055). 2004-10-19 16:46:22 +00:00
Michal Čihař
67d35fc6af Work better in ANSI mode (bug #816858). 2004-10-19 14:25:57 +00:00
Marc Delisle
b40d6f15ab cosmetic: title for Edit privileges 2004-10-15 19:53:59 +00:00
Garvin Hicking
9392a58483 removed superfluous spaces, introduced more CSS ID attributes 2004-10-08 11:14:08 +00:00
Marc Delisle
f04a85f22e stay on the form when passwords don't match 2004-09-14 16:04:07 +00:00
Marc Delisle
efb633ff1a bug 1003238 cannot manipulate usernames containing @ 2004-09-11 20:46:25 +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
1bbfdda014 bug 1007870 illegal mix of collations for operation UNION 2004-08-29 18:02:26 +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
781aada903 bug 997682, almost complete fix 2004-07-25 22:25:02 +00:00
Alexander M. Turek
bb12e03b3a bug #979596 2004-06-25 20:16:04 +00:00
Marc Delisle
d9a21610d1 redesign part 3 2004-06-13 21:39:08 +00:00
Alexander M. Turek
b7c84e4247 Enabled new icons for privileges administration. 2004-06-07 08:07:53 +00:00
Michal Čihař
51fc2da513 No ugly message when editing privileges for non-existant database (bug #942357). 2004-04-28 14:46:16 +00:00
Michal Čihař
928a8b33db Be valid XHTML 2004-04-27 12:36:12 +00:00
Alexander M. Turek
c1dbe4b57d Fixed an error that occured when adding privileges to non-existant or wildcarded tables. 2004-04-20 21:15:28 +00:00
Alexander M. Turek
7281232b88 Illegal mix of collations.
There's more where this came from... Will do the rest tomorrow.
2004-04-19 22:10:42 +00:00
Alexander M. Turek
4d81774960 Yet another "MySQL out of sync" error. 2004-04-18 14:21:16 +00:00
Alexander M. Turek
ad236e55ce Hotfix to avoid "MySQL out of sync" errors. 2004-04-18 14:04:58 +00:00
Alexander M. Turek
a4cc456c99 $url_query was not visible in function scope. 2004-04-18 13:35:20 +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
Olivier Müller
c56cf7cf47 added (un)checkall links to the "Global privileges" edition form 2004-04-03 00:29:59 +00:00
Marc Delisle
f947e79baa bug 923227 copying a user with table privileges does not work 2004-03-29 19:23:33 +00:00
Marc Delisle
ea070d828d bug 923171 password error when copying a user 2004-03-29 17:53:23 +00:00
Marc Delisle
9c949b15db bug 818654 2004-02-11 14:30:04 +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
f8d049ace5 use PMA_DBI function 2004-01-20 20:24:00 +00:00
Alexander M. Turek
37d50c1822 Huge set of optimizations, please test! 2003-11-26 22:52:25 +00:00
Alexander M. Turek
4529330745 while (list() = each()) is not always as bad as one might think ;-p 2003-11-23 16:35:40 +00:00
Garvin Hicking
c2b46ac945 Final batch of PHP3-Compatibility fixes. Please test. :-) 2003-11-22 20:57:48 +00:00
Alexander M. Turek
f7c93f5bb1 Dropped some MySQL 3.21 / php 3 compatibility code. 2003-11-20 00:27:37 +00:00
Michal Čihař
6884f9701a no more support for php3 2003-11-18 15:20:45 +00:00