Commit Graph

106400 Commits

Author SHA1 Message Date
Michal Čihař
e1f8c36c79 Fix class namespace
Fixes loading of APC based upload progress bar

Fixes #12248

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 17:37:38 +02:00
Michal Čihař
4cd8ab8a95 Better report errors while generating SQL exports
The errors will include table and database name in the dump and the
error is also shown in the UI on next page.

Fixes #5555

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 17:21:58 +02:00
Michal Čihař
40b80d883d Merge branch 'QA_4_6' 2016-05-23 17:16:35 +02:00
Michal Čihař
a141aeb4c4 Merge remote-tracking branch 'origin/QA_4_6' 2016-05-23 17:16:31 +02:00
Michal Čihař
66f774787f Do not fail on errors stored in session
If there is user error stored in session, it would be treated as session
startup error, what is wrong.

Fixes #12229

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 17:15:23 +02:00
Michal Čihař
0816b47b3d Document cookie exipiry times
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 16:40:51 +02:00
Stefano Martinelli
00d73663b5 Translated using Weblate (Italian)
Currently translated at 100.0% (3209 of 3209 strings)

[CI skip]
2016-05-23 16:36:10 +02:00
Michal Čihař
a15a847ade Add support for export user settings as config.inc.php snippet
Fixes #6274

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 16:35:03 +02:00
Stefano Martinelli
183259e9e9 Translated using Weblate (Italian)
Currently translated at 100.0% (3208 of 3208 strings)

[CI skip]
2016-05-23 16:33:21 +02:00
Michal Čihař
d7d9925e11 Merge branch 'QA_4_6' 2016-05-23 16:10:34 +02:00
Michal Čihař
ec11ed59be Add session reload for config authentication
It is for free with new logout handling (since
11eb574242).

Fixes #11565

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 16:10:07 +02:00
Michal Čihař
1d1e269144 Merge branch 'QA_4_6' 2016-05-23 15:54:33 +02:00
Michal Čihař
3b374237d6 Fixed export of ARCHIVE tables with keys
We can not rewrite the ARCHIVE table as it can not be altered.

Fixes #12082

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 15:54:26 +02:00
Michal Čihař
0be789c845 Merge branch 'QA_4_6' 2016-05-23 15:25:38 +02:00
Michal Čihař
07f4a407b7 Merge remote-tracking branch 'origin/QA_4_6' 2016-05-23 15:25:31 +02:00
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