Commit Graph

27 Commits

Author SHA1 Message Date
Mateusz Uzdowski
8d3cb472dc BUGFIX: remove reliance on str_getcsv (it's PHP 5.3 only).
ENHANCEMENT: sort the columns according to the most recent form setup (thanks jonomenz for the query)
ENHANCEMENT: test quotes and commas
2010-10-07 23:06:49 +00:00
Mateusz Uzdowski
14ff7759a7 BUGFIX: rewrite the export function to fix the bug that multiplied columns when adding rows, and to use built-in php csv functions. 2010-10-07 21:37:21 +00:00
Jean-Fabien Barrios
abee24ed0c ENHANCEMENT: Don't return a blank url when no file is specified 2010-09-22 02:20:28 +00:00
Mark Stephens
40592031ff BUGFIX: Submissions were exported in implied ID order, which is not guaranteed on all DB engines, esp postgres, so put in explicit order 2010-09-20 03:54:52 +00:00
Will Rossiter
503c5c3ff6 ENHANCEMENT: implemented tests for exporting csv files 2010-09-08 10:35:43 +00:00
Will Rossiter
99d4721c88 MINOR: restored export() functionality 2010-09-08 06:34:52 +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
Carlos Barberis
1d6cde42a8 MINOR: added condition to make sure we have submitted date 2010-07-28 23:15:11 +00:00
Saophalkun Ponlu
af2fa007f2 BUGFIX: Resolve wrong escaped double quote characters
ENHANCEMENT: Get unique columns at database level
2010-07-28 07:55:13 +00:00
Will Rossiter
fd0fe1b01d APICHANGE: added getFormattedValue() for UDF submitted form fields to allow subclasses to overload the stored content. BUGFIX: convert newlines from text submissions to br tags so textarea fields actually come out semi readable 2010-05-16 03:55:03 +00:00
Carlos Barberis
f9152b6108 BUGFIX: Fixed CSV export generating file with duplicated headers 2010-04-26 22:55:52 +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
Sean Harvey
f0dbf7f917 BUGFIX Redundancy of HTTPRequest when exporting data in SubmittedFormReportField because of recent class name changes 2010-01-08 03:04:33 +00:00
Sean Harvey
468ebf4fcb BUGFIX Fixed mssql error when attempting to export data using SELECT DISTINCT query in SubmittedFormReportField 2010-01-08 03:03:35 +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
Mateusz Uzdowski
0707279dec MINOR: extending Title to 255 characters to be in line with the Title on EditableFormField (caused internal server errors on MSSQL if the title was longer than 50) 2009-11-24 20:11:50 +00:00
Normann Lou
7ca3371fa1 BUGFIX: remove the extra last empty column. ENHANCEMENT: add Submitted column for submission export at the end. 2009-10-28 23:24:10 +00:00
Sam Minnee
2ca993b7c4 BUGFIX: Updated module to support 2.4 API changes 2009-10-26 22:04:11 +00:00
Carlos Barberis
516c7cd681 Added quotes to query 2009-08-13 00:19:20 +00:00
Carlos Barberis
ff96c99055 Added ORDER BY ID in query to export submissions to csv file 2009-08-12 23:59:16 +00:00
Will Rossiter
c7b6639d1e MINOR: sort submissions based on newer ones first 2009-07-22 03:34:27 +00:00
Will Rossiter
031b91a791 MINOR: fixed undefined notice with export csv 2009-07-10 04:51:24 +00:00
Tom Rix
90f977bde1 2009-07-02 21:18:16 +00:00
Sean Harvey
7529460e80 BUGFIX Fixed userforms SQL to work with ANSI compatibility turned on 2009-05-12 01:48:04 +00:00
Will Rossiter
e429137bb8 ENHANCEMENT: moved validation of user defined forms to jquery based using the validate plugin. MINOR: moved submitted field infomation to its own folder 2009-04-21 03:44:13 +00:00