1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00
Commit Graph

907 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
91a3237fb2 Remove Sodium polyfill
Removes the paragonie/sodium_compat package.

This polyfill is not required as the Sodium extension is bundled in PHP 7.2+.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-10-03 22:23:22 -03:00
William Desportes
aac8f054f2 Adjust the check release excludes script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-30 22:44:00 +02:00
William Desportes
ff7506d13b Rename jest.config.js to jest.config.cjs in create-release.sh
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-30 22:36:34 +02:00
William Desportes
ae7f8c4ce0 Merge branch 'origin/QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-30 22:32:37 +02:00
William Desportes
3d6a198598 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>
2022-09-29 13:59:06 +02:00
William Desportes
2fff5f48bc 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>
2022-09-29 13:47:25 +02:00
William Desportes
01724139b2 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>
2022-09-29 13:18:20 +02:00
Maurício Meneghini Fauth
6a9fe03ff2 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-29 00:45:10 -03:00
William Desportes
4e08ffdc77 Add a comment when building a kit starts on the release script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-28 19:58:58 +02:00
William Desportes
9477d1d748 Fixup removing 'po' folder in the english kit
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-28 19:58:42 +02:00
William Desportes
eac7356f4c Remove rm "-f" argument as it hides errors on the release script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-28 19:58:35 +02:00
William Desportes
a267ba3dde Add comments to the release script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-28 19:58:26 +02:00
Maurício Meneghini Fauth
2076d52480 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-19 23:26:15 -03:00
William Desportes
94f0d931cd Remove rm for '.jshintrc' removed afterwards for all non dev kits
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-10 14:18:52 +02:00
William Desportes
cc35f885ee Remove old travis-ci rm in the release script
Ref: b96185da15

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-10 14:18:17 +02:00
William Desportes
aea6bdd329 Remove non usefull recaptcha "vendor/google/recaptcha/src/autoload.php" file
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-10 14:17:22 +02:00
William Desportes
db1e59a541 Remove template test files from non source kits
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-10 14:17:12 +02:00
William Desportes
9722d75225 Adjust build excludes for paragonie/random_compat and paragonie/sodium_compat
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-10 14:16:33 +02:00
William Desportes
7b1b42fa0c Search for files that contain "phar" in the name as they may be build files
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-10 14:15:05 +02:00
William Desportes
6764066c5e Support snapshot builds for check release excludes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-10 13:47:20 +02:00
Maurício Meneghini Fauth
87d695f2c8 Extract js/messages.php entry point into a route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-06 22:25:32 -03:00
Maurício Meneghini Fauth
75cf045fa3 Extract url.php entry point into a route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-06 15:02:49 -03:00
Maurício Meneghini Fauth
59b8f31a83 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-16 02:05:39 -03:00
William Desportes
f5dac447a0 Cleanup paragonie/sodium_compat vendor folder
Ref: https://github.com/paragonie/sodium_compat/pull/147

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 19:49:58 +02:00
William Desportes
458e7902bc Remove some useless files from the release bundle
Ref: https://github.com/php-fig/http-factory/pull/12

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 19:49:56 +02:00
William Desportes
024b93a441 Allow composer/ca-bundle pem file in release bundle
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 19:23:32 +02:00
William Desportes
3732dec17d Stop allowing openssl.cnf in check release script
Ref: 124bb336fd

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 19:22:26 +02:00
Maurício Meneghini Fauth
49e2b081ba Merge branch 'QA_5_1' into QA_5_2
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-04-28 15:26:35 -03:00
Maurício Meneghini Fauth
0312396a75 Remove jQuery Mousewheel JS dependency
This dependency was removed by
https://github.com/phpmyadmin/phpmyadmin/pull/17032.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-04-27 21:21:25 -03:00
Maurício Meneghini Fauth
54df014550 Remove stickyfilljs JavaScript dependency
This polyfill is not needed anymore.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-04-27 19:47:31 -03:00
William Desportes
124bb336fd Remove openssl.cnf from vendor bundles as it is not necessary
See: https://github.com/phpseclib/phpseclib/issues/1781

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-04-27 12:52:47 +02:00
Maurício Meneghini Fauth
04f3f5a4b6 Merge branch 'QA_5_1' into QA_5_2
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-04-26 21:03:20 -03:00
Maurício Meneghini Fauth
5d80594341 Remove jQuery SVG JS dependency
Removed by https://github.com/phpmyadmin/phpmyadmin/pull/17041.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-04-24 20:39:12 -03:00
Maurício Meneghini Fauth
c0941401c1 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-03-11 14:26:19 -03:00
Maurício Meneghini Fauth
2653b2942b Merge branch 'QA_5_1' into QA_5_2
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-03-11 13:02:15 -03:00
William Desportes
6f6913855f Add one more file to the create release exclude list
Ref: https://github.com/twigphp/Twig/issues/3658

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-03-06 10:32:09 +01:00
Maurício Meneghini Fauth
856f033402 Upgrade some JavaScript dependencies
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-03-01 17:53:07 -03:00
Maurício Meneghini Fauth
3c94e32d8b Allow the Bootstrap theme for 5.2 releases
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
(cherry picked from commit 8cbb30b1ff)
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-17 17:48:04 -03:00
Maurício Meneghini Fauth
a179a604e7 Use webpack for SCSS compilation
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-10 18:30:21 -03:00
Maurício Meneghini Fauth
e46f0435f4 Use webpack to sync js files
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-10 13:43:35 -03:00
Maurício Meneghini Fauth
2db1785e09 Add webpack bundler
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-10 13:43:35 -03:00
Maurício Meneghini Fauth
8cbb30b1ff Allow the Bootstrap theme for 5.3 releases
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-01 21:25:18 -03:00
Maurício Meneghini Fauth
adc30f6276 Bump VERSION_SERIES to 5.3 in scripts/create-release.sh
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-26 15:55:56 -03:00
Isaac Bennetch
8a4a8a3612 Don't remove phpseclib files when creating release, they don't exist. Related to 7aaab24463
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2022-01-20 12:48:01 -05:00
Maurício Meneghini Fauth
cb650d2a2d Merge branch 'QA_5_1'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-29 19:44:12 -03:00
William Desportes
f8f815e736 Cleanup sql-parser translation files on English bundle
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-29 01:21:21 +01:00
William Desportes
dfea1a04c5 Remove vendor/google/recaptcha/ARCHITECTURE.md useless file
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-29 01:20:54 +01:00
Maurício Meneghini Fauth
0f678e8d7d Merge branch 'QA_5_1'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-27 16:19:18 -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