Commit Graph

105398 Commits

Author SHA1 Message Date
Michal Čihař
cf97a33ffb Ignore args in the debug backtrace
This heavily reduces memory usage and also avoids potential information
leak.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 12:01:02 +02:00
Michal Čihař
1c081f9087 Fix test to not depend on variables set elsewhere
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 11:47:40 +02:00
Michal Čihař
7feb606d7f Avoid confusing warning when mysql extension is missing
As mysql extension is deprecated and removed from PHP 7, it makes no
sense to recommend it.

Fixes #12231

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 10:53:13 +02:00
Michal Čihař
5fc8020c5b Ensure links from setup go through url.php
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 09:40:17 +02:00
Michal Čihař
b061096abd Avoid not neeedded urlencode/urldecode steps in multi submits
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 09:12:52 +02:00
Michal Čihař
6d4bd77745 Avoid not needed urlencode/urldecode for bookmarked SQL query
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 09:12:52 +02:00
Michal Čihař
24bb12793d Fix locking issues when importing SQL
When running import (or generally any SQL query), some tables might be
locked. This will cause queries to not locked tables to fail. And this
is exacly what we do with control user link.

So let's have separate link for control queries even if we're using same
credentials as for main link.

Fixes #12219

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 08:42:08 +02:00
Franco
e8f1a09bb8 Translated using Weblate (Spanish)
Currently translated at 99.5% (3196 of 3211 strings)

[CI skip]
2016-05-22 21:45:46 +02:00
Axel Magnus Gaasø
ef1c06fa99 Translated using Weblate (Norwegian Bokmål)
Currently translated at 57.9% (1860 of 3211 strings)

[CI skip]
2016-05-21 21:45:15 +02:00
Daniel Linjama
cde00cf5ff Translated using Weblate (Finnish)
Currently translated at 67.7% (2176 of 3211 strings)

[CI skip]
2016-05-21 21:44:34 +02:00
Michal Čihař
77998cc3a5 Link to documentation instead of PECL, this is more useful link
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-19 10:07:55 +02:00
Axel Magnus Gaasø
ebb2bb31d4 Translated using Weblate (Norwegian Bokmål)
Currently translated at 57.8% (1859 of 3211 strings)

[CI skip]
2016-05-19 10:07:42 +02:00
Giovanni Sora
8d982faf2c Translated using Weblate (Interlingua)
Currently translated at 73.7% (2367 of 3211 strings)

[CI skip]
2016-05-19 10:07:42 +02:00
Michal Čihař
ec1c32fd09 Fix tested url
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 11:59:04 +02:00
Michal Čihař
532b3c6544 Replace links in wiki by links to documentation
The wiki is getting outdated, it's better to link to documentation
instead.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 11:57:48 +02:00
Michal Čihař
506fd28cbd Add support to link directly to some page
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 11:54:28 +02:00
Michal Čihař
0e233c89ce Test more doc links generating
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 11:51:34 +02:00
Michal Čihař
a6b7349214 Fix doc linkst for config
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 11:45:10 +02:00
Michal Čihař
677f727617 Remove non working links from config option descriptions
These links are not working since 4.2.0 and nobody complained, so I
assume they are really not needed.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:57:09 +02:00
Michal Čihař
b0f8511e60 Use https for links to www.phpmyadmin.net
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:49:21 +02:00
Michal Čihař
574fee04f7 Fix test failures after changing links
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:44:54 +02:00
Michal Čihař
05a45fe23f Use https for links to bugs.mysql.com
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:41:13 +02:00
Michal Čihař
0982a6a424 Better laben Percona
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:39:33 +02:00
Michal Čihař
b25d847b3b Remove not used oubbound URLs
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:38:58 +02:00
Michal Čihař
2e2f3258eb Remove not used advisory rule
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:38:26 +02:00
Michal Čihař
d248d8d83d Remove link to no longer maintained blog
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:35:56 +02:00
Michal Čihař
521b79d0d7 Replace non working pbxt link with link to MariaDB knowledgebase
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:34:52 +02:00
Michal Čihař
02c7df74bf Add mariadb.com domain to whitelist
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:33:53 +02:00
Michal Čihař
11089cbe41 Use https for links to dev.mysql.com
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:16:44 +02:00
Michal Čihař
3771852471 Use https when linking to php.net
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-17 10:10:13 +02:00
Michal Čihař
90b126beed Add Weblate (wlc) configuration
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-16 11:37:21 +02:00
Tiago França EJessica
a57027fcd8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 93.4% (3002 of 3211 strings)

[CI skip]
2016-05-16 11:36:57 +02:00
Michal Čihař
3686263f1d Fix test expectations
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-13 13:08:38 +02:00
Michal Čihař
cb41491f44 Adjust test to no stripping
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-13 11:55:52 +02:00
Michal Čihař
57a1d3a7ca Adjust tests to template doing no stripping
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-12 15:42:57 +02:00
Michal Čihař
288995ba18 Remove trimming from template renderere
This relies on preg_replace correctly handles multibyte chars what is
not true on Windows and it then corrupts the content as it removers
parts of UTF-8 chars. Removal fixes occassional 200 errors on Windows.

Fixes #11705

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-12 15:35:38 +02:00
Michal Čihař
f71b7df929 Remove workaround for #11705
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-12 14:05:01 +02:00
Michal Čihař
8396ee4a3a Fix cookie path on IIS
The path can contain backslashes on Windows, so let's replace them
before using it as cookie path which needs just forward slashes.

Fixes #12249

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-12 14:00:42 +02:00
Michal Čihař
6b8f56dffd Imporove simplification of backtrace for console
Replace only objects, include regular items verbatim.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-11 15:14:12 +02:00
Michal Čihař
d57d4e6e5a Do not include call to _dbgQuery in backtrace
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-11 15:11:37 +02:00
Michal Čihař
d67facb641 Avoid storing objects in session when debugging SQL
When $cfg['DBG']['sql'] is enabled, we used to store full backtrace in
session. This includes DBI objects which then can cause problems on
session start.

Issue #12229

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-11 15:03:15 +02:00
Michal Čihař
63c89d2e33 Fixed setting mixed case languages
Switched to use same code in both approaches to set language.

Fixes #12118

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-11 13:57:22 +02:00
Michal Čihař
5653a5e70e Avoid using too log URLs when getting javascripts
Some researchers have come with great idea of recommending
setting "LimitRequestline 512" in Apache, what allows even shorter URLs
than with MSIE.

I still consider this a really bad idea as most of the applications
really do not count with so small URL limits, but this error seems to be
quite widely spread among CentOS users (probably coming from some
howto).

Fixes #12244

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-11 12:08:06 +02:00
Michal Čihař
599f1d2455 Avoid parsing non JSON responses as JSON
This is just a changelog entry, real fix was in
d344a8f7ae.

Fixes #12240

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-11 11:39:10 +02:00
Michal Čihař
b3132bf2c8 Fix schema export with too many tables
We need to submit tables in POST parameters as there can be too many of
them to be included in GET.

Fixes #12234

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-11 11:31:55 +02:00
Michal Čihař
d88ebebc89 Define dataType so that jQuery do not have to guess
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-11 10:55:45 +02:00
Michal Čihař
d344a8f7ae Do not catch HTML requests in console
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-11 10:55:24 +02:00
Michal Čihař
edcecdb87d Remove extra space
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-11 10:08:15 +02:00
Michal Čihař
bbe8efaf7c Use https for documentation links
Fixes #12225

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-10 15:04:29 +02:00
Michal Čihař
c7c9918886 This todo is already done with PMA_sessionFailed
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-09 19:31:10 +02:00