Permalink
Browse files

2.1 release code checked into sf.net

git-svn-id: http://svn.code.sf.net/p/formunculous/code/trunk@10 73555b9c-cbee-463b-918c-5b0eed200513
  • Loading branch information...
carsongee committed Apr 12, 2010
1 parent 1cd933f commit 776be3d0f845fbeb1b24e4caad42f4b813ad1828
Showing with 1,631 additions and 225 deletions.
  1. +36 −29 CHANGES
  2. +2 −0 MANIFEST.in
  3. +8 −0 README
  4. +2 −2 formunculous/__init__.py
  5. +1 −2 formunculous/admin.py
  6. +0 −17 formunculous/fields.py
  7. +1 −2 formunculous/forms.py
  8. +19 −1 formunculous/media/formunculous/css/apply.css
  9. +176 −7 formunculous/media/formunculous/css/formunculous.css
  10. BIN formunculous/media/formunculous/flash/OFC.swf
  11. BIN formunculous/media/formunculous/img/complete.png
  12. BIN formunculous/media/formunculous/img/csv.png
  13. BIN formunculous/media/formunculous/img/current.png
  14. BIN formunculous/media/formunculous/img/download.png
  15. BIN formunculous/media/formunculous/img/history.png
  16. BIN formunculous/media/formunculous/img/history_fade.png
  17. BIN formunculous/media/formunculous/img/incomplete.png
  18. BIN formunculous/media/formunculous/img/print.png
  19. BIN formunculous/media/formunculous/img/review.png
  20. BIN formunculous/media/formunculous/img/stats.png
  21. +12 −2 formunculous/media/formunculous/js/field_edit.js
  22. +49 −0 formunculous/media/formunculous/js/history.js
  23. +19 −0 formunculous/media/formunculous/js/index.js
  24. +15 −5 formunculous/models.py
  25. +1 −1 formunculous/storage.py
  26. +1 −1 formunculous/templates/formunculous/ajax_copy_ad.html
  27. +105 −54 formunculous/templates/formunculous/apply.html
  28. +46 −0 formunculous/templates/formunculous/apply_history.html
  29. +22 −6 formunculous/templates/formunculous/builder_index.html
  30. +60 −15 formunculous/templates/formunculous/completed.html
  31. +19 −6 formunculous/templates/formunculous/includes/fd_fields.html
  32. +35 −9 formunculous/templates/formunculous/index.html
  33. +12 −0 formunculous/templates/formunculous/notify_reviewers_email.html
  34. +5 −0 formunculous/templates/formunculous/review_application.html
  35. +34 −3 formunculous/templates/formunculous/review_index.html
  36. +125 −0 formunculous/templates/formunculous/review_index_incomplete.html
  37. +56 −0 formunculous/templates/formunculous/review_statistics.html
  38. +4 −1 formunculous/templates/formunculous/thankyou.html
  39. +12 −3 formunculous/urls.py
  40. +41 −0 formunculous/utils/backports.py
  41. +79 −0 formunculous/utils/ofc2/OpenFlashChart.py
  42. 0 formunculous/utils/ofc2/__init__.py
  43. +74 −12 formunculous/views/apply.py
  44. +69 −10 formunculous/views/builder.py
  45. +489 −35 formunculous/views/reviewer.py
  46. +1 −1 formunculous/widgets.py
  47. +1 −1 harness/settings.py
