Commit graph

1322 commits

Author SHA1 Message Date
Jakub Vrana 650221357d Return false from ajaxSetHtml() 2018-01-12 17:09:41 +01:00
Jakub Vrana d996b48cfa Move inline event handlers to <script> 2018-01-12 17:09:41 +01:00
Jakub Vrana 36edd445a6 Move inline event handlers to <script> 2018-01-12 17:09:41 +01:00
Jakub Vrana 7305783c21 Return false from toggle() 2018-01-12 17:09:41 +01:00
Jakub Vrana ee3a88d574 onchange='selectFieldChange 2018-01-12 17:09:41 +01:00
Jakub Vrana e5c52589ec Use @this in selectFieldChange 2018-01-12 17:09:41 +01:00
Jakub Vrana 3b0e1cf289 Move inline event handlers to <script> 2018-01-12 17:09:41 +01:00
Jakub Vrana 813ada6661 Revert using @this in formChecked 2018-01-11 18:58:00 +01:00
Jakub Vrana 4be72a2a0d Allow customizing CSP 2018-01-11 18:39:49 +01:00
Jakub Vrana 541c3c1fed Allow img-src data: common in skins 2018-01-11 18:39:49 +01:00
Jakub Vrana 3408d4ad78 Use JSON.parse if available 2018-01-11 18:39:49 +01:00
Jakub Vrana e614ae08c4 Add Content Security Policy 2018-01-11 18:39:49 +01:00
Jakub Vrana 552d2a6be4 Always send security headers in customization 2018-01-11 18:39:49 +01:00
Jakub Vrana 415253b1b1 Add nosniff header 2018-01-11 18:39:22 +01:00
Jakub Vrana d07b7e3773 Use Referrer-Policy instead of <meta name="referrer">
To make securityheaders.io happy.

