Commit Graph

128691 Commits

Author SHA1 Message Date
Kamil Tekiela
99c4d34db2 Create MessageType enum
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2024-05-14 16:30:45 +02:00
Maurício Meneghini Fauth
510e442593
Merge pull request #19156 from MauricioFauth/setup-controllers
Refactor setup controllers to implement InvocableController
2024-05-13 11:09:36 -03:00
Oğuz Ersen
6c5c48185f
Translated using Weblate (Turkish)
Currently translated at 100.0% (3404 of 3404 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/tr/
Signed-off-by: Oğuz Ersen <oguz@ersen.moe>
2024-05-13 03:02:47 +02:00
Andrei Stepanov
37199bf939
Translated using Weblate (Russian)
Currently translated at 100.0% (3404 of 3404 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/ru/
Signed-off-by: Andrei Stepanov <adem4ik@gmail.com>
2024-05-13 03:02:46 +02:00
Kristijan \"Fremen\" Velkovski
619976bc07
Translated using Weblate (Macedonian)
Currently translated at 27.8% (950 of 3407 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/mk/
Signed-off-by: "Kristijan \"Fremen\" Velkovski" <me@krisfremen.com>
2024-05-13 03:02:45 +02:00
Hosted Weblate
aec0c11aa9
Merge branch 'origin/master' into Weblate.
[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/
2024-05-12 02:20:42 +02:00
Kristijan \"Fremen\" Velkovski
f1cc7fbcc2
Translated using Weblate (Macedonian)
Currently translated at 27.8% (949 of 3404 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/mk/
Signed-off-by: "Kristijan \"Fremen\" Velkovski" <me@krisfremen.com>
2024-05-12 02:20:41 +02:00
phpMyAdmin bot
e73b2cf747 Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2024-05-12 00:20:31 +00:00
Maurício Meneghini Fauth
b93d1b9b52
Merge pull request #19154 from MauricioFauth/auth-plugin-response-handling
Remove ResponseRenderer::callExit() calls from auth plugins
2024-05-11 17:55:00 -03:00
Maurício Meneghini Fauth
c7963eab22
Remove ResponseRenderer::disable from Setup\ShowConfigController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-11 17:50:40 -03:00
Maurício Meneghini Fauth
de7572b914
Inline and remove the Setup\FormProcessing class
This helps with the response handling.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-11 17:35:37 -03:00
Maurício Meneghini Fauth
126ac3ac56
Move check if setup is enabled to each setup controller
Removes it from the Setup\MainController as it will be removed in the
future.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-11 16:28:09 -03:00
Maurício Meneghini Fauth
0a681ea9ed
Make all setup controllers implement InvocableController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-11 15:25:06 -03:00
Maurício Meneghini Fauth
32447c6f72
Remove Controllers\Setup\AbstractController class
Extracts AbstractController::getPages into SetupHelper class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-10 21:45:32 -03:00
Maurício Meneghini Fauth
52b3ef4495
Remove Config\ConfigFile global variables
- Removes the 'cf' and 'ConfigFile' global variables.
- Extracts the ConfigFile creation from SetupPageRedirection middleware
and moves it to the Setup\SetupHelper class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-10 21:16:33 -03:00
Maurício Meneghini Fauth
2fe67cc85b
Extract destroy action from Setup\ServersController
Extracts it into a new controller called Setup\ServerDestroyController.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-10 16:53:18 -03:00
Maurício Meneghini Fauth
9cac3a9bcc
Pass ServerRequest object directly to setup controllers
Instead of passing an array of parameters.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-10 16:36:34 -03:00
Maurício Meneghini Fauth
ae625702f1
Refactor Routing::callSetupController() to use ContainerBuilder
Uses the ContainerBuilder to factory the setup controllers.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-10 14:20:44 -03:00
Maurício Meneghini Fauth
c6c9aeb678
Merge #19124 - Refactoring move copy
The goal of this was to partition the big method into smaller easier to
understand chunks and get rid of globals. This code is still far from
perfect but I have no idea how to proceed further right now.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-10 11:13:57 -03:00
Kristijan \"Fremen\" Velkovski
70b67fa926
Translated using Weblate (Macedonian)
Currently translated at 27.7% (944 of 3404 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/mk/
Signed-off-by: "Kristijan \"Fremen\" Velkovski" <me@krisfremen.com>
2024-05-10 09:26:51 +02:00
Maurício Meneghini Fauth
898fb91773
Merge pull request #19151 from MauricioFauth/stmt-history-middleware
Extract Footer::setHistory() into a middleware
2024-05-09 19:40:47 -03:00
Maurício Meneghini Fauth
6a425a2d00
Add better method names for Exceptions\AuthenticationFailure
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-09 18:06:52 -03:00
Maurício Meneghini Fauth
bc00b69050
Remove callExit() from AuthenticationPlugin::readCredentials()
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-09 16:07:05 -03:00
Maurício Meneghini Fauth
e435bb7129
Remove callExit() from AuthenticationHttp::authForm()
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-09 15:32:46 -03:00
Maurício Meneghini Fauth
02044f2160
Remove callExit() from AuthenticationPlugin::checkTwoFactor()
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-09 15:13:17 -03:00
Maurício Meneghini Fauth
70757ceede
Remove callExit() from AuthenticationCookie::rememberCredentials()
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-09 14:59:58 -03:00
Maurício Meneghini Fauth
d0121dcf5d
Remove callExit() from AuthenticationPlugin::showLoginForm()
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-09 14:31:19 -03:00
Maurício Meneghini Fauth
aa70f48537
Remove callExit() from AuthenticationPlugin::authenticate()
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-09 13:10:17 -03:00
Maurício Meneghini Fauth
ad98ad27cb
Change AuthenticationPlugin::showFailure() return type
Instead of throwing an ExitException, showFailure() now returns
a Response object.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-09 12:58:46 -03:00
Maurício Meneghini Fauth
cfdaedb623
Create AuthenticationFailure exception
Refactors the AuthenticationPlugin::showFailure() to receive the new
exception and move the showFailure calls to the Authentication
middleware.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-09 11:16:51 -03:00
Maurício Meneghini Fauth
5e429ffc7d
Extract Footer::setHistory() into a middleware
This is always done after a response, so is better to extract it into a
middleware instead.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-08 17:11:57 -03:00
Maurício Meneghini Fauth
2a58575683
Merge pull request #19144 from kamil-tekiela/UiProperty
Add UiProperty enum
2024-05-07 21:33:33 -03:00
Maurício Meneghini Fauth
7ba6d987aa
Merge pull request #19149 from MauricioFauth/response-renderer-disable-removal
Remove ResponseRenderer::disable() from controllers
2024-05-07 19:12:31 -03:00
Maurício Meneghini Fauth
ea322a6b2c
Remove ResponseRenderer::disable from GisVisualizationController
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-07 12:51:08 -03:00
Maurício Meneghini Fauth
d2e96532a0
Remove ResponseRenderer::disable from GetFieldController
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-07 12:38:07 -03:00
Maurício Meneghini Fauth
bea78f6b0b
Remove ResponseRenderer::disable from Preferences\ManageController
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-07 12:21:39 -03:00
Maurício Meneghini Fauth
06fed2283c
Remove ResponseRenderer::disable from TrackingController
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-07 12:07:44 -03:00
Maurício Meneghini Fauth
e7123c1ecf
Remove ResponseRenderer::disable from Transformation\WrapperController
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 21:36:22 -03:00
Maurício Meneghini Fauth
319639cf6b
Remove ResponseRenderer::disable from VersionCheckController
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 20:31:58 -03:00
Maurício Meneghini Fauth
ad1336feb5
Remove ResponseRenderer::disable from SchemaExportController
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 20:12:07 -03:00
Maurício Meneghini Fauth
058ba3d3a2
Remove ResponseRenderer::disable from LintController
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 19:27:58 -03:00
Andrei Stepanov
6731b87a72
Translated using Weblate (Russian)
Currently translated at 100.0% (3404 of 3404 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/ru/
Signed-off-by: Andrei Stepanov <adem4ik@gmail.com>
2024-05-06 23:28:49 +02: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
Oğuz Ersen
931b923f31
Translated using Weblate (Turkish)
Currently translated at 100.0% (3404 of 3404 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/tr/
Signed-off-by: Oğuz Ersen <oguz@ersen.moe>
2024-05-05 10:33:45 +02:00
Yaron Shahrabani
31b8474149
Translated using Weblate (Hebrew)
Currently translated at 43.6% (1487 of 3404 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/he/
Signed-off-by: Yaron Shahrabani <sh.yaron@gmail.com>
2024-05-05 10:33:45 +02:00
Hosted Weblate
20b8177930
Merge branch 'origin/master' into Weblate.
[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/
2024-05-05 02:20:25 +02:00
Indra Sah Noeldy
086e4ce7ba
Translated using Weblate (Indonesian)
Currently translated at 73.8% (2513 of 3403 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/id/
Signed-off-by: Indra Sah Noeldy <indragirsang75@smp.belajar.id>
2024-05-05 02:20:20 +02:00
phpMyAdmin bot
289bde5159 Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2024-05-05 00:20:05 +00:00