Commit Graph

516 Commits

Author SHA1 Message Date
Michal Čihař
41b045f130 Show warning in case user can only display privileges
Fixes #13442

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-18 14:55:24 +02:00
Michal Čihař
54466d68c6 Use Message to avoid need to specify namespace
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-18 14:55:24 +02:00
Maurício Meneghini Fauth
ca910e8de8 Move classes to PhpMyAdmin namespace
- Move Table to PhpMyAdmin namespace
- Move Template to PhpMyAdmin namespace
- Move ThemeManager to PhpMyAdmin namespace
- Move Theme to PhpMyAdmin namespace
- Move Tracker to PhpMyAdmin namespace
- Move Transformations to PhpMyAdmin namespace
- Move TypesMySQL to PhpMyAdmin namespace
- Move Types to PhpMyAdmin namespace
- Move Util to PhpMyAdmin namespace
- Move VersionInformation to PhpMyAdmin namespace
- Move Url to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-08 10:54:21 -03:00
Maurício Meneghini Fauth
119563b7ea Move classes to PhpMyAdmin namespace
- Move OpenDocument to PhpMyAdmin namespace
- Move OutputBuffering to PhpMyAdmin namespace
- Move Partition to PhpMyAdmin namespace
- Move Pdf class to PhpMyAdmin namespace
- Move RecentFavoriteTable to PhpMyAdmin namespace
- Move Response to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-30 23:44:10 -03:00
Maurício Meneghini Fauth
54a15dbd9c Move classes to PhpMyAdmin namespace
- Move Logging to PhpMyAdmin namespace
- Move Menu to PhpMyAdmin namespace
- Move Message to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-30 13:30:04 -03:00
Maurício Meneghini Fauth
13c0f7bc3c Move classes to PhpMyAdmin namespace
- Move Advisor to PhpMyAdmin namespace
- Move Bookmark to PhpMyAdmin namespace
- Move Charsets to PhpMyAdmin namespace
- Move Config class to PhpMyAdmin namespace
- Move Console class to PhpMyAdmin namespace
- Move Core to PhpMyAdmin namespace
- Move DatabaseInterface to PhpMyAdmin namespace
- Move DbList to PhpMyAdmin namespace
- Move DbQbe to PhpMyAdmin namespace
- Move DbSearch to PhpMyAdmin namespace
- Move DisplayResults to PhpMyAdmin namespace
- Move Encoding to PhpMyAdmin namespace
- Move Error to PhpMyAdmin namespace
- Move ErrorHandler to PhpMyAdmin namespace
- Move File to PhpMyAdmin namespace
- Move Font to PhpMyAdmin namespace
- Move Footer to PhpMyAdmin namespace
- Move Header to PhpMyAdmin namespace
- Move Index to PhpMyAdmin namespace
- Move IndexColumn to PhpMyAdmin namespace
- Move LanguageManager to PhpMyAdmin namespace
- Move Language to PhpMyAdmin namespace
- Move Linter to PhpMyAdmin namespace
- Move ListAbstract to PhpMyAdmin namespace
- Move ListDatabase to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-28 21:17:18 -03:00
Maurício Meneghini Fauth
3f632ef7bc Move js/zxcvbn.js to js/vendor/zxcvbn.js
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-14 02:01:11 -03:00
Maurício Meneghini Fauth
e330402b5b Refactor the core functions into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-03 00:52:22 -03:00
Michal Čihař
308c9d7951 Simplify Response object handling
- always use use and short name
- avoid calling getInstance() several times in one script

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 18:17:59 +01:00
Michal Čihař
b56f101039 Remove is_ajax_request global
We already have the same information on Response object, so let's use it
from there.

Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 17:54:34 +01:00
Michal Čihař
eb731c91ff Merge remote-tracking branch 'origin/pull/12363' into tmp 2016-11-10 09:45:31 +01:00
Pavel Rochnyack
d1e353f235 Fix #12419 wrong description on GRANT option of table/routine privileges.
Signed-off-by: Pavel Rochnyack <pavel2000@ngs.ru>
2016-08-14 20:13:27 +01:00
Achilles-96
6ddcc51920 Fixes #12352 - password strength simulator
Signed-off-by: Raghuram Vadapalli <raghuram.vadapalli@research.iiit.ac.in>
2016-08-03 14:36:49 +05:30
Michal Čihař
489970f218 Fixed deleting users in non English locales
Fixes #12413

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-29 10:44:58 +02:00
Madhura Jayaratne
7f3fcfd1ca Fix #11622 Reloading privileges is not allowed
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-30 21:26:38 +11:00
Madhura Jayaratne
4d4cb9a5c2 Merge branch 'QA_4_5'
Conflicts:
	server_privileges.php
