Commit Graph

105284 Commits

Author SHA1 Message Date
Michal Čihař
0db84175b3 Update SQL parser to 95118e6db10c642a1d518e666c2aaed1b4991492
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 16:47:52 +02:00
Michal Čihař
659c89e464 Update SQL Parser to 8de4749d803858859fcf7a39b1bbf058745920f0
See #12165

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 16:04:35 +02:00
Michal Čihař
7de636d826 Fix PHP error if user did unpack new version over old one
By doing stricter check on filename, we avoid old classes which break
autoloader.

Fixes #12159

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 14:05:49 +02:00
Michal Čihař
7413208ce7 Merge pull request #12157 from nijel/ssl
Simplify SSL setup
2016-04-06 13:51:24 +02:00
Michal Čihař
73278068a9 Adjust tests to simplified DatabaseStructureController
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 11:29:43 +02:00
Michal Čihař
96a2e3e35a Avoid using globals for things we have as class attribute
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 10:39:10 +02:00
Michal Čihař
e009217f43 Fix check for system schema
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 10:32:28 +02:00
Michal Čihař
ec984877d8 Improve performance of database structure page
There is no need to get full list of tables twice, it's enough to do it
in the controller itself.

Fixes #12129

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 10:17:56 +02:00
Michal Čihař
f58349481d Avoid destroying already initalized gettext variables
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 10:13:40 +02:00
Michal Čihař
51b5a236c7 Fix check for not set domain
Fixes #12154

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-06 08:47:50 +02:00
Michal Čihař
1580d2fa4d Fixed SQL quoting in SQL export
The fix for 4.5 branch was wrongly merged here.

Fixes #12029

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-05 10:05:22 +02:00
Michal Čihař
66c0fbd631 Simplify SSL setup
Simplify setup to follow current PHP documentation:

- the MYSQLI_CLIENT_SSL flag should not be needed
- there is mysqli_option flag to turn of certificate verification
- remove check for defined constants, all should be there in PHP
  versions we support

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-05 09:57:52 +02:00
Weblate
d2a669b832 Merge remote-tracking branch 'origin/QA_4_6' into QA_4_6 2016-04-05 09:26:03 +02:00
Murodjon Abduvohidov
a83a1092df Translated using Weblate (Uzbek)
Currently translated at 33.2% (1067 of 3211 strings)

[CI skip]
2016-04-05 09:26:03 +02:00
Anders Jonsson
810a5cb9fc Translated using Weblate (Swedish)
Currently translated at 97.8% (3142 of 3211 strings)

[CI skip]
2016-04-05 09:26:03 +02:00
Michal Čihař
a65a4213d7 Load gettext before autoloader
This fixes possible PHP error in SQL parser as it tries to define __()
if it's not existing. Later loading of gettext just breaks this.

Fixes #12154

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-05 09:24:15 +02:00
Weblate
33e32daf17 Merge remote-tracking branch 'origin/QA_4_6' into QA_4_6 2016-03-31 12:37:10 +02:00
Eshin Kunishima
863d2fb4c3 Translated using Weblate (Japanese)
Currently translated at 67.6% (2173 of 3211 strings)

[CI skip]
2016-03-31 12:37:09 +02:00
Krisztián Patai
e0a340f107 Translated using Weblate (Hungarian)
Currently translated at 95.1% (3056 of 3212 strings)

[CI skip]
2016-03-31 12:37:09 +02:00
Madhura Jayaratne
6d7acf969a Merge branch 'QA_4_6' of github.com:phpmyadmin/phpmyadmin into QA_4_6
Conflicts:
	ChangeLog
2016-03-31 21:36:58 +11:00
Madhura Jayaratne
413f66f4c2 Fix #12125 Cannot highlight a column if I scroll down from the top of the table
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-03-31 21:34:43 +11:00
Weblate
a1dd261603 Merge remote-tracking branch 'origin/QA_4_6' into QA_4_6 2016-03-29 21:32:50 +02:00
Ricardo Crivelli
cb91d94705 Translated using Weblate (Portuguese (Brazil))
Currently translated at 92.3% (2964 of 3211 strings)

