Commit Graph

6353 Commits

Author SHA1 Message Date
cbasguti
0d9fb3100d fix: Uncaught SyntaxError: JSON.parse
JSON.parse: unexpected character at line 1 column 1 of the JSON data

Signed-off-by: cbasguti <sebastian.gutierrezj@udea.edu.co>
2023-06-28 08:29:09 +02:00
Maurício Meneghini Fauth
00768c0efd
Upgrade JavaScript dependencies
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-17 16:32:27 -03:00
IAndreyI
7943cf86ed
Fix #18314 - dragged row in index form (#18388)
* fix dragged row in index form

Signed-off-by: Petrichenko Andrey <1993czar@gmail.com>

* correct remarks

Signed-off-by: Petrichenko Andrey <1993czar@gmail.com>

---------

Signed-off-by: Petrichenko Andrey <1993czar@gmail.com>
Co-authored-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-05-24 18:22:49 -03:00
Maurício Meneghini Fauth
6875680de9
Fix double encoding on User Groups pages
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-05-07 17:52:26 -03:00
faissaloux
5e7717f4c8
fix criteria toggle
Signed-off-by: faissaloux <fwahabali@gmail.com>
2023-05-06 11:28:42 +02:00
William Desportes
61374f4696
Merge #18233 - Fix #18212 - Query Builder doesn't replace a table name with it's alias in the WHERE block
Fixes: #18212
Pull-request: #18233

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-05-06 11:16:39 +02:00
cbasguti
8682e02f6b Fix #18330 - Solved Uncaught TypeError when no-datetime field is modified
Signed-off-by: cbasguti <sebastian.gutierrezj@udea.edu.co>
2023-05-02 15:23:54 +02:00
William Desportes
4b90c55337
Fix width/height of create routines modal(dialog) and width of routines/triggers/events modals(dialogs)
Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-04-07 12:54:02 +02:00
William Desportes
e5826048d8
Fix /lint request, request as ajax_request=true
Or failed requests will do `Failed to parse JSON: Unexpected token '<', "<!doctype "... is not valid JSON`

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-04-07 11:21:04 +02:00
William Desportes
e64b59dbf8
Merge #18072 - Fix #18060 - Console height "Not a non-negative number" error
Fixes: #18060
Pull-request: #18072

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-04-07 10:29:39 +02:00
William Desportes
b55c951503
Fix #16199 - Dragging of tables in designer, adjust registerTeardown
Pull-request: #18155

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-03-10 16:14:10 +01:00
William Desportes
35db930fc8
Fix #16199 - Dragging of tables in designer, adjust .off()
Pull-request: #18155

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-03-10 16:12:48 +01:00
Kim Oliver Drechsel
ed0ea1e81d
Fix #16199 - buggy dragging of tables in designer
Fixes: #16199

Signed-off-by: Kim Oliver Drechsel <kim@drechsel.xyz>
2023-03-10 16:03:43 +01:00
Maurício Meneghini Fauth
59b4fdbea0
Update OpenLayers and zxcvbn-ts files
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-03-09 22:51:31 -03:00
faissaloux
00859c4a11 fix query builder table alias
Signed-off-by: faissaloux <fwahabali@gmail.com>
2023-03-08 16:51:48 +01:00
Maurício Meneghini Fauth
15a9de51d1
Merge pull request #18220 from liviuconcioiu/18093_1
Fix error when changing password
2023-03-08 10:14:29 -03:00
Maurício Meneghini Fauth
f128ee9af4
Merge pull request #18200 from liviuconcioiu/18196
Fix #18196 - Check if importNotification is not null
2023-03-08 10:12:32 -03:00
Liviu-Mihail Concioiu
1d6dada342 Fix error when changing password
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2023-03-05 19:02:51 +01:00
Maurício Meneghini Fauth
74a15b5f44
Merge pull request #18208 from liviuconcioiu/18093
Fix #18093 - Checks if username is defined
2023-03-04 20:25:21 -03:00
Maurício Meneghini Fauth
1d267483ad
Merge pull request #18209 from liviuconcioiu/18160
Fix #18160 - Check if hostname exists
2023-03-04 20:21:05 -03:00
Liviu-Mihail Concioiu
cde36501e6 Add server id parameter
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2023-03-04 19:11:36 +01:00
Liviu-Mihail Concioiu
bf1b0a2219 Check if form exists
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2023-03-04 00:03:24 +01:00
Liviu-Mihail Concioiu
292a12d2fe Check if username exists
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2023-03-03 23:17:12 +01:00
Liviu-Mihail Concioiu
63245891a9 Check if importNotification is not null
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2023-03-02 21:51:42 +01:00
William Desportes
b3c35c2045
Do not show "Original length undefined" on binary hex columns
Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-02-28 01:38:36 +01:00
Maurício Meneghini Fauth
49d24c3a37
Merge pull request #18067 from liviuconcioiu/filereader
Fix #17364 - Fix Argument 1 is not an object
2023-02-20 12:10:13 -03:00
Isaac Bennetch
e9b1db6b10 Merge remote-tracking branch 'security/QA_5_2-security' into QA_5_2 2023-02-07 16:17:33 -05:00
Isaac Bennetch
185f5219d3
Merge pull request #345 from phpmyadmin/sec/343/52
[5.2] Fix not escaped title when using drag and drop upload
2023-02-07 13:44:03 -05:00
Ajmal Hassan
5b65969940
Fix for #18060 Console height "Not a non-negative number" error
Passed the height through Math.round() function before it gets stored in the session.

