Maurício Meneghini Fauth
1d8367368e
Remove allowDeny_forbidden global
...
Fixes issue introduced by 2327dbf3c3 .
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-03-26 16:08:42 -03:00
William Desportes
69f9172a4c
Fix #18049 - Also check that curl_exec is enabled
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2024-03-13 13:28:45 +01:00
Maurício Meneghini Fauth
0f93ebb1d1
Fix duplicate route parameter after logging in
...
- Fixes #17363
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-11-16 18:14:13 -03:00
Yuval Haor Noga
b305ec30fa
Ref #16451 - Increase max password length from 1000 to 2000
...
Signed-off-by: Yuval Haor Noga <yuvalhnoga@gmail.com>
2023-03-10 15:45:30 +01:00
Maurício Meneghini Fauth
4d1546f7c5
Fix indentation issues
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-10-16 13:41:31 -03:00
Maurício Meneghini Fauth
5d9142674d
Allow longer cookie encryption keys to be used
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-26 17:34:18 -03:00
Maurício Meneghini Fauth
411bacf613
Use Sodium for auth cookies encryption
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-13 18:46:04 -03:00
Maurício Meneghini Fauth
7aaab24463
Remove the phpseclib dependency
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-13 17:43:50 -03:00
Kamil Tekiela
f446e6da88
Remove unused variables
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-03 15:12:56 +00:00
Kamil Tekiela
488e7cb5bf
Use array_keys whenever only keys are needed in foreach
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-11-29 20:37:39 +00: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
Maurício Meneghini Fauth
7f6472b2c2
Add void return type where possible
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-13 15:29:11 -03:00
William Desportes
41386f8cca
Fix class name after #14321
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-25 02:16:41 +02:00
William Desportes
8cbd90cacd
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-25 02:03:17 +02:00
William Desportes
6019680c6a
Merge branch 'QA_4_9' into QA_5_1
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-25 01:54:51 +02:00
William Desportes
e3f4a57aa6
Fix #14321 - leaked HTML on auth_type=signon before redirect occurs and on error page when SignonURL is not set
...
This fix also fixes the display when SignonURL is empty at configuration time.
When the user was redirected there was HTML in the output that could leak some interesting details about the server or the user.
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-25 01:36:36 +02:00
Maurício Meneghini Fauth
04d3c83559
Fix some errors found by PHPStan/Psalm
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-05 16:09:08 -03:00
Maurício Meneghini Fauth
9adaa912e1
Rename Response class to ResponseRenderer
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-06-30 12:35:22 -03:00
Maurício Meneghini Fauth
cc0cc79253
Accept only string for Response::addHTML method
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-06-29 18:04:18 -03:00
Maurício Meneghini Fauth
6989d615a5
Fix some errors found by PHPStan
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-06-09 13:07:40 -03: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
9928882de3
Fix some errors found by Psalm
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-05-23 00:24:59 -03:00
Maurício Meneghini Fauth
95fdd35e2f
Remove the .pma-table CSS class
...
Replaces with equivalent Bootstrap classes.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-05-15 17:16:22 -03:00
William Desportes
6649d99517
Fix "Retry to connect" button style
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-04-28 23:14:23 +02:00
Maurício Meneghini Fauth
f19a3d95c4
Remove LanguageManager::getSelectorDisplay method
...
Redesign the language selector to use Bootstrap style.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-04-22 15:51:26 -03:00
Maurício Meneghini Fauth
8d0c2a339c
Move both operands of an assignment to the same line
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-04-20 22:35:21 -03:00
Maurício Meneghini Fauth
8d460568f3
Upgrade Psalm to 4.7.0
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-29 15:11:13 -03:00
Maurício Meneghini Fauth
6b0a10d8ca
Rename the error_handler global to use camel case
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-16 12:11:51 -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
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
9f5a72f45e
Upgrade phpseclib to version 3
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@php.net>
2021-02-22 18:01:03 -03:00
William Desportes
54f09a8e9c
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-05 01:51:54 +01:00
William Desportes
2cac456ce2
Fix code comment typos
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-05 01:03:28 +01:00
Maurício Meneghini Fauth
1e5fbd57fc
Create Twig\AssetExtension and image Twig function
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-01-28 16:09:17 -03:00
William Desportes
b4f1e14e80
fix or ignore phpstan 0.12.63 errors
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-12-18 22:17:18 +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
c64b77abe1
Move HTML's table CSS to the pma-table class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-16 16:36:16 -03:00
William Desportes
cf6f5d5055
Merge #16406 - Fix #16457 - Add config parameters to support third-party reCAPTCHA v2 compatible APIs
...
Fixes : #16457
Pull-request: #16406
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-11-05 00:04:29 +01:00
William Desportes
094ac77122
Merge #16452 - Fix #16451 - AWS RDS IAM authentication doesn't work because pma_password is truncated
...
Fixes : #16451
Pull-request: #16452
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-11-04 10:09:11 +01:00
Kamil Hristov
3ed01db704
Increase password characters limit during login
...
- allow logging in with longer passwords, for example tokens generated
by AWS RDS IAM authentication
- show error message when the limit is reached instead of silently
trimming the password to avoid confusion
Signed-off-by: Kamil Hristov <kamilhristov@gmail.com>
2020-11-03 09:18:58 +02:00
Maurício Meneghini Fauth
e4e274976e
Extract cache methods from Util to SessionCache class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-25 22:45:56 -03:00
James Renken
ecbe0dd6d3
Add config parameters to support third-party reCAPTCHA v2 compatible APIs
...
Signed-off-by: James Renken <james@renken.is>
2020-10-23 10:55:00 +02:00
Maurício Meneghini Fauth
ac9bccf67d
Replace $GLOBALS['dbi'] with global $dbi
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-11 09:24:21 -03: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
William Desportes
d077836a50
Merge branch 'QA_5_0'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-09-07 14:08:41 +02:00
William Desportes
330747998d
Fix #15634 - Only use session_set_cookie_params once on PHP >= 7.3.0 versions
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-09-07 14:02:24 +02:00
William Desportes
e00d31f714
Merge branch 'QA_5_0'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-08-08 00:05:30 +02:00