What’s new in Silva 1.5
Silva 1.5 is the first Silva release that starts using Zope 3 technology in the core, and is the first step in a longer evolution. It does not have a lot of externally visible feature changes, but focuses on making Silva work with Zope 2.8 and Five 1.2.
Once Silva code is fully separated into Zope 3 component
architecture it will enable cleaner, quicker refactoring and easy
integration of new features.
We will also release a first version of SilvaLayout along with this release. SilvaLayout is a new web site templating system for Silva based on Zope 3 technologies now available in Silva 1.5. It will be released separatedly, and you should only install it if you are interested in trying it out, as it is not compatible with the existing way to do layout templates with Silva.
Quick publication buttons
There are new buttons to quickly publish and close content objects, making the publication workflow more convenient to use.
Language Settings
Users can now choose their language preferences from a
list of names rather than from language code. The names of the languages are shown in the configured language.
The silva-extra metadata set now has a language field that stores a ISO 639 two letter language code.
Internal changes
Most of the changes to Silva in this release are under the hood in the code:
- Silva now uses the
Five/Zope 3 i18n architecture. The PlacelessTranslationService has been
replaced. See doc/developer_changes for more details.
- Changed over Silva so it works with Zope 2.8/Five/Zope 3 interfaces
instead of old-style interfaces. See doc/developer_changes for more
details. These interfaces were in SilvaLayout as marker interfaces in the past.
- Container policies are not hardcoded anymore for container add forms (add folder or add publication). Instead, the information on what container policies are available is retrieved from the service where they are registered.
- Adjusted test infrastructure so it works with Five.
- Use Zope 2.8 style transactions.
- Some parts of the Silva UI (for instance the lookup window in the edit views) are now based on Zope 3 adapters and views, using Five. This is a first step of a long evolutionary transition for the Silva UI.
- Converted IViewerSecurity, IIndexable, IHaunted, IAssetData to Zope 3 adapters.
- Language settings are using Zope 3's locale database, names for languages are shown in the configured language.
- Added support for Kupu 1.3.5, with bugfixes.
- Never really an official feature, the FileSystemSite-based layout system has been removed from the code. This means that service_layouts is now gone.
- Kupu now uses frontend.css instead of an almost entire copy.
- Moved 'get_extsource_url.py' out of SilvaDocument to the Silva core.