MauricioFauth
Repos
44
Followers
145
Following
125

A web interface for MySQL and MariaDB

6202
3082

Brazilian Portuguese translation of the PHP documentation

53
52

Events

issue comment
Issue #17727 Started refactoring uses of $db and $table

Thank you! And apologies I couldn't return to finish it up. I got a bit swamped with other responsibilities.

You don't have to apologize. Thank you for you contribution. I added the error handling and some tests in 135cd76d3b3d4a2ce805434632b286c915ad6dc9.

Created at 2 days ago

Add the version to composer.json at release build time

Ref: https://github.com/Roave/SecurityAdvisories/issues/76 Fixes: https://github.com/phpmyadmin/phpmyadmin/issues/17661

Signed-off-by: William Desportes williamdes@wdes.fr

Add a security to check if all files present in the autoload class map can be found and re-generate the class map

Signed-off-by: William Desportes williamdes@wdes.fr

Remove tcpdf autoloaded files

Signed-off-by: William Desportes williamdes@wdes.fr

Update FAQ 1.44

Signed-off-by: William Desportes williamdes@wdes.fr

Fix CI version to have a valid composer.json

Failed to update composer.json with a valid format, reverting to the original content. Please report an issue to us with details (command you run and a copy of your composer.json).
  version : Does not match the regex pattern ^v?\d+(\.\d+){0,3}|^dev-

Signed-off-by: William Desportes williamdes@wdes.fr

Remove non needed yarn install on build release step

modules are not needed to launch the create release script

Signed-off-by: William Desportes williamdes@wdes.fr

Translated using Weblate (Dutch)

