]> git.joonet.de Git - adminer.git/log
adminer.git
9 months agoUse protected visibility
Jakub Vrana [Tue, 11 Mar 2025 06:49:10 +0000 (07:49 +0100)]
Use protected visibility

9 months agoUse private visibility
Jakub Vrana [Tue, 11 Mar 2025 06:46:31 +0000 (07:46 +0100)]
Use private visibility

9 months agoUse protected visibility
Jakub Vrana [Tue, 11 Mar 2025 06:21:13 +0000 (07:21 +0100)]
Use protected visibility

9 months agoCompile: Change public to var
Jakub Vrana [Tue, 11 Mar 2025 06:16:04 +0000 (07:16 +0100)]
Compile: Change public to var

9 months agoRevert accidental revert
Jakub Vrana [Tue, 11 Mar 2025 06:05:16 +0000 (07:05 +0100)]
Revert accidental revert

9 months agoUpdate changes
Jakub Vrana [Tue, 11 Mar 2025 06:00:21 +0000 (07:00 +0100)]
Update changes

9 months agoUpdate bug template
Jakub Vrana [Tue, 11 Mar 2025 05:50:04 +0000 (06:50 +0100)]
Update bug template

9 months agoUpdate changes
Jakub Vrana [Tue, 11 Mar 2025 05:45:38 +0000 (06:45 +0100)]
Update changes

9 months agoCompile: Support \r\n line ends
Jakub Vrana [Tue, 11 Mar 2025 05:30:31 +0000 (06:30 +0100)]
Compile: Support \r\n line ends

9 months agoFix double unescaping
Jakub Vrana [Tue, 11 Mar 2025 05:19:01 +0000 (06:19 +0100)]
Fix double unescaping

9 months agoAdd comment
Jakub Vrana [Mon, 10 Mar 2025 22:44:06 +0000 (23:44 +0100)]
Add comment

9 months agoFix typo
Jakub Vrana [Mon, 10 Mar 2025 22:41:10 +0000 (23:41 +0100)]
Fix typo

9 months agoCompile: supports visibility modifiers
David Grudl [Mon, 10 Mar 2025 23:29:17 +0000 (00:29 +0100)]
Compile: supports visibility modifiers

