Commit Graph

1668 Commits

Author SHA1 Message Date
Frédéric Péters b3222c020e [release] 1.5 2009-10-28 12:40:09 +00:00
Frédéric Péters a4233ce558 [release] 1.5 2009-10-28 12:38:57 +00:00
Frédéric Péters ec91efe1f7 Correctly handle translations for "configuration schemas" 2009-10-26 15:46:58 +00:00
Benjamin Dauvergne 49c38ae563 Define a __revision__ variable
* wcs/qommon/__init__.py:
   add __revision__ variable to be update by svn checkout.
2009-10-26 14:37:56 +00:00
Frédéric Péters e38347a13f Remove untranslatable "powered by lasso" string from template 2009-10-26 13:41:30 +00:00
Frédéric Péters 3dc93fd32d Include ChangeLog in distributed files 2009-10-26 11:14:28 +00:00
Frédéric Péters 256be4fde7 Translation update 2009-10-26 11:13:30 +00:00
Frédéric Péters dd1ce89ebf Update to match the move of files from root/ to data/web/ 2009-10-26 11:04:50 +00:00
Frédéric Péters 0222d9d309 Add homepage field to debian package 2009-10-26 11:02:26 +00:00
Frédéric Péters 6d30e0421c English typography fix 2009-10-26 10:58:18 +00:00
Frédéric Péters bdf5895035 remove I from possible password letters 2009-10-22 15:26:00 +00:00
Frédéric Péters 17ef28ee59 Use variables to set uid/gid of scgi process, overridable in /etc/default/wcs/
(idea by Jean Christophe André)
2009-10-22 15:24:32 +00:00
Frédéric Péters 7e68d12649 Don't use confusing characters (O0, l1I...) in generated passwords.
(patch by Thomas Noel)
2009-10-22 15:02:12 +00:00
Frédéric Péters dfcdb204f5 Don't relay DNS failures to the user, when checking email addresses 2009-10-22 15:00:01 +00:00
Frédéric Péters e7874acbde Make sure request.form doesn't contain unicode strings.
All strings are now encoded into the site charset.  For reference it would
contain unicode strings when the user agent specifies a charset in a mime
content part, such a behaviour appears with some Nokia phones (6020, 6300)
2009-10-21 16:01:07 +00:00
Benjamin Dauvergne 33a37d4c19 Encode with site charset when prefilling with ID-WSF
* wcs/forms/root.ptl:
   modify wsf_prefill to respect the site charset.
2009-10-21 11:20:27 +00:00
Frédéric Péters d1219234fb Use custom strftime when sending emails 2009-10-21 08:47:36 +00:00
Frédéric Péters 26d66b0bc9 Fix "required" attribute for tables
(it checks at least one cell has been filled)
2009-10-16 13:47:27 +00:00
Frédéric Péters 392eaca853 Add tests for the "save draft" feature 2009-10-15 11:51:33 +00:00
Frédéric Péters 262684b678 rename tests as the execution order is not important anymore 2009-10-15 11:21:50 +00:00
Frédéric Péters 4fb521ce9c allow errors in forms when saving draft 2009-10-15 11:15:44 +00:00
Frédéric Péters 2236f252cc Add categories to custom emails 2009-10-14 14:13:03 +00:00
Frédéric Péters 8abb3cce61 Add categories to custom texts 2009-10-14 14:04:33 +00:00
Frédéric Péters fcd9365aa7 remove Lasso reference in default page footer 2009-10-14 11:50:00 +00:00
Frédéric Péters f62d2c2fcd rewind uploaded file before writing its content on disk 2009-10-14 11:34:44 +00:00
Frédéric Péters 4918610b7c Set docstrings for tests 2009-10-14 09:30:07 +00:00
Frédéric Péters c442d2c693 Use fixtures to create and delete test forms 2009-10-14 09:26:39 +00:00
Frédéric Péters 3048b013e8 ignore errors when getting form user 2009-10-14 07:59:26 +00:00
Frédéric Péters af2e07932a Add testcases for dates 2009-10-13 15:35:10 +00:00
Frédéric Péters c2b069812d Fixed check for "date in the future or today" combination 2009-10-13 15:34:46 +00:00
Frédéric Péters 0c8a9f967c Limit passing of maximum date tuple to 6 elements 2009-10-13 15:09:55 +00:00
Benjamin Dauvergne 8e1e1fe464 After an exception in soap_call response cannot be initialized
* wcs/qommon/liberty.ptl:
   do not try to print response.status if request or getresponse fail.
