Commit Graph

111517 Commits

Author SHA1 Message Date
Michal Čihař
2327dbf3c3 Move allow/deny rules check to AuthenticationPlugin
Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 18:14:56 +02:00
Michal Čihař
9bc5bfd74c Move authentication logic to AuthenticationPlugin
Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 18:14:56 +02:00
Michal Čihař
026d722178 Rationalize AuthenticationPlugin API
Make the API more consistent, remove not needed auth prefix and stop
talking about advanced authentication which has been there about 10
years ago.

API changed:

- authCheck is now readCredentials
- authSetUser is now storeCredentials
- auth is now showLoginForm
- authFails is now showFailure
- storeUserCredentials is now rememberCredentials

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 18:14:56 +02:00
Michal Čihař
13d2ff1f5b Consistely use no return value for AuthenticationPlugin::authFails
It really does not return in the end, so make the docs consistent
with the code.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 18:14:56 +02:00
Michal Čihař
56c1c9fc5c Share base code for AuthenticationPlugin::authSetUser
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 18:14:56 +02:00
Maurício Meneghini Fauth
01a51330bf Update jQuery Validation Plugin to 1.17.0
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-20 13:09:27 -02:00
Maurício Meneghini Fauth
79612e975f Update jQuery Migrate to 3.0.1
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-20 12:58:13 -02:00
Maurício Meneghini Fauth
2dcecd7c08 Move jquery.md5.js to js/vendor/jquery
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-20 12:13:58 -02:00
Maurício Meneghini Fauth
dc8866230c Update TraceKit to 0.4.5
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-20 12:06:54 -02:00
Maurício Meneghini Fauth
bb8e3c3e54 Update CodeMirror to 5.30.0
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-20 11:54:18 -02:00
Michal Čihař
d1f98f85f8 Simplify authentication plugin handling
- rely on autoloader to figure out filename
- directly contruct full class name

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 15:41:56 +02:00
Michal Čihař
b6ab344e6f Move request check to helper method
Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 15:41:16 +02:00
Maurício Meneghini Fauth
a8cd41bd40 Merge pull request #13763 from mauriciofauth/yarn-packages
Add JavaScript dependencies to package.json
2017-10-20 10:42:07 -02:00
Maurício Meneghini Fauth
84176cb9fe Add JavaScript dependencies to package.json
Added dependencies on specific versions because we do not use these files
directly which makes updating non-automatic.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-20 10:28:03 -02:00
Michal Čihař
8cf6efcce5 Merge branch 'QA_4_7' 2017-10-20 11:39:00 +02:00
Michal Čihař
e87ca9e954 Removed linking to files in changelog
The filenames are usually partial, so it really doesn't work well.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 11:38:40 +02:00
Michal Čihař
aa1cb197f5 Merge branch 'QA_4_7' 2017-10-20 11:25:28 +02:00
Michal Čihař
f2dcdfff50 Do not hardcode secure flag in examples
We can not assume that setup will be https by default, so having false
as default is safer.

Fixes #13758

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 11:24:00 +02:00
Michal Čihař
c2d5c993a2 Merge branch 'QA_4_7' 2017-10-20 11:05:55 +02:00
Michal Čihař
9658cb467b Merge remote-tracking branch 'origin/QA_4_7' 2017-10-20 11:05:28 +02:00
Evi K
e98d8c8cfb Translated using Weblate (Greek)
Currently translated at 99.9% (3228 of 3231 strings)

