Zope Subversion Repository

  Zope

Zope: zope.security/trunk/src/zope/security/metadirectives.py


No default branch

Revision 113056 - (view) (download) (as text) - [select for diffs]
Modified Thu Jun 3 17:34:32 2010 UTC (2 years, 11 months ago) by tseaver
File length: 6850 byte(s)
Diff to previous 112046
Remove CVS-era Id fossils.

Revision 112046 - (view) (download) (as text) - [select for diffs]
Modified Wed May 5 19:21:19 2010 UTC (3 years ago) by tseaver
File length: 6856 byte(s)
Diff to previous 95342
Conform to repository policy.

Revision 95342 - (view) (download) (as text) - [select for diffs]
Modified Wed Jan 28 16:00:22 2009 UTC (4 years, 3 months ago) by brandon_rhodes
File length: 6857 byte(s)
Diff to previous 95326
Added to zope.security the implementation of the simple <module>
directive, so that everyone needing it will no longer have to rely,
for just that reason, upon the monstrous zope.app.security.

Revision 95326 - (view) (download) (as text) - [select for diffs]
Modified Wed Jan 28 15:11:49 2009 UTC (4 years, 3 months ago) by brandon_rhodes
File length: 5054 byte(s)
Copied from: zope.app.component/trunk/src/zope/app/component/metadirectives.py revision 95313
Diff to previous 94041
Moved the <class> directive implementation from `zope.app.component` to
this package.

Filename: zope.app.component/trunk/src/zope/app/component/metadirectives.py
Revision 94041 - (view) (download) (as text) - [select for diffs]
Modified Sat Dec 13 22:32:12 2008 UTC (4 years, 5 months ago) by nadako
File length: 10409 byte(s)
Diff to previous 94040
Revert mistake change

Filename: zope.app.component/trunk/src/zope/app/component/metadirectives.py
Revision 94040 - (view) (download) (as text) - [select for diffs]
Modified Sat Dec 13 22:18:32 2008 UTC (4 years, 5 months ago) by nadako
File length: 9240 byte(s)
Diff to previous 94039
Remove factory directive.

Filename: zope.app.component/trunk/src/zope/app/component/metadirectives.py
Revision 94039 - (view) (download) (as text) - [select for diffs]
Modified Sat Dec 13 22:16:56 2008 UTC (4 years, 5 months ago) by nadako
File length: 10409 byte(s)
Diff to previous 93726
Remove factory directive.

Filename: zope.app.component/trunk/src/zope/app/component/metadirectives.py
Revision 93726 - (view) (download) (as text) - [select for diffs]
Modified Sat Dec 6 17:07:53 2008 UTC (4 years, 5 months ago) by nadako
File length: 11534 byte(s)
Diff to previous 92115
Remove deprecated zope:content and zope:localUtility directives.

Filename: zope.app.component/trunk/src/zope/app/component/metadirectives.py
Revision 92115 - (view) (download) (as text) - [select for diffs]
Modified Mon Oct 13 13:18:24 2008 UTC (4 years, 7 months ago) by sidnei
File length: 11824 byte(s)
Diff to previous 75258
 - Remove everything that was marked as to-be-removed in 3.5

Filename: zope.app.component/trunk/src/zope/app/component/metadirectives.py
Revision 75258 - (view) (download) (as text) - [select for diffs]
Modified Fri May 4 07:24:39 2007 UTC (6 years ago) by ctheune
File length: 11811 byte(s)
Diff to previous 73604
Moving code to satellite.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 73604 - (view) (download) (as text) - [select for diffs]
Modified Sun Mar 25 12:17:44 2007 UTC (6 years, 2 months ago) by dobe
File length: 11811 byte(s)
Diff to previous 71599
remove zope.app.i18n dep

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 71599 - (view) (download) (as text) - [select for diffs]
Modified Mon Dec 18 20:23:39 2006 UTC (6 years, 5 months ago) by ctheune
File length: 11801 byte(s)
Diff to previous 70213
- Fixed bug #707: "layer" directive was marked as deprecated in a confusing
  way.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 70213 - (view) (download) (as text) - [select for diffs]
