summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2014-04-28[1.7.x] Bump version number for 1.7 beta 3 bugfix release.1.7b3James Bennett
2014-04-26[1.7.x] Fix many many typos in comments throughout the codebaseAlex Gaynor
Backport of 2bcb8bfc8d from master
2014-04-26[1.7.x] Fixed #3214 -- Stopped parsing SQL with regex.Aymeric Augustin
Avoided introducing a new regex-based SQL splitter in the migrations framework, before we're bound by backwards compatibility. Adapted this change to the legacy "initial SQL data" feature, even though it's already deprecated, in order to facilitate the transition to migrations. sqlparse becomes mandatory for RunSQL on some databases (all but PostgreSQL). There's no API to provide a single statement and tell Django not to attempt splitting. Since we have a more robust splitting implementation, that seems like a good tradeoff. It's easier to add a new keyword argument later if necessary than to remove one. Many people contributed to both tickets, thank you all, and especially Claude for the review. Refs #22401. Backport of 8b5b199 from master
2014-04-25[1.7.x] Fixed #21166 -- Reset errors_occurred flag after commit and rollback.Aymeric Augustin
Backport of 3033a71 from master. Conflicts: django/db/backends/__init__.py
2014-04-25[1.7.x] Fixed #22515 -- Fixed the object_id of the LogEntry that's created ↵Tim Graham
after a user password change in the admin. Thanks ross at servercode.co.uk for the report. Backport of 9e7f86b890 from master
2014-04-25[1.7.x] Set some transaction-related feature flags on SQLite.Aymeric Augustin
Refs #22496. Backport of e368912 from master.
2014-04-25[1.7.x] Fixed #22498 -- constraint name was not quoted in FK creation SQLShai Berger
Backport of 843613add4 from master
2014-04-25[1.7.x] Made sure cursor.close() does not complain if cursor is already ↵Shai Berger
closed on Oracle Refs #22483 Backport of 53d97e4fe3 from master
2014-04-24[1.7.x] Ignored repeated calls to connection.close().Aymeric Augustin
Backport of d4cc59ef from master
2014-04-24[1.7.x] Prevented a crash in the cursor wrappers on Oracle.Aymeric Augustin
Fixed #22483 (again). Backport of 0f85103e from master
2014-04-23[1.7.x] Used the same instance of atomic for entry and exit.Aymeric Augustin
Since all state is maintained on the connection at this time and none in the atomic, it doesn't matter, but it could introduce some subtle bugs if the implementation changed in the future. Backport of 0aa4c6c3 from master
2014-04-23[1.7.x] Wrapped migrations in a transaction only on DBs with transactional DDL.Aymeric Augustin
Backport of e74d2183 from master
2014-04-23[1.7.x] Set compile messages options as class variableClaude Paroz
Refs #18714. Same logic as options for makemessages commands. Backport of 3a435a057 from master.
2014-04-23[1.7.x] Fixed #22495 -- Locmem cache.add() failed with infinite timeoutsMalcolm Box
cache.add() incorrectly succeeded when there was an existing key with an infinite (None) timeout. Backport of af5f688392 from master.
2014-04-23[1.7.x] Fixed #22486 -- Restored the ability to reverse views created using ↵Tim Graham
functools.partial. Regression in 8b93b31487d6d3b0fcbbd0498991ea0db9088054. Thanks rcoup for the report. Backport of 3c06b2f2a3 from master
2014-04-23[1.7.x] Added Spatialite support to the new migration frameworkClaude Paroz
Refs #22451. Backport of 2ffa6ca73a from master.
2014-04-23[1.7.x] Used migration framework in GIS test tearDownClaude Paroz
Backport of 48c4ea414 from master.
2014-04-22[1.7.x] Fixed table cleanup in GIS migration testsClaude Paroz
Backport of ab90c4707b from master.
2014-04-22[1.7.x] Fixed removal of GIS column in PostGIS 1.x migrationClaude Paroz
Refs #22481. Backport of 2f9d1576e from master, squashed with 2f9d1576e8.
2014-04-22[1.7.x] Fixed adding new GIS column in PostGIS 1.x migrationClaude Paroz
Refs #22451. Backport of fb09a489c from master.
2014-04-22[1.7.x] Fixed #22478 -- Regression in test label discovery.Preston Timmons
As part of the app-loading updates the old test runner was changed to not require a models module. This introduced a regression in behavior so applabel.TestCase failed for tests defined in a directory. The fix is thanks to yakky and rtnpro.
2014-04-22[1.7.x] Fixed #22426 -- Added support old-style d.c.messages format.Florian Apolloner
Forward ported code from 1.5 that adds backwards compatibility with legacy message length. See commit 9e7183073f64e541587e8dcfd8bb3ddeb47f8162 for details. Thanks to Ofir Ovadia for the initial patch. Backport of f286721f7fdc2202f77a5f4d650d9d0779b86811 from master.
2014-04-21[1.7.x] Update for 1.7b2 security release.1.7b2James Bennett
2014-04-21[1.7.x] Fixed queries that may return unexpected results on MySQL due to ↵Erik Romijn
typecasting. This is a security fix. Disclosure will follow shortly. Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
2014-04-21[1.7.x] Prevented leaking the CSRF token through caching.Aymeric Augustin
This is a security fix. Disclosure will follow shortly. Backport of c083e3815aec23b99833da710eea574e6f2e8566 from master
2014-04-21[1.7.x] Fixed a remote code execution vulnerabilty in URL reversing.Tim Graham
Thanks Benjamin Bach for the report and initial patch. This is a security fix; disclosure to follow shortly. Backport of 8b93b31487d6d3b0fcbbd0498991ea0db9088054 from master
2014-04-21[1.7.x] Appeased flake8 2.1.0.Aymeric Augustin
Backport of 428c0bbe1bcd303560d7e96d7d2721ff3fdc0e3f from master
2014-04-21[1.7.x] Corrected many style guide violations that the newest version of ↵Alex Gaynor
flake8 catches Backport of 778ce245dd466bce1b19f89e52cf9ed8f1b46513 from master
2014-04-20[1.7.x] Fixed flake8 warnings introduced in recent commits.Simon Charette
Backport of 79f05616fbf48cf7c205ef17666af0c3d47b3c1e from master
2014-04-20[1.7.x] Fixed flake8 errors.Tim Graham
Backport of 471fb04a30 from master
2014-04-18[1.7.x] Fixed #22397 -- Issues removing M2M field with explicit through modelAndrew Gorcester
Changed the migration autodetector to remove models last so that FK and M2M fields will not be left as dangling references. Added a check in the migration state renderer to error out in the presence of dangling references instead of leaving them as strings. Fixed a bug in the sqlite backend to handle the deletion of M2M fields with "through" models properly (i.e., do nothing successfully). Thanks to melinath for report, loic for tests and andrewgodwin and charettes for assistance with architecture. Backport of 956bd64424 from master
2014-04-18[1.7.x] Adapted fixture read mode to file typeClaude Paroz
Binary mode added in ed532a6a1e is not supported by ZipFile. Refs #22399. Backport of 275811a93 from master.
2014-04-18[1.7.x] Fixed #22399 -- Forced fixture reading in binary modeClaude Paroz
This might help on systems where default encoding is not UTF-8 (and on Python 3). Thanks bacilla for the report. Backport of ed532a6a1 from master.
2014-04-17[1.7.x] Fixed #22454 - Changed compatibility warning hintMoayad Mardini
The warning hint of `_check_test_runner` of 1.6 compatibility had a link to a general release note. The link should be edited to refer the relevant "Backwards incompatible changes in 1.6" section that documents the cause and the possible solutions and workarounds of the warning. Backport of 214d1e1b0f from master
2014-04-17[1.7.x] Fixed a KeyError on login with legacy sessions; refs #21649.Tim Graham
Thanks Loic for the report. Backport of 11e30b684d from master
2014-04-17[1.7.x] Fixed #22456 -- Replaced 900913 EPSG code by 3857 in some testsClaude Paroz
3857 is now the official EPSG code for the Google spherical mercator projection and some recent versions of GDAL do not recognize 900913 any longer. Thanks Tim Graham for the report and initial patch. Backport of c082f3c74c from master.
2014-04-16[1.7.x] Fixed #22434 -- Retain ordering on related sliced subqueries.Justin Hamade
Thanks maciej.pawlisz for the report, and charettes for the review. Backport of a13df671a5 from master
2014-04-16[1.7.x] Fixed #22460 -- Explicity remove constraints when dropping a related ↵Motiejus Jakštys
field. Backport of 0e45669fa9 from master
2014-04-13[1.7.x] Fixed #22350 -- Consistently serialize bytes and text in migrations.Simon Charette
Thanks to @treyhunner and Loïc for their suggestions and review. Backport of 72d3889db4 from master
2014-04-13[1.7.x] Fixed #21760 -- prefetch_related used an inefficient query for ↵valtron
reverse FK. Regression introduced by commit 9777442. Refs #21410. Backport of d3b71b976d from master
2014-04-12[1.7.x] Also allowed a non-overridden setting to be deletedClaude Paroz
Refs #20032, #18824. Thanks ztorstri at gmail.com for the report. Backport of 3417ba0309 from master.
2014-04-12[1.7.x] Fixed #22102 -- Made SimpleTestCase tests run before ↵Claude Paroz
unittest.TestCase ones Thanks aptiko for the report and Tim Graham for the review. Backport of 3e3a7372f5 from master.
2014-04-11[1.7.x] Improved a comment. Thanks intgr for the report.Aymeric Augustin
Backport of 476db08 from master
2014-04-10[1.7.x] Increased robustness of 58161e4e. Refs #22291.Aymeric Augustin
Backport of ee837b9a from master
2014-04-10[1.7.x] Fixed #21202 -- Maintained atomicity when the server disconnects.Aymeric Augustin
Thanks intgr for the report. This commit doesn't include a test because I don't know how to emulate a database disconnection in a cross-database compatible way. Also simplified a 'backends' test that was constrained by this problem. Backport of 81761508 from master
2014-04-10[1.7.x] Fixed #21239 -- Maintained atomicity when closing the connection.Aymeric Augustin
Refs #15802 -- Reverted #7c657b24 as BaseDatabaseWrapper.close() now has a proper "finally" clause that may need to preserve self.connection. Backport of 25860096 from master.
2014-04-10[1.7.x] Fixed #22321 -- Wrapped exceptions in _set_autocommit.Aymeric Augustin
Refs #21202. Backport of 3becac84 from master
2014-04-10[1.7.x] Fixed #22291 -- Avoided shadowing deadlock exceptions on MySQL.Aymeric Augustin
Thanks err for the report. Backport of 58161e4e from master.
2014-04-10[1.7.x] Fixed #22364 -- Sanitized getpass input in changepassword.John Paulett
Python 2 getpass on Windows does not accept unicode, even when containing on ASCII characters. Related #190807. Backport of b5a9166f7e from master
2014-04-10[1.7.x] Fixed #22194 -- Added --list-tags option to check command.Tim Graham
Thanks Elvard for the patch. Backport of 395d75ea6b from master