summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2012-01-07Fixed #17513 -- Prevented the MySQL backend from leaking MySQLdb-specific ↵Aymeric Augustin
exceptions. Thanks Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-07Fixed #13704 -- Handled IDN properly in the urlize template filter. Thanks ↵Aymeric Augustin
Claude Paroz for the initial version of the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-07Fixed #9655 -- Prevented the urlize template filter from double-quoting ↵Aymeric Augustin
URLs. Thanks Claude Paroz for writing the tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-07Fixed #10756 -- Error in the formats accepted by PLNIPField. Thanks remik ↵Aymeric Augustin
for the report, michalm for the patch and claudep for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-07Fixed #17499 -- Ensured assertFieldOutput works for fields that customize ↵Aymeric Augustin
the "required" error message. Thanks dpifke for the report and patch, and claudep for the tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-05Added support for savepoints to the MySQL DB backend.Ramiro Morales
MySQL provides the savepoint functionality starting with version 5.0.3 when using the MyISAM storage engine. Thanks lamby for the report and patch. Fixes #15507. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-04Fixed #17503 -- A destination directory passed to startproject or startapp ↵Carl Meyer
as optional second argument is now reused as the project/app directory, rather than a new project/app directory created within it. Refs #17042. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-03Fixed #17492 -- Allow reversal of named backreferences. Thanks nate_bChris Beaven
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-03Fixed #17496 -- Regression in the floatformat template filter, introduced by ↵Aymeric Augustin
the fix for #15789. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-03Fixed #17429 -- Ensured that `Meta.ordering=None` works the same if it were ↵Julien Phalip
an empty list. Thanks to self[at]dicos[dot]ru for the report and to bigkevmcd for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-02Fixed #10931 -- Made `Truncator` handle newlines properly. Thanks to gsong ↵Julien Phalip
and Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-01Fix the dispatch test GC code under PyPy, and make the comment for Jython ↵Alex Gaynor
better. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-01Fixed #17488 -- This test passed in 2011 only because 2012-01-01 is a ↵Aymeric Augustin
Sunday. Thanks Florian Apolloner for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-01Made sure startproject can handle template URLs with trailing slashes.Ramiro Morales
Thanks Issac Kelly that reported this via IRC. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30Improved comment formatting to appease Gaynor.Paul McMillan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30Increased pbkdf2 scaling test vectors to lower chance of false test failures.Paul McMillan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30Fixed #16590 -- Accepted a 'name' argument in the constructor of ↵Aymeric Augustin
ContentFile, for consistency with File. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30Fixed #15789 -- Set the decimal precisio to avoid an exception in the ↵Aymeric Augustin
floatformat filter, and added a few more tests. Thanks akaihola for the report, igalarzab for the patch and ptone for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30Fixed #17444 -- Made it possible to customize the 'To' header in emails.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Added the ability to specify multiple ports available for the ↵Julien Phalip
`LiveServerTestCase` WSGI server. This allows multiple processes to run the tests simultaneously and is particularly useful in a continuous integration context. Many thanks to Aymeric Augustin for the suggestions and feedback. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Moved validation of project names to an earlier spot so no directory with ↵Ramiro Morales
invalid name is created. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Made sure the new project template functionality works when the templateRamiro Morales
path specified has a trailing path separator. Thanks Alex for the report. Fixes #17475. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Fixed #17476 -- Ensure timezone-dependant cache keys only use ASCII ↵Aymeric Augustin
characters, especially on Windows. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Made sure `manage.py help test` works.Ramiro Morales
Thanks shige DOT abe AT nasa DOT gov for the report. Fixes #17477. Refs r16352. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-28Added the `wait_until()` and `wait_loaded_tag()` methods to ↵Julien Phalip
`AdminSeleniumWebDriverTestCase` to prevent some concurrency issues with in-memory SQLite database access in the admin Selenium tests. Thanks to Florian Apolloner, Anssi Kääriäinen and Aymeric Augustin for their help debugging this problem. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-27Fixed #17455 -- Extended `CachedStaticFilesStorage` slightly to handle some ↵Jannis Leidel
URLs better that are used to add support for webfonts to IE 6-8. Also ignore `data:` URLs and fragment-only URLs (e.g. `#default#VML`). git-svn-id: http://code.djangoproject.com/svn/django/trunk@17282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-27Moved calls to addCleanup before assertions in admin_scripts tests, so that ↵Aymeric Augustin
cleanup occurs even when tests fails. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-27Fixed a test that was failing under Windows.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-27Removed Python 2.3 compatibility code from the admin_scripts tests.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-27Fixed a CacheKeyWarning under Windows.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-25Fixed #17047 -- Improved django.db.utils.load_backend to raise a better ↵Jannis Leidel
exception when using a unqualified database backend name. Thanks, Jonas Obrist. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-25Fixed a few tests to run on Python 2.5. Thanks, Florian Apolloner.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-24Added a lower level test for numberformat when grouping is 0 and ↵Aymeric Augustin
force_grouping is True. Thanks Claude Paroz. Refs #17414. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-23Renovated password hashing, including the forgotten files in r17253.Paul McMillan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-23Renovated password hashing. Many thanks to Justine Tunney for help with the ↵Paul McMillan
initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Fixed #15900 -- Calls to reverse with nested namespaced urls are escaped ↵Gabriel Hurley
properly and capture parameters as expected. Thanks to teolicy for the report, and dmclain for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Fixed #17042 -- Extended startproject and startapp management commands to ↵Jannis Leidel
better handle custom app and project templates. Many thanks to Preston Holmes for his initial patch and Alex Gaynor, Carl Meyer, Donald Stufft, Jacob Kaplan-Moss and Julien Phalip for code reviewing. * Added ability to pass the project or app directory path as the second argument * Added ``--template`` option for specifying custom project and app templates * Cleaned up admin_scripts tests a little while I was there git-svn-id: http://code.djangoproject.com/svn/django/trunk@17246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Added support for modifying the effect of ``DISTINCT`` clauses so theyRamiro Morales
only consider some fields (PostgreSQL only). For this, the ``distinct()`` QuerySet method now accepts an optional list of model fields names and generates ``DISTINCT ON`` clauses on these cases. Thanks Jeffrey Gelens and Anssi Kääriäinen for their work. Fixes #6422. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Re-enabled the cleanup of STATIC_ROOT in the staticfiles tests.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Fixed #2879 -- Added support for the integration with Selenium and other ↵Julien Phalip
in-browser testing frameworks. Also added the first Selenium tests for `contrib.admin`. Many thanks to everyone for their contributions and feedback: Mikeal Rogers, Dirk Datzert, mir, Simon G., Almad, Russell Keith-Magee, Denis Golomazov, devin, robertrv, andrewbadr, Idan Gazit, voidspace, Tom Christie, hjwp2, Adam Nelson, Jannis Leidel, Anssi Kääriäinen, Preston Holmes, Bruno Renié and Jacob Kaplan-Moss. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-21Ensured that `makemessages` doesn't leave any temporary file over if the ↵Julien Phalip
parsing of a template file fails. Refs #8536. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-19Stopped unconditionally reversing admin model add/change URLs.Ramiro Morales
Starting with [16857] this could cause HTTP 500 errors when `ModelAdmin.get_urls()` has been customized to the point it doesn't provide these standard URLs. Fixes #17333. Refs #15294. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-17Optimized an optimiseAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-17Fixed various dodgy behavioursAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-17Fixed #11166 -- {% widthratio %} should return 0 when the maximum is 0, no ↵Aymeric Augustin
matter the value. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-17Fixed some failing tests due to creation of HttpRequest._is_secure() methods ↵Adrian Holovaty
in [17209] git-svn-id: http://code.djangoproject.com/svn/django/trunk@17212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-16Refs #17323 -- Updated a test to use try/finally to avoid state leakage. ↵Carl Meyer
Thanks dstufft for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-16Fixed #17323 -- Renamed HttpRequest.raw_post_data to request.body. Thanks ↵Adrian Holovaty
for the patch, dstufft git-svn-id: http://code.djangoproject.com/svn/django/trunk@17210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-16Fixed #14597 -- Added a SECURE_PROXY_SSL_HEADER setting for cases when ↵Adrian Holovaty
you're behind a proxy that 'swallows' the fact that a request is HTTPS git-svn-id: http://code.djangoproject.com/svn/django/trunk@17209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-16Ensured that thread-shareability gets validated when closing a PostgreSQL or ↵Julien Phalip
SQLite connection. Refs #17258. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17206 bcc190cf-cafb-0310-a4f2-bffc1f526a37