1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-23 18:29:15 +03:00

201 Commits

Author SHA1 Message Date
Kamil Tekiela
ea3c53e199 Remove ajax_request
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-10-19 02:05:05 +01:00
Maurício Meneghini Fauth
da70d30b75 Move js/database/events.ts to js/events.ts
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-10-12 12:15:49 -03:00
Maurício Meneghini Fauth
9e4dc5b5f4 Merge pull request #20413 from MoonE/gis-editor-form
Fix Gis editor form in search view
2026-09-14 13:58:33 -03:00
Kamil Tekiela
dad9dbdc64 Add RoutineItem DTO and refactor Routines (#20455)
* RoutineItem

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Clean up

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Fix all escaping issues

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Fix param type in getParameterRow

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Use temp var to avoid SA issues

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Mirror Assert::allString in the other method

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

---------

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-08-26 10:17:18 -03:00
Maximilian Krög
1cbfdbb795 Fix opening gis editor from search view
There is one event listener added in change.ts and one in select.ts, but there
should only be one active at a time.

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2026-08-09 12:08:33 +02:00
Maximilian Krög
be5c3d4269 Better types for ajaxShowMessage
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2026-08-08 10:09:40 +02:00
Maurício Meneghini Fauth
6f427d8785 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-07-18 15:26:39 -03:00
Maurício Meneghini Fauth
7942f21050 Merge pull request #20380 from MoonE/js-nullsafe-property-access
Use js nullsafe property access instead of if block
2026-07-18 13:32:31 -03:00
Maximilian Krög
d4acd0a584 Use js nullsafe property access instead of if block
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2026-07-16 01:46:19 +02:00
Maximilian Krög
f07553a27f Use vanilla locutus for sprintf
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2026-07-12 15:30:17 +02:00
Maurício Meneghini Fauth
b83bb8e6d1 Merge pull request #20330 from etchre/fix/nav-tree-ui-fix
Skip navigation tree animation across page reloads
2026-06-20 15:56:18 -03:00
Maurício Meneghini Fauth
6289a85974 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-06-19 16:25:13 -03:00
Ethan Reed
351993d0f6 Fix navigation tree state never being restored from sessionStorage
The navigation tree state (open tree nodes and pagination position) is
saved to sessionStorage on every change. Then that state gets restored
on page load if the saved 'server' and 'token' (in CommonParams) match
the current page's values.

However on every page load, the comparison between server id in
CommonParams and sessionStorage was failing. This is because
sessionStorage coerces any value put into it to a string. This resulted
in the comparison trying to compare an int and a string together, which
would always fail since the comparison was using strict equality.

The simple fix is to cast one side in the strict equality comparison so
both sides are the same type. 'CommonParams.get('server')' was cast to a
string since any value from sessionStorage is already a string.

Signed-off-by: Ethan Reed <etchre@outlook.com>
2026-06-11 01:03:59 -07:00
Ethan Reed
d01fe03364 Allow skipping the tree opening animation in expandTreeNode
Every link click does a full page reload, which rebuilds the navigation
tree and replays the tree opening animation.

Add a 'skipTreeAnimation' parameter (defaults to false) to
expandTreeNode. When this parameter is true, the tree opening animation
is skipped. The 'skipTreeAnimation' parameter is passed down to
expandTreeNode through showCurrent and fullExpand.

requestNaviReload (called by Navigation.reload) passes 'paths !== null'
into 'skipTreeAnimation'. When the tree state is being restored from
sessionStorage, 'paths !== null' resolves to true, which when passed
into Navigation.showCurrent causes the animation to be skipped.

Signed-off-by: Ethan Reed <etchre@outlook.com>
2026-06-11 01:03:59 -07:00
Maurício Meneghini Fauth
63883d5432 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-04-23 15:56:57 -03:00
Maurício Meneghini Fauth
171a972ce6 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-04-22 20:41:40 -03:00
Nicolai
e3a1824fe4 Fix #19627 - Reset UNSIGNED attribute when changing to non-numeric co… (#20280)
* Fix #19627 - Reset UNSIGNED attribute when changing to non-numeric column type
* Fix eslint array-element-newline violations
* Trigger CI re-run
* Update resources/js/modules/functions.ts

---------

Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
Co-authored-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-04-21 15:58:17 -03:00
Maurício Meneghini Fauth
ea951ef2a8 Merge pull request #20265 from predictor2718/fix/routines-duplicate-on-edit
Fix #20063 - Fix routine, event and trigger duplication when editing
2026-04-20 17:03:59 -03:00
Maurício Meneghini Fauth
0d843e68fe Replace var with let or const in TypeScript files
Most of the changes were done by PhpStorm.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-04-09 20:48:22 -03:00
William Desportes
7ba1db3daf Add a missing new line for drag drop 2026-04-09 17:28:05 +02:00
William Desportes
498a1a3353 Merge branch 'QA_5_2' 2026-04-09 15:21:25 +02:00
William Desportes
be412170f7 Merge branch 'QA_5_2' 2026-04-09 14:20:01 +02:00
William Desportes
aad16a108c Merge branch 'QA_5_2' 2026-04-09 13:44:37 +02:00
William Desportes
c6a7f7f9e9 Merge #20269 - Fix #20064 - Fix sliding message container overlapping page content
Pull-request: #20269
Fixes: #20064
Fixes: #18923
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 12:04:19 +02:00
Nicolai Ehrhardt
5e36c8dcbf Fix #20064 - Fix sliding message container overlapping page content
Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
2026-04-05 20:53:05 +02:00
Nicolai Ehrhardt
8c5ddc2f12 Fix #20063 - Fix event and trigger duplication when editing multiple times
Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
2026-04-04 21:00:45 +02:00
Nicolai Ehrhardt
b4c11318bc Fix #20063 - Fix routine duplication when editing multiple times
Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
2026-04-04 20:55:01 +02:00
Iakov Ogryzkov
61619738fc Fix: allow selecting text fragments in cells
Signed-off-by: Iakov Ogryzkov <justjacob951@gmail.com>
2026-03-27 16:02:33 +01:00
Maurício Meneghini Fauth
119694fda5 Merge pull request #20192 from MoonE/ol-wkt
Transmit OpenLayers data as WKT
2026-03-19 14:32:05 -03:00
William Desportes
0555e21157 Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-03-17 14:03:11 +01:00
William Desportes
cda01ff436 Merge #20188 - Fix: Text copying while editing a cell
Pull-request: #20188
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-03-16 23:46:14 +01:00
William Desportes
0055ec0054 Merge #20217 - Fix #19330 - Show original value instead of negative value
Pull-request: #20217
Fixes: #19330
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-03-07 16:13:52 +01:00
Maurício Meneghini Fauth
e71584058a Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-03-07 11:12:05 -03:00
Liviu-Mihail Concioiu
6ce1d6598b Show original value instead of negative value
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2026-03-05 19:19:55 +01:00
Liviu-Mihail Concioiu
9f6cdadd84 Fix data.responseJSON is undefined
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2026-03-05 15:07:29 +01:00
William Desportes
b3e2ac1ece Merge branch 'QA_5_2'
Config get was removed in 7547341bee

Config set was changed into adc834f1ae

Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-03-05 13:03:23 +01:00
Maximilian Krög
ecf75a991d Transmit the wkt data, without processing for ol
OpenLayers comes with its very own WKT parser.
This reduces the size of transmitted data.

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2026-02-27 22:58:33 +01:00
Maximilian Krög
ded7d5f32b Don't use barrle files for import
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2026-02-27 21:51:07 +01:00
Iakov Ogryzkov
7d5c0f796f Fix: Text copying while editing a cell
Signed-off-by: Iakov Ogryzkov <justjacob951@gmail.com>
2026-02-27 16:20:21 +01:00
Thomas Vincent
4cd089afb1 refactor: replace var with const/let in tracking.ts
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-02-25 16:36:50 -08:00
William Desportes
ce05a69743 Ignore some TypeScript "errors" about fullscreen properties
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-02-24 15:53:24 +01:00
William Desportes
015d75c0d1 Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-02-24 15:36:06 +01:00
Maurício Meneghini Fauth
7e48a8864e Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-02-20 13:18:02 -03:00
Liviu-Mihail Concioiu
5d6f27f6ed Fix
Co-authored-by: Maximilian Krög <maxi_kroeg@web.de>
2026-02-15 23:47:10 +01:00
William Desportes
992718ff3c Merge #20036 - Frontend: Allow mouse selection of cells for easier copying
Pull-request: #20036
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-02-12 14:42:14 +01:00
Iakov Ogryzkov
2267c423f1 Selection of cells in the table: change styles for selected cells
Signed-off-by: Iakov Ogryzkov <justjacob951@gmail.com>
2026-02-11 22:25:14 +01:00
Maurício Meneghini Fauth
17e34144a1 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-02-10 22:32:28 -03:00
Iakov Ogryzkov
c379216d72 Selection of cells in the table: multiselect by ctrl. Also shift + arrow navigation
Signed-off-by: Iakov Ogryzkov <justjacob951@gmail.com>
2026-02-05 20:59:37 +01:00
Iakov Ogryzkov
fdf1e44e95 Selection of cells in the table: allow cell selection using shift and arrow keys
Signed-off-by: Iakov Ogryzkov <justjacob951@gmail.com>
2026-01-26 02:02:57 +01:00
Maximilian Krög
55354465b7 Fix checking cookies for auto-saved query
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2026-01-24 22:49:49 +01:00