Package trac :: Module attachment

Module attachment

source code

Classes
  InvalidAttachment
Exception raised when attachment validation fails.
  IAttachmentChangeListener
Extension point interface for components that require notification when attachments are created, deleted, renamed or reparented.
  IAttachmentManipulator
Extension point interface for components that need to manipulate attachments.
  ILegacyAttachmentPolicyDelegate
Interface that can be used by plugins to seamlessly participate to the legacy way of checking for attachment permissions.
  AttachmentModule
  Attachment
Represents an attachment (new or existing).
  LegacyAttachmentPolicy
Default permission policy for the attachment system.
  AttachmentAdmin
trac-admin command provider for attachment administration.
Variables
  __package__ = 'trac'

Imports: datetime, TemporaryFile, ZipFile, ZIP_DEFLATED, errno, hashlib, os, re, shutil, AdminCommandError, IAdminCommandProvider, PrefixList, console_datetime_format, get_dir_list, BoolOption, IntOption, IPermissionPolicy, search_to_sql, shorten_result, content_disposition, create_zipinfo, file_or_std, get_reporter_id, normalize_filename, datetime_now, format_datetime, from_utimestamp, to_datetime, to_utimestamp, utc, tag, exception_to_unicode, path_to_unicode, pretty_size, print_table, unicode_unquote, _, tag_, HTTPBadRequest, IRequestHandler, RequestDone, INavigationContributor, add_ctxtnav, add_link, add_stylesheet, web_context, add_warning, Href, IWikiSyntaxProvider, format_to, Component, ExtensionPoint, Fragment, IResourceManager, Interface, Mimeview, RenderingContext, Resource, ResourceExistsError, ResourceNotFound, ResourceSystem, TracBaseError, TracError, TracValueError, api, classes, content_to_unicode, ct_mimetype, detect_unicode, get_mimetype, get_relative_resource, get_relative_url, get_resource_description, get_resource_name, get_resource_shortname, get_resource_summary, get_resource_url, implements, is_binary, render_resource_link, resource_exists