2015-10-27 08:12:53 +11:00
Madhura Jayaratne
dc5e057fe2 Fix #11607 Unable to change password from Login information tab - make the error message more explicit
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-27 08:09:43 +11:00
Hugues Peccatte
ffc4422db7 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-19 20:33:21 +02:00
Hugues Peccatte
6f4676cdfc Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-10-04 18:04:49 +02:00
Marc Delisle
fd7c8522ea Clarify method name
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-03 10:14:29 -04:00
Hugues Peccatte
71b62bcef9 Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-09-26 13:50:49 +02:00
Madhura Jayaratne
45c05e3ad6 Fix coding style violations related to function calls
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-22 21:00:47 +10:00
Hugues Peccatte
5a7d7fb3ab Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-19 23:06:01 +02:00
Hugues Peccatte
21460a01c0 Merge branch 'master' into useNamespaces_master 2015-09-18 23:17:22 +02:00
Madhura Jayaratne
fcaf6e360a Fix #11479 Allow setting routine wise privileges
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-17 07:36:51 +10:00
Hugues Peccatte
f0ba28fc1d Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
Marc Delisle
bb01f9b2b7 Refactor db_info.inc.php
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-25 11:16:59 -04:00
Madhura Jayaratne
ad49ae971e These checks are redundant. <feature>work variables should always be defined unless in an upgrade
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-15 19:31:37 +05:30
Madhura Jayaratne
d9afffb089 Remove configuration storage data related to a user upon deleting the user
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-02 11:52:13 +05:30
Rahul Kadyan
4d308ba364 Remove unneeded closing tags
Closing tags at the end of file are not mandatory. It is often
suggested to omit to closing tags at the end of file to prevent
unwanted effects as PHP will start output buffering if there is
any character after closing tag.

Reference: http://php.net/manual/en/language.basic-syntax.phptags.php

Signed-off-by: Rahul Kadyan <hi@znck.me>
2015-03-06 23:37:35 +05:30
Marc Delisle
769df9acec Bug Undefined index menuswork
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-08 09:33:02 -05:00
Marc Delisle
e8e62d00f0 Merge branch 'QA_4_2' 2014-10-23 12:58:09 -04:00
Marc Delisle
e6c3f10d72 bug #4571 Database Privileges link does not work
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-10-23 12:57:45 -04:00
Marc Delisle
8a3bf5af9f Refactor code duplication
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-10-20 13:14:05 -04:00
Madhura Jayaratne
7027bcf3d1 Cleanup edit privilege functionality
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-03 09:48:15 +05:30
Madhura Jayaratne
6355df8f3b Cleanup add user functionality
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-03 07:04:03 +05:30
Marc Delisle
9f65021d1e Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-09 09:21:27 -04:00
Hugues Peccatte
cf5783e427 Merge remote-tracking branch 'origin/QA_4_2' 2014-09-07 17:13:07 +02:00
Hugues Peccatte
451ece01f4 Fix #4524: Add missing 0 initial on the "Users overview".
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-07 15:17:27 +02:00
Chanaka Dharmarathna
32daae2b03 rfe-1521 : Add confirmation, when delete user
Signed-off-by: Chanaka Dharmarathna <pe.chanaka.ck@gmail.com>
2014-08-16 23:20:56 +05:30
Chirayu Chiripal
04a3a7073b RFE-1488/781: User privilege tab not shown in all relevant cases
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-07-18 00:13:08 +05:30
Ashutosh Dhundhara
d8134c9116 RFE#706: Multi-db privileges adding.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-05-25 19:25:36 +05:30
Michal Čihař
d08a188ffe Consistent naming of privileges ending with comma 2014-02-02 10:36:38 +01:00
Michal Čihař
f13bd95c12 Add missing full stop 2014-02-02 09:59:10 +01:00
Marc Delisle
a6926c4f43 Improve function names
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-02 08:31:37 -05:00
Hugues Peccatte
8b5c1ae617 Throw an error not to leave the interface. 2013-12-01 10:17:17 +01:00
Hugues Peccatte
6b2ed44c50 Display error message when using "Change Login Information / Copy User" dialog to update password (bug 4157) 2013-12-01 00:21:05 +01:00
Kasun Chathuranga
a9983882b9 Move user group related functions to a lib file of its own 2013-09-09 07:10:06 +05:30
Kasun Chathuranga
74f363f4b5 Merge branch 'master' into tablePrivs 2013-08-31 14:14:54 +05:30
Kasun Chathuranga
d19049cb81 Show sub menus only in Users page 2013-08-31 13:23:24 +05:30