Matt Westcott
0d5cd61b01
Merge pull request #1405 from kaedroho/user-without-username-search
...
Fix search on user without username
2015-06-15 09:47:50 +01:00
Karl Hobley
5538b73e9e
Changelog/release note for #1388
2015-06-15 09:20:20 +01:00
Karl Hobley
0e91aa46fd
Merge pull request #1388 from takeflight/feature/no-username
...
Add support for user models with no username
2015-06-13 13:21:25 +01:00
Karl Hobley
3be8091cbe
Merge pull request #1386 from gasman/fix/streamfield-richtext-migration
...
Support for migrating an existing RichTextField to StreamField
2015-06-13 13:20:55 +01:00
Matt Westcott
1cf7457337
Add tests for raw_text and assignment on StreamField
2015-06-12 20:47:27 +01:00
Matt Westcott
fddeb4308b
Documentation for migrating a RichTextField to StreamField
2015-06-12 20:33:19 +01:00
Matt Westcott
31f45a8a63
Add a mechanism for preserving the raw text value of StreamFields when they fail to parse as JSON
2015-06-12 20:33:19 +01:00
Karl Hobley
6479eb80ef
Merge pull request #1395 from gasman/feature/streamfield-system-check
...
Add system check to reject invalid block names in StreamField
2015-06-12 15:26:45 +01:00
Karl Hobley
36c124475c
Changelog/release note for #1400
2015-06-12 15:25:18 +01:00
Karl Hobley
3738a7d678
Merge pull request #1400 from gasman/fix/underscores-in-slugs
...
don't strip out underscores from page slugs
2015-06-12 15:20:51 +01:00
Matt Westcott
1a78b19131
don't strip out underscores from page slugs
2015-06-12 14:44:55 +01:00
Matt Westcott
ac37c7645b
assert that system check errors on blocks return the appropriate field or block
2015-06-12 11:34:09 +01:00
Matt Westcott
dae1cf85e4
+ whitespace
2015-06-11 13:53:41 +01:00
Matt Westcott
f35536ccee
stop InvalidStreamModel from polluting the overall model registry
2015-06-11 13:17:04 +01:00
Matt Westcott
0143787fab
Add system check to reject invalid block names in StreamField - fixes #1154
2015-06-10 17:21:17 +01:00
Matt Westcott
c3c92ebb10
Release note for #1381
2015-06-10 13:43:03 +01:00
Matt Westcott
d8c0592feb
Merge branch 'kaedroho-issue-1324'
2015-06-10 10:15:47 +01:00
Matt Westcott
b456c1fc8a
Merge branch 'issue-1324' of https://github.com/kaedroho/wagtail into kaedroho-issue-1324
2015-06-10 10:14:58 +01:00
Karl Hobley
da9858fc39
Merge pull request #1390 from kaedroho/template-fixes
...
Template fixes
2015-06-09 16:25:07 +01:00
Karl Hobley
c19e35b2d0
Fixed position of quote character
2015-06-09 15:51:07 +01:00
Karl Hobley
3da4d3a17e
Escaped template comments
2015-06-09 15:49:49 +01:00
Karl Hobley
3dd09899ff
Fixed import of compress
2015-06-09 15:46:40 +01:00
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
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