Pero Brbora
6c63c2f91e
Add $driver to global variables
2018-03-01 11:46:12 +01:00
Pero Brbora
acee5c0011
Add $driver to global variables
2018-03-01 11:30:13 +01:00
Jakub Vrana
36b75b4203
Use $adminer->operators
2018-03-01 11:29:04 +01:00
Jakub Vrana
4a24ee7672
PostgreSQL: Do not cast time search
2018-03-01 11:23:01 +01:00
Matěj Humpál
e21ddd9767
Do not cast date/timestamp exact searches in PostgreSQL to text
2018-03-01 11:21:50 +01:00
Matěj Humpál
f844fc499e
Do not cast date/timestamp exact searches in PostgreSQL to text
2018-03-01 11:06:12 +01:00
Jakub Vrana
52d7c38ef1
MySQL: Use CONVERT() only when searching for non-ASCII (bug #603 )
2018-03-01 11:01:35 +01:00
Jakub Vrana
14db884471
Fix displaying info about non-alphabetical objects (bug #599 )
2018-02-22 16:47:30 +01:00
Jakub Vrana
3410836c12
Allow connecting to different drivers in login-servers
2018-02-22 12:38:22 +01:00
Jakub Vrana
00721402e0
Add login-otp plugin
2018-02-22 11:36:11 +01:00
Jakub Vrana
4355aaa96f
Update translation
2018-02-21 21:36:55 +01:00
Jakub Vrana
b1cdc7902b
Comment
2018-02-21 00:28:59 +01:00
Jakub Vrana
3f4f3454f8
Centralize stopping session
2018-02-20 23:14:36 +01:00
Jakub Vrana
846435aef8
Stop session before connecting (thanks to Kareem Zidane)
2018-02-20 23:11:05 +01:00
Jakub Vrana
7b35ebd82e
PDO: Support binary fields download
2018-02-20 22:40:20 +01:00
Jakub Vrana
5b359263eb
Don't try to check missing checkboxes
2018-02-20 22:09:47 +01:00
Jakub Vrana
6ebbd8c719
Use file caching only in non-dev
2018-02-20 22:08:52 +01:00
Jakub Vrana
d3a429314a
Fix image in compiled version
2018-02-20 16:35:34 +01:00
Jakub Vrana
b4392b3f91
Use single \ in ' strings
2018-02-20 16:27:40 +01:00
Jakub Vrana
2021ea8fd7
is not needed with border-collapse
2018-02-20 16:02:25 +01:00
Jakub Vrana
7cb3e768bb
Release 4.6.2
2018-02-20 09:20:42 +01:00
Jakub Vrana
03dfea2943
Comment
2018-02-20 00:00:00 +01:00
Jakub Vrana
54f6806339
Use function after declaring it
2018-02-19 23:48:51 +01:00
Jakub Vrana
059d6266e2
Store current version before authentication and in Editor
2018-02-19 23:02:39 +01:00
Jakub Vrana
a113a25123
Add missing fullstop
2018-02-15 22:25:45 +01:00
Nuri Akman
026b362e7d
Turkish language file updated.
2018-02-15 22:20:58 +01:00
Jakub Vrana
7c32360c67
Align Whole result
2018-02-14 06:46:59 +01:00
Jakub Vrana
8a94bc6f41
Always hide import
2018-02-14 06:42:07 +01:00
Jakub Vrana
3f901cfe30
Print email only with rows or page
2018-02-14 06:41:44 +01:00
Jakub Vrana
c8fd73d70a
Move import out of footer
2018-02-13 22:24:59 +01:00
Jakub Vrana
30d0060b96
Move pagination to fieldset
2018-02-13 22:17:59 +01:00
Jakub Vrana
d18c7b3587
Promote MongoDB, demote Oracle and MS SQL
2018-02-10 00:09:07 +01:00
Jakub Vrana
1f12ea4e4a
Capitalize Whole result
2018-02-09 23:45:53 +01:00
Jakub Vrana
71a6a1269d
Fill footer to the right
2018-02-09 23:36:53 +01:00
Jakub Vrana
6a3bce1174
Make footer smaller
2018-02-09 23:33:46 +01:00
Jakub Vrana
28acee861f
Move pagination outside footer
2018-02-09 23:28:19 +01:00
Jakub Vrana
42b15654c4
Wrap more into if (!is_ajax)
2018-02-09 23:09:05 +01:00
Jakub Vrana
e2d858d638
Move <p>
2018-02-09 23:05:21 +01:00
Jakub Vrana
879963dec1
PostgreSQL: Add IF EXISTS to DROP SEQUENCE in export (bug #595 )
2018-02-09 22:11:27 +01:00
Jakub Vrana
daa19b0a6e
Make footer border more obvious
2018-02-09 22:05:11 +01:00
Jakub Vrana
d27ee7a388
Make footer margin not transparent
2018-02-09 21:55:18 +01:00
Jakub Vrana
1ec4637ade
Centralize oninput
2018-02-09 21:23:42 +01:00
Jakub Vrana
ea1ff7e902
Speed up alter table
...
Alter table mysql.user takes 0.9 instead of 1.5 seconds.
2018-02-09 21:11:12 +01:00
Jakub Vrana
2761f44cf4
Use Unicode arrows in alt
2018-02-09 17:54:52 +01:00
Jakub Vrana
557b8b178e
Avoid hiding column only to show it later
2018-02-09 17:50:25 +01:00
Jakub Vrana
07d1bc4291
Respect unchecked Default values
2018-02-09 17:45:50 +01:00
Jakub Vrana
7ac96dd0b2
Update UI when coming from history
2018-02-09 17:35:17 +01:00
Jakub Vrana
eeb7ce1939
PostgreSQL: Fix exporting string default values (thanks to PotatoPangolin)
2018-02-09 15:29:54 +01:00
Jakub Vrana
ea4ac5c8f3
Semi-transparent border on table actions
2018-02-09 15:14:10 +01:00
Jakub Vrana
3906231dc5
Fix exporting sequences in PostgreSQL 10
2018-02-09 14:43:25 +01:00
Jakub Vrana
ffb4ee3a61
Shorten JSON values in select (bug #594 )
2018-02-09 13:48:33 +01:00
Jakub Vrana
34d338b185
Fix id in databases list
2018-02-09 13:34:46 +01:00
Jakub Vrana
f4983dfd5f
Declare MariaDB support
2018-02-09 09:24:12 +01:00
Jakub Vrana
800fbb9b9e
Release 4.6.1
2018-02-09 00:20:58 +01:00
Jakub Vrana
4b1960f498
Round 9.2 to 9.2
2018-02-08 23:58:09 +01:00
Jakub Vrana
e299e9d82d
MariaDB: Links to documentation in syntax highlighting
2018-02-08 23:47:16 +01:00
Jakub Vrana
cf7fe88990
Display notification about performing action after relogin
2018-02-08 16:49:56 +01:00
Jakub Vrana
a1927d5b71
Allow specifying server name displayed in breadcrumbs
2018-02-08 14:32:21 +01:00
Jakub Vrana
76d7560d27
MariaDB: Links to documentation
2018-02-08 13:56:22 +01:00
Jakub Vrana
cddd61c214
Add more system tables help links
2018-02-08 11:21:33 +01:00
Jakub Vrana
8b8cfd9f04
Respect empty tableName in tablesPrint
2018-02-08 10:35:54 +01:00
Jakub Vrana
99d7b88341
Use tableName() in table.inc.php
2018-02-08 10:34:43 +01:00
Jakub Vrana
2db1c74310
Avoid qsl in a loop
2018-02-08 09:52:23 +01:00
Jakub Vrana
fb2d34f739
Support Shift+click in server export
2018-02-08 09:47:15 +01:00
Jakub Vrana
6e2f681faa
Avoid qsl in a loop
2018-02-08 09:30:16 +01:00
Jakub Vrana
686865bc10
Sticky position of table actions
2018-02-08 00:14:32 +01:00
Jakub Vrana
6a7ee5a2f3
Avoid qsl in check[]
...
Table with 1000 rows rendered in 1.8 instead of 7.5 seconds.
2018-02-07 18:55:28 +01:00
Jakub Vrana
4b45722fad
Avoid qsl in a loop
...
Table with 500 rows rendered in 1.5 instead of 5.5 seconds.
2018-02-07 18:55:16 +01:00
Jakub Vrana
14998e12b6
Mark optional parameter
2018-02-07 18:14:00 +01:00
Jakub Vrana
718f9d3791
SQLite: Support ` in PRIMARY KEY
2018-02-07 16:43:21 +01:00
Jakub Vrana
964a988fef
Avoid Invalid credentials with no credentials
2018-02-07 16:29:57 +01:00
Jakub Vrana
66e7ec56bb
SQLite: Allow deleting PRIMARY KEY from tables with auto increment
2018-02-07 14:47:29 +01:00
Jakub Vrana
ca336427f5
Do not wrap alter table thead
2018-02-07 14:22:58 +01:00
Jakub Vrana
8a75cbc630
Add version() to use in plugins
2018-02-07 12:49:53 +01:00
Jakub Vrana
42eec7d728
Support connecting to MySQL via SSL
2018-02-07 12:13:58 +01:00
Jakub Vrana
cac523402a
Display Invalid credentials if connection error is empty
2018-02-07 11:37:53 +01:00
Jakub Vrana
02cd416093
Delete unused functions
2018-02-06 16:33:47 +01:00
Jakub Vrana
b500a46f9a
Add truncate_sql to PostgreSQL
2018-02-06 16:24:12 +01:00
Jakub Vrana
19653de764
PostgreSQL: Unescape bytea fields
2018-02-06 16:05:50 +01:00
Jakub Vrana
29c127e94a
Save bytes
2018-02-06 15:54:19 +01:00
Jakub Vrana
17b110f0d5
PostgreSQL: Upload binary files to bytea fields
2018-02-06 15:42:14 +01:00
Jakub Vrana
b649fb2f3f
Allow using number_type() as pattern
2018-02-06 14:52:12 +01:00
Jakub Vrana
d3914ea58e
Translate thousands separator in JS
2018-02-06 14:47:43 +01:00
Jakub Vrana
d43b773214
Move tableCheck() below </form>
2018-02-06 13:53:15 +01:00
Jakub Vrana
f09a04ed09
Pass operator from db.inc.php
2018-02-06 13:51:56 +01:00
Jakub Vrana
d7f9b6b5de
PostgreSQL: Cast to string when searching using LIKE (bug #325 )
2018-02-06 13:51:53 +01:00
Jakub Vrana
197abdcb70
MySQL: Support non-utf8 charset in search in column
2018-02-06 13:51:23 +01:00
Jakub Vrana
c2de3b8ec1
Use ST_GeomFromText in MySQL 8 (bug #574 )
2018-02-06 13:50:40 +01:00
Jakub Vrana
c52fb951b0
Do not modify $_GET["where"]
2018-02-06 13:00:17 +01:00
Jakub Vrana
14429ff355
Display empty operator as LIKE %%
2018-02-06 12:56:18 +01:00
Jakub Vrana
a7632fd9fd
Fix whitespace
2018-02-06 12:50:44 +01:00
Jakub Vrana
967d5c64a3
Avoid deprecated each()
2018-02-06 12:49:39 +01:00
Jakub Vrana
c34ada5368
PostgreSQL: Fix condition for selecting no rows
2018-02-06 12:43:10 +01:00
Jakub Vrana
2d7bda4d1e
Fix error display in Search tables
2018-02-06 12:40:28 +01:00
Jakub Vrana
6cfb3676a7
PostgreSQL: Don't treat interval type as number (bug #474 )
2018-02-06 12:17:01 +01:00
Jakub Vrana
880902da17
Add class to use in designs
2018-02-06 08:47:28 +01:00
Jakub Vrana
89ceb06208
Use primary key instead of LIMIT 1 if available
2018-02-05 11:21:19 +01:00
Jakub Vrana
d2ed0f7810
Release 4.6.0
2018-02-05 09:30:33 +01:00
Jakub Vrana
7b0c58af32
Fix affected rows after getting warnings
2018-02-05 09:23:07 +01:00
Jakub Vrana
d3cdfc17de
Fix number of affected rows after getting warnings
2018-02-05 09:09:41 +01:00
Jakub Vrana
3b55c4c0f7
Fix 5.1 being displayed as 5.09999...
2018-02-05 08:42:25 +01:00
Jakub Vrana
473b60361b
Disable autocompleting password on create user page
2018-02-02 08:52:15 +01:00
Jakub Vrana
f128c2d1ea
Use primary key to edit rows even if not selected
2018-02-01 23:09:40 +01:00
Jakub Vrana
c75096f173
Space between DB and Use
2018-02-01 22:22:29 +01:00
Jakub Vrana
c0b2c506bc
Translate DB
2018-02-01 22:20:56 +01:00
Jakub Vrana
0ebf710d41
Select converted fields only once
2018-02-01 22:03:48 +01:00
Jakub Vrana
fa41126c37
Don't count rows if we reached the end
2018-02-01 20:59:05 +01:00
Jakub Vrana
09920e0056
Fix count_rows with more than one group by column
2018-02-01 20:45:49 +01:00
Jakub Vrana
685bf29abc
Use separator in limit1
2018-02-01 18:53:53 +01:00
Jakub Vrana
0866c79afb
SQLite: Limit rows in data manipulation without unique key
2018-02-01 18:47:57 +01:00
Jakub Vrana
52d98e16fa
PostgreSQL: Limit rows in data manipulation without unique key
2018-02-01 16:58:01 +01:00
Jakub Vrana
763e66a148
Don't use ctid as it's not stable
2018-02-01 16:45:31 +01:00
Jakub Vrana
8868b48e4c
Move variables close to their usage
2018-02-01 16:40:58 +01:00
Jakub Vrana
4961588f7d
Limit non-unique where updates
2018-02-01 16:25:30 +01:00
Jakub Vrana
f4625da53d
Use Oid as the name of the column
2018-02-01 16:15:36 +01:00
Jakub Vrana
dc94b2ec38
Save bytes
2018-02-01 16:00:40 +01:00
Jakub Vrana
e55f0d7cb2
MySQL: Add FIND_IN_SET search operator
2018-02-01 15:25:38 +01:00
Jakub Vrana
6d55395d9e
MySQL: Add floor and ceil functions
2018-02-01 14:32:01 +01:00
Jakub Vrana
2e6190fdf1
Fix links to PostgreSQL 10 documentation
2018-02-01 14:02:25 +01:00
Jakub Vrana
7296f017fb
Display options for timestamp columns when creating a new table (thanks to Robert Vlach)
2018-02-01 13:55:11 +01:00
Jakub Vrana
ae91088cb3
Don't display warnings for failed queries
2018-02-01 13:16:37 +01:00
Jakub Vrana
51a574926d
Fix variable name
2018-02-01 13:08:28 +01:00
Jakub Vrana
532a4ee083
Reorder variables
2018-02-01 12:27:22 +01:00
Jakub Vrana
6b9c0dee14
Use pg_last_notice only with pgsql
2018-02-01 12:03:11 +01:00
Jakub Vrana
be75939344
Print warnings in call
2018-02-01 11:58:04 +01:00
Jakub Vrana
d667f585e0
Pass start time to selectQuery
2018-02-01 11:54:56 +01:00
Jakub Vrana
ebb23a7a88
PostgreSQL: Display warnings
2018-02-01 11:50:15 +01:00
Jakub Vrana
e9add6d985
Return string from warnings()
2018-02-01 11:43:44 +01:00
Jakub Vrana
e3346fb0bc
Display warnings in messages
2018-02-01 09:21:50 +01:00
Jakub Vrana
ae2ea56681
Show select warnings
2018-02-01 08:59:46 +01:00
Colin Mollenhour
080fd0f374
Support X-Forwarded-Prefix (e.g. Traefik PathPrefixStrip feature)
2018-01-31 20:38:14 +01:00
Jakub Vrana
e32f90f8ff
Lowercase EXPLAIN but don't translate it
2018-01-31 20:25:41 +01:00
Jakub Vrana
7ad09d2cb4
Move explain below warnings
2018-01-31 20:25:11 +01:00
Jakub Vrana
40038d4210
Fix return type
2018-01-31 18:29:01 +01:00
Jakub Vrana
2adc174541
MySQL: Display warnings in SQL command
2018-01-31 17:28:12 +01:00
Jakub Vrana
2fb2d208c0
Quote default values not starting with a letter
2018-01-31 16:46:50 +01:00
Jakub Vrana
4de6e3180d
Stop redirecting links via adminer.org
2018-01-31 11:11:34 +01:00
Jakub Vrana
8829ccdf93
Fix min_version use
2018-01-30 23:53:04 +01:00
Jakub Vrana
0320bcdda6
Quote dates in default value
2018-01-30 17:00:34 +01:00
Jakub Vrana
851700516d
Fully support functions in default values
2018-01-30 16:50:37 +01:00
Jakub Vrana
d542843fdd
Fix min_version use
2018-01-30 16:42:13 +01:00
Jakub Vrana
4bb2f806b1
PostgreSQL: Allow now() as default value (bug #525 )
2018-01-30 16:24:31 +01:00
Jakub Vrana
cc31a69b65
Fix edit_type after 1f21cd43
2018-01-30 16:21:04 +01:00
Jakub Vrana
78f0a1152e
PostgreSQL: Allow editing views with uppercase letters (bug #467 )
2018-01-30 16:03:13 +01:00
Jakub Vrana
1f21cd4329
PostgreSQL: Allow creating trigger functions
2018-01-30 15:55:50 +01:00
Jakub Vrana
9f69160797
Add placeholders
2018-01-30 15:24:01 +01:00
Jakub Vrana
e81334ef87
PostgreSQL: Support functions
2018-01-30 15:18:26 +01:00
Jakub Vrana
92739f48ce
SimpleDB: Document that allow_url_fopen is required (bug #340 )
2018-01-30 13:19:21 +01:00
Jakub Vrana
d28d01e76c
Focus correct field in selectSearch
2018-01-29 21:19:11 +01:00
Jakub Vrana
75450548b3
Support JSON since MariaDB 10.2 (bug #590 )
2018-01-29 21:08:38 +01:00
Jakub Vrana
c3b4208853
Use min_version
2018-01-29 20:54:24 +01:00
Jakub Vrana
d38c673e2a
Add min_version
2018-01-29 19:34:26 +01:00
Jakub Vrana
93686eab65
Save bytes
2018-01-29 18:33:26 +01:00
Pisyek
224ddb5a33
add malay translation
2018-01-29 18:25:58 +01:00
Radosław Kowalewski
4db23fd471
Added and translated missing keys in polish translation
2018-01-29 18:13:50 +01:00
Jakub Vrana
0d90f1f1dd
Fix elastic after ef5a7639
2018-01-27 11:08:56 +01:00
helix84
ef5a76392d
fix elastic.inc.php to work on PHP 5.2
...
Without this change, I get the following syntax error on PHP 5.2.6:
PHP Parse error: syntax error, unexpected ':' in /var/www/adminer/adminer/drivers/elastic.inc.php on line 415
I haven't actually tested the alter_table() method.
2018-01-26 16:48:34 +01:00
Jakub Vrana
8d0cbb6eb4
Fix counting selected rows after going back to select page
2018-01-26 08:52:12 +01:00
Jakub Vrana
536999d4dc
Release 4.5.0
2018-01-24 21:55:47 +01:00
Jakub Vrana
a954f7d4b4
Simplify drop object confirmation questions
2018-01-24 18:36:19 +01:00
Jakub Vrana
a137f248f7
Translate message added in 4.4.0
2018-01-24 18:22:20 +01:00
Jakub Vrana
95d02bb924
Display name of the object in confirmation when dropping it
2018-01-24 18:13:05 +01:00
Jakub Vrana
921e57b9aa
Display error when getting row to edit
2018-01-24 17:37:35 +01:00
Jakub Vrana
25f9655a38
Avoid CONVERT() except in MySQL (bug #509 )
2018-01-24 17:37:14 +01:00
Jakub Vrana
919204dd38
Bump version
2018-01-24 16:51:53 +01:00
Jakub Vrana
34f25afe90
MySQL: Support routines with comments in parameters (bug #460 )
2018-01-24 16:37:38 +01:00
Jakub Vrana
8b29ae910f
Verify if adminer.version was created on www.adminer.org
2018-01-24 15:10:44 +01:00
Jakub Vrana
6c96b060e7
Store current Adminer version server-side to avoid excessive requests
2018-01-24 15:09:11 +01:00
Jakub Vrana
f4662d5e27
Send token as last param
2018-01-24 13:44:31 +01:00
Jakub Vrana
b15618fcfd
Allow using adminer.invalid by other users in a group
2018-01-24 12:11:26 +01:00
Jakub Vrana
03e3f517a8
Extract file_open_lock and file_write_unlock
2018-01-24 12:04:53 +01:00
Jakub Vrana
f0d2af329a
Display boolean values as code (bug #562 )
2018-01-24 10:53:25 +01:00
Jakub Vrana
452b9ad7f1
MariaDB: Support fulltext and spatial indexes in InnoDB (bug #583 )
2018-01-24 09:18:19 +01:00
Jakub Vrana
fb18e814de
PostgreSQL: Display foreign tables (bug #576 )
2018-01-23 15:03:53 +01:00
Jakub Vrana
75413c56d2
Add designs.php
2018-01-23 14:36:32 +01:00
Jakub Vrana
c3d83d5412
Fix compiled version after 5cc831c1
2018-01-23 14:10:21 +01:00
Jakub Vrana
b14aa75a98
Hide window.opener from pages opened in a new window (bug #561 )
2018-01-23 12:53:22 +01:00
Jakub Vrana
6d774794c8
Add plugin for switching designs
2018-01-23 12:15:38 +01:00
Jakub Vrana
0cdd8beab1
Editor: Fix displaying of false values in PostgreSQL (bug #568 )
2018-01-23 11:02:15 +01:00
Jakub Vrana
7b9d5a29aa
Decrease float precision (bug #578 )
2018-01-23 10:52:57 +01:00
Andrea Giacobino
5cc831c1e1
Add ability to override file name (path) when loading dump from webserver
2018-01-23 09:24:57 +01:00
Jakub Vrana
72aa3c5127
Support current_timestamp() as default of time fields (bug #572 )
2018-01-23 08:36:11 +01:00
Jakub Vrana
43ccfcef8f
Display newlines in column comments (bug #573 )
2018-01-22 21:05:56 +01:00
Jakub Vrana
c789c147b7
MySQL: Support geometry in MySQL 8 (bug #574 )
2018-01-22 20:56:35 +01:00
Uherkovich Péter
a2adb67d2f
MSSQL driver fixed for freetds drivers. See bug #167 , #291
2018-01-22 18:35:08 +01:00
Jakub Vrana
34e2f47761
Fix search focus (regression from 4.4.0)
2018-01-22 18:34:16 +01:00
Jakub Vrana
0d2b232bd7
Compatibility with PHP < 5.3
2018-01-22 17:30:12 +01:00
Jakub Vrana
83e16e059f
Add mongodb as a possible driver
2018-01-22 17:12:48 +01:00
Jakub Vrana
6e4dc3911f
Save bytes
2018-01-22 17:05:49 +01:00
Vladimir Goncharov
2a08a11e89
php7 support with minimal changes of original code
2018-01-22 16:59:55 +01:00
Jakub Vrana
993dce398d
PostgreSQL: Export DROP SEQUENCE if dropping table
2018-01-22 14:33:21 +01:00
Jakub Vrana
eee9a62c8f
PostgreSQL: Do not export triggers if not requested
2018-01-22 14:25:27 +01:00
Jakub Vrana
ce17b6cf46
Ignore removed CREATE+ALTER mode in trigger_sql()
2018-01-22 14:14:42 +01:00
Jakub Vrana
923c0ffc87
Fix whitespace
2018-01-22 13:51:47 +01:00
Jakub Vrana
48ed20323f
CSP: Allow any CSS
2018-01-22 12:22:25 +01:00
Jáchym Toušek
019ada8da5
Fix NULL value in edit form with Postgres
2018-01-22 12:06:15 +01:00
Jakub Vrana
3b4ce4a0b4
Fix single driver non-MySQL compiled versions (regression from 150301ed
)
2018-01-22 11:42:17 +01:00
Peter Knut
fef1808288
Encapsulate fulltext part in search box into <div>
2018-01-22 10:53:50 +01:00
Fabio Montefuscolo
d2c82fdeca
Enhance ElasticSearch integration
2018-01-19 18:32:41 +01:00
Jakub Vrana
bc14e8432f
Select numeric database name in DB list (bug #580 )
2018-01-19 17:39:27 +01:00