Commit Graph

10477 Commits

Author SHA1 Message Date
Michal Čihař
8d6b1dce57 Improved handling of logout with disabled LoginCookieDeleteAll
- avoid removing session for cookie auth if LoginCookieDeleteAll is
  disabled
- redirect user to other server rather than to login page
- show message about partial logout
- adjust tests
- this is based on #13221

Fixes #12301

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-28 16:02:11 +02:00
Michal Čihař
bd526cf065 Add issue #13219 to changelog
It was reported later than fix, but still worth mentioning.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-28 12:09:20 +02:00
Michal Čihař
0f1c011c28 Add token to form generated by Util::linkOrButton
Fixes #13182

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-28 11:46:59 +02:00
Deven Bansod
6b9f40f516 ChangeLog for b3f6e5cdad
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-04-18 21:36:01 +05:30
Fenn-CS
a661c06fd6 Added a locale reference for $response in PMA_getChangePassMessage() of user_password.php
Fixes #13154

Signed-off-by: Fenn-CS <fenn25.fn@gmail.com>
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-07 15:23:26 +02:00
Michal Čihař
1f4b6ec0ac Ensure we have only integers in colum visibility and ordering data
Fixes PHP error in case of invalid table preferences.

Fixes #13152

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-05 10:12:24 +02:00
Michal Čihař
799ac0d4a0 Fix condition to ignore aborted requests
The status=0 happens on network failure as well, so we can't ignore it
completely.

Fixes #13130

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-05 09:35:22 +02:00
Michal Čihař
946549d2de Do not show New as a database in database dropdown
Fixes #13144

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-04 09:49:44 +02:00
Michal Čihař
6f9a50f2e7 Do not include devel dependencies in the release
The composer require does automatically run update and thus pulling in
all things we've removed in previous step. Passing --update-no-dev
avoids this.

Fixes #13146

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-04 08:45:45 +02:00
Michal Čihař
10cbb0552f Fixed outbound links in changelog.php
There was typo in the replacement regexp.

Fixes #13149

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-04 08:41:54 +02:00
Michal Čihař
5ee4320b7d Fixed pagination while browsing resuls
Fixes #13150

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-04 08:28:42 +02:00
Deven Bansod
4248e33aed ChangeLog for #13135
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-03-31 19:47:33 +05:30
Michal Čihař
8beb7f544e Fixed broken links in setup
Fixes #13133

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-30 14:07:42 +02:00
Michal Čihař
8602695340 Focus on SQL editor after inserting field name
Fixes #13125

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-30 13:16:42 +02:00
Michal Čihař
cf525c7876 Always execute tracking queries as controluser
Fixes #13132

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-30 13:09:08 +02:00
Isaac Bennetch
2f0b6c4169 Prepare for 4.7.1-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-03-29 14:39:15 -04:00
Isaac Bennetch
08bbf7bdbd Prepare for 4.7.0
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-03-28 20:58:44 -04:00
Isaac Bennetch
a3bff88199 Add ChangeLog for PMASA-2017-08
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-03-28 20:56:55 -04:00
Raghuram
553d1ff343 Removes default new database name
Issue #13099

Signed-off-by: Raghuram Vadapalli<raghuram.vadapalli@research.iiit.ac.in>
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-21 13:49:37 +01:00
Fenn-CS
297aec9ab1 Added definitions for result and message variable-update methods still missing
Fixes #12349

Signed-off-by: Fenn-CS <fenn25.fn@gmail.com>
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-21 09:46:57 +01:00
Michal Čihař
2e448d46e3 Fixed setting password on recent MariaDB with non working plugins
When the plugins are not working (eg. the plugins directory does not
exist), we should still allow to change the password.

Fixes #12757

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-21 08:23:06 +01:00
Michal Čihař
211541f56e Changelog entry for #13105 and #13107
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 16:19:40 +01:00
Michal Čihař
cb691faf76 Do not try to sync favorite tables if configuration storage is not enabled
Fixes #13092

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 16:12:32 +01:00
Michal Čihař
91a16c90c8 Fixed editing of rows with text primary key
We do htmlspecialchars in PHP, so we should not URL de/encode here.

Fixes #13088

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-16 15:12:38 +01:00
Michal Čihař
f50e3682f5 Delete only phpMyAdmin cookies on upgrade
Fixes #12660

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-16 14:54:19 +01:00
Michal Čihař
8f640b9030 Do not point users to setup when it is disabled
Fixes #13084

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-15 16:18:05 +01:00
Michal Čihař
49b497bd10 Changelog entry for #12708 and #13074
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-14 14:08:58 +01:00
Michal Čihař
eccdb30ebb Changelog entry for #13053
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-13 09:56:28 +01:00
Michal Čihař
5d18e0bbe9 Changelog entry for #13054 and #13029
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-13 09:18:37 +01:00
Michal Čihař
7e82c9c40c Remove debugging code
Fixes #13059

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-09 17:09:48 +01:00
Isaac Bennetch
0b088f6790 Change defaults when exporting to Excel; now we include field/column names as the first row.
This is always configurable via $cfg['Export']['excel_columns']

Fixes #12951

Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-03-08 09:41:27 -05:00
Michal Čihař
47863a25b5 Bundle ISRG Root X1 SSL certificate and use it for verification
This way we avoid problems with misconfigured curl in some PHP
installations (WAMP), which has no trust certificates.

Fixes #12846

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-06 13:06:40 +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
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
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
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ř
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
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
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
Michal Čihař
8ea5ea351b Document bugfix
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-22 09:50:52 +01:00
Isaac Bennetch
b50b97af49 Hide comment field on table Structure tab when no comment is set
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-02-21 21:36:52 -05:00
Michal Čihař
510d7ab8ca Changelog entry for issue #13020
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-21 09:13:18 +01:00
Michal Čihař
a9ddb39aac Show phpMyAdmin errors even with error_reporting set to 0
Fixes #13021

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-20 10:04:38 +01:00
Joshua Atkins
53eff5d47b Align NULL values according to column alignment
Fixes #13000.

Signed-off-by: Joshua Atkins <support@jublo.net>
2017-02-20 09:06:36 +01:00
Michal Čihař
59e9856200 Fixed OpenDocument exports
Fixes #13002

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-20 08:44:03 +01:00
Michal Čihař
8a08c90cb1 Merge branch 'QA_4_7' into hotfix/13010-pmadb-relation-replaceinto 2017-02-20 08:38:39 +01:00
Michal Čihař
454620dcf8 Require SQL parser > 4.1.2
This brings additional fixes like for #12345

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-20 08:25:34 +01:00
Joshua Atkins
c4654d24df Copy db: Fix SQL error for copying PMADB metadata
Fixes #13010.

Signed-off-by: Joshua Atkins <support@jublo.net>
2017-02-19 22:35:21 +01:00
Isaac Bennetch
2f7dd1e149 Slight improvements to the UI for Relation view; Fixes to table structure.
Fixes #13016 and #13017

Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-02-19 09:17:13 -05:00