Karl Hobley
749df44e06
Revert "Split wagtailforms landing page into separate view"
...
This reverts commit 21ac2e3ab8 .
2014-06-27 12:17:57 +01:00
Karl Hobley
09bf8ceb9c
Merge branch 'master' into formbuilder-tests
2014-06-27 12:16:40 +01:00
Karl Hobley
5936c020d8
Added I18N to new datetime picker
2014-06-06 16:28:51 +01:00
Karl Hobley
1683287ee7
Change wagtailforms SelectDateForm to use DateTimeFields
...
This is because DateFields are not timezone aware which causes warnings to be raised by django.
The widgets are still set to "DateInput" so the look and behaviour should not change
2014-06-06 12:22:53 +01:00
Karl Hobley
2b4b19a641
Use reversed URLs in wagtailforms tests
2014-06-04 16:41:08 +01:00
Karl Hobley
24df26c8c3
More wagtailforms tests
2014-06-04 16:41:08 +01:00
Karl Hobley
7e7885b2b5
Added tests for wagtailforms page modes
2014-06-04 16:41:08 +01:00
Karl Hobley
6d67749f5a
Cleanup of TestFormsBackend TestcAse
2014-06-04 16:41:08 +01:00
Karl Hobley
21ac2e3ab8
Split wagtailforms landing page into separate view
2014-06-04 16:41:08 +01:00
Karl Hobley
97a981a766
Cleaned up FormBuilder class
2014-06-04 16:41:08 +01:00
Karl Hobley
7cf899bdbc
Added test for FormBuilder class
2014-06-04 16:41:08 +01:00
Karl Hobley
2a84d7ef1d
A few improvements to the wagtailforms submission tests
2014-06-04 16:41:08 +01:00
Karl Hobley
fe71932a49
Fixed a couple of references to "localize" templatetags library
...
This was removed in 99a70b3
2014-06-03 15:56:14 +01:00
Karl Hobley
614b49213d
Swapped out jQueryUI datetimepicker for xdsoft datetimepicker
2014-06-03 15:04:28 +01:00
Matt Westcott
9f045e3924
merge branch 'form-builder' of github.com:torchbox/wagtail into form-builder
2014-05-21 14:48:51 +01:00
Matt Westcott
07fdcc0216
Replace wagtailforms.backends model with a simple inheritance model
2014-05-21 14:17:47 +01:00
Matt Westcott
7445335f04
no point in making form a property of the form page, since its scope is entirely within the 'serve' method
2014-05-21 13:58:08 +01:00
Matt Westcott
ddcd750b7a
Remove validate_usage from the wagtailforms.backends API. Since non-expert users are likely to be inheriting from AbstractEmailForm rather than hooking up backends to their own custom form models, it is of marginal usefulness and not worth the added complexity of the metaclass setup
2014-05-21 13:51:27 +01:00
Matt Westcott
d6910e3db8
Rewrite get_form_types() to not require fiddling with metaclasses to populate FORM_MODEL_CLASSES
2014-05-21 13:35:07 +01:00
Dave Cranwell
77da201964
Merge remote-tracking branch 'upstream/form-builder' into form-builder
2014-05-20 16:33:44 +01:00
Matt Westcott
d096b14132
Remove label_suffix from form builder forms by default, but make that preference overrideable in the FormPage class
2014-05-20 16:16:26 +01:00
Matt Westcott
3e152e0386
fix unit tests to handle form_pages being a paginator.Page instance
2014-05-20 14:53:02 +01:00
Dave Cranwell
2aaec7c332
reordered fields
2014-05-20 14:38:22 +01:00
Dave Cranwell
27333b1ea1
updated formbulider fields with identifyable class names, although not output yet
2014-05-20 13:22:19 +01:00
Dave Cranwell
eb704fc5a9
added scrollable form submissions tables
2014-05-20 10:11:03 +01:00
Dave Cranwell
f4588a3668
ongoing tweaks to how fields are rendered
2014-05-13 17:03:31 +01:00
Dave Cranwell
6f5203c6fd
Medium-scale changes to fields to allow 'iconfields' and header refactored into own css file
2014-05-13 15:51:28 +01:00
Dave Cranwell
aa41a5e8a9
updating header form style
2014-05-13 12:45:49 +01:00
Dave Cranwell
0da3fa85d7
updated templates so that pagination of form pages is possible as well as pagination of submissions
2014-05-13 12:19:04 +01:00
Matt Westcott
9b93d7edd8
Add unit tests for wagtailforms backend
2014-05-07 17:33:13 +01:00
Matt Westcott
f68f9a0461
add tests for front-end form submission
2014-05-07 16:39:56 +01:00
Matt Westcott
738fa90e19
enforce permission restrictions on retrieving form submissions
2014-05-06 17:34:31 +01:00
Matt Westcott
b56c726733
add migration for wagtailforms
2014-05-06 16:28:42 +01:00
Matt Westcott
dd087d0820
Remove ConcreteForm models from wagtailforms
2014-05-06 15:02:44 +01:00
Matt Westcott
82aa2ea4c5
Make to_address optional (so that the page author can decide whether or not to make use of the email functionality, without needing two versions of the template)
2014-05-06 14:44:41 +01:00
Matt Westcott
2f67c986eb
Give fields their own columns in the form data view
2014-05-06 12:45:24 +01:00
Matt Westcott
08f6713d96
Don't capture logged-in user in form submissions (not clear how useful it will be, and creates possible privacy issues where submissions are intended to be anonymous)
2014-05-06 12:31:56 +01:00
Matt Westcott
424f48b644
Refactor CSV output to display data columns in original order
2014-05-02 17:03:37 +01:00
Matt Westcott
af475d7566
Fix AbstractFormField to not lose the sort_order ordering
2014-05-02 16:23:36 +01:00
Matt Westcott
d344dc39a1
Cleanup of pagination_nav.html, including explaining what the url_to_use hack is really doing
2014-05-02 15:33:47 +01:00
Matt Westcott
aa0cb313e3
Handle form submissions from non-authenticated users correctly
2014-05-02 14:16:16 +01:00
Matt Westcott
529f14e221
Remove redundant content-type parameters from form builder admin URLs
2014-05-02 13:42:32 +01:00
Matt Westcott
83c309d09e
FormSubmission does not need a generic foreign key - just link back to Page
2014-05-02 13:28:56 +01:00
Matt Westcott
523f7911ca
Display form fields in email as one per line rather than comma-separated
2014-05-02 13:11:10 +01:00
Matt Westcott
5c94facfb3
AbstractFormFields / ConcreteFormFields should be renamed *FormField
2014-05-01 17:08:38 +01:00
Matt Westcott
e431b6d084
Add get_page_modes / show_as_mode methods to AbstractForm, to allow previewing both the form and the landing page
2014-05-01 16:22:44 +01:00
Matt Westcott
0d6ca91fcc
Make AbstractFormFields inherit from Orderable so that concrete subclasses don't have to do it explicitly
2014-05-01 11:06:36 +01:00
Matt Westcott
5293a6942f
Have wagtailforms register its urls / menu item via hooks, so that wagtailadmin doesn't fail if wagtailforms is absent from INSTALLED_APPS
2014-04-29 12:10:16 +01:00
Serafeim Papastefanos
4fc653ff9a
Fix code for pep8 compatibility
2014-04-07 23:30:00 +03:00
Serafeim Papastefanos
9d65be0d66
Add export to CSV support for form submissions and
...
convert form submissions to have a generic relation with the specific Form
for which they were created instead of a Page.
2014-03-23 19:26:00 +02:00