summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-03-28Replaced escaped by real characters in LANG_INFO structureClaude Paroz
2013-03-28Updated translations from TransifexClaude Paroz
Polish, Telugu, Georgian, Azerbaijani, Norwegian Bokmål, Basque, Dutch, Thai, Spanish (Argentina), Afrikaans.
2013-03-27Fixed #20016: worked around Jython not having a buffer.Andreas
2013-03-27Fixed #20078: don't allow filtering on password in the user admin.Jacob Kaplan-Moss
2013-03-27Merge remote-tracking branch 'ptone/18985-fix'Jacob Kaplan-Moss
2013-03-26Fixed #20138 -- Added BCryptSHA256PasswordHasherDonald Stufft
BCryptSHA256PasswordHasher pre-hashes the users password using SHA256 to prevent the 72 byte truncation inherient in the BCrypt algorithm.
2013-03-26Fixed #20091 -- Oracle null promotion for empty stringsAnssi Kääriäinen
2013-03-25Fixed #20121 -- Removed LogEntry.get_admin_url's hard-coded path.Adam Wentz
Updated LogEntry.get_admin_url to use 'reverse' instead of a hard-coded path.
2013-03-25Removed forced typecasting of help_text/label Field argumentsClaude Paroz
In any case, setting those variables to non-ascii utf-8 bytestrings is now considered a programming error.
2013-03-25Moved removeChildren to core.jsAndrew Jesaitis
The function removeChildren is a general utility that other functions might want to use. Fixes #4120. Thanks arvin for the initial patch.
2013-03-25Moved cancelEventPropagation into core.jsAndrew Jesaitis
The cancelEventPropagation function is a general utility function that can be reused by other widgets. Refs #4120.
2013-03-25Removed quickElement from calendar.jsAndrew Jesaitis
The function quickElement in calendar.js is a duplicate of the quickElement function in core.js. Refs #4120.
2013-03-24Fixed #18985 -- ensure module level deprecations are displayedPreston Holmes
Also don't compete with -W CLI option. Thanks to Aymeric Augustin for the catch, and Claude Paroz for the patch.
2013-03-24Merge pull request #946 from matiasb/minor-flatpage-translation-fixSimon Charette
Fixed #20117 -- Added missing translation override to fix flatpages test.
2013-03-24Fixed Oracle specific failures in multicolumn joinsAnssi Kääriäinen
Refs #19385
2013-03-24Merge pull request #885 from loic/ticket19541Jannis Leidel
Fixed #19541 -- Fixed BaseHandler to enable reversing URLs in response middlewares...
2013-03-25Fixed #19541 -- Fixed BaseHandler to enable reversing URLs in response ↵Loic Bistuer
middlewares and streamed responses with respect to per-request urlconf.
2013-03-24Fixed field.rel.field_name handlingAnssi Kääriäinen
This is a regression fix to multicolumn joins. Refs #19385.
2013-03-24Python 2.6 compatibility for #19385Anssi Kääriäinen
2013-03-24Fixed #19385 again, now with real code changesAnssi Kääriäinen
The commit of 266de5f9ae9e9f2fbfaec3b7e4b5fb9941967801 included only tests, this time also code changes included...
2013-03-24Fixed #15124 -- Changed the default for BooleanField.Aymeric Augustin
Thanks to the many contributors who updated and improved the patch over the life of this ticket.
2013-03-24Fixed #17550 -- Removed a workaround for a bug in flup 1.0.1.Aymeric Augustin
This reverts commit 948a833eb7fd9be0bc2d585c92a407f036ef42b2. flup appears to be dead, and this fix breaks legitimate uses of Django. Refs #8490.
2013-03-23Fixed #9055 -- Standardized behaviour of parameter escaping in db cursorsClaude Paroz
Previously, depending on the database backend or the cursor type, you'd need to double the percent signs in the query before passing it to cursor.execute. Now cursor.execute consistently need percent doubling whenever params argument is not None (placeholder substitution will happen). Thanks Thomas Güttler for the report and Walter Doekes for his work on the patch.
2013-03-23Fixed #20117 -- Added missing translation override to fix flatpages test.matiasb
2013-03-23Merge pull request #942 from stephrdev/trac-18000Jannis Leidel
Fixed #18000 -- Moved the code to handle goto requests to an extra WizardView method.
2013-03-23Added some class attributes to pass initial form lists to the WizardView ↵Stephan Jaekel
without the need to add them in the as_view call.
2013-03-23Moved the code to handle goto requests in a extra WizardView method.Stephan Jaekel
2013-03-23Fixed #20048, #20060 -- Modified tests for contrib apps sensitive to custom ↵Russell Keith-Magee
User models. Thanks to matiasb for the report of #20060 and the draft patch for #20048.
2013-03-22Fixed #16350 -- Forced capitalization in template.Aymeric Augustin
This improves rendering in some foreign languages.
2013-03-22Fixed #20108 -- Fixed filepath_to_uri decoding errorClaude Paroz
This was a regression due to unicode_literals usage. Thanks Ivan Virabyan for the report and the initial patch.
2013-03-22Fixed #20094 - Be more careful when checking for IteratorMarc Tamlyn
Python 2.6 has some different behaviour when checking isinstance(foo, collections.Iterator).
2013-03-21Fixed #20084 -- Provided option to validate formset max_num on server.Andrew Gorcester
This is provided as a new "validate_max" formset_factory option defaulting to False, since the non-validating behavior of max_num is longstanding, and there is certainly code relying on it. (In fact, even the Django admin relies on it for the case where there are more existing inlines than the given max_num). It may be that at some point we want to deprecate validate_max=False and eventually remove the option, but this commit takes no steps in that direction. This also fixes the DoS-prevention absolute_max enforcement so that it causes a form validation error rather than an IndexError, and ensures that absolute_max is always 1000 more than max_num, to prevent surprising changes in behavior with max_num close to absolute_max. Lastly, this commit fixes the previous inconsistency between a regular formset and a model formset in the precedence of max_num and initial data. Previously in a regular formset, if the provided initial data was longer than max_num, it was truncated; in a model formset, all initial forms would be displayed regardless of max_num. Now regular formsets are the same as model formsets; all initial forms are displayed, even if more than max_num. (But if validate_max is True, submitting these forms will result in a "too many forms" validation error!) This combination of behaviors was chosen to keep the max_num validation simple and consistent, and avoid silent data loss due to truncation of initial data. Thanks to Preston for discussion of the design choices.
2013-03-20Fixed #18839 - Field.__init__() now calls super().Carny Cheng
2013-03-21Removed unused importAnssi Kääriäinen
2013-03-20Fixed #18972 -- Refactored bundled wsgi server's chunking algorithm.Matthew Wood
Thanks to amosonn at yahoo.com for the report, @doda for the initial patch and @datagrok for the revamped logic and test case.
2013-03-20Fixed #19972 -- Fixed overflow issue in admin changelist pages.Florian Apolloner
Thanks to loic84 for the report and patch.
2013-03-20Revert "Fixed 19895 -- Made second iteration over invalid queryset raise an ↵Claude Paroz
exception too" This reverts commit 2cd0edaa477b327024e4007c8eaf46646dcd0f21. This commit was the cause of a memory leak. See ticket for more details. Thanks Anssi Kääriäinen for identifying the source of the bug.
2013-03-19Fixed #16319 -- added SuccessMessageMixin to contrib.messagesPaul Collins
Thanks martinogden for the initial patch and d1ffuz0r for tests.
2013-03-19Merge pull request #931 from ↵Preston Holmes
catalanojuan/fix-admin-log-dependency-on-user-id-field-20088 Fixed #20088 -- Changed get_admin_log not to depend on User id field
2013-03-19Fixed #18003 -- Preserved tracebacks when re-raising errors.konarkmodi
Thanks jrothenbuhler for draft patch, Konark Modi for updates.
2013-03-19Fixed #20088 -- Changed get_admin_log not to depend on User id fieldJuan Catalano
Before this change, the get_admin_log method would expect User model's FK to be named `id`. When changing that FK name, admin/index.html rendering would fail. This includes: * Changed the use of id for the use of pk property. * Added a regression test that fails without the patch. This commit refs #20088.
2013-03-18Fixed #19327 -- Added handling of double login attempts in admin.Deric Crago
Thanks to Krzysztof Jurewicz for initial patch and adupin for tests.
2013-03-18Fixed #13260 -- Quoted arguments interpolated in URLs in reverse.Aymeric Augustin
2013-03-18Fixed #19968 -- Dropped support for PostgreSQL < 8.4.Aymeric Augustin
2013-03-18Fixed #19456 -- Avoid infinite recursion when tracing LazyObject.__init__.Aymeric Augustin
Thanks blaze33 for the patch.
2013-03-18Fixed #18447 -- Made LazyObject unwrap on dict access.Aymeric Augustin
Thanks Roman Gladkov and Zbigniew Siciarz.
2013-03-18Clarified that constant_time_compare doesn't protect string lengths.Aymeric Augustin
2013-03-18Fixed #17037 -- Added a --all option to diffsettings.Aymeric Augustin
2013-03-17Fixed #19510 -- Race condition in template loading.Aymeric Augustin
Thanks Kronuz and regebro.
2013-03-17Fixed #19550 -- Made the filtered select widget wider in the admin.Aymeric Augustin
Thanks Claude and Julien for the review.