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

34 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
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
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
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
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
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
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
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
William Desportes
015d75c0d1 Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-02-24 15:36:06 +01:00
William Desportes
4da3aaaf7a Merge branch 'QA_5_2'
Already merged in master: https://github.com/phpmyadmin/phpmyadmin/pull/19960
Re-write of the test from 4de9f0f0b1
Merge of 631cac096f
Merge of 58cee9656f but could not find the code to implement

Signed-off-by: William Desportes <williamdes@wdes.fr>
2025-12-29 18:50:41 +01:00
Liviu-Mihail Concioiu
c8acafe736 Fix selector
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2025-11-25 22:21:28 +01:00
Liviu-Mihail Concioiu
2664be18fa Fix selector
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2025-11-25 22:09:15 +01:00
Liviu-Mihail Concioiu
923bb4a539 Avoid duplicate tooltips
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2025-11-25 22:01:01 +01:00
Liviu-Mihail Concioiu
b68cc42d9a Make sure the tooltip is only visible on hover
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2025-11-25 02:46:11 +01:00
Liviu-Mihail Concioiu
cf80ac28bb Improve createProfilingChart function and remove duplicate code
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2025-09-04 00:32:17 +02:00
Maurício Meneghini Fauth
447dc81a47 Change ThemeColorModeToggle listener to use the event target
This avoids getting the element again from the DOM

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-08-25 22:20:40 -03:00
Liviu-Mihail Concioiu
26ea24414e Use jquery-ui-timepicker-addon.min.js (41 KB) instead of jquery-ui-timepicker-addon.js (78 KB)
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2025-07-30 19:20:46 +02:00
Liviu-Mihail Concioiu
e686cf0c20 Fix query not showing when dropping index
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2025-07-23 04:06:31 +02:00
Maurício Meneghini Fauth
b5d44cef83 Fix error reported by eslint
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-06-19 13:17:01 -03:00
Maurício Meneghini Fauth
1757d286de Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-06-19 12:54:54 -03:00
Maurício Meneghini Fauth
afbd8af7aa Merge pull request #19722 from dbto/drag-n-drop-in-enum-set
Add drag-n-drop to Enum/Set

Fixes #19711
2025-06-16 20:18:22 -03:00
Kamil Tekiela
b4217b0988 Fix edit inline
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2025-06-09 12:50:03 +01:00
Maurício Meneghini Fauth
14f168f291 Merge PR #19700 Improve error template
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-06-06 21:33:43 -03:00
dbto
2fbd3c18c7 Add drag-n-drop to Enum/Set
Signed-off-by: dbto <jens.lechner.dbto@googlemail.com>
2025-05-31 15:02:24 +02:00
Maurício Meneghini Fauth
3eb9ac92a3 Import Bootstrap directly using Webpack
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-05-22 18:09:06 -03:00
Maurício Meneghini Fauth
01e4a87bbd Move resources/js/src to resources/js
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-05-22 13:43:59 -03:00