Kamil Tekiela
86031d2bf6
Deimplement fetchAssoc() helper
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-01-09 22:44:53 +00:00
Kamil Tekiela
f5bb90ebb9
Move queryAsControlUser - Dbal refactoring pt.3
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-01-06 19:31:27 +00:00
Kamil Tekiela
83b4dda1a3
Change QUERY_STORE to QUERY_BUFFERED
...
Set the value to 0 instead of 1 and remove all unnecessary usages of this constant
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-01-01 01:46:01 +00:00
Maurício Meneghini Fauth
d84af02945
Create VO classes for each RelationParameters features
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 19:17:58 -03:00
Maurício Meneghini Fauth
44fe103b9c
Remove @access annotations
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-22 11:43:45 -03:00
Maurício Meneghini Fauth
c411121fd8
Move Relation classes into the ConfigStorage namespace
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-17 12:09:13 -03:00
Maurício Meneghini Fauth
c4575fd48b
Add methods to check for RelationParameters features
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-11 08:10:40 -03:00
Kamil Tekiela
a1bb68a742
Introduce typed variable
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-11-28 19:33:22 +00:00
Kamil Tekiela
36fc97c45c
Default return value to an empty array.
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-11-28 19:33:22 +00:00
Kamil Tekiela
63b59f2550
Fix issues with wrong type provided for $table
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-11-28 19:33:09 +00:00
Kamil Tekiela
7b95a4b6d2
Use DI for $dbi in Menu.php
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-11-28 19:12:30 +00:00
Kamil Tekiela
b604a8660e
Refactor getMenu() method
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-11-28 18:54:41 +00:00
Maurício Meneghini Fauth
857a9d3337
Remove unnecessary @var annotations
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-11-18 12:15:30 -03:00
Maurício Meneghini Fauth
b2a51c4d84
Create the RelationParameters value object
...
Replaces the $cfgRelation array with the RelationParameters value
object.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-11-14 18:22:36 -03:00
Maurício Meneghini Fauth
f00d70cccb
Remove useless whitespaces
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-15 17:05:40 -03:00
Maurício Meneghini Fauth
1c084de30b
Fix coding standard errors
...
Related to 62f142c9fa .
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-06-03 16:50:33 -03:00
Maurício Meneghini Fauth
878ab12dec
Change Util::getUrlForOption fallback to base route
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-05-11 20:19:05 -03:00
Maurício Meneghini Fauth
59e4dae52a
Remove invalid inline doc comments
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-04-18 14:49:28 -03:00
Maurício Meneghini Fauth
207901e992
Remove the js/src/microhistory.js file
...
There is no need for the MicroHistory anymore now that the History
API is available in all supported browsers.
Also removes the jQuery hashchange plugin.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-10 17:06:21 -03:00
Maurício Meneghini Fauth
3a161651ea
Rename variables to use camel case format
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-07 14:58:49 -03:00
Maurício Meneghini Fauth
d83abf63e7
Use PSR-12 for control structures spacing
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-05 15:27:03 -03:00
Maurício Meneghini Fauth
0b8edc5bde
Use PSR-12 for namespace use statements
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-05 14:18:35 -03:00
William Desportes
8da837aa3e
Fix #16713 - Add a default route as a navigation fallback
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-05 14:44:29 +01:00
William Desportes
fc5477288a
Fix #16658 - Only set the table argument when the database is set
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-17 14:56:43 +01:00
William Desportes
2e63d8f99b
Fix breadcrumbs urls
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-17 14:18:21 +01:00
Maurício Meneghini Fauth
ef62d7a9f5
Remove is_system_schema PHP global variable
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-02 18:48:23 -03:00
Maurício Meneghini Fauth
e4e274976e
Extract cache methods from Util to SessionCache class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-25 22:45:56 -03:00
Maurício Meneghini Fauth
a83ec78ebf
Make DatabaseInterface::isUserType method private
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-24 00:40:03 -03:00
Maurício Meneghini Fauth
ac9bccf67d
Replace $GLOBALS['dbi'] with global $dbi
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-11 09:24:21 -03:00
William Desportes
d63a72ad51
Fixes #16278 - Remove underscore prefix from property names
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-08-06 15:46:39 +02:00
Maurício Meneghini Fauth
3f01cd8c13
Remove Message::display method
...
Related to https://github.com/phpmyadmin/phpmyadmin/issues/16258 .
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-07-20 19:43:46 -03:00
charliewindred
ca3c5e17b0
Remove underscore prefix from method names
...
Removed underscore from method names for PSR-12 compliance.
Signed-off-by: charliewindred <charliewindred@gmail.com>
2020-06-02 16:44:16 +01:00
William Desportes
761045bcc9
Move getSystemSchemas and isSystemSchema to Query\Utilities
...
If you think the class name could be better, feel free to improve it.
Everybody know naming classes is difficult ^^
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-31 01:42:53 +02:00
Maurício Meneghini Fauth
f4582e083e
Use early exit when possible
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-27 00:35:24 -03:00
Maurício Meneghini Fauth
3baad2eb1c
Fix some coding standard issues
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-25 22:42:37 -03:00
William Desportes
9a95abd05f
Use declaration of global $dbi
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 12:03:29 +02:00
Maurício Meneghini Fauth
a64393e7f5
Fix some coding standard issues
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-13 00:23:28 -03:00
Maurício Meneghini Fauth
64723d90da
Rename the multi-table query route
...
Renames the route name from /database/multi_table_query to
/database/multi-table-query.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-12 17:04:59 -03:00
Maurício Meneghini Fauth
f6bbecc0c2
Create Preferences\ImportController class
...
Extracts the controller from the FormsController.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 18:13:46 -03:00
Maurício Meneghini Fauth
7bfaffa283
Create Preferences\ExportController class
...
Extracts the controller from the FormsController.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 17:52:20 -03:00
Maurício Meneghini Fauth
53cb7f6273
Create Preferences\MainPanelController class
...
Extracts the controller the from the FormsController.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 17:07:53 -03:00
Maurício Meneghini Fauth
73a238e51e
Create Preferences\NavigationController class
...
Extracts the controller from the FormsController.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 15:39:20 -03:00
Maurício Meneghini Fauth
3db59bab5b
Create Preferences\SqlController class
...
Extracts the controller from the FormsController.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 15:15:29 -03:00
Maurício Meneghini Fauth
95e0c251ae
Create Preferences\FeaturesController class
...
Extracts the controller from the FormController.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 13:54:32 -03:00
Maurício Meneghini Fauth
6b7af13f8f
Reference global funcs and consts via use statement
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-23 00:33:24 -03:00
Maurício Meneghini Fauth
676f48349a
Reference global funcs and consts via use statement
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-21 22:13:36 -03:00
Maurício Meneghini Fauth
f80d3e3bd4
Remove unnecessary annotations
...
@package, @subpackage and others.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-20 17:35:56 -03:00
Maurício Meneghini Fauth
6283caaabf
Use one line for comments with a single line
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-20 16:04:09 -03:00
Maurício Meneghini Fauth
5f36cd8aec
Refactor top_menu.twig
...
Simplifies the navigation bar tab loop by removing the
get_html_tab function.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-08 19:42:29 -03:00
Maurício Meneghini Fauth
36730b33bd
Create Table\ZoomSearchController controller
...
Moves the table zoom search entry point to the ZoomSearchController,
removes the entry point file and extracts the zoom search logic from the
SearchController class.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-28 00:18:26 -03:00