9 months agoMySQL: Stop treating enum as set as numbers (bug #475)
Jakub Vrana [Mon, 10 Mar 2025 22:32:28 +0000 (23:32 +0100)]
MySQL: Stop treating enum as set as numbers (bug #475)

9 months agoRemove check for PHP version
Jakub Vrana [Mon, 10 Mar 2025 21:59:46 +0000 (22:59 +0100)]
Remove check for PHP version

9 months agoMySQL: Allow setting default values of text column
Jakub Vrana [Mon, 10 Mar 2025 20:09:09 +0000 (21:09 +0100)]
MySQL: Allow setting default values of text column

9 months agoElastic: Properly display sparse result rows
Christian Weiske [Fri, 28 Feb 2025 11:45:03 +0000 (12:45 +0100)]
Elastic: Properly display sparse result rows

Result records in Elasticsearch do not always have all columns
that are defined in an index.
This often happens when multiple document types are stored in the same index.

The first row has columns ["_id", "html", "url"], while the second
misses the "html" column: ["_id", "url"].

Adminer expects that all result rows include all columns.
This leads to the problem that the "url" value in the 2nd example row
was rendered in the "html" column.

This patch fixes this problem by fetching the actual column list first
when all fields are to be shown, and using that field list
as base for all rows.

9 months agoElastic: Fix record insertion on Elasticsearch 7
Christian Weiske [Mon, 10 Mar 2025 07:42:49 +0000 (08:42 +0100)]
Elastic: Fix record insertion on Elasticsearch 7

1. Make values NULLable by default, so that empty values do not
get submitted to the Elasticsearch server.
This helps e.g. with empty date fields - Elasticsearch would try to
convert the field type to string when the value is an empty string,
but that fails when there are documents with properly filled date fields

2. Remove _id from the POST array because this is not allowed.
The server fails if it is included with
> mapper_parsing_exception:
> Field [_id] is a metadata field and cannot be added inside a document.
> Use the index API request parameters.

3. Use the correct URL to create a document: "$index/_doc/"
and "$index/_doc/$id". This is the same for ES 7 and 8:
- https://www.elastic.co/guide/en/elasticsearch/reference/8.17/docs-index_.html#docs-index-api-request
- https://www.elastic.co/guide/en/elasticsearch/reference/7.17/docs-index_.html#docs-index-api-request

4. Handle failed creations by checking for false

5. Return the "result" property string instead of the non-existing
"created" property.

9 months agoMySQL, MariaDB: Fix default values with ' (fix #895)
Jakub Vrana [Mon, 10 Mar 2025 20:01:21 +0000 (21:01 +0100)]
MySQL, MariaDB: Fix default values with ' (fix #895)

9 months agoMariaDB: Fix creating and altering generated columns (fixes #897)
Jakub Vrana [Mon, 10 Mar 2025 18:17:22 +0000 (19:17 +0100)]
MariaDB: Fix creating and altering generated columns (fixes #897)

9 months agoUpdate issue templates
Jakub Vrána [Mon, 10 Mar 2025 18:09:56 +0000 (19:09 +0100)]
Update issue templates

9 months agoFix gzip export (fixes #896)
Jakub Vrana [Mon, 10 Mar 2025 17:51:28 +0000 (18:51 +0100)]
Fix gzip export (fixes #896)

9 months agoUse <datalist> for altering collations
Jakub Vrana [Mon, 10 Mar 2025 10:53:34 +0000 (11:53 +0100)]
Use <datalist> for altering collations

9 months agoSplit helper html_radios
Jakub Vrana [Mon, 10 Mar 2025 10:31:43 +0000 (11:31 +0100)]
Split helper html_radios

9 months agoUpdate changes
Jakub Vrana [Mon, 10 Mar 2025 08:08:33 +0000 (09:08 +0100)]
Update changes

9 months agoUpdate Slovak translation
Peter Knut [Sun, 2 Mar 2025 22:34:25 +0000 (23:34 +0100)]
Update Slovak translation

9 months agoFix importing multiple SQL files not terminated by semicolon
Jakub Vrana [Mon, 10 Mar 2025 07:33:25 +0000 (08:33 +0100)]
Fix importing multiple SQL files not terminated by semicolon

Inspired by adminneo-org/adminneo#1c08e86.

9 months agoFix link
Jakub Vrana [Mon, 10 Mar 2025 06:55:45 +0000 (07:55 +0100)]
Fix link

9 months agoRemove unused variable
Jakub Vrana [Mon, 10 Mar 2025 06:37:02 +0000 (07:37 +0100)]
Remove unused variable

9 months agoDevelop
Jakub Vrana [Mon, 10 Mar 2025 06:19:00 +0000 (07:19 +0100)]
Develop

9 months agoMake login to Elasticsearch work again
Christian Weiske [Mon, 10 Mar 2025 07:27:22 +0000 (08:27 +0100)]
Make login to Elasticsearch work again

By partially reverting the changes made by
commit 2c9f380c64ec84a1dc44745df29c5fbf1081fcb0
> Elastic: Remove plugin for version 5
which removed the passwordless login plugin from adminer/elastic.php

9 months agoRelease 5.0.2 v5.0.2
Jakub Vrana [Mon, 10 Mar 2025 06:18:15 +0000 (07:18 +0100)]
Release 5.0.2

9 months agoAdd comment
Jakub Vrana [Sun, 9 Mar 2025 06:26:56 +0000 (07:26 +0100)]
Add comment

9 months agoWrap username in <span>
Dragsio [Sun, 9 Mar 2025 15:03:40 +0000 (16:03 +0100)]
Wrap username in <span>

Username enclosed in tags for better use of custom themes (eg. vertical padding).

9 months agoExtract variable
Jakub Vrana [Sat, 8 Mar 2025 22:12:08 +0000 (23:12 +0100)]
Extract variable

9 months agoAdd support for "order" field privilege
Peter Knut [Sun, 4 Apr 2021 22:32:25 +0000 (00:32 +0200)]
Add support for "order" field privilege

In Elasticsearch, text fields are not sortable.

9 months agoAdd support for "where" field privilege
Peter Knut [Sun, 4 Apr 2021 22:08:42 +0000 (00:08 +0200)]
Add support for "where" field privilege

In Elasticsearch, only indexed fields are searchable.

9 months agoMove variable initialization
Jakub Vrana [Sat, 8 Mar 2025 20:45:21 +0000 (21:45 +0100)]
Move variable initialization

9 months agoUse helper function
Jakub Vrana [Sat, 8 Mar 2025 18:57:36 +0000 (19:57 +0100)]
Use helper function

9 months agoDisplay explain on first click
Jakub Vrana [Sat, 8 Mar 2025 17:14:13 +0000 (18:14 +0100)]
Display explain on first click

Also remove extra newlines in explain

9 months agoAdd missing namespace to plugin
Jakub Vrana [Sat, 8 Mar 2025 16:32:52 +0000 (17:32 +0100)]
Add missing namespace to plugin

9 months agoComposer: Add script for cleaning
Jakub Vrana [Sat, 8 Mar 2025 16:10:21 +0000 (17:10 +0100)]
Composer: Add script for cleaning

9 months agoTranslations: check fullstops in 'ja' and 'he'
Jakub Vrana [Sat, 8 Mar 2025 16:06:30 +0000 (17:06 +0100)]
Translations: check fullstops in 'ja' and 'he'

9 months agoTranslations: Add missing placeholders
Jakub Vrana [Sat, 8 Mar 2025 09:03:06 +0000 (10:03 +0100)]
Translations: Add missing placeholders

9 months agoUpdate xx translation
Jakub Vrana [Sat, 8 Mar 2025 08:54:20 +0000 (09:54 +0100)]
Update xx translation

9 months agoTranslations: Fix fullstops
Jakub Vrana [Sat, 8 Mar 2025 07:09:29 +0000 (08:09 +0100)]
Translations: Fix fullstops

9 months agoPolish: Change link to web
Jakub Vrana [Sat, 8 Mar 2025 05:49:32 +0000 (06:49 +0100)]
Polish: Change link to web

9 months agoUpdate Polish translation
Matthaiks [Fri, 7 Mar 2025 19:03:58 +0000 (20:03 +0100)]
Update Polish translation

9 months agoPostgreSQL: Fix setting NULL and original value on enum (bug #884)
Jakub Vrana [Sat, 8 Mar 2025 05:44:12 +0000 (06:44 +0100)]
PostgreSQL: Fix setting NULL and original value on enum (bug #884)

9 months agoOracle: Fix Db::result
Jakub Vrana [Sat, 8 Mar 2025 05:14:26 +0000 (06:14 +0100)]
Oracle: Fix Db::result

9 months agoAdd helper function
Jakub Vrana [Sat, 8 Mar 2025 05:13:18 +0000 (06:13 +0100)]
Add helper function

9 months agoCockroachDB: Add support via PostgreSQL driver
Jakub Vrana [Sat, 8 Mar 2025 04:56:49 +0000 (05:56 +0100)]
CockroachDB: Add support via PostgreSQL driver

This fixes cockroachdb/cockroach#40391.

9 months agoDon't create Driver with connection error
Jakub Vrana [Sat, 8 Mar 2025 04:37:01 +0000 (05:37 +0100)]
Don't create Driver with connection error

9 months agoMove issues to GitHub
Jakub Vrana [Fri, 7 Mar 2025 18:39:28 +0000 (19:39 +0100)]
Move issues to GitHub

9 months agoDevelop
Jakub Vrana [Fri, 7 Mar 2025 12:19:13 +0000 (13:19 +0100)]
Develop

9 months agoRelease 5.0.1 v5.0.1
Jakub Vrana [Fri, 7 Mar 2025 12:17:55 +0000 (13:17 +0100)]
Release 5.0.1

9 months agoPostgreSQL: Support indexes on materialized views (PR #467)
Jakub Vrana [Fri, 7 Mar 2025 12:13:53 +0000 (13:13 +0100)]
PostgreSQL: Support indexes on materialized views (PR #467)

9 months agoAdd missing namespace
Jakub Vrana [Fri, 7 Mar 2025 11:50:23 +0000 (12:50 +0100)]
Add missing namespace

9 months agoElastic: Remove plugin for version 5
Jakub Vrana [Fri, 7 Mar 2025 11:17:14 +0000 (12:17 +0100)]
Elastic: Remove plugin for version 5

9 months agoPass credentials to connect()
Jakub Vrana [Fri, 7 Mar 2025 11:03:29 +0000 (12:03 +0100)]
Pass credentials to connect()

9 months agoRemove duplicate columns from select (bug #670)
Jakub Vrana [Fri, 7 Mar 2025 10:36:36 +0000 (11:36 +0100)]
Remove duplicate columns from select (bug #670)

9 months agoMariaDB: Fix link to status variable doc (bug #658)
Jakub Vrana [Fri, 7 Mar 2025 10:05:13 +0000 (11:05 +0100)]
MariaDB: Fix link to status variable doc (bug #658)

9 months agoDevelop
Jakub Vrana [Fri, 7 Mar 2025 08:41:01 +0000 (09:41 +0100)]
Develop

9 months agoRelease 5.0.0 v5.0.0
Jakub Vrana [Fri, 7 Mar 2025 08:40:15 +0000 (09:40 +0100)]
Release 5.0.0

9 months agoPostgreSQL: Fix exporting foreign keys
Jakub Vrana [Fri, 7 Mar 2025 07:02:06 +0000 (08:02 +0100)]
PostgreSQL: Fix exporting foreign keys

9 months agoPHPCS: Ignore compiled files
Jakub Vrana [Fri, 7 Mar 2025 06:56:35 +0000 (07:56 +0100)]
PHPCS: Ignore compiled files

9 months agoWrap long lines
Jakub Vrana [Fri, 7 Mar 2025 06:44:26 +0000 (07:44 +0100)]
Wrap long lines

9 months agoEditor: Fix getting fields
Jakub Vrana [Fri, 7 Mar 2025 06:17:05 +0000 (07:17 +0100)]
Editor: Fix getting fields

9 months agoMS SQL: Support computed columns
Jakub Vrana [Fri, 7 Mar 2025 05:42:27 +0000 (06:42 +0100)]
MS SQL: Support computed columns

9 months agoSQLite: Support generated columns
Jakub Vrana [Fri, 7 Mar 2025 04:55:09 +0000 (05:55 +0100)]
SQLite: Support generated columns

9 months agoAllow creating generated columns (bug #857)
Jakub Vrana [Fri, 7 Mar 2025 04:01:00 +0000 (05:01 +0100)]
Allow creating generated columns (bug #857)

9 months agoFix undefined variable
Jakub Vrana [Fri, 7 Mar 2025 03:56:31 +0000 (04:56 +0100)]
Fix undefined variable

9 months agoMySQL: Drop support for MySQL 4
Jakub Vrana [Thu, 6 Mar 2025 20:15:00 +0000 (21:15 +0100)]
MySQL: Drop support for MySQL 4

9 months agoMySQL: Display generated value in table structure
Jakub Vrana [Thu, 6 Mar 2025 20:12:11 +0000 (21:12 +0100)]
MySQL: Display generated value in table structure

9 months agoSyntax highlight generated expressions
Jakub Vrana [Thu, 6 Mar 2025 18:47:05 +0000 (19:47 +0100)]
Syntax highlight generated expressions

9 months agoSkip generated columns in multi-edit (bug #882)
Jakub Vrana [Thu, 6 Mar 2025 18:32:19 +0000 (19:32 +0100)]
Skip generated columns in multi-edit (bug #882)

9 months agoDon't allow inline edit of generated columns
Jakub Vrana [Thu, 6 Mar 2025 17:59:20 +0000 (18:59 +0100)]
Don't allow inline edit of generated columns

9 months agoPostgreSQL: Skip editing generated columns
Jakub Vrana [Thu, 6 Mar 2025 17:44:18 +0000 (18:44 +0100)]
PostgreSQL: Skip editing generated columns

9 months agoAdd comment
Jakub Vrana [Thu, 6 Mar 2025 17:36:26 +0000 (18:36 +0100)]
Add comment

9 months agoJS: Use ||
Jakub Vrana [Thu, 6 Mar 2025 17:23:20 +0000 (18:23 +0100)]
JS: Use ||

9 months agoPHP: Use ?:
Jakub Vrana [Thu, 6 Mar 2025 17:12:22 +0000 (18:12 +0100)]
PHP: Use ?:

9 months agoSQLite: Remove useless condition
Jakub Vrana [Thu, 6 Mar 2025 16:55:45 +0000 (17:55 +0100)]
SQLite: Remove useless condition

9 months agoChange $jush to constant
Jakub Vrana [Thu, 6 Mar 2025 16:51:20 +0000 (17:51 +0100)]
Change $jush to constant

9 months agoMove constants to namespace
Jakub Vrana [Thu, 6 Mar 2025 16:34:21 +0000 (17:34 +0100)]
Move constants to namespace

9 months agoPostgreSQL: Display ? instead of -1 rows in table overview (bug #883)
Jakub Vrana [Thu, 6 Mar 2025 16:08:32 +0000 (17:08 +0100)]
PostgreSQL: Display ? instead of -1 rows in table overview (bug #883)

9 months agoDelete incorporated plugin
Jakub Vrana [Thu, 6 Mar 2025 13:59:48 +0000 (14:59 +0100)]
Delete incorporated plugin

9 months agoMove $enum_length to Driver
Jakub Vrana [Thu, 6 Mar 2025 13:51:24 +0000 (14:51 +0100)]
Move $enum_length to Driver

9 months agoMove $inout to Driver
Jakub Vrana [Thu, 6 Mar 2025 13:49:08 +0000 (14:49 +0100)]
Move $inout to Driver

9 months agoPDO: Support search by expression.
Jakub Vrana [Thu, 6 Mar 2025 13:40:13 +0000 (14:40 +0100)]
PDO: Support search by expression.

This reverts b848764.

9 months agoClickHouse: Check for allow_url_fopen
Jakub Vrana [Thu, 6 Mar 2025 13:30:50 +0000 (14:30 +0100)]
ClickHouse: Check for allow_url_fopen

9 months agoMove possible drivers and JUSH to Driver
Jakub Vrana [Thu, 6 Mar 2025 13:27:58 +0000 (14:27 +0100)]
Move possible drivers and JUSH to Driver

9 months agoMongo: Use $this->_conn
Jakub Vrana [Thu, 6 Mar 2025 13:10:05 +0000 (14:10 +0100)]
Mongo: Use $this->_conn

9 months agoMongo: Add Driver outside of if
Jakub Vrana [Thu, 6 Mar 2025 13:08:19 +0000 (14:08 +0100)]
Mongo: Add Driver outside of if

9 months agoMove on_actions to Driver
Jakub Vrana [Thu, 6 Mar 2025 13:04:47 +0000 (14:04 +0100)]
Move on_actions to Driver

9 months agoMove unsigned to Driver
Jakub Vrana [Thu, 6 Mar 2025 12:58:15 +0000 (13:58 +0100)]
Move unsigned to Driver

9 months agoMove operators, functions and grouping to Driver
Jakub Vrana [Thu, 6 Mar 2025 12:48:13 +0000 (13:48 +0100)]
Move operators, functions and grouping to Driver

9 months agoMove edit functions to Driver
Jakub Vrana [Thu, 6 Mar 2025 12:15:38 +0000 (13:15 +0100)]
Move edit functions to Driver

9 months agoMove types to Driver
Jakub Vrana [Thu, 6 Mar 2025 11:35:20 +0000 (12:35 +0100)]
Move types to Driver

9 months agoFix the primary key for MS SQL
Takashi SHIRAI [Thu, 6 Mar 2025 06:06:31 +0000 (15:06 +0900)]
Fix the primary key for MS SQL

Signed-off-by: Takashi SHIRAI <shirai@nintendo.co.jp>
9 months agoUse anonymous function
Jakub Vrana [Wed, 5 Mar 2025 16:08:29 +0000 (17:08 +0100)]
Use anonymous function