Commit Graph

108948 Commits

Author SHA1 Message Date
Michal Čihař
3edb0d5df0 Fold configureCurl into httpRequestCurl
There is no longer need to have it separate.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-06 13:00:34 +01:00
Michal Čihař
39f4b3dd40 Use our CDN for fetching git commit information
We can avoid GitHub rate limiting this way as we do the requests from
the website backend and they are cached by CDN.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-06 12:54:52 +01:00
Michal Čihař
c1348b957a Translated using Weblate (Czech)
Currently translated at 93.6% (2990 of 3192 strings)

[CI skip]
2017-03-06 12:53:39 +01:00
tmtisfree
04c66a6fbe Translated using Weblate (French)
Currently translated at 100.0% (3192 of 3192 strings)

[CI skip]
2017-03-05 15:45:02 +01:00
Michal Čihař
63831106ec Update po files
[CI skip]

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-03 14:50:10 +01:00
Michal Čihař
f0485f6460 Add missing server parameter to several javascript requests
Also use PMA_commonParams where applicable.

Issue #13047

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-03 14:48:11 +01:00
Michal Čihař
dbce3b54d1 Fix query simulating for more servers
The server parameter was missing.

Fixes #13047

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-03 14:48:11 +01:00
Andrzej Pauli
3f918a8c7f Translated using Weblate (Polish)
Currently translated at 82.3% (2630 of 3192 strings)

[CI skip]
2017-03-03 14:48:02 +01:00
Artem Hryn
6014898779 Include 100% font size in the selection
Fixes #13028

Signed-off-by: Artem Hryn <plartem01@gmail.com>
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 15:30:10 +01:00
Weblate
cd6d9b0abd Merge remote-tracking branch 'origin/QA_4_7' into QA_4_7 2017-03-02 14:30:02 +01:00
Michal Čihař
877eb4b433 Translated using Weblate (Czech)
Currently translated at 93.6% (2990 of 3192 strings)

[CI skip]
2017-03-02 14:29:59 +01:00
Michal Čihař
f3b44765ec Merge pull request #13041 from nijel/hhvm
Test against multiple HHVM versions
2017-03-02 14:29:51 +01:00
Michal Čihař
cbcad52b0e List longest lasting tests from the json log
Generate JSON report for tests and include it in output

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 13:31:08 +01:00
Michal Čihař
ce9ca75555 Avoid skipping tests on hhvm
They seems to be quite slow on later versions, but work.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 10:20:22 +01:00
Michal Čihař
118e139ae8 Try with sudo required
According to some comments in travis-ci/travis-ci#6842 this should
fix the issue with MySQL server.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 10:03:04 +01:00
Michal Čihař
4a2af38d39 Do not add git-core repo, it seems to be already there
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 09:24:54 +01:00
Michal Čihař
52a5ae9bb2 Force install mysql server
It does not seem to be always present on Trusty.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 09:24:36 +01:00
Michal Čihař
b53ec4dc9c Upgrade Travis to Trusty
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 09:23:58 +01:00
Michal Čihař
1739793a9d Test against multiple HHVM versions
Issue #13040

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 09:23:58 +01:00
Michal Čihař
e4c5401e6c Properly escape MIME transformatoin names
Fixes #13045

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 09:19:37 +01:00
Weblate
05112e946a Merge remote-tracking branch 'origin/QA_4_7' into QA_4_7 2017-03-01 22:20:01 +01:00
Giovanni Sora
ae20336bdf Translated using Weblate (Interlingua)
Currently translated at 75.6% (2416 of 3192 strings)

[CI skip]
2017-03-01 22:19:59 +01:00
tmtisfree
c145103f40 Translated using Weblate (French)
Currently translated at 100.0% (3192 of 3192 strings)

