Karl Hobley
4a1cdae788
Fix search on user without username
2015-06-09 14:26:08 +01:00
Tim Heap
2a5535e5da
Add support for user models with no username
...
The User forms were the only known sections to fail when using a swapped
User model that did not have a `username` field, using an `email` field
instead for example.
This commit makes the User forms work with `User.USERNAME_FIELD` instead
of hardcoding `"username"`.
Truly strange user models are not yet supported.
The tests do not test this custom user functionality yet, as this is
quite difficult to do. Lots of code does not support dynamically
changing the `AUTH_USER_MODEL` setting for the tests, so only one custom
user model for most of the tests.
Fixes #1345
See #1380
2015-06-09 15:41:50 +10:00
Karl Hobley
4c51d97ae5
Catch all embed exceptions in frontend code
2015-06-06 11:05:58 +01:00
Karl Hobley
0dc4cbcf21
get_embed never returns None
2015-06-06 11:05:58 +01:00
Karl Hobley
00d558c9be
Catch EmbedNotFoundExeception fixes #1324
2015-06-06 11:05:58 +01:00
Karl Hobley
225f54ad6c
Tidy up
...
- Removed catch all blocks
- get_embed never returns None so removed check for that
2015-06-06 11:05:58 +01:00
Karl Hobley
3737e026bc
Failing tests for #1324
2015-06-06 11:05:58 +01:00
Karl Hobley
127dd6cc8e
Tidied embed rich text handler tests
2015-06-06 11:05:58 +01:00
Karl Hobley
9b376e4588
Tidied up embed filter tests
...
Less complicated and a bit more isolated now
2015-06-06 11:05:58 +01:00
Matt Westcott
b0df37d851
Merge pull request #1382 from gasman/cleanup/singlefieldpanel-labels
...
Cleanup - render labels within ObjectList <h2>s
2015-06-05 22:03:47 +01:00
Karl Hobley
2411e75bdd
Pulled new translations from Transifex
2015-06-05 17:10:57 +01:00
Karl Hobley
ce1aff2989
Removed test that's causing issues on Travis
2015-06-05 15:23:50 +01:00
Matt Westcott
ed99f1e9d4
Fix tests to match new ObjectList markup conventions
2015-06-05 14:54:14 +01:00
Matt Westcott
12e44c5b39
Include shared/field.html in single_field_panel.html instead of duplicating
2015-06-05 14:33:19 +01:00
Matt Westcott
15c9482512
Render labels within ObjectList <h2>s so that we don't have to hack things with custom label styles and display:none
2015-06-05 14:19:44 +01:00
Karl Hobley
9713250c42
Moved theory doc into reference
2015-06-05 13:54:15 +01:00
Karl Hobley
1ce5a441e5
Changelog/release note/contributor for #1266
2015-06-05 13:43:50 +01:00
Nar Chhantyal
a0dc8b39a6
check existance of field before accessing name attr
2015-06-05 13:43:50 +01:00
Karl Hobley
65220a4a9b
Failing test for #1265
2015-06-05 13:43:50 +01:00
Karl Hobley
7167b9bdab
Merge pull request #1353 from kaedroho/docs-tweaks
...
A little more restructuring of the docs
2015-06-05 13:29:54 +01:00
Karl Hobley
13725cbc44
Merge pull request #1377 from zerolab/fix-sendfile-tests
...
Skip sendfile tests if django-sendfile is not installed. Fixes #1367
2015-06-05 10:31:30 +01:00
Dan Braghis
065084a210
Add sendfile TestCase that can be skipped if sendfile not installed
2015-06-04 22:15:58 +01:00
Dan Braghis
5ae5dd30e2
Remove django-sendfile from requirements and test settings
2015-06-04 22:15:01 +01:00
Dave Cranwell
109f1d799b
added new gulpfile directory with modularised tasks
2015-06-04 17:44:08 +01:00
Dave Cranwell
10894e78a8
removed old gulpfile.js
2015-06-04 17:43:27 +01:00
Joss Ingram
6632feedb3
Snippet choose panel now takes model string fixes #1362
2015-06-04 12:40:18 +01:00
Matt Westcott
9bd1d22f7d
Merge pull request #1373 from ojh/master
...
Update broken link
2015-06-04 10:56:44 +01:00
Karl Hobley
e2a9ed3924
Fix python 2
2015-06-04 10:32:42 +01:00
Olivier Harris
aa6f049e82
Update broken link
2015-06-04 10:15:30 +01:00
Matt Westcott
094fda9f3f
Merge pull request #1371 from benemery/fix/dev-requirements
...
Add missing requiresment to requirements-dev
2015-06-04 09:35:01 +01:00
Ben Emery
b6a2d0648c
Add missing requiresment to requirements-dev
...
Sendfile is required for running the tests, it's present in the
tox.ini but not for normal development.
2015-06-04 09:29:35 +01:00
Karl Hobley
8a55446d64
Fixed bad formatted string. Fixes #1334
2015-06-03 14:52:45 +01:00
Karl Hobley
2fc58033b7
Failing test for #1334
2015-06-03 14:52:04 +01:00
Karl Hobley
3b8f30d223
Moved image field help text/error message generation into __init__
...
This allows us to override the WAGTAILIMAGES_MAX_UPLOAD_SIZE setting for testing
2015-06-03 14:23:58 +01:00
Matt Westcott
15c6d027b4
release note for #1270
2015-06-03 12:17:02 +01:00
Matt Westcott
03e681dea8
Add Brett Grace to contributors
2015-06-03 11:08:32 +01:00
Karl Hobley
7a0b51c2d6
Use universal wheel files
2015-06-03 10:08:21 +01:00
Karl Hobley
eb6f25bc66
Changelog/release note for #1365
2015-06-03 09:50:59 +01:00
Karl Hobley
aeb05d14aa
Merge pull request #1365 from kaedroho/remove-unicodecsv
...
Remove unicodecsv
2015-06-03 09:39:29 +01:00
Karl Hobley
08ca89bb7a
Merge pull request #1361 from zerolab/docs-tutorial
...
Add the Wagtail tutorial to docs
2015-06-03 09:39:03 +01:00
Karl Hobley
1df5bb08fb
Merge pull request #1357 from gasman/fix/embedblock-render
...
Make EmbedBlock use a custom type that knows its own rendering - fixes #1098
2015-06-03 09:31:54 +01:00
Karl Hobley
d51fb9c4ba
Merge pull request #1364 from gasman/fix/rawhtmlblock-render
...
Make RawHTMLBlock consistently use SafeText as its native value
2015-06-03 09:23:08 +01:00
Matt Westcott
992f4cafbe
Release note for #1272
2015-06-02 16:48:33 +01:00
Matt Westcott
9ef1e6a1df
Merge branch 'master' of https://github.com/torchbox/wagtail
2015-06-02 16:35:43 +01:00
Matt Westcott
4f378c6ba5
Merge branch 'kaedroho-searchresults-tests'
2015-06-02 16:35:32 +01:00
Matt Westcott
e3f6c17758
Merge branch 'searchresults-tests' of https://github.com/kaedroho/wagtail into kaedroho-searchresults-tests
2015-06-02 16:31:18 +01:00
Dan Braghis
04ddfc0b3c
Merge pull request #1363 from kaedroho/remove-sendfile-dependency
...
Removed sendfile dependency
2015-06-02 16:12:55 +01:00
Dan Braghis
d830e07eca
Replace missed slugify example
2015-06-02 16:06:03 +01:00
Dan Braghis
8d3b79f8fc
Further tweaks and cleanup
2015-06-02 16:03:57 +01:00
Matt Westcott
60bafb3d2b
Use six.text_type with RawHTMLBlock to fix unicode on Py2
2015-06-02 12:42:28 +01:00