Commit Graph

2585 Commits

Author SHA1 Message Date
Claude Paroz 3f9ab5209f Updated localflavor translations 2013-01-15 17:30:18 +01:00
Stephan Jaekel fb130cb40e [1.5.x] Fixed #18026 -- Don't return an anonymous dict if extra_data in storage is empty.
Backport of 97121cb9 from master.
2013-01-12 15:51:15 +01:00
Nick Sandford b4544dbd5b [1.5.x] Fixed #19573 -- Allow override of username field label in AuthenticationForm
Backport of cdad0b28d from master.
2013-01-10 09:07:06 +01:00
Claude Paroz beef02eeaa [1.5.x] Updated deprecated test assertions 2013-01-08 19:11:40 +01:00
Claude Paroz 3f2f50699e [1.5.x] Updated translation catalogs for core and admin 2013-01-01 16:13:37 +01:00
Julien Phalip fa71536129 [1.5.x] Added further flexibility to ModelAdmin for controlling post-save redirections.
Refs #19505.
Backport of cee40c7d79
2012-12-30 23:11:58 -08:00
Anssi Kääriäinen e871e02178 [1.5.x] Made gis get_default_columns mirror changes in normal compiler
The copy-pasted part of gis compiler's get_default_columns wasn't
changed to match changes in a0155f3534.
2012-12-30 12:22:26 +02:00
Claude Paroz 4f67ab6376 [1.5.x] Fixed #16408 -- Re-fixed value conversion with Spatialite backend
Backport of 0907d3c6f from master.
2012-12-26 12:48:27 +01:00
Julien Phalip 3ad34c231b [1.5.x] Fixed #19505 -- A more flexible implementation for customizable admin redirect urls.
Work by Julien Phalip.

Refs #8001, #18310, #19505. See also 0b908b92a2.

35d1cd0b28 from master.
2012-12-24 18:12:13 -03:00
Luke Plant b362a55969 [1.5.x] Made admin generated changelist URLs independent of dict ordering
Backport of c31c2c92b8 from master
2012-12-24 02:20:32 +00:00
Ian Clelland 515cf94b60 [1.5.x] Use new TestCase methods for equality comparisons
Backport of 8d35fd4c32 from master
2012-12-24 02:19:16 +00:00
Claude Paroz 3aba929bcc [1.5.x] Fixed #19509 -- Fixed crypt/bcrypt non-ascii password encoding
Also systematically added non-ascii passwords in hashers test suite.
Thanks Vaal for the report.
Backport of 0dc3fc954 from master.
2012-12-22 16:04:49 +01:00
Aymeric Augustin 9919638137 [1.5.x] Fixed #19468 -- Decoded request.path correctly on Python 3.
Thanks aliva for the report and claudep for the feedback.

Backport of 1e4a27d from master.
2012-12-22 14:45:06 +01:00
Claude Paroz 9e7183073f [1.5.x] Added compatibility with legacy message length
Added compatibility code to not break when decoding messages
encoded on pre-1.5 versions.
Refs #19387. Thanks Florian Apolloner for noticing the issue.
2012-12-21 13:36:22 +01:00
Claude Paroz be10289d03 [1.5.x] Fixed #19387 -- Preserved SafeData status in contrib.messages
Thanks Anton Baklanov for the report and the patch.
Backport of e277301c2 from master.
2012-12-21 10:10:21 +01:00
Claude Paroz 0bbc7c2b49 [1.5.x] Fixed #19483 -- Improved import error message in contrib.comments
Thanks Valentin Lorentz for the report and the suggested fix.
Backport of ed711c4bd from master.
2012-12-16 21:13:30 +01:00
Russell Keith-Magee 06b5f5fcb6 [1.5.X] Corrected tests depending on the error message on the AuthenticationForm.
Refs #19368, and the fix introduced in 27f8129d64.