Signed-off-by: Ajmal Hassan <iamajmalhassan@gmail.com>
2023-02-07 12:05:29 +05:30
Liviu-Mihail Concioiu
e7d2111511 Fix Argument 1 is not an object
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2023-02-04 11:18:10 +01:00
William Desportes
500b7b4f63
Merge #18026 - Fix #17365 - Uncaught Error: regexp too big
Pull-request: #18026
Fixes: #17365

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-01-25 12:10:19 +01:00
Maurício Meneghini Fauth
5a267d0a81
Fix broken button that adds routine params
- Fixes https://github.com/phpmyadmin/phpmyadmin/issues/17833

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-01-24 14:28:08 -03:00
Liviu-Mihail Concioiu
93e701b1ef Fix regexp too big error
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2023-01-22 14:44:29 +01:00
William Desportes
df143fd879
Fix 694d846b64 - JSON parse error on upload progress
Ref: 694d846b64
Ref: d344a8f7ae

You can see the JSON parse error in the console when you have the upload progress extension

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-01-22 01:00:17 +04:00
William Desportes
f0951cb50c
Merge #17976 - Fix #17398 - Fixing clicking on JSON columns triggers update query
Pull-request: #17976
Fixes: #17398

Signed-off-by: William Desportes <williamdes@wdes.fr>
2023-01-20 20:25:43 +04:00
Maurício Meneghini Fauth
f143d2a709
Add support for Web Authentication API
Adds a two factor authentication plugin that supports FIDO2/WebAuthn
security keys.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-01-16 18:20:05 -03:00
Fawzi Abdulfattah
b8601170ee
Improve the stringified function and unit test it
Signed-off-by: Fawzi Abdulfattah <iifawzie@gmail.com>
2023-01-15 03:45:05 +02:00
Fawzi Abdulfattah
59a5f9b6b6 Making js-lint happy
Signed-off-by: Fawzi Abdulfattah <iifawzie@gmail.com>
2023-01-14 17:45:40 +02:00
iifawzi
943435616e Using let instead of var
Signed-off-by: iifawzi <iifawzie@gmail.com>
2023-01-14 17:15:44 +02:00
iifawzi
cb6012cf2a Checking the validity of json before parsing and adding stringifyJSON JS Function
Signed-off-by: iifawzi <iifawzie@gmail.com>
2023-01-14 17:13:28 +02:00
iifawzi
b60d1454ca Fix #17398 - Fixing clicking on JSON columns triggers update query
it also fixes the issue where the JSON columns are saved with spaces
and new lines, after being updated from the UI.

Fixes: #17398
Signed-off-by: iifawzi <iifawzie@gmail.com>
2023-01-14 17:13:28 +02:00
Maurício Meneghini Fauth
e4d1f985bf
Upgrade JavaScript dependencies
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-12-27 16:22:12 -03:00
Maurício Meneghini Fauth
58852d7159
Fix coding standard issue in ajax.js
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-12-12 20:38:04 -03:00
William Desportes
556aacbc0f
Fix #17944 - unable to create a view from tree view button
- Add the modal to the navigation panel
- Prevent modals to be removed on navigation bar is replaced

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-12-12 22:04:37 +01:00
Maurício Meneghini Fauth
8eeec0705b
Merge pull request #17927 from MoonE/navigate-select
Fix key navigation between select inputs
2022-11-30 09:45:16 -03:00
Maximilian Krög
452e7a69f5
Fix key navigation between select inputs
This compatibility fix is no longer necessary.
As a side note:
It checked versions from 3 to 24 but actually also matched all versions
>= 30 as no word boundary check was made on the version number

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2022-11-26 01:56:10 +01:00
William Desportes
0108190ebd
Fix #17177 - Preview SQL when reordering columns doesn't work on move columns
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-11-26 00:00:32 +01:00
William Desportes
151e6247c6
Bump codemirror 5.65.9 to 5.65.10
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-11-20 16:49:49 +01:00
vimal K
2abba13b0d
Fix #17703 - Multiple Datepicker issues resolved
Fixes: #17703

Signed-off-by: Vimal K <vimalinfo10@gmail.com>
2022-11-20 16:06:06 +01:00
William Desportes
87e44947a6
Fix big performance issue making CPU 100% when scrolling the textarea of an export of #17902 data
Data can be found on #17902 (https://github.com/phpmyadmin/phpmyadmin/issues/17902#issuecomment-1321082358)

I changed the events to not bind all the document but only the root node they needed.
Scrolling is way better now

I used chrome coverage mode to ensure the code is still called and tested it.

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-11-20 11:15:21 +01:00