Jakub Vrana
63c258a7f9
PHPStan: Fix level 0 errors
2025-03-26 13:14:10 +01:00
Jakub Vrana
a60e00bf72
Use Adminer\Plugins
2025-03-26 11:10:37 +01:00
Jakub Vrana
6e7158537f
Add comment
2025-03-26 10:25:13 +01:00
Jakub Vrana
c5f87110ff
Notices: Use idx()
2025-03-26 10:21:36 +01:00
Jakub Vrana
1b8a428d2f
Notices: Avoid accessing offset on null
...
Thanks to @peterpp at 62017e3
.
2025-03-26 07:20:10 +01:00
Jakub Vrana
41aad5bc37
Doc-comment: Use type aliases for arrays
...
Type aliases could be defined either globally (https://phpstan.org/writing-php-code/phpdoc-types#global-type-aliases ) or just for a class.
I prefer having them at the place where they are created.
2025-03-26 02:43:08 +01:00
Jakub Vrana
cccc784da4
Always return array from table_status()
2025-03-26 01:34:48 +01:00
Jakub Vrana
cd207238b7
Move icons to CSS
2025-03-26 00:08:16 +01:00
Jakub Vrana
db0e44221b
Doc-comments: Use special PHPStan types
2025-03-25 15:18:47 +01:00
Jakub Vrana
01e2fe4234
Doc-comments: Use array shapes in @return
...
This uses https://phpstan.org/writing-php-code/phpdoc-types#array-shapes
I'm not going to do this in @param, it would be better to use https://phpstan.org/writing-php-code/phpdoc-types#global-type-aliases
2025-03-25 15:08:13 +01:00
Jakub Vrana
4d2b5144b1
Doc-comments: Improve array @var
2025-03-25 14:41:26 +01:00
Jakub Vrana
2ee325183b
Doc-comment: Improve array @param
...
This uses syntax from https://phpstan.org/writing-php-code/phpdoc-types#general-arrays .
int[] means an array of ints with arbitrary keys (usually strings)
list<string> means an array of strings with sequential integer keys starting at 0
list<string>[] means an arbitrary array of string lists
list<string[]> means list of arbitrary string arrays
string[][] means two dimensional array with arbitrary keys in both dimensions
array was left in the comments for https://phpstan.org/writing-php-code/phpdoc-types#array-shapes
2025-03-25 14:31:27 +01:00
Jakub Vrana
26aa48122f
Doc-comments: Improve array @return
2025-03-25 13:27:54 +01:00
Jakub Vrana
2c72b879e9
Simplify saving flavor
2025-03-25 06:15:09 +01:00
Jakub Vrana
b13c76149f
Add comment
2025-03-25 06:08:54 +01:00
Jakub Vrana
5dea23a07a
Develop
2025-03-24 17:36:47 +01:00
Jakub Vrana
99a0949d2a
Release 5.1.0
2025-03-24 17:35:22 +01:00
Jakub Vrana
1cf5a91d98
Export: Use output buffering
2025-03-24 17:28:53 +01:00
Jakub Vrana
88821a5780
Move beforeunload to plugin
2025-03-24 16:55:40 +01:00
Jakub Vrana
078a8b3d6b
Improve handling of translations with '
2025-03-24 15:57:46 +01:00
Inoyatulloh
4df205d4ec
Added Uzbek language
2025-03-24 15:44:30 +01:00
Jakub Vrana
50cdbbe415
Non-MySQL: Better field types in SQL command
2025-03-24 14:43:15 +01:00
Jakub Vrana
b86a9cb5fb
Turn on output buffering only after sending headers
...
Otherwise output sent before Location (usually errors) is lost.
2025-03-24 14:04:17 +01:00
Jakub Vrana
d22b1091f1
Notices: fetch_field in PDO
2025-03-24 13:53:10 +01:00
Jakub Vrana
b8eb0ad8f5
Notices: Declare properties in fetch_field()
2025-03-24 12:18:24 +01:00
Jakub Vrana
c47590bb0d
Fix JS error on AI column input
2025-03-24 12:18:24 +01:00
Jakub Vrana
9fd9a1fc8d
Mute the same error in PHP 5
2025-03-24 07:30:22 +01:00
Jakub Vrana
60555c5736
Editor: Fix pre-selecting empty enum
2025-03-24 07:30:22 +01:00
Jakub Vrana
8cec1bd611
Notices: Declare Adminer::$error
2025-03-24 07:30:22 +01:00
Jakub Vrana
9b84908b99
Notices: Require declared properties
2025-03-24 07:30:22 +01:00
Jakub Vrana
3dd1b41472
Notices: Store maria into a declared variable
2025-03-24 07:30:22 +01:00
Jakub Vrana
708646156a
Notices: Enable E_NOTICE and E_STRICT
2025-03-24 07:30:20 +01:00
Jakub Vrana
9e52f0fa2e
Notices: Check session status before restarting
2025-03-23 22:09:46 +01:00
Jakub Vrana
3cd50c9a02
Notices: Silent unavoidable error
2025-03-23 21:47:32 +01:00
Jakub Vrana
f5ecb18896
Notices: Add helper for reset() with expression
2025-03-23 21:39:25 +01:00
Jakub Vrana
8db8b7a10d
Plugins: Use call_user_func_array
2025-03-23 20:22:41 +01:00
Jakub Vrana
4477f95426
AdminerEditCalendar: Avoid work in constructor
2025-03-23 20:22:41 +01:00
Jakub Vrana
6a64c7771b
Plugins: Display doc-comments at server overview
2025-03-23 20:22:41 +01:00
Jakub Vrana
03ff0bbc04
JS: Use classList instead of className
2025-03-23 15:10:18 +01:00
Jakub Vrana
f1a8bd9ef8
Chrome 134 on iOS: Allow zooming out (bug #940 )
2025-03-23 12:40:07 +01:00
Jakub Vrana
204176b33b
New plugin: AI prompt in SQL command creating the queries with Google Gemini
2025-03-23 08:02:48 +01:00
Jakub Vrana
e0dde9034f
Doc-comments: Use consistent style
2025-03-22 21:04:58 +01:00
Jakub Vrana
9b162e8291
PostgreSQL: Fix clone after e395fe5
2025-03-22 20:55:51 +01:00
Jakub Vrana
db829fd463
PDO: Handle PHP warnings for internal queries
2025-03-22 08:47:21 +01:00
Jakub Vrana
3f2eec9b92
URL parameter ?ext=pdo to force using PDO
2025-03-22 08:18:39 +01:00
Jakub Vrana
aaca1eee8e
JS: Unsupport event.srcElement
2025-03-21 23:58:45 +01:00
Jakub Vrana
719c1e7067
Plugins autoloading: Link help
2025-03-21 22:23:45 +01:00
Jakub Vrana
a705be7a94
Confirm before exiting edited edit form
2025-03-20 17:15:18 +01:00
Jakub Vrana
f38bbff5bf
Increase maximum width of string edit (bug #930 )
2025-03-20 15:39:55 +01:00
Peter Knut
09720b31f1
Remove hardcoded textarea height
2025-03-20 15:26:06 +01:00