0.6 final

This commit is contained in:
Athena Funderburg committed 2026-11-04 14:03:18 +00:00
1 parent 7c0581eb97
commit b89e1932bb
160 files changed
+20534 -4664

No files matched your search

@@ -1,4 +1,4 @@
{% from 'msn:_funcs.xml' import contact_entry, group_entry, generate_me_entry, ab_properties -%}
{% from 'msn:_funcs.xml' import contact_entry, group_entry, generate_me_entry -%}
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
@@ -13,88 +13,88 @@
<soap:Body>
<ABFindContactsPagedResponse xmlns="http://www.msn.com/webservices/AddressBook">
<ABFindContactsPagedResult>
{% if ab_id == '00000000-0000-0000-0000-000000000000' %}
<Groups>
{% for group in detail._groups_by_uuid.values() %}
{{ group_entry(group, now) }}
{% endfor %}
</Groups>
{% endif %}
{%- if ab_id == '00000000-0000-0000-0000-000000000000' %}
<Groups>
{%- for group in detail._groups_by_uuid.values() %}
{{ group_entry(group, now) }}
{%- endfor %}
</Groups>
{%- endif %}
<Contacts>
{% if ab_id == '00000000-0000-0000-0000-000000000000' %}
{% for ctc in detail.contacts.values() %}
{% if ctc.lists.__and__(ContactList.FL) %}
<Contact>
{{ contact_entry(ab_id, ctc, detail, now) }}
</Contact>
{% endif %}
{% endfor %}
{% for circle in circles %}
<Contact>
<contactId>00000000-0000-0000-0009-{{ circle.chat_id }}</contactId>
<contactInfo>
<contactType>Circle</contactType>
<quickName>circle</quickName>
<passportName>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com</passportName>
<IsPassportNameHidden>false</IsPassportNameHidden>
<displayName>{% if circle.memberships[user.uuid].role == CircleRole.Admin %}{{ circle.name }}{% else %}00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com{% endif %}</displayName>
<puid>{{ puid_format(user.uuid) }}</puid>
<CID>{{ cid_format('00000000-0000-0000-0009-' + circle.chat_id, decimal = True) }}</CID>
<IsNotMobileVisible>false</IsNotMobileVisible>
<isMobileIMEnabled>false</isMobileIMEnabled>
<isMessengerUser>false</isMessengerUser>
<isFavorite>false</isFavorite>
<isSmtp>false</isSmtp>
<hasSpace>false</hasSpace>
<spotWatchState>NoDevice</spotWatchState>
<birthdate>0001-01-01T00:00:00</birthdate>
<primaryEmailType>ContactEmailPersonal</primaryEmailType>
<PrimaryLocation>ContactLocationPersonal</PrimaryLocation>
<PrimaryPhone>ContactPhonePersonal</PrimaryPhone>
<IsPrivate>false</IsPrivate>
<IsHidden>true</IsHidden>
<Gender>Unspecified</Gender>
<TimeZone>None</TimeZone>
<NetworkInfoList>
<NetworkInfo>
<DomainId>1</DomainId>
<SourceId>WL</SourceId>
{% if circle.memberships[user.uuid].role != CircleRole.Admin %}
<DomainTag>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}</DomainTag>
<DisplayName>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}</DisplayName>
{% endif %}
<RelationshipType>5</RelationshipType>
<RelationshipState>{{ circle.memberships[user.uuid].state.value }}</RelationshipState>
<RelationshipStateDate>{{ now }}</RelationshipStateDate>
<RelationshipRole>{% if circle.memberships[user.uuid].role == CircleRole.StatePendingOutbound %}4{% else %}0{% endif %}</RelationshipRole>
<NDRCount>0</NDRCount>
{% if circle.memberships[user.uuid].invite_message %}
<InviterMessage>{{ circle.memberships[user.uuid].invite_message }}</InviterMessage>
{% endif %}
<InviterCID>{% if user.uuid == circle.owner_uuid %}0{% else %}{{ cid_format(circle.memberships[user.uuid].inviter_uuid, decimal = True) }}{% endif %}</InviterCID>
{% if circle.memberships[user.uuid].inviter_name %}
<InviterName>{{ circle.memberships[user.uuid].inviter_name }}</InviterName>
{% endif %}
{% if circle.memberships[user.uuid].inviter_email %}
<InviterEmail>{{ circle.memberships[user.uuid].inviter_email }}</InviterEmail>
{% endif %}
<CreateDate>{{ now }}</CreateDate>
<LastUpdated>{{ now }}</LastUpdated>
<PropertiesChanged />
</NetworkInfo>
</NetworkInfoList>
<IsAutoUpdateDisabled>false</IsAutoUpdateDisabled>
<IsShellContact>false</IsShellContact>
<TrustLevel>0</TrustLevel>
<PropertiesChanged />
</contactInfo>
<propertiesChanged />
<fDeleted>false</fDeleted>
{%- if ab_id == '00000000-0000-0000-0000-000000000000' %}
{%- for ctc in detail.contacts.values() %}
{%- if ctc.lists.__and__(ContactList.FL) %}
<Contact>
{{ contact_entry(ab_id, ctc, detail, now, trust_level = (user.settings.get('TrustLevels') or {}).get(ctc.head.uuid, 0)) }}
</Contact>
{%- endif %}
{%- endfor %}
{%- for circle in circles %}
<Contact>
<contactId>00000000-0000-0000-0009-{{ circle.chat_id }}</contactId>
<contactInfo>
<contactType>Circle</contactType>
<quickName>circle</quickName>
<passportName>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com</passportName>
<IsPassportNameHidden>false</IsPassportNameHidden>
<displayName>{% if circle.memberships[user.uuid].role == CircleRole.Admin %}{{ circle.name }}{% else %}00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com{% endif %}</displayName>
<puid>{{ puid_format(user.uuid) }}</puid>
<CID>{{ cid_format('00000000-0000-0000-0009-' + circle.chat_id, decimal = True) }}</CID>
<IsNotMobileVisible>false</IsNotMobileVisible>
<isMobileIMEnabled>false</isMobileIMEnabled>
<isMessengerUser>false</isMessengerUser>
<isFavorite>false</isFavorite>
<isSmtp>false</isSmtp>
<hasSpace>false</hasSpace>
<spotWatchState>NoDevice</spotWatchState>
<birthdate>0001-01-01T00:00:00</birthdate>
<primaryEmailType>ContactEmailPersonal</primaryEmailType>
<PrimaryLocation>ContactLocationPersonal</PrimaryLocation>
<PrimaryPhone>ContactPhonePersonal</PrimaryPhone>
<IsPrivate>false</IsPrivate>
<IsHidden>true</IsHidden>
<Gender>Unspecified</Gender>
<TimeZone>None</TimeZone>
<NetworkInfoList>
<NetworkInfo>
<DomainId>1</DomainId>
<SourceId>WL</SourceId>
{%- if circle.memberships[user.uuid].role != CircleRole.Admin %}
<DomainTag>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}</DomainTag>
<DisplayName>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}</DisplayName>
{%- endif %}
<RelationshipType>5</RelationshipType>
<RelationshipState>{{ circle.memberships[user.uuid].state.value }}</RelationshipState>
<RelationshipStateDate>{{ now }}</RelationshipStateDate>
<RelationshipRole>{% if circle.memberships[user.uuid].role == CircleRole.StatePendingOutbound %}4{% else %}0{% endif %}</RelationshipRole>
<NDRCount>0</NDRCount>
{%- if circle.memberships[user.uuid].invite_message %}
<InviterMessage>{{ circle.memberships[user.uuid].invite_message }}</InviterMessage>
{%- endif %}
<InviterCID>{% if user.uuid == circle.owner_uuid %}0{% else %}{{ cid_format(circle.memberships[user.uuid].inviter_uuid, decimal = True) }}{% endif %}</InviterCID>
{%- if circle.memberships[user.uuid].inviter_name %}
<InviterName>{{ circle.memberships[user.uuid].inviter_name }}</InviterName>
{%- endif %}
{%- if circle.memberships[user.uuid].inviter_email %}
<InviterEmail>{{ circle.memberships[user.uuid].inviter_email }}</InviterEmail>
{%- endif %}
<CreateDate>{{ now }}</CreateDate>
<lastChange>{{ now }}</lastChange>
<CreatedBy>96</CreatedBy>
</Contact>
{% endfor %}
<LastUpdated>{{ now }}</LastUpdated>
<PropertiesChanged />
</NetworkInfo>
</NetworkInfoList>
<IsAutoUpdateDisabled>false</IsAutoUpdateDisabled>
<IsShellContact>false</IsShellContact>
<TrustLevel>0</TrustLevel>
<PropertiesChanged />
</contactInfo>
<propertiesChanged />
<fDeleted>false</fDeleted>
<CreateDate>{{ now }}</CreateDate>
<lastChange>{{ now }}</lastChange>
<CreatedBy>96</CreatedBy>
</Contact>
{%- endfor %}
{% else %}
{% for membership in circle.memberships.values() %}
<Contact>
@@ -38,7 +38,7 @@
<TimeZone>None</TimeZone>
<IsAutoUpdateDisabled>false</IsAutoUpdateDisabled>
<IsShellContact>false</IsShellContact>
<TrustLevel>0</TrustLevel>
<TrustLevel>{{ trust_level }}</TrustLevel>
<PropertiesChanged />
</contactInfo>
<propertiesChanged />
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>{{ faultcode }}</faultcode>
<faultstring>{{ errorstring }}</faultstring>
<faultactor>http://www.msn.com/webservices/AddressBook/{{ action_str }}</faultactor>
<detail>
<errorcode xmlns="http://www.msn.com/webservices/AddressBook">{{ errorcode }}</errorcode>
<errorstring xmlns="http://www.msn.com/webservices/AddressBook">{{ errorstring }}</errorstring>
<machineName xmlns="http://www.msn.com/webservices/AddressBook">BAYABCHWBB133</machineName>
{% if parameter_fault %}<parameterFault xmlns="http://www.msn.com/webservices/AddressBook">{{ parameter_fault }}</parameterFault>
{% endif %}<additionalDetails>
{% if conflict_object_id %}<conflictObjectId>{{ conflict_object_id }}</conflictObjectId>
{% endif %}<originalExceptionErrorMessage>{{ errorstring }}</originalExceptionErrorMessage>
</additionalDetails>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
@@ -19,15 +19,15 @@
{% endif %}
{% if not error %}
<clientErrorData />
<contactId>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}00000000-0000-0000-0009-{{ circle.chat_id }}{% else %}{{ head.uuid }}{% endif %}</contactId>
<contactId>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}00000000-0000-0000-0009-{{ circle.chat_id }}{% else %}{{ head.uuid }}{% endif %}</contactId>
<contactInfo>
<contactType>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}Circle{% else %}{% if circle.memberships[head.uuid].state == CircleState.WaitingResponse or circle.memberships[head.uuid].state == CircleState.Rejected or (circle.memberships[head.uuid].role == CircleRole.Empty or circle.memberships[head.uuid].state == CircleState.Empty) %}LivePending{% else %}Live{% endif %}{% endif %}</contactType>
<quickName>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}circle{% else %}{{ head.email }}{% endif %}</quickName>
<passportName>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com{% else %}{{ head.email }}{% endif %}</passportName>
<contactType>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}Circle{% elif circle is not none %}{% if circle.memberships[head.uuid].state == CircleState.WaitingResponse or circle.memberships[head.uuid].state == CircleState.Rejected or (circle.memberships[head.uuid].role == CircleRole.Empty or circle.memberships[head.uuid].state == CircleState.Empty) %}LivePending{% else %}Live{% endif %}{% else %}Live{% endif %}</contactType>
<quickName>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}circle{% else %}{{ head.email }}{% endif %}</quickName>
<passportName>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com{% else %}{{ head.email }}{% endif %}</passportName>
<IsPassportNameHidden>false</IsPassportNameHidden>
<displayName>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}{{ circle.name }}{% else %}{{ head.email }}{% endif %}</displayName>
<displayName>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}{{ circle.name }}{% else %}{{ head.email }}{% endif %}</displayName>
<puid>{{ puid_format(user.uuid) }}</puid>
<CID>{{ cid_format('00000000-0000-0000-0009-' + circle.chat_id, decimal = True) }}</CID>
<CID>{% if circle is not none %}{{ cid_format('00000000-0000-0000-0009-' + circle.chat_id, decimal = True) }}{% else %}{{ cid_format(head.uuid, decimal = True) }}{% endif %}</CID>
<IsNotMobileVisible>false</IsNotMobileVisible>
<isMobileIMEnabled>false</isMobileIMEnabled>
<isMessengerUser>false</isMessengerUser>
@@ -40,10 +40,10 @@
<PrimaryLocation>ContactLocationPersonal</PrimaryLocation>
<PrimaryPhone>ContactPhonePersonal</PrimaryPhone>
<IsPrivate>false</IsPrivate>
<IsHidden>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}true{% else %}false{% endif %}</IsHidden>
<IsHidden>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}true{% else %}false{% endif %}</IsHidden>
<Gender>Unspecified</Gender>
<TimeZone>None</TimeZone>
{% if (ab_id == '00000000-0000-0000-0000-000000000000' or ab_id.startswith('00000000-0000-0000-0009-')) and not (circle.memberships[head.uuid].role == CircleRole.Empty or circle.memberships[head.uuid].state == CircleState.Empty) %}
{% if circle is not none and (ab_id == '00000000-0000-0000-0000-000000000000' or ab_id.startswith('00000000-0000-0000-0009-')) and not (circle.memberships[head.uuid].role == CircleRole.Empty or circle.memberships[head.uuid].state == CircleState.Empty) %}
<NetworkInfoList>
<NetworkInfo>
<DomainId>1</DomainId>
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<ServiceHeader xmlns="http://www.msn.com/webservices/AddressBook">
<Version>15.01.1408.0000</Version>
<CacheKey>12r1:{{ cachekey }}</CacheKey>
<CacheKeyChanged>true</CacheKeyChanged>
<PreferredHostName>{{ host }}</PreferredHostName>
<SessionId>{{ session_id }}</SessionId>
</ServiceHeader>
</soap:Header>
<soap:Body>
<UpdateContactResponse xmlns="http://www.msn.com/webservices/AddressBook" />
</soap:Body>
</soap:Envelope>