Commit graph

183 commits

Author SHA1 Message Date
Jakub Vrana a1927d5b71 Allow specifying server name displayed in breadcrumbs 2018-02-08 14:32:21 +01:00
Jakub Vrana d322e0165b Remove .lcZ from timeFormat (bug #593) 2018-02-08 11:52:11 +01:00
Jakub Vrana c8bb112a5d Select original if nothing else is selected 2018-02-07 12:46:43 +01:00
Jakub Vrana 06660882b5 Remove nested array 2018-02-07 12:42:46 +01:00
Jakub Vrana 42eec7d728 Support connecting to MySQL via SSL 2018-02-07 12:13:58 +01:00
Jakub Vrana 11a7fc0277 Pass required parameter 2018-02-06 12:00:22 +01:00
Jakub Vrana de539cf0c7 Use existing variable 2018-02-06 11:57:02 +01:00
Jakub Vrana ae91088cb3 Don't display warnings for failed queries 2018-02-01 13:16:37 +01:00
Jakub Vrana d667f585e0 Pass start time to selectQuery 2018-02-01 11:54:56 +01:00
Jakub Vrana 4de6e3180d Stop redirecting links via adminer.org 2018-01-31 11:11:34 +01:00
Steven Adger a003866a55 Update compatibility with TinyMCE v4 (#247) 2018-01-29 18:09:35 +01:00
Jakub Vrana 75413c56d2 Add designs.php 2018-01-23 14:36:32 +01:00
Jakub Vrana 6d774794c8 Add plugin for switching designs 2018-01-23 12:15:38 +01:00
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 43ccfcef8f Display newlines in column comments (bug #573) 2018-01-22 21:05:56 +01:00
Jakub Vrana 923c0ffc87 Fix whitespace 2018-01-22 13:51:47 +01:00
Jakub Vrana 2dcad1f284 Define JS functions in AdminerTablesFilter sooner 2018-01-19 10:55:51 +01:00
Jakub Vrana 16e05167a4 Use __construct for constructor 2018-01-16 20:05:07 +01:00
Jakub Vrana b3d5c9affe Require specifying credentials in login-sqlite plugin 2018-01-16 16:37:59 +01:00
Jakub Vrana f3938c1a66 Use HTTPS 2018-01-14 11:03:54 +01:00
Jakub Vrana 80d030f51a Disallow scripts without nonce 2018-01-13 22:19:16 +01:00
Jakub Vrana 9d532fc0a1 Use script_src for <script src> 2018-01-13 16:25:11 +01:00
Jakub Vrana d39a6e59c7 Move inline event handlers to <script> 2018-01-13 09:34:01 +01:00
Jakub Vrana 6353a89816 Use oninput instead of onkeyup 2018-01-12 18:46:44 +01:00
Jakub Vrana 3d69fbf5f7 Allow searching data in tables by Ctrl+Enter 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 4be72a2a0d Allow customizing CSP 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 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 58b2904d62 Use querySelector 2018-01-11 13:55:48 +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
Jonathan Vollebregt e1f43da8df Update AdminerTablesFilter to produce li as per c9801e2e24 2017-05-19 11:23:35 +02:00
Jakub Vrana 40d1feec9f Update URL 2017-02-27 13:44:22 +01:00
Mathieu Rochette 4cfe6263d9 fix logger for SQL commands 2017-02-19 11:00:07 +01:00
Matthew Gamble a10238516c Add plugin for printing table indexes structure in expanded format 2017-02-18 19:22:47 +01:00
Matthew Gamble 4801da091b Add plugin for printing table structure in expanded format
Instead of trying to squeeze everything into three columns, this plugin
uses multiple columns for each part of a column's structure.
2017-02-18 19:21:16 +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
Jiří Barouš d00927ce66 Improve limit check in edit-foreign plugin
The limit is enforced in the query to prevent out-of-memory errors for big target tables.
2017-02-18 18:32:32 +01:00
Jonathan Vollebregt 28a84fec18 AdminerTablesFilter: Persist filter value in a tab 2017-02-18 18:13:05 +01:00
Jonathan Vollebregt 2c8eff9b53 Update AdminerTablesFilter
* Removes children request (Should work on IE6, 7, 8 now)
* Uses <strong> instead of <b>
* Doesn't leave said <strong> tags behind after updating the list
* Highlights multiple matches in a single table name
* Works case insensitively
* Improves performance with setTimeout
    With 400 tables, the old implementation locks up the tab (or
    browser if using something without multiprocess) for about
    half a second per keyup. Yes, this includes modifiers that
    don't actually change the filter. The new version handles
    the same event in 0.09 milliseconds.

    That's with all the above improvements.
    Tested in firefox 45.1.1 performance monitor.
2017-02-18 18:12:58 +01:00
Alessandro Frangioni 5f26d3a1b8 Added support for binary foreign keys selection on edit 2017-02-18 18:06:14 +01:00
Adam Kuśmierz 3344fae96e Plugin: Use <select> on custom user types in psql 2017-02-18 18:01:17 +01:00
Adam Kusmierz fd3d1c7e2e Plugin which shows sql structure comments in field names title 2017-02-18 17:32:40 +01:00
Adam Kusmierz cbd3adc564 PHP Warning hidden and better parsing times (at least for postgresql) 2017-02-18 17:32:40 +01:00
Jakub Vrana fa09962ab1 Add SQLite auto-login plugin 2016-11-28 10:09:51 -08:00
David Grudl 1f700ceea0 plugin.php: added missing arguments 2015-11-01 11:09:21 -08:00
David Grudl a6ebd4a3e0 uses PHP 5 constructors 2015-11-01 11:08:46 -08:00
Jakub Vrana a01b2efc22 Change links to HTTPS 2015-09-10 09:26:36 -07:00
Zemistr 8fc70327fb Fixed a bug when exporting without selecting a database 2014-10-12 12:10:56 -07:00
Zemistr 0ed7b6b058 Improved plugin to display JSON values as the table in edit form 2014-09-18 09:38:28 -07:00
Zemistr 00eb35b4f5 Created plugin for dump to PHP format 2014-09-18 09:37:34 -07:00
Zemistr 4f7ff182b1 Fixed column names and bug with data in result 2014-09-18 09:37:31 -07:00
Jakub Vrana d029cadd60 Plugin edit-foreign: Backwards compatible default 2014-09-14 21:46:52 -07:00
Robert Slootjes 45bc098262 Plugin edit-foreign: Add limit where it should stop creating a select 2014-09-14 21:40:57 -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 828a54deba Delete now useless plugin 2014-03-01 12:35:08 -08:00
Jakub Vrana 2ecff21280 Don't print query in edit 2014-01-10 21:32:07 -08:00
Jakub Vrana f503d8130b Abstract schemas() 2013-10-24 22:16:24 -07:00
Jakub Vrana 85d212c226 Use PHP 5 2013-08-08 17:20:14 -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 5eb3eaa06e Add Bzip2 export plugin 2013-05-28 10:28:47 -07:00
Jakub Vrana 046da00eb6 Strip trailing spaces 2013-05-08 11:29:19 -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 0cd85c1ce9 Plugin for displaying JSON data 2013-04-02 18:49:32 -07:00
Jakub Vrana 9a4b30a646 Add master-slave plugin 2013-02-22 04:23:06 -08:00
Jakub Vrana dd9167a101 JSON export plugin (http://forum.zdrojak.cz/?topic=808) 2013-02-07 19:04:36 -08:00
Jakub Vrana f6e1c589f9 Allow specifying external links (bug #3392685) 2013-01-11 12:46:44 -08:00
Jakub Vrana d8006df483 Add new methods to plugin 2012-09-01 08:47:16 -07:00
Jakub Vrana 5d337fe04c Reveal menu items only if mouse is over wide links 2012-08-20 22:20:22 -07:00
Jakub Vrana 7674576dcb Indicate NULL values in XML export (thanks to Karel Seidl) 2012-08-14 09:12:43 -07:00
Jakub Vrana 4b4fa16a37 Autodisplay long table names in tables filter plugin 2012-08-09 09:11:55 -07:00
Jakub Vrana 091a4d04f4 Link to documentation 2012-06-30 03:17:16 -07:00
Jakub Vrana b78b0cd109 Plugin for including date in export filename 2012-06-29 14:41:47 -07:00
Jakub Vrana f158d5e392 Zip dump only if requested 2012-06-29 14:09:44 -07:00
Jakub Vrana f595f9313e Use namespace in login form 2012-05-14 01:11:08 -07:00
Jakub Vrana 6591d485e9 Replace isset($var) by $var !== null 2012-05-14 01:11:08 -07:00
Jakub Vrana 9e7fcdf32c Plugin to hide databases 2012-02-23 22:58:41 -08:00
Jakub Vrana c7f1a6322e Extensible list of databases 2012-02-23 22:58:41 -08:00
Jakub Vrana 468644e2d8 Allowed extensions 2011-10-09 23:28:18 -07:00
Jakub Vrana 6b3e3c2532 Remove unnecessary onload event 2011-09-13 02:24:22 +02:00
Jakub Vrana 5d1a84d390 New plugin: Password SHA1 2011-08-12 13:44:25 +02:00
Jakub Vrana 75783421f1 Comment 2011-08-11 17:06:42 +02:00
Jakub Vrana 9c6a5cd542 Comment 2011-08-10 18:18:02 +02:00
Jakub Vrana 71e0db4106 Log to "$database.sql" by default 2011-08-10 18:10:23 +02:00
Jakub Vrana b96facf0af New plugin: SQL log 2011-08-08 17:19:56 +02:00
Jakub Vrana ad45a666cc Adminer 3.3.0 compatibility (bug #3383184) 2011-08-03 16:03:42 +02:00
Jakub Vrana 1c415dbcf8 WYMeditor 2011-07-26 22:10:45 +02:00
Jakub Vrana 7f05e73689 Missing variable (thanks to juzna) 2011-07-22 13:41:05 +02:00
Jakub Vrana 1c768e87fa Typo (bug #3366317) 2011-07-14 10:35:56 +02:00
Jakub Vrana 08e70e6309 Edit foreign plugin 2011-06-23 22:11:08 +02:00
Jakub Vrana c2965bc88d Save TinyMCE under AJAX 2011-06-13 18:02:16 +02:00
Jakub Vrana 98a00bacc5 Move init to head 2011-06-10 13:36:17 +02:00
Jakub Vrana e6b520212b Properties @access 2011-06-10 13:32:46 +02:00
Jakub Vrana 2eee7a75aa Get e-mail subject and message from database (Adminer Editor) 2011-06-10 13:25:01 +02:00