Currently translated at 100.0% (3418 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2 Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/nl/ Signed-off-by: dingo thirteen dingo13@d404.nl

Translated using Weblate (Turkish)

Currently translated at 100.0% (3418 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2 Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/tr/ Signed-off-by: Burak Yavuz hitowerdigit@hotmail.com

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (3418 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2 Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/pt_BR/ Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Merge #17719 - Fix removing vendor folders (FAQ 1.44)

Pull-request: #17719 Ref: #16418 Signed-off-by: William Desportes williamdes@wdes.fr

Add a ChangeLog entry for #16418

Signed-off-by: William Desportes williamdes@wdes.fr

Merge branch 'origin/QA_5_2'

Signed-off-by: William Desportes williamdes@wdes.fr

Rename jest.config.js to jest.config.cjs in create-release.sh

Signed-off-by: William Desportes williamdes@wdes.fr

Adjust the check release excludes script

Signed-off-by: William Desportes williamdes@wdes.fr

Issue #17727 Started refactoring uses of $db and $table (#17729)

  • Issue #17727 Started refactoring uses of $db and $table to use the Objects - DatabaseName and TableName

Changed uses related to Privileges

Signed-off-by: Solomon Okunuga soloistic1@gmail.com

  • Apply suggestions from code review

Co-authored-by: Maurício Meneghini Fauth mauricio@fauth.dev

Signed-off-by: Solomon Okunuga soloistic1@gmail.com Co-authored-by: Maurício Meneghini Fauth mauricio@fauth.dev

Fix exception for invalid db and table names for the privileges page

Related to #17729

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 2 days ago

Fix exception for invalid db and table names for the privileges page

Related to #17729

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 2 days ago
issue comment
Issue #17727 Started refactoring uses of $db and $table

Merged, thanks for your contribution!

Created at 2 days ago

Issue #17727 Started refactoring uses of $db and $table (#17729)

  • Issue #17727 Started refactoring uses of $db and $table to use the Objects - DatabaseName and TableName

Changed uses related to Privileges

Signed-off-by: Solomon Okunuga soloistic1@gmail.com

  • Apply suggestions from code review

Co-authored-by: Maurício Meneghini Fauth mauricio@fauth.dev

Signed-off-by: Solomon Okunuga soloistic1@gmail.com Co-authored-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 2 days ago
pull request closed
Issue #17727 Started refactoring uses of $db and $table

Description

Issue #17727 Started refactoring uses of $db and $table to use the Objects - DatabaseName and TableName

Changed uses related to Privileges

Created PR to know if changes are on the right track before refactoring more uses that spans multiple classes

Signed-off-by: Solomon Okunuga soloistic1@gmail.com

Created at 2 days ago

Translated using Weblate (Turkish)

Currently translated at 100.0% (3432 of 3432 strings)

[ci skip]

Translation: phpMyAdmin/Development Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/tr/ Signed-off-by: Burak Yavuz hitowerdigit@hotmail.com

Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.4% (3413 of 3432 strings)

[ci skip]

Translation: phpMyAdmin/Development Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pt_BR/ Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 2 days ago
issue comment
Bogus Error - Near "limit 0,25"

There is an error in the sequel that I was trying to run. Specifically there was a trailing tick mark at the very end it wasn't supposed to be there. When I remove that the air went away. So the only real issue is that the error message is misleading that's probably a MySQL issue not PHP my admin just a guess that's why I'm closing this

You're right. The LIMIT was added to your statement for pagination (... (t1.skey+1)'; LIMIT 0, 25). So MariaDB said that an Ending quote ' was expected. near ''; LIMIT 0, 25'. If the LIMIT wasn't there, the message would be something like ... syntax to use near '';' at line 6.

Created at 2 days ago
opened issue
Consecutive duplicated words false positive

Describe the issue

I've got this failing check on Hosted Weblate:

Consecutive duplicated words Text contains the same word twice in a row: em

English:

Unable to use timezone "%1$s" for server %2$d. Please check your configuration setting for [em]$cfg['Servers'][%3$d]['SessionTimeZone'][/em]. phpMyAdmin is currently using the default time zone of the database server.

Portuguese (Brazil):

Não é possível usar o fuso horário de "%1$s" para o servidor %2$d. Por favor verifique sua configuração em [em]$cfg['Servers'][%3$d]['SessionTimeZone'][/em]. O phpMyAdmin está atualmente usando o fuso horário padrão do servidor.

It's confusing the Portuguese word em with the [em] tag.

I already tried

  • [X] I've read and searched the documentation.
  • [X] I've searched for similar issues in this repository.

Steps to reproduce the behavior

No response

Expected behavior

No response

Screenshots

A screenshot of the Hosted Weblate page showing consecutive duplicated words false positive

Exception traceback

No response

How do you run Weblate?

weblate.org service

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

Created at 2 days ago
Created at 2 days ago

Reduce usage of the containerBuilder global variable

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 3 days ago

Reduce usage of the containerBuilder global variable

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 3 days ago

Remove loadContainerBuilder call from AbstractTestCase::setUp method

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 3 days ago

Remove loadContainerBuilder call from AbstractTestCase::setUp method

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 3 days ago

Remove the containerBuilder global var from the Template class

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 3 days ago

Remove the containerBuilder global var from the Template class

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 3 days ago

Remove setTheme call from AbstractTestCase::setUp method

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 3 days ago

Remove setTheme call from AbstractTestCase::setUp method

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 3 days ago

Remove trigger_error calls from HomeController

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev (cherry picked from commit c5611531c03a5c9dfe13510e7fc5b901daa77039) Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Update setup page to generate better blowfish_secret keys

Instead of generating a printable string, it generates a binary string and converts it to an hexadecimal string.

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Update the docs to reflect the blowfish_secret changes

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Document how to generate a string of random bytes

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Allow longer cookie encryption keys to be used

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Add a note that sodium_bin2hex is not required for blowfish_secret

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Merge pull request #17725 from MauricioFauth/blowfish-secret-error

Fix server error when blowfish_secret is not exactly 32 bytes long

  • Back-port commit c5611531c03a5c9dfe13510e7fc5b901daa77039
  • Update documentation about the blowfish_secret setting
  • Update the setup page to reflect the blowfish_secret changes

Fixes https://github.com/phpmyadmin/phpmyadmin/issues/17369

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Translated using Weblate (Italian)

Currently translated at 99.8% (3413 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2 Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/it/ Signed-off-by: Giovanni Vella giovanni.vella98@gmail.com

Add comments to the release script

Signed-off-by: William Desportes williamdes@wdes.fr

Remove rm "-f" argument as it hides errors on the release script

Signed-off-by: William Desportes williamdes@wdes.fr

Fixup removing 'po' folder in the english kit

Signed-off-by: William Desportes williamdes@wdes.fr

Add a comment when building a kit starts on the release script

Signed-off-by: William Desportes williamdes@wdes.fr

Fix #17736 - Add utf8mb3 as an alias of utf8 on the charset description page

Signed-off-by: William Desportes williamdes@wdes.fr

Add a ChangeLog entry for #17736

Signed-off-by: William Desportes williamdes@wdes.fr

Update po files

[ci skip]

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Merge branch 'QA_5_2'

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 4 days ago
closed issue
utf8mb3 description support

5.2.0

MariaDB 10.6 has renamed "utf8" to "utf8mb3".

I believe phpMyAdmin might no be supporting utf8mb3 in this description:

"Unknown"

Other than that, utf8mb3 seems to be supported everywhere

Probably related: https://github.com/phpmyadmin/phpmyadmin/issues/16931

Created at 4 days ago
closed issue
blowfish_secret of not exactly 32 characters causes server error

QA_5_2 and master have a problem if blowfish_secret isn't exactly 32 bytes long. The main pane is blank aside from the top tabs and this is logged:

PHP Fatal error:  Uncaught ErrorException: The secret passphrase in configuration (blowfish_secret) is not the correct length. It should be 32 bytes long. in /var/www/pma-dev/fork/libraries/classes/Controllers/HomeController.php:330\nStack trace:\n#0 [internal function]: PhpMyAdmin\\ErrorHandler->handleError()\n#1 /var/www/pma-dev/fork/libraries/classes/Controllers/HomeController.php(330): trigger_error()\n#2 /var/www/pma-dev/fork/libraries/classes/Controllers/HomeController.php(220): PhpMyAdmin\\Controllers\\HomeController->checkRequirements()\n#3 /var/www/pma-dev/fork/libraries/classes/Routing.php(187): PhpMyAdmin\\Controllers\\HomeController->__invoke()\n#4 /var/www/pma-dev/fork/index.php(43): PhpMyAdmin\\Routing::callControllerForRoute()\n#5 {main}\n  thrown in /var/www/pma-dev/fork/libraries/classes/Controllers/HomeController.php on line 330

We should definitely handle this more gracefully and show the user a warning that their blowfish_secret isn't the correct length.

Created at 4 days ago

Remove trigger_error calls from HomeController

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev (cherry picked from commit c5611531c03a5c9dfe13510e7fc5b901daa77039) Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Update setup page to generate better blowfish_secret keys

Instead of generating a printable string, it generates a binary string and converts it to an hexadecimal string.

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Update the docs to reflect the blowfish_secret changes

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Document how to generate a string of random bytes

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Allow longer cookie encryption keys to be used

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Add a note that sodium_bin2hex is not required for blowfish_secret

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Merge pull request #17725 from MauricioFauth/blowfish-secret-error

Fix server error when blowfish_secret is not exactly 32 bytes long

  • Back-port commit c5611531c03a5c9dfe13510e7fc5b901daa77039
  • Update documentation about the blowfish_secret setting
  • Update the setup page to reflect the blowfish_secret changes

Fixes https://github.com/phpmyadmin/phpmyadmin/issues/17369

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Translated using Weblate (Italian)

Currently translated at 99.8% (3413 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2 Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/it/ Signed-off-by: Giovanni Vella giovanni.vella98@gmail.com

Add comments to the release script

Signed-off-by: William Desportes williamdes@wdes.fr

Remove rm "-f" argument as it hides errors on the release script

Signed-off-by: William Desportes williamdes@wdes.fr

Fixup removing 'po' folder in the english kit

Signed-off-by: William Desportes williamdes@wdes.fr

Add a comment when building a kit starts on the release script

Signed-off-by: William Desportes williamdes@wdes.fr

Fix #17736 - Add utf8mb3 as an alias of utf8 on the charset description page

Signed-off-by: William Desportes williamdes@wdes.fr

Add a ChangeLog entry for #17736

Signed-off-by: William Desportes williamdes@wdes.fr

Update po files

[ci skip]

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Merge branch 'QA_5_2'

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 4 days ago

Update po files

[ci skip]

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 4 days ago

Update po files

[ci skip]

Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev

Created at 4 days ago