Commit graph

361 commits

Author SHA1 Message Date
Jakub Vrana a0a1476e5b Fix where() escaping in MS SQL (bug #496) 2017-02-20 15:23:22 +01:00
Adam Kuśmierz a062e9cc58 Checkbox for bool in psql 2017-02-20 12:31:36 +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
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
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 2cee788ad3 Add accessibility labels to Indexes 2017-01-23 14:29:00 -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 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 a248f8b008 Change protocol to HTTPS 2015-09-08 11:41:29 -07:00
Jakub Vrana 2e4b8c1d36 Fix version needed for utf8mb4 (thanks to dg) 2015-01-11 10:09:41 -08:00
Jakub Vrana 8bd53120df Fix handling of 64 bit numbers in auto_increment 2014-11-24 18:17:43 -08:00
Jakub Vrana 37c8a3a123 Report offline and other AJAX errors (bug #419) 2014-09-14 15:47:09 -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
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 e62fc3a07b Preserve null byte in HTML 2014-05-02 10:27:00 -07:00
Jakub Vrana 0c8cd8e5f7 Fix doc comment 2014-04-18 09:10:17 -07:00
Jakub Vrana 96c8e6fb71 Use rel=noreferrer in WebKit 2014-03-26 09:00:21 -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 4d491d704e Translate numbers in ar, bn, fa 2014-03-19 21:56:42 -07:00
Jakub Vrana fc668ea326 Simplify format_time() 2014-03-15 11:02:14 -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 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 1602db304a Document password functions 2014-02-19 09:27:22 -08:00
Jakub Vrana 63a04ff753 MongoDB: alter indexes form 2014-01-11 19:15:21 -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 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 683f6eefc7 Don't use type=number if a SQL function is used 2014-01-08 09:07:58 -08:00
Jakub Vrana a41ee665e9 Move function used in Editor 2013-12-19 12:55:53 -08:00
Jakub Vrana 8d9ef7afd2 Differentiate views in navigation (thanks to Petr Kobelka) 2013-10-24 22:04:57 -07:00
Jakub Vrana a564bba261 Protect CSRF token against BREACH 2013-10-24 19:10:50 -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 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 28856804a4 Simplify format_time() 2013-08-08 17:20:18 -07:00
Jakub Vrana 9ffca2f6e6 SimpleDB: Allow selecting arrays 2013-08-08 13:52:04 -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 c95be3adae Elastic: Shorten strings 2013-07-19 14:11:54 -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 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 af4269f26d Remove number of selected rows from confirmation 2013-07-12 08:17:26 -07:00
Jakub Vrana d17b17e515 Driver for SimpleDB 2013-07-09 10:54:43 -07:00
Jakub Vrana 48356d8d4f Rename variable 2013-07-05 08:28:37 -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 2e4a7121a9 Fix title and links on invalid table pages 2013-06-24 05:53:23 -07: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 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 af30f59737 Don't use LIMIT 1 if updating unique row (bug #3613109) 2013-05-11 13:05:40 -07:00
Jakub Vrana 6a41240c42 Move common function 2013-05-08 10:46:16 -07:00
Jakub Vrana 0e6003e833 Send export headers sooner 2013-05-01 09:44:07 -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 7541ceb1ca Improve export of binary data types (bug #3526494) 2013-04-26 22:57:44 -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 01a2722c94 Print run time next to executed queries 2013-04-25 23:41:46 -07:00
Jakub Vrana 2b2d6987ef Compatibility with MySQL 5.6 2013-02-20 03:40:20 -08:00
Jakub Vrana 51b7104342 Allow editing function results 2013-01-30 23:47:52 -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 2703eb960a Allow editing values with significant binary column (bug #3572781) 2012-12-11 21:25:56 -08:00
Jakub Vrana 2fb1ebc7f1 HTML5 input fields 2012-12-05 13:17:42 -08:00
Jakub Vrana 75c430a986 Revert "Unuse binary characters"
This reverts commit f3c59bb3a5.
2012-09-26 21:45:04 -07:00
Jakub Vrana b684569f7c Shorten varchar fields 2012-09-22 07:34:51 -07:00
Jakub Vrana f3c59bb3a5 Unuse binary characters 2012-09-22 06:12:56 -07:00
Jakub Vrana 534f4ee5cc Fix doc comments 2012-09-16 06:43:55 -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 caa9f490af Compress CSS 2012-09-07 08:38:10 -07:00
Jakub Vrana 09d81ffee9 Simplify load more data buffering 2012-09-07 08:21:35 -07:00
Jakub Vrana ef0cb38aa1 Support Editor 2012-08-19 23:31:46 -07:00
Jakub Vrana ea6d6e0d44 Simplify slow queries 2012-08-19 21:55:00 -07:00
Jakub Vrana 72b801513b Load more data in select 2012-08-19 20:32:53 -07:00
Jakub Vrana 6a7021db28 Time out long running select count 2012-08-19 19:42:37 -07:00
Jakub Vrana 1f53cd3386 Time out long running database list 2012-08-19 19:35:11 -07:00
Jakub Vrana 5e0038b62d Improve session management 2012-08-19 13:42:13 -07:00
Jakub Vrana f0d97a7c7f Edit strings with \n in textarea 2012-08-11 21:45:09 -07:00
Jakub Vrana b78b0cd109 Plugin for including date in export filename 2012-06-29 14:41:47 -07:00
Jakub Vrana 5b57706890 Customizable export filename 2012-06-29 12:25:05 -07:00
Jakub Vrana f498219f29 Remove eventStop() used by AJAXification in past 2012-05-14 02:22:44 -07:00