[svn] / Products.Five / tags / 1.4.2 / form Repository:
ViewVC logotype

Log of /Products.Five/tags/1.4.2/form

View Directory Listing Directory Listing


Sticky Revision:

Revision 71066 - Directory Listing
Modified Sat Nov 4 19:46:53 2006 UTC (7 years, 10 months ago) by rocky
Tagged Five 1.4.2 release.

Revision 67849 - Directory Listing
Modified Tue May 2 18:57:34 2006 UTC (8 years, 4 months ago) by alecm
Original Path: Products.Five/branches/1.4/form
Port event fixes to 1.4 branch

Revision 65584 - Directory Listing
Modified Tue Feb 28 15:49:21 2006 UTC (8 years, 6 months ago) by philikon
Original Path: Products.Five/branches/1.4/form
Branch off Five 1.4.  We're not releasing Five 1.4b yet, but we need a Five
branch that is geared towards Zope trunk (=Zope 2.10).

Rocky should merge his work only to the Five 1.4 branch. Five 1.4 is geared
towards Zope 2.9.

Revision 65450 - Directory Listing
Modified Sat Feb 25 17:24:01 2006 UTC (8 years, 6 months ago) by jens
Original Path: Products.Five/trunk/form
- putting Five into its final resting place

Revision 65413 - Directory Listing
Modified Thu Feb 23 17:40:36 2006 UTC (8 years, 6 months ago) by jw
Original Path: z3/Five/trunk/form
merge formlib support from jw-formlib-support branch into trunk.


Revision 64283 - Directory Listing
Modified Sun Jan 22 23:31:32 2006 UTC (8 years, 7 months ago) by jinty
Original Path: z3/Five/trunk/form
Merge testbrowser support for Zope2.

    ------------------------------------------------------------------------
    r22479 | jinty | 2006-01-21 13:14:16 +0100 (Sat, 21 Jan 2006) | 1 line

    Convert forms.txt doctest to a testbrowser based test as a test of the
    testbrowser integration. I left the Unicode part as I dont know how
    testbrowser handles unicode. Also removed whitespace.
    
    ------------------------------------------------------------------------
    r22476 | jinty | 2006-01-21 12:05:34 +0100 (Sat, 21 Jan 2006) | 1 line

    Add an implementation of testbrowser using the Zope2 publishing machinery.


Revision 62559 - Directory Listing
Modified Tue Dec 6 13:57:57 2005 UTC (8 years, 9 months ago) by philikon
Original Path: z3/Five/trunk/form
Merge r20767 from 1.3 branch:
  Fixed the form i18n messages to work with Zope 3.2 beta 1.

Revision 61072 - Directory Listing
Modified Mon Oct 31 17:43:51 2005 UTC (8 years, 10 months ago) by philikon
Original Path: z3/Five/trunk/form
Merge philikon-zope32-port-3 branch to the trunk.  The Five trunk
now requires Zope 2.9 and 3.2 (philikon-zope32-integration for now).

Revision 60598 - Directory Listing
Modified Thu Oct 20 21:10:31 2005 UTC (8 years, 11 months ago) by tseaver
Original Path: z3/Five/trunk/form
Fix tests now that 'handle_errors=False' actually does what it advertises.

Revision 60332 - Directory Listing
Modified Fri Oct 14 13:37:26 2005 UTC (8 years, 11 months ago) by regebro
Original Path: z3/Five/trunk/form
Merging local site support into trunk!

Revision 59722 - Directory Listing
Modified Wed Sep 28 01:31:02 2005 UTC (8 years, 11 months ago) by tseaver
Original Path: z3/Five/trunk/form
Docco / cleanup after Goldegg sprint.

Revision 59721 - Directory Listing
Modified Wed Sep 28 01:17:45 2005 UTC (8 years, 11 months ago) by tseaver
Original Path: z3/Five/trunk/form
Document 'handle_errors' fix.

