Commit Graph

88 Commits

Author SHA1 Message Date
Will Rossiter
350a6fa65d Merge pull request #6 from mattclegg/master
BUGFIX: fixed non javascript validation. MINOR: Tidied-up formatting.
2011-12-05 15:33:59 -08:00
Will Rossiter
2ea28495f7 BUGFIX: fix titles and labels being escaped multiple times resulting in html entities displaying in submission pages, export and emails. Fixes http://open.silverstripe.org/ticket/6787 2011-12-05 23:19:20 +13:00
swaiba
cbcd6c9eff ensure correct mime type of attached file - this was failing because Mimesweeper not liking the "Content-Type" and they see the following warning:
Bad Data
Recognize SMTP messages
The Content-Type header is invalid - Word document; name="SOMEDOCUEMNT.doc"
2011-11-25 16:48:42 +00:00
Will Rossiter
9020ce82d0 MINOR: files uploaded from forms should be hidden from the search engine 2011-09-16 11:47:09 +12:00
mattclegg
8f8eab018c MINOR Tidied-up formatting 2011-04-08 18:39:05 +01:00
mattclegg
a7a3dcb945 BUGFIX Added validation (for non javascript submits) 2011-04-08 18:36:01 +01:00
Will Rossiter
fed25ad45b BUGFIX: added exists() check on getFormFields (via Bruce Walter) to prevent fieldless forms. BUGFIX: if built form is empty still strip the $UserDefinedForm token out of the content. 2011-03-21 09:14:45 +13:00
Will Rossiter
ed61c03971 BUGFIX: fixed notice with missing $messages var when no fields are required. PATCH via ajshort 2011-01-04 01:37:47 +00:00
Will Rossiter
fb3fb184e1 BUGFIX: fixed incorrect formatting for jQuery.validate rules. ENHANCEMENT: added getErrorMessage() to ensure consistent error messages. BUGFIX: readded missing custom messages 2010-12-19 01:19:19 +00:00
Will Rossiter
9bb51b6cea ENHANCEMENT: return false if no fields have been added to a UserDefinedForm rather than a blank form 2010-12-19 00:40:53 +00:00
Will Rossiter
4ff4aa561f MINOR: added translation for body. MINOR: updated en_US.php lang file 2010-09-07 22:48:46 +00:00
Will Rossiter
bc0d4c7692 ENHANCEMENT: Implemented tests to complete email recipients class. APICHANGE: changed *FieldSettings() to *Setting() 2010-09-07 22:44:43 +00:00
Andreas Piening
8a80dfa592 MINOR: some dbms make a difference between 0 and NULL 2010-09-07 02:24:54 +00:00
Will Rossiter
3c1d81d014 ENHANCEMENT: added test coverage for UserDefinedForm.php and placeholders for other sections. API change: processNewFormFields removed
API change: refactored Form() into getFormFields(), getFormActions(), getRequiredFields()

