[svn] / Products.Five / branches / 1.1 / form Repository:
ViewVC logotype

Log of /Products.Five/branches/1.1/form

View Directory Listing Directory Listing


Sticky Revision:

Revision 65463 - Directory Listing
Modified Sat Feb 25 19:57:08 2006 UTC (8 years, 5 months ago) by philikon
Shorter branch naming.

Revision 65452 - Directory Listing
Modified Sat Feb 25 17:28:42 2006 UTC (8 years, 5 months ago) by philikon
Original Path: Products.Five/branches/Five-1.1/form
Codespeak conventions -> svn.zope.org conventions.

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

Revision 60747 - Directory Listing
Modified Tue Oct 25 16:38:21 2005 UTC (8 years, 9 months ago) by philikon
Original Path: z3/Five/branch/Five-1.1/form
merge a fix upstream: this was needed to make the test pass when
i integrated five 1.1 into the zope 2 trunk. i have no idea what's
wrong with this fscking test, everyone's been changing it back and
forth. this seems to work now. basta

Revision 59937 - Directory Listing
Modified Tue Oct 4 16:04:52 2005 UTC (8 years, 9 months ago) by regebro
Original Path: z3/Five/branch/Five-1.1/form
Merged Tareks transaction fix.

Revision 59720 - Directory Listing
Modified Wed Sep 28 01:15:55 2005 UTC (8 years, 10 months ago) by tseaver
Original Path: z3/Five/branch/Five-1.1/form
Document 'handle_errors' fix.

Revision 59716 - Directory Listing
Modified Wed Sep 28 00:51:43 2005 UTC (8 years, 10 months ago) by tseaver
Original Path: z3/Five/branch/Five-1.1/form
Revert 'handle_errors' removal; instead test the traceback (per mj's checkin to Zope).

Revision 59638 - Directory Listing
Modified Sun Sep 25 10:38:47 2005 UTC (8 years, 10 months ago) by tseaver
Original Path: z3/Five/branch/Five-1.1/form
'handle_errors' is supposed to cause the underlying testrunner to propagate exceptions.

Revision 59369 - Directory Listing
Modified Thu Sep 15 16:05:47 2005 UTC (8 years, 10 months ago) by philikon
Original Path: z3/Five/branch/Five-1.1/form
Merge r17579 from the trunk:
* The redefinePermission directive was falsely registered under the
  ``zope`` namespace, not the ``meta`` namespace as it is in Zope 3.

Revision 57303 - Directory Listing
Modified Tue Aug 2 16:37:34 2005 UTC (8 years, 11 months ago) by yuppie
Original Path: z3/Five/branch/Five-1.1/form
merged the yuppie-i18nfixes branch (without 'label'/'update' workarounds):
- 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 56905 - Directory Listing
Modified Tue Jul 26 13:02:12 2005 UTC (9 years ago) by regebro
Original Path: z3/Five/branch/Five-1.1/form
Some parts of add.pt and edit.pt was not being translated.

Revision 56848 - Directory Listing
Modified Mon Jul 25 17:07:46 2005 UTC (9 years ago) by regebro
Original Path: z3/Five/branch/Five-1.1/form
The deprecated FivePageTemplateFile was removed, and the erroneous use of this by EditView was changed.

Revision 56581 - Directory Listing
Modified Tue Jul 19 18:37:26 2005 UTC (9 years ago) by regebro
Original Path: z3/Five/branch/Five-1.1/form
Increased backwards compatibility.

Revision 56434 - Directory Listing
Modified Wed Jul 13 21:35:48 2005 UTC (9 years ago) by philikon
Original Path: z3/Five/branch/Five-1.1/form
branch off 1.1

Revision 56384 - Directory Listing
Modified Tue Jul 12 21:26:12 2005 UTC (9 years 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 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, 1 month 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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