Re: [Django] #20354: `makemessages` crashes when reading non-UTF8 encoded files.

2013-05-05 Thread Django
#20354: `makemessages` crashes when reading non-UTF8 encoded files.
-+-
 Reporter:  mrmachine|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Management |  Version:  master
  commands)  |   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:   |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by mrmachine):

 * needs_docs:   => 0
 * has_patch:  0 => 1
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 PR with fix and tests. https://github.com/django/django/pull/1045

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[Django] #20354: `makemessages` crashes when reading non-UTF8 encoded files.

2013-05-05 Thread Django
#20354: `makemessages` crashes when reading non-UTF8 encoded files.
+
 Reporter:  mrmachine   |  Owner:  nobody
 Type:  Bug | Status:  new
Component:  Core (Management commands)  |Version:  master
 Severity:  Normal  |   Keywords:
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  0   |  UI/UX:  0
+
 I have a project with a 3rd party bundled file (`MIT-license.txt`) which
 is apparently not encoded with UTF-8 and contains some characters that
 makes the `makemessages` management command crash with a
 `UnicodeDecodeError`. It outputs the full contents of the file, but not
 the file name or location. Not very helpful.

 I don't really want to have to search my project for 3rd party non-UTF8
 files with a `.txt` or `.html` extension and convert them to UTF8. I'd
 rather leave 3rd party files as they are so I can diff and update them
 easier.

 I also don't really want to do a find across the whole project looking for
 a match against the content that caused the error, so I can work out the
 filename and explicitly ignore it with a glob pattern.

 I'd like Django to simply warn me that the file generated a
 `UnicodeDecodeError` and was skipped, then continue processing other
 files. If it's important, then I can go and fix it.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20025: Do something for MySQL under Python 3

2013-05-05 Thread Django
#20025: Do something for MySQL under Python 3
-+-
 Reporter:  aaugustin|Owner:  aaugustin
 Type:  Bug  |   Status:  assigned
Component:  Python 3 |  Version:  master
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Ready for
Has patch:  1|  checkin
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  0
-+-

Comment (by aaugustin):

 Before merging this, we should install the library we recommend on
 ci.djangoproject.com and make sure the tests pass.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #17157: CSRF fails in cross-domain iframes on IE

2013-05-05 Thread Django
#17157: CSRF fails in cross-domain iframes on IE
+
 Reporter:  akaihola|Owner:  susan
 Type:  New feature |   Status:  assigned
Component:  Documentation   |  Version:  master
 Severity:  Normal  |   Resolution:
 Keywords:  csrf iframe ie  | Triage Stage:  Accepted
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  1   |UI/UX:  0
+

Comment (by akaihola):

 Unfortunately I can't recall details of the upload functionality I was
 implementing when I created this ticket. I would assume that I wasn't
 using any JavaScript library but made a plain HTML form inside an iframe.

 In this case a straightforward solution would have been getting rid of the
 requirement of serving the iframe contents from a separate subdomain.
 That's what I probably meant by "bring the iframed page..".

 CSRF in query parameters would probably work. I don't seem to have thought
 of it back then.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20025: Do something for MySQL under Python 3

2013-05-05 Thread Django
#20025: Do something for MySQL under Python 3
-+-
 Reporter:  aaugustin|Owner:  aaugustin
 Type:  Bug  |   Status:  assigned
Component:  Python 3 |  Version:  master
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Ready for
Has patch:  1|  checkin
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  0
-+-
Changes (by aaugustin):

 * status:  new => assigned
 * owner:  nobody => aaugustin
 * has_patch:  0 => 1
 * stage:  Accepted => Ready for checkin


Comment:

 Mailing-list thread: https://groups.google.com/d/msg/django-
 developers/8r_RVmUe5ys/WKWFy1owlyUJ

 Pull request: https://github.com/django/django/pull/1044

 I'll wait  a few days for feedback.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[django/django] a96bff: Found a mistake in SQL documentation

2013-05-05 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: a96bff179a57c6c7fb79585120088f155831a6ae
  
https://github.com/django/django/commit/a96bff179a57c6c7fb79585120088f155831a6ae
  Author: Christopher Allen-Poole 
  Date:   2013-05-05 (Sun, 05 May 2013)

  Changed paths:
M docs/topics/db/sql.txt

  Log Message:
  ---
  Found a mistake in SQL documentation



-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[django/django] 0b0d98: [1.5.x] Fixed test failures introduced in a5becad9...

2013-05-05 Thread GitHub
  Branch: refs/heads/stable/1.5.x
  Home:   https://github.com/django/django
  Commit: 0b0d98fd4ed2929a34d6540549baf96ed6c1910f
  
https://github.com/django/django/commit/0b0d98fd4ed2929a34d6540549baf96ed6c1910f
  Author: Florian Apolloner 
  Date:   2013-05-05 (Sun, 05 May 2013)

  Changed paths:
M tests/regressiontests/admin_scripts/tests.py

  Log Message:
  ---
  [1.5.x] Fixed test failures introduced in 
a5becad9094e5c5403b692b9a7b3a6ffaabf64a3.

Backport of 780fa48f5fb81b2f0f58de95167abff84a6149aa from master



-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[django/django] 371dbb: Ensured that the javascript_catalog view doesn't l...

2013-05-05 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 371dbbe6e01f0fd0276998f6d7f78c86b49d2e97
  
https://github.com/django/django/commit/371dbbe6e01f0fd0276998f6d7f78c86b49d2e97
  Author: Florian Apolloner 
  Date:   2013-05-05 (Sun, 05 May 2013)

  Changed paths:
M django/views/i18n.py

  Log Message:
  ---
  Ensured that the javascript_catalog view doesn't leak translations.



-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[django/django] da85c8: Fixed a regression introduced in 9f7a01ef2bed8c039...

2013-05-05 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: da85c8cf326fa8858bac29f1b92da7972dd88dda
  
https://github.com/django/django/commit/da85c8cf326fa8858bac29f1b92da7972dd88dda
  Author: Florian Apolloner 
  Date:   2013-05-05 (Sun, 05 May 2013)

  Changed paths:
M tests/view_tests/tests/test_i18n.py

  Log Message:
  ---
  Fixed a regression introduced in 9f7a01ef2bed8c0395a970286e8f87fd7d344b3b.



-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.