Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam NameParam defaults body Return BinOpMod Call NameLoad Str NameLoad decorator_list Call NameLoad NameLoad Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Num Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad Str attr GeneratorExp AttributeLoad Call NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Str attr GeneratorExp AttributeLoad Call NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return BoolOpOr BoolOpAnd Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str
N/A N/A datetime peak.rules when nagare.i18n _ nagare.database session nagare.security common nagare component security kansha validator kansha.card Card kansha.user usermanager kansha.board excel_export kansha.services.search schema kansha.cardextension CardExtension kansha.board COMMENTS_MEMBERS COMMENTS_PUBLIC kansha.services.actionlog.messages render_event models DataComment has_permission_delete_comment N/A N/A self user perm comment N/A N/A N/A N/A N/A comment is_author user N/A N/A when N/A N/A common Rules has_permission user and (perm == 'delete_comment') has_permission_edit_comment N/A N/A self user perm comment N/A N/A N/A N/A N/A comment is_author user N/A N/A when N/A N/A common Rules has_permission user and (perm == 'edit_comment') render_event_card_add_comment N/A N/A action data N/A N/A N/A N/A N/A _ User %(author)s has commented card "%(card)s" data N/A N/A when render_event action=='card_add_comment' Comment N/A object N/A N/A Comment component __init__ N/A N/A self data N/A N/A N/A Initialization

        In:
            - ``data`` -- the comment object from the database
         N/A N/A self db_id N/A data id N/A N/A self text N/A data comment N/A N/A self creation_date N/A data creation_date N/A N/A self author N/A N/A component Component N/A N/A N/A usermanager UserManager get_app_user N/A N/A data author username data N/A data author N/A N/A self comment_label N/A N/A component Component N/A Commentlabel self N/A N/A N/A N/A self comment_label on_answer N/A N/A N/A v N/A N/A N/A N/A self comment_label call model edit N/A edit_comment N/A N/A self N/A N/A N/A N/A N/A N/A self comment_label call model edit N/A is_author N/A N/A self user N/A N/A N/A N/A N/A N/A N/A self author username N/A user username N/A set_comment N/A N/A self text N/A N/A N/A N/A text None N/A N/A N/A text N/A N/A text strip N/A text N/A N/A N/A N/A self data comment N/A N/A validator clean_text text N/A data N/A N/A self N/A N/A N/A Return the comment object from the database
         N/A N/A N/A DataComment get N/A self db_id N/A property N/A Commentlabel N/A object N/A N/A comment label component.

     __init__ N/A N/A self parent N/A N/A N/A Initialization

        In:
          - ``parent`` -- parent of comment label
         N/A N/A self parent parent N/A N/A self text N/A N/A parent text N/A change_text N/A N/A self text N/A N/A N/A Change the comment of our wrapped object

        In:
            - ``text`` -- the new comment
        Return:
            - the new comment

         N/A N/A text None N/A N/A N/A text N/A N/A text strip N/A text N/A N/A text N/A N/A validator clean_text text N/A N/A self text text N/A N/A N/A N/A self parent set_comment text N/A text N/A is_author N/A N/A self user N/A N/A N/A N/A N/A N/A self parent is_author user N/A N/A Comments N/A CardExtension N/A N/A LOAD_PRIORITY 50 N/A Comments component
     __init__ N/A N/A self card action_log configurator N/A N/A N/A Initialization

        In:
            - ``parent`` -- the parent card
            - ``comments`` -- the comments of the card
         N/A N/A N/A N/A super Comments self __init__ card action_log configurator N/A N/A self comments N/A N/A N/A self _create_comment_component data_comment N/A data_comment N/A self data N/A get_schema_def N/A N/A N/A N/A N/A N/A N/A schema Text comments N/A staticmethod update_document N/A N/A self document N/A N/A N/A N/A document comments N/A N/A join N/A N/A N/A comment text N/A comment N/A self comments N/A data N/A N/A self N/A N/A N/A N/A N/A DataComment get_by_card N/A N/A self card data N/A property allowed N/A N/A self N/A N/A N/A N/A N/A self configurator comments_allowed N/A property _create_comment_component N/A N/A self data_comment N/A N/A N/A N/A N/A N/A N/A component Component N/A Comment data_comment on_answer N/A self delete_comment N/A add N/A N/A self v N/A N/A N/A Add a new comment to the card

        In:
            - ``v`` -- the comment content
         N/A N/A N/A security check_permissions comment self N/A N/A v None N/A N/A N/A v N/A N/A v strip N/A v N/A N/A v N/A N/A validator clean_text v N/A user N/A N/A security get_user N/A comment N/A DataComment comment v card_id N/A N/A self card db_id author N/A user data creation_date N/A N/A N/A datetime datetime utcnow N/A N/A N/A session add comment N/A N/A N/A session flush N/A data N/A comment card N/A N/A v strip N/A N/A N/A self card get_title N/A N/A N/A N/A self action_log add_history N/A N/A security get_user card_add_comment data N/A N/A N/A N/A self comments insert 0 N/A N/A self _create_comment_component comment N/A delete_comment N/A N/A self comp N/A N/A N/A Delete a comment.

        In:
            - ``comment`` -- the comment to delete
         N/A N/A N/A N/A self comments remove comp N/A comment N/A comp N/A N/A N/A N/A N/A DataComment get N/A comment db_id delete N/A N/A N/A session flush N/A delete N/A N/A self N/A N/A N/A N/A self comments N/A N/A comment N/A self data N/A N/A N/A N/A comment delete N/A N/A get_extension_title_Comments N/A N/A card_extension N/A N/A N/A N/A _ Comments N/A N/A N/A excel_export get_extension_title_for Comments write_extension_data_Comments N/A N/A self sheet row col style N/A N/A N/A comments N/A N/A 
-----
 join N/A N/A N/A comment text N/A comment N/A self comments N/A N/A N/A sheet write row col comments style N/A N/A N/A excel_export write_extension_data_for Comments has_permission_Card_comment N/A N/A self user perm comments N/A N/A N/A N/A N/A N/A N/A security has_permissions edit N/A comments card N/A N/A comments allowed COMMENTS_MEMBERS N/A N/A N/A comments allowed COMMENTS_PUBLIC user N/A N/A when N/A N/A common Rules has_permission user and perm == 'comment' and isinstance(subject, Comments)