Jakub Vrana
f0920af6b7
Move $VERSION and version() to VERSION
2025-03-28 18:39:30 +01:00
Jakub Vrana
dc38a7ded3
Plugins: Move operators to a method
2025-03-28 14:30:00 +01:00
Jakub Vrana
c169c55d70
Call Plugins from Adminer class
2025-03-28 12:47:09 +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
911f3b71b7
Doc-comments: Add param names
2025-03-28 12:45:02 +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
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
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
ff0fe92c00
Add forgotten space
2025-03-18 19:51:25 +01:00
Jakub Vrana
bc9de24d77
Add helper for <input type=hidden>
2025-03-18 17:15:10 +01:00
Jakub Vrana
9cfea02e19
Avoid excessive PHP and HTML mixing
2025-03-18 16:45:15 +01:00
Jakub Vrana
a9b020452e
Plugins: Add backward-keys
2025-03-17 19:58:20 +01:00
Jakub Vrana
517f63835d
Plugins: add syntaxHighlighting() and CodeMirror
2025-03-16 14:00:39 +01:00
Jakub Vrana
42bf7b9ca0
Align numbers right (bug #912 )
2025-03-15 15:13:41 +01:00
Jakub Vrana
e3515fd63f
CSS: Dark mode syntax highlighting and adminer-dark.css
2025-03-15 02:00:21 +01:00
Jakub Vrana
dd3cc4e683
Add plugin AdminerEditorViews ( fix #905 )
2025-03-12 05:22:57 +01:00
Jakub Vrana
199edfe11f
Plugins: Add method dumpFooter()
2025-03-11 08:59:38 +01:00
Jakub Vrana
1e963cf90f
Change var to public
2025-03-11 08:17:00 +01:00
Jakub Vrana
0c15a9f42d
Use private visibility on methods
2025-03-11 08:16:41 +01:00
Jakub Vrana
607febea8e
Use private visibility
2025-03-11 08:16:39 +01:00
Jakub Vrana
d35c896b92
Add helper function
2025-03-08 06:13:18 +01:00
Jakub Vrana
c873ceba17
Use PHP 5.3 functions
2025-03-05 15:54:13 +01:00
Jakub Vrana
ed5de27dd3
Code style: Indent long statements
2025-03-05 14:59:13 +01:00
Jakub Vrana
a7f097e78c
Code style: Indent long statements
2025-03-05 14:51:17 +01:00
Jakub Vrana
af68e30742
Code style: Remove newline before }
2025-03-05 14:38:48 +01:00
Jakub Vrana
e1e085f312
Use namespace in callbacks
2025-03-05 13:10:40 +01:00
Jakub Vrana
52c5392089
PHP: Use namespace
2025-03-05 13:10:40 +01:00
Jakub Vrana
e107ef52d5
Move \n to loginFormField
2025-02-26 12:20:36 +01:00
Jakub Vrana
7ece69a8c4
Remove unused HTLM attribute
2025-02-23 11:42:05 +01:00
Jakub Vrana
1838df9465
Narrows screens: Move lang and logout under h1
2025-02-23 11:25:07 +01:00
Jakub Vrana
6fe9827eea
Trim trailing whitespace
2025-02-21 13:59:17 +01:00
Peter Knut
a685d414ad
Change version layout
2025-02-19 20:47:36 +01:00
Peter Knut
3a27c4f64c
Editor: Fix searching in tables
...
Thanks to ytetsuro (https://github.com/vrana/adminer/pull/473 )
2025-02-19 19:04:47 +01:00
Jakub Vrana
874b9ee746
Use autofocus HTML attribute
2025-02-19 11:16:45 +01:00
Peter Knut
927444ffdd
Editor: Fix array conversion to string (issue #3 )
2025-02-19 11:16:40 +01:00
Jakub Vrana
4742bde873
Fix operators init
2021-02-09 10:19:05 +01:00
Jakub Vrana
a8c218f192
Add callback before edit form (bug #759 )
2021-02-08 10:57:53 +01:00
Jakub Vrana
cc9ed0939c
Editor: Cast to string when searching (bug #325 )
2021-02-06 16:11:21 +01:00
Jakub Vrana
08c132cbea
Unify dumpTable declarations (bug #707 )
2019-11-11 12:27:53 +01:00
Jakub Vrana
7defb7787d
Editor: Allow disabling boolean fields in PostgreSQL (bug #640 )
2019-01-22 12:04:08 +01:00
Peter Knut
7eaa57fc0b
Use <ul> list for logins ( #314 )
2018-12-18 15:45:04 +01:00
Jakub Vrana
83fe083f2f
Add autocomplete attributes to login form
2018-12-12 16:13:14 +01:00
Peter Knut
4d66e42817
Add class 'layout' to all non-data tables
2018-09-18 12:08:19 +02:00