![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
This package integrates the low-level plone.uuid
_ into Plone-the-
application. In particular, it:
Registers a portal_catalog
indexer for the UID
index that allows an
object's UUID to be indexed.
This name is intentionally chosen to be the same as the Archetypes UID()
attribute, which is already indexed by Plone. The effect is that the UID
catalog attribute/metadata is now generalised to all content that supports the
plone.uuid
protocol.
As of version 1.7, Products.Archetypes
depends on plone.uuid
and
implements an IUUID
adapter suitable for Archetypes content. It also
uses the plone.uuid
IUUIDGenerator
utility to generate UUIDs for
(new) content, although note that UUIDs generated by the pre-1.7 UUID
algorithm, whilst different, cannot collide with the UUIDs generated by
the default IUUIDGenerator
implementation.
It follows that the plone.uuid
_ IUUID
adapter and @@uuid
view are
now the preferred, generalised way to look up a UUID for an object.
Registers a utility view, @@redirect-to-uuid
. You can use this with
a URL like::
http://example.org/some/path/@@redirect-to-uuid/b2dc6f7a-9d17-11df-8788-58b035f3cfa0
This will then redirect to the object identified by that URL.
Hint: You can use the @@uuid
view from plone.uuid
_ to render a
UUID. In TAL, you can do something like::
<a tal:attributes="href string:${portal_url}/@@redirect-to-uuid/${obj/@@uuid}">Click here</a>
Provides several utility methods in the plone.app.uuid.utils
module:
uuidToPhysicalPath(uuid)
Returns the physical path (relative to the ZODB root) as a string of the
object with the given UUID, or None if it cannot be found.
uuidToURL(uuid)
Returns the absolute URL of the object with the given UUID, or None if it
cannot be found.
uuidToObject(uuid)
Returns the content object associated with the given UUID, or None if it
cannot be found.
Please see the plone.uuid
_ package for more details about how UUIDs are
generated and can be accessed.
.. _plone.uuid: http://pypi.python.org/pypi/plone.uuid
.. You should NOT be adding new change log entries to this file. You should create a file in the news directory instead. For helpful instructions, please see: https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
.. towncrier release notes start
Internal:
Internal:
Bug fixes:
Bug fixes:
New features:
uuidToPhysicalPath
and uuidToObject
.
Do this by using an IndexQuery to only query the UID index.
Note: of the four functions in utils.py
, only uuidToObject
checks the security.
For the other functions, it is up to the caller to do this, if needed.
We may change this in the future, but for now the behavior should be the same as in previous versions.
[maurits] (#11)Bug fixes:
Bug fixes:
Breaking changes:
Bug fixes:
New features:
Bug fixes:
Bug fixes:
Fixes:
Release 1.0 Final. [esteele]
Add MANIFEST.in. [WouterVH]
FAQs
Plone integration for the basic plone.uuid package
We found that plone.app.uuid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.