Commit Graph

108932 Commits

Author SHA1 Message Date
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
Володимир
cc7d5d5c17 Translated using Weblate (Ukrainian)
Currently translated at 92.4% (2951 of 3192 strings)

[CI skip]
2017-02-27 11:43:03 +01:00
tmtisfree
99c8937647 Translated using Weblate (French)
Currently translated at 100.0% (3192 of 3192 strings)

[CI skip]
2017-02-27 11:43:01 +01:00
Michal Čihař
c27d47ed75 Use Referrer-Policy header to specify referrer policy
The referrer policy in Content-Security-Policy is deprecated.

Fixes #13033

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-27 11:42:21 +01:00
tmtisfree
d7aca6b9a4 Translated using Weblate (French)
Currently translated at 100.0% (3192 of 3192 strings)

[CI skip]
2017-02-24 10:00:21 +01:00
tmtisfree
70fe826887 Translated using Weblate (French)
Currently translated at 100.0% (3192 of 3192 strings)

[CI skip]
2017-02-22 20:01:13 +01:00
Weblate
aa1925c898 Merge remote-tracking branch 'origin/QA_4_7' into QA_4_7 2017-02-22 09:56:53 +01:00
tmtisfree
f10fd7deb9 Translated using Weblate (French)
Currently translated at 100.0% (3192 of 3192 strings)

[CI skip]
2017-02-22 09:56:50 +01:00
Michal Čihař
b05e28a953 Initialize error reporting after load
Doing that in the code can lead to handler being installed several times
on some pages.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-22 09:55:34 +01:00
Weblate
1af7cb1abe Merge remote-tracking branch 'origin/QA_4_7' into QA_4_7 2017-02-22 09:51:21 +01:00
Володимир
df4a727f16 Translated using Weblate (Ukrainian)
Currently translated at 80.0% (2555 of 3192 strings)

[CI skip]
2017-02-22 09:51:20 +01:00
tmtisfree
00eeed2a50 Translated using Weblate (French)
Currently translated at 100.0% (3192 of 3192 strings)

[CI skip]
2017-02-22 09:51:19 +01:00
Michal Čihař
8ea5ea351b Document bugfix
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-22 09:50:52 +01:00
Michal Čihař
cddbb01a2b Do not ask CURL to return headers when we're sending one
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-22 09:48:12 +01:00
Michal Čihař
1d08dd281b Pass correct headers to httpRequest
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-22 09:22:04 +01:00
Michal Čihař
0f1f046488 Wrap long line
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-22 09:22:04 +01:00
Michal Čihař
acb7438883 Merge pull request #13025 from ibennetch/comments-qa
Hide comment field when no table comment is set
2017-02-22 09:07:26 +01:00