Commit Graph

54 Commits

Author SHA1 Message Date
Isaac Bennetch
fa53b374ad Prepare for version 4.9.4
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2020-01-07 14:10:45 -05:00
Isaac Bennetch
ed048bd10f Prepare for version 4.9.3
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-12-26 10:00:06 -05:00
William Desportes
52cef30384
Fix php 8.0 php notices - Undefined index
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-16 20:14:36 +01:00
William Desportes
fd2b172365
Fix #15621 - Support CloudFront-Forwarded-Proto header
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-09 21:10:12 +01:00
William Desportes
5f5dc024a1
Fix #15592 - Warning: error_reporting() has been disabled for security reasons
Fixes: #15592
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-11-24 15:54:02 +01:00
Isaac Bennetch
8fbd20ba31 Prepare for version 4.9.3-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-11-23 06:48:13 -05:00
Isaac Bennetch
00f72f1171 Prepare for version 4.9.2
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-11-21 22:00:53 -05:00
William Desportes
45d46a6316
Remove typehints for hhvm
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-10-30 00:06:12 +01:00
William Desportes
a3d77ce84b
Fix #14184 - HTTPS/HTTP cookie separation issue (aka Failed to set session cookie. Maybe you are using HTTP instead of HTTPS)
Duplicate-of-pull-request: #14420
Fixes: #14184
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-10-30 00:06:12 +01:00
Isaac Bennetch
806a880be6 Prepare for 4.9.2-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-09-21 00:07:20 -04:00
Isaac Bennetch
a9329ec767 Prepare for version 4.9.1
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-09-20 18:22:47 -04:00
Isaac Bennetch
e7b73831e5 Prepare for version 4.9.1
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-06-04 12:21:25 -04:00
Isaac Bennetch
004848d93f Prepare version 4.9.0.1
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-06-04 12:05:18 -04:00
Isaac Bennetch
712e4a2d98 Prepare for 4.9.1-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-06-04 11:34:38 -04:00
Isaac Bennetch
519c32bc08 Prepare for release 4.9.0
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-06-04 10:45:01 -04:00
Isaac Bennetch
6d5af1b97d Prepare for 4.8.6-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-01-25 22:43:24 -05:00
Isaac Bennetch
2210bdcb17 Prepare for version 4.8.5
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-01-25 20:33:18 -05:00
William Desportes
99cee9e389
Fix #14635 - Git revision error
See: #14762
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-12-21 15:02:13 +01:00
William Desportes
3ca6646137
Fix found by phpstan
See: cc2665121d
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-12-21 11:49:00 +01:00
William Desportes
a6b6792cfb
Added tests for Config::checkGitRevision and Config::isGitRevision
#14253
Cherry-Picked-From: 9687dfbfd2
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-12-21 11:48:59 +01:00
William Desportes
1ead268e42
Add support for commondir file in .git dir
- See : https://git-scm.com/docs/gitrepository-layout/2.5.1
- See : https://git-scm.com/docs/gitrepository-layout
#14391
Cherry-picked-from: 13e34b400a
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-12-21 11:48:49 +01:00
Isaac Bennetch
09c188497e Prepare for 4.8.5-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-12-11 09:23:27 -05:00
Isaac Bennetch
bd0383ee71 Prepare for version 4.8.4
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-12-10 14:49:35 -05:00
Isaac Bennetch
fb7e4f18e1 Prepare for 4.8.4-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-08-22 09:48:23 -04:00
Isaac Bennetch
8bac4a931b Prepare for version 4.8.3
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-08-22 08:49:55 -04:00
Isaac Bennetch
42f36cce39 Prepare for version 4.8.3-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-06-21 13:41:45 -04:00
Isaac Bennetch
d363fa02c6 Prepare for version 4.8.2
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-06-21 11:50:09 -04:00
Isaac Bennetch
5d85c6d768 Prepare for 4.8.2-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-05-24 23:31:18 -04:00
Isaac Bennetch
a349504b0e Prepare for 4.8.1 release
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-05-24 22:37:57 -04:00
Isaac Bennetch
22233f72a5 Prepare for 4.8.1-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-04-08 00:07:53 -04:00
Isaac Bennetch
c47d3c82dc Prepare release 4.8.0
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-04-07 09:04:25 -04:00
Isaac Bennetch
682a94947f Prepare for 4.8.0-rc1
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-03-27 00:06:44 -04:00
Maurício Meneghini Fauth
38767030ef Remove @ operator from ini_get()
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-01 22:36:35 -03:00
Maurício Meneghini Fauth
35eb2da38a Remove @ operator from function_exists
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-01 22:36:35 -03:00
Isaac Bennetch
6e22171fa6 Revert version to 4.8.0-dev for ongoing development and error reporting server details
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-02-27 23:04:54 -05:00
Isaac Bennetch
032f13bbac Update version number for 4.8.0-alpha1
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-02-27 23:04:53 -05:00
Maurício Meneghini Fauth
17bf8b7309 Replace static methods with instance methods
Replaces PhpMyAdmin\UserPreferences static methods with instance methods.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-23 15:26:02 -03:00
Maurício Meneghini Fauth
235b0e9631 Fix case in which checkServers is never called
If there is no configuration file, the checkServers() method will never be called.

Fix #13769

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-10 16:47:18 -02:00
Maurício Meneghini Fauth
16edb87ee1 Refactor Utils\HttpRequest class
Use instance methods instead of static methods

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-01-22 17:31:57 -02:00
Maurício Meneghini Fauth
3d8eafd68a Extract HTTP requests related methods
Move HTTP requests related methods from Util class to
PhpMyAdmin\Utils\HttpRequest class.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-01-22 17:31:57 -02:00
Maurício Meneghini Fauth
01fd301003 Use 'elseif' keyword istead of 'else if'
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-04 13:31:25 -02:00
Michal Čihař
3b6a994dcd Move collation connection setting to user preferences
It is now handled same way as other user settings.

Issue #11688
Issue #13466

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-29 14:16:31 +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ř
a513a7550a Propagate possible failure from saving prefs
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-31 16:13:02 +01:00
Michal Čihař
ac856175a6 Move server selection to Config class
- move server selection from common.inc.php to Config class
- add tests covering most usual cases

Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 19:14:38 +02:00
Michal Čihař
4064aec9df Cache temp dir path
The Template class can be constructed many times during single request,
so better to cache temp dir lookup which can take several steps.

Issue #13711

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-02 16:03:34 +02:00
Maurício Meneghini Fauth
1d4125f15c Add array type declarations
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-24 23:49:59 -03:00
Maurício Meneghini Fauth
ce49e7f60f Refactor user_preferences functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-12 22:31:02 -03:00
Michal Čihař
51fb18612a Move Theme object out of session
Honestly I don't see good reason for storing Theme in session as loading
it from the session will take about same time as loading it from the
disk.

Additionally it seems that current code really didn't really use the
object stored in session, it was constructed with every request anyway
(by ThemeManager::initializeTheme).

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 14:18:35 +02:00
Michal Čihař
0983378e29 Replace PMA_SETUP define by configuration variable
This way we don't need runkit for testing and it's anyway a bit cleaner
approach.

Issue #13484

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-12 17:35:09 +02:00