ENHANCEMENT: added updateForm* extension hooks to allow customization of userforms
BUGFIX: gave custom scripts their own ID to enable it to be blocked.
2010-09-03 05:06:13 +00:00
Will Rossiter
a203bcd725 BUGFIX: added default language for the sprintf statement 2010-08-06 05:00:16 +00:00
Will Rossiter
745b614710 BUGFIX: fixed sortable events not updated when loading new fields. ENHANCEMENT: Added RightTitle support to EditableFormFields. Removed parsePrepopulateValue() as usage is not clear and is broken 2010-07-07 09:17:37 +00:00
Will Rossiter
2c99ca1faa BUGFIX: fixed casting of Content. PATCH via ajshort (#5692). 2010-06-08 02:03:55 +00:00
Will Rossiter
59fabd005c BUGFIX: duplicate email recipients when duplicating a UDF 2010-05-31 09:01:58 +00:00
Will Rossiter
3257590dc8 BUGFIX: fixed using UDF with the workflow module which only publishs a page when its been modified and UDF was always returning false to any changes 2010-05-16 03:21:04 +00:00
Michael Andrewartha
826c6b5829 BUGFIX: Include HideFormData field into send plain email - fix for #5211 2010-04-25 22:36:09 +00:00
Geoff Munn
8166f686d0 BUGFIX: table and column names quoted properly 2010-04-08 21:18:01 +00:00
Will Rossiter
6f720fd30d BUGFIX: Abstracted out submitted form field classes to make it easier to extend submitted form class type to save data into. PATCH via jam13 #5071 2010-02-14 07:53:16 +00:00
Will Rossiter
70f05b891e BUGFIX: fixed conflict of Versioned extension functions. MINOR: added tests for publishing multiple option fields 2009-12-12 08:59:20 +00:00
Ingo Schommer
2d46d7ff69 BUGFIX Returning an HTMLText field from UserDefinedForm_Controller->index() instead of the string value - we need to process the string, for example to resolve [link] pseudocode 2009-12-09 22:28:09 +00:00
Will Rossiter
b4f5229f58 MINOR: Removed closing ?> from class files. MINOR: fixed package names 2009-12-07 02:04:20 +00:00
Will Rossiter
dfc2476c79 MINOR: Removed 2.3 specific code. Userforms trunk is now 2.4+ compatible only. For 2.3 compatibility use branches/0.2. BUGFIX: fixed paths for fieldeditor js 2009-12-07 00:52:00 +00:00
Will Rossiter
81a2cd0a1f BUGFIX: added validate plugin to module as 2.4 will not include the plugin. MINOR: changed path to jquery to not use jsparty folder 2009-12-07 00:37:20 +00:00
Will Rossiter
9520b8693e MINOR: removed undefined method call 2009-12-06 22:52:43 +00:00
Tom Rix
fd9c08a195 MINOR can* methods on EmailRecipient now inherit off the form. 2009-12-04 00:39:56 +00:00
Geoff Munn
6a039d4b8f Tabs reordered (possible IE7 bug fixes where last two tabs were unreachable) 2009-11-17 00:39:24 +00:00
Will Rossiter
c34a2af447 FEATURE: Added Inequality filters to the custom rules. To Allow Numeric fields to be processed by > < statements 2009-11-02 07:22:30 +00:00
Will Rossiter
c073596b68 BUGFIX: fixed issue with disabling saving submissions and emailing #4629. BUGFIX: fixed saving member object error when logged in using a form 2009-10-27 09:23:42 +00:00
Sam Minnee
2ca993b7c4 BUGFIX: Updated module to support 2.4 API changes 2009-10-26 22:04:11 +00:00
Will Rossiter
31141e972d BUGFIX: fixed incorrect code being commited for the userforms identifier 2009-10-15 02:36:43 +00:00
Will Rossiter
70944fcabb BUGFIX: fixed incorrect self reference 2009-10-15 02:29:48 +00:00
Will Rossiter
ae8e0fa01a MINOR: added styling hook for required identifier 2009-10-15 00:41:02 +00:00
Will Rossiter
86b4df4953 FEATURE: added ability to have a required identitifer specificed globally 2009-10-15 00:33:13 +00:00
Sean Harvey
4cdeb3d20f BUGFIX Fixed SQL that contained backticks to work on databases with ANSI SQL enabled 2009-09-29 23:04:52 +00:00
Will Rossiter
d99975d2bf MINOR: fixed tabs with translatable tokens. Patch via cinek #4535. 2009-09-23 03:00:08 +00:00
Will Rossiter
2fd0883ea1 BUGFIX: fixed ghost records existing on the live site when editing draft 2009-09-23 00:02:50 +00:00
Will Rossiter
379bcc7921 ENHANCEMENT: added inital versioning / staging support to userforms. Supports different forms on stage / live. ENHANCEMENT: added unit tests to cover versioning / staging 2009-09-22 22:36:53 +00:00
Will Rossiter
61edb74f36 BUGFIX: changed .change() to .click() on the custom rules handler to fix issue with changing checkboxs in IE8 2009-09-16 21:36:02 +00:00
Carlos Barberis
c0a59a7bf3 Fixed Error when trying to add/edit email recipient in CMS 2009-08-07 02:13:53 +00:00
Will Rossiter
b2d77150f3 MINOR: updated lang file 2009-07-26 23:23:45 +00:00
Will Rossiter
5da7a2d2a8 FEATURE: added ability to disable saving form submissions to the server 2009-07-22 04:02:21 +00:00
Will Rossiter
8b84f9caa9 FEATURE: added ability to send emails to email fields as well as dropdowns 2009-07-19 20:44:32 +00:00
Will Rossiter
f20a6f2c31 MINOR: usability improvements to the email popup 2009-07-17 03:40:18 +00:00
Will Rossiter
1ba4972e00 MINOR: added requiredField class to a field which is required for styling purposes 2009-07-16 04:31:46 +00:00
Will Rossiter
72baa7e893 MINOR: cleaned up finished() return 2009-07-05 07:39:28 +00:00
Will Rossiter
3351ef17b3 MINOR: fixed validation button width. MINOR: increased title to 255 chars rather then 50 to allow for longer checkboxs 2009-07-05 07:14:03 +00:00