Commit Graph

605 Commits

Author SHA1 Message Date
Lakshay arora
9d08a1dcaf Puts PMA import handler in a separate javascript file.
Makes 'enable_drag_drop_import' as a separate configuration directive, removes it from group of $cfg['IMPORT'] directives.
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>
2018-06-25 12:37:43 +05:30
Lakshay arora
61163cd14b Add configuration setting to toggle drag drop file Import
This commit-
Adds a configuration directive to toggle drag drop Import feature as requested in #13155
TODO:
1. Test it on multiple servers.
2. Disable javascript handlers for drag drop
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>
2018-06-24 14:21:24 +05:30
Maurício Meneghini Fauth
2d58411bee Some coding style fixes
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-06-18 21:30:06 -03:00
Maurício Meneghini Fauth
b9c0463d96 Use short array syntax instead of long array syntax
Replaces array() with [].

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 01:42:21 -03:00
Maurício Meneghini Fauth
d243f7ccd6 Enable strict mode in libraries files
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-16 03:20:45 -03:00
Aswani Prakash
6d3d6afa3e Issue 14019 fix: Allow parameter in AllowThirdPartyFraming
Signed-off-by: Aswani Prakash <aswani15prakash@gmail.com>
2018-05-08 10:38:31 +05:30
Saksham Gupta
d701f6f0af Remove font size feature (#13925)
Fix #13919

Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2018-04-14 07:21:13 -03:00
Michal Čihař
1ebf6c4953 Remove references to sourceforge.net issue trackers
We do not use it for years and all issues have been migrated.

Signed-off-by: Michal Čihař <michal@cihar.com>
2018-01-02 13:24:05 +01:00
Michal Čihař
48c0a1081d Remember state of navigation panel
The NavigationPanel width is now 0 when panel should be collapsed.

Issue #13466
Fixes #13397

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28 16:07:08 +01:00
Michal Čihař
216f403c28 Store navigation width in user preferences
There is no need to have this separetely.

Issue #13466
Issue #11688

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28 15:36:08 +01:00
Michal Čihař
f9c73c7b10 Remove special casing for font size
It is now stored in configuration in same way as any other setting.

Issue #13466
Issue #11688

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28 15:16:01 +01:00
Michal Čihař
b30ab4af58 Generalize code for console preferences
We can reuse and better cache locally the operations to avoid additional
roundtrip to server when changing settings.

Issue #13466
Issue #11688

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28 13:45:14 +01:00
Michal Čihař
a2fd98d9f1 Add console preferences
This will allow to use console preferences using normal userconfig
framework.

Issue #13466

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28 13:08:49 +01:00
Michal Čihař
ec2adf0e56 Merge branch 'QA_4_7' 2017-11-13 12:38:05 +01:00
Michal Čihař
9f3449275e Add SJIS-win to default list of allowed charsets
Fixes #13803

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-13 12:37:24 +01:00
Michal Čihař
5acd64f84d Use two-factor authentication instead fo second authentication factor
This is probably more widely used naming.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-02 09:05:18 +01:00
Michal Čihař
a646d4314e Add generic interface for second authentication factor
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-01 16:34:14 +01:00
Michal Čihař
99f2b16da1 Lower default value for $cfg['MaxExactCount']
Counting of big InnoDB tables is slow, so try to avoid that as much as
possible.

Fixes #13711

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 14:08:04 +02:00
Michal Čihař
4c43a16dd7 Fix variable documentation
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-28 14:58:32 +02:00
Raghuram
44028973ee Fixes #5666 - Default options for transformations
Signed-off-by: Raghuram <raghuram.vadapalli@research.iiit.ac.in>
2017-07-23 13:21:48 +05:30
Michal Čihař
0b9e84e944 Configurable authentication logging using $cfg['AuthLog']
The authentication logging is now configurable and can be set to log
into file.

Hopefully this will prevent DirectAdmin guys producing patches which
generate tons of warnings.

Fixes #13391

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-19 09:50:16 +02:00
Michal Čihař
ae9006e9be Use one temporary directory
Share one directory for Twig cache, SHP import and file uploads.

The code now also validates the cache directory and creates it on the
fly, so it properly detects if the directory can not be used.

Also the documentation has been improved to document securing this
directory.

Fixes #13225
Fixes #13226

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-05 11:08:36 +02:00
Isaac Bennetch
4011041d4f Merge branch 'QA_4_7' 2017-03-08 09:43:01 -05: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ř
cd37ee07e2 Merge branch 'QA_4_7' 2017-02-21 09:13:48 +01:00
Michal Čihař
8cc6de4de3 Remove ServerLibraryDifference_DisableWarning setting
This is getting more and more problematic these days as most of Linux
distributions ship MariaDB libraries, while many people run MySQL
servers. As MariaDB claims the protocol compatibility should stay, we
should not warn in this case.

Of course there is option to add this exception to the warning (so far
the exception is there only other way - when using MySQL libraries to
connect to MariaDB server), but we would be ignoring most cases already
and I think complete removal is better than adding exceptions.

Overall I don't think this warning is doing any good these days.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-20 09:19:22 +01:00
Michal Čihař
2a0d67f259 Merge branch 'QA_4_7' 2017-02-07 10:30:57 +01:00
Michal Čihař
63db3da30a Enclose exports in transaction by default
Fixes #12960

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-07 10:30:45 +01:00
Michal Čihař
5d3a6fbc25 Merge branch 'QA_4_7' 2017-02-06 13:23:09 +01:00
Michal Čihař
1b7914a4e5 Remove connect_type setting
It is really not necessary as MySQL decides connection type rather based
on hostname than on anything else.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-02 16:08:44 +01:00
Michal Čihař
c0bb9520e9 Allow to export JSON with unescaped unicode chars
This is optional as there are some parsers which have problems with
utf-8, see http://stackoverflow.com/q/4901133/225718

Fixes #12946

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-02 13:21:06 +01:00
Isaac Bennetch
583e5e660a Remove dead code and strings relating to xls/xlsx import and export.
This code was removed in 3.4.5.0 but some strings and tests remained.

Fixes #12742

Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-01-17 22:01:45 -05:00
Michal Čihař
5c3f74d875 Merge branch 'QA_4_6' 2017-01-17 17:22:53 +01:00
Michal Čihař
93e354c2e3 Revert "Remove option to show phpinfo() ($cfg['ShowPhpInfo'])"
This reverts commit e67e69229a.
2017-01-07 14:22:14 +01:00
Michal Čihař
10416615cd Merge remote-tracking branch 'origin/pull/12799' 2017-01-02 16:15:58 +01:00
Michal Čihař
6bf4f3bf39 Merge branch 'QA_4_6' 2016-12-19 16:20:57 +01:00
Michal Čihař
ffe68c7219 Honor user configured connection collation
* the user set collation is now honored
* default value has been changed to utf8mb4
* it is downgraded to utf8 if server does not support it

Fixes #12826

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 16:18:21 +01:00
Ashus
40825597df Fixed tests for SignonCookieParams parameter
Signed-off-by: Ashus <github.com@ashus.net>
2016-12-10 17:19:25 +01:00
Ashus
e63ffe1ab8 Added SignonCookieParams parameter
Signed-off-by: Ashus <github.com@ashus.net>
2016-12-10 15:52:44 +01:00
Michal Čihař
1aee86a4fe Remove the nopasswd setting
It does nothing since removal of related feature in
53f541af86.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-17 17:20:54 +02:00
Michal Čihař
e67c066c4e Merge branch 'QA_4_6' 2016-09-26 09:20:25 +02:00
Michal Čihař
b6263ede84 Use example.com as example domain
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-26 09:20:08 +02:00
Michal Čihař
23e01d306a Merge branch 'QA_4_6' 2016-08-17 15:38:22 +02:00
Michal Čihař
1099f68c1a Reintroduce PmaAbsoluteUri setting
It has no affect yet.

Issue #12374

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-17 15:14:46 +02:00
Michal Čihař
52f23338a8 Merge branch 'master-security' 2016-08-17 08:50:51 +02:00
Deven Bansod
315f7b3596 Add optional column 'Charset' on Database structure page
Fix #12162

Add an option to add a Column on Database structure page which shows the charset of each table/view

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-08-08 17:51:16 +05:30
Michal Čihař
360b8e8a11 Merge branch 'master' into master-security 2016-07-28 09:44:08 +02:00
Michal Čihař
d31ff5a1e7 Merge branch 'QA_4_6' into QA_4_6-security 2016-07-28 09:43:26 +02:00
Michal Čihař
6d8e1d7935 Merge branch 'QA_4_6' 2016-07-28 09:38:08 +02:00
Michal Čihař
257e65ba9f Use https for outbound links where applicable
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 09:19:13 +02:00