[CI skip]
2017-10-20 11:05:06 +02:00
Michal Čihař
3a625bcd1f Fixed listing of bookmarks for a database
Fixes #13761

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 11:04:45 +02:00
Michal Čihař
b916d5da6e Create CODE_OF_CONDUCT.md
I think it's useful to have one. This one comes from the ones suggested
by GitHub and I think is good match for us.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-19 14:42:51 +02:00
Michal Čihař
6d40c96086 Merge pull request #13749 from ankitjain28may/ankitjain28may-13748
Fix for table names being obscured when changing table structure
2017-10-19 14:40:28 +02:00
Anant Jain
ba4f362b67 Add word wrap in export option heading-2 (H2) (#13746)
Fixes #13745

Signed-off-by: Anant Jain <anantjain60@gmail.com>
2017-10-19 14:35:53 +02:00
David Kindl
4736f76cd4 Translated using Weblate (Czech)
Currently translated at 92.8% (2976 of 3205 strings)

[CI skip]
2017-10-19 10:45:12 +02:00
Weblate
8b2ca5cdbe Merge remote-tracking branch 'origin/master' 2017-10-19 01:54:03 +02:00
David Kindl
28f605bbb1 Translated using Weblate (Czech)
Currently translated at 91.5% (2957 of 3231 strings)

[CI skip]
2017-10-19 01:53:53 +02:00
Maurício Meneghini Fauth
b0ec0b3557 Merge pull request #13759 from mauriciofauth/templates
Port some templates to Twig format
2017-10-18 21:53:32 -02:00
Maurício Meneghini Fauth
09b3488fe4 Port database/structure/structure_table_row to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-18 21:19:52 -02:00
Maurício Meneghini Fauth
efacd3e2ba Port columns_definitions/column_default to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-18 17:58:59 -02:00
iF
2b12059660 Translated using Weblate (Basque)
Currently translated at 15.1% (486 of 3205 strings)

[CI skip]
2017-10-18 19:44:26 +02:00
Maurício Meneghini Fauth
536caac21d Port navigation/logo template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-18 12:34:02 -02:00
Weblate
b313553bed Merge remote-tracking branch 'origin/master' 2017-10-18 04:39:55 +02:00
iF
4237285829 Translated using Weblate (Basque)
Currently translated at 14.9% (483 of 3231 strings)

[CI skip]
2017-10-18 04:39:42 +02:00
Maurício Meneghini Fauth
a3b039041a Merge pull request #13754 from mauriciofauth/templates
Port some templates to Twig format
2017-10-18 00:39:15 -02:00
Maurício Meneghini Fauth
43bf9e5e78 Port table/structure/partition_definition_form to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-17 23:03:32 -02:00
Maurício Meneghini Fauth
fa5c45444e Port columns_definitions/partitions to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-17 22:55:24 -02:00
Maurício Meneghini Fauth
e270cbdc51 Port columns_definitions/column_virtuality to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-17 17:46:13 -02:00
Maurício Meneghini Fauth
f8f72324fd Port columns_definitions/column_attribute to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-17 16:17:47 -02:00
Maurício Meneghini Fauth
49caca9185 Refactor database/structure/sortable_header
Move templates/database/structure/sortable_header.phtml logic to
PhpMyAdmin\Util::sortableTableHeader method.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-17 16:17:47 -02:00
Maurício Meneghini Fauth
62197a88a6 Port database/structure/check_all_tables to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-17 16:17:47 -02:00
anonymous
c0f1f2d56e Translated using Weblate (Basque)
Currently translated at 14.6% (472 of 3231 strings)

[CI skip]
2017-10-17 18:42:30 +02:00
iF
079cc83da3 Translated using Weblate (Basque)
Currently translated at 14.5% (470 of 3231 strings)

[CI skip]
2017-10-17 18:41:43 +02:00
anonymous
981df7a12d Translated using Weblate (Basque)
Currently translated at 14.5% (470 of 3231 strings)

[CI skip]
2017-10-17 18:41:22 +02:00
iF
15c9bf5b27 Translated using Weblate (Basque)
Currently translated at 14.4% (468 of 3231 strings)

[CI skip]
2017-10-17 18:40:36 +02:00
anonymous
35bb4ff274 Translated using Weblate (Basque)
Currently translated at 14.4% (468 of 3231 strings)

[CI skip]
2017-10-17 18:40:21 +02:00
iF
3f0851410a Translated using Weblate (Basque)
Currently translated at 14.4% (467 of 3231 strings)

[CI skip]
2017-10-17 18:39:55 +02:00
anonymous
30ce02b21e Translated using Weblate (Basque)
Currently translated at 14.3% (464 of 3231 strings)

[CI skip]
2017-10-17 18:35:20 +02:00
Ankit Jain
7a9754a64d Fixed #13748
Signed-off-by: Ankit Jain <ankitjain28may77@gmail.com>
2017-10-16 17:27:08 +05:30