Commit graph

159 commits

Author SHA1 Message Date
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 35b1db6974 Move inline event handlers to <script> 2018-01-12 17:11:29 +01:00
Jakub Vrana e645693147 Use script() for <script> 2018-01-12 17:10:33 +01:00
Jakub Vrana 7305783c21 Return false from toggle() 2018-01-12 17:09:41 +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 58b2904d62 Use querySelector 2018-01-11 13:55:48 +01:00
Jakub Vrana 3cbece1ec0 Fix SQL command autofocus 2017-04-09 12:30:34 +02:00
Mathieu Rochette 4cfe6263d9 fix logger for SQL commands 2017-02-19 11:00:07 +01:00
Jakub Vrana a5b65fba5b Fix remote execution in SQLite query (thanks to Vincent Waart) 2016-06-01 09:56:40 -07:00
Jakub Vrana e5352cc5ac Fix remote execution in SQLite query (discovered by 庞申杰(千霄)) 2016-02-06 11:00:19 -08:00
Jakub Vrana a2f0806804 Delete unused variable and method 2016-01-24 14:25:17 -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 033b967505 Clarify that global import supports only SQL 2014-06-15 18:43:45 +02: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 f301fc2dcd Allow \r after -- comment 2014-01-11 12:22:54 -08:00
Jakub Vrana b99148daeb Show only errors by default in import 2014-01-11 12:17:25 -08:00
Jakub Vrana a564bba261 Protect CSRF token against BREACH 2013-10-24 19:10:50 -07:00
Jakub Vrana 28856804a4 Simplify format_time() 2013-08-08 17:20:18 -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 cbd690dd71 Execute query by Tab + Enter 2013-07-24 12:57:12 -07:00
Jakub Vrana 6f6f69a891 Add links to documentation 2013-07-16 21:17:09 -07:00
Jakub Vrana b7021c9c7f Highlight default submit button 2013-05-06 09:27:35 -07:00
Jakub Vrana 9c78b3bb34 Add empty lines to source code 2013-05-01 18:28:04 -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 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 e8e95e5fd7 Display SQL history from oldest 2013-04-16 09:50:32 -07:00
Jakub Vrana 7769cab32c Handle max_input_vars and generalize Suhosin compatibility 2013-04-02 18:14:27 -07:00
Jakub Vrana a9262d8752 Display error code in SQL query 2013-01-09 22:19:38 -08:00
Jakub Vrana a5548ce823 Display date in SQL history (thanks to trestna smradlavice) 2012-12-01 10:01:09 -08:00
Jakub Vrana de451010b1 Fix SQL query history 2012-09-07 11:54:02 -07:00
Jakub Vrana 5e0038b62d Improve session management 2012-08-19 13:42:13 -07:00
Jakub Vrana 7fcfb0d16a Don't include trailing space to delimiter 2012-08-09 08:39:54 -07:00
Jakub Vrana a71b99096c Remove CodeMirror
- uses other colors than JUSH
- not used everywhere (triggers, routines, ...)
- Ctrl+Left and similar works bad
- missing autocomplete
- blocking loader
2012-06-30 01:51:35 -07:00
Jakub Vrana f498219f29 Remove eventStop() used by AJAXification in past 2012-05-14 02:22:44 -07:00
Jakub Vrana 17ef1f0dfc Highlight keywords in PL/SQL CodeMirror 2012-05-13 22:56:56 -07:00
Jakub Vrana 20e11be093 Initialize variable used in textarea highlighting 2012-05-13 15:26:42 -07:00
Jakub Vrana b16bb54219 Save assignment if not necessary 2012-04-29 17:54:18 -07:00
Jakub Vrana 047ce184f5 Highlight line with error in SQL command 2012-04-17 13:51:20 -07:00
Jakub Vrana bf54c13dfe Highlight code in textarea by CodeMirror 2012-04-15 22:00:33 -07:00
Jakub Vrana 48df7aa1c9 Link to original table in EXPLAIN of SELECT * FROM table t 2012-04-15 10:53:40 -07:00
Jakub Vrana 24c51fe11f Print current time next to executed SQL queries 2012-03-26 23:21:38 -07:00
Jakub Vrana 998e2f5027 Ignore whitespace after semicolon 2011-09-12 21:14:22 +02:00
Jakub Vrana dd85aa5d6a Error in case of found string at end of chunk (thanks to simonik) 2011-08-29 15:58:53 +02:00
Jakub Vrana 9d944c8fc1 Respect original memory_limit 2011-08-24 14:16:11 +02:00
Jakub Vrana 74e199e488 DELIMITER is used internally by Adminer 2011-08-10 18:13:35 +02:00
Jakub Vrana 52c15bf251 Fix Stop on error
Broken since commit 5576d84980
2011-08-05 17:47:33 +02:00
Jakub Vrana 55223eb10c Avoid infinite loop 2011-08-05 09:01:36 +02:00