[CI skip]
2017-03-01 22:19:58 +01:00
Michal Čihař
27bebd75bd Fix parameter name
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 22:19:26 +01:00
Michal Čihař
16567c6b2b Do not rely on xargs
It does not work as expected on OSX.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 18:46:17 +01:00
Michal Čihař
6ad9436394 Simplify installation
The upgrade does not seem to work anyway.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 18:19:34 +01:00
Michal Čihař
3fdf343899 Use installed pip for better caching
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 17:48:08 +01:00
Michal Čihař
a06669d83d Document why we install some packages
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 16:59:46 +01:00
Michal Čihař
2b42777cdf Leverage pip cache instead of using apt packages
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 16:57:26 +01:00
Michal Čihař
2fea612791 Simplify code for skipping not supported PHP versions
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 16:53:23 +01:00
Michal Čihař
db62cf1bf4 There is no phpenv on OSX
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 16:52:08 +01:00
Michal Čihař
4f37569773 Do not use ant on Travis
It is just additional overhead without real benefit.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 16:51:06 +01:00
Michal Čihař
0b0e99cc02 Remove no longer needed exclude
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 16:50:08 +01:00
Michal Čihař
b4326fcc3d Remove and cleanup from Travis
It should not be necessary at all as we start with clean environment.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 16:49:59 +01:00
Michal Čihař
f3425986b5 Generate locales without ant
Removes ant overhead.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 16:49:50 +01:00
Michal Čihař
bdaab73967 Squeeze lint into test build
- the setup costs are quite high, so do both steps at once
- lint only changed files
- always generate locales for tests to simplify code

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 16:49:40 +01:00
Michal Čihař
b7a87ce156 Adjust tests to new column selection code
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 15:57:18 +01:00
Michal Čihař
585967b7e4 Fix columns selection in case of query fails
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 15:57:09 +01:00
Michal Čihař
9d13e3d143 Display first char field for foreign key if nothing is configured
In most cases this is what users want to see and anyway it is way better
than showing nothing.

Issue #12835

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 15:52:05 +01:00
Michal Čihař
faffa92f22 Fixed related field selection for native relations
The PMA_getForeigners handles just fine both situations, so there is no
need to check the configuration in advance.

Fixes #12967

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 15:43:33 +01:00
Michal Čihař
cb60b4a750 Fixed displaying of all rows
Fixes #13031

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 12:41:07 +01:00
Michal Čihař
a72a048f1e Correctly handle case when CURRENT_USER() fails
It's not likely, but the code path was obviously returning wrong value.

Maybe it did happen in issue #13037

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 10:53:19 +01:00
Michal Čihař
bb95ecf852 Extend Dummy driver to be able to inject expected queries results
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 10:52:37 +01:00
Michal Čihař
ce49be7e07 Fix condition to activate tracker
Invoking empty() on the result might work in most cases as false is
empty and false is result from failure, but on the other side empty can
be true for valid results as well.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 10:45:51 +01:00
Michal Čihař
dee50ad8d1 Reference self as self not using class name
Issue #13040

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 09:59:58 +01:00
Weblate
16c8c60034 Merge remote-tracking branch 'origin/QA_4_7' into QA_4_7 2017-03-01 09:35:56 +01:00
Lalith Attanapola
0e35120a43 Translated using Weblate (Norwegian Bokmål)
Currently translated at 57.6% (1841 of 3192 strings)

[CI skip]
2017-03-01 09:35:55 +01:00
tmtisfree
e2793c36ad Translated using Weblate (French)
Currently translated at 100.0% (3192 of 3192 strings)

[CI skip]
2017-03-01 09:35:54 +01:00
Michal Čihař
248a42af7e Fixed javascript confirmation of dangerous queries
The confirmations did work properly only in console and not anywhere
else.

- the check function was expecting textarea, while it got text from
  other calls
- the check for empty form was completely outdated, but that seems to
  lead only to dead code and no breakage
- for the inline editor, the form was not properly focused and restored
  on confirmation error

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 09:33:18 +01:00
Weblate
ff5f6db32d Merge remote-tracking branch 'origin/QA_4_7' into QA_4_7 2017-02-27 11:43:03 +01:00