Michal Čihař
1fccdb4da0
Fix typo in transformation
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-14 10:47:21 +01:00
Michal Čihař
e40a81602a
Fixed setting input transformations
...
Fixes #13477
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 15:24:21 +02:00
Michal Čihař
b7788850a9
Fixed usage of some browser transformations
...
Fixes #13478
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-18 14:18:02 +02:00
Michal Čihař
300cc8b8b2
Factor out code for MIME tranformations mapping
...
Issue #1347
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-18 14:07:55 +02:00
Michal Čihař
dad93483c1
Merge branch 'QA_4_6'
2016-11-10 11:08:36 +01:00
Deven Bansod
f14cffdbe7
Properly escape strings in MySQL statement values
...
Use *_real_escape string functions provided by connectors to escape strings while exporting
Fix #12453
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
Conflicts:
libraries/server_privileges.lib.php
2016-10-29 10:45:12 +05:30
Michal Čihař
3546bed47e
Avoid using mb_strlen for checking whether string is empty
...
Using strlen produces same results here, just way faster.
Fixes #12397
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 10:29:21 +02:00
Michal Čihař
957e2d0b11
Merge branch 'QA_4_6'
2016-08-02 15:14:54 +02:00
Michal Čihař
bb9317d192
Do not try to load old transformation plugins
...
Fixes #12395
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-02 15:13:07 +02:00
Michal Čihař
c328697e39
Do not use mb_strlen result for string indexes
...
The string indexes are in bytes, while mb_strlen counts chars.
Issue #12397
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-29 13:54:04 +02:00
Michal Čihař
be3ecbb4cc
Simplify and cleanup transformation plugins
...
Remove PMA_transformation_global_html_replace which makes the code only
more confusing.
Also add escaping to browse transformations.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-17 16:18:13 +02:00
Madhura Jayaratne
9873f76e5f
Fix #11771 Transformation column path problem
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-12 19:51:33 +11:00
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
8baf7c4a8a
Update PHPDoc.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-12-11 23:21:54 +01:00
Hugues Peccatte
f9d582bd09
Make PHPCS happy.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-11-08 15:58:48 +01:00
Hugues Peccatte
37bf6f2093
Update nodes load.
...
Fix template call.
Remove useless 'use'.
Fix node load.
Fix merge.
Attempt to fix transformation unit test.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-20 00:21:28 +02:00
Hugues Peccatte
2f9e29dbf4
Fix path to load transformation plugins.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-19 18:54:06 +02:00
Hugues Peccatte
2ca0d4ddc2
Fix transformation plugins load.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-18 23:54:32 +02:00
Hugues Peccatte
8c289e523b
Revert transformation classes rename.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 21:48:43 +02:00
Hugues Peccatte
857c8a92cf
Move abstract transformation plugins to abs folder.
...
Update templates.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 14:13:31 +02:00
Hugues Peccatte
178a6edd38
Add namespace on part of plugins classes.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-05 00:33:42 +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
Dan Ungureanu
236e0b6a6b
Fixed coding style.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:49 +03:00
Dan Ungureanu
91b97fadc2
Remove unneeded closing tags.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Madhura Jayaratne
366cdbfc2f
Remove unused parameter
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-18 13:15:58 +05:30
Madhura Jayaratne
e9e43f9c34
Add type hinting
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-18 13:13:03 +05:30
Madhura Jayaratne
5857fe163d
Fix spacing after opening brace
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 11:05:08 +05:30
Madhura Jayaratne
d54df757f6
Fix spacing after param type
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 10:47:24 +05:30
Madhura Jayaratne
853541ccc0
Display transformation name as well
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-20 17:43:31 +05:30
Madhura Jayaratne
f805f09bc4
Fix failing test
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-09 21:52:24 +05:30
Madhura Jayaratne
a790c2cf33
rfe #347 allow table with transformed column anywhere in FROM clause
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-09 21:31:28 +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
fd7f02f929
Fix typos.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 14:33:41 +01:00
Hugues Peccatte
80ced5fe8f
Fix PHPCS issues.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-30 18:37:49 +01:00
Hugues Peccatte
48bd3b8ee5
Remove unused $pmaString.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-05 10:42:44 +02: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
9b77d746ab
Mass modifications to use PMA_String.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Chirayu Chiripal
1f324be4b1
RFE-637: Custom field handlers (input transformations)
...
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-07-12 01:52:32 +05:30
Michal Čihař
5bc20f4e0f
Ignore hidden files when looking up transformations
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-31 14:03:45 +02:00
Hugues Peccatte
c2c3da1c31
Rename variable.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-01-05 15:21:27 +01:00
Hugues Peccatte
6b01f835cb
Rename too short variables.
...
Remove useless initializations.
Rename too long variables.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-01-04 20:46:18 +01:00
Hugues Peccatte
661db9ec47
Update PHPDoc.
2013-11-08 19:28:20 +01:00
Michal Čihař
48df0d6d23
Another syntax error
2013-08-07 11:30:20 +02:00
Michal Čihař
ffae07abda
Wrap long lines
2013-08-07 10:54:51 +02:00
Michal Čihař
8e71b13ced
CS compliant transformation helper functions
2013-08-07 10:53:09 +02:00
Michal Čihař
9310e76a0e
Fix indentation
2013-07-30 13:23:51 +02:00
Michal Čihař
df39efd08b
Correctly call static method
2013-07-02 10:07:05 +02:00
Michal Čihař
0e02a35d2e
Revert "Temporary workaround for bug #3783 :"
...
This reverts commit 2683f32033 .
2013-07-01 15:29:56 +02:00
Michal Čihař
37d142bc3f
Remove compatibility code for PHP 5.2
2013-07-01 15:29:56 +02:00
Madhura Jayaratne
3dd99512f0
These constants are better as a part of DatabaseInterface class
2013-05-26 21:15:24 +05:30