Commit Graph

60 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
e2c83b954b Refactor relation functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-08-22 20:51:27 -03: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
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
64b1b79933 Refactor the transformations into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-05-31 16:36:09 -03:00
Michal Čihař
58472a97d2 Fixed javascript error on 3NF normalization
Fixes #12927

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-13 15:30:51 +01:00
Michal Čihař
18c0786eae Improve addMessage calls
- add call which accepts HTML markup
- use separator where applicable
- extend testcase to see HTML markup handling

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-16 14:25:33 +02:00
Durgesh
0b64827930 Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:36:41 +05:30
Michal Čihař
55b317c699 Remove /*overload*/ prefix from mb_* calls
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-04 16:35:28 +01:00
Hugues Peccatte
dffc8c34e9 Remove logic code in declaration files.
Move declaration out of logic file.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-27 18:56:39 +01:00
Hugues Peccatte
8ac9634c7a Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-24 13:30:22 +02:00
Michal Čihař
1169c0ef9e Be a bit more consistent in using full stop
Move full stop to end of sentence or add it to sentences where it is
missing. This just fixes common places where translators tend to use
sentence with full stop but we don't.

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-10-15 11:46:33 +02:00
Hugues Peccatte
7f8f34e89d Remove classes require_once.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
0761fb1801 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +02: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
Hugues Peccatte
03f5aaaf98 Update PHPDoc.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 21:50:17 +02:00
Hugues Peccatte
340b01b395 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 20:00:22 +02:00
Dan Ungureanu
8fb797ebe1 Fixed coding style.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:19 +03:00
Dan Ungureanu
c34cf9ff29 More refactoring.
Updated sql-parser library.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:16 +03:00
Madhura Jayaratne
6831b34c80 Remove unused variable in foreach
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-18 11:19:13 +05:30
Jason
cb771052c8 Finish refactoring tbl_*.lib.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-17 01:14:27 +08:00
Madhura Jayaratne
e2f680f8f7 Fix indentation
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-04 14:40:13 +05:30
Jason
79319a60fc Templates for table related scripts
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-05-31 03:23:26 +08:00
Madhura Jayaratne
b4c739849a Improve coding style in normalization.lib.php
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-27 18:35:57 +05:30
Madhura Jayaratne
3d85296d79 Spaces around assignments
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-27 18:06:36 +05:30
Marc Delisle
1bfdfd7dce Remove unused parameters
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-04-23 07:57:14 -04:00
Marc Delisle
75fd862c79 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-30 15:49:20 +01:00
Marc Delisle
a82da0bd48 Merge commit '69443f6' 2015-01-01 08:23:18 -05:00
Marc Delisle
69443f623d Clarify messages
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-01 08:20:53 -05:00
Hugues Peccatte
15461fa0ea Remove trailing whitespaces.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-22 13:29:06 +01:00
Madhura Jayaratne
5151958472 Improve coding style
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-04 16:46:17 +05:30
Madhura Jayaratne
aa99164cc8 Escape column type as well. Enums may contain arbitrary value
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-04 16:38:33 +05:30
Hugues Peccatte
42e0bdd47a Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 18:32:42 +01:00
Hugues Peccatte
3de88162ff Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-28 20:53:01 +02:00
Hugues Peccatte
5985894160 Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-07 00:31:45 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Smita Kumari
5d32c610f5 coding style fix
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
2014-08-14 19:08:04 +05:30
Marc Delisle
c1645e73e2 Improve messages
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-08-06 08:00:46 -04:00
Smita Kumari
d766b1459a 3NF complete
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
2014-08-05 17:05:31 +05:30
Marc Delisle
0b55c939d6 Fix parameter type
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-20 06:44:57 -04:00
Marc Delisle
1957587227 Remove extra space
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-19 07:40:28 -04:00
Marc Delisle
7726d6c169 Fix typo
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-18 11:55:00 -04:00
Marc Delisle
b43f4a2a89 Improve and simplify a message
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-17 15:45:25 -04:00
Marc Delisle
764b0bcfd4 Merge pull request #1288 from smita786/gsoc_automated_normalizaion
Gsoc automated normalizaion: new step to 1NF that move the repeating group of column to new table
2014-07-17 15:35:57 -04:00
Smita Kumari
54a413fd03 new step to 1NF: move repeating group of columns to new table
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
2014-07-18 00:53:49 +05:30
Marc Delisle
bcac346d00 Fix punctuation
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-15 10:44:53 -04:00
Marc Delisle
ac98a4bdf7 Fix punctuation
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-15 08:18:53 -04:00
Marc Delisle
e73875fc87 Improve message
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-15 07:25:25 -04:00
Marc Delisle
14292bde43 Fix typos
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-14 13:30:52 -04:00
Marc Delisle
d2d8aaaea2 Improve messages
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-14 13:26:25 -04:00