Commit Graph

1164 Commits

Author SHA1 Message Date
Michal Čihař
7153a45546 Correctly merge server variables fix to master 2013-08-07 14:43:01 +02:00
Michal Čihař
c419f5be59 Add some missing includes 2013-08-07 11:40:28 +02:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Michal Čihař
8e71b13ced CS compliant transformation helper functions 2013-08-07 10:53:09 +02:00
Michal Čihař
d7c3b58337 Dropped MySQL manual type configuration
Nothing but default settings is really working now:

- most formats are no longer available on MySQL formats
- for downloadable doc our links are in most cases broken and nobody
  noticed this, so I assume nobody is using this
- anyway most current installations don't have troubles with internet
  access what was main motivation for this configuration directive
2013-08-07 08:32:01 +02:00
Michal Čihař
f53a05afcc Include gettext instead of mocking up the function 2013-08-06 15:28:19 +02:00
Michal Čihař
f04569966f We now use normal double quotes here 2013-08-06 15:13:27 +02:00
Michal Čihař
121845d6d9 Sometimes takes longer 2013-08-06 15:12:07 +02:00
Michal Čihař
554d0fbb42 Remove tests for removed methods 2013-08-06 13:43:23 +02:00
Michal Čihař
b8ea23ab9f Drop $cfg['SQP']['fmtType']
It has no effect anyway and in case we would want to make syntax
highlighting optional, it needs to be done in javascript and needs
better configuration name than this one.
2013-08-06 13:35:09 +02:00
Michal Čihař
2783d92621 Drop no longer used $cfg['SQP']['fmtColor'] 2013-08-06 13:31:10 +02:00
Michal Čihař
2c1f014171 Replace getCssCodeMirror by inline CSS 2013-08-06 13:29:47 +02:00
Michal Čihař
32b33a9e26 Incorporate truncating into PMA_Util::formatSql
It is used quite often as well.
2013-08-06 12:29:27 +02:00
Michal Čihař
cb413506a6 As PMA_Util::formatSql is now trivial, the test can be as well 2013-08-06 12:24:28 +02:00
Michal Čihař
99af0cbc7e Remove unused parameter from PMA_Util::formatSql
We no longer need parsed SQL here.
2013-08-06 12:24:28 +02:00
Michal Čihař
959644445d PMA_Util::formatSql now requires unparsed query as well
In most cases we just need to output it as is, formatting is done in
javascript.
2013-08-06 12:04:14 +02:00
Michal Čihař
6bb21aec66 Do not try to add documentation links with disabled docs 2013-08-06 11:56:37 +02:00
Michal Čihař
e2d154319d Merge pull request #567 from adamgsoc2013/ut_plu_dbi
add test cases to cover more issues on import and transformations
2013-08-06 01:11:42 -07:00
adamgsoc2013
202d7f40bc Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into UT_plu_table 2013-08-05 23:50:43 +08:00
adamgsoc2013
66184fe8cc fix code comments on test code 2013-08-05 23:50:20 +08:00
adamgsoc2013
09e4190073 using space instead of tab; fixing indention 2013-08-05 22:48:49 +08:00
adamgsoc2013
12a827abc4 add test cases to cover more issues on import and transformations 2013-08-05 22:43:33 +08:00
ayushchd
c823778b47 Resolve merge conflict 2013-08-05 14:44:04 +05:30
Marc Delisle
b0a4eca472 Fix typo 2013-08-04 18:22:14 -04:00
xmujay
d260060106 fix the wrong comment for the case: value is not a number 2013-08-04 17:49:26 -04:00
xmujay
137614355b using better variable name and comments 2013-08-04 17:49:26 -04:00
xmujay
a6d93f2abb fix the typo: varible ==> variable 2013-08-04 17:49:26 -04:00
xmujay
9fb3acebee split the long assertion which failed due to time hard code 2013-08-04 17:49:26 -04:00
xmujay
909fcefb5d UTs for PMA_server_variables 2013-08-04 17:49:26 -04:00
ayushchd
7eebe49fd7 Fix test case for date issue 2013-08-04 20:41:02 +05:30
Madhura Jayaratne
a84700e151 Merge pull request #553 from ayushchd/unit_testing_2
UTs and fixes
2013-08-04 04:17:50 -07:00
ayushchd
ec411d700b Fix test case 2013-08-03 23:03:48 +05:30
ayushchd
9c6041c816 More tests for export libraries 2013-08-03 22:25:17 +05:30
Isaac Bennetch
91c2523fa2 Merge pull request #555 from kasunchathuranga/unitTesting
Unit testing
2013-08-03 06:39:43 -07:00
Kasun Chathuranga
2f252cc83d Fix failing tests 2013-08-03 17:36:14 +05:30
Kasun Chathuranga
8b5ebb8784 Break different scenarios into different tests 2013-08-03 17:36:12 +05:30
Kasun Chathuranga
6b18c1764b Unit tests for user group manipulation functions 2013-08-03 17:36:11 +05:30
ayushchd
226e027e5b Merge remote-tracking branch 'upstream/master' into unit_testing_2 2013-08-03 15:12:37 +05:30
xmujay
be4f83eb96 Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into server_refactor2 2013-08-02 21:48:07 +08:00
xmujay
db39eeb423 refactor server_variables
1. move functions to separated files
2. render HTML at once
3. refactor function name to PMA_getHtmlForSubPageHeader
2013-08-02 20:05:27 +08:00
adamgsoc2013
cdf2980b4e test case for DBIDrizzle 2013-08-02 00:09:54 +08:00
Marc Delisle
9c660d150c Merge pull request #556 from xmujay/server_refactor2
Uts for PMA_server_status_queries
2013-07-31 11:15:58 -07:00
Kasun Chathuranga
26945d9db0 Fix test failures 2013-07-31 18:55:11 +05:30
Kasun Chathuranga
9d451761ab Tests for find and replace feature 2013-07-31 18:24:08 +05:30
Kasun Chathuranga
c4686207ad Tests for PMA_generateRelationalDropdown() in tbl_relation.lib.php 2013-07-31 18:23:43 +05:30
xmujay
9bc7deb9a5 Uts for PMA_server_status_queries 2013-07-31 20:48:48 +08:00
ayushchd
22e66caf03 Remove assertion of configurable properties 2013-07-31 02:09:23 +05:30
ayushchd
81a338679d Tests for libraries/plugins/export* 2013-07-31 02:06:34 +05:30
adamgsoc2013
c9ae7ff6e9 test case for PMA_relation 2013-07-30 22:11:31 +08:00
adamgsoc2013
2d136251e3 Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into UT_plu_table 2013-07-30 21:26:56 +08:00