Revision 59718 - Directory Listing
Modified Wed Sep 28 00:54:48 2005 UTC (8 years, 11 months ago) by tseaver
Original Path: z3/Five/trunk/form
Revert 'handle_errors' removal; instead test the traceback (per mj's checkin to Zope).

Revision 59642 - Directory Listing
Modified Sun Sep 25 13:34:25 2005 UTC (8 years, 11 months ago) by tseaver
Original Path: z3/Five/trunk/form
Move Five.testing to Five.tests.testing

This change makes room for us to smuggle in the new
zope.testing testrunner, which will become standard in
Zope 2.9 / 3.2.

Revision 59639 - Directory Listing
Modified Sun Sep 25 11:16:11 2005 UTC (8 years, 11 months ago) by tseaver
Original Path: z3/Five/trunk/form
Forward-port 'handle_errors' fix from 1.1. branch.

Revision 59368 - Directory Listing
Modified Thu Sep 15 16:00:32 2005 UTC (9 years ago) by philikon
Original Path: z3/Five/trunk/form
* The redefinePermission directive was falsely registered under the
  ``zope`` namespace, not the ``meta`` namespace as it is in Zope 3.

Revision 57307 - Directory Listing
Modified Tue Aug 2 17:56:34 2005 UTC (9 years, 1 month ago) by yuppie
Original Path: z3/Five/trunk/form
synced with 1.1 branch

Revision 57306 - Directory Listing
Modified Tue Aug 2 17:52:38 2005 UTC (9 years, 1 month ago) by yuppie
Original Path: z3/Five/trunk/form
merged r15514 from Five-1.1 branch:
- made sure the translations for the 'zope' domain are registered
- synced add.pt and edit.pt with Z3-3.0.1
  (maybe we should use those in zope.app.form.browser directly)
- converted massage strings in AddView and EditView into MessageIDs
- added some i18n ftest


Revision 56906 - Directory Listing
Modified Tue Jul 26 13:02:24 2005 UTC (9 years, 1 month ago) by regebro
Original Path: z3/Five/trunk/form
Some parts of add.pt and edit.pt was not being translated.

Revision 56847 - Directory Listing
Modified Mon Jul 25 17:04:35 2005 UTC (9 years, 1 month ago) by regebro
Original Path: z3/Five/trunk/form
The deprecated FivePageTemplateFile was removed, and the erroneous use of this by EditView was changed.


Revision 56384 - Directory Listing
Modified Tue Jul 12 21:26:12 2005 UTC (9 years, 2 months ago) by philikon
Original Path: z3/Five/trunk/form
Merged the philikon-testing branch.
This concludes my work on atomic tests. All tests now clean up
after themselves. There's no installProducts('Five') anymore
and there never should be!
To run the individual tests, set your INSTANCE_HOME env var.
To run all of the tests, use: bin/zopectl test --dir Products/Five

Revision 56240 - Directory Listing
Modified Sat Jul 9 21:14:29 2005 UTC (9 years, 2 months ago) by philikon
Original Path: z3/Five/trunk/form
added cleanup where appropriate

Revision 54865 - Directory Listing
Modified Sun Jun 5 15:07:29 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
rename test module to saner name

Revision 54699 - Directory Listing
Modified Tue May 31 09:36:36 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
M-x untabify

Revision 54694 - Directory Listing
Modified Tue May 31 06:09:11 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
it turns out the form decoding needs to happen much earlier because
sequence widgets are instanciated and evaluated when the edit view
is looked up and created. This fix ensures that sequence widgets work.
Thanks to yuppie for the hint and a test failure.

Revision 54684 - Directory Listing
Modified Mon May 30 17:59:01 2005 UTC (9 years, 3 months ago) by yuppie
Original Path: z3/Five/trunk/form
synced some lines with zope/app/form/browser/edit.pt (minimizing the diff):
the body slot no longer adds a body tag

Revision 54673 - Directory Listing
Modified Mon May 30 13:10:41 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
Add Zope repository license header to all files in order to make merging
between codespeak SVN and zope.org SVN easier.

Revision 54663 - Directory Listing
Modified Sun May 29 18:34:10 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
set svn:eol-style on files. I had reinstalled my system and forgotten
to adjust my .subversion/config to do this automatically. If you
don't have this setting yourself, please adjust your svn config.

Revision 54662 - Directory Listing
Modified Sun May 29 18:29:32 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
make auto-generated forms unicode aware. In order to do that, a
_decode method was copied from zope3's zope.publisher.browser.BrowserRequest.
In zope3's zope.publisher it is called for every form field that is not
an HTTP header or a CGI name. We mimic the same in the EditView/AddView
classes. The processInputs() method needs to be called explicitly from
the edit/add form PageTemplate though.

In addition to that, the encoding of the browser page needs to be set.
In Zope3, a view delivers unicode and zope.publisher will send to the
browser the encoding which fits best to what was requested originally.
Zope 2 sadly doesn't know this. Instead it'll see if the response's
Content-Type header was set with a charset parameter and use that, otherwise
it defaults to iso-8859-1 which is not suitable for unicode-awareness
at all. Therefore, EditView/AddView take over the work that normally
zope.publisher does and negotiate the best encoding suitable for the
form and the browser and set the Content-Type header accordingly.
That way ZPublisher will encode correctly.

Revision 54651 - Directory Listing
Modified Sat May 28 19:49:02 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
remove error-prone lines from functionaldoctests

Revision 54650 - Directory Listing
Modified Sat May 28 19:44:46 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
convert form tests to functional doctest. this'll make it easier for me
to write tests for the unicode fixes.

Revision 54641 - Directory Listing
Modified Fri May 27 17:07:28 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
take back r12842 which was a wrong fix to a different problem.

Revision 54640 - Directory Listing
Modified Fri May 27 16:57:51 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
handle transaction backward compatability in a saner and Zope 2.7 compatible
way.

Revision 54631 - Directory Listing
Modified Fri May 27 14:32:14 2005 UTC (9 years, 3 months ago) by philikon
Original Path: z3/Five/trunk/form
fix a test failure. i wonder why this test worked before, svn
doesn't show a modification (except svn properties) since i last
refactored this

Revision 54535 - Directory Listing
Modified Mon May 23 15:51:03 2005 UTC (9 years, 4 months ago) by yuppie
Original Path: z3/Five/trunk/form
set svn:keywords Id for *.py
set svn:eol-style for *.py, *.txt, *.zcml, ...

Revision 54533 - Directory Listing
Modified Mon May 23 15:41:37 2005 UTC (9 years, 4 months ago) by yuppie
Original Path: z3/Five/trunk/form
merging yuppie-zope27and28 branch:
- patch HTTPRequest only if necessary
- get rid of get_transaction() deprecation warnings, using bbb code for Zope 2.7

Revision 54162 - Directory Listing
Modified Mon May 16 16:22:56 2005 UTC (9 years, 4 months ago) by yuppie
Original Path: z3/Five/trunk/form
set svn:ignore where missing

Revision 54107 - Directory Listing
Modified Sun May 15 17:47:00 2005 UTC (9 years, 4 months ago) by yuppie
Original Path: z3/Five/trunk/form
merging yuppie-interfaces branch:
- moved Zope 2 core interfaces into bbb (future Zope versions will ship with their own z3 interfaces)
- renamed IAcquisition to IAcquirer and IPermissionMapping to IPermissionMappingSupport
- added backwards compatibility code to interfaces.py that tries to import interfaces from Zope and falls back to bbb interfaces
- added monkey patch that creates module aliases in old Zope versions

Revision 53376 - Directory Listing
Modified Thu Apr 28 14:00:01 2005 UTC (9 years, 4 months ago) by philikon
Original Path: z3/Five/trunk/form
Copied from: z3/Five/branch/philikon-restructuring/form revision 53365
Merged the philikon-restructuring branch.

Three subpackages were introduced:

   - Five.browser: contains all browser-related code, such as browser
     page configuration, our special Page Template implementation, etc.
     Five.browser.tests also contains the extensive test suite for all
     browser-related things.

   - Five.form: contains mostly configuration code for the form machinery
     and its tests (Five.form.tests).

   - Five.skin: contains the (now only beginnings) of Five's skinning
     support and tests of primarily the StandardMacros view.

As the subpackages were introduced, the tests were split up accordingly. 
They are now grouped by feature and can be run much more atomically. The 
FiveTest product is no longer.

For more information, see
http://codespeak.net/pipermail/z3-five/2005q2/000434.html

Revision 53277 - Directory Listing
Modified Tue Apr 26 18:43:30 2005 UTC (9 years, 4 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
create an alias for zope2.Public so it can be understood by the
security machinery.

This might be shifted to a future test framework, maybe.

Revision 53276 - Directory Listing
Modified Tue Apr 26 18:30:55 2005 UTC (9 years, 4 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
merge r11479 from the trunk:

- AddViewFactory and EditViewFactory were not calling protectClass on the generated class
- Cleanup the test to include the view_name in failure if one occurs


Revision 52807 - Directory Listing
Modified Fri Apr 22 11:03:07 2005 UTC (9 years, 5 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
moved Five.tests.helpers to Five.testing; this goes along the
Zope 3 naming convention where test auxiliary components are
either in zope.testing or zope.app.testing

Revision 52778 - Directory Listing
Modified Thu Apr 21 18:06:50 2005 UTC (9 years, 5 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
move form-specific test to Five.form.test

Revision 52776 - Directory Listing
Modified Thu Apr 21 18:05:52 2005 UTC (9 years, 5 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
move the import of z3's form machinery where it belongs; ideally,
you should be able to throw out Five.form and the rest of five should
still work.

Revision 52746 - Directory Listing
Modified Thu Apr 21 10:05:39 2005 UTC (9 years, 5 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
Started to demangle the security tests:
  * tests regarding resources are now in their own test case in
    browser.tests.test_resource
  * the RestrictedPythonTestCase was moved to Five.tests.helperes
  * synced with r10930 from the trunk:
    "Added more tests for page security. Permissions on addpages is currently
    ignored, one test displays this."
    The latter mentioned test was added to form.tests.test_editform instead
    of test_security2.py

Revision 52741 - Directory Listing
Modified Thu Apr 21 09:20:49 2005 UTC (9 years, 5 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
sync with r10925 from the trunk: An assert was missing.

Revision 52740 - Directory Listing
Modified Thu Apr 21 09:18:59 2005 UTC (9 years, 5 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
added the stupid test_suite function back. Thanks, Tres.

Revision 52684 - Directory Listing
Modified Tue Apr 19 22:51:32 2005 UTC (9 years, 5 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
removing boilerplate

Revision 52682 - Directory Listing
Modified Tue Apr 19 22:41:17 2005 UTC (9 years, 5 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
move form tests to Five.form.tests, including their demo content
objects, schemas and browser views. The mock objects are now in
a compacter form and much easier to comprehend.

All four tests pass.

Revision 52671 - Directory Listing
Modified Tue Apr 19 21:17:11 2005 UTC (9 years, 5 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
explicitly pass the module globals() dict so that makeClassForTemplate()
knows where the ZPT file is actually located.

Revision 52628 - Directory Listing
Added Mon Apr 18 23:22:53 2005 UTC (9 years, 5 months ago) by philikon
Original Path: z3/Five/branch/philikon-restructuring/form
Major restructuring. We now have the following sub-packages:
* Five.browser
* Five.form
* Five.skin

Tests aren't passing yet which is due to a weird behaviour of
ZopeTwoPageTemplateFile.

Sort log by:

zope.org Infrastructure
ViewVC Help
Powered by ViewVC 1.0.3