Backport of 9facca28b6 from trunk.
2012-12-16 07:22:25 +08:00
Claude Paroz 55aae4b863 Updated translation catalog for contrib.auth 2012-12-15 23:27:55 +01:00
Russell Keith-Magee 9534192c10 [1.5.X] Fixed #19368 -- Ensured that login error messages adapt to changes in the User model.
Thanks to un33k for the report.

Backport of 27f8129d64 from master.
2012-12-15 22:48:09 +08:00
Russell Keith-Magee 311bd0055d [1.5.X} Fixed #19412 -- Added PermissionsMixin to the auth.User heirarchy.
This makes it easier to make a ModelBackend-compliant (with regards to
permissions) User model.

Thanks to cdestigter for the report about the relationship between
ModelBackend and permissions, and to the many users on django-dev that
contributed to the discussion about mixins.

Backport of 47e1df896b from master.
2012-12-15 22:47:48 +08:00
Florian Apolloner fce1fa0f7f [1.5.X] Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users. 2012-12-10 22:13:28 +01:00
Claude Paroz a155fb7408 [1.5.x] Fixed #19439 -- Removed unused template tag library in change_password.html
Thanks ppetrid for the report.
Backport of 35492f8fc from master.
2012-12-08 12:54:22 +01:00
Claude Paroz fa54604606 [1.5.x] Fixed #19423 -- Prevented ModelAdmin sharing widgets due to formfield_overrides
Thanks joebuyer at manycycles.com for the report and Simon Charette
for the review.
Backport of 04e6542b5 from master.
2012-12-08 12:47:33 +01:00
Claude Paroz 9af9cdb3eb [1.5.x] Fixed a string detection in ogrinspect.py
Backport of 61407951 from master.
2012-12-08 12:20:48 +01:00
Claude Paroz 4214a22e06 [1.5.x] Fixed #19357 -- Allow non-ASCII chars in filesystem paths
Thanks kujiu for the report and Aymeric Augustin for the review.
Backport of c91667338 from master.
2012-12-08 11:16:03 +01:00
Marc Aymerich 57a41d985a [1.5.x] Fixed #19429 -- Applied linebreaksbr to read-only fields in inlines
Applied to inlines what ec9d6b1122 did for main fieldsets.
Backport of 553838a28 from master.
2012-12-06 09:54:47 +01:00
Ramiro Morales 6a098aa6f2 [1.5.x] Fixed #18697 -- Made values accepted for two customizable admin templates consistent.
Thanks and at cloverfastfood dot com for the report.

b64d30405a from master.
2012-12-04 19:53:52 -03:00
Ramiro Morales b6f67bd50e [1.5.x] Minor idiomatic and docstring edits in ar localflavor.
45f00dbb93 from master.
2012-12-04 19:50:19 -03:00
Sebastián Magrí 237a404d3e [1.5.x] Fixed #19318 -- Ensured that the admin's SimpleListFilter options can be displayed as selected even if the lookup's first element is not a string.
Backport of 88e1715639
2012-12-03 11:55:33 -08:00
Claude Paroz 676e4d5497 [1.5.x] Fixed #19349 -- Fixed re-rendering of ReadOnlyPasswordHashWidget
Thanks tim.bowden at mapforge.com.au for the report, Andreas Hug
for the patch and Anton Baklanov for the review.
Backport of a0cd6dd11 from master.
2012-12-01 12:23:49 +01:00
Ryan Kaskel 0fc5878c5f [1.5.x] Allow custom User models to use the UserAdmin's change password view.
Backport of bfdedb687a.
2012-11-30 16:24:51 +01:00
Claude Paroz 47c5b50d34 [1.5.x] Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
Thanks markteisman at hotmail.com for the report.
Backport of 0eeae1505 from master.
2012-11-29 21:52:22 +01:00
Aymeric Augustin 83df1f3b57 [1.5.x] Fixed #19356 -- Increased session key entropy.
Backport of d913a8b from master.
2012-11-29 16:38:09 +01:00
Ramiro Morales bb6e661e0e [1.5.x] Fixed a comment typo. 2012-11-28 20:42:00 -03:00
Claude Paroz 89593048e2 [1.5.x] Fixed #19366 -- Prevented GEOSIndexError when comparing geometries
Thanks Craig de Stigter for the report and collaboration on the
patch.
Backport of cc3c4a9d5 from master.
2012-11-28 22:34:43 +01:00
Edward Tjörnhammar 7c91b67cfa [1.5.x] Fixed #17911 -- Ensure that admin readonly fields' display values are shown in change forms when the raw value is None.
Backport of 29d59a879e
2012-11-25 23:16:44 +01:00
Julien Phalip 22ca5bab95 [1.5.x] Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch.
Backport of ae206d78f6
2012-11-25 20:43:18 +01:00
Jonatan Heyman 75bc081b91 [1.5.x] Fixed #18722 -- Adjusted width of sortable columns in admin
Thanks Simon Charette for the report.
Backport of 35a0fff2 from master.
2012-11-24 17:15:03 +01:00
Claude Paroz fc570b1415 [1.5.x] Updated User manager when testing custom AUTH_USER_MODEL
This is giving more real test conditions when AUTH_USER_MODEL is
set with override_settings.
Backport of a962bc7c4 from master.
2012-11-24 16:01:10 +01:00
Russell Keith-Magee 3fd8458fb3 [1.5.x] Fixed #19806 -- Ensure that content types and permissions aren't created for swapped models.
Thanks to rizumu for the report.