[CI skip]
2016-03-29 21:32:49 +02:00
Isaac Bennetch
3c139e5899 Merge pull request #12141 from madhuracj/issue12132
Fix #12132 Can not open table with JSON field
2016-03-29 15:32:44 -04:00
Madhura Jayaratne
f4541c8da6 Fix #12132 Can not open table with JSON field
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-03-28 22:50:20 +11:00
Madhura Jayaratne
61dbcafa56 JSON data type is not supported in MariaDB
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-03-28 22:17:48 +11:00
Madhura Jayaratne
f4907d7857 Merge pull request #12136 from ibennetch/json
Fix offering JSON datatype in incompatible MySQL versions
2016-03-28 22:00:39 +11:00
Isaac Bennetch
a6e9314cf3 Fix offering JSON datatype in incompatible MySQL versions
Fixes #12135

Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-03-27 12:32:51 -04:00
Michal Čihař
43a4a042ce Fixed error in 3NF step of normalization
Fixes #12121

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-25 08:18:36 +01:00
Michal Čihař
370620a868 Merge pull request #12127 from ibennetch/glossary
Fixup for missing glossary terms
2016-03-25 08:13:36 +01:00
Isaac Bennetch
705b1aebd6 Fixup for missing glossary terms
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-03-24 23:17:13 -04:00
Michal Čihař
5d755b194a Fixed activation of some languages
We need to maintain mixed case language codes as well.

Fixes #12118

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-24 23:30:24 +01:00
Weblate
3c398261b7 Merge remote-tracking branch 'origin/QA_4_6' into QA_4_6 2016-03-24 07:50:20 +01:00
Madhura Jayaratne
155ad55e91 Translated using Weblate (Sinhala)
Currently translated at 60.6% (1947 of 3211 strings)

[CI skip]
2016-03-24 07:50:19 +01:00
Madhura Jayaratne
7a444c2f17 Fix #12120 PMA_Util not found in insert_edit.lib.php
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-03-24 17:47:47 +11:00
Isaac Bennetch
c9dd2e8a78 Prepare for 4.6.1-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-03-17 07:41:26 -04:00
Weblate
4def458ad7 Merge remote-tracking branch 'origin/QA_4_6' into QA_4_6 2016-03-22 17:16:06 +01:00
Chan Je Park
d83a7a7a81 Translated using Weblate (Korean)
Currently translated at 78.0% (2507 of 3211 strings)

[CI skip]
2016-03-22 17:16:05 +01:00
Weblate
be3137c77a Merge remote-tracking branch 'origin/QA_4_6' into QA_4_6 2016-03-22 01:33:07 +01:00
Eshin Kunishima
0f022341a2 Translated using Weblate (Japanese)
Currently translated at 67.3% (2163 of 3211 strings)

[CI skip]
2016-03-22 01:33:06 +01:00
Tobias Bannert
51443ae8ff Translated using Weblate (German)
Currently translated at 100.0% (3211 of 3211 strings)

[CI skip]
2016-03-22 01:33:06 +01:00
Madhura Jayaratne
a3088fd8bf Fix #12116 Fulltext indexes are not copied when using copy database function
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-03-22 11:32:44 +11:00
Weblate
5fa6925f1a Merge remote-tracking branch 'origin/QA_4_6' into QA_4_6 2016-03-21 13:31:01 +01:00
YF
3dcabaeb40 Translated using Weblate (Chinese (China))
Currently translated at 88.2% (2834 of 3211 strings)

[CI skip]
2016-03-21 13:30:59 +01:00
Deven Bansod
d2ad23972b Fix #12105 : Multi-server drag-drop-import always fails
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-03-21 18:00:22 +05:30
Weblate
61dd5a7b94 Merge remote-tracking branch 'origin/QA_4_6' into QA_4_6 2016-03-19 18:21:41 +01:00
Sevdimali İsa
23116557f2 Translated using Weblate (Azerbaijani)
Currently translated at 52.4% (1685 of 3211 strings)

[CI skip]
2016-03-19 18:21:39 +01:00
Michal Čihař
cb1d20eb92 Udate SQL parser to 9d8ae92
- issue #12109 Fixed parsing of CREATE TABLE [AS] SELECT

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-19 18:20:39 +01:00
Michal Čihař
aa034bb0c9 Update SQL parser
- issue #12026 Fixed parsing of UNION SELECT with brackets

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-18 12:06:27 +01:00
Michal Čihař
1b43606a48 Fixed possible invalid SQL export
We should emit the charset restoration only if we have emitted its
setting in the header. As the condition was slightly different in both
cases it was possible that only one part of these two was emitted in
past.

Fixes #12074

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-18 10:34:17 +01:00