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
7c2ebb163c
Write revision info from a CLI
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-25 21:42:23 +01:00
William Desportes
4bb090b4a7
Remove the md5.js library
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-24 13:13:35 +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
eb965fe764
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-20 02:34:55 +01:00
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
8992ef095f
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-14 11:54:03 +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
d7bfe37b0f
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-12 16:06:08 +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
Maurício Meneghini Fauth
15d6b45a15
Remove jQuery Fullscreen plugin dependency
...
Uses the Fullscreen API instead.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-11 14:10:55 -03:00
Maurício Meneghini Fauth
495b6c6539
Merge pull request #16725 from mauriciofauth/microhistory
...
Remove the js/src/microhistory.js file
2021-03-11 13:50:47 -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
207901e992
Remove the js/src/microhistory.js file
...
There is no need for the MicroHistory anymore now that the History
API is available in all supported browsers.
Also removes the jQuery hashchange plugin.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-10 17:06:21 -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
William Desportes
d4cc4164b9
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-24 10:18:05 +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
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
49244af138
Partially revert "Upgrade phpseclib to version 3"
...
Do not remove the phpseclib/Crypt/Base.php file.
See: 9f5a72f45e
Signed-off-by: Maurício Meneghini Fauth <mauricio@php.net>
2021-02-23 11:33:00 -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
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
fcd3fda389
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-21 23:46:25 +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
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
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
Maurício Meneghini Fauth
0d12758041
Add jQuery SVG plugin to package.json
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-09 01:17:11 -03:00
Maurício Meneghini Fauth
dbaa031971
Remove jquery.sortableTable.js from js/vendor dir
...
It is not a vendor file, but a internal file.
Added by commit 1c6a388ca0 .
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-08 21:37:11 -03:00
William Desportes
1ef9bb1232
#16277 - Add stickyfill.min.js to the sync script
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-10-24 00:14:26 +02:00
William Desportes
d468a476ad
Fix #16400 - Only warmup if the console file exists
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-10-14 12:36:58 +02:00
William Desportes
01d8979136
Merge branch 'QA_5_0'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-10-11 18:00:06 +02:00
William Desportes
7813f8f2b2
Remove Doctum config files on releases
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-10-11 17:45:40 +02:00
Saksham Gupta
e1461d847c
Upgrade OpenLayers ( #16303 )
...
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2020-09-04 13:19:00 -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
14bd9a1f2e
Remove CODE_OF_CONDUCT.md and DCO from released bundles
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-29 13:51:09 +02:00
William Desportes
b9ed4e6990
Remove .browserslistrc from released bundles
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-29 13:48:03 +02:00
William Desportes
6581bd0a59
Use --no-coverage instead of a custom phpunit config file
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-29 13:41:31 +02:00
William Desportes
1a54a0e4e8
Exclude .browserslistrc from vendor bundles
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-29 12:03:49 +02:00
William Desportes
f7b6949576
Fix generate-twig-cache for Twig 3
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-06-14 22:58:44 +02:00
Maurício Meneghini Fauth
3baad2eb1c
Fix some coding standard issues
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-25 22:42:37 -03:00
William Desportes
4856ef812d
Use the standard [ci skip] lowercase
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-20 02:32:41 +02:00
William Desportes
cb1328dd43
Copy jquery-fullscreen-plugin from npm package
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
185b29e94f
Copy jquery-debounce-throttle from npm package
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
3043f85942
Copy jquery-ui-timepicker-addon from npm package
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
3ab97d51ba
Rename 1.3 to 2.0 for jquery.ba-hashchange
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
50c2e4a897
Copy jquery.ba-hashchange from npm package
...
Ref: https://github.com/cowboy/jquery-hashchange/pull/51
2.0.0 version drops IE support
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
6025fee5e4
Copy jquery.event.drag.js from npm package and apply a patch onto it
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
7f85a4f4d7
Use jquery-uitablefilter package and sync vendor file
...
Ref: https://github.com/gregwebs/jquery-uitablefilter/pull/13
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
db7a755134
Make the sync script exclude some un-replaceable files and remove ll the other ones
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
b529f7cf52
Update jqplot vendor files from dist
...
Last update: 33f8d3d3f8
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
db646baff5
Update jquery debounce plugin
...
Was added by: 9db53f4c02
Last update of jquery-Timepicker-Addon: 33f8d3d3f8
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
23111e3c3d
Update jquery-tablesorter and use tablesorter dependency
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
61c5589320
Add blueimp-md5 dependency and update jquery md5
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
410996a5f3
Improve the vendor JS sync script and include u2f-api-polyfill
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-03 23:48:12 +02:00
William Desportes
3d24204052
Remove psalm.xml and psalm-baseline.xml files from vendor versions
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-04-28 23:38:09 +02:00
William Desportes
4c89859462
Improve the vendor JS sync script and include jquery-mousewheel, js-cookie, jquery-validation, tracekit
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-04-12 00:14:13 +02:00
William Desportes
ec083ae177
Add zxcvbn map file to JS update script and add to vendor directory
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-04-11 22:33:40 +02:00
William Desportes
5ce5864abc
Add zxcvbn to JS update script
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-04-11 22:31:37 +02:00
William Desportes
b557a9aa6a
Add more vendors to the JS sync vendor script
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-04-11 22:25:24 +02: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
William Desportes
c6301a1542
Add routing cache warmup to warm up command
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-28 10:38:11 +01:00
William Desportes
5044600e3a
Add --optimize-autoloader
...
Ref: https://getcomposer.org/doc/articles/autoloader-optimization.md
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-28 10:38:11 +01:00
William Desportes
24c67f46cb
Add back dev vendors in create-release script before warm up
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-28 10:38:11 +01:00
William Desportes
a06d25962a
Add / for branch names in create-release.sh script
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-28 10:38:11 +01:00
William Desportes
09d1f86360
Update create-release.sh script
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-28 10:38:11 +01:00
William Desportes
81a2504780
Merge branch 'QA_5_0'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-19 23:41:17 +01:00
William Desportes
166938b318
Fix #16033 - remove bin files from non source version of phpMyAdmin
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-19 21:58:38 +01:00
William Desportes
c4455c9c12
Add a script to sync some JS vendor files after upgrades
...
Ref: #12677
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-14 00:08:09 +01:00
William Desportes
63c4e3b639
Merge branch 'QA_5_0'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-12 13:57:08 +01:00
William Desportes
f12364b8fd
Fix update-po command (sed) on MacOSX
...
[ci skip]
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-12 13:54:46 +01:00
William Desportes
e9e7696962
Improve update-po script and add match-twig-cache script
...
- Make update-po script return the same order on all workstations
- Make it work on MacOSX
- Remove .phtml extension
- Exclude node_modules folder
- match-twig-cache is made to replace templates by the real file and --reverse way
- this change is made so the order is kept between po files updates
I want to stop unreadable diffs between po files updates.
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-12 13:10:27 +01:00
William Desportes
cf0e0867b1
Merge branch 'QA_5_0'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-05 21:19:57 +01:00
William Desportes
ce85e5ee13
Remove json logging for nocoverage phpunit xml file and remove useless file
...
Ref: 3b3fbaefdb
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-03-05 21:18:09 +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
William Desportes
703b16eace
#15331 - add environment config on twig cache generator
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-16 21:47:01 +01:00
Maurício Meneghini Fauth
f0d4122977
Merge pull request #15505 from mauriciofauth/scripts-console
...
Add a console tool
2019-10-24 16:18:37 -03:00
Maurício Meneghini Fauth
6f0f7420b0
Merge pull request #15500 from mauriciofauth/bootstrap-theme
...
Add the Bootstrap theme for phpMyAdmin
2019-10-16 16:20:22 -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
Maurício Meneghini Fauth
cf031eacff
Merge branch 'QA_5_0'
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-10-11 12:55:05 -03:00
Maurício Meneghini Fauth
cc50cf178e
Merge branch 'QA_4_9' into QA_5_0
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-10-11 12:51:03 -03:00
Maurício Meneghini Fauth
cf4d6de840
Fix advisor2po script
...
Related to 88821f8248
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-10-11 12:34:34 -03:00
Maurício Meneghini Fauth
c385995461
Add the Bootstrap theme for phpMyAdmin
...
Bootstrap theme uses the default styles from Bootstrap and initially
based on the pmahomme theme.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-10-09 10:47:22 -03:00