mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-11-25 08:30:04 +00:00
0.6 final
This commit is contained in:
1 parent
7c0581eb97
commit
b89e1932bb
160 files changed
+20534
-4664
No files matched your search
@@ -15,56 +15,56 @@
|
||||
<Services>
|
||||
<Service>
|
||||
<Memberships>
|
||||
{% for lst in lists %}
|
||||
{%- for lst in lists %}
|
||||
<Membership>
|
||||
<MemberRole>{{ lst.label }}</MemberRole>
|
||||
<Members>
|
||||
{% for contact in detail.contacts.values() %}
|
||||
{% if (contact.lists.__and__(lst) and lst not in (ContactList.AL,ContactList.BL,ContactList.RL)) or (lst in (ContactList.AL,ContactList.BL,ContactList.RL) and contact.lists.__and__(lst) and not contact.pending) %}
|
||||
<Member xsi:type="PassportMember">
|
||||
<MembershipId>{{ lst.label }}/{{ contact.head.uuid }}</MembershipId>
|
||||
<Type>Passport</Type>
|
||||
<State>Accepted</State>
|
||||
<Deleted>false</Deleted>
|
||||
<LastChanged>{{ now }}</LastChanged>
|
||||
<JoinedDate>{{ date_format(contact.head.date_created) }}</JoinedDate>
|
||||
<ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
|
||||
<Changes />
|
||||
<PassportName>{{ contact.head.email }}</PassportName>
|
||||
<IsPassportNameHidden>false</IsPassportNameHidden>
|
||||
<PassportId>0</PassportId>
|
||||
<CID>{{ cid_format(contact.head.uuid, decimal = True) }}</CID>
|
||||
<PassportChanges />
|
||||
<LookedupByCID>false</LookedupByCID>
|
||||
</Member>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if lst == ContactList.BL %}
|
||||
{% for circle in circles %}
|
||||
{% if circle.memberships[user.uuid].blocking %}
|
||||
<Member xsi:type="CircleMember">
|
||||
<MembershipId>Block/00000000-0000-0000-0009-{{ circle.chat_id }}</MembershipId>
|
||||
<Type>Circle</Type>
|
||||
<State>Accepted</State>
|
||||
<Deleted>false</Deleted>
|
||||
<LastChanged>{{ now }}</LastChanged>
|
||||
<JoinedDate>{{ now }}</JoinedDate>
|
||||
<ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
|
||||
<Changes />
|
||||
<CircleId>00000000-0000-0000-0009-{{ circle.chat_id }}</CircleId>
|
||||
</Member>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</Members>
|
||||
<MembershipIsComplete>true</MembershipIsComplete>
|
||||
</Membership>
|
||||
{% endfor %}
|
||||
<MemberRole>{{ lst.label }}</MemberRole>
|
||||
<Members>
|
||||
{%- for contact in detail.contacts.values() %}
|
||||
{%- if (contact.lists.__and__(lst) and lst not in (ContactList.AL,ContactList.BL,ContactList.RL)) or (lst in (ContactList.AL,ContactList.BL,ContactList.RL) and contact.lists.__and__(lst) and not contact.pending) %}
|
||||
<Member xsi:type="PassportMember">
|
||||
<MembershipId>{{ lst.label }}/{{ contact.head.uuid }}</MembershipId>
|
||||
<Type>Passport</Type>
|
||||
<State>Accepted</State>
|
||||
<Deleted>false</Deleted>
|
||||
<LastChanged>{{ now }}</LastChanged>
|
||||
<JoinedDate>{{ date_format(contact.head.date_created) }}</JoinedDate>
|
||||
<ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
|
||||
<Changes />
|
||||
<PassportName>{{ contact.head.email }}</PassportName>
|
||||
<IsPassportNameHidden>false</IsPassportNameHidden>
|
||||
<PassportId>0</PassportId>
|
||||
<CID>{{ cid_format(contact.head.uuid, decimal = True) }}</CID>
|
||||
<PassportChanges />
|
||||
<LookedupByCID>false</LookedupByCID>
|
||||
</Member>
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- if lst == ContactList.BL %}
|
||||
{%- for circle in circles %}
|
||||
{%- if circle.memberships[user.uuid].blocking %}
|
||||
<Member xsi:type="CircleMember">
|
||||
<MembershipId>Block/00000000-0000-0000-0009-{{ circle.chat_id }}</MembershipId>
|
||||
<Type>Circle</Type>
|
||||
<State>Accepted</State>
|
||||
<Deleted>false</Deleted>
|
||||
<LastChanged>{{ now }}</LastChanged>
|
||||
<JoinedDate>{{ now }}</JoinedDate>
|
||||
<ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
|
||||
<Changes />
|
||||
<CircleId>00000000-0000-0000-0009-{{ circle.chat_id }}</CircleId>
|
||||
</Member>
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
</Members>
|
||||
<MembershipIsComplete>true</MembershipIsComplete>
|
||||
</Membership>
|
||||
{%- endfor %}
|
||||
<Membership>
|
||||
<MemberRole>Pending</MemberRole>
|
||||
<Members>
|
||||
{% for contact in detail.contacts.values() %}
|
||||
{% if contact.pending and not contact.lists.__and__(ContactList.FL) %}
|
||||
{%- for contact in detail.contacts.values() %}
|
||||
{%- if contact.pending and not contact.lists.__and__(ContactList.FL) %}
|
||||
<Member xsi:type="PassportMember">
|
||||
<MembershipId>Pending/{{ contact.head.uuid }}</MembershipId>
|
||||
<Type>Passport</Type>
|
||||
@@ -81,8 +81,8 @@
|
||||
<PassportChanges />
|
||||
<LookedupByCID>false</LookedupByCID>
|
||||
</Member>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
</Members>
|
||||
<MembershipIsComplete>true</MembershipIsComplete>
|
||||
</Membership>
|
||||
|
||||
Reference in new issue
Block a user