Commit Graph

103 Commits

Author SHA1 Message Date
James Ayers
0f90ce9596 Improved FieldEditor to dynamically get the class for EditableOptions 2014-08-06 15:23:51 +12:00
Damian Mooyman
1218d614d0 Restored src folder 2014-05-19 10:36:39 +12:00
Damian Mooyman
72bfe49424 Updated translations
Removed js src files
2014-05-19 09:15:18 +12:00
Mateusz Uzdowski
a9b49e0165 Add new lang strings, convert to JS. 2014-01-24 14:37:01 +13:00
Mateusz Uzdowski
8d87e9ad39 Pull language strings from Transifex. 2014-01-23 09:30:30 +13:00
Ingo Schommer
86e3f222ba Correct template namespace for translations, updated translations 2013-11-06 15:05:31 +01:00
Ingo Schommer
aa0f8dbc7b Transifex support, js globalisation 2013-10-30 14:31:51 +01:00
Will Rossiter
9b134f1a78 FIX: Check security ID on admin non form links (Fixes #158) 2013-09-04 23:35:01 +12:00
Will Rossiter
6f1f3a2c40 FIX: if type has not been selected, do not attempt to create a new field 2013-03-21 23:32:05 +13:00
Will Rossiter
8e252c88ed NEW Migrate submissions section to a GridField instance. (Fixes #94) 2013-03-05 10:45:54 +13:00
Andreas Piening
9b5cd20a8a propperly append urlsegments preserving query and fragment 2013-01-28 16:57:05 +01:00
Will Rossiter
63593e73ab FIX: refresh sortable *after* loading new content 2012-09-11 21:32:48 +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
Stig Lindqvist
0bbfb720ca BUGFIX: Submissions could not be paginated. 2012-05-14 14:16:07 +12:00
Stig Lindqvist
bfb99a4f20 MINOR Refactored the javascript to use entwine 2012-05-14 10:20:19 +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
Will Rossiter
958677bc44 BUGFIX: workaround for drag not firing when adding options 2011-12-05 21:57:34 +13:00
Will Rossiter
062770da17 BUGFIX: fixed rule value fields being hidden on load. BUGFIX: use delegate rather than live for select field changes as IE7/8 will not trigger live changes. 2011-03-06 15:47:01 +13:00
Will Rossiter
23ba211310 BUGFIX: tidied up message output from UDF. MINOR: syntax fixes from JSLint. ENHANCEMENT: introducted the userforms namespace for future abstraction. 2011-03-06 14:20:01 +13:00
Carlos Barberis
5f6e9a9966 BUGFIX: Added jquery live to delete ane and delete all submissions links 2010-11-04 04:29:09 +00:00
Will Rossiter
4e6a9ec412 BUGFIX: fixed sortable fields (again) not working on initial page load or when accessing a page directly. BUGFIX: fixed typo of livequery to live. 2010-10-13 21:07:53 +00:00
Mateusz Uzdowski
c684b87815 ENHANCEMENT: add confirmation dialog to "Delete all submissions" 2010-10-12 03:21:48 +00:00
Jean-Fabien Barrios
8b4e3b9962 BUGFIX: See ticket 5991 2010-09-28 02:07:28 +00:00
Will Rossiter
503c5c3ff6 ENHANCEMENT: implemented tests for exporting csv files 2010-09-08 10:35:43 +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
0e68b7c70a MINOR: cleaned up several js warnings 2010-08-05 23:30:13 +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
c408b632e3 BUGFIX: add condition should be live 2010-06-20 06:31:34 +00:00
Will Rossiter
7491e5c9e9 BUGFIX: refresh sortable lists after adding elements 2010-05-31 09:43:52 +00:00
Will Rossiter
50270211f2 ENHANCEMENT: added jquery picker to editabledatefield for date picker. 2010-05-31 07:57:00 +00:00
Will Rossiter
4e8abded2e BUGFIX: removed sortable event from livequery as it no longer needs to be 2010-05-24 02:49:16 +00:00
Will Rossiter
6b7e9f576a BUGFIX: livequery has been dropped in favour of live() and livequery is now no longer included in the cms 2010-05-21 03:59:01 +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
79cf7f1bee BUGFIX: remove and add the class rather then showing / hiding 2009-08-14 04:47:30 +00:00
Michael Andrewartha
3a4b0bdfd7 BUGFIX added return false to delete custom rule function 2009-07-15 22:22:07 +00:00
Will Rossiter
1d3d309582 BUGFIX: fixed issue with rule based validation trying to save the default rule 2009-06-25 06:55:42 +00:00
Will Rossiter
79621b6c7f MINOR: make sure field dropdowns are updated when adding a field 2009-05-06 04:11:34 +00:00
Will Rossiter
3ec7345ac9 MINOR: fixed language of fieldeditor 2009-05-06 03:46:12 +00:00
Will Rossiter
626f09be39 APICHANGE: changed ExtraOptions() to getFieldOptions() and getFieldValidationOptions(). MINOR: fixed layout of userforms in the cms. MINOR: updated checkbox field to respond with Yes and No rather then 0 and 1. MINOR: changed behaviour or email field selector to only get email field values in popup. 2009-05-06 03:34:40 +00:00
Will Rossiter
1d11b9529f MINOR: updated class name in javascript file 2009-04-27 02:30:32 +00:00
Will Rossiter
a076630b9c MINOR: changed field adding to use a dropdown field rather the a list of links that was getting unmanagable with all the fields 2009-04-27 00:20:20 +00:00
Will Rossiter
d592ed005f FEATURE: added ability to have rules on userdefined form fields 2009-04-23 22:52:08 +00:00
Will Rossiter
83f827f006 MINOR: rewrote CSS for fieldeditor to make it more maintainable 2009-04-21 05:10:39 +00:00
Will Rossiter
703a62cd7f BUGFIX: tidied up file attachment. should no longer attach blank file objects 2009-04-19 23:22:22 +00:00
Will Rossiter
e73015e6e5 BUGFIX: got drag and drop ordering of field OPTIONS rewritten in jQuery 2009-04-18 03:08:34 +00:00
Will Rossiter
c0b2f760cd BUGFIX: got drag and drop ordering of fields rewritten in jQuery 2009-04-18 02:49:46 +00:00
Will Rossiter
9638edd4f9 MINOR: removed old prototype fieldeditor code 2009-04-17 02:34:17 +00:00
Will Rossiter
83d1f2fe86 ENHANCEMENT: rewrote the user defined forms cms JS into jquery. ENHANCEMENT: rewrote templates and removed dulicate code. APICHANGE: created parent class for EditableFormField, EditableOption and EditableMultiOption to prevent code duplication. MINOR: added icon for literal field. MINOR: added quick unit test. MINOR: removed dulicate images 2009-04-17 02:26:40 +00:00
Will Rossiter
8926ad082b FEATURE: added ability to delete 1 submission or all the submissions from the userdefined form 2009-04-15 04:23:43 +00:00
Sean Harvey
cd9135bc89 BUGFIX Fixed deletion of form elements 2009-03-31 00:53:03 +00:00
Ingo Schommer
facc1d865f BUGFIX Fixed "undefined element" js error in FieldEditor.js 2008-12-15 03:10:04 +00:00
Sam Minnee
197df65f2b Updated form editor's javascript to work with SSViewer-generated comments 2008-11-25 03:53:21 +00:00
Sean Harvey
1ea06b4028 ENHANCEMENT Moved UserDefinedForm and related code, templates, CSS and javascript out of cms and sapphire classes into userforms/trunk 2008-09-29 03:18:23 +00:00