Modified Sun Sep 17 15:31:01 2006 UTC (6 years, 8 months ago) by flox
File length: 12072 byte(s)
Diff to previous 69359
Deprecate directive <zope:localUtility>.
Remove deprecated directive <zope:defaultLayer>.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 69359 - (view) (download) (as text) - [select for diffs]
Modified Sat Aug 5 18:23:15 2006 UTC (6 years, 9 months ago) by flox
File length: 12528 byte(s)
Diff to previous 67630
Write BBB docstrings for deprecated directives.
These statements should appear within ++apidoc++ for ZCML.

List of deprecated directives:
. zope
	content
	defaultLayer
	defaultView
	factory
	localUtility *not yet deprecated*
	modulealias
	vocabulary

. browser
	layer
	skin
	tool

. renderer
	renderer

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 67630 - (view) (download) (as text) - [select for diffs]
Modified Thu Apr 27 00:54:03 2006 UTC (7 years ago) by jim
File length: 11820 byte(s)
Diff to previous 66068
Merge of jim-adapter branch:

This branch has three major refactorings on it:

- A redesign of the adapter registration machinery

- A major simplification of local component management

  See zope.component.interfaces.IComponentRegistry.

- A flexible system for combining component registries.

- A beginning of the migration of packages out of zope.app.

- A new package for doing deferred imports.  This allows you
  to make names available at the package level without creating
  circular imports.  See zope.deferredimport and see
  zope.component.__init__ for examples of it's use.  This package
  also provides a way to deprecate names in a module.

- Deprecation of zope. i18nmessageid.MessageID

I should have created checkin messages for individual sets of related
changes, but there were just too many for the time allowed.


Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 66068 - (view) (download) (as text) - [select for diffs]
Modified Sun Mar 19 16:27:42 2006 UTC (7 years, 2 months ago) by philikon
File length: 18250 byte(s)
Diff to previous 65511
Merge philikon-reduce-zcml branch: Implementation of
http://dev.zope.org/Zope3/ReducingTheAmountOfZCMLDirectives.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 65511 - (view) (download) (as text) - [select for diffs]
Modified Mon Feb 27 05:24:24 2006 UTC (7 years, 2 months ago) by philikon
File length: 18202 byte(s)
Diff to previous 39090
Merge philikon-simplify-skinning branch.  See http://dev.zope.org/Zope3/SimplifySkinning.

