Djblets 0.8.6 Release Notes¶
Release date: July 14, 2014
Packaging¶
The
PYTHONPATHis no longer overridden when building the localization filesPatch by Carlos Corrales.
djblets.configforms¶
Styles Changes¶
Config form boxes now have a
box-footCSS class, for additional styling. This goes along with thebox-headandbox-mainclasses.The box titles now have a
box-titleCSS class.The base template of a config page can now be specified by overriding
ConfigPagesView.base_template_name.Field rows that contain checkboxes, radio buttons, or a multi-select of checkboxes now have a
checkbox-rowCSS class.The save buttons now have a
btnCSS class.Changed the styling for config form sub-sections to better align and separate from the rest of the box.
New Features¶
ListItemView()andTableItemView()subclasses can now define agetActionsParent()method for returning the element where actions should be placed.ListView()andTableView()subclasses can now define adefaultItemViewattribute for setting the view used by default for items.
Bug Fixes¶
Fixed display of form validation errors.
Fixed display of actions on Firefox.
Fixed vertical alignment of the spinner.
TableView()no longer assumes that a<tbody>is present on its element.TableView()no longer usesTableItemView()by default. its element.TableItemView()no longer places elements directly on the<tr>.TableItemView()no longer has excess leading and trailing whitspace.
djblets.datagrid¶
Middle-click or control-click to open links in new tabs now works on datagrid rows. (Bug #2521)
djblets.extensions¶
Extension media will now always be installed for the first time on new servers, even if the settings data incorrectly claims it’s been installed.
This can happen if an administrator moves to a new server with an existing database, without copying over the old media.
Templates that replace the
extensions/extension_list.htmltemplate can now override theextension_list_actionsblock to provide custom actions.“Scan for new extensions” has been renamed to “Scan for installed extensions.”
djblets.log¶
Fixed log initialization on Windows.
Patch by Carlos Corrales.
djblets.template¶
Added a template loader for conditional caching.
The new
conditional_cachedtemplate loader functions like Django’scachedloader, but does not cache ifDEBUGisTrue. This helps a lot with development, since it’s no longer necessary to reload the server after modifying a template.Added a new template loader for namespaced apps.
The new
namespaced_app_dirstemplate loader is like Django’sapp_directoriesloader, but accepts an optional namespace prefix in the form ofapp.path:. If specified, the list of template directories will be limited to those owned by the given app path.
djblets.webapi¶
WebAPIBasicAuthBackendnow plays nicely with other backends.This backend used to log failures if the
Authorizationheader didn’t match the format it expected, instead of falling back on any other backend in the list.WebAPIAuthBackendno longer assumes that the auth backend will require a username and password.It can now be used with any other type of data, such as tokens. This makes it more flexible and easier to extend in projects.
Authentication credentials are now logged, and sensitive information is masked.
Subclasses of
WebAPIResourcecan now overridecall_method_view()to perform custom logic before calling the view for the HTTP method.Fixed infinite recursions when expanding resources when the expanded resource references the primary resource. (Bug #3442)
Contributors¶
Carlos Corrales
Christian Hammond
David Trowbridge