Zope Subversion Repository

  Zope

Zope: zope.security/trunk/src/zope/security/metaconfigure.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: 8184 byte(s)
Diff to previous 112046 , to selected 12939
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: 8190 byte(s)
Diff to previous 95342 , to selected 12939
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: 8191 byte(s)
Diff to previous 95326 , to selected 12939
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: 6454 byte(s)
Copied from: zope.app.component/trunk/src/zope/app/component/contentdirective.py revision 95313
Diff to previous 94037 , to selected 12939
Moved the <class> directive implementation from `zope.app.component` to
this package.

Filename: zope.app.component/trunk/src/zope/app/component/contentdirective.py
Revision 94037 - (view) (download) (as text) - [select for diffs]
Modified Sat Dec 13 22:05:49 2008 UTC (4 years, 5 months ago) by nadako
File length: 6462 byte(s)
Diff to previous 93726 , to selected 12939
Remove unused imports

Filename: zope.app.component/trunk/src/zope/app/component/contentdirective.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: 6571 byte(s)
Diff to previous 75258 , to selected 12939
Remove deprecated zope:content and zope:localUtility directives.

Filename: zope.app.component/trunk/src/zope/app/component/contentdirective.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: 9398 byte(s)
Diff to previous 70216 , to selected 12939
Moving code to satellite.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 70216 - (view) (download) (as text) - [select for diffs]
Modified Mon Sep 18 07:20:01 2006 UTC (6 years, 8 months ago) by flox
File length: 9398 byte(s)
Diff to previous 70213 , to selected 12939
Wrong deprecation date for the localUtility directive.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.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: 9213 byte(s)
Diff to previous 69888 , to selected 12939
Deprecate directive <zope:localUtility>.
Remove deprecated directive <zope:defaultLayer>.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 69888 - (view) (download) (as text) - [select for diffs]
Modified Wed Aug 30 13:43:44 2006 UTC (6 years, 8 months ago) by niemeyer
File length: 8830 byte(s)
Diff to previous 69359 , to selected 12939
Minor documentation fixes.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.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: 8834 byte(s)
Diff to previous 67630 , to selected 12939
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/contentdirective.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: 8688 byte(s)
Diff to previous 66068 , to selected 12939
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/contentdirective.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: 8870 byte(s)
Diff to previous 38178 , to selected 12939
Merge philikon-reduce-zcml branch: Implementation of
http://dev.zope.org/Zope3/ReducingTheAmountOfZCMLDirectives.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 38178 - (view) (download) (as text) - [select for diffs]
Modified Tue Aug 30 21:50:19 2005 UTC (7 years, 8 months ago) by mj
File length: 8314 byte(s)
Diff to previous 29143 , to selected 12939
Massive style cleanup: Move to new raise exception style; for motivation, see:

  http://permalink.gmane.org/gmane.comp.web.zope.zope3/13884

Filename: Zope3/trunk/src/zope/app/component/contentdirective.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: 8271 byte(s)
Diff to previous 26618 , to selected 12939
- 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/contentdirective.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: 6639 byte(s)
Diff to previous 26551 , to selected 12939
Update doc strings to ReST

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 26551 - (view) (download) (as text) - [select for diffs]
Modified Thu Jul 15 07:06:37 2004 UTC (8 years, 10 months ago) by srichter
File length: 6603 byte(s)
Diff to previous 25177 , to selected 12939
Removed __metaclass__ and made classes inherit 'object'.

Also made most classic classes new-style classes.

Updated module doc strings where appropriate.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.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: 6595 byte(s)
Diff to previous 24884 , to selected 12939
Updated to use ZPL 2.1.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 24884 - (view) (download) (as text) - [select for diffs]
Modified Sat May 22 18:31:47 2004 UTC (8 years, 11 months ago) by jim
File length: 6595 byte(s)
Diff to previous 24749 , to selected 12939
- Created functions to encapsulate the thread-global management of
  sites because we don't actually want to store the site in the thread
  global. We want to store the site manager. Later, there is some
  interesting caching that we can do. We need to encapsulate the site
  management to do this.

