Commit graph

391 commits

Author SHA1 Message Date
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
Jakub Vrana 8be29afb9b Allow specifying database in login form (bug #3499359) 2012-05-14 01:11:09 -07:00
Jakub Vrana 6591d485e9 Replace isset($var) by $var !== null 2012-05-14 01:11:08 -07:00
Jakub Vrana 4815c7d020 Don't use AJAX links and forms 2012-04-15 22:22:47 -07:00
Jakub Vrana 6bcbb0f1d8 Don't report previous error on primary connection 2012-02-23 22:58:40 -08:00
Jakub Vrana 3c5c08e793 Don't use LIKE for numbers in SQLite (bug #3420408) 2011-12-22 00:32:42 -08:00
Jakub Vrana af3b762067 Don't use LIKE for numbers (http://forum.zdrojak.root.cz/index.php?topic=567) 2011-12-21 23:35:50 -08:00
Jakub Vrana 9d944c8fc1 Respect original memory_limit 2011-08-24 14:16:11 +02:00
Jakub Vrana 71e0db4106 Log to "$database.sql" by default 2011-08-10 18:10:23 +02:00
Jakub Vrana f80e15f987 Typo 2011-07-27 09:08:53 +02:00
Jakub Vrana 4b4055432d Reorganize functions 2011-07-27 09:04:43 +02:00
Jakub Vrana be4f2ef76c More thorough escaping 2011-07-27 08:58:07 +02:00
Jakub Vrana 037c547365 Fix XSS (thanks to Jigal van Hemert) 2011-07-27 08:01:51 +02:00
Jakub Vrana 83d82d6eee Pass $filter to remove_slashes (thanks to juzna) 2011-07-22 13:37:01 +02:00
Jakub Vrana 0474c21108 Hide null byte in HTML (bug #3358372) 2011-07-11 11:32:44 +02:00
Jakub Vrana d26fb6276e Backslash is special with LIKE (bug #3344307) 2011-06-29 17:37:57 +02:00
Jakub Vrana d9c2e80100 Show only errors with Webserver file 2011-06-15 17:16:13 +02:00
Jakub Vrana c0c21d4d12 Preserve original timestamp value in multiple update (bug #3312614) 2011-06-08 12:48:39 +02:00
Jakub Vrana 3a148454c1 Respect defaults and comments checkbox after post (bug #3311791) 2011-06-07 15:00:18 +02:00
Jakub Vrana 5792eabd9b Use server name for server dump 2011-04-20 17:20:00 +02:00
Jakub Vrana b5cbbce3cd Save memory 2011-03-25 13:36:12 +01:00
Jakub Vrana 5ee14079b8 Avoid double escaping 2011-03-24 02:19:21 +01:00
Jakub Vrana 2e6ad2037f Display ; in history (thanks to Jan Cerny) 2011-03-22 15:37:40 +01:00
Jakub Vrana 7d152fbabf Utilize bodyKeydown function 2011-03-21 13:53:48 +01:00
Jakub Vrana 2f76084bbd Avoid big ternary operator (saves memory) 2011-03-21 10:06:27 +01:00
Jakub Vrana 266d83215d Hide JS only elements with disabled JavaScript 2011-03-18 15:03:41 +01:00
Jakub Vrana 622845b096 Disable maxlength with edit functions 2011-03-18 09:08:27 +01:00
Jakub Vrana d06de5512e Use DELIMITER in history 2011-03-10 00:36:22 +01:00
Jakub Vrana 071e6a2408 Work in IE8
Revert "Handle keypress instead of keydown (bug #3112458)"
This reverts commit 71438d57c3.
2011-03-08 13:14:36 +01:00
Jakub Vrana 9ff10f8301 Parse UTF-16 and UTF-8 BOM in all text uploads 2011-03-07 14:27:03 +01:00
Jakub Vrana 8ab6fffe74 Centralize dump_headers 2011-02-17 11:43:21 +01:00
Jakub Vrana 045bce3c9f Use editVal for set values 2011-02-10 11:05:40 +01:00
Jakub Vrana 806264851e Use IS NULL operator for null value in where_link function 2011-02-08 19:59:16 +01:00
Jakub Vrana a379bde2a4 Save bytes 2011-02-03 10:15:52 +01:00
Jakub Vrana 79fa7dab3b Minimize the chance of displaying message on different page (thanks to Tomas Brukner) 2011-01-31 20:09:08 +01:00
Jakub Vrana e26b1864e3 Avoid fatal error (bug #3110257) 2011-01-31 15:49:07 +01:00
Jakub Vrana fdea1970d0 Simplify AJAX redirect 2011-01-25 16:13:31 +01:00
Jakub Vrana 684e70d07a Search for empty enum 2011-01-21 17:36:56 +01:00
Jakub Vrana c0682062ca Use $adminer->editVal in enum_input function 2011-01-18 14:06:23 +01:00
Jakub Vrana 13155372b5 No error for big text length (bug #264133) 2011-01-10 17:23:47 +01:00
Jakub Vrana 876af58944 Fix sid function 2010-12-30 10:58:26 +01:00
Jakub Vrana 850d1aa130 Report errors only 2010-12-29 17:28:53 +01:00
Jakub Vrana f30fd121c1 Work without session.use_cookies (bug #3138640) 2010-12-20 18:09:13 +01:00
Jakub Vrana 0449351a60 Report errors only in primary connection 2010-12-17 18:25:24 +01:00
Jakub Vrana be58b9cdbc Escape \n in JSON 2010-12-16 22:52:03 +01:00
Jakub Vrana 02d6b90889 CR+LF in CSV export 2010-12-01 09:39:47 +01:00
Jakub Vrana 9f69d7ae93 MS SQL: Do not update AI value 2010-11-29 22:02:10 +01:00
Jakub Vrana b7cd6520af No AJAX in drop table, drop database and logout 2010-11-26 10:58:22 +01:00
Jakub Vrana 8ce9ba616d Don't rely on headers_sent 2010-11-25 10:40:16 +01:00
Jakub Vrana 38894b2977 Send all forms by AJAX 2010-11-23 13:01:30 +01:00
Jakub Vrana 6585b23ba8 Generic AJAX links 2010-11-22 18:00:53 +01:00
Jakub Vrana 8ad4809bc0 Use class="active" instead of <b> 2010-11-22 18:00:53 +01:00
Jakub Vrana 71438d57c3 Handle keypress instead of keydown (bug #3112458) 2010-11-19 15:07:06 +01:00
Jakub Vrana 9802869d0a Merge from master 2010-11-12 17:52:09 +01:00
Jakub Vrana b535853694 Full AJAX only with pushState to work correctly with history 2010-11-12 17:09:54 +01:00
Jakub Vrana e225d22f97 TSV export and import (bug #3097657) 2010-10-29 18:02:20 +02:00
Jakub Vrana 753909ecea Support for virtual foreign keys 2010-10-29 14:01:19 +02:00
Jakub Vrana fe0690851f Allow redefining editInput for enum (bug #3048711) 2010-10-23 00:28:48 +02:00
Jakub Vrana 5002b89bd5 Big numbers without E 2010-10-23 00:02:24 +02:00
Jakub Vrana 04eccbad62 Allow bigger numbers under 32 bits 2010-10-22 23:36:56 +02:00
Jakub Vrana 28f21aaa6c Escape JavaScript strings (bug #3093243) 2010-10-22 23:07:30 +02:00
Jakub Vrana b37435d716 Don't use AJAX with Ctrl 2010-10-20 00:15:33 +02:00
Jakub Vrana dfa1a98829 Merge branch 'master' into ajax 2010-10-19 01:45:48 +02:00
Jakub Vrana c313dd83a2 Deferred operations by AJAX instead of JS (doesn't require sending token) 2010-10-19 01:40:49 +02:00
Jakub Vrana a93bc19108 Create confirm function 2010-10-18 23:57:39 +02:00
Jakub Vrana 6e3c7cba1f Use AJAX for pagination 2010-10-18 22:39:17 +02:00
Jakub Vrana 390e38b8f5 Load long texts for inline-edit by AJAX
Display link to current page only under AJAX
2010-10-18 13:57:22 +02:00
Jakub Vrana de24145d81 Clear POST with AJAX redirect 2010-10-18 00:05:39 +02:00
Jakub Vrana ea38096433 Merge from master 2010-10-17 07:55:58 +02:00
Jakub Vrana a6bbe1bb3b Save select data by AJAX 2010-10-17 07:50:40 +02:00
Jakub Vrana 644c355d94 Send the form by Ctrl+Enter in all textareas 2010-10-17 07:16:32 +02:00