Commit Graph

8 Commits

Author SHA1 Message Date
Michal Čihař
3c7362c739 Stricten typechecking of parameters
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 13:46:00 +02:00
Michal Čihař
46e82fef4f Optimize zip creation a bit
Avoid constructing temporary strings and concatenating them, create each
record at once.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 13:26:33 +02:00
Michal Čihař
c67e83a57c Fixed creating zip file with single entry
And add tests to cover that.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 13:26:26 +02:00
Michal Čihař
1c166aef3a Fix creating single file zip
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 13:05:06 +02:00
Michal Čihař
b3cd03d4f9 Fix handling of string parameter
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 09:37:56 +02:00
Maurício Meneghini Fauth
95a409c4f2 Move controllers to PhpMyAdmin namespace
- Move base controllers to PhpMyAdmin namespace
- Move database controllers to PhpMyAdmin namespace
- Move server controllers to PhpMyAdmin namespace
- Move table controllers to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-14 11:18:48 -03:00
Aron Bergman
dd73e321e3 Refractor ZipExtension to use ZipArchive
ZipExtension is now using ZipArchive instead of zip_* functions.
Replaced getError with ZipArchive::getStatusString.
The documentation for the file has been refractored.
ZipExtension now includes ZipFile functionality, and thus ZipFile is removed.

See issue #13365

Signed-off-by: Aron Bergman <bathingrad@gmail.com>
2017-07-10 09:39:37 +02:00
Maurício Meneghini Fauth
42bfa9c42d Move classes to PhpMyAdmin namespace
- Move ZipExtension to PhpMyAdmin namespace
- Move ZipFile to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-01 10:49:53 -03:00