2009-10-13 07:38:59 +00:00
Benjamin Dauvergne d7acdfc4bc Add an option to fix session on IP adresses
* wcs/qommon/admin/settings.ptl:
   add a session management administrative page
 * wcs/admin/settings.ptl:
   plug the new page into wcs settings.
 * wcs/qommon/sessions.py:
   - QuixoteSession already contain the ip of the request which created
     the session, but it only for REMOTE_ADDR when populating it.  This
     commit add code to look for X_FORWARDED_FOR. Maybe it should be
     controlled by a checkbox if any client can set such a header...

   - if get_cfg('session')['ip_linked'] is True, fix session to IP
     adresses, from the X-Forwarded-For: header or the REMOTE_ADDR
     environment variable. If the saved ip adress and request ip adress
     mismatch, kill the session.
2009-10-13 07:38:55 +00:00
Benjamin Dauvergne 3c7716f9e8 Finish show-as-radio -> show_as_radio migration
* wcs/fields.py:
   change show-as-radio HTML form name, to show_as_radio.
2009-10-12 20:43:21 +00:00
Jérôme Schneider fdefe65409 Catch connection errors in liberty soap_call
* wcs/qommon/liberty.ptl: when connection failed raised a
   SOAPException
2009-10-12 15:52:38 +00:00
Frédéric Péters d8bd0ad5c0 Display traces in their long format by default 2009-10-12 14:25:52 +00:00
Frédéric Péters ccfbb3cd2d Add test of file upload with test case for recent bug 2009-10-12 13:43:19 +00:00
Frédéric Péters 86249dc9f4 shorten wait delay to one sec 2009-10-12 13:42:58 +00:00
Frédéric Péters 409bc9abde set up roles and enable traces 2009-10-12 13:42:44 +00:00
Frédéric Péters 311501d9f1 Display error page before accessing page content 2009-10-12 13:41:43 +00:00
Frédéric Péters 24a2fa9f59 Do not fail when an user-agent string is not passed 2009-10-12 13:15:01 +00:00
Frédéric Péters 2c97becc90 Make "long form" traces optional 2009-10-12 13:04:28 +00:00
Frédéric Péters 00624f11bc Customiez CheckboxWidget to make the required property useful 2009-10-09 12:12:00 +00:00
Frédéric Péters 12afe00f75 Custom text for the "sent confirmation email "message 2009-10-09 11:49:19 +00:00
Frédéric Péters 79d06f35f2 Configurable text at the top of the login page 2009-10-09 11:47:52 +00:00
Benjamin Dauvergne 78e6cf4cf7 Print exception type and value in stacktrace, and precise the order of frames
* wcs/qommon/publisher.py:
   add printing of exception informations, and also of order of frames
   (most recent first).
2009-10-08 11:15:28 +00:00
Benjamin Dauvergne f4b08a22f8 When print line context for stacktrace only strip trailing spaces
* wcs/qommon/publisher.py
   in _generate_plaintext_error change strip() to rstrip()
2009-10-08 10:33:45 +00:00
Benjamin Dauvergne 0d0351c6b0 Rewrite plaintext exception printing
* wcs/qommon/publisher.py:
   now print context lines around each stack trace line, and also local
   variables.
2009-10-08 10:19:00 +00:00
Frédéric Péters 847016f271 Handle empty tempfiles 2009-10-07 18:49:14 +00:00
Benjamin Dauvergne dfe6f4da54 Fix htmltext in session problem 2009-10-07 16:12:46 +00:00