Commit Graph

109337 Commits

Author SHA1 Message Date
Michal Čihař
4179690250 Improved database search to allow search for exact phrase match
Add option to search exact phrase as substring, what was currently
missing.

While doing that, also improve testsuite for generating the clauses.

Fixes #12388

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-27 12:02:29 +02:00
Michal Čihař
f6aa888e72 Merge branch 'QA_4_7' 2017-03-27 11:37:25 +02:00
Michal Čihař
3fd5c96ff6 Merge remote-tracking branch 'origin/QA_4_7' 2017-03-27 11:37:22 +02:00
Michal Čihař
f67e04987d No longer recommend not used configuration variable
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-27 11:37:07 +02:00
Weblate
73fce9d2c1 Merge remote-tracking branch 'origin/QA_4_7' into QA_4_7 2017-03-27 11:29:46 +02:00
Vuong Phan
3f4e69831a Translated using Weblate (Vietnamese)
Currently translated at 84.5% (2699 of 3192 strings)

[CI skip]
2017-03-27 11:29:46 +02:00
Weblate
103f4376d6 Merge remote-tracking branch 'origin/master' 2017-03-27 11:29:43 +02:00
tmtisfree
ae2503d9e2 Translated using Weblate (French)
Currently translated at 100.0% (3192 of 3192 strings)

[CI skip]
2017-03-27 11:29:43 +02:00
Vuong Phan
3f3317a9e8 Translated using Weblate (Vietnamese)
Currently translated at 84.3% (2695 of 3194 strings)

[CI skip]
2017-03-27 11:29:42 +02:00
tmtisfree
04a33cf305 Translated using Weblate (French)
Currently translated at 100.0% (3194 of 3194 strings)

[CI skip]
2017-03-27 11:29:38 +02:00
Michal Čihař
f8e83ef36d Merge branch 'QA_4_7' 2017-03-27 11:29:06 +02:00
Michal Čihař
ebaf126501 Do not use empty() for checking submitted username
The empty() function is evil and will you block from login with username
"0".

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-27 11:28:16 +02:00
Deven Bansod
da77177a1e ChangeLog for #13119
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-03-24 21:39:04 +05:30
Deven Bansod
035d7cb097 Set the database value for the database interface
Fix #13119

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-03-24 21:36:18 +05:30
Michal Čihař
0a3a1f07c4 Generate random passwords for test
This way nobody will think there is anything secret in the .travis.yml.

Fixes #13115

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-22 10:31:50 +01:00
Michal Čihař
82d18f6229 Merge branch 'QA_4_7' 2017-03-22 10:25:21 +01:00
Michal Čihař
06fe8c0e25 Properly report invalid token error on AJAX requests
We need to keep ajax_request flag to properly report result in JSON.

Issue #13114

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-22 10:24:31 +01:00
Michal Čihař
e9b3171613 Merge pull request #13116 from mauriciofauth/fix/coding-standard
Fix coding standard errors using vendor/bin/phpcbf
2017-03-22 09:27:02 +01:00
Maurício Meneghini Fauth
29a773ed67 Implement PSR-11
Implement PSR-11 to container interface with tests.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-03-22 09:24:53 +01:00
Maurício Meneghini Fauth
5366c507a5 Fix coding standard errors using vendor/bin/phpcbf
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-03-21 23:16:32 -03:00
Michal Čihař
bd4316419a Merge branch 'QA_4_7' 2017-03-21 13:53:50 +01: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
Michal Čihař
d50b997480 Initial version of security policy
Based on content from wiki and website.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-21 13:31:39 +01:00
Michal Čihař
b31d0cfb91 Merge branch 'QA_4_7' 2017-03-21 11:34:16 +01:00
Michal Čihař
e4f85624f8 Revert "Remove creating of sha1 for releases"
This reverts commit c768d12a1d.

The sha1 seems to be necessary for composer now.
2017-03-21 11:34:02 +01:00
Michal Čihař
b98fc393ab Revert "Fixes error in designer #13032"
This reverts commit dc649d7a29.
2017-03-21 11:33:51 +01:00
Michal Čihař
c768d12a1d Remove creating of sha1 for releases
As there is now way to generate collisions (and tar happily ignores
additional payload), using sha1 probably no longer makes sense here.

See https://github.com/phpmyadmin/website/issues/59

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-21 11:29:57 +01:00
Raghuram
dc649d7a29 Fixes error in designer #13032
Signed-off-by: Raghuram Vadapalli <raghuram.vadapalli@research.iiit.ac.in>
2017-03-21 10:00:58 +01:00
Michal Čihař
13225ceb51 Merge branch 'QA_4_7' 2017-03-21 09:50:45 +01:00
TheSaturn
4119b5ca3d Adds html encoding for db name
Issue #13032

Signed-off-by: TheSaturn <saturn@thesaturn.me>
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-21 09:50:19 +01:00
Michal Čihař
aefe197e57 Merge branch 'QA_4_7' 2017-03-21 09:47:23 +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ř
7adff6b57c Indicate when HTTPS is not properly reported on the server
This can happen in both directions which both can have undesired side
effects:

- when server thinks it's serving HTTPS, but it's not, the cookies are
  set as secure and thus never returned back by client
- whene server thinks it's not serving HTTPS, the secure flag for
  cookies is not set, making it possible to leak them over HTTP

Fixes #13110

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-21 08:46:38 +01:00
Michal Čihař
ff90f20054 Merge branch 'QA_4_7' 2017-03-21 08:24:24 +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ř
7c35333e5d Fix method names
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:09 +01:00
Michal Čihař
77990debb5 Document return types
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
50e634afca Remove documentation for non existing param
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
159e748a2b Simplify getting table create options
- use saner method name (getCreateOptions)
- fix error case

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
a51ac4ef8b Simplify getting row format
- remove not needed word Table from method name
- fix code to handle errors
- convert existing users of getStatusInfo('ROW_FORMAT') to this method

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
ca9ea74d20 Simplify getting table rows
- simplify method name
- fix code handling error path

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
44d3cb3869 Simplify getting table collation
- remove not needed word Table from method name
- fix code to handle errors

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
b2bf9fba87 Simplify getting table comment
- remove not needed word Show from method name
- fix code to handle errors

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
56046cc7e2 Simplify getting storage engine
- remove not needed word Table from method name
- fix code to handle errors
- convert existing users of getStatusInfo('ENGINE') to this method

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
e655e08e6e Fix comments indentation
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:05 +01:00
Michal Čihař
7c8f340d26 Remove commented out code
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:55:39 +01:00
Michal Čihař
db893a4683 Remove unused variables
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:55:38 +01:00
Michal Čihař
9f2773c9c2 Simplify rereading of information
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:55:38 +01:00
Vishal Pandey
5da44ce1a6 Move the tbl_info.inc.php code to Table class
Fixes #12567

Signed-off-by: flash1452 <vishpandey2014@gmail.com>
2017-03-20 17:55:21 +01:00
Michal Čihař
2c48b61757 Merge branch 'QA_4_7' 2017-03-20 17:46:01 +01:00