Commit Graph

284 Commits

Author SHA1 Message Date
Will Rossiter
55a5187f79 FIX: escape columns and tables for postgres 2013-07-15 21:52:30 +12:00
Will Rossiter
775eb66053 private statics for 3.1 2013-07-15 20:49:49 +12:00
Mateusz Uzdowski
eae3283e4c BUG Update allowed_actions on frontend Controller. 2013-07-09 15:20:19 +12:00
Will Rossiter
3352fe38b0 Merge pull request #132 from Focus-Flow/bug/quotes-in-editableoption-title
BUG: support quotes in EditableOption Title
2013-06-04 02:52:18 -07:00
Will Rossiter
d20ab0dd89 Merge pull request #129 from silverstripe-rebelalliance/hackathon
BUG: Fixes #119 adds a tasks to clean up columns for EditableFormField
2013-06-04 02:51:11 -07:00
Freddy Vulto
4c7d50217f Fix duplication of custom rules. Rules may depend on fields. These internal field IDs in the targets now also get updated to their new names (GitHub: #19). 2013-06-04 21:48:29 +12:00
Jyrki Lilja
896e8591f7 BUG: Use $this->Title correctly. 2013-06-04 09:17:23 +03:00
Jyrki Lilja
0b0834c873 BUG: Fix radio field with " in Title. 2013-06-04 08:20:03 +03:00
Jyrki Lilja
e8aeb692fd BUG: Fix checkbox group with " in option titles. 2013-06-04 08:15:57 +03:00
Will Rossiter
b81e4cb7c9 FIX: update visibility of static 2013-06-02 14:08:10 +12:00
Kirk Mayo
a43988af60 BUG: Fixes #119 adds a tasks to clean up columns for EditableFormField 2013-05-25 16:03:59 +12:00
Sean Harvey
e5f8d13b15 BUG SubmittedForm can't be created by non-ADMIN 2013-05-13 14:32:41 +12:00
Sean Harvey
3f223b691b BUG Normal users (non-ADMIN) can't create any email recipients 2013-05-13 14:31:25 +12:00
Sean Harvey
3de6795aa4 BUG Fixing non-ADMIN permission to view SubmittedForm/SubmittedFormField 2013-05-01 10:49:57 +12:00
Fred Condo
756f15a4ac Restore the EditableCountryDropdownField class
Reverts "MINOR Removed the country dropdown field due to the framework
has removed the CountryDropdownField"

This reverts commit cbe1dce4ff.

Framework has not, in fact, removed CountryDropdownField. This commit
restores the EditableCountryDropdownField class.
2013-04-24 09:57:33 -07:00
ARNHOE
9ac8500b41 Fixed typo, live validation works again 2013-04-22 17:17:40 +03:00
Will Rossiter
a8ca0184c3 FIX: validate required fields even with rules. (Fixes #116) 2013-04-17 19:31:09 +12:00
Damian Mooyman
a0f48d636e BUG Fixed incorrect static member declaration
- Changed configurable static variables to private as per recent API updates to 3.1
- Use of statics as configurable variables replaced with config api usage
2013-04-10 11:35:58 +12:00
Fred Condo
f0f9ea702c BUG: Set the summary fields of UserDefinedForm_EmailRecipient dynamically via config system
You can't dynamically expose statics; that's a no-op in 3.1
2013-04-04 12:14:22 -07:00
Fred Condo
656a9fbb4e BUG: Fix access to static configuration variables
- Make statics private
- Use Config::get rather than eval to read private statics
- Add a helper function to expose UserDefinedForm_EmailRecipient::$summary_fields
  (to make them available for i18n).
2013-04-03 14:31:37 -07:00
Ash Kyd
68bc428fe2 Added check for a blank title in the HTML Block/EditableLiteralField so we don't print empty labels. 2013-04-03 12:35:02 +10:00
Stephen Shkardoon
5c9a962b21 Uncasted user input cause SQL issues 2013-03-24 23:35:23 +13:00
Will Rossiter
b096cf611a FIX: update DropdownField usage for 3.1 2013-03-21 23:22:51 +13:00
Will Rossiter
416a5b8864 FIX: fix submissions grid field in 3.0 versions (#96, #100) 2013-03-16 12:18:51 +13:00
mschilder
caec25101d Update UserDefinedForm.php
Changed two typos: UserDefinedform must be UserDefinedForm
2013-03-15 12:32:07 +01:00
Will Rossiter
75fb471f2c FIX use sqlquery for building sort query 2013-03-05 11:36:39 +13:00
Will Rossiter
c4c547321c NEW Filter submissions by created date 2013-03-05 11:10:23 +13:00
Will Rossiter
8e252c88ed NEW Migrate submissions section to a GridField instance. (Fixes #94) 2013-03-05 10:45:54 +13:00
Will Rossiter
527b63786d FIX Resolve issue with multiple dependent rules
Implementation of the rules required that a dependent field could only rely on one implementation. This patch joins all those dependencies together in one function to exclude. Tests / a rewrite of this behavior is on the horizon.
2013-02-27 16:05:30 +13:00
Will Rossiter
55c455b802 FIX: remove redundant extension definition 2013-02-04 20:15:07 +13:00
Menno Schilder
3015997bdf Added Placeholders.js to enable placeholder functionality in IE9 and below 2013-01-29 22:46:34 +13:00
Menno Schilder
cd9af7e13f Added options to enable live validation and hide field labels 2013-01-29 22:46:34 +13:00
Prem Mariappan
203898bd1a FIX: duplicate replyTo addresses appended 2013-01-29 22:40:28 +13:00
Will Rossiter
6f671d304d FIX: save a null value instead of upload data. (Fixes #87) 2013-01-29 21:44:00 +13:00
Will Rossiter
31659ed61c Merge pull request #76 from silverstripe-droptables/translatable-compatible
FIX: Build URLs to respect other parameters
2012-12-13 18:23:45 -08:00
Robert Curry
2861bbdf0c BUG Build URLs to respect other parameters 2012-12-14 14:55:31 +13:00
Sean Harvey
3923ec325d Adding ability to extend EmailRecipients so they can be filtered 2012-12-11 17:09:02 +13:00
Ruud Arentsen
75c6d40fa4 BUG Fix the 'always modified' label in treeview. Fixes #48.
userforms always reported 'modified' in the sitetree. Fixed the issue by
checking the userdefinedform record and the formfields.
2012-10-18 20:19:33 +13:00
Will Rossiter
0aa9572f2c FIX redirect user to form on validation error. (Fixes #62) 2012-10-14 11:45:47 +13:00
Sean Harvey
1cba24880b Fixing deprecated call to Director::redirectBack() 2012-10-11 15:18:51 +13:00
Roman
019f782d2e Added "canView" permission to EmailRecipient. Fixes an issue with non-admin rights in SS3 2012-09-24 19:02:33 +02:00
Will Rossiter
7cc7bb4ce6 Add description to page type 2012-09-11 21:32:48 +12:00
Will Rossiter
ee8ca5caf1 NEW: allow setting of custom reply to address rather than from address. (Fixes #28) 2012-09-11 21:32:47 +12:00
Will Rossiter
e0a476ea15 FIX: make email recipients dropdowns unselectable in 3.0 API 2012-09-11 21:32:47 +12:00
Will Rossiter
90ba5031ab Merge pull request #51 from mateusz/report-visibility-master
ADD Add report visibility setting to EditableFormHeading
2012-09-11 00:27:40 -07:00
Mateusz Uzdowski
eb1b9b62cd BUG Fix the date field conditional to work with dropdown.
In this case they keyup will not be triggered at all.
2012-09-11 18:56:29 +12:00
Mateusz Uzdowski
1fa4c2d81d BUG Fix the edge cases for radio button conditionals.
The specific situation this is fixing is that when server-side
validation fails and results in form having non-default values. In this
case the visibility might not be correct and will need to be updated.

Also, we cannot rely on onclick events on radio group to find out the
current value when we are loading - instead we need to actually find
out the currently selected radio button.

Fixes the IsBlank and IsNotBlank conditions as well.
2012-09-11 18:56:29 +12:00
Mateusz Uzdowski
bcd9083d1c BUGFIX: prevent form from expiring on users - ping regularly.
The form throws a CSRF error if left for too long by itself. This is
especially important for long forms.

Use local ping function, as the CMS ping returns 403 when BasicAuth is
enabled.
2012-09-11 10:12:15 +12:00
Mateusz Uzdowski
d1b6ec224d ADD Add report visibility setting to EditableFormHeading
Same as already existing setting on EditableLiteralField.
2012-09-10 16:07:52 +12:00
Naomi Guyer
104a584ebf BUG: Too many tabs
Combined a few tabs so that the interface is a little less cluttered
when adding this module. When this is
fixed:http://open.silverstripe.org/ticket/7268 it is recommended that
user forms add it's own parent tab to the ui to group user forms tabs
together.
2012-08-13 11:29:42 +12:00