Commit Graph

106435 Commits

Author SHA1 Message Date
Michal Čihař
cb2ec8210d Avoid storing full error data in session
The arguments of called functions can be huge or cause problems on session
restore. More importantly we never need them as they are, we only need
them to display them as text, so let's store only this representation in
the session.

Fixes #12192

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 15:25:22 +02:00
Michal Čihař
d88faaf42b Remove unused code
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 15:25:22 +02:00
Giovanni Sora
bc430c98e6 Translated using Weblate (Interlingua)
Currently translated at 73.3% (2355 of 3209 strings)

[CI skip]
2016-05-23 15:25:15 +02:00
Giovanni Sora
db4d9ef23a Translated using Weblate (Interlingua)
Currently translated at 73.6% (2363 of 3208 strings)

[CI skip]
2016-05-23 15:24:15 +02:00
Burak Yavuz
1184538434 Translated using Weblate (Turkish)
Currently translated at 100.0% (3208 of 3208 strings)

[CI skip]
2016-05-23 15:20:33 +02:00
Michal Čihař
80a492e810 Merge branch 'master' of github.com:phpmyadmin/phpmyadmin 2016-05-23 15:10:52 +02:00
Michal Čihař
d8123662cc Merge branch 'QA_4_6' 2016-05-23 15:10:28 +02:00
Michal Čihař
fe225ac49d Do not try to sync favorite tables without server
Fixes #12209

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 15:10:19 +02:00
Weblate
c597189f2c Merge remote-tracking branch 'origin/master' 2016-05-23 15:01:48 +02:00
Giovanni Sora
08badd785b Translated using Weblate (Interlingua)
Currently translated at 73.6% (2362 of 3208 strings)

[CI skip]
2016-05-23 15:01:45 +02:00
Michal Čihař
09a91542c3 Merge branch 'master' of github.com:phpmyadmin/phpmyadmin 2016-05-23 15:01:33 +02:00
Michal Čihař
d798ef6c7b Merge branch 'QA_4_6' 2016-05-23 15:01:09 +02:00
Michal Čihař
6408c367fa Do not try to secure session in testsuite
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 15:00:57 +02:00
Kristjan Räts
8a194774fe Translated using Weblate (Estonian)
Currently translated at 100.0% (3208 of 3208 strings)

[CI skip]
2016-05-23 14:58:31 +02:00
Παναγιώτης Παπάζογλου
b66941665c Translated using Weblate (Greek)
Currently translated at 100.0% (3208 of 3208 strings)

[CI skip]
2016-05-23 14:52:13 +02:00
Michal Čihař
512afede0e Update po files
[CI skip]

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 14:31:04 +02:00
Michal Čihař
1b9d032715 Merge branch 'QA_4_6' 2016-05-23 14:30:39 +02:00
Michal Čihař
4c22a607b0 Update po files
[CI skip]

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 14:30:28 +02:00
Michal Čihař
e191c6eb39 Do not include vendor strings in po files
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 14:30:26 +02:00
Michal Čihař
efc89f9fbc Merge branch 'QA_4_6' 2016-05-23 14:28:33 +02:00
Michal Čihař
f978e347fb Add missing requie once for testsuite
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 14:28:28 +02:00
Michal Čihař
b52bd77987 Merge branch 'QA_4_6' 2016-05-23 13:49:00 +02:00
Michal Čihař
f9d6c40939 Safer handling of sessions during authentication
- always generate new session for login form
- always generate new session when authenticated using cookie auth

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 13:48:25 +02:00
Michal Čihař
318d3ac934 Merge branch 'QA_4_6' 2016-05-23 13:37:00 +02:00
Michal Čihař
84fbe2c758 Do not remove globals on parameters cleanup
This code is there probably since register_globals times and is no
longer necessary.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 13:36:49 +02:00
Michal Čihař
792f5dc794 Merge branch 'QA_4_6' 2016-05-23 13:23:43 +02:00
Michal Čihař
adfd5a22b9 Avoid double redirects in signon auth on logout
Also adjusts tests to no longer rely on runkit.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 13:23:16 +02:00
Michal Čihař
e3d650a2bb Merge branch 'QA_4_6' 2016-05-23 13:05:01 +02:00
Michal Čihař
11eb574242 Improve handling of logout
- add separate script for handling logout
- no longer require old_usr for all authentication methods
  (this avoids potential information leak)
- require valid token for logout

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 13:02:21 +02:00
Michal Čihař
381c80dda4 Split test cases to avoid huge test methods
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 12:35:13 +02:00
Michal Čihař
21db724c85 Remove need for having define for test
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 12:09:36 +02:00
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ř
c4947d5f42 Merge branch 'QA_4_6' 2016-05-23 10:55:13 +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ř
42f94b05e2 Merge branch 'QA_4_6' 2016-05-23 09:40:56 +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ř
5bb7349e0d Merge branch 'QA_4_6' 2016-05-23 09:21:33 +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ř
49a1db045e Merge branch 'QA_4_6' 2016-05-23 08:43:51 +02:00
Michal Čihař
22f0f4fd12 Merge remote-tracking branch 'origin/QA_4_6' 2016-05-23 08:43:43 +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
Isaac Bennetch
499be8eca1 Correct typo with documentation
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-05-22 21:55:10 -04: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
Franco
d312823278 Translated using Weblate (Spanish)
Currently translated at 99.0% (3181 of 3211 strings)

[CI skip]
2016-05-22 21:45:40 +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
Weblate
534d9f5b7f Merge remote-tracking branch 'origin/master' 2016-05-20 16:46:05 +02:00
Axel Magnus Gaasø
5d2bda3fd0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 57.6% (1850 of 3211 strings)

[CI skip]
2016-05-20 16:46:04 +02:00