Commit Graph

27 Commits

Author SHA1 Message Date
Kamil Tekiela
e67fe1b145 Execute getTableListPosition only once
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2025-12-11 00:19:20 +00:00
Kamil Tekiela
b7327d6944 Move request params out of the method
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2025-12-11 00:19:20 +00:00
Kamil Tekiela
7e57731a92 Move getDbInfo()
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2025-12-11 00:19:18 +00:00
Maurício Meneghini Fauth
4354f4b246
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-11-08 19:44:44 -03:00
Maurício Meneghini Fauth
7567aecd73
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-10-17 10:20:27 -03:00
Maurício Meneghini Fauth
09e453c333
Disable ajax for routine, event and trigger list forms
These forms have event listeners for each action, so it's not needed to
have ajax enabled on the form itself.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-08-31 09:50:58 -03:00
Maximilian Krög
8286d5c555
Indent heredocs
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2025-08-18 21:09:05 +02:00
Maurício Meneghini Fauth
65a4eed88f
Replace events export jQuery UI's dialog with a modal
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-05-14 12:51:40 -03:00
Maurício Meneghini Fauth
dd0c8a4c88
Replace events editor jQuery UI's dialog with a modal
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-05-14 12:42:53 -03:00
Kamil Tekiela
8c62b1a1b5
Use native MySQL paging
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2025-05-05 16:03:51 -03:00
Maurício Meneghini Fauth
1a25a06d0d
Replace Config::getInstance with DI in controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-05-01 21:51:43 -03:00
Kamil Tekiela
0e5b3968b2 Synchronize routines UX
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2025-04-18 13:22:01 +01:00
Petr Duda
cfb99ea0ce
Add paging to Routines page
Related to #16487

Signed-off-by: Petr Duda <petrduda@seznam.cz>
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-04-16 20:26:00 -03:00
Maurício Meneghini Fauth
cd26c052eb
Replace execute routine jQuery UI's dialog with a modal
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-04-10 10:36:41 -03:00
Maurício Meneghini Fauth
2ab001b3d7
Replace routines export jQuery UI's dialog with a modal
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-04-08 18:05:56 -03:00
Maurício Meneghini Fauth
09d77a0e04
Replace routine editor jQuery UI's dialog with a modal
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-04-08 13:20:09 -03:00
Kamil Tekiela
de3f7bc1dc Create a new controller
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2025-01-16 22:14:46 +00:00
Kamil Tekiela
6457695ebb Remove unused lines from psalm.xml
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2024-12-29 15:12:59 +00:00
Kamil Tekiela
8015e4de72 Move DatabaseInterface to Dbal
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2024-12-22 18:34:53 +00:00
Maurício Meneghini Fauth
d65d0b220c
Remove the Functions JS global object
Exports each function individually and removes the Functions global
object.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-07-27 15:38:41 -03:00
Maurício Meneghini Fauth
d2060c56d5
Change InvocableController to always return a Response
When 'null' is returned, ResponseRenderer::response() is called, so
call it early to always return a Response object.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-22 15:22:56 -03:00
Maurício Meneghini Fauth
7fa1fc6ea6
Remove ResponseRenderer::disable from CopyFormController
Creates a new Response object instead of using the response from
ResponseRenderer class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-06 13:22:35 -03:00
Maurício Meneghini Fauth
4d0565b7cd
Remove ResponseRenderer::disable from ChangePrefixFormController
Creates a new Response object instead of using the response from
ResponseRenderer class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-05 20:36:20 -03:00
Maurício Meneghini Fauth
5c7667369f
Remove ResponseRenderer::disable from AddPrefixController
Creates a new Response object instead of using the response from
ResponseRenderer class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-05 19:34:29 -03:00
Maurício Meneghini Fauth
137283f909
Remove unused constructor params from controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-04-08 15:59:34 -03:00
Kamil Tekiela
82c85d26c0
Clean up of tests (#19067)
* Fix wrong type hint

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

* Use $this instead of parent

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

* setUp should be a protected method

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

* onNotSuccessfulTest should be protected

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

* $command doesn't need to be a property

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

* Give alertText() proper return type

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

* Use null-safe operator

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

* Call Message static constructors statically

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

* Call StorageEngine methods statically

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

* Add better type hints in PrivilegesController

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

* Use packed (without keys) arrays in tests

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

* Use type casts instead of function casts

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

* Use const instead of private property

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

* Use const instead of private property

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

* Fix testAuthFailsTooLongPass()

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

* Replace loop with array_shift

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

* Use ob_get_clean

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

* Remove duplicated code

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

* Use assert instead of phpdoc

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

---------

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2024-03-20 13:34:55 -03:00
Maurício Meneghini Fauth
606f66b5df
Rename tests/classes to tests/unit
This directory is for unit tests only, so let's rename it to unit to be
more clear.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-02-23 13:29:07 -03:00