Commit Graph

357 Commits

Author SHA1 Message Date
Will Rossiter
19b29a4c66 Updated license 2012-09-11 21:32:47 +12:00
Will Rossiter
5da28aa6a9 Updated lang/en.yml 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
Will Rossiter
a38729073f Merge pull request #50 from mateusz/prevent-expiry-master
BUGFIX: prevent form from expiring on users - ping regularly.
2012-09-10 20:40:45 -07: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
Will Rossiter
e92551b2da Merge pull request #47 from silverstripe-droptables/ui-fixes
BUG: Too many tabs
2012-08-18 21:15:51 -07: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
Will Rossiter
c1c689b466 Merge pull request #43 from silverstripe-rebelalliance/open/7314
Coding conventions (#7314)
2012-07-21 03:26:13 -07:00
Kirk Mayo
e4875edd05 BUG: Coding convention changes mainly replacing spaces with tabs 2012-07-17 16:09:31 +12:00
Kirk Mayo
eba5edd60b BUG: open ticket 7314 fixing some bugs that have been found 2012-07-17 15:58:24 +12:00
Will Rossiter
e8a0c7d338 Merge pull request #41 from silverstripe-rebelalliance/open/7314
BUGFIX: Fix the PHPUnit tests for SS 3.0. Fixes #7314
2012-06-21 21:25:34 -07:00
Kirk Mayo
4335d8d910 #BUGFIX: ticket 7314 fixing the PHPUnit tests for SS 3.0 2012-06-22 12:21:08 +12:00
Will Rossiter
74eaee0d13 Merge pull request #40 from mango9/master
MINOR: Use setRows() and instead of constructor arguments
2012-06-07 21:28:27 -07:00
Paul Meyrick
077ce6c645 MINOR: Use setRows() and instead of constructor arguments 2012-06-08 16:18:36 +12:00
Will Rossiter
5d2629fb60 Merge pull request #39 from silverstripe-droptables/ssexpress
MINOR: Fix use of deprecated methods and dropdown styling
2012-06-04 22:24:13 -07:00
Mateusz Uzdowski
70bcac03cc BUGFIX: fix for the Chosen dropdown to show the items 2012-06-05 17:11:12 +12:00
Mateusz Uzdowski
2b26d544f9 BUGFIX: Director::redirect is deprecated, use Controller. 2012-06-05 15:08:09 +12:00
Will Rossiter
d08543f705 MINOR: translate pages string in submittedformfield. MINOR: updated unit test to reflect updated template 2012-05-19 10:49:34 +12:00
Stig Lindqvist
9d9db9b0fc MINOR Added a .gitignore to the project 2012-05-14 14:17:24 +12:00
Stig Lindqvist
1590172d0c BUGFIX: A Submitted file couldn't not be shown / downloaded in the submission report 2012-05-14 14:16:46 +12:00
Stig Lindqvist
0bbfb720ca BUGFIX: Submissions could not be paginated. 2012-05-14 14:16:07 +12:00
Stig Lindqvist
e2a5fb5ecf MINOR Adding a UPGRADE that explains what might cause issues on a upgrade. 2012-05-14 10:20:20 +12:00
Stig Lindqvist
20e3f3c8cd BUGFIX: The EditableFileField crashed when user uploads a not allowed filetype 2012-05-14 10:20:19 +12:00
Stig Lindqvist
89c7cf8a15 MINOR Aligned the 'Add field' buttons and drop down 2012-05-14 10:20:19 +12:00
Stig Lindqvist
bfb99a4f20 MINOR Refactored the javascript to use entwine 2012-05-14 10:20:19 +12:00
Stig Lindqvist
ee3de104ec BUGFIX: EditableDateFields nice calendar does not popup in the frontend 2012-05-14 10:20:19 +12:00
Stig Lindqvist
46c0efc9ae BUGFIX: MemberListField called non existing methods on Framework classes 2012-05-14 10:20:19 +12:00
Stig Lindqvist
7602f7bbfe MINOR Fixing image paths for EditableOptions template 2012-05-14 10:20:19 +12:00
Stig Lindqvist
cbe1dce4ff MINOR Removed the country dropdown field due to the framework has removed the CountryDropdownField
This
2012-05-14 10:20:18 +12:00
Stig Lindqvist
e6d8e81b33 ENHANCEMENT Changed the submission rendering in the CMS 2012-05-09 15:17:25 +12:00
Stig Lindqvist
8e80dc2040 MINOR Style guidelines 2012-05-09 15:17:06 +12:00
Will Rossiter
3256663cad BUGFIX: fixes for 3.0 unit tests. Ensure form is not shown if no fields in the list, Prevent nested with getSubmissions(). 2012-05-07 22:00:18 +12:00
Will Rossiter
ec6045d7e1 MINOR: update docs to reflect master is 3.0 only. 2012-05-07 21:19:42 +12:00
Will Rossiter
52f68059d9 ENHANCEMENT: show link to file download in CSV export. Fixes #32 2012-05-07 21:19:16 +12:00
Will Rossiter
2e66d41c56 Merge branch '3.0-compatibility' of github.com:stojg/silverstripe-userforms into pull-33
Conflicts:
	code/model/UserDefinedForm.php
2012-05-07 19:34:38 +12:00
Will Rossiter
ca12d54173 Merge remote-tracking branch 'origin/master' 2012-05-07 18:12:41 +12:00
Will Rossiter
6c1b843fac BUGFIX: fix regression with literal fields not showing content 2012-05-07 18:10:57 +12:00
Stig Lindqvist
58799b9b1a MINOR Rewrote part of the javascript to use entwine instead of jquery.live 2012-05-07 17:41:34 +12:00
Stig Lindqvist
63469ced2f MINOR Some code cleanup 2012-05-07 17:41:30 +12:00
Stig Lindqvist
d9ff70595f MINOR Setting the url where the javascript should call by ajax to add a field to the user defined form 2012-05-07 17:41:30 +12:00
Stig Lindqvist
368211c7e5 MINOR addfield and addoptionfield methods are now in $allowed_actions 2012-05-07 17:41:30 +12:00
Stig Lindqvist
2d91f2f456 Minor Setting rows and cols on TextField the non deprecated way 2012-05-07 17:41:30 +12:00
Stig Lindqvist
93d7da417a MINOR Template updates to support SS 3.0
- Use the correct path to the icons where ever they might be
 - Print out added HTML attributes for FieldEditor to support data-add-url set via PHP
2012-05-07 17:41:29 +12:00
Stig Lindqvist
4f50dd287e MINOR Deprecation fixes to the SubmittedFormTest 2012-05-07 17:41:29 +12:00
Stig Lindqvist
4e2854bb08 MINOR Must follow parents signature 2012-05-07 17:41:29 +12:00
Stig Lindqvist
98256fc8bf MINOR Circumvent the sloppy array_key_exists() check in YAMLFixture::writeDataObject() by adding ID fields to SubmittedFormTest.yml 2012-05-07 17:41:29 +12:00