Maurício Meneghini Fauth
|
5950693fb3
|
Fix possible undefined globals
Related to https://github.com/phpmyadmin/phpmyadmin/pull/17427.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-03-10 18:05:21 -03:00 |
|
Maurício Meneghini Fauth
|
1438cb211e
|
Replace global keyword with $GLOBALS
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-03-07 17:31:11 -03:00 |
|
Maurício Meneghini Fauth
|
44fe103b9c
|
Remove @access annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-22 11:43:45 -03:00 |
|
Maurício Meneghini Fauth
|
f00d70cccb
|
Remove useless whitespaces
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-15 17:05:40 -03:00 |
|
Maurício Meneghini Fauth
|
9f3510d11a
|
Add bool return type where possible
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-14 20:11:51 -03:00 |
|
William Desportes
|
e7c2557f02
|
Fix Theme::load after #16967
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-16 01:44:21 +02:00 |
|
William Desportes
|
ddc5338a74
|
Fix Theme check after #16967
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-16 01:28:29 +02:00 |
|
William Desportes
|
66d0fecb90
|
Merge branch 'origin/QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-16 01:22:53 +02:00 |
|
William Desportes
|
1ca6be3f92
|
Fix wrong separator on getThemesDir for Windows on fallback mode
Ref: 9444234e78
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-16 01:20:06 +02:00 |
|
William Desportes
|
300e835edb
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-16 01:10:11 +02:00 |
|
William Desportes
|
f09ead5e07
|
Fix code using relative path
if (chdir('/tmp') === false) {
die('Could not change dir');
}
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-15 22:24:30 +02:00 |
|
Maurício Meneghini Fauth
|
1c084de30b
|
Fix coding standard errors
Related to 62f142c9fa.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-03 16:50:33 -03:00 |
|
Maurício Meneghini Fauth
|
7e33d227f5
|
Rename the PMA_Config global variable to config
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-08 15:03:12 -03:00 |
|
Maurício Meneghini Fauth
|
3a161651ea
|
Rename variables to use camel case format
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-07 14:58:49 -03:00 |
|
Maurício Meneghini Fauth
|
d83abf63e7
|
Use PSR-12 for control structures spacing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-05 15:27:03 -03:00 |
|
Maurício Meneghini Fauth
|
0b8edc5bde
|
Use PSR-12 for namespace use statements
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-05 14:18:35 -03:00 |
|
Maurício Meneghini Fauth
|
12d662baa3
|
Replace themes preview popup with a modal
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-02-04 23:21:31 -03:00 |
|
Maurício Meneghini Fauth
|
17a01d9d9d
|
Extract the HTML from ThemeManager::getHtmlSelectBox
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-01-28 22:34:01 -03:00 |
|
Maurício Meneghini Fauth
|
57ffba8dd4
|
Refactor ThemeManager::loadThemes
Removes themesPath property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-01-27 18:24:56 -03:00 |
|
William Desportes
|
207d6d44fa
|
Remove unused parameter for getHtmlSelectBox on ThemeManager class
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-12-07 15:17:05 +01:00 |
|
William Desportes
|
1d154724a5
|
Add more typehints to the theme manager class
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-12-07 15:15:01 +01:00 |
|
William Desportes
|
35cdaf4356
|
Fix #16512 - Add some code securities when the themes folder does not exist
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-12-07 15:02:06 +01:00 |
|
Maurício Meneghini Fauth
|
e66be179ca
|
Use camel case naming for class members
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-05 10:37:07 -03:00 |
|
Maurício Meneghini Fauth
|
bb32ba6d9c
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-04 12:31:43 -03:00 |
|
Maurício Meneghini Fauth
|
f2e49a92c6
|
Fix some type errors detected by PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-30 19:23:01 -03:00 |
|
Maurício Meneghini Fauth
|
ceac762e09
|
Remove pmaThemePath and pmaThemeImage PHP globals
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-02 10:57:57 -03:00 |
|
William Desportes
|
d63a72ad51
|
Fixes #16278 - Remove underscore prefix from property names
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-08-06 15:46:39 +02:00 |
|
Maurício Meneghini Fauth
|
3b285ff17e
|
Use identical operator for non-empty strings
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-10 18:06:29 -03:00 |
|
Maurício Meneghini Fauth
|
e81146e4b3
|
Remove useless return annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-07 10:30:27 -03:00 |
|
William Desportes
|
fd21520711
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-01 14:40:36 +02:00 |
|
William Desportes
|
50af2c9baa
|
Fix coding standard issues
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-01 14:35:20 +02:00 |
|
William Desportes
|
bbe1132484
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-01 14:05:53 +02:00 |
|
William Desportes
|
9444234e78
|
Fix #16237 - Logo missing in upper left corner of navigation panel
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-01 13:55:11 +02:00 |
|
charliewindred
|
ca3c5e17b0
|
Remove underscore prefix from method names
Removed underscore from method names for PSR-12 compliance.
Signed-off-by: charliewindred <charliewindred@gmail.com>
|
2020-06-02 16:44:16 +01:00 |
|
Maurício Meneghini Fauth
|
f4582e083e
|
Use early exit when possible
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-27 00:35:24 -03:00 |
|
Maurício Meneghini Fauth
|
3baad2eb1c
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-25 22:42:37 -03:00 |
|
Maurício Meneghini Fauth
|
8dd310fb6a
|
Remove assignments in if conditions
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-16 01:35:19 -03:00 |
|
Maurício Meneghini Fauth
|
a64393e7f5
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-13 00:23:28 -03:00 |
|
Maurício Meneghini Fauth
|
6584b01824
|
Use short versions of scalar types in PHP docs
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-23 12:20:04 -03:00 |
|
Maurício Meneghini Fauth
|
676f48349a
|
Reference global funcs and consts via use statement
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-21 22:13:36 -03:00 |
|
Maurício Meneghini Fauth
|
5e0f539d2f
|
Fix invalid @var php doc annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-21 13:19:08 -03:00 |
|
Maurício Meneghini Fauth
|
585fdaea5a
|
Fix PHP doc spacing and order
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 18:07:37 -03:00 |
|
Maurício Meneghini Fauth
|
f80d3e3bd4
|
Remove unnecessary annotations
@package, @subpackage and others.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 17:35:56 -03:00 |
|
Maurício Meneghini Fauth
|
6283caaabf
|
Use one line for comments with a single line
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 16:04:09 -03:00 |
|
Maurício Meneghini Fauth
|
c231652c67
|
Remove useless comments in PHP docs
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 14:38:49 -03:00 |
|
Maurício Meneghini Fauth
|
8ec4209002
|
Fix some coding standard issues
- Inverts yoda comparisons
- Removes parentheses from return
- Removes useless ternary operators
- Adds paretheses to new instances
- Adds trailing array comma
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 00:38:34 -03:00 |
|
Maurício Meneghini Fauth
|
f29239d72f
|
Move home entry point logic to the routes file
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-11-05 21:47:39 -03:00 |
|
William Desportes
|
519aeadbc8
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2019-11-03 15:58:13 +01:00 |
|
William Desportes
|
c7f7f9c6c0
|
Merge branch 'QA_4_9' into QA_5_0
Revert: 45d46a6316
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2019-11-03 15:52:51 +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 |
|