summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2009-10-09SECURITY ALERT: Corrected regular expressions for URL and email fields.Jacob Kaplan-Moss
Certain email addresses/URLs could trigger a catastrophic backtracking situation, causing 100% CPU and server overload. If deliberately triggered, this could be the basis of a denial-of-service attack. This security vulnerability was disclosed in public, so we're skipping our normal security release process to get the fix out as soon as possible. This is a security related update. A full announcement will follow. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-21[1.0.X] Fixed #11049: introspection on Oracle now identifies IntegerFields ↵Matt Boersma
correctly. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29[1.0.X] SECURITY ALERT: Corrected a problem with the Admin media handler ↵Russell Keith-Magee
that could lead to the exposure of system files. Thanks to Gary Wilson for the patch. This is a security-related backport of r11351. A full announcement, as well as a backport 0.96.X will be forthcoming. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-25[1.0.X] Fixed #11546 -- Modified the mail regression test to avoid getting ↵Russell Keith-Magee
hung up on 32/64 bit differences. Thanks to Richard Davies for the report. Merge of r11328 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21Fixed #11487: pass long strings to Oracle as CLOB rather than NCLOB to ↵Ian Kelly
prevent an encoding bug that occurs in some installations. Backport of [11285] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11[1.0.X] Fixed #11107 -- Corrected the generation of sequence reset SQL for ↵Russell Keith-Magee
m2m fields with an intermediate model. Thanks to J Clifford Dyer for the report and fix. Merge of r11215 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29[1.0.X] Fixed #10834 -- Added bucket condition to ensure that URL resolvers ↵Russell Keith-Magee
won't ever return None. Thanks to Chris Cahoon for the patch. Merge of r11120 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29[1.0.X] Fixed #11392 -- Enforced a predictable result order for a couple of ↵Russell Keith-Magee
test cases. Thanks to Nathan Auch for the report and patch. Merge of r11119 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18[1.0.X] Fixed #11270 -- Modified cache template tag to prevent the creation ↵Russell Keith-Magee
of very long cache keys. Thanks to 235 for the report and patch. Merge of r11068 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18[1.0.X] Fixed #11270 -- Corrected naming conflict in templatetag test. ↵Russell Keith-Magee
Thanks to steveire for the report. Merge of r11067 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-15[1.0.X] Fixed #9023 -- Corrected a problem where cached attribute values ↵Russell Keith-Magee
would cause a delete to cascade to a related object even when the relationship had been set to None. Thanks to TheShark for the report and test case, and to juriejan and Jacob for their work on the patch. Merge of r11009 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-15[1.0.X] Fixed #11311 -- Reverted [10952], Refs #10785. Changeset [10952] ↵Russell Keith-Magee
caused problems with m2m relations between models that had non-integer primary keys. Thanks to Ronny for the report and test case. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-12[1.0.X] Fixed #9367 - EmailMultiAlternatives does not properly handle ↵Luke Plant
attachments. Thanks to Loek Engels for the bulk of the patch. Backport of r10983 from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-08[1.0.X] Fixed #10785 -- Corrected a case for foreign key lookup where the ↵Russell Keith-Magee
related object is a custom primary key. Thanks to Alex Gaynor for the patch. Merge of r10952 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-03[1.0.X] Fixed #9479 -- Corrected an edge case in bulk queryset deletion that ↵Russell Keith-Magee
could cause an infinite loop when using MySQL InnoDB. Merge of 10913-10914 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-29[1.0.X] Fixed a few Python 2.3 incompatibilities that were causing test ↵Gary Wilson Jr
failures. Backport of [10863] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-20[1.0.X] Fixed #11134: signals recievers that disconnect during their ↵Jacob Kaplan-Moss
processing no longer mess things up for other handlers. Thanks, Honza Kral. Backport of [10831] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-20[1.0.X] Modified a test from r10787 so that the comparison order is ↵Russell Keith-Magee
reliable. Thanks to Alex Gaynor and Tom Tobin for the report via IRC. Merge of r10828 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-19[1.0.X] Fixed #9308 -- Corrected the updated of nullable foreign key fields ↵Russell Keith-Magee
when deleting objects. Thanks to Bob Thomas for the fix, and markshep for the improvements on the test case. Merge of r10822 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17[1.0.X] Fixed #11066 -- Corrected 11 duplicate "the"s found in docs and code ↵Karen Tracey
comments. Thanks kaikuehne. Merge of applicable parts of r10801 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-15[1.0.X] Fixed import statement in admin_views test to work with Python 2.3. Matt Boersma
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-15[1.0.X] Fixed #11120 -- Corrected handling of inlines attached to inherited ↵Russell Keith-Magee
classes, broken by r10756. Thanks to George Song and Michael Strickland for the simultaneous reports. Merge of r10787 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14[1.0.X] Fixed #10348: ChangeList no longer overwrites a select_related ↵Jacob Kaplan-Moss
provided by `ModelAdmin.queryset()`. Backport of [10782] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14[1.0.X] Fixed #10992: fixed a bug saving inlines with custom primary key ↵Jacob Kaplan-Moss
fields. Thanks, Zain. Backport of [10777] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13[1.0.X] Fixed #10687: fixed request parsing when upload_handlers is empty. ↵Jacob Kaplan-Moss
Thanks, Armin Ronacher. Backport of [10723] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13[1.0.X] Fixed #10448: correcting errors on "save as new" now correctly ↵Jacob Kaplan-Moss
create a new object instead of modifying the old one. Thanks, bastih. Backport of [10713] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13[1.0.X] Fixed #10243, #11043 -- Corrected handling of formsets over a ↵Russell Keith-Magee
ForeignKey that uses to_field, and by extension, fixed the admin for handling fields of that type. Thanks to apollo13 for the initial patch. Merge of r10756 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13[1.0.X] Fixed #10288 -- Corrected _has_changed handling of DateTimeInput ↵Russell Keith-Magee
when a custom date/time format is in use. Thanks to Koen Biermans for the report and patch. Merge of r10641 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-11[1.0.X] Fixed #10792 -- Ensured that ModelChoiceFields don't provide an ↵Russell Keith-Magee
empty option when the underlying field has blank=False and there is a default value available. Thanks to carljm for the report and patch. Merge of r10729 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-09[1.0.X] Fixed #11042 -- Corrected admin inlines for inherited models. Thanks ↵Russell Keith-Magee
to jsmullyan for the report, and mir for helpful triage work. Patch includes regression test for #8093, and a commented out test for #10992. Merge of r10725 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08[1.0.X] Fixed test suite on Oracle that was broken by using keyword "date" ↵Matt Boersma
as a field name. Refs #4140 and #10422. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08[1.0.X] Fixed #10899 -- Ensured that log messages for deletions in the admin ↵Russell Keith-Magee
contain useful descriptions. Thanks to Jeremy Dunck for the patch. Merge of r10686 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08[1.0.X] Fixed #10516 -- Corrected admin search when the search_fields ↵Russell Keith-Magee
definition contains multiple fields on the same base model. Thanks to Zain Memon Merge of r10684 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08[1.0.X] Fixed #9493 -- Corrected error handling of formsets that violate ↵Russell Keith-Magee
unique constraints across the component forms. Thanks to Alex Gaynor for the patch. Merge of r10682 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08Reverted r10709 which I applied to the wrong branch. Sorry for my git-svn fail!Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08Fixed #10188: prevent newlines in HTTP headers. Thanks, bthomas.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08[1.0.X] Fixed #8817: get_image_dimensions correctly closes the files it ↵Jacob Kaplan-Moss
opens, and leaves open the ones it doesn't. Thanks, mitsuhiko. While I was at it, I converted the file_storage doctests to unit tests. Backport of [10707] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08[1.0.X]: Fixed #9610 -- Fixed duplicate uploaded file name mangling when ↵Gary Wilson Jr
directory contained a dot and file didn't. Based on patches from fadlytabrani and adurdin. Backport of r10701 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07[1.0.X] Make sure that all uses of max_length in the test suite use values ↵Jacob Kaplan-Moss
smaller than 255. If we use max_length > 255 the test suite can't be run on MySQL 4. Backport of [10697] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07[1.0.X] Fixed #9659: fixed `wsgi.file_wrapper` in the builtin server. ↵Jacob Kaplan-Moss
Thanks, mitsuhiko. Backport of [10690] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-05[1.0.X] Fixed #10275 -- Corrected the edge case of rendering a LogEntry with ↵Russell Keith-Magee
a contenttype of None. Thanks to Jarek Zgoda for the report, and Peter Bengtsson for the patch Merge of r10675 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-03[1.0.X] Fixed #9932 -- Added a validation error when an inline tries to ↵Russell Keith-Magee
exclude the foreign key that provides the link to the parent model. Thanks to david for the report and patch. Merge of r10668 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-03[1.0.X] Fixed #9362 -- Prevented inline forms from overwriting the ↵Russell Keith-Magee
content_type_id attribute on objets being inlined. Thanks to carljm for the report and patch. Merge of r10667 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02Fixed #9609 -- Modified the clean method of(Null)Boolean field to accept '1' ↵Russell Keith-Magee
and '0' as valid inputs. Thanks to psagers for the patch. This is required to support the use of non-default form widgets such as RadioSelect when the data comes from MySQL, which uses 1/0 to represent booleans. Merge of r10660 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02[1.0.X] Fixed #10349 -- Modified ManyToManyFields to allow initial form ↵Russell Keith-Magee
values to be callables. Thanks to fas for the report and patch. Merge of r10652 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-30[1.0.X] Fixed #10134 -- Added unique_for_[date|day|month|year] validation to ↵Russell Keith-Magee
ModelForm handling. Thanks to Alex Gaynor for the patch. Merge of r10646 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-28[1.0.X] Fixed #10082 -- Modified BaseFormSet so that ordering checks work ↵Russell Keith-Magee
when the formset is empty. Thanks to Petr Marhoun for the report and test case, and bmathieu for the fix. Merge of r10643 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-22[1.0.X] Fixed the tests from [9438] to work consistantly across databases. ↵Jacob Kaplan-Moss
In particular, it was failing on newer versions of PostgreSQL after [10586]. Backport of [10626] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-22[1.0.X] Fixed #10208: `ModelAdmin` now respects the `exclude` and `field` ↵Jacob Kaplan-Moss
atributes of custom `ModelForm`s. Thanks, Alex Gaynor. Backport of r10619 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21[1.0.X] Fixed #9651: fixed save_as with inline forms. Thanks, kmike and ↵Karen Tracey
Mnewman. Backport of r10353 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10612 bcc190cf-cafb-0310-a4f2-bffc1f526a37