- Caused PlacefulSetup to register the site when someone calls
  makeSite. 

- Added an API function, getGlobalService to explicitly get a global
  service.



Filename: Zope3/trunk/src/zope/app/component/contentdirective.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: 6595 byte(s)
Diff to previous 13888 , to selected 12939
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/contentdirective.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: 6657 byte(s)
Diff to previous 12972 , to selected 12939
Set mime-type or svn-eol property from cvs expansion data

Filename: Zope3/trunk/src/zope/app/component/contentdirective.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: 6657 byte(s)
Diff to previous 12939

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/contentdirective.py
Revision 12939 - (view) (download) (as text) - [selected]
Modified Mon Mar 8 12:06:27 2004 UTC (9 years, 2 months ago) by srichter
File length: 7621 byte(s)
Diff to previous 12910

Adjusted code to use the new APIs for permissions and principals. Also, use
the utility service instead of the permission registry to look up permissions.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 12910 - (view) (download) (as text) - [select for diffs]
Modified Fri Mar 5 22:09:42 2004 UTC (9 years, 2 months ago) by jim
File length: 7660 byte(s)
Diff to previous 12900 , to selected 12939
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 12900 - (view) (download) (as text) - [select for diffs]
Modified Fri Mar 5 15:56:50 2004 UTC (9 years, 2 months ago) by eddala
File length: 7668 byte(s)
Diff to previous 12752 , to selected 12939

removed local interface service stuff, it uses global utility service.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 12752 - (view) (download) (as text) - [select for diffs]
Modified Wed Feb 25 23:02:27 2004 UTC (9 years, 2 months ago) by faassen
File length: 7797 byte(s)
Diff to previous 12163 , to selected 12939
Remove unused imports.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 12163 - (view) (download) (as text) - [select for diffs]
Modified Thu Jan 8 20:48:22 2004 UTC (9 years, 4 months ago) by garrett
File length: 7868 byte(s)
Diff to previous 11644 , to selected 12939
Added factory 'info' to the factory service. This can be used to lookup
title and description for registered factories. Prior to this change, factory
title and description defined in ZCML was discarded.

This change is per an exchange back in May:

http://mail.zope.org/pipermail/zope3-dev/2003-May/006915.html

Note that only the factory info portion of the proposed change is
implemented in this commit. The ability to enumerate registered factories
was implemented earlier.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 11644 - (view) (download) (as text) - [select for diffs]
Modified Sun Sep 21 17:31:21 2003 UTC (9 years, 7 months ago) by jim
File length: 7768 byte(s)
Diff to previous 11407 , to selected 12939
Changed the way factory permissions are handled. Now just create a
checker to be used later when the factory is proxied. Don't proxy the
factory right away.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.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: 8073 byte(s)
Diff to previous 11399 , to selected 12939
Removed unused imports.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 11399 - (view) (download) (as text) - [select for diffs]
Modified Sat Aug 16 00:44:50 2003 UTC (9 years, 9 months ago) by srichter
File length: 8113 byte(s)
Diff to previous 11205 , to selected 12939
Merging dreamcatcher's TTW Schema branch:

1. Fixed Bug in adding that would cause infinite loops when the menu items
   action was not a valif view or factory id.

2. Extended adding to support more complex views. Until now we only
   supported constructions like "+/AddView=id". Now you are able to say
   "+/AddView/More=id", which means that more information can be carried
   in the URL. This can be used in many ways, including multi-page adding
   wizards. In my case I needed it to pass in the type of the TTW Schema-
   based Content Component.

3. Added Local Menus. This was a pain in the butt, but I think I got a
   fairly nice model, where you can create local Menu Services, and Menus
   are simply named utilities. When active they are menus in the menu
   service. This is very similar to the local interface service and TTW
   Schema.