Basically, browser:skin and browser:layer are deprecated now, as well as the ILayer
interface type.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 39090 - (view) (download) (as text) - [select for diffs]
Modified Wed Oct 12 09:20:23 2005 UTC (7 years, 7 months ago) by srichter
File length: 17755 byte(s)
Diff to previous 39064
Whitespoace normalization.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 39064 - (view) (download) (as text) - [select for diffs]
Modified Tue Oct 11 18:40:10 2005 UTC (7 years, 7 months ago) by philikon
File length: 17787 byte(s)
Diff to previous 38046
Put the second part of the roadmap described in zope.i18nmessages/messages.txt
into practice by moving to immutable Messages everywhere in Zope.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 38046 - (view) (download) (as text) - [select for diffs]
Modified Tue Aug 23 16:49:08 2005 UTC (7 years, 9 months ago) by frerich
File length: 17789 byte(s)
Diff to previous 30557
Typos fixed (thank to Adam Groszer); messages extracted and merged; german translation updated

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 30557 - (view) (download) (as text) - [select for diffs]
Modified Mon May 30 11:58:46 2005 UTC (7 years, 11 months ago) by dominikhuber
File length: 17786 byte(s)
Diff to previous 30480
Touch up copy/paste artefact (Thank's Egon Frerich for the pointer)

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 30480 - (view) (download) (as text) - [select for diffs]
Modified Mon May 23 09:50:12 2005 UTC (8 years ago) by dominikhuber
File length: 17776 byte(s)
Diff to previous 29338
Add locate attribute to the adapter directive in
order to ensure location for security proxied objects.
An explicite locate should be used if complex adapter
permission are declared within an additional class
directive.

Assert location if a non-public permission
was specified within an adapter directive so
that restricted adapters work with local 
authentication too.

Fix 'Wiki permissions and PAU' bug 
reported by Paolo Invernizzi

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 29338 - (view) (download) (as text) - [select for diffs]
Modified Mon Feb 28 00:16:22 2005 UTC (8 years, 2 months ago) by srichter
File length: 17196 byte(s)
Diff to previous 29208
Addressed issue 295 as suggested.


Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 29208 - (view) (download) (as text) - [select for diffs]
Modified Fri Feb 18 16:28:10 2005 UTC (8 years, 3 months ago) by jim
File length: 16969 byte(s)
Diff to previous 29143
Made the for attribute optional in a subscriber directive if the
factory or handler has an adapter declaration.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 29143 - (view) (download) (as text) - [select for diffs]
Modified Mon Feb 14 22:43:16 2005 UTC (8 years, 3 months ago) by srichter
File length: 16968 byte(s)
Diff to previous 28969
- Removal of Services. You can now access the adapter and utiliy
  registry directly via the site manager's `adapters` and `utilities`
  attribute, respecitvely.

  + Converted Principal Annotation Service to be a utility. Added
    database evolution code to convert all service instances to
    utilities.
  
  + Converted FSSync Service to be a utility.

  + Created the concept of a global site manager. The adapter and
    utility registry, formerly the adapter and utility service, are now
    managed by the site manager.

  + The `zope.app.utility` package has been merged into
    `zope.app.component`. The utility registration class is in
    `site.py`. The utility vocabulary is in `vocabulary.py`.

  + The `zope.app.site` package has been merged into
    `zope.app.component`. The site code can be found in `site.py`.

  + Fixed persistent modules code. Persistent modules are now simply
    utilities providing `IModuleManager`. The local site manager also
    does not know any thing about persistent modules anymore.

  + Updated `zope.app.pluggableauth`, so that it will work as an
    authentication utility.

  + Restructured `zope.app.persentation` (a.k.a page folders) to the new
    component API.

- Simplified the registration framework by only supporting two states:
  active and inactive. This allowed us to get rid of the registration
  stack and the complexity it introduced to the site management.

- Removed all presentation-related APIs from `zope.component`. This
  included the removal of presentation-related interfaces and the
  deprecation of all view-related API functions. One should use the
  adapter API functions instead.

- Implemented some initial deprecation framework, see
  `zope.deprecation`. It allows one to deprecate methods and properties
  in classes as well as any name in a module.

- Moved reusable test setups/APIs from `zope.app.tests` to
  `zope.app.testing`. No reusable testing code should be in a `tests`
  package or module.


Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 28969 - (view) (download) (as text) - [select for diffs]
Modified Fri Jan 28 00:57:08 2005 UTC (8 years, 3 months ago) by jim
File length: 17271 byte(s)
Diff to previous 28967
A handler attribute is now used in subscriber directives for
event subscribers that don't create objects, which is the case
for most subscribers.  Using the factory attribute without a
provides attribute to register a handler is deprecated.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 28967 - (view) (download) (as text) - [select for diffs]
Modified Fri Jan 28 00:10:00 2005 UTC (8 years, 3 months ago) by jim
File length: 17087 byte(s)
Diff to previous 28450
Made the for_ attribute optional in the adapter directive if
the factory declares what it adapts.  For classes, this declaration is
made using the zope.component.adapts function.

Made the provides attribute optional in the adapter directive if the
registered factory implements exactly one interface.

Made the provides attribute optional in the utility directive if the
registered component provides exactly one interface.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 28450 - (view) (download) (as text) - [select for diffs]
Modified Sat Nov 13 21:05:19 2004 UTC (8 years, 6 months ago) by shane
File length: 17082 byte(s)
Diff to previous 28407
Added a new configuration field type, GlobalInterface, and applied it 
to GlobalObject fields that required an interface.

This is designed to improve configuration documentation and catch 
mistakes early.

Note that it turns out there are many browser pages registered for a 
class, not an interface, so I assume that the documentation for page 
directives is wrong.  Apparently you can register pages for not 
only interfaces but also classes.  In this case, I changed the 
docstring to reflect that.


Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 28407 - (view) (download) (as text) - [select for diffs]
Modified Tue Nov 9 00:44:51 2004 UTC (8 years, 6 months ago) by garrett
File length: 17034 byte(s)
Diff to previous 28318
Moved support for layers back into zope:view. Removed support for multiple 'for's in browser:view because it's YAGNI/WHUI.

When a 'layer' is not specified in zope:view, the default layer for the view 'type' is used, if available. A new directive zope:defaultLayer is used to specify a default layer for a request type.

Changed IDefaultLayer to IDefaultBrowserLayer since there can be other default layer types.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 28318 - (view) (download) (as text) - [select for diffs]
Modified Tue Nov 2 16:39:30 2004 UTC (8 years, 6 months ago) by garrett
File length: 16754 byte(s)
Diff to previous 28225
Added support for multiple 'for' interfaces to the browser:view directive. This is to allow us to remove 'layer' support for zope:view.

Change includes deprecation of 'layer' support for the zope:view directive. To define a browser view for a particular layer, use browser:view.

The point of this change is to ensure that all layer related facilities are in z.a.publisher.browser and not in z.a.component.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 28225 - (view) (download) (as text) - [select for diffs]
Modified Thu Oct 21 03:25:01 2004 UTC (8 years, 7 months ago) by fdrake
File length: 16688 byte(s)
Diff to previous 28223
- fill in a few field descriptions
- add trailing commas after the last arg to several constructors to be
  more consistent with the general conventions

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 28223 - (view) (download) (as text) - [select for diffs]
Modified Thu Oct 21 01:20:02 2004 UTC (8 years, 7 months ago) by fdrake
File length: 15812 byte(s)
Diff to previous 27585
add missing I18N support for titles and descriptions

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 27585 - (view) (download) (as text) - [select for diffs]
Modified Fri Sep 17 16:16:08 2004 UTC (8 years, 8 months ago) by srichter
File length: 15360 byte(s)
Diff to previous 27237
The presentation service is gone.

Use new LayerField to specify the layer.


Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 27237 - (view) (download) (as text) - [select for diffs]
Modified Mon Aug 23 23:42:11 2004 UTC (8 years, 9 months ago) by jim
File length: 15295 byte(s)
Diff to previous 27007
Merged from ZopeX3-3.0 branch:

  r27201 | jim | 2004-08-20 18:14:11 -0400 (Fri, 20 Aug 2004) | 2 lines

  Removed unneeded removeAllProxies calls.

  ------------------------------------------------------------------------
  r27200 | jim | 2004-08-20 17:47:26 -0400 (Fri, 20 Aug 2004) | 2 lines

  Removed unneeded removeAllProxies calls.

  ------------------------------------------------------------------------
  r27199 | jim | 2004-08-20 17:42:45 -0400 (Fri, 20 Aug 2004) | 2 lines

  Converted removeAllProxies calls to the prefered removeSecurityProxy.

  ------------------------------------------------------------------------
  r27198 | jim | 2004-08-20 17:07:23 -0400 (Fri, 20 Aug 2004) | 2 lines

  Converted a package with one module to a regulat module.

  ------------------------------------------------------------------------
  r27197 | jim | 2004-08-20 17:05:39 -0400 (Fri, 20 Aug 2004) | 2 lines

  Made the dependency subscriber trusted

  ------------------------------------------------------------------------
  r27196 | jim | 2004-08-20 17:05:37 -0400 (Fri, 20 Aug 2004) | 8 lines

  Converted removeAllProxies calls to the prefered removeSecurityProxy.

  D      src/zope/app/security/interfaces
  D      src/zope/app/security/interfaces/__init__.py
  A  +   src/zope/app/security/interfaces.py

  Converted a package with one module to a regulat module.

  ------------------------------------------------------------------------
  r27195 | jim | 2004-08-20 16:29:43 -0400 (Fri, 20 Aug 2004) | 4 lines


  Added a zapi.isinstance method that works with security proxies.


  ------------------------------------------------------------------------
  r27194 | jim | 2004-08-20 15:26:59 -0400 (Fri, 20 Aug 2004) | 3 lines

  Added some defensive programming to work around a lame implicit Python
  string-formatting behavior.

  ------------------------------------------------------------------------
  r27193 | jim | 2004-08-20 15:26:57 -0400 (Fri, 20 Aug 2004) | 2 lines

  Removed unneeded removeAllProxies call

  ------------------------------------------------------------------------
  r27192 | jim | 2004-08-20 15:26:55 -0400 (Fri, 20 Aug 2004) | 3 lines

  Fixed a problem with the security dclarations to make calling
  removeAllProxies unnecessary.

  ------------------------------------------------------------------------
  r27191 | jim | 2004-08-20 14:20:12 -0400 (Fri, 20 Aug 2004) | 2 lines

  Removed unneeded removeAllProxies calls.

  ------------------------------------------------------------------------
  r27190 | jim | 2004-08-20 14:20:07 -0400 (Fri, 20 Aug 2004) | 2 lines

  Converted removeAllProxies calls to the prefered removeSecurityProxy.

  ------------------------------------------------------------------------
  r27189 | jim | 2004-08-20 13:02:06 -0400 (Fri, 20 Aug 2004) | 6 lines

  Added "trusted" option for defining trusted subscribers.

  Deprecated zope.security.trustedRemoveSecurityProxy and
  zope.security.getProxiedObject. Use zope.security.removeSecurityProxy
  instead.  (This should also be used rather than removeAllProxies.)

  ------------------------------------------------------------------------
  r27188 | jim | 2004-08-20 13:02:03 -0400 (Fri, 20 Aug 2004) | 4 lines

  Deprecated zope.security.trustedRemoveSecurityProxy and
  zope.security.getProxiedObject. Use zope.security.removeSecurityProxy
  instead.  (This should also be used rather than removeAllProxies.)


Also converted additional removeAllProxies calls to the prefered
removeSecurityProxy. (These were on the trunk, but not the branch.)



Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 27007 - (view) (download) (as text) - [select for diffs]
Modified Wed Aug 11 18:09:32 2004 UTC (8 years, 9 months ago) by philikon
File length: 14792 byte(s)
Diff to previous 26618
Factory ids have to be real ids now, i.e. they need to contain at
least a dot or be a URI.


Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 26618 - (view) (download) (as text) - [select for diffs]
Modified Mon Jul 19 03:35:43 2004 UTC (8 years, 10 months ago) by pruggera
File length: 14804 byte(s)
Diff to previous 26567
Update doc strings to ReST

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 26567 - (view) (download) (as text) - [select for diffs]
Modified Fri Jul 16 06:58:27 2004 UTC (8 years, 10 months ago) by srichter
File length: 14768 byte(s)
Diff to previous 26363
Made sure that all modules have a title.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 26363 - (view) (download) (as text) - [select for diffs]
Modified Fri Jul 9 19:28:16 2004 UTC (8 years, 10 months ago) by jim
File length: 14785 byte(s)
Diff to previous 26341
Added TrustedAdapterFactory

This is for adapters that are trusted and need unfettered access to
the objects they adapt. If asked to adapt security-proxied objects,
the return security-proxied adapters of unproxied objects.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 26341 - (view) (download) (as text) - [select for diffs]
Modified Fri Jul 9 15:46:40 2004 UTC (8 years, 10 months ago) by srichter
File length: 12531 byte(s)
Diff to previous 26212
Cleanup description doc.


Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 26212 - (view) (download) (as text) - [select for diffs]
Modified Thu Jul 8 18:52:08 2004 UTC (8 years, 10 months ago) by philikon
File length: 12449 byte(s)
Diff to previous 25177
Fixed redundand "layer" and "skin" ZCML directives.

The "layer" and "skin" ZCML directives were redundantly
registered for both the zope and the browser namespace. They
now only exist in the browser namespace; the "defaultSkin"
directive was moved to the browser namespace.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 25177 - (view) (download) (as text) - [select for diffs]
Modified Wed Jun 2 13:17:31 2004 UTC (8 years, 11 months ago) by jim
File length: 13163 byte(s)
Diff to previous 25108
Updated to use ZPL 2.1.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 25108 - (view) (download) (as text) - [select for diffs]
Modified Fri May 28 21:58:44 2004 UTC (8 years, 11 months ago) by jim
File length: 13163 byte(s)
Diff to previous 24973
Added an event handler that dispatches object-location events to subobjects.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 24973 - (view) (download) (as text) - [select for diffs]
Modified Tue May 25 20:40:43 2004 UTC (8 years, 11 months ago) by jim
File length: 13138 byte(s)
Diff to previous 24749
Modified the subscriber directive so that the provided interface can
be omitted.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 24749 - (view) (download) (as text) - [select for diffs]
Modified Sun May 16 13:00:21 2004 UTC (9 years ago) by philikon
File length: 13136 byte(s)
Diff to previous 13888
Tell subversion to expand the Id keyword:
  - replaced old CVS expansion with a clean $Id$
  - set the svn:keywords property to "Id"

When you check-in files in the future and want $Id$ to be expanded,
make sure it reads "$Id$" in that file; then set svn:keywords to "Id".

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 13888 - (view) (download) (as text) - [select for diffs]
Modified Tue May 11 18:24:59 2004 UTC (9 years ago) by root
File length: 13197 byte(s)
Diff to previous 13277
Set mime-type or svn-eol property from cvs expansion data

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 13277 - (view) (download) (as text) - [select for diffs]
Modified Mon Mar 22 22:31:49 2004 UTC (9 years, 2 months ago) by mmceahern
File length: 13197 byte(s)
Diff to previous 13275
Added 'provides' as a required parameter to the subscriber directive.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 13275 - (view) (download) (as text) - [select for diffs]
Modified Mon Mar 22 17:44:48 2004 UTC (9 years, 2 months ago) by mmceahern
File length: 12975 byte(s)
Diff to previous 13218

Added ISubscriber schema.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 13218 - (view) (download) (as text) - [select for diffs]
Modified Sat Mar 20 19:52:47 2004 UTC (9 years, 2 months ago) by srichter
File length: 12289 byte(s)
Diff to previous 13210

Updated directives to use Permission field type so that redefining permissions
is possible.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 13210 - (view) (download) (as text) - [select for diffs]
Modified Sat Mar 20 17:10:56 2004 UTC (9 years, 2 months ago) by srichter
File length: 12210 byte(s)
Diff to previous 13097

Created specific IDefaultView schema.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 13097 - (view) (download) (as text) - [select for diffs]
Modified Mon Mar 15 20:41:56 2004 UTC (9 years, 2 months ago) by jim
File length: 11646 byte(s)
Diff to previous 12972
Changed to reflect that adapters and views are registered:

- Using a new api

- Multiple for

- single factory

If multiple factories are provided in zcml, we generate a single
  factory that calls the multiple

Changes to allow multiple for interfaces. This still needs tests, so
not yet done.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 12972 - (view) (download) (as text) - [select for diffs]
Modified Tue Mar 9 12:39:25 2004 UTC (9 years, 2 months ago) by srichter
File length: 11659 byte(s)
Diff to previous 12808

Removed the permission attribute from the two factoy directives. All factories
are public now. This was discussed recently on the mailing list and Jim okayed
it.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 12808 - (view) (download) (as text) - [select for diffs]
Modified Tue Mar 2 14:25:49 2004 UTC (9 years, 2 months ago) by srichter
File length: 11980 byte(s)
Diff to previous 12123

The plain zope:factory directive did not declare the title and description
attribute, even though the handler was able to add it.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 12123 - (view) (download) (as text) - [select for diffs]
Modified Thu Dec 18 16:28:57 2003 UTC (9 years, 5 months ago) by eddala
File length: 11606 byte(s)
Diff to previous 12104
To Interface directive type(Interface type)  attribute added

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 12104 - (view) (download) (as text) - [select for diffs]
Modified Wed Dec 17 15:37:12 2003 UTC (9 years, 5 months ago) by jim
File length: 11511 byte(s)
Diff to previous 12082
Fixed a doc string

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 12082 - (view) (download) (as text) - [select for diffs]
Modified Wed Dec 17 10:06:20 2003 UTC (9 years, 5 months ago) by jim
File length: 11500 byte(s)
Diff to previous 12047
Added a provides attribute to zope:view and zope:resource directives
to allow registration of views that provide interfaces.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 12047 - (view) (download) (as text) - [select for diffs]
Modified Sun Dec 14 08:48:59 2003 UTC (9 years, 5 months ago) by srichter
File length: 11194 byte(s)
Diff to previous 12044
Inserted some more documentation.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 12044 - (view) (download) (as text) - [select for diffs]
Modified Sun Dec 14 06:02:13 2003 UTC (9 years, 5 months ago) by srichter
File length: 10666 byte(s)
Diff to previous 11947
Added some documentation, since I had to come up with some for the cookbook
anyways.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 11947 - (view) (download) (as text) - [select for diffs]
Modified Fri Nov 21 17:11:29 2003 UTC (9 years, 6 months ago) by jim
File length: 9875 byte(s)
Diff to previous 11407
Added defaultSkin and layer directives.  Layers must now be defined
before they are used. You can now define the default skin by naming an
existing one. It is no-longer necessary to redefine a skin as the
defaule, repeating the layers.

M src/zope/app/component/nextservice.py
Index: src/zope/app/component/tests/test_nextservice.py

Service managers now maintain between-service-manager references.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 11407 - (view) (download) (as text) - [select for diffs]
Modified Sun Aug 17 06:09:25 2003 UTC (9 years, 9 months ago) by philikon
File length: 9381 byte(s)
Diff to previous 11165
Removed unused imports.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 11165 - (view) (download) (as text) - [select for diffs]
Modified Sun Aug 3 17:50:28 2003 UTC (9 years, 9 months ago) by philikon
File length: 9393 byte(s)
Diff to previous 11161
Made menu, factory and form titles and labels MessageIDs instead of plain
TextLines/Texts. That means that they'll be translated as soon as the
translation data is in place.

The change affected most ZCML files and tests that make up ZCML code as
they had to specify an i18n_domain. This is 'zope' for all of Zope3.

The change also breaks many Zope3 products as they probably do not specify
an i18n_domain. A fix for them will follow immediately.

Filename: Zope3/trunk/src/zope/app/component/metadirectives.py
Revision 11161 - (view) (download) (as text) - [select for diffs]
Added Sun Aug 3 02:13:22 2003 UTC (9 years, 9 months ago) by philikon
File length: 9376 byte(s)
Here we go again. All tests have been run twice and passed. Sorry again for
the trouble I've caused. Anthony and Steve, I owe you guys are beer.

Converted the three most important packages that define ZCML directives
to the new ZCML architecture (using schemas):

- zope.app.component

- zope.app.browser.form

- zope.app.publisher.browser

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

  Diffs between and
  Type of Diff should be a

Sort log by:

webmaster@zope.org

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help