summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2010-12-23[1.2.X] Bump to 1.2.4 for security release.1.2.4James Bennett
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-23Fix a security issue in the auth system. Disclosure and new release forthcoming.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-23Fix a security issue in the admin. Disclosure and new release forthcoming.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21[1.2.X] Fixed #10420 -- GeoDjango tests are run as part of Django tests when ↵Justin Bronn
using spatial database backends with `runtests.py`. Backport of r15013 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21[1.2.X] Fixed #14301 -- Further refine changes made in r14217 to support ↵Jannis Leidel
non-ASCII characters in email addresses. Thanks, Claude Peroz and Andi Albrecht. Backport from trunk (r15006). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21[1.2.X] Fixed #4976 -- Stopped humanize template tags to raise a TypeError ↵Jannis Leidel
if passed a value of ``None``. Thanks, Simon G. and Adam Vandenberg. Backport from trunk (r15000). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21[1.2.X] Fixed #13782 -- Added CSS for errors in textareas and multiple ↵Jannis Leidel
fields in one line. Thanks, julien. Backport from trunk (r14999). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21[1.2.X] Fixed #13743 -- Fixed CommentsAdmin to not blow up if the ↵Jannis Leidel
delete_selected action is disabled. Thanks, Daniel Lindsley. Backport from trunk (r14996). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14871, #14872 -- ZAIDField didn't handle alll EMPTY_VALUES ↵Alex Gaynor
correctly and ZAPostCodeField didn't respect *args or **kwargs (such as required=False). Also converted South African localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14956]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14864, #14864 -- ROCIFField didn't accept values starting ↵Alex Gaynor
with RO, as it was supposed to, and ROCNPField, ROIBANField, and ROPhoneNumberField didn't handle all EMPTY_VALUES correctly. Also converted Romanian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14951]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14860 -- PLPESELField, PLNIPField, and PLREGONField didn't ↵Alex Gaynor
handle all EMPTY_VALUES correctly. Also converted teh Polish localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14949]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14859 -- ITSocialSecurityNumberField and ITVatNumberField ↵Alex Gaynor
didn't handle all EMPTY_VALUES gracefully. Also converted the Italias localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14945]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #13726 -- Further refine changes made in r12384 and r13069 for ↵Jannis Leidel
using non-English source languages in JavaScript translation catalogues. Thanks, Ramiro. Backport from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #12735 and #14892 -- Fixed support for the latest IPython ↵Jannis Leidel
(development) version in the shell management command. Backport from trunk (r14895). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #14446 -- Prevented the password reset confirmation view to be ↵Jannis Leidel
cached. Thanks, Paul and Gabriel. Backport from trunk (r14890). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #14312 -- Raising an ``IncorrectLookupParameters`` if the page ↵Jannis Leidel
number given to an admin change list exceeds the number of the last page. Thanks, mk. Backport from trunk (r14889). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #14158 -- Fixed SelectMultiple._has_changed to not assume same ↵Jannis Leidel
order of data anymore. Thanks, akaariai and dmoisset. Backport from trunk (r14887). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #14144 -- Made sure custom validators are called in ↵Jannis Leidel
ModelMultipleChoiceFields. Thanks, matiasb. Backport from trunk (r14886). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14906 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #14805 -- Capitalize "Google" in sitemaps docs. Thanks, Adam.Jannis Leidel
Backport from trunk (r14884). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #13856 -- Float admin's top links on the right for RTL languages.Jannis Leidel
Backport from trunk (r14881). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #12955 -- Use the size attribute of the file instead of len() ↵Jannis Leidel
to support uploads larger than 2GB. Thanks, swiedenroth and isagalaev. Backport from trunk (r14878). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #11990 -- Show the correct URLconf in the technical 404 ↵Jannis Leidel
template even if it was overridden, e.g. in a middleware. Thanks, mattbennett. Backport from trunk (r14877). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Reverted [13998] because it never worked.Luke Plant
Refs #5425, #14844 Backport of [14897] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12[1.2.X] Fixed #14499 -- ATSocialSecurityNumberField now responds to all ↵Alex Gaynor
EMPTY_VALUES correctly. Also converted Austrian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14873]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-08[1.2.X] Fixed the world's ugliest syntax (that's not an actual error) that ↵Alex Gaynor
snuck in with [14858]. Backport of [14859]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-08[1.2.X] Fixed #14870 -- don't catch AttributeErrors in database router ↵Alex Gaynor
methods, instead check that the method itself exists. Thanks to jonash for the patch. Backport of [14857]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-08[1.2.X] Replaced an ImportError with ImproperlyConfigured in the Oracle ↵Ian Kelly
backend. Backport of r14855 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05[1.2.X] Fixed #14833 -- Skip the sitemaps localization test if i18n isn't ↵Russell Keith-Magee
enabled. Thanks to Julien Phalip for the report and patch. Backport of r14826 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05[1.2.X] Fixed #14799 -- Provided a full solution for test database creation ↵Russell Keith-Magee
order problems. Backport of r14822, r14823 and r14824 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] GeoDjango test suite housekeeping. Moved data into fixtures for ↵Justin Bronn
`relatedapp` and `distapp` tests, and made both use Django's `TestCase`; moved functionality out of `GeoDjangoTestSuiteRunner` to allow future re-use in `runtests.py` (refs #10420); compressed test app fixtures and cleaned up imports. Backport of r14776 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] Fixed #14807 -- Ensure that boolean values aren't localized as T.rue ↵Russell Keith-Magee
and Fa.lse because of the thousand separator. Thanks to vanschelven for the report and Backport of r14804 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] Removed all usages of deprecated TestCase methods (self.fail*). ↵Alex Gaynor
This removed most of the Warnings emitted (with -Wall) during the test suite. Backport of [14803]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] Fixed #14737 -- Moved the docstring comment for the cache_page ↵Russell Keith-Magee
decorator so it gets picked up as a docstring. Thanks to adamv for the report and patch. Backport of r14798 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] Fixed #14795 -- Ensure that get_all_permissions() returns the right ↵Russell Keith-Magee
result (i.e., all permissions) for superusers. Thanks to jay.halleaux@gmail.com for the report, and Brett Haydon for the patch. Backport of r14797 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] Normalized the name order of arguments. There's no actual bug here, ↵Russell Keith-Magee
other than potential confusion for anyone reading the code. Thanks to Aram Dulyan for the report. Backport of r14796 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] Fixed #13190 -- Improved error handling for the case where no ↵Russell Keith-Magee
authentication backends are defined. Thanks to Joel3000 for the report, and Łukasz Rekucki for the final patch. Backport of r14793 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] Fixed #14819 -- Corrected typo in serializer docstring. Thanks to ↵Russell Keith-Magee
stringify for the report and patch. Backport of r14789 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-03[1.2.X] Fixed #14700 -- ensure that a raw query is only executed once per ↵Alex Gaynor
iteration. Backport of [14785]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-03[1.2.X] Fixed the Oracle environment variables not getting set correctly ↵Ian Kelly
under Cygwin. Backport of r14781 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02[1.2.X] Fixed #8217 -- Correctly sort files in FilePathFields on older ↵Jannis Leidel
Python versions. Thanks, bernd and davidb. Backport from trunk (r14772). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02[1.2.X] Fixed #8342 -- Removed code from the admin that assumed that you ↵Jannis Leidel
can't login with an email address (nixed by r12634). Backport from trunk (r14769). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-01[1.2.X] Fixed a bug in date queries with GIS backends introduced in [14716]. ↵Alex Gaynor
Backport of [14760]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-30[1.2.X] Ensured that the test suite creates the default DB before any others.Jacob Kaplan-Moss
Refs #14799. Backport of [14756], and see the note there for a caveat. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-30[1.2.X] Small grammar fix in 'user-uploaded files' comment from [14561]Ramiro Morales
Backport of r14582 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-30[1.2.X] Fixed #14812 -- Made parsing of the If-Modified-Since HTTP header ↵Ramiro Morales
more robust in presence of malformed values when serving static content. Thanks shaohua for the report, and alexey.smolsky@gmail.com for a similar report and patch. Backport of r14753 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26[1.2.X] Fixed a suite of errors in the ORM -- a) fixed calling ↵Alex Gaynor
values_list().values_list() and changing whether the results are flat, b) fixed an issue with fields on the left-hand side of what becomes the HAVING clause not being included in the GROUP BY clause, and c) fixed a bug with fields from values() calls not being included in the GROUP BY clause. This fixed the recent test failures under postgresql. Backport of [14715]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26[1.2.X] Fixed #14730 -- Fixed unclosed anchor tag in Mongolian translation. ↵Jannis Leidel
Thanks for the report, ankhbayar. Backport from trunk (r14709). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26[1.2.X] Fixed #14721 -- Made the THOUSAND_SEPERATOR a unicode string in a ↵Jannis Leidel
few locales. Thanks, Claude Paroz. Backport from trunk (r14708). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-25[1.2.X] Fixed #14415 -- Corrected the process of creating and destroying ↵Russell Keith-Magee
test databases to prevent accidental deletion of the source database. Also improves the mirroring process to prevent some cross-connection effects. Thanks to Shai Berger for the help diagnosing and testing. Backport of r14696 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-24[1.2.X] Fixed #14700 - speed up RawQuerySet iterator.Luke Plant
This moves constant work out of the loop, and uses the much faster *args based model instantiation where possible, to produce very large speed ups. Thanks to akaariai for the report and patch. Backport of [14692] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14693 bcc190cf-cafb-0310-a4f2-bffc1f526a37