Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #34535 -- Fixed SQLite dbshell crash on pathlib.Path when handling ↵ | Jan Pieter Waagmeester | 2023-05-04 | 1 | -0/+19 |
| | | | | | | CommandError. Regression in 5b884d45ac5b76234eca614d90c83b347294c332. | ||||
* | Fixed #33854 -- Corrected the order of parameters in dbshell on PostgreSQL. | Jarrett Keifer | 2022-07-18 | 1 | -1/+1 |
| | |||||
* | Fixed #33715 -- Allowed keyboard interrupt to abort queries in MySQL dbshell. | Hasan Ramezani | 2022-05-20 | 1 | -0/+19 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 5 | -224/+259 |
| | |||||
* | Fixed #32732 -- Removed usage of deprecated 'db' and 'passwd' connection ↵ | Nick Pope | 2021-05-12 | 1 | -21/+29 |
| | | | | | | | | | options in MySQL backend. The 'db' and 'passwd' connection options have been deprecated, use 'database' and 'password' instead (available since mysqlclient >= 1.3.8). This also allows the 'database' option in DATABASES['OPTIONS'] on MySQL. | ||||
* | Fixed #32687 -- Restored passing process’ environment to underlying tool ↵ | Konstantin Alekseev | 2021-04-27 | 1 | -2/+2 |
| | | | | | | in dbshell on PostgreSQL. Regression in bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3. | ||||
* | Fixed #32456 -- Added dbshell support for specifying a password file on ↵ | Hasan Ramezani | 2021-03-01 | 1 | -0/+28 |
| | | | | PostgreSQL. | ||||
* | Refs #32292 -- Made dbshell do not use 'postgres' database when service name ↵ | Mariusz Felisiak | 2021-02-26 | 1 | -1/+1 |
| | | | | | is set. Regression in dcb3ad3319cad5c270a1856fd5f355e37cf9d474. | ||||
* | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | 2021-02-10 | 1 | -1/+1 |
| | |||||
* | Fixed #32292 -- Added support for connection by service name to PostgreSQL. | Hasan Ramezani | 2021-01-20 | 1 | -0/+6 |
| | |||||
* | Refs #32061 -- Fixed test_crash_password_does_not_leak() crash on Windows. | Mariusz Felisiak | 2020-11-03 | 2 | -0/+6 |
| | | | | | | | | | | When env is passed to subprocess.run() we should pass all existing environment variables. This fixes crash on Windows: Fatal Python error: failed to get random numbers to initialize Python Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python Python runtime state: preinitialized | ||||
* | Refs #32061 -- Prevented password leak on MySQL dbshell crash. | Simon Charette | 2020-10-30 | 1 | -12/+30 |
| | | | | | | | | | | | | | | | | | | The usage of the --password flag when invoking the mysql CLI has the potential of exposing the password in plain text if the command happens to crash due to the inclusion of args provided to subprocess.run(check=True) in the string representation of the subprocess.CalledProcessError exception raised on non-zero return code. Since this has the potential of leaking the password to logging facilities configured to capture crashes (e.g. sys.excepthook, Sentry) it's safer to rely on the MYSQL_PWD environment variable instead even if its usage is discouraged due to potential leak through the ps command on old flavors of Unix. Thanks Charlie Denton for reporting the issue to the security team. Refs #24999. | ||||
* | Refs #32061 -- Added test for dbshell password leak on PostgreSQL. | Simon Charette | 2020-10-30 | 2 | -0/+16 |
| | |||||
* | Refs #32061 -- Unified DatabaseClient.runshell() in db backends. | Simon Charette | 2020-10-29 | 4 | -140/+165 |
| | |||||
* | Fixed #6517 -- Made dbshell use charset option on MySQL. | manav014 | 2020-10-17 | 1 | -0/+17 |
| | | | | Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #31491 -- Allowed 'password' option in DATABASES['OPTIONS'] on MySQL. | Hasan Ramezani | 2020-06-12 | 1 | -0/+16 |
| | |||||
* | Fixed #29501 -- Allowed dbshell to pass options to underlying tool. | Adam Johnson | 2020-04-14 | 4 | -9/+56 |
| | |||||
* | Refs #29501 -- Added test for missing dbshell executable. | Mariusz Felisiak | 2020-04-14 | 1 | -0/+17 |
| | |||||
* | Fixed #31076 -- Fixed dbshell crash on Windows with Python < 3.8. | Zeynel Özdemir | 2019-12-16 | 1 | -0/+31 |
| | | | | | subprocess.run()'s args parameter accepts path-like objects on Windows since Python 3.8. | ||||
* | Fixed broken OracleDbshellTests tests after ↵ | Mariusz Felisiak | 2019-08-23 | 1 | -3/+3 |
| | | | | 9386586f31b8a0bccf59a1bff647cd829d4e79aa. | ||||
* | Replaced subprocess commands by run() wherever possible. | Claude Paroz | 2019-08-23 | 1 | -4/+5 |
| | |||||
* | Fixed typos in comments and a test name. | Min ho Kim | 2019-07-19 | 1 | -1/+1 |
| | |||||
* | Fixed #30370 -- Added dbshell support for client TLS certificates on PostgreSQL. | Oleh Mykytiuk | 2019-04-18 | 1 | -7/+30 |
| | |||||
* | Fixed #30173 -- Simplified db.backends.postgresql.client. | Daniel Bowring | 2019-02-13 | 1 | -33/+13 |
| | |||||
* | Refs #25175 -- Renamed test file referencing the old postgresql_psycopg2 engine. | Tim Graham | 2019-02-13 | 1 | -0/+0 |
| | |||||
* | Removed default mode='r' argument from calls to open(). | Jon Dufresne | 2019-01-27 | 1 | -1/+1 |
| | |||||
* | Fixed #29534 -- Made dbshell use rlwrap on Oracle if available. | Mariusz Felisiak | 2018-10-25 | 1 | -0/+33 |
| | |||||
* | Fixed typos in comments and docs. | luz.paz | 2018-08-01 | 1 | -1/+1 |
| | |||||
* | Fixed #28322 -- Added dbshell support for MySQL client TLS certs. | Paul Tiplady | 2017-06-19 | 1 | -2/+9 |
| | |||||
* | Fixed #27954 -- Allowed keyboard interrupt to abort queries in PostgreSQL ↵ | Chris Sinchok | 2017-04-01 | 1 | -0/+15 |
| | | | | | dbshell. Thanks Tim Martin for review. | ||||
* | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | 2017-01-20 | 1 | -1/+2 |
| | |||||
* | Refs #23919 -- Removed unneeded force_str calls | Claude Paroz | 2017-01-20 | 1 | -20/+10 |
| | |||||
* | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | 2017-01-18 | 1 | -11/+6 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -3/+0 |
| | |||||
* | Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name. | mieciu | 2016-06-03 | 1 | -24/+24 |
| | |||||
* | Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql. | Caio Ariede | 2015-08-07 | 1 | -1/+1 |
| | |||||
* | Refs #23658 -- Fixed dbshell tests on Windows. | Tim Graham | 2015-07-06 | 1 | -5/+5 |
| | |||||
* | Refs #23658 -- Fixed unclosed file in dbshell tests. | Tim Graham | 2015-07-01 | 1 | -1/+2 |
| | |||||
* | Fixed #23658 -- Provided the password to PostgreSQL dbshell command | Jean-Michel Vourgère | 2015-06-30 | 1 | -0/+117 |
| | | | | | | The password from settings.py is written in a temporary .pgpass file file whose name is given to psql using the PGPASSFILE environment variable. | ||||
* | Renamed MySQL-specific dbshell test file. | Tim Graham | 2015-06-27 | 1 | -0/+0 |
| | |||||
* | Fixed #22646: Added support for the MySQL ssl-ca option to dbshell. | zsoldosp | 2014-08-13 | 2 | -0/+73 |