4. Made some modifications to TTW Schema, cleaned up the code and moved
   the browser code and interfaces to the places they belong.

5. Added a Content Component Definition utility component, which takes a
   Schema and creates a content component for it, including permission
   settings and a menu entry. Currently the menu entry is always made to
   a local 'add_content' menu. I will change this and make it actually a
   screen, where the menu and title of the menu item can be chosen by the
   developer. Mmmh, should I add a factory for the definition as well, so
   that the content component is also available via python?

6. Added a Content Component Instance component that represents an
   instance od a Content Component Definition. You will never directly
   encounter this component, since it is automatically used by the adding
   code of the Content Component Definition.

7. Cleanups by both dreamcatcher and myself.

That's it. For more details see the branch checkin messages. I now consider
the dreamcatcher-ttwschema-branch closed.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 11205 - (view) (download) (as text) - [select for diffs]
Modified Tue Aug 5 14:25:19 2003 UTC (9 years, 9 months ago) by sidnei
File length: 8108 byte(s)
Diff to previous 11196 , to selected 12939
Reasonably big batch of changes. Added methods to query factories by interface. Added tests for them. Registered all fields from zope.schema as factories. Added basic tests for that. Made the contentdirective use a dottedname instead of a class as the id when an id is not provided. Cleanspace Whitening here and there.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 11196 - (view) (download) (as text) - [select for diffs]
Modified Mon Aug 4 23:12:55 2003 UTC (9 years, 9 months ago) by sidnei
File length: 7977 byte(s)
Diff to previous 11161 , to selected 12939
Actually use title and description in factories. Also some whitespace here and there

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 11161 - (view) (download) (as text) - [select for diffs]
Modified Sun Aug 3 02:13:22 2003 UTC (9 years, 9 months ago) by philikon
File length: 7892 byte(s)
Diff to previous 11139 , to selected 12939
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

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 11139 - (view) (download) (as text) - [select for diffs]
Modified Sat Aug 2 09:11:29 2003 UTC (9 years, 9 months ago) by anthony
File length: 8449 byte(s)
Diff to previous 11135 , to selected 12939
Backing out philiKON's changes - they broke the functional tests, and
from his signoff on IRC, I don't think he's going to be around until
Monday. As I'm working on the Catalog functional tests, this is pretty
annoying. I tried to figure out how to just back out bits til I found the
broken stuff, but it's a pretty serious refactoring. I'll send a message
to zope3-checkins with the CVS commands used for this, so that someone
can undo the backout if they wish.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 11135 - (view) (download) (as text) - [select for diffs]
Modified Sat Aug 2 07:04:15 2003 UTC (9 years, 9 months ago) by philikon
File length: 7892 byte(s)
Diff to previous 11041 , to selected 12939
Converted the three most important packages that define ZCML directives
to the new ZCML architecture (using schemas):

- zope.app.component

- zope.app.browser

- zope.app.publisher.browser

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 11041 - (view) (download) (as text) - [select for diffs]
Modified Mon Jul 28 22:21:08 2003 UTC (9 years, 9 months ago) by jim
File length: 8445 byte(s)
Diff to previous 10461 , to selected 12939
No longer declare INonEmptyDirective and ISubdirectiveHandler.
Complex directive handlers and now recognized through the meta
configuration.

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 10461 - (view) (download) (as text) - [select for diffs]
Modified Sat Jun 7 06:37:30 2003 UTC (9 years, 11 months ago) by stevea
File length: 8648 byte(s)
Diff to previous 9991 , to selected 12939
updated to use new-style interface declarations

Filename: Zope3/trunk/src/zope/app/component/contentdirective.py
Revision 9991 - (view) (download) (as text) - [select for diffs]
Added Mon May 12 16:32:41 2003 UTC (10 years ago) by stevea
File length: 8772 byte(s)
Diff to selected 12939
Moved  zope.app.contentdirective into zope.app.component.

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