View
65 CHANGES
@@ -1,34 +1,41 @@
-Second major version:
+2.1 Feature Release:
New features:
-* Builder now integrated with Django admin interface
-* Forms can now be designated by django Site
-* Subforms now exist and enable many to one forms
-* There are new fields available including:
- . US Phone Number
- . US Zip code
- . US State
-* You can now have authenticated forms that can be filled out multiple times
-* You can choose to display drop down form elements with radio buttons
-* You can now have multi select drop down elements displayed either as
- checkboxes or via a select widget
-* All templates used for forms are customizable (i.e. confirmation, thankyou,
- completion) by creating a template directory with the same name as the form
- definition's slug (i.e. contact-us/thankyou.html)
-* Fields are marked as dropdown safe to prevent having a file field with
- dropdown selections, as this doesn't make sense.
-* Completed forms are now searchable via the reviewing index
-* Completed forms now have pagination, the number displayed is configurable
-* CKEditor/WYSIWYG available on all HTML capable fields via a button
+* Graphical statistics for showing responses over time.
+* Pie charts for showing percentage choices for drop down type fields.
+* Improved notification e-mail with direct links to related areas of the app.
+* Interface improvements on form index page--tab with forms available for
+ review.
+* New review tab shows the number of complete and incomplete forms for each
+ form.
+* Incomplete forms are now shown on the reviewing view along with the completion
+ percentage.
+* There are now print links on the completion page and review page for forms.
+* Link to download all of the files associated with a form definition as a
+ single zip file.
+* There is a link to export all form submission data as a single CSV.
+* Restyle of form building view to make it more compact.
+* The accordion expansion handle for form building is now available in
+ a larger area.
+* In the builder index, inactive forms are now greyed out.
+* Each column in the builder index is now sortable.
+* Input errors for the end user have an improved look and feel
+* If you have an authenticated multi-use form, the user can now view each
+ form that they have previously filled out.
-Bug fixes:
+Bug Fixes:
-* Massive style cleanup and prettifying, more compatible with IE
-* Fixed a sorting issue with submission date.
-* Boolean fields now default to False, previously they defaulted to Null/None
-
-
-Future release plans:
-* Add bulk copying/per item copying of form elements in the building interface
-* Show user previous submissions for multiple authenticated forms
+* Sorting on the review index has been improved to include fields with the
+ special "None" value.
+* Searching forms in the review index now properly cases and trims the search
+ terms.
+* The preview form no longer shows the submit/save buttons.
+* Copying a form definition now properly performs a deep copy of dropdown
+ selections and sub-forms.
+* Copying a form definition now properly copies the site status and list of
+ reviewers.
+* Notification for non-authenticated forms no longer sends multiple e-mail
+ notifications if the user refreshes the page.
+* Verification of whether the requested form is a parent or child is now
+ working properly.
View
@@ -1,6 +1,8 @@
recursive-include formunculous/media *
recursive-include formunculous/templates *
recursive-include formunculous/support *
+recursive-include upgrade *
+recursive-include harness *
recursive-include scripts *
include ez_setup.py
include setuptools-0.6c9-py2.5.egg
View
8 README
@@ -38,6 +38,14 @@ There are also required media files for formunculous, so you will need to
copy symlink in the $PYTHON_PATH/formunculous/media/formunculous directory
into your MEDIA_ROOT directory for the CSS/JS/Images used by formunculous
+**** Important *****
+
+As of version 2.1.0 Formunculous uses json, and either the python cjson or json libraries
+are required. These are common libraries, but they generally come as python eggs
+which may cause problems on your Web server depending on the setup. Generally you will
+need to set the "PYTHON_EGG_CACHE" environment variable to a place the Web server has
+read/write access in order for it to work properly.
+
** Upgrading **
View
@@ -12,9 +12,9 @@
#
# You should have received a copy of the GNU General Public License
# along with formunculous. If not, see <http://www.gnu.org/licenses/>.
-# Copyright 2009 Carson Gee
+# Copyright 2009,2010 Carson Gee
-VERSION = (2, 0, 1, 'final', )
+VERSION = (2, 1, 0, 'final', )
def get_version():
version = '%s.%s.%s %s' % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])
View
@@ -12,8 +12,7 @@
#
# You should have received a copy of the GNU General Public License
# along with formunculous. If not, see <http://www.gnu.org/licenses/>.
-# Copyright 2009, 2010 Carson Gee
-
+# Copyright 2009,2010 Carson Gee
from django.contrib import admin
from django.conf.urls.defaults import *
View
@@ -1,20 +1,3 @@
-# This file is part of formunculous.
-#
-# formunculous is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# formunculous is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with formunculous. If not, see <http://www.gnu.org/licenses/>.
-# Copyright 2009, 2010 Carson Gee
-
-
from django.forms import Field, FileField, MultipleChoiceField
from django.forms import ValidationError
from django.forms.fields import RegexField
View
@@ -12,8 +12,7 @@
#
# You should have received a copy of the GNU General Public License
# along with formunculous. If not, see <http://www.gnu.org/licenses/>.
-# Copyright 2009, 2010 Carson Gee
-
+# Copyright 2009,2010 Carson Gee
from django import forms
from django.db import models
@@ -29,10 +29,28 @@
.apply_field_errors {
color: #ff3333;
background: url('../img/icon_error.gif') no-repeat;
- padding-left: 16px;
+ padding-left: 22px;
margin-left: 220px;
}
+.apply_field_errors .errorlist {
+ padding-left: 1em;
+
+}
+.apply_field_errors .errorlist li {
+ list-style-type: none;
+
+}
+.apply_row_errors {
+ border: 1px dashed #ff3333;
+}
+
+.apply_row_errors input {
+ background-color: #ffefef;
+ border: 1px solid #ff3333;
+}
+
+
.apply_field_row {
width: 100%;
vertical-align: middle;
Oops, something went wrong.

0 comments on commit 776be3d

Please sign in to comment.