Commit Graph

10 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
a8ca6894a7
Create the validator-messages.js file
- Extracts the validator messages from the javascript/variables template
  into a new file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-15 15:13:59 -03:00
Maurício Meneghini Fauth
e514bda5b1
Create datetimepicker.js file
Extracts the datepicker and timepicker translations logic from
the javascript/variables template into the new datetimepicker.js file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-15 14:04:46 -03:00
Maurício Meneghini Fauth
c482cd47ef
Remove gridEditingConfig JS global
- Uses data attribute instead.
- Uses Bootstrap's tooltip instead of the jQuery plugin.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-14 23:19:29 -03:00
Maurício Meneghini Fauth
a0337bf220
Refactor JavaScriptMessagesController controller
- Removes the dependency of the cfg and theme PHP globals.
- Handles the errors when encoding the messages to JSON.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-14 18:09:57 -03:00
William Desportes
7bd3ec6b35
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-06 21:25:54 +01:00
William Desportes
8aab2265a1
Fix #14026 - Fix error messages and conditions for MD5 and AES_* functions
Fixes #14026
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-18 17:20:34 +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
ceac762e09 Remove pmaThemePath and pmaThemeImage PHP globals
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-02 10:57:57 -03:00
Maurício Meneghini Fauth
6fdedaee9f Fix javascript/variables.twig escaping issue
Related to https://github.com/phpmyadmin/phpmyadmin/pull/15672#issuecomment-567701998

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-21 13:16:06 -03:00
Maurício Meneghini Fauth
f126e14599 Extract js variables from js/messages.php
Moves JavaScript variables to templates/javascript/variables.twig.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-18 16:48:41 -03:00