Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/trac/__pycache__/ |
Upload File : |
o �k�`Ƚ � @ s� d dl m Z d dlmZ d dlmZmZ d dlZd dlZd dlZd dl Z d dl Z d dlmZm Z mZmZmZ d dlmZmZ d dlT d dlT d dlmZ d dlT d d lmZmZ d d lmZmZmZm Z m!Z! d dl"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z( d dl)m*Z* d d l+m,Z,m-Z-m.Z.m/Z/m0Z0 d dl1m2Z2m3Z3 d dl4m5Z5m6Z6m7Z7 d dl8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z> d dl?m@Z@ d dlAmBZB d dlCmDZD G dd� deE�ZFG dd� deE�ZGG dd� deE�ZHG dd� deI�ZJG dd� deK�ZLG dd� deI�ZMG d d!� d!eI�ZNdS )"� )�datetime)� TemporaryFile)�ZipFile�ZIP_DEFLATEDN)�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_toc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �IAttachmentChangeListenerz�Extension point interface for components that require notification when attachments are created, deleted, renamed or reparented. c C � dS )z#Called when an attachment is added.N� �� attachmentr2 r2 �1/usr/lib/python3/dist-packages/trac/attachment.py�attachment_added: � z*IAttachmentChangeListener.attachment_addedc C r1 )z%Called when an attachment is deleted.Nr2 r3 r2 r2 r5 �attachment_deleted= r7 z,IAttachmentChangeListener.attachment_deletedc C r1 )z#Called when an attachment is moved.Nr2 )r4 �old_parent_realm� old_parent_id�old_filenamer2 r2 r5 �attachment_moved@ r7 z*IAttachmentChangeListener.attachment_movedN)�__name__� __module__�__qualname__�__doc__r6 r8 r<