Backport of c8985a8a73.
2012-11-24 14:26:50 +08:00
Claude Paroz 6a00c1968b Added new languages
Afrikaans, Belarusian, Breton, Venezuelan Spanish, Interlingua,
Luxembourgish, Udmurt
2012-11-23 23:16:15 +01:00
Claude Paroz 56f8e4b79c [1.5.x] Fixed cursor commit command in PostGIS backend
Thanks Bruno Renié for noticing the error.
Backport of 7b9a1fb96 from master.
2012-11-23 17:23:15 +01:00
Flavio Curella d46b24e682 [1.5.x] Fixed #19152 -- Allowed PostGIS tests to be run without template
From version 2, a PostGIS template is no longer required to create
a GIS-enabled database.
Backport of fbd1df8e from master.
2012-11-23 16:07:29 +01:00
Aymeric Augustin 9bd67f056c [1.5.x] Fixed #16039 -- Made post_syncdb handlers multi-db aware.
Also reverted 8fb7a90026. Refs #17055.

Backport of a026e48 from master.
2012-11-22 20:54:20 +01:00
Ramiro Morales 1220f22b88 [1.5.x] Fixed #19331 (again) use the right admin named URL.
This allows us to get the trailing slash in URLs without having to
manually assemble and hard-code them.

See also commits e9497a, a222d6, f51eab, 5a9e12.

Backport of 8fdb28219d from master.
2012-11-20 21:52:07 -03:00
Claude Paroz e15df5b6b5 [1.5.x] Fixed #19331 -- Added missing trailing slash in auth admin template
Thanks ppetrid at yawd.eu for the report.
Backport of 8c21c53c8 from master.
2012-11-20 19:21:17 +01:00
Preston Holmes 3a0e0230f7 [1.5.x] Fixed #18658 -- Improved ModelAdmin.message_user API
Thanks to Lowe Thiderman for the patch and tests
2012-11-19 16:03:30 -08:00
Ramiro Morales eb67a45a39 Updated admin base translation file. 2012-11-18 09:33:10 -03:00
Aymeric Augustin a586f2a7e5 [1.5.x] Fixed #19291 -- Completed deprecation of ADMIN_MEDIA_PREFIX.
Backport of 9b755a2 from master.
2012-11-17 23:05:16 +01:00
Kent Hauser 94208399d9 [1.5.x] Add `form` to formwizard context (includes tests)
Backport of ba81164fb7 from master.
2012-11-17 21:24:19 +01:00