mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
Go side: - Log hooks returned by Implemented() - Log each hook name -> ID mapping - Log OnActivate implementation status - Log OnActivate call flow Python side: - Log Implemented() return value - Log OnActivate gRPC receipt and handler invocation This is temporary debug logging to diagnose why OnActivate isn't being called for Python plugins. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
49 lines
4 KiB
Python
49 lines
4 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: user.proto
|
|
# Protobuf Python Version: 6.31.1
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import runtime_version as _runtime_version
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
from google.protobuf.internal import builder as _builder
|
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
_runtime_version.Domain.PUBLIC,
|
|
6,
|
|
31,
|
|
1,
|
|
'',
|
|
'user.proto'
|
|
)
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nuser.proto\x12\x17mattermost.pluginapi.v1\"\x9d\x08\n\x04User\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tcreate_at\x18\x02 \x01(\x03\x12\x11\n\tupdate_at\x18\x03 \x01(\x03\x12\x11\n\tdelete_at\x18\x04 \x01(\x03\x12\x10\n\x08username\x18\x05 \x01(\t\x12\x10\n\x08password\x18\x06 \x01(\t\x12\x16\n\tauth_data\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x0c\x61uth_service\x18\x08 \x01(\t\x12\r\n\x05\x65mail\x18\t \x01(\t\x12\x16\n\x0e\x65mail_verified\x18\n \x01(\x08\x12\x10\n\x08nickname\x18\x0b \x01(\t\x12\x12\n\nfirst_name\x18\x0c \x01(\t\x12\x11\n\tlast_name\x18\r \x01(\t\x12\x10\n\x08position\x18\x0e \x01(\t\x12\r\n\x05roles\x18\x0f \x01(\t\x12\x17\n\x0f\x61llow_marketing\x18\x10 \x01(\x08\x12\x37\n\x05props\x18\x11 \x03(\x0b\x32(.mattermost.pluginapi.v1.User.PropsEntry\x12\x44\n\x0cnotify_props\x18\x12 \x03(\x0b\x32..mattermost.pluginapi.v1.User.NotifyPropsEntry\x12\x1c\n\x14last_password_update\x18\x13 \x01(\x03\x12\x1b\n\x13last_picture_update\x18\x14 \x01(\x03\x12\x17\n\x0f\x66\x61iled_attempts\x18\x15 \x01(\x05\x12\x0e\n\x06locale\x18\x16 \x01(\t\x12=\n\x08timezone\x18\x17 \x03(\x0b\x32+.mattermost.pluginapi.v1.User.TimezoneEntry\x12\x12\n\nmfa_active\x18\x18 \x01(\x08\x12\x12\n\nmfa_secret\x18\x19 \x01(\t\x12\x16\n\tremote_id\x18\x1a \x01(\tH\x01\x88\x01\x01\x12\x18\n\x10last_activity_at\x18\x1b \x01(\x03\x12\x0e\n\x06is_bot\x18\x1c \x01(\x08\x12\x17\n\x0f\x62ot_description\x18\x1d \x01(\t\x12\x1c\n\x14\x62ot_last_icon_update\x18\x1e \x01(\x03\x12\x1b\n\x13terms_of_service_id\x18\x1f \x01(\t\x12\"\n\x1aterms_of_service_create_at\x18 \x01(\x03\x12\x1d\n\x15\x64isable_welcome_email\x18! \x01(\x08\x12\x12\n\nlast_login\x18\" \x01(\x03\x1a,\n\nPropsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10NotifyPropsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a/\n\rTimezoneEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\n_auth_dataB\x0c\n\n_remote_idBXZVgithub.com/mattermost/mattermost/server/public/pluginapi/grpc/generated/go/pluginapiv1b\x06proto3')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'user_pb2', _globals)
|
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
_globals['DESCRIPTOR']._serialized_options = b'ZVgithub.com/mattermost/mattermost/server/public/pluginapi/grpc/generated/go/pluginapiv1'
|
|
_globals['_USER_PROPSENTRY']._loaded_options = None
|
|
_globals['_USER_PROPSENTRY']._serialized_options = b'8\001'
|
|
_globals['_USER_NOTIFYPROPSENTRY']._loaded_options = None
|
|
_globals['_USER_NOTIFYPROPSENTRY']._serialized_options = b'8\001'
|
|
_globals['_USER_TIMEZONEENTRY']._loaded_options = None
|
|
_globals['_USER_TIMEZONEENTRY']._serialized_options = b'8\001'
|
|
_globals['_USER']._serialized_start=40
|
|
_globals['_USER']._serialized_end=1093
|
|
_globals['_USER_PROPSENTRY']._serialized_start=920
|
|
_globals['_USER_PROPSENTRY']._serialized_end=964
|
|
_globals['_USER_NOTIFYPROPSENTRY']._serialized_start=966
|
|
_globals['_USER_NOTIFYPROPSENTRY']._serialized_end=1016
|
|
_globals['_USER_TIMEZONEENTRY']._serialized_start=1018
|
|
_globals['_USER_TIMEZONEENTRY']._serialized_end=1065
|
|
# @@protoc_insertion_point(module_scope)
|