Commit graph

1751 commits

Author SHA1 Message Date
Jakub Vrana 6e839eddbb Elastic: Respect limit, page, order, select and first where 2013-07-19 14:11:44 -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 0be7532b70 Link help of partitioning types 2013-07-19 12:37:12 -07:00
Jakub Vrana 3b3d169c72 Display help for functions and MySQL engines 2013-07-19 11:56:45 -07:00
Jakub Vrana f8453fe65c Introduce getTarget(event) 2013-07-19 10:41:06 -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 dec121d455 Save by Enter key when altering a routine 2013-07-15 10:13:41 -07:00
Jakub Vrana 10c7c4eb93 Don't change colors of JUSH links on hover 2013-07-15 09:15:10 -07:00
Jakub Vrana feeda916f7 Don't append newlines to uploaded files 2013-07-13 18:36:27 -07:00
Jakub Vrana ffb2b5e80c Fix whitespace 2013-07-13 11:23:43 -07:00
Jakub Vrana 9b32d638bb Use isTag() JS function 2013-07-12 14:06:44 -07:00
Jakub Vrana be6b7c6cac Allow using json_row() in HTML 2013-07-12 11:12:57 -07:00
Jakub Vrana 352f29804e SimpleDB: Disable searching database 2013-07-12 10:39:52 -07:00
Jakub Vrana 127b3f6154 SimpleDB: Display overflown table names 2013-07-12 08:33:13 -07:00
Jakub Vrana 75439423d9 SimpleDB: Disable searching database 2013-07-12 08:17:26 -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 5328619593 Format numbers in JS 2013-07-12 08:17:26 -07:00
Jakub Vrana 36d839cf28 Mark approximate number of selected rows 2013-07-12 08:17:26 -07:00
Jakub Vrana 166a2f67f8 Disable inactive buttons 2013-07-12 08:17:26 -07:00
Jakub Vrana 999215a7e9 Fix duplicate class in partitions 2013-07-11 11:20:04 -07:00
Jakub Vrana 0ec2fbb4d4 Use alterClass() 2013-07-11 11:20:04 -07:00
Jakub Vrana 4d7c675cab Highlight required fields in Chrome and after submit 2013-07-11 11:20:04 -07:00
Jakub Vrana bbc2c6a9da Fix Enter key on indexes 2013-07-11 11:20:04 -07:00
Jakub Vrana 73225975d7 Display number of tables to search in 2013-07-11 11:20:03 -07:00
Jakub Vrana 491cdefc84 Display number of rows to export 2013-07-11 11:20:03 -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 07db5e0bfb Style icon in create database 2013-07-11 11:20:03 -07:00
Jakub Vrana b788a9e69b Prepare Elasticsearch 2013-07-11 11:19:59 -07:00
Jakub Vrana fc427f4f3a Add more class="links" 2013-07-09 16:44:00 -07:00
Jakub Vrana e80754a191 Save bytes 2013-07-09 16:37:10 -07:00
Jakub Vrana 89b366bc1b Display number of selected tables in database overview 2013-07-09 12:06:53 -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 9de402aaf0 Prepare for multi insertUpdate() 2013-07-09 11:01:21 -07:00
Jakub Vrana e5dad4ade2 SimpleDB: Implement insertUpdate() 2013-07-09 10:57:07 -07:00
Jakub Vrana c1b0ecda3e SimpleDB: Handle XML error 2013-07-09 10:54:54 -07:00
Jakub Vrana c6b4f2e1d3 SimpleDB: Compute number of affected rows 2013-07-09 10:54:54 -07:00
Jakub Vrana 1060a3f9eb Move SimpleDB fields computation 2013-07-09 10:54:54 -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 5557adf289 Use colors in icons 2013-07-09 00:40:41 -07:00
Jakub Vrana ab80a40269 Fix JS error in trCheck() on DB overview 2013-07-09 00:34:34 -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 c2a3bec036 Display number of selected rows 2013-07-08 15:27:53 -07:00
Jakub Vrana 10f500dfea Split actions for modified and selected rows 2013-07-08 15:12:17 -07:00
Jakub Vrana 19c4890018 Fix JS error with no found rows 2013-07-08 10:55:13 -07:00
Jakub Vrana 219a3c51c8 Require length when changing type from char to varchar 2013-07-08 10:23:49 -07:00
Jakub Vrana 4285d73bbc Don't select FULLTEXT index by default (regression from Adminer 3.7.1) 2013-07-06 23:59:02 -07:00
Jakub Vrana 5f9069cc1b Unhighlight default button after canceling inline edit 2013-07-06 23:53:03 -07:00
Jakub Vrana 22b0a85acf Ignore lengths in adding new index 2013-07-06 23:42:37 -07:00
Jakub Vrana 7c109ba274 Move button for adding an index 2013-07-06 23:42:04 -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 6a551c2d73 Update Polish translation (thanks to @srsbiz) 2013-07-06 14:47:36 -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 4a6b289c8e Respect grouping in computing last page 2013-07-03 18:14:32 -07:00
Jakub Vrana bc2001a939 Fix comment 2013-07-03 17:28:53 -07:00
Jakub Vrana 273712ad72 Save bytes 2013-07-03 14:52:11 -07:00
Jakub Vrana 6948350552 Use drop_tables() 2013-07-03 12:32:52 -07:00
Jakub Vrana 1aa3144d05 Use stricter regexp in URL 2013-07-03 10:34:19 -07:00
Jakub Vrana 9bfc2a311c Fix comment 2013-07-03 10:32:31 -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 82a63f335b SQLite: Load information about descending indexes 2013-06-25 15:28:57 -07:00
Jakub Vrana 50d2054e36 PostgreSQL: Properly mark ascending index columns 2013-06-25 15:01:38 -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 5f370927f1 Descending indexes 2013-06-25 09:42:47 -07:00
Jakub Vrana c8248bb19c Allow changing PostgreSQL indexes with same name 2013-06-24 17:54:04 -07:00
Jakub Vrana 3a8191b7ac SQLite: Preselect index type after adding a column 2013-06-24 10:04:59 -07:00
Jakub Vrana 7dd454f0b4 Allow changing SQLite indexes with same name 2013-06-24 10:04:07 -07:00
Jakub Vrana e51640eb98 Display error on invalid alter table and view pages 2013-06-24 09:08:26 -07:00
Jakub Vrana 2e32bf1f97 Suggest using adminer.sql 2013-06-24 06:12:13 -07:00
Jakub Vrana 27c7a218bd Save bytes 2013-06-24 05:53:48 -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 8e0ead4678 Verify UTF-8 encoding of CSV import 2013-06-03 14:57:26 -07:00
Jakub Vrana c05e332ca3 Sort languages 2013-06-03 10:00:16 -07:00
Jakub Vrana 717f4535a9 Fix Korean date format and hint 2013-06-03 09:46:55 -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 0869ff02c6 Stricter check 2013-05-28 11:23:48 -07:00
Jakub Vrana 1dc9044ff4 Order table list by name (bug #3613974) 2013-05-28 11:14:15 -07:00
Jakub Vrana 5eb3eaa06e Add Bzip2 export plugin 2013-05-28 10:28:47 -07:00
Jakub Vrana 55c494b767 Don't use LIMIT 1 if inline updating unique row 2013-05-24 13:38:54 -07:00
Jakub Vrana 005c963e2d Fix detecting oid column in PDO_PGSQL 2013-05-23 21:05:45 -07:00
Jakub Vrana 15e698d302 Order PostgreSQL table list by name 2013-05-23 09:22:12 -07:00
Jakub Vrana 7be9d5c7ca Simplify box-shadow 2013-05-20 10:58:06 -07:00
Jakub Vrana 2dfe2640db Don't highlight rows in uncheckable tables 2013-05-20 10:14:04 -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 fabfb8a0bc Get number of rows on export page asynchronously 2013-05-17 17:40:08 -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 3ed0ce926c Fix table links for existing but invalid views 2013-05-13 10:12:13 -07:00
Jakub Vrana 65fae98558 Don't rely on 't' and 'f' PostgreSQL boolean return values
https://sourceforge.net/projects/adminer/forums/forum/1095138/topic/8119905
2013-05-13 08:40:06 -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 2f996ba014 Restrict editing rows without unique identifier to search results 2013-05-11 12:47:04 -07:00
Jakub Vrana b7e0f1d81c Fix EXPLAIN in MySQL < 5.1, bug since Adminer 3.6.4 (thanks to Coudy) 2013-05-11 08:02:28 -07:00
Jakub Vrana 20915b1764 Save bytes 2013-05-08 12:13:04 -07:00
Jakub Vrana 516416e72b Fix tables list in Editor 2013-05-08 11:58:21 -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 22f0a5ded8 Display navigation bellow main content on mobile browsers 2013-05-08 11:27:20 -07:00
Jakub Vrana 6a41240c42 Move common function 2013-05-08 10:46:16 -07:00
Jakub Vrana a09916737e Simplify initializing post variables 2013-05-08 08:54:26 -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 34adf46293 Export SQLite views 2013-04-29 15:37:50 -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 5eda7e547f Add anchors to database and table sections to allow linking 2013-04-27 23:17:07 -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 d97ae22fb4 Properly unescape apostrophe in column name 2013-04-26 23:25:35 -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 5a0be7e7fe Convert fields with selected columns 2013-04-26 22:20:04 -07:00
Jakub Vrana e24d1fcb02 Optimize table_status() 2013-04-26 22:19:54 -07:00
Jakub Vrana 3cae3e2f7f Fix LIKE backslash escaping 2013-04-26 19:34:15 -07:00
Jakub Vrana fd5e6ef343 Use standard view detection in schema 2013-04-26 19:34:15 -07:00