1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 19:44:00 +02:00

3429 Commits

Author SHA1 Message Date
Jakub Vrana
b64c80acc9 Schema: Reduce precision to pixels 2025-03-31 10:09:30 +02:00
Jakub Vrana
a93e4cb694 Return Db from connection()
It's not a real type declaration because compile.php passes stdClass here.
2025-03-31 10:09:30 +02:00
Jakub Vrana
7ee6f4f7ac Move connect() to Driver 2025-03-31 10:09:30 +02:00
Jakub Vrana
992561f75e Add comment 2025-03-31 10:09:30 +02:00
Jakub Vrana
65fd673d05 Remove ignored errors 2025-03-31 10:09:30 +02:00
Jakub Vrana
4b262ededa Remove unnecessary braces 2025-03-31 10:09:29 +02:00
Jakub Vrana
9b6943d5af Add helper for $connection2 2025-03-29 22:21:18 +01:00
Jakub Vrana
291ae7f1ac Fix types of $connection2 2025-03-29 22:17:16 +01:00
Jakub Vrana
712d96b22c Use connection() instead of $connection 2025-03-29 22:10:20 +01:00
Jakub Vrana
168ea5ae6d Use driver() instead of $driver 2025-03-29 22:05:31 +01:00
Jakub Vrana
845445baad Use adminer() instead of $adminer 2025-03-29 21:43:29 +01:00
Jakub Vrana
87f149ce1d Move HTML function, fix types 2025-03-29 18:10:32 +01:00
Jakub Vrana
6a3161cd49 Fix type of permanentLogin() 2025-03-29 15:21:25 +01:00
Jakub Vrana
141db3cb8d Add comment 2025-03-29 15:17:39 +01:00
Jakub Vrana
6ea34e3b9a CSS: Add --fg color 2025-03-29 14:51:25 +01:00
Jakub Vrana
262366b120 CSS: Use --bg 2025-03-29 11:31:45 +01:00
Jakub Vrana
79fbf9c58a CSS: Hide menu on mobile 2025-03-29 11:11:57 +01:00
Jakub Vrana
6cf3d5d2b8 Inline GIF to CSS 2025-03-29 08:49:51 +01:00
Jakub Vrana
5b329ae720 JUSH: Fix opening help to new window 2025-03-28 23:29:14 +01:00
Jakub Vrana
225b6671c7 Delete function moved to get_val 2025-03-28 23:00:47 +01:00
Jakub Vrana
aceb4ce7a5 Move $drivers to SqlDriver 2025-03-28 22:58:32 +01:00
Jakub Vrana
1f88485a3c Rename variable 2025-03-28 22:58:03 +01:00
Jakub Vrana
4e1e638f98 MySQLi: Use default credentials
Accidentally removed by c96894e.
2025-03-28 22:29:00 +01:00
Jakub Vrana
03d0daff5c Remove global $permanent 2025-03-28 22:29:00 +01:00
Jakub Vrana
29339c5223 Db: Unify connection error handling 2025-03-28 22:28:52 +01:00
Jakub Vrana
d5bba383ea Check numeric table names after error 2025-03-28 20:45:27 +01:00
Jakub Vrana
d59830c7b2 Delete $has_token 2025-03-28 20:40:28 +01:00
Jakub Vrana
ff37ac1d35 MySQLi: Check for more results (fix #955) 2025-03-28 20:13:06 +01:00
Jakub Vrana
75c94cec6b Fix types 2025-03-28 19:48:25 +01:00
Jakub Vrana
65d97caeb9 Move $error to Adminer::$error 2025-03-28 19:48:23 +01:00
Jakub Vrana
3cfae4b8f4 Pass $error as param 2025-03-28 19:04:13 +01:00
Jakub Vrana
e219ef9ad1 Move $token to get_token() 2025-03-28 19:04:11 +01:00
Jakub Vrana
74457f0895 Move $HTTPS to HTTPS 2025-03-28 18:39:30 +01:00
Jakub Vrana
f6d311457e Move $langs to langs() 2025-03-28 18:39:30 +01:00
Jakub Vrana
508baa8c6b Move $LANG and get_lang() to LANG 2025-03-28 18:39:30 +01:00
Jakub Vrana
f0920af6b7 Move $VERSION and version() to VERSION 2025-03-28 18:39:30 +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
7a19fa67fd Integrate Db::result in get_val 2025-03-28 15:41:38 +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
c2c8992dd0 PHPStan: Fix errors in Plugins 2025-03-28 12:47:09 +01:00
Jakub Vrana
a691bcbf15 Rename function with the same name as Driver::select 2025-03-28 12:47:09 +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
c169c55d70 Call Plugins from Adminer class 2025-03-28 12:47:09 +01:00
Jakub Vrana
54f3437a6a Plugins: Simplify calling
The class Plugins don't extend Adminer anymore. Adminer is now treated like any other plugin.
Hooks are now registered in the constructor and they are called dynamically.
Apart from being much more pleasant to work with, it shaves 7 kB from the compiled file.
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