]> git.joonet.de Git - adminer.git/log
adminer.git
8 months agoRemove global $permanent
Jakub Vrana [Fri, 28 Mar 2025 21:08:02 +0000 (22:08 +0100)]
Remove global $permanent

8 months agoPHPStan: Mute LANG not found
Jakub Vrana [Fri, 28 Mar 2025 21:02:46 +0000 (22:02 +0100)]
PHPStan: Mute LANG not found

8 months agoDb: Unify connection error handling
Jakub Vrana [Fri, 28 Mar 2025 21:00:53 +0000 (22:00 +0100)]
Db: Unify connection error handling

8 months agoCheck numeric table names after error
Jakub Vrana [Fri, 28 Mar 2025 19:45:27 +0000 (20:45 +0100)]
Check numeric table names after error

8 months agoDelete $has_token
Jakub Vrana [Fri, 28 Mar 2025 19:40:28 +0000 (20:40 +0100)]
Delete $has_token

8 months agoMySQLi: Check for more results (fix #955)
Jakub Vrana [Fri, 28 Mar 2025 19:13:06 +0000 (20:13 +0100)]
MySQLi: Check for more results (fix #955)

8 months agoFix types
Jakub Vrana [Fri, 28 Mar 2025 18:12:31 +0000 (19:12 +0100)]
Fix types

8 months agoMove $error to Adminer::$error
Jakub Vrana [Fri, 28 Mar 2025 18:10:40 +0000 (19:10 +0100)]
Move $error to Adminer::$error

8 months agoPass $error as param
Jakub Vrana [Fri, 28 Mar 2025 18:03:25 +0000 (19:03 +0100)]
Pass $error as param

8 months agoMove $token to get_token()
Jakub Vrana [Fri, 28 Mar 2025 17:49:26 +0000 (18:49 +0100)]
Move $token to get_token()

8 months agoMove $HTTPS to HTTPS
Jakub Vrana [Fri, 28 Mar 2025 17:29:05 +0000 (18:29 +0100)]
Move $HTTPS to HTTPS

8 months agoMove $langs to langs()
Jakub Vrana [Fri, 28 Mar 2025 17:26:48 +0000 (18:26 +0100)]
Move $langs to langs()

8 months agoBump Composer PHP version
Jakub Vrana [Fri, 28 Mar 2025 17:13:58 +0000 (18:13 +0100)]
Bump Composer PHP version

8 months agoMove $LANG and get_lang() to LANG
Jakub Vrana [Fri, 28 Mar 2025 17:11:26 +0000 (18:11 +0100)]
Move $LANG and get_lang() to LANG

8 months agoMove $VERSION and version() to VERSION
Jakub Vrana [Fri, 28 Mar 2025 16:52:49 +0000 (17:52 +0100)]
Move $VERSION and version() to VERSION

8 months agoDocs: update
Jakub Vrana [Fri, 28 Mar 2025 16:42:41 +0000 (17:42 +0100)]
Docs: update

8 months agoDocs: wrap
Jakub Vrana [Fri, 28 Mar 2025 16:30:30 +0000 (17:30 +0100)]
Docs: wrap

8 months agoTests: select with where and order
Jakub Vrana [Fri, 28 Mar 2025 16:26:38 +0000 (17:26 +0100)]
Tests: select with where and order

8 months agoElasticsearch: Make it work with Elasticsearch 8
Jakub Vrana [Fri, 28 Mar 2025 15:17:41 +0000 (16:17 +0100)]
Elasticsearch: Make it work with Elasticsearch 8

8 months agoElastic: Fix types
Jakub Vrana [Fri, 28 Mar 2025 15:17:26 +0000 (16:17 +0100)]
Elastic: Fix types

8 months agoIntegrate Db::result in get_val
Jakub Vrana [Fri, 28 Mar 2025 14:11:12 +0000 (15:11 +0100)]
Integrate Db::result in get_val

8 months agoSplit editFunctions
Jakub Vrana [Fri, 28 Mar 2025 13:53:53 +0000 (14:53 +0100)]
Split editFunctions

8 months agoDoc-comments: Fix type errors
Jakub Vrana [Fri, 28 Mar 2025 12:15:14 +0000 (13:15 +0100)]
Doc-comments: Fix type errors

8 months agoPlugins: Move operators to a method
Jakub Vrana [Fri, 28 Mar 2025 13:22:42 +0000 (14:22 +0100)]
Plugins: Move operators to a method

8 months agoTests: Run from /adminer/
Jakub Vrana [Fri, 28 Mar 2025 11:50:38 +0000 (12:50 +0100)]
Tests: Run from /adminer/

To run them on the compiled version, rename adminer.php to index.php and start a web server one directory up.

8 months agoPHPStan: Fix errors in Plugins
Jakub Vrana [Fri, 28 Mar 2025 11:26:14 +0000 (12:26 +0100)]
PHPStan: Fix errors in Plugins

8 months agoRename function with the same name as Driver::select
Jakub Vrana [Fri, 28 Mar 2025 11:08:24 +0000 (12:08 +0100)]
Rename function with the same name as Driver::select

8 months agoDoc-comments: Remove redundant info
Jakub Vrana [Fri, 28 Mar 2025 11:03:56 +0000 (12:03 +0100)]
Doc-comments: Remove redundant info

8 months agoDoc-comments: Fix type errors
Jakub Vrana [Fri, 28 Mar 2025 10:46:17 +0000 (11:46 +0100)]
Doc-comments: Fix type errors

8 months agoCall Plugins from Adminer class
Jakub Vrana [Tue, 25 Mar 2025 06:27:11 +0000 (07:27 +0100)]
Call Plugins from Adminer class

8 months agoPlugins: Simplify calling
Jakub Vrana [Sun, 23 Mar 2025 18:49:44 +0000 (19:49 +0100)]
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.

8 months agoCompile: Strip types
Jakub Vrana [Fri, 28 Mar 2025 09:47:20 +0000 (10:47 +0100)]
Compile: Strip types

8 months agoDoc-comments: Fix type errors
Jakub Vrana [Fri, 28 Mar 2025 09:25:11 +0000 (10:25 +0100)]
Doc-comments: Fix type errors

8 months agoDoc-comments: Sync method signatures
Jakub Vrana [Fri, 28 Mar 2025 08:57:33 +0000 (09:57 +0100)]
Doc-comments: Sync method signatures

8 months agoDoc-comments: Declare type properties
Jakub Vrana [Fri, 28 Mar 2025 08:20:10 +0000 (09:20 +0100)]
Doc-comments: Declare type properties

8 months agoDoc-comments: Format
Jakub Vrana [Fri, 28 Mar 2025 08:13:36 +0000 (09:13 +0100)]
Doc-comments: Format

8 months agoDoc-comments: Move return types to declaration
Jakub Vrana [Fri, 28 Mar 2025 08:03:09 +0000 (09:03 +0100)]
Doc-comments: Move return types to declaration

8 months agoDoc-comments: Move param types to declaration
Jakub Vrana [Fri, 28 Mar 2025 07:23:20 +0000 (08:23 +0100)]
Doc-comments: Move param types to declaration

8 months agoAdminerLoginSsl: Document type
Jakub Vrana [Fri, 28 Mar 2025 06:14:02 +0000 (07:14 +0100)]
AdminerLoginSsl: Document type

8 months agoDoc-comments: Add param names
Jakub Vrana [Fri, 28 Mar 2025 06:06:34 +0000 (07:06 +0100)]
Doc-comments: Add param names

8 months agoTests: Invalid table
Jakub Vrana [Fri, 28 Mar 2025 04:08:10 +0000 (05:08 +0100)]
Tests: Invalid table

8 months agoDocument error revealed by PHPStan
Jakub Vrana [Thu, 27 Mar 2025 20:00:20 +0000 (21:00 +0100)]
Document error revealed by PHPStan

8 months agoTests PostgreSQL: Sequence and schema
Jakub Vrana [Thu, 27 Mar 2025 19:43:48 +0000 (20:43 +0100)]
Tests PostgreSQL: Sequence and schema

8 months agoTest wrong password
Jakub Vrana [Thu, 27 Mar 2025 19:32:21 +0000 (20:32 +0100)]
Test wrong password

8 months agoTests: Add test adder
Jakub Vrana [Thu, 27 Mar 2025 19:20:00 +0000 (20:20 +0100)]
Tests: Add test adder

8 months agoFix errors discovered by tests
Jakub Vrana [Thu, 27 Mar 2025 18:56:19 +0000 (19:56 +0100)]
Fix errors discovered by tests

8 months agoPostgreSQL: Fix PHP warning when creating new routine
Jakub Vrana [Thu, 27 Mar 2025 17:56:10 +0000 (18:56 +0100)]
PostgreSQL: Fix PHP warning when creating new routine

8 months agoPostgreSQL: Unuse deleted fetch_field
Jakub Vrana [Thu, 27 Mar 2025 17:46:46 +0000 (18:46 +0100)]
PostgreSQL: Unuse deleted fetch_field

8 months agoPHPStan: Fix more errors
Jakub Vrana [Thu, 27 Mar 2025 17:27:51 +0000 (18:27 +0100)]
PHPStan: Fix more errors

8 months agoUse common parent for Db
Jakub Vrana [Thu, 27 Mar 2025 14:28:14 +0000 (15:28 +0100)]
Use common parent for Db

8 months agoJS: Add 'use strict'
Jakub Vrana [Thu, 27 Mar 2025 09:11:35 +0000 (10:11 +0100)]
JS: Add 'use strict'

8 months agoJS: Remove forgotten log
Jakub Vrana [Thu, 27 Mar 2025 06:23:20 +0000 (07:23 +0100)]
JS: Remove forgotten log

8 months agoAdminerSqlGemini: Make work with CodeMirror
Jakub Vrana [Thu, 27 Mar 2025 06:22:51 +0000 (07:22 +0100)]
AdminerSqlGemini: Make work with CodeMirror

8 months agoWYMeditor not updated since 2014
Jakub Vrana [Thu, 27 Mar 2025 06:13:17 +0000 (07:13 +0100)]
WYMeditor not updated since 2014

8 months agoTravis is not free anymore
Jakub Vrana [Thu, 27 Mar 2025 06:00:00 +0000 (07:00 +0100)]
Travis is not free anymore

8 months agoCompile: Fix pgsql (fix #956)
Jakub Vrana [Wed, 26 Mar 2025 21:22:14 +0000 (22:22 +0100)]
Compile: Fix pgsql (fix #956)

8 months agoPHPStan: Check level 8 without level 7
Jakub Vrana [Wed, 26 Mar 2025 20:16:14 +0000 (21:16 +0100)]
PHPStan: Check level 8 without level 7

8 months agoPHPStan: Fix level 6 errors
Jakub Vrana [Wed, 26 Mar 2025 20:06:01 +0000 (21:06 +0100)]
PHPStan: Fix level 6 errors

8 months agoPHPStan: Fix level 5 errors
Jakub Vrana [Wed, 26 Mar 2025 18:29:50 +0000 (19:29 +0100)]
PHPStan: Fix level 5 errors

8 months agoPHPStan: Fix level 4 errors
Jakub Vrana [Wed, 26 Mar 2025 17:32:45 +0000 (18:32 +0100)]
PHPStan: Fix level 4 errors

8 months agoPHPStan: Check only one driver
Jakub Vrana [Wed, 26 Mar 2025 17:08:50 +0000 (18:08 +0100)]
PHPStan: Check only one driver

8 months agoSeparate queries(null)
Jakub Vrana [Wed, 26 Mar 2025 16:04:30 +0000 (17:04 +0100)]
Separate queries(null)

8 months agoPHPStan: Fix level 3 errors
Jakub Vrana [Wed, 26 Mar 2025 15:57:58 +0000 (16:57 +0100)]
PHPStan: Fix level 3 errors

8 months agoPHPStan: Fix level 2 errors
Jakub Vrana [Wed, 26 Mar 2025 14:38:04 +0000 (15:38 +0100)]
PHPStan: Fix level 2 errors

8 months agoPHPStan: Fix level 1 errors
Jakub Vrana [Wed, 26 Mar 2025 12:49:11 +0000 (13:49 +0100)]
PHPStan: Fix level 1 errors

8 months agoPHPStan: Use @return void
Jakub Vrana [Wed, 26 Mar 2025 12:09:49 +0000 (13:09 +0100)]
PHPStan: Use @return void

PHPStan then warns abouts using the return value

8 months agoPHPStan: Fix level 0 errors
Jakub Vrana [Wed, 26 Mar 2025 11:41:52 +0000 (12:41 +0100)]
PHPStan: Fix level 0 errors

8 months agoSQLite: Fix non-PDO driver after 99163fe
Jakub Vrana [Wed, 26 Mar 2025 10:39:06 +0000 (11:39 +0100)]
SQLite: Fix non-PDO driver after 99163fe

8 months agoUse Adminer\Plugins
Jakub Vrana [Wed, 26 Mar 2025 10:10:37 +0000 (11:10 +0100)]
Use Adminer\Plugins

8 months agoReadme: Remove duplicite information
Jakub Vrana [Wed, 26 Mar 2025 09:34:11 +0000 (10:34 +0100)]
Readme: Remove duplicite information

8 months agoAdd comment
Jakub Vrana [Wed, 26 Mar 2025 09:25:13 +0000 (10:25 +0100)]
Add comment

8 months agoNotices: Use idx()
Jakub Vrana [Wed, 26 Mar 2025 06:55:30 +0000 (07:55 +0100)]
Notices: Use idx()

8 months agoAdminerDarkSwitcher: Work with compiled version (bug #926)
Jakub Vrana [Wed, 26 Mar 2025 06:28:34 +0000 (07:28 +0100)]
AdminerDarkSwitcher: Work with compiled version (bug #926)

8 months agoNotices: Avoid accessing offset on null
Jakub Vrana [Wed, 26 Mar 2025 03:16:17 +0000 (04:16 +0100)]
Notices: Avoid accessing offset on null

Thanks to @peterpp at 62017e3.

8 months agoTests: Add schema
Jakub Vrana [Wed, 26 Mar 2025 06:17:25 +0000 (07:17 +0100)]
Tests: Add schema

8 months agoMySQL: Simplify condition in fk_support
Jakub Vrana [Wed, 26 Mar 2025 02:29:22 +0000 (03:29 +0100)]
MySQL: Simplify condition in fk_support

8 months agoDoc-comment: Use type aliases for arrays
Jakub Vrana [Wed, 26 Mar 2025 01:23:29 +0000 (02:23 +0100)]
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.

8 months agoDisplay error for invalid table
Jakub Vrana [Wed, 26 Mar 2025 00:37:53 +0000 (01:37 +0100)]
Display error for invalid table

8 months agoAlways return array from table_status()
Jakub Vrana [Wed, 26 Mar 2025 00:34:48 +0000 (01:34 +0100)]
Always return array from table_status()

8 months agoMove icons to CSS
Jakub Vrana [Tue, 25 Mar 2025 23:08:16 +0000 (00:08 +0100)]
Move icons to CSS

8 months agoSchema: Move style to CSS
Jakub Vrana [Tue, 25 Mar 2025 21:35:31 +0000 (22:35 +0100)]
Schema: Move style to CSS

8 months agoAvoid <optgroup> in <datalist>
Jakub Vrana [Tue, 25 Mar 2025 20:58:43 +0000 (21:58 +0100)]
Avoid <optgroup> in <datalist>

8 months agoCSS: Invert icons in dark mode
Jakub Vrana [Tue, 25 Mar 2025 20:47:25 +0000 (21:47 +0100)]
CSS: Invert icons in dark mode

8 months agoSimplify designs.php
Jakub Vrana [Tue, 25 Mar 2025 20:10:02 +0000 (21:10 +0100)]
Simplify designs.php

8 months agolucas-sandery design: Icons with uncompiled version (fix #954)
Jakub Vrana [Tue, 25 Mar 2025 20:06:43 +0000 (21:06 +0100)]
lucas-sandery design: Icons with uncompiled version (fix #954)

9 months agoDoc-comments: Use special PHPStan types
Jakub Vrana [Tue, 25 Mar 2025 14:14:19 +0000 (15:14 +0100)]
Doc-comments: Use special PHPStan types

9 months agoDoc-comments: Use array shapes in @return
Jakub Vrana [Tue, 25 Mar 2025 14:08:13 +0000 (15:08 +0100)]
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

9 months agoDoc-comments: Improve array @var
Jakub Vrana [Tue, 25 Mar 2025 13:41:26 +0000 (14:41 +0100)]
Doc-comments: Improve array @var

9 months agoDoc-comment: Improve array @param
Jakub Vrana [Tue, 25 Mar 2025 13:31:27 +0000 (14:31 +0100)]
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

9 months agoDoc-comments: Improve array @return
Jakub Vrana [Tue, 25 Mar 2025 12:08:03 +0000 (13:08 +0100)]
Doc-comments: Improve array @return

9 months agoAdminerSqlGemini: Highlight button
Jakub Vrana [Tue, 25 Mar 2025 06:13:43 +0000 (07:13 +0100)]
AdminerSqlGemini: Highlight button

9 months agoJS: Simplify SubmitHighlight
Jakub Vrana [Tue, 25 Mar 2025 05:58:35 +0000 (06:58 +0100)]
JS: Simplify SubmitHighlight

9 months agoAdminerSqlGemini: Handle Ctrl+Enter
Jakub Vrana [Tue, 25 Mar 2025 05:56:00 +0000 (06:56 +0100)]
AdminerSqlGemini: Handle Ctrl+Enter

9 months agoAdminerSqlGemini: Wrap returned text to comment
Jakub Vrana [Tue, 25 Mar 2025 05:49:34 +0000 (06:49 +0100)]
AdminerSqlGemini: Wrap returned text to comment

9 months agoAdminerSqlGemini: Return more columns by default
Jakub Vrana [Tue, 25 Mar 2025 05:29:41 +0000 (06:29 +0100)]
AdminerSqlGemini: Return more columns by default

9 months agoAdminerSqlGemini: Send vendor
Jakub Vrana [Tue, 25 Mar 2025 05:17:21 +0000 (06:17 +0100)]
AdminerSqlGemini: Send vendor

9 months agoSimplify saving flavor
Jakub Vrana [Tue, 25 Mar 2025 05:15:09 +0000 (06:15 +0100)]
Simplify saving flavor

9 months agoAdminerSqlGemini: Avoid button jumping
Jakub Vrana [Tue, 25 Mar 2025 05:07:51 +0000 (06:07 +0100)]
AdminerSqlGemini: Avoid button jumping

9 months agoAdd comment
Jakub Vrana [Tue, 25 Mar 2025 04:39:25 +0000 (05:39 +0100)]
Add comment

9 months agoAdminerSqlLog: Update comment
Jakub Vrana [Mon, 24 Mar 2025 22:49:30 +0000 (23:49 +0100)]
AdminerSqlLog: Update comment