1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-25 06:39:48 +03:00

830 Commits

Author SHA1 Message Date
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
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
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
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
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
William Desportes
ff64b1df74 Cleanup sql-parser tools files from vendor bundle
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-24 01:53:55 +01:00
William Desportes
8bfa3124a4 Adjust release excludes after #17241
Pull-request: #17241

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-12 19:28:09 +01:00
William Desportes
d2cd67f8dc #16746 - Replace samyoul/u2f-php-server by code-lts/u2f-php-server
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-12 12:16:52 +01:00
William Desportes
0c42c2092d Remove tput from generate-mo script, some installations do not see to have it
See (for Alpine): https://github.com/opencollective/opencollective/issues/1443#issuecomment-482510763

And on CIs it fails: https://github.com/phpmyadmin/phpmyadmin/runs/4472689516?check_suite_focus=true#step:5:6

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-09 17:37:18 +01:00
William Desportes
7e992fa7c9 Exclude Twig false positives on vendor bundle check script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-22 19:14:10 +02:00
William Desportes
f2d80a2a00 Exclude some missed test folders from the release bundle
- Exclude folder symfony/service-contracts/Test
- Exclude folder psr/log/Psr/Log/Test
- Exclude folder twig/twig/src/Test

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-22 19:01:02 +02:00
William Desportes
50479c3d39 Add the uppercase variant of "test" "Test" to the detection script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-22 18:54:42 +02:00
William Desportes
d6e35143c0 Add a new file to search for in excludes: .php-cs-fixer.dist.php
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-22 17:16:39 +02:00
William Desportes
149b52c554 Remove old QA 4.9 logic from the release script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-22 16:49:09 +02:00
William Desportes
731701ab08 Add security checkups between steps of the release script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-22 16:46:11 +02:00
William Desportes
ae6f6604ef Fail when the user uses the wrong branch (script) to release a phpMyAdmin version
This avoids having corrupt builds because build methods differ between series.

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-22 16:33:01 +02:00
William Desportes
ec6b3985e4 Exclude more files from the final bundle
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-06-19 14:44:31 +02:00
William Desportes
b2bb13f86e Make the release check script way more strict and check all extensions by folders
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-06-19 14:29:50 +02:00
Andreas Hocevar
2f38ed2d60 Create custom OpenLayers build when syncing js vendor files
Use .mjs extension because ol.js uses ES imports

Co-authored-by: William Desportes <williamdes@wdes.fr>

Signed-off-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2021-06-13 02:07:00 +02:00
William Desportes
3bf695b627 Add message to require composer v2.1.2 on release script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-06-07 17:33:20 +02:00
William Desportes
9c497b2c81 Print composer version on the release output
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-06-07 17:21:14 +02:00
William Desportes
1397588a17 Fix autoload on release test suite
See: https://github.com/composer/composer/issues/9946

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-06-07 17:21:13 +02:00
Saksham Gupta
68c1d7cab8 Remove redundant jQuery Event Drag plugin
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2021-04-16 17:58:53 +05:30
William Desportes
bfb82d032f Fix #14771 - Add short SHA and date to the snapshot version
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-20 02:30:36 +01:00
William Desportes
eb15bc1f5a Revert "Remove more tcpdf useless files"
This partially reverts commit d5b8473e8f.

I have to revert this because composer needs the PHP files to generate the autoload

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-13 12:52:07 +01:00
William Desportes
5dc1a3d3ad Remove some files users will never read in release tarballs
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-12 15:55:52 +01:00
William Desportes
6c539abb45 Cleanup williamdes/mariadb-mysql-kbs dist folder on releases
As the author of the lib, I can say all the other files are not used for now.

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-12 14:41:11 +01:00
William Desportes
d5b8473e8f Remove more tcpdf useless files
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-12 14:29:48 +01:00
William Desportes
f7b7a34496 Update set-version script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-24 10:16:12 +01:00
William Desportes
8fefc97644 Ref #16584 - Fix get version in update-po script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-24 10:09:35 +01:00
William Desportes
70b9378941 Update the release script to match recent versionning changes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-22 00:18:24 +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
William Desportes
f28fbe06e4 Improve the release script for versionning
Signed-off-by: William Desportes <williamdes@wdes.fr>

Improve the version handling

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

Simplify the version handling

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-22 00:18:24 +01:00
William Desportes
7e3da25dd8 Ref #16413 - Remove and old instruction from the release script
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-21 23:40:09 +01:00
William Desportes
071124078d Ref #16413 - Remove HHVM files and any possible tmp folder
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-21 23:40:09 +01:00
William Desportes
73e807210b Fix #16413 - Make the release test suite test the actual built package
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-21 23:40:09 +01:00
William Desportes
15da058d94 Exclude more files/folder that where missed in the previous release script implementation
This is a proof that the previous implementation was wrong

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-21 23:17:00 +01:00
William Desportes
4a4ded046c Ref #16413 - Re-work the release file
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-21 23:17:00 +01:00
William Desportes
0c70afe233 Add more files and folders to exclude in releases
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-21 22:05:28 +01:00
William Desportes
aa1ea5a973 Add a script to inspect files in release tarballs
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-21 21:41:32 +01:00
William Desportes
1372d42e72 Remove more useless folders from releases
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-21 17:33:33 +01:00
William Desportes
cfb93c0635 Ref #16596 - Remove the .git folder from tcpdf on release archives
See: https://github.com/phpmyadmin/phpmyadmin/pull/16596#issuecomment-782875658
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-21 17:15:28 +01:00
Isaac Bennetch
e441b1bd0d Fix build for TCPDF fix
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2021-01-28 15:05:43 +01:00
Saksham Gupta
a9634e5922 Add Jest Unit Testing compatibility
Fixes: #16405

Co-Authored-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2021-01-24 00:33:42 +01:00
William Desportes
251753bf4d Use locutus.sprintf npm package to copy the source file
See: https://github.com/code-lts/locutus.sprintf#readme

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-12-11 18:40:28 +01:00
William Desportes
afdf57aed2 Re-build all jqplot files from the updated-jqplot npm package
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-12-11 16:54:11 +01:00
William Desportes
a5dc78edac Sync jqplot plugins from updated-jqplot node package
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-12-10 12:26:23 +01:00
Maurício Meneghini Fauth
3942e980b6 Use jQuery UI from jquery-ui-dist package
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-09 02:08:11 -03:00