Jakub Vrana
29339c5223
Db: Unify connection error handling
2025-03-28 22:28:52 +01:00
Jakub Vrana
2396397b75
Elasticsearch: Make it work with Elasticsearch 8
2025-03-28 17:43:11 +01:00
Jakub Vrana
bd823716fc
Elastic: Fix types
2025-03-28 16:17:26 +01:00
Jakub Vrana
195341d075
Split editFunctions
2025-03-28 15:41:38 +01:00
Jakub Vrana
46f6a96c95
Doc-comments: Fix type errors
2025-03-28 15:41:36 +01:00
Jakub Vrana
dc38a7ded3
Plugins: Move operators to a method
2025-03-28 14:30:00 +01:00
Jakub Vrana
e3a4a214e6
Doc-comments: Remove redundant info
2025-03-28 12:47:09 +01:00
Jakub Vrana
a9143ccbdc
Doc-comments: Fix type errors
2025-03-28 12:47:09 +01:00
Jakub Vrana
b948f77af4
Doc-comments: Fix type errors
2025-03-28 12:47:06 +01:00
Jakub Vrana
54f8d731b3
Doc-comments: Sync method signatures
2025-03-28 12:45:02 +01:00
Jakub Vrana
ab4208dcb8
Doc-comments: Declare type properties
2025-03-28 12:45:02 +01:00
Jakub Vrana
5e88dae4e2
Doc-comments: Format
2025-03-28 12:45:02 +01:00
Jakub Vrana
45c045382a
Doc-comments: Move return types to declaration
2025-03-28 12:45:02 +01:00
Jakub Vrana
641ee4ff26
Doc-comments: Move param types to declaration
2025-03-28 12:45:02 +01:00
Jakub Vrana
69073d9d54
AdminerLoginSsl: Document type
2025-03-28 12:45:02 +01:00
Jakub Vrana
911f3b71b7
Doc-comments: Add param names
2025-03-28 12:45:02 +01:00
Jakub Vrana
e2deed9a02
Use common parent for Db
2025-03-27 18:39:47 +01:00
Jakub Vrana
806aa51f48
AdminerSqlGemini: Make work with CodeMirror
2025-03-27 07:22:51 +01:00
Jakub Vrana
8f2a829b2e
WYMeditor not updated since 2014
2025-03-27 07:13:17 +01:00
Jakub Vrana
309fdb0d86
PHPStan: Fix level 3 errors
2025-03-26 16:57:58 +01:00
Jakub Vrana
7e5757f8b4
PHPStan: Fix level 2 errors
2025-03-26 16:22:15 +01:00
Jakub Vrana
d39cc24c61
PHPStan: Fix level 1 errors
2025-03-26 13:49:11 +01:00
Jakub Vrana
63c258a7f9
PHPStan: Fix level 0 errors
2025-03-26 13:14:10 +01:00
Jakub Vrana
c5f87110ff
Notices: Use idx()
2025-03-26 10:21:36 +01:00
Jakub Vrana
1a2ae0e29e
AdminerDarkSwitcher: Work with compiled version (bug #926 )
2025-03-26 07:28:47 +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
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
19b7358452
AdminerSqlGemini: Highlight button
2025-03-25 07:33:30 +01:00
Jakub Vrana
9b1b779dbd
AdminerSqlGemini: Handle Ctrl+Enter
2025-03-25 06:56:00 +01:00
Jakub Vrana
4bbbea2fbe
AdminerSqlGemini: Wrap returned text to comment
2025-03-25 06:49:34 +01:00
Jakub Vrana
16e49d27cb
AdminerSqlGemini: Return more columns by default
2025-03-25 06:29:41 +01:00
Jakub Vrana
190d91a0f9
AdminerSqlGemini: Send vendor
2025-03-25 06:17:27 +01:00
Jakub Vrana
001f5ac21a
AdminerSqlGemini: Avoid button jumping
2025-03-25 06:09:00 +01:00
Jakub Vrana
27a5aeea86
AdminerSqlLog: Update comment
2025-03-24 23:49:30 +01:00
Jakub Vrana
88821a5780
Move beforeunload to plugin
2025-03-24 16:55:40 +01:00
Karel Uhlík
a50395c275
AdminerTablesFilter: Fix JS variable visibility
...
fix error: Uncaught ReferenceError: reg is not defined
2025-03-24 15:28:02 +01:00
Jakub Vrana
50cdbbe415
Non-MySQL: Better field types in SQL command
2025-03-24 14:43:15 +01:00
Jakub Vrana
b8eb0ad8f5
Notices: Declare properties in fetch_field()
2025-03-24 12:18:24 +01:00
Jakub Vrana
858c914a50
AdminerDarkSwitcher: Icon
2025-03-24 07:38:33 +01:00
Jakub Vrana
3dd1b41472
Notices: Store maria into a declared variable
2025-03-24 07:30:22 +01:00
Jakub Vrana
0501846743
AdminerSqlGemini: Support multiple instructions
...
Example:
Cities speaking Czech.
Then create indexes so it's fast.
2025-03-23 20:24:25 +01:00
Jakub Vrana
d6a417fa58
Add comment
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
c32e4f82fe
AdminerSqlGemini: Display progress
2025-03-23 20:22:41 +01:00
Jakub Vrana
19bb320e7a
New plugin: Verify new versions from GitHub
...
Thanks to @adrianbj in 441e7f0 .
2025-03-23 20:22:40 +01:00
Jakub Vrana
03ff0bbc04
JS: Use classList instead of className
2025-03-23 15:10:18 +01:00
Jakub Vrana
9142e7e8a5
AdminerDumpAlter: Rename colliding method ( fix #943 )
2025-03-23 13:56:40 +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