]> git.joonet.de Git - adminer.git/log
adminer.git
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

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

9 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

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

9 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

9 months agoMore developer notes
Jakub Vrana [Mon, 24 Mar 2025 18:17:18 +0000 (19:17 +0100)]
More developer notes

9 months agoDevelop
Jakub Vrana [Mon, 24 Mar 2025 16:35:59 +0000 (17:35 +0100)]
Develop

9 months agoRelease 5.1.0 v5.1.0
Jakub Vrana [Mon, 24 Mar 2025 16:35:22 +0000 (17:35 +0100)]
Release 5.1.0

9 months agoExport: Use output buffering
Jakub Vrana [Mon, 24 Mar 2025 16:28:53 +0000 (17:28 +0100)]
Export: Use output buffering

9 months agoDocument //!
Jakub Vrana [Mon, 24 Mar 2025 16:21:44 +0000 (17:21 +0100)]
Document //!

9 months agoMove beforeunload to plugin
Jakub Vrana [Mon, 24 Mar 2025 15:55:40 +0000 (16:55 +0100)]
Move beforeunload to plugin

9 months agoImprove handling of translations with '
Jakub Vrana [Mon, 24 Mar 2025 14:57:46 +0000 (15:57 +0100)]
Improve handling of translations with '

9 months agoAdded Uzbek language
Inoyatulloh [Sun, 23 Mar 2025 20:41:52 +0000 (01:41 +0500)]
Added Uzbek language

9 months agoAdminerTablesFilter: Fix JS variable visibility
Karel Uhlík [Sun, 23 Mar 2025 20:19:00 +0000 (21:19 +0100)]
AdminerTablesFilter: Fix JS variable visibility

fix error: Uncaught ReferenceError: reg is not defined

9 months agoMS SQL PDO: Hide unsupported EXPLAIN
Jakub Vrana [Mon, 24 Mar 2025 13:47:55 +0000 (14:47 +0100)]
MS SQL PDO: Hide unsupported EXPLAIN

9 months agoNon-MySQL: Better field types in SQL command
Jakub Vrana [Mon, 24 Mar 2025 13:41:08 +0000 (14:41 +0100)]
Non-MySQL: Better field types in SQL command

9 months agoMS SQL PDO: Display last insert ID
Jakub Vrana [Mon, 24 Mar 2025 13:25:38 +0000 (14:25 +0100)]
MS SQL PDO: Display last insert ID

9 months agoMS SQL: Common parent for PDO Db
Jakub Vrana [Mon, 24 Mar 2025 13:11:25 +0000 (14:11 +0100)]
MS SQL: Common parent for PDO Db

9 months agoTurn on output buffering only after sending headers
Jakub Vrana [Mon, 24 Mar 2025 13:02:01 +0000 (14:02 +0100)]
Turn on output buffering only after sending headers

Otherwise output sent before Location (usually errors) is lost.

9 months agoTests MS SQL: Connect to default server
Jakub Vrana [Mon, 24 Mar 2025 12:45:38 +0000 (13:45 +0100)]
Tests MS SQL: Connect to default server

9 months agoSQLite PDO: Display results in SQL query
Jakub Vrana [Mon, 24 Mar 2025 12:43:55 +0000 (13:43 +0100)]
SQLite PDO: Display results in SQL query

9 months agoTests: Check loaded plugin
Jakub Vrana [Mon, 24 Mar 2025 11:56:58 +0000 (12:56 +0100)]
Tests: Check loaded plugin

9 months agoNotices: fetch_field in PDO
Jakub Vrana [Mon, 24 Mar 2025 11:43:28 +0000 (12:43 +0100)]
Notices: fetch_field in PDO

9 months agoPostgreSQL: Fix number of affected rows after clone
Jakub Vrana [Mon, 24 Mar 2025 09:24:47 +0000 (10:24 +0100)]
PostgreSQL: Fix number of affected rows after clone

9 months agoNotices: Declare properties in fetch_field()
Jakub Vrana [Mon, 24 Mar 2025 08:49:42 +0000 (09:49 +0100)]
Notices: Declare properties in fetch_field()

9 months agoFix JS error on AI column input
Jakub Vrana [Mon, 24 Mar 2025 07:39:04 +0000 (08:39 +0100)]
Fix JS error on AI column input

9 months agoNotices: Declare Db::$info at least in MySQL
Jakub Vrana [Mon, 24 Mar 2025 11:16:24 +0000 (12:16 +0100)]
Notices: Declare Db::$info at least in MySQL

9 months agoTests: Fix AI
Jakub Vrana [Mon, 24 Mar 2025 07:32:33 +0000 (08:32 +0100)]
Tests: Fix AI

9 months agoAdminerDarkSwitcher: Icon
Jakub Vrana [Mon, 24 Mar 2025 06:38:33 +0000 (07:38 +0100)]
AdminerDarkSwitcher: Icon

9 months agoMute the same error in PHP 5
Jakub Vrana [Mon, 24 Mar 2025 06:25:17 +0000 (07:25 +0100)]
Mute the same error in PHP 5

9 months agoEditor: Fix pre-selecting empty enum
Jakub Vrana [Mon, 24 Mar 2025 05:41:31 +0000 (06:41 +0100)]
Editor: Fix pre-selecting empty enum

9 months agoNotices: Declare Adminer::$error
Jakub Vrana [Mon, 24 Mar 2025 05:17:38 +0000 (06:17 +0100)]
Notices: Declare Adminer::$error