Commit Graph

111604 Commits

Author SHA1 Message Date
Michal Čihař
23b07d4366 Correctly render html formatted variables
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 11:27:04 +01:00
Michal Čihař
2bb01ef0a7 Share code for row filtering
Make it generic so that it works in most cases and fixes does not have
to be implemented multiple times.

Issue #13517

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 11:25:51 +01:00
Michal Čihař
61c3aeeb5d Remove javascript hover
It is already handled by CSS and this code is commented out.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 10:32:27 +01:00
Michal Čihař
b0421d7d8c Merge branch 'QA_4_7' 2017-10-30 10:28:23 +01:00
Michal Čihař
7a17da0f57 Fixed check all interaction with filtering
- check all select only filtered rows
- the hidden rows are automatically unselected
- the check all state is updated according to filtering

Fixes #13517

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 10:26:03 +01:00
Michal Čihař
8fa32adb4e Fix handling of initial letter in privileges
Fixes #13783

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 09:36:11 +01:00
Michal Čihař
aa9da566a6 Define specific_db/specific_table outsite is_grant scope
Fixes #13784

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 09:34:05 +01:00
Michal Čihař
a798a9c31e Merge branch 'QA_4_7' 2017-10-30 09:27:34 +01:00
Michal Čihař
8109763b75 Remove not needed CSS for span elements
These do not have any border by default, so there is no need to remove it.

Issue #13777

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 09:26:37 +01:00
Michal Čihař
43cbcf6bd0 Remove unused class
Issue #13777

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 09:23:49 +01:00
Michal Čihař
636b22cb06 Remove clearright class
This element is currently not rendered at all, so avoid adding class for it.

Issue #13777

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 09:21:26 +01:00
Michal Čihař
01774e6bff Merge remote-tracking branch 'origin/pull/13777' 2017-10-30 09:19:06 +01:00
Pyscowicz
42a832f290 Translated using Weblate (Finnish)
Currently translated at 69.0% (2212 of 3205 strings)

[CI skip]
2017-10-29 05:45:55 +01:00
Pyscowicz
b98e6b7f31 Translated using Weblate (Finnish)
Currently translated at 67.9% (2196 of 3231 strings)

[CI skip]
2017-10-29 05:45:46 +01:00
Maurício Meneghini Fauth
f51b2ee4e1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3205 of 3205 strings)

[CI skip]
2017-10-28 02:49:52 +02:00
Guilherme Souza Silva
99c3f538fc Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3231 of 3231 strings)

[CI skip]
2017-10-28 02:49:41 +02:00
monolifed
759b597570 Translated using Weblate (English (United Kingdom))
Currently translated at 99.9% (3230 of 3231 strings)

[CI skip]
2017-10-28 02:46:10 +02:00
Guilherme Rocha
121c36508c Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3231 of 3231 strings)

[CI skip]
2017-10-27 02:46:23 +02:00
Daniel Miloca
0968071397 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3231 of 3231 strings)

[CI skip]
2017-10-27 02:42:35 +02:00
rafaelswitek
5e2a9fd6eb Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3231 of 3231 strings)

[CI skip]
2017-10-27 02:37:22 +02:00
Michal Čihař
8be938051a Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (3205 of 3205 strings)

[CI skip]
2017-10-27 01:37:15 +02:00
Maurício Meneghini Fauth
246769a979 Port columns_definitions/transformation to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-25 09:52:30 -02:00
Paweł Skokowski
219197244d added changes to theme original
Signed-off-by: Paweł Skokowski <skokowskipawel@icloud.com>
2017-10-25 12:45:09 +02:00
Paweł Skokowski
d4a7cef45b added changes to theme original
Signed-off-by: Paweł Skokowski <skokowskipawel@icloud.com>
2017-10-25 12:42:19 +02:00
Michal Čihař
701a8855fd Merge pull request #13770 from nijel/dbi
Database interface cleanups
2017-10-25 12:05:54 +02:00
Paweł Skokowski
256bcde099 Removed inline css in side_menu.twig
Signed-off-by: Paweł Skokowski <skokowskipawel@icloud.com>
2017-10-25 11:46:36 +02:00
Paweł Skokowski
f6089540d2 Removed inline css in gis_data_editor.php
Signed-off-by: Paweł Skokowski <skokowskipawel@icloud.com>
2017-10-25 11:21:01 +02:00
Weblate
a70850636b Merge remote-tracking branch 'origin/QA_4_7' into QA_4_7 2017-10-25 10:44:51 +02:00
Steven WdV
e12e34856a Translated using Weblate (Dutch)
Currently translated at 100.0% (3205 of 3205 strings)

[CI skip]
2017-10-25 10:44:43 +02:00
Michal Čihař
125aa9ab8e Merge branch 'QA_4_7' 2017-10-25 10:44:00 +02:00
Michal Čihař
784e9e9b87 Ignore php-myadmin.ru from linkcheck in docs
The site works, it's just missing intermediate certificate, what makes
it fail in the linkcheck, but usually works in the browser as it has
already seen the intermediate cert before elsewhere.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:41:53 +02:00
Michal Čihař
1f968ce29b Fix setting variable
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:24:45 +02:00
Michal Čihař
99e47a90d9 Always define correct connection type
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
2c248fa83d Fix documentation for DatabaseInterface::getDefinition
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
ae0a259bac Move link parameter as last in getTablesFull
It is currently not used here, so move it to the end.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
feb56e7f49 Correctly define connection type
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
33cfe75e9f Return calculated value from isUserType
There is no need to hit the cache again to read the value.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
398e7b8e58 Avoid poluting user cache without database connection
Returning false is obviously faster than dealing with the cache.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
5f29ace249 Simplify DatabaseInterface link parameter handling
- check validy only when invoking low level calls
- avoid too early array usage

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
4fe87fb592 Remove usage of $GLOBALS['controllink']
This is now stored internally inside DatabaseInterface instance.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
deed987f15 Always define PMA_Config in tests
It is needed for template rendering, so most tests need it.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
afa5aa1328 Simplify condition for checking link existence
As the control link is same as user link if none is defined
we can check only if user is logged in.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
329ce22b73 Correctly handle fallback control user connection using user parameters
Remember it as CONNECT_CONTROL and avoid running post connect handler.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
60c1b32472 Remove usage of $GLOBALS['userlink']
The links are internal to DatabaseInterface and user link is default.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
dfc6f7bf8e Remember MySQL links internally in the database interface
This should replace $GLOBALS['userlink']/$GLOBALS['controllink'].

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Weblate
ad178f248c Merge remote-tracking branch 'origin/master' 2017-10-25 03:35:57 +02:00
Steven WdV
9a3cfda36c Translated using Weblate (Dutch)
Currently translated at 99.7% (3222 of 3231 strings)

[CI skip]
2017-10-25 03:35:52 +02:00
Maurício Meneghini Fauth
f9dd640c1a Port privileges/initials_row template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-24 23:32:52 -02:00
Maurício Meneghini Fauth
a75010c8b9 Port database/structure/table_header to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-24 22:27:02 -02:00
Michal Čihař
0c44d41e5e Remove unused code
This has no use since 03d37b45f1
(for more than 7 years).

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-24 14:13:45 +02:00