1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-31 10:54:46 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
b2eb6bf4c9 Extract config load and check from Config's constructor
This allows better handling of the user's config loading and validation.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-11-15 13:20:13 -03:00
Maurício Meneghini Fauth
1e542cd621 Replace vendor_config.php constants with an array
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 16:48:56 -03:00
Maurício Meneghini Fauth
340759e444 Replace scripts/fix-po-twig with a Console command
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-07-11 13:58:25 -03:00
William Desportes
0fbfa7b0e0 Remove two symfony dev deps
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-06-26 19:05:28 +02:00
William Desportes
7c2ebb163c Write revision info from a CLI
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-25 21:42:23 +01:00
Maurício Meneghini Fauth
7e23436533 Add Twig\FlashMessagesExtension class
Adds the flash() Twig function that return all flash messages.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-20 18:51:36 -03:00
William Desportes
1cba4b2259 Merge all Twig Environment building to one function and split out po replacements
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-11 16:18:03 +01: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
William Desportes
b889d5e57a Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-23 16:00:23 +01:00
Maurício Meneghini Fauth
92965c6945 Add the PhpMyAdmin\Version class generator
Creates the PhpMyAdmin\Command\SetVersionCommand class.

Usage: ./scripts/console set-version 5.1.0-dev

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-02-22 00:18:24 +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
Maurício Meneghini Fauth
45e1128122 Move gettext calls to advisory rules files
Removes the need of the AdvisoryRulesCommand.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-31 15:37:46 -03:00
Maurício Meneghini Fauth
168cf0555b Add a linter for the Twig templates
Uses symfony/twig-bridge v4.4.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-30 18:07:33 -03:00
William Desportes
ecba412eda Add a warning and exit code 1 when de-dependencies are not installed
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-28 10:38:11 +01:00
Maurício Meneghini Fauth
27d631e164 Use Console command for Twig cache warm up
Extracts the Twig cache generation to a console command.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-20 23:15:40 -03:00
Maurício Meneghini Fauth
adea61314e Add a console tool
Adds a console tool for phpMyAdmin using the symfony/console component
and moves the advisor2po script to the the console tool.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-10-11 22:04:26 -03:00