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
Claude Paroz
3d4f5f6086
[1.5.x] Fixed #19114 -- Fixed LogEntry unicode representation
...
Thanks niko at neagee.net for the report and Emil Stenstrom for
the patch.
Backport of e0363c688
from master.
2012-11-17 19:21:09 +01:00
Claude Paroz
1b6e751430
[1.5.x] Fixed #19226 -- Applied linebreaksbr to read-only fields in admin
...
Thanks shadow for the report, and Melevir and thiderman for the
patch.
Backport of ec9d6b112
from master.
2012-11-17 17:12:24 +01:00
Brandon Adams
cefbf09a4d
[1.5.X] Fixed docs noting comment_will_be_sent returns a 400, not a 403
...
Backport of d8ee46afff
from master
2012-11-16 18:20:11 -05:00
Anssi Kääriäinen
33f1181c31
[1.5.x] Fixed #19058 -- Fixed Oracle GIS crash
...
The problem is the same as in #10888 which was reintroduced when
bulk_insert was added. Thanks to Jani Tiainen for report, patch and
also testing the final patch on Oracle GIS.
Backpatch of 92d7f541da
2012-11-15 16:11:22 +02:00
Florian Apolloner
31eefc8349
[1.5.X] Added missing encoding preamble to gis tests.
...
'coverage html' did fail without it.
Thanks to Claude Paroz for figuring it out.
Backport of aea8bf0662
from master.
2012-11-09 15:33:37 +01:00
Aymeric Augustin
93e0ec553d
[1.5.x] Fixed #19254 -- Bug in SESSION_FILE_PATH handling.
...
Thanks simonb for the report.
Refs #18194 .
Backport of 11fd00c
from master.
2012-11-06 10:21:30 +01:00
Aymeric Augustin
d7688a010a
[1.5.x] Fixed #18963 -- Used a subclass-friendly pattern
...
for Python 2 object model compatibility methods.
Backport of fc10418
from master.
2012-11-03 22:08:05 +01:00
Ulrich Petri
f12fa7750c
[1.5.X] Fixed #17549 -- Added a clickable link for URLFields in admin change list.
...
Backport of ac2052ebc8
from master.
2012-11-03 11:59:16 +01:00
Tim Graham
c5d0f49dc2
[1.5.X] Added WizardView.file_storage exception message and docs
...
Thanks Danilo Bargen for the patch.
Backport of af7ea808d8
from master
2012-11-01 18:02:32 -04:00
Claude Paroz
a8c415f844
[1.5.x] Fixed #16678 -- Wrote tests for contrib.redirects app
...
Thanks Julien Phalip for the report.
Backport of d9213d09db
from master.
2012-11-01 19:49:08 +01:00
Aymeric Augustin
0dcaddb571
Fixed #17083 -- Allowed sessions to use non-default cache.
2012-10-31 09:51:19 +01:00
Preston Holmes
e8269a6729
[1.5.x] Fixed #17869 - force logout when REMOTE_USER header disappears
...
If the current sessions user was logged in via a remote user backend log out
the user if REMOTE_USER header not available - otherwise leave it to other auth
middleware to install the AnonymousUser.
Thanks to Sylvain Bouchard for the initial patch and ticket maintenance.
2012-10-29 22:58:36 -07:00
Preston Holmes
402a986c25
[1.5.x] Fixed #19057 (again) -- added additional tests
2012-10-29 22:33:46 -07:00
Russell Keith-Magee
e784b5e594
[1.5.X] Added some test guards for some recently added auth tests.
...
Refs #19061 , #19057 .
2012-10-30 10:27:01 +08:00
Claude Paroz
8c556a32f2
[1.5.x] Fixed #19172 -- Isolated poisoned_http_host tests from 500 handlers
...
Thanks bernardofontes for the report.
Backport of b774c5993
from master.
2012-10-29 17:29:28 +01:00
Luke Plant
d7d7ad2881
[1.5.x] Fixed #17991 - prefetch_related fails with GenericRelation and varchar ID field
...
Thanks to okke@formsma.nl for the report, and carmandrew@gmail.com for the tests.
Backport of ccd14ff25b7642678bf3c9ed8a12643f04853144 from master
2012-10-29 14:41:05 +00:00
Preston Holmes
f427ecdc88
[1.5.x] Fixed #19061 -- added is_active attribute to AbstractBaseUser
2012-10-28 23:06:09 -07:00
Aymeric Augustin
95f3f0cbbe
[1.5.x] Fixed a typo in aff9b2f
.
...
Thanks void.
Backport of effe96b
from master.
2012-10-28 22:36:01 +01:00
Aymeric Augustin
88393357a6
[1.5.x] Marked cookies-based session expiry test as an expected failure.
...
Refs #19201 .
Backport of 58337b3
from master.
2012-10-28 18:04:50 +01:00
Aymeric Augustin
54b45dfb53
[1.5.x] Fixed #19203 -- Added isolation to a humanize test
...
Thanks lrekucki for the report.
Backport of aff9b2f
from master.
2012-10-28 09:35:04 +01:00
Aymeric Augustin
39082494e6
[1.5.x] Fixed #18194 -- Expiration of file-based sessions
...
* Prevented stale session files from being loaded
* Added removal of stale session files in django-admin.py clearsessions
Thanks ej for the report, crodjer and Elvard for their inputs.
Backport of 5fec97b
from master.
2012-10-28 09:21:56 +01:00
Aymeric Augustin
e6b0ee768c
[1.5.x] Improved tests introduced in 04b00b6
.
...
These tests are expected to fail for the file session backend because it
doesn't handle expiry properly. They didn't because of an error in the
test setup sequence.
Refs #19200 , #18194 .
Backport of 882c47c
from master.
2012-10-28 09:21:27 +01:00
Aymeric Augustin
845d8408e7
[1.5.x] Added optional kwargs to get_expiry_age/date.
...
This change allows for cleaner tests: we can test the exact output.
Refs #18194 : this change makes it possible to compute session expiry
dates at times other than when the session is saved.
Fixed #18458 : the existence of the `modification` kwarg implies that you
must pass it to get_expiry_age/date if you call these functions outside
of a short request - response cycle (the intended use case).
Backport of cd17a24
from master.
2012-10-28 09:20:54 +01:00
Aymeric Augustin
0fe02feab4
[1.5.x] Fixed #19200 -- Session expiry with cached_db
...
Also did a little bit of cleanup.
Backport of 04b00b6
from master.
2012-10-27 19:41:12 +02:00
Aymeric Augustin
b760503a27
[1.5.x] Fixed #18978 -- Moved cleanup command to sessions.
...
This removes a dependency of 'core' on 'contrib'.
Backport of 83ba0a9
from master.
This deprecation occurs after the alpha, but it's a prerequisite
for fixing decently #18194 which is a release blocker.
2012-10-27 18:38:32 +02:00
Anssi Kääriäinen
15ea36dfc0
[1.5.x] Ensured gis tests aren't run on non-gis Oracle
...
Backpatch of b55de81b9e
2012-10-27 19:26:33 +03:00
Claude Paroz
58cc3e8484
Fixed #19157 -- Removed test-only string from translatable strings
...
Thanks Alexey Boriskin for the report. Refs #18240 .
2012-10-22 09:31:28 +02:00
Aymeric Augustin
c2e19e26bc
Fixed #17856 -- Passed obj to get_inline_instances
...
Thanks ybon, quinode and sjaensch for the patch, and Tim Graham
for the review.
2012-10-20 15:49:52 +02:00
Russell Keith-Magee
04b53ebfb7
Fixed #19133 -- Corrected regression in form handling for user passwords.
...
Thanks to pressureman for the report, and to Preston Holmes for the draft patch.
2012-10-20 11:41:54 +08:00
Ramiro Morales
0b908b92a2
Fixed #8001 -- Made redirections after add/edit in admin customizable.
...
Also fixes #18310 .
2012-10-18 20:58:52 -03:00
Preston Holmes
9305c0e12d
Fixed a security issue related to password resets
...
Full disclosure and new release are forthcoming
2012-10-17 14:36:41 -07:00
Claude Paroz
9d2e1f065e
Reported OpenLayersWidget exceptions through logging
2012-10-17 11:59:10 +02:00
Russell Keith-Magee
bfcda7781a
Fixed #19130 -- Made some of the auth forms more flexible for user models.
2012-10-16 16:03:29 +08:00
Claude Paroz
08286ca5d9
Made use of assertXMLEqual in sitemaps tests
2012-10-15 23:05:40 +02:00
Claude Paroz
2ee6a46696
Fixed #15753 -- Cleared cache between sitemaps tests
...
When caching was activated, test_simple_sitemap would fail
because the test result was fetched from cache.
Thanks lucho for the initial patch and krzysiumed@gmail.com for
the review.
2012-10-15 21:11:32 +02:00
Adrian Holovaty
05b8491622
Added DeprecationWarning for django.contrib.localflavor.
...
Note this is DeprecationWarning instead of PendingDeprecationWarning because we've decided
to accelerate this particular deprecation.
2012-10-15 09:37:29 -05:00
Claude Paroz
58365401c9
Updated base translation files
2012-10-15 11:17:06 +02:00