Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -6/+10 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -123/+183 |
| | |||||
* | Fixed #31359 -- Deprecated get_random_string() calls without an explicit length. | Claude Paroz | 2020-03-11 | 1 | -1/+1 |
| | |||||
* | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | 2020-02-04 | 1 | -1/+1 |
| | |||||
* | Fixed #30184 -- Removed ellipsis characters from shell output strings. | Dan Davis | 2019-02-13 | 1 | -9/+9 |
| | | | | Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654) to avoid a crash when the user shell doesn't support non-ASCII characters. | ||||
* | Refs #29722 -- Added introspection of materialized views for Oracle. | Mariusz Felisiak | 2018-11-26 | 1 | -5/+8 |
| | | | Thanks Tim Graham for the review. | ||||
* | Fixed #29788 -- Added support for Oracle Managed File (OMF) tablespaces. | Mariusz Felisiak | 2018-11-13 | 1 | -10/+29 |
| | |||||
* | Refs #29654 -- Replaced three dots with ellipsis character in output strings. | Claude Paroz | 2018-08-22 | 1 | -9/+9 |
| | |||||
* | Fixed #29040 -- Made test database creation messages use a consistent output ↵ | Claude Paroz | 2018-07-19 | 1 | -34/+36 |
| | | | | stream. | ||||
* | Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. | Nick Pope | 2017-12-11 | 1 | -2/+1 |
| | |||||
* | Fixed #28853 -- Updated connection.cursor() uses to use a context manager. | Jon Dufresne | 2017-11-28 | 1 | -76/+71 |
| | |||||
* | Fixed #28498 -- Fixed test database creation with cx_Oracle 6. | Mariusz Felisiak | 2017-08-16 | 1 | -0/+4 |
| | |||||
* | Fixed #28260 -- Allowed customizing the test tablespace initial and ↵ | Mariusz Felisiak | 2017-06-02 | 1 | -8/+24 |
| | | | | | autoextend size on Oracle. Thanks Tim Graham for the review. | ||||
* | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-28 | 1 | -14/+14 |
| | |||||
* | Fixed #25898 -- Made test database/user creation on Oracle reraise ↵ | Mariusz Felisiak | 2017-02-09 | 1 | -6/+8 |
| | | | | | unexpected errors. Thanks Shai Berger and Tim Graham for review. | ||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -1/+0 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #27690 -- Removed sleep before drop test db on Oracle. | Mariusz Felisiak | 2017-01-16 | 1 | -2/+0 |
| | |||||
* | Refs #27420 -- Removed exception hiding in Oracle test user creation during ↵ | Mariusz Felisiak | 2016-11-08 | 1 | -3/+0 |
| | | | | | | | --keepdb. If the test user creation fails here, _create_test_db() would return without switching to the test user which caused the tests to run using the main connection instead of the test user. | ||||
* | Fixed #27420 -- Quoted the Oracle test user password in queries. | Mariusz Felisiak | 2016-11-08 | 1 | -2/+2 |
| | |||||
* | Fixed CVE-2016-9013 -- Generated a random database user password when ↵ | Marti Raudsepp | 2016-11-01 | 1 | -4/+12 |
| | | | | | | running tests on Oracle. This is a security fix. | ||||
* | Fixed #25421 -- Fixed test --keepdb option on Oracle. | Mariusz Felisiak | 2015-09-26 | 1 | -17/+35 |
| | |||||
* | Fixed #25196 -- Normalized database representations in test database messages. | Ville Skyttä | 2015-09-25 | 1 | -2/+2 |
| | | | | Left over Oracle mostly as-is since it's more complicated. | ||||
* | Changed Oracle's test-database-creation to use an explicit main-db-connection | Shai Berger | 2015-06-20 | 1 | -6/+33 |
| | | | | | | | | rather than just relying on manipulation of settings to determine which invocation of connection.cursor() opens a connection to the test database and which opens a connection to the main database. Thanks Aymeric Augustin for motivation and Tim Graham for review. | ||||
* | Fixed #19542: Made mirroring databases for tests work with Oracle | Shai Berger | 2015-06-05 | 1 | -0/+8 |
| | | | | | | | No tests are provided because there is no sane way to test database settings within the Django test suite. Thanks Aymeric Augustin for review. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -1/+0 |
| | |||||
* | Fixed #22603 -- Reorganized classes in django.db.backends. | Tim Graham | 2015-01-14 | 1 | -1/+1 |
| | |||||
* | Moved DatabaseCreation.data_types properties to DatabaseWrapper. | Tim Graham | 2014-12-31 | 1 | -43/+0 |
| | | | | refs #22340. | ||||
* | Removed db.backends methods which only call super(). | Tim Graham | 2014-12-30 | 1 | -3/+0 |
| | |||||
* | Fixed #24033 -- Use interval type on Oracle. | Marc Tamlyn | 2014-12-23 | 1 | -1/+1 |
| | | | | | | | | | | | Use INTERVAL DAY(9) TO SECOND(6) for Durationfield on Oracle rather than storing as a NUMBER(19) of microseconds. There are issues with cx_Oracle which require some extra data manipulation in the database backend when constructing queries, but it handles the conversion back to timedelta objects cleanly. Thanks to Shai for the review. | ||||
* | Fixed #2443 -- Added DurationField. | Marc Tamlyn | 2014-12-20 | 1 | -0/+1 |
| | | | | | | | | | | | A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews. | ||||
* | Fixed #23649 -- Made Oracle test-db creation drop test-user earlier when needed | Shai Berger | 2014-10-17 | 1 | -2/+49 |
| | | | | | | | | | | | | | | | Checked database destruction for ORA-29857, which happens when objects of some types are left over in an old test database (notably, such objects are created by the GIS backend). When this happens, we can resolve the issue by dropping the test-user (if we are allowed to). An alternative approach, to just switch the order of creation (so that, if the test user exists and can be dropped, it is always dropped before the tablespace) was considered; but since the user creation depends on the tablespace, this would necessitate separating the dropping of the user from its creation -- a change I am reluctant to make. Thanks Josh Smeaton and Tim Graham for reviews. | ||||
* | Changed Oracle test-user creation to grant privileges instead of roles | Shai Berger | 2014-09-24 | 1 | -3/+21 |
| | | | | | | | | | | | because the roles (specifically RESOURCE) are deprecated. Also added optional support for creating views in tests, and made an introspection test fail (rather than skip) if a view cannot be created due to lacking privileges. Refs #18782 Thanks Tim Graham for review, and Josh Smeaton | ||||
* | Fixed #21775 -- Allowed customization of datafile for Oracle tablespace | Josh Smeaton | 2014-09-17 | 1 | -43/+41 |
| | |||||
* | Fixed #19463 -- Added UUIDField | Marc Tamlyn | 2014-09-16 | 1 | -0/+1 |
| | | | | Uses native support in postgres, and char(32) on other backends. | ||||
* | Limited lines to 119 characters in django/ | Tim Graham | 2014-09-05 | 1 | -5/+14 |
| | | | | refs #23395. | ||||
* | Made main user disconnect after creating test user/tablespaces on Oracle | Shai Berger | 2014-08-25 | 1 | -0/+2 |
| | |||||
* | Fixed #20550 -- Added ability to preserve test db between runs | Greg Chapple | 2014-05-28 | 1 | -1/+5 |
| | |||||
* | Reorganized the database test settings | Shai Berger | 2014-03-09 | 1 | -38/+24 |
| | | | | | | | | | | Change database test settings from "TEST_"-prefixed entries in the database settings dictionary to setting in a dictionary that is itself an entry "TEST" in the database settings. Refs #21775 Thanks Josh Smeaton for review. | ||||
* | Fixed all E261 warnings | coagulant | 2013-11-02 | 1 | -1/+1 |
| | |||||
* | Fixed #20707 -- Added explicit quota assignment to Oracle test user | Садовский Николай | 2013-09-09 | 1 | -0/+1 |
| | | | | To enable testing on Oracle 12c | ||||
* | Start of getting Oracle to do schema stuff | Andrew Godwin | 2013-08-12 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into schema-alteration | Andrew Godwin | 2013-07-22 | 1 | -25/+27 |
|\ | | | | | | | | | | | | | | | | | Conflicts: django/db/backends/mysql/introspection.py django/db/backends/oracle/creation.py django/db/backends/postgresql_psycopg2/creation.py django/db/models/base.py django/db/models/loading.py | ||||
| * | A large number of stylistic cleanups across django/db/ | Alex Gaynor | 2013-07-08 | 1 | -25/+27 |
| | | |||||
* | | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | 2013-06-07 | 1 | -1/+2 |
|\ \ | |/ | | | | | | | Conflicts: django/db/models/fields/related.py | ||||
| * | (Re-)moved some imports | Claude Paroz | 2013-05-21 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'master' into schema-alteration | Andrew Godwin | 2013-04-18 | 1 | -3/+1 |
|\ \ | |/ | | | | | | | | | | | | | | | | | | | Conflicts: django/db/backends/__init__.py django/db/backends/mysql/base.py django/db/backends/oracle/base.py django/db/backends/oracle/creation.py django/db/backends/postgresql_psycopg2/base.py django/db/backends/sqlite3/base.py django/db/models/fields/related.py | ||||
| * | Added an API to control database-level autocommit. | Aymeric Augustin | 2013-03-11 | 1 | -3/+0 |
| | | |||||
| * | Add a BinaryField model field | Claude Paroz | 2013-03-02 | 1 | -0/+1 |
| | | | | | | | | | | Thanks Michael Jung, Charl Botha and Florian Apolloner for review and help on the patch. | ||||
* | | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | 2012-12-18 | 1 | -4/+6 |
|\ \ | |/ | | | | | | | | | Conflicts: django/db/models/loading.py django/db/models/options.py | ||||
| * | Made sure global settings are changed in test db creation | Anssi Kääriäinen | 2012-11-27 | 1 | -4/+6 |
| | | | | | | | | | | There was an assumption that changing connection.settings_dict changed also the settings.DATABASES values. This assumption is now gone. |