Also fix a typo in the value (https://lists.w3.org/Archives/Public/public-webappsec/2015May/0059.html).
2018-01-11 18:38:15 +01:00
Jakub Vrana 14778165a8 Use @this in JavaScript (prepares for removing inline event handlers) 2018-01-11 17:01:29 +01:00
Jakub Vrana 72b199378a Prevent PHP 7.1 warning about non-numeric values 2018-01-11 16:22:29 +01:00
Jakub Vrana 329fa55af5 Unindent doc-comments 2018-01-11 15:14:05 +01:00
Jakub Vrana dc85ba2d86 Delete type="text/javascript" from <script> as it is the default in HTML5 2018-01-11 14:13:43 +01:00
Jakub Vrana 741b76fbd4 Replace getElementsByTagName by shortcut for querySelectorAll 2018-01-11 14:00:04 +01:00
Jakub Vrana 9cb281868f Replace getElementById by shortcut for querySelector (requires IE8) 2018-01-11 13:51:32 +01:00
Jakub Vrana 7bcba262df Editor: Display field comment's text inside [] only in edit form 2017-10-01 08:45:17 -07:00
Jakub Vrana b10e9e127e Add Hebrew translation 2017-09-09 12:06:14 +02:00
Jakub Vrana 70aef8a55a MySQL: Remove dedicated view for replication status 2017-05-19 11:11:44 +02:00
Jakub Vrana c0a3f30060 Add a donate link 2017-04-16 10:42:27 +02:00
Jakub Vrana 7af1ee3702 Release 4.3.1 2017-04-14 09:48:11 +02:00
Jakub Vrana fb7bd02713 Don't overwrite previous cookies (bug #539) 2017-04-09 11:04:57 +02:00
Andre Polykanine A.K.A. Menelion Elensúlë b585ee8261 Updating Russian translation 2017-04-08 19:41:36 +02:00
Jakub Vrana f556f6acb1 PostgreSQL: Fix index size computation in PostgreSQL < 9.0 (reverts 4c78976c) 2017-04-08 19:33:46 +02:00
Jakub Vrana 22d0cf4171 Release 4.3.0 2017-03-15 18:24:12 +01:00
Jakub Vrana 8fd7ff0187 Highlight JSON 2017-03-10 08:56:58 +01:00
Jakub Vrana e040b296c5 Print number of bytes in blob in italics 2017-03-10 08:19:58 +01:00
Jakub Vrana 9d7d30891e Use SameSite cookies (except session cookie) 2017-03-07 18:12:23 +01:00
Jakub Vrana 4cf73abccd Rely on noreferrer in Firefox too 2017-03-01 11:35:01 +01:00
Jakub Vrana 2d6451b99a Improve SQLite login error message 2017-03-01 11:23:20 +01:00
Jakub Vrana 46f39f3cdb Bump version 2017-02-21 12:07:13 +01:00
Jakub Vrana 346353153d Unindent 2017-02-20 19:28:16 +01:00
Jakub Vrana fa6865da6a Use 'Create database' instead of 'Create new database' 2017-02-20 16:47:03 +01:00
Jakub Vrana 63b6b99365 Support high Unicode characters in shorten_utf8 (bug #481) 2017-02-20 16:22:30 +01:00
Jakub Vrana a0a1476e5b Fix where() escaping in MS SQL (bug #496) 2017-02-20 15:23:22 +01:00
Matthew Gamble 2a534798fa Add basic support for MySQL replication 2017-02-20 12:54:40 +01:00
Adam Kuśmierz a062e9cc58 Checkbox for bool in psql 2017-02-20 12:31:36 +01:00
Jonathan Vollebregt 64a49e95e8 Add javascript move for editing 2017-02-19 13:55:50 +01:00
Peter Knut c9801e2e24 Tables list implemented as <ul>
Encapsulation of list items is necessery for advanced CSS themes.
2017-02-19 11:39:04 +01:00
Mathieu Rochette 4cfe6263d9 fix logger for SQL commands 2017-02-19 11:00:07 +01:00
Kakysha 4a69059e1b Edit json and jsonb types in textarea 2017-02-19 10:02:51 +01:00
K0n24d 1d0607177d Do not set input type as numeric if field is an array 2017-02-19 09:45:05 +01:00
nafex 47c582acb3 make bytea fields shortable 2017-02-19 09:30:39 +01:00
Matthew Gamble 76612b1e8a Move rendering of table structure and indexes list into plugin system
This allows the creation of a plugin to extend the display of either or
both of these things.
2017-02-18 19:15:23 +01:00
Janne Cederberg dedbd01f64 Tabs must also be escaped in JSON strings
If database table data contains tab characters (0x09) then those
must also be escaped along with newlines and carriage returns for
the resulting JSON file to be valid.
2017-02-18 17:51:55 +01:00
soleuu 1a6186648c postgresql error with index on hidden columns (ctid) 2017-02-18 17:41:45 +01:00
Charles Wu 73690164b7 Added pdo_dblib as a driver for MSSQL (as native MSSQL driver does not exist for PHP7) 2017-02-18 17:35:36 +01:00
shaununderwood 3a1c251065 Changed 'undefined' to 'null'
'undefined' is not a valid JSON attribute value and should been 'null'
2017-02-18 17:32:40 +01:00
soleuu 86e26846a8 postgresql : ERROR: function connection_id() does not exist 2017-02-18 17:32:40 +01:00
Jakub Vrana dc9ae77e2f Fix error found by PHPStan 2017-02-16 19:05:45 +01:00
Jakub Vrana 2cee788ad3 Add accessibility labels to Indexes 2017-01-23 14:29:00 -08:00
Jakub Vrana 9bb75e1230 Add accessibility labels to databases and tables checkboxes 2017-01-23 14:05:47 -08:00
Jakub Vrana 7099560add Escape quote in field name to make it work in Chrome (thanks to zcepenela pani) 2017-01-23 13:30:05 -08:00
Jakub Vrana 949b913d4f Change comment not supported by compile.php 2016-09-27 22:04:44 -07:00
Jakub Vrana 9872229e11 Make maxlength in edit fields a soft limit 2016-09-19 10:12:33 -07:00
Jakub Vrana 682e86d236 Add accessibility labels to Create Table fields 2016-09-19 15:33:12 +02:00
Jakub Vrana f0a5fb56a5 Update Indonesian translation (thanks to Benny) 2016-07-22 17:30:38 +02:00
Jakub Vrana 53dfafd2ea Release 4.2.5 2016-06-01 10:09:29 -07:00
Jakub Vrana 7a33661b72 SQLite: Require credentials to use (thanks to Vincent Waart) 2016-06-01 09:59:20 -07:00
Bernhard J. M. Gruen 3289eca040 improved kill command support for MySQL and initial support for PgSQL 2016-02-28 12:27:45 -08:00
Jakub Vrana 49e2ac4559 Release 4.2.4 2016-02-06 11:10:16 -08:00
Jakub Vrana 0bb5a52dc4 Add Finnish translation 2016-02-06 10:50:57 -08:00
Jakub Vrana 37b9f0ec01 Add Bosnian translation 2016-02-01 09:10:07 -08:00
Jakub Vrana b317fe156a Support PHP 7 2016-01-24 12:02:41 -08:00
Jakub Vrana f83e3f41d2 Release 4.2.3 2015-11-15 10:49:48 -08:00
Jakub Vrana aa40e803e2 Add escaping (not fixing any XSS) 2015-11-08 12:15:45 -08:00
Jakub Vrana 0a31742ee8 Add Bulgarian translation 2015-11-01 11:33:04 -08:00
David Grudl a6ebd4a3e0 uses PHP 5 constructors 2015-11-01 11:08:46 -08:00
Jakub Vrana 79d438ed80 Add Galician translation 2015-09-22 08:29:49 -07:00
Jakub Vrana 35b71f0472 Add Greek translation 2015-09-20 11:09:34 -07:00
Jakub Vrana a01b2efc22 Change links to HTTPS 2015-09-10 09:26:36 -07:00
Jakub Vrana a248f8b008 Change protocol to HTTPS 2015-09-08 11:41:29 -07:00
Jakub Vrana 596f8df373 Fix XSS in alter table (found by HP Fortify) 2015-08-05 18:12:36 -07:00
Jakub Vrana ea0c9d9b5e Release 4.2.1 2015-03-10 09:33:44 -07:00
Jakub Vrana 26dafd9320 Use utf8mb4 only if supported 2015-03-06 11:56:04 -08:00
Jakub Vrana ced05d8a44 Fix going back to search result after edit 2015-03-06 10:20:10 -08:00
Jakub Vrana 8aa420d160 MySQL: Use utf8mb4 in export only if required 2015-03-06 09:36:20 -08:00
Jakub Vrana 6bbc8bc3ea Release 4.2.0 2015-02-07 11:08:21 -08:00
Jakub Vrana c990de3b3e Fix XSS in login form (bug #436) 2015-02-07 10:40:51 -08:00
beerwine 411d198d0d Added support for ILIKE in pgsql. 2015-02-07 10:25:33 -08:00
Jakub Vrana 060c006875 Add referrer: never meta tag 2015-02-06 09:00:48 -08:00
Nima Amini 65f8a87629 Update Persian translation 2015-01-12 09:32:03 -08:00
Jakub Vrana 2e4b8c1d36 Fix version needed for utf8mb4 (thanks to dg) 2015-01-11 10:09:41 -08:00
Jakub Vrana 25329cebf3 Allow limiting number of displayed rows in SQL command (bug #406) 2014-12-06 11:12:51 -08:00
Jakub Vrana 8bd53120df Fix handling of 64 bit numbers in auto_increment 2014-11-24 18:17:43 -08:00
Jakub Vrana 536e9a58ad Improve CSRF message 2014-10-28 09:24:13 -07:00
Jakub Vrana 5dc5bfe7ff SQLite: Support CURRENT_* default values (bug #417) 2014-10-25 16:49:42 -07:00
Jakub Vrana f9d76cea9a Firebird: Alpha version (thanks to Steve Krämer) 2014-09-14 21:10:23 -07:00
Jakub Vrana 37c8a3a123 Report offline and other AJAX errors (bug #419) 2014-09-14 15:47:09 -07:00
Jakub Vrana 594085c6f5 Send 403 for auth error 2014-09-14 14:49:33 -07:00
Jakub Vrana 51986426b7 Fix displaying binary data 2014-09-13 11:00:00 -07:00
Jakub Vrana a3e1cd7bb6 Fix saving NULL value
This reverts commit ed130065.

Conflicts:
	adminer/drivers/mongo.inc.php
	adminer/include/functions.inc.php
2014-09-13 10:59:28 -07:00
Jakub Vrana 0e78996fdb Specify encoding for PHP 5.6 with invalid default_charset (fixes #421) 2014-09-11 08:48:26 -07:00
Jarne W. Beutnagel 4ee84efa3e Added Danish language file 2014-09-08 09:16:58 -07:00
Jakub Vrana f80b296a1a Make adminer.key group-readable 2014-06-27 08:17:33 -07:00
Jakub Vrana 52eee61247 Use chmod() instead of umask() 2014-06-27 08:15:15 -07:00
Jakub Vrana 7e3f2d9b1d Fix edit by long non-utf8 string (thanks Robert Vlach) 2014-06-26 14:36:47 +02:00
Jakub Vrana 8bd3dca2f7 Use utf8mb4 on more places 2014-06-26 13:38:50 +02:00
Jakub Vrana b87d43fdcd Make master key unreadable to others (bug #410) 2014-06-26 13:30:02 +02:00
Jakub Vrana 06a2d87e55 Add CSS classes to navigation 2014-06-26 12:59:04 +02:00
Jakub Vrana 50b33db7e2 Change Dump to Export 2014-06-24 15:34:15 +02:00
Jakub Vrana 13f08f7255 Use singular caption 2014-06-24 15:02:08 +02:00
Jakub Vrana e62fc3a07b Preserve null byte in HTML 2014-05-02 10:27:00 -07:00
Jakub Vrana ad96c516ac Rename variable to reduce confusion 2014-04-21 09:45:15 -07:00
Jakub Vrana 0c8cd8e5f7 Fix doc comment 2014-04-18 09:10:17 -07:00
Jakub Vrana 6aed2f510a Release 4.1.0 2014-04-18 08:51:37 -07:00
Jakub Vrana 15ea9bba81 Sort languages 2014-04-13 10:50:27 -07:00
Yuki Hana c2ae381aaf Add Vietnamese language pack 2014-04-13 10:35:11 -07:00
Jakub Vrana 96c8e6fb71 Use rel=noreferrer in WebKit 2014-03-26 09:00:21 -07:00
Jakub Vrana ee124dadb1 Silence error for unwriteable file 2014-03-25 09:35:49 -07:00
Jakub Vrana 06f4346cfe Prevent against brute force login attempts from the same IP address 2014-03-21 22:47:57 -07:00
Jakub Vrana 619b49c3d4 Allow arrays to be ignored in hidden_fields() 2014-03-21 22:45:38 -07:00
Jakub Vrana cd64b707bd Use noreferrer in external links 2014-03-21 22:32:31 -07:00
Jakub Vrana 4d491d704e Translate numbers in ar, bn, fa 2014-03-19 21:56:42 -07:00
Jakub Vrana bbcc8f141d MySQL 5.6.5+: Support ON UPDATE on datatime column (bug #393) 2014-03-15 14:08:34 -07:00
Jakub Vrana 46bb56cab9 SQLite: Support UPDATE OF triggers 2014-03-15 11:02:14 -07:00
Jakub Vrana fc668ea326 Simplify format_time() 2014-03-15 11:02:14 -07:00
Jakub Vrana 95b0237061 Display Schema label in navigation 2014-03-12 15:48:29 -07:00
robertopc fa01efa059 Fixing some typos in the PT-BR translation 2014-03-11 09:26:15 -07:00
Jakub Vrana 6a3ede75f6 Print elapsed time in HTML instead of SQL command comment 2014-03-07 09:33:37 -08:00
Jakub Vrana 67a29ff495 Move the database refresh link 2014-03-05 12:17:15 -08:00
Jakub Vrana c369236333 Provide size of all databases in the overview 2014-03-01 11:38:38 -08:00
Jakub Vrana a710c28d38 Escape server info 2014-03-01 11:19:27 -08:00
Jakub Vrana 7da82a12a6 Display edit form after error in clone or multi-edit 2014-02-24 23:59:12 -08:00
Jakub Vrana 9567e5cb1a Prepare for using edit form in select 2014-02-24 23:44:24 -08:00
Jakub Vrana 4d8667db7b MySQL: Fix editing rows by binary values (bug #371) 2014-02-23 18:49:58 -08:00
Jakub Vrana 0fdedcbaa5 Display time of the select command 2014-02-23 18:34:00 -08:00
Jakub Vrana 7639ff8b95 Improve gzip export ratio (bug #387) 2014-02-23 18:02:43 -08:00
Jakub Vrana ef81b5c1b2 SQLite: Ignore server, username and password 2014-02-21 08:53:58 -08:00
Jakub Vrana 1602db304a Document password functions 2014-02-19 09:27:22 -08:00
Jakub Vrana 150301ed5f Allow using in ->login() (bug #381) 2014-02-07 19:35:26 -08:00
Jakub Vrana f4592e3603 Improve comment 2014-02-01 20:52:06 -08:00
Jakub Vrana 38f4735758 Release 4.0.3 2014-02-01 10:18:49 -08:00
Jakub Vrana 6acf188c2f Don't store invalid credentials to session (bug #376) 2014-01-30 10:28:05 -08:00
Jakub Vrana 147957cef7 Activate JUSH before loading databases 2014-01-30 09:06:58 -08:00
Jakub Vrana adae922f36 Defer loading of JUSH 2014-01-30 08:27:56 -08:00
Jakub Vrana 7e9725782d Norweigan translation 2014-01-25 10:58:54 -08:00
Jakub Vrana 60c8ec61e3 Make select(..., , , ) optional 2014-01-15 08:23:26 -08:00
Jakub Vrana 63a04ff753 MongoDB: alter indexes form 2014-01-11 19:15:21 -08:00
Jakub Vrana c106cf2a34 Use JUSH only with supported drivers 2014-01-11 18:45:05 -08:00
Jakub Vrana ed13006512 MongoDB: Don't store unset values 2014-01-11 17:37:01 -08:00
Jakub Vrana 9824540ed8 MongoDB: auto_increment 2014-01-11 17:27:04 -08:00
Jakub Vrana 2a9a50553b MongoDB: insert 2014-01-11 15:44:03 -08:00
Jakub Vrana b99148daeb Show only errors by default in import 2014-01-11 12:17:25 -08:00
Jakub Vrana 34384b8256 Release Adminer 4.0.2 2014-01-11 11:59:18 -08:00
Jakub Vrana 55ad89b309 Fix handling of long text in SQL textarea 2014-01-11 09:37:34 -08:00
Jakub Vrana 740843446f Release 4.0.1 2014-01-10 22:22:45 -08:00
Jakub Vrana 44ad4e174d Don't print query in edit 2014-01-10 21:32:17 -08:00
Jakub Vrana 2ecff21280 Don't print query in edit 2014-01-10 21:32:07 -08:00
Jakub Vrana 0830f5ce89 Add sefeguard agains null 2014-01-10 11:16:36 -08:00
Jakub Vrana ad00e5e965 Move JUSH loading to Adminer customization 2014-01-10 10:05:57 -08:00
Jakub Vrana 4b6d02cdf8 Show table links if driver supports indexes 2014-01-09 00:06:59 -08:00
Jakub Vrana a7d475e3e7 MongoDB: Improve select 2014-01-08 23:14:37 -08:00
Jakub Vrana 683f6eefc7 Don't use type=number if a SQL function is used 2014-01-08 09:07:58 -08:00
Jakub Vrana 5444647f61 Don't shorten $http_response_header 2014-01-08 08:45:19 -08:00
Jakub Vrana 1fdfc407d1 Release 2014-01-07 23:20:08 -08:00
Jakub Vrana 47fc034746 Mark auto_increment fields in edit 2014-01-07 13:16:03 -08:00
Jakub Vrana 8829a8e808 Use international word for experimental drivers 2014-01-07 13:13:26 -08:00
Jakub Vrana 9995e35659 Update JUSH 2014-01-07 13:03:48 -08:00
Jakub Vrana 8c8f659028 Don't reset column when searching for an empty value with Enter 2013-12-20 17:42:43 -08:00
Jakub Vrana 0c710f65d4 Add missing doc comment 2013-12-20 15:47:01 -08:00
Jakub Vrana 3aca451f26 Add Portugal Portuguese translation 2013-12-20 15:06:50 -08:00
Jakub Vrana 45540fdae9 Fix processing length without () 2013-12-19 18:35:30 -08:00
Jakub Vrana a41ee665e9 Move function used in Editor 2013-12-19 12:55:53 -08:00
Jakub Vrana 2c8d81c1ae Include JUSH in the compiled version 2013-12-19 12:34:15 -08:00
Jakub Vrana f41ffd9ee1 Open external links to a new window 2013-12-19 09:31:37 -08:00
Jakub Vrana 61cdde0797 Don't execute external JavaScript when verifying version 2013-12-19 09:29:16 -08:00
Jakub Vrana 372a0e22a7 Fix saving permanent login 2013-10-24 22:40:05 -07:00
Jakub Vrana f503d8130b Abstract schemas() 2013-10-24 22:16:24 -07:00
Jakub Vrana 8d9ef7afd2 Differentiate views in navigation (thanks to Petr Kobelka) 2013-10-24 22:04:57 -07:00
Jakub Vrana cfe76ffaf0 Hide Logout button on login screen 2013-10-24 19:12:53 -07:00
Jakub Vrana a564bba261 Protect CSRF token against BREACH 2013-10-24 19:10:50 -07:00
amdev f757128dd9 Add Thai language 2013-09-04 08:41:17 -07:00
Jakub Vrana 994fa4f1ea Save bytes 2013-08-11 09:29:41 -07:00
Jakub Vrana 6160604023 Encrypt passwords stored in session by a key stored in cookie (thanks to Michal Spacek) 2013-08-11 09:26:18 -07:00
Jakub Vrana 1bdb65c4dc Save bytes 2013-08-10 19:21:23 -07:00
Jakub Vrana c0fe3a6ff7 Prepare for crypting passwords stored in session 2013-08-10 19:21:18 -07:00
Jakub Vrana 657191eed8 Unselect original function on key up 2013-08-09 17:00:05 -07:00
Jakub Vrana 6317c7737d NoSQL: Allow editing complex values 2013-08-09 15:49:34 -07:00
Jakub Vrana 8a1b8910c1 SQLite: Allow editing foreign keys 2013-08-09 15:16:15 -07:00
Jakub Vrana 62e582456e Save bytes 2013-08-08 19:36:15 -07:00
Jakub Vrana 1dcde25561 SQLite: Don't overwrite first type by unknown type 2013-08-08 19:34:40 -07:00
Jakub Vrana 804fb36faa Save bytes 2013-08-08 19:29:10 -07:00
Jakub Vrana 390d10284d Respect foreign key pseudo type after error 2013-08-08 19:28:05 -07:00
Jakub Vrana 28856804a4 Simplify format_time() 2013-08-08 17:20:18 -07:00
Jakub Vrana faabb9ef38 Simplify exception handling in PHP 5 2013-08-08 16:44:39 -07:00
Jakub Vrana 21cc6ceb59 Elastic: Use select() instead of SELECT 2013-08-08 16:01:29 -07:00
Jakub Vrana 4e22af6de0 Add missing space in query 2013-08-08 14:50:43 -07:00
Jakub Vrana 646fb067ca MongoDB: database list, table list, indexes, basic select 2013-08-08 13:54:06 -07:00
Jakub Vrana 2e245412dc PostgreSQL: Support creating array columns
Also allow () in length and IN.
2013-08-08 13:52:23 -07:00
Jakub Vrana 9ffca2f6e6 SimpleDB: Allow selecting arrays 2013-08-08 13:52:04 -07:00
Jakub Vrana 076a0a2634 Check default value on key press 2013-08-06 13:44:47 -07:00
Jakub Vrana 74f965df88 Link Auto Increment help 2013-08-05 19:23:31 -07:00
Jakub Vrana e7e5559df5 Generalize doc_link() 2013-08-05 19:22:13 -07:00
Jakub Vrana d92531c7fb Hide link to SQL command if not supported 2013-08-02 15:11:00 -07:00
Jakub Vrana 376384d98d Unify Create table label 2013-08-02 13:20:04 -07:00
Jakub Vrana 507b224c95 Split SQL command and import 2013-08-02 11:56:10 -07:00
Jakub Vrana e8c6ef04d2 Replace ereg*() by preg_*()
ereg() triggers deprecated error which is sent to custom error handlers.
It is also faster.
There are no more deprecated functions except mysql_connect().
2013-07-24 16:26:41 -07:00
Jakub Vrana 34349f1482 Revert Displaying SQL edit form on Ctrl+click on the select query 2013-07-24 13:00:37 -07:00
Jakub Vrana 5a0d56e910 Change focus by Tab in <textarea> 2013-07-23 18:41:38 -07:00
Jakub Vrana 0d074077bb Don't use deprecated function 2013-07-23 12:55:32 -07:00
Jakub Vrana e0ef072bd0 Keep form values after refresh in Firefox 2013-07-22 19:40:03 -07:00
Jakub Vrana 90b09fc60f Highlight code in <textarea> 2013-07-22 11:45:09 -07:00
Jakub Vrana aef38b0530 Save bytes 2013-07-19 16:32:53 -07:00
Jakub Vrana 9a7805c318 Link types help 2013-07-19 16:24:59 -07:00
Jakub Vrana c95be3adae Elastic: Shorten strings 2013-07-19 14:11:54 -07:00
Jakub Vrana 837e6b6b31 Elastic: Hide select functions 2013-07-19 14:11:54 -07:00
Jakub Vrana 9e2592f35f Ignore mousing over border of select 2013-07-19 13:04:14 -07:00
Jakub Vrana 32ff363ee3 Stay on privileges page when changing database 2013-07-19 12:51:34 -07:00
Jakub Vrana 3b3d169c72 Display help for functions and MySQL engines 2013-07-19 11:56:45 -07:00
Jakub Vrana a338f9bf58 Display help in tooltip
Also rename Analyze to Vacuum outside MySQL
2013-07-19 10:35:31 -07:00
Jakub Vrana b8ece2fb5d Don't crash when parsing overly long enum type 2013-07-18 13:28:35 -07:00
Jakub Vrana 6f6f69a891 Add links to documentation 2013-07-16 21:17:09 -07:00
Jakub Vrana feeda916f7 Don't append newlines to uploaded files 2013-07-13 18:36:27 -07:00
Jakub Vrana be6b7c6cac Allow using json_row() in HTML 2013-07-12 11:12:57 -07:00
Jakub Vrana 127b3f6154 SimpleDB: Display overflown table names 2013-07-12 08:33:13 -07:00
Jakub Vrana af4269f26d Remove number of selected rows from confirmation 2013-07-12 08:17:26 -07:00
Jakub Vrana e1ad0e4f39 Display number of selected databases 2013-07-12 08:17:26 -07:00
Jakub Vrana 4d7c675cab Highlight required fields in Chrome and after submit 2013-07-11 11:20:04 -07:00
Jakub Vrana 9ab32bdb3c Put SQL command and Dump on a single line 2013-07-11 11:20:03 -07:00
Jakub Vrana 20285c4550 Add editing row after writing first character 2013-07-11 11:20:03 -07:00
Jakub Vrana b788a9e69b Prepare Elasticsearch 2013-07-11 11:19:59 -07:00
Jakub Vrana 7a1133a2fd Generalize transactions 2013-07-09 11:43:01 -07:00
Jakub Vrana 56b0917acd Improve speed of CSV import 2013-07-09 11:36:00 -07:00
Jakub Vrana d17b17e515 Driver for SimpleDB 2013-07-09 10:54:43 -07:00
Jakub Vrana b7739dc0bd Abstract UPDATE 2013-07-09 10:34:52 -07:00
Jakub Vrana 1f7fa44923 Abstract DELETE, INSERT and INSERT+UPDATE 2013-07-09 10:34:52 -07:00
Jakub Vrana c3b3572d83 Make import link obvious 2013-07-09 00:34:34 -07:00
Jakub Vrana 406bc96cec Merge DB links 2013-07-09 00:34:33 -07:00
Jakub Vrana 340a1c2c2f Disable underlining links 2013-07-09 00:34:33 -07:00
Jakub Vrana ffc1fa000f Move logout button 2013-07-09 00:34:25 -07:00
Jakub Vrana 1a0ba88f8d Add button for dropping an index 2013-07-06 23:35:26 -07:00
Jakub Vrana 2f1b337d9e Add label to database selection 2013-07-06 23:12:12 -07:00
Jakub Vrana e7c79f8725 Mark length as required for strings
Uses <input formnovalidate> instead of <form novalidate> to highlight error fields.
2013-07-06 23:06:50 -07:00
Jakub Vrana 04a36e9af9 Add a new column in alter table on key press 2013-07-06 22:49:39 -07:00
Jakub Vrana 48356d8d4f Rename variable 2013-07-05 08:28:37 -07:00
Jakub Vrana f4addc5259 Avoid double escaping in second page title 2013-07-05 01:34:15 -07:00
Jakub Vrana 679e818fca Avoid double escaping in breadcrumbs 2013-07-04 21:07:52 -07:00
Jakub Vrana 063ddcced5 Fix counting rows with grouping outside MySQL 2013-07-03 18:40:55 -07:00
Jakub Vrana bc2001a939 Fix comment 2013-07-03 17:28:53 -07:00
Jakub Vrana 1aa3144d05 Use stricter regexp in URL 2013-07-03 10:34:19 -07:00
Jakub Vrana 877d9ba5ce PostgreSQL: Fix handling of nextval() default values (thanks to @ujovlado) 2013-07-02 09:20:06 -07:00
Jakub Vrana 749f51afe6 Save and continue edit by AJAX 2013-06-29 12:41:35 -07:00
Jakub Vrana ba1bb263b3 Release 3.7.1 2013-06-29 08:26:37 -07:00
Jakub Vrana 13f34d1ea9 Highlight table being altered in navigation 2013-06-25 10:12:10 -07:00
Jakub Vrana 2cf2021995 Open schema to new tab on Ctrl+click 2013-06-25 09:58:08 -07:00
Jakub Vrana 2e32bf1f97 Suggest using adminer.sql 2013-06-24 06:12:13 -07:00
Jakub Vrana 2e4a7121a9 Fix title and links on invalid table pages 2013-06-24 05:53:23 -07:00
Jakub Vrana 81e134f872 Send 404 for invalid database and schema 2013-06-24 05:43:13 -07:00
Jakub Vrana aae2289095 Simplify translation 2013-06-11 14:56:54 +02:00
Jakub Vrana 4660ff852c Suggest that Import is available in SQL command 2013-06-11 11:03:17 +02:00
Jakub Vrana f29a7cb140 Notify user about expired master password for permanent login 2013-06-11 11:02:17 +02:00
Jakub Vrana e80eb058e9 Support &null[]=F(c) 2013-06-04 19:42:46 -07:00
Jakub Vrana 7dd90f56f1 MySQL: Speed up updating rows without numeric or UTF-8 primary key 2013-06-04 19:40:17 -07:00
Jakub Vrana c05e332ca3 Sort languages 2013-06-03 10:00:16 -07:00
Jakub Vrana d100a1ed9a Fix Korean translation identifiers 2013-06-03 09:24:30 -07:00
dalli 21756c492a Add Korean translation 2013-06-03 09:23:58 -07:00
Jakub Vrana 26ad18bab2 Avoid duplicate values of HTML id attributes (bug #3614245)
Unsupports <label> in IE6.
2013-06-03 08:56:18 -07:00
Jakub Vrana e04be3a996 Handle timestamp PostgreSQL types (bug #3614086) 2013-05-29 17:24:27 -07:00
Jakub Vrana 68aba96c72 Increase click target for checkboxes (thanks to Roman) 2013-05-20 10:13:54 -07:00
Jakub Vrana bf94b88503 Use shadow for highlighting default button (thanks to srigi) 2013-05-20 09:13:06 -07:00
Jakub Vrana b51d4ab105 Release 3.7.0 2013-05-19 20:37:27 -07:00
Jakub Vrana 5a4d1b3704 Add server placeholder to login form 2013-05-17 14:08:15 -07:00
Jakub Vrana 982974fe27 Use ALTER VIEW and don't use temporary object if changing name 2013-05-13 11:12:28 -07:00
Jakub Vrana af30f59737 Don't use LIMIT 1 if updating unique row (bug #3613109) 2013-05-11 13:05:40 -07:00
Jakub Vrana c38655418b Simplify process_fields() 2013-05-08 11:43:53 -07:00
Jakub Vrana 046da00eb6 Strip trailing spaces 2013-05-08 11:29:19 -07:00
Jakub Vrana 6a41240c42 Move common function 2013-05-08 10:46:16 -07:00
Jakub Vrana e99463b295 Don't drop original view and routine before creating the new one 2013-05-08 07:55:08 -07:00
Jakub Vrana b7021c9c7f Highlight default submit button 2013-05-06 09:27:35 -07:00
Jakub Vrana 94a0cc8de8 Fix resetting search (bug #3612507) 2013-05-03 18:53:13 -07:00
Jakub Vrana 9c78b3bb34 Add empty lines to source code 2013-05-01 18:28:04 -07:00
Jakub Vrana 0e6003e833 Send export headers sooner 2013-05-01 09:44:07 -07:00
Jakub Vrana 601cdd43c1 Constraint memory used in TAR export 2013-05-01 09:33:23 -07:00
Jakub Vrana 40c61f6cfc Reduce memory used by TAR export 2013-04-29 15:45:15 -07:00
Jakub Vrana 63c400f95d Allow exporting views dependent on each other (bug #3459151) 2013-04-29 15:42:39 -07:00
Jakub Vrana 1ecdde0500 Remove bzip2 compression support
It didn't work for exports bigger than 1 MB.
An alternative would be to remove the limit from output buffer which would need memory for the whole export.
Another alternative would be to create a temporary file in output handler and bzwrite() to this file - that would work but it's complicated, especially if we want to output the file progressively - bzopen($tmp, 'w'), fopen($tmp, 'r').
2013-04-29 15:37:33 -07:00
Jakub Vrana 7f05141b89 Save memory in get_file() 2013-04-28 08:17:50 -07:00
Jakub Vrana f7e671448c Select only required routine columns (possible fix for bug #3515776) 2013-04-27 13:04:54 -07:00
Jakub Vrana 49c1484722 Display bit default value same as existing values 2013-04-26 23:21:09 -07:00
Jakub Vrana 7541ceb1ca Improve export of binary data types (bug #3526494) 2013-04-26 22:57:44 -07:00
Jakub Vrana 2afd915f00 Save bytes 2013-04-26 22:22:38 -07:00
Jakub Vrana e24d1fcb02 Optimize table_status() 2013-04-26 22:19:54 -07:00
Jakub Vrana b0b4cb1576 Allow more SQL files to be uploaded at the same time (thanks to Frantisek Svoboda) 2013-04-26 13:26:08 -07:00
Jakub Vrana ada8917e43 Rename = edit operator to SQL 2013-04-26 12:20:47 -07:00
Jakub Vrana e287642e26 Rename empty select operator to SQL 2013-04-26 12:20:17 -07:00
Jakub Vrana 741cd5b4b6 Fix handling of POINT data type (bug #3582578) 2013-04-26 11:42:18 -07:00
Jakub Vrana 01a2722c94 Print run time next to executed queries 2013-04-25 23:41:46 -07:00
Jakub Vrana 3bc5c17d03 Develop 2013-04-25 19:00:37 -07:00
Jakub Vrana a199998f54 Fix documentation comment 2013-04-25 18:19:27 -07:00
Jakub Vrana c4040f03d9 Release 3.6.4 2013-04-25 17:53:50 -07:00
Jakub Vrana c270a06fb1 Fix unsetting permanent login after logout 2013-04-24 18:27:18 -07:00
Jakub Vrana 46a7e7eea0 Selectable ON UPDATE CURRENT_TIMESTAMP field in create table 2013-04-17 09:41:58 -07:00
Jakub Vrana a8947b62b8 Avoid using same id="" in more messages 2013-04-16 17:53:53 -07:00
Jakub Vrana 285afc202a Increase default select limit to 50 2013-04-15 14:45:49 -07:00
Jakub Vrana fee31e73c1 Display help cursor over documentation links 2013-04-04 18:45:54 -07:00
Jakub Vrana 3093f58157 Clear column name after resetting search (bug #3601200) 2013-04-04 18:32:05 -07:00
Jakub Vrana 1a1b800b40 Edit select SQL query on Ctrl+click 2013-04-04 18:15:18 -07:00
Jakub Vrana e4d5835dab Open database to a new window after selecting it with Ctrl 2013-04-04 10:35:15 -07:00
Jakub Vrana aba9d23ba2 Move comment 2013-04-04 09:44:48 -07:00
Jakub Vrana 190812456f Move ALTER export to plugin 2013-04-04 09:42:02 -07:00
Jakub Vrana cb57afd0e5 Handle empty integer values in SQLite export 2013-04-03 10:41:14 -07:00
Jakub Vrana b14a2a5330 Revert "Order by auto_increment column by default"
This reverts commit 79b61855e5.
2013-04-03 10:41:05 -07:00
Jakub Vrana c69d9fcfdf Delete confusing link to the last page 2013-04-02 18:40:07 -07:00
Jakub Vrana 79b61855e5 Order by auto_increment column by default 2013-04-02 18:15:35 -07:00
Jakub Vrana 7769cab32c Handle max_input_vars and generalize Suhosin compatibility 2013-04-02 18:14:27 -07:00
Jakub Vrana 5d68a29b3e Open full edit SQL with Ctrl 2013-04-01 11:22:20 -07:00
Jakub Vrana e1545065f0 Display select SQL edit form inline 2013-03-26 10:11:35 -07:00
Jakub Vrana 2b2d6987ef Compatibility with MySQL 5.6 2013-02-20 03:40:20 -08:00
Jakub Vrana 8caa889635 Add iOS touch icon 2013-02-19 16:31:51 -08:00
Jakub Vrana 737c2bdc0e Recover original view, trigger, routine if creating fails (bug #3601088) 2013-01-30 23:47:53 -08:00
Jakub Vrana f86cb5f837 Use autocapitalize="off" 2013-01-30 23:47:53 -08:00
Jakub Vrana 51b7104342 Allow editing function results 2013-01-30 23:47:52 -08:00
Jakub Vrana 15e83e9396 Fix displaying length of blob columns 2013-01-30 23:47:52 -08:00
Jakub Vrana 632cc7c014 Release 3.6.3 2013-01-23 01:23:45 -08:00
Jakub Vrana f6e1c589f9 Allow specifying external links (bug #3392685) 2013-01-11 12:46:44 -08:00
Jakub Vrana 61dc40a512 Fix PDO error handling 2013-01-10 13:01:48 -08:00
Jakub Vrana 0cd81fddb0 Use function instead of INI for multibyte encoding 2013-01-09 22:41:46 -08:00
Jakub Vrana a9262d8752 Display error code in SQL query 2013-01-09 22:19:38 -08:00
Jakub Vrana 588cb7c0c3 Don't use type="number" for decimal numbers
Google Chrome formats decimal point according to locale, treats it as invalid character and trims full stop
2013-01-09 18:42:46 -08:00
Jakub Vrana b5ad37ff2b Treat Meta key same as Ctrl (bug #3599405) 2013-01-09 17:38:53 -08:00
Jakub Vrana 8bf02f2ce1 Release 3.6.2 2012-12-20 21:16:39 -08:00
Jakub Vrana 2703eb960a Allow editing values with significant binary column (bug #3572781) 2012-12-11 21:25:56 -08:00
Jakub Vrana f7f553a947 Escape links 2012-12-05 15:29:57 -08:00
Jakub Vrana 2fb1ebc7f1 HTML5 input fields 2012-12-05 13:17:42 -08:00
Jakub Vrana ebdecd288b Work with mbstring.func_overload (#3572361) 2012-12-01 15:57:04 -08:00
Jakub Vrana ee8ffa575f Prolong comment length (thanks to Martin Dzubak) 2012-12-01 15:00:37 -08:00
Jakub Vrana 7015fd9706 Don't select row on double click 2012-10-04 00:42:56 -07:00
Jakub Vrana 75c430a986 Revert "Unuse binary characters"
This reverts commit f3c59bb3a5.
2012-09-26 21:45:04 -07:00
Jakub Vrana 8ec3e5fcda Display table default values on wide screens 2012-09-22 12:24:16 -07:00
Jakub Vrana b684569f7c Shorten varchar fields 2012-09-22 07:34:51 -07:00
Jakub Vrana 996bfc396b Fix switching language on first load 2012-09-22 06:22:44 -07:00
Jakub Vrana f3c59bb3a5 Unuse binary characters 2012-09-22 06:12:56 -07:00
Jakub Vrana 189895ad0f Develop 2012-09-17 15:45:33 -07:00
Jakub Vrana 86b0fbf529 Release 3.6.1 2012-09-17 15:33:09 -07:00
Jakub Vrana 534f4ee5cc Fix doc comments 2012-09-16 06:43:55 -07:00
Jakub Vrana 55c757a59a Develop 2012-09-16 06:43:16 -07:00
Jakub Vrana 63872de0f9 Release 3.6.0 2012-09-16 06:22:20 -07:00
Jakub Vrana 57d0c4c6f5 Fix switching language in compiled version 2012-09-16 06:09:36 -07:00
Jakub Vrana 312075d01f Search non-ASCII data only in text columns (bug #3564415) 2012-09-09 11:03:02 -07:00
Jakub Vrana d5400234f0 MySQL: Support geometry data types 2012-09-08 23:43:22 -07:00
Jakub Vrana 31a608e398 MySQL: Unsupport hex function 2012-09-08 22:39:52 -07:00
Jakub Vrana a0d00cf732 Store database to permanent login 2012-09-08 21:30:30 -07:00
Jakub Vrana 741c073c95 Unset wrong login from permanent logins 2012-09-08 20:54:02 -07:00
Jakub Vrana caa9f490af Compress CSS 2012-09-07 08:38:10 -07:00