mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-07-12 21:25:48 +00:00
0.5.23 - remove restriction on adding yourself and add more emails to the blocklist
This commit is contained in:
@@ -287,9 +287,6 @@ def ab_ABContactAdd(req: web.Request, header: Any, action: Any, bs: BackendSessi
|
||||
return render(req, 'msn:abservice/Fault.emailmissingatsign.xml', status = 500)
|
||||
elif '.' not in email:
|
||||
return render(req, 'msn:abservice/Fault.emailmissingdot.xml', status = 500)
|
||||
# fuck it we're inventing our own ABCH error codes today
|
||||
if email == user.email:
|
||||
return render(req, 'msn:abservice/Fault.cantaddyourself.xml', status = 500)
|
||||
|
||||
contact_uuid = backend.util_get_uuid_from_email(email)
|
||||
if contact_uuid is None:
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
<?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>soap:Client</faultcode>
|
||||
<faultstring>Can Not Add Yourself </faultstring>
|
||||
<faultactor>http://www.msn.com/webservices/AddressBook/{{ action_str }}</faultactor>
|
||||
<detail>
|
||||
<errorcode xmlns="http://www.msn.com/webservices/AddressBook">CanNotAddYourself</errorcode>
|
||||
<errorstring xmlns="http://www.msn.com/webservices/AddressBook">Can Not Add Yourself </errorstring>
|
||||
<machineName xmlns="http://www.msn.com/webservices/AddressBook">BAYABCHWBB133</machineName>
|
||||
<additionalDetails>
|
||||
<conflictObjectId>79ACA834-005D-4812-8749-DC976F38BC5D</conflictObjectId>
|
||||
</additionalDetails>
|
||||
</detail>
|
||||
</soap:Fault>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
@@ -100,8 +100,8 @@
|
||||
</div>
|
||||
<div class="content">
|
||||
<h3>Welcome! Thank you for using CrossTalk!</h3>
|
||||
<p>If you find any issues, have suggestions for any new features, or just want to hang out with fellow CrossTalk users, join our <a href="https://discord.gg/dumJwXTPxX">Discord server</a>.</p>
|
||||
<p>This page will soon be redesigned with more content and WLM 2011/2012 support. Stay tuned!</p>
|
||||
<p>If you find any issues, have suggestions for any new features, or just want to hang out with fellow CrossTalk users, check out our <a href="https://discord.gg/dumJwXTPxX">Discord server</a>.</p>
|
||||
<p>This page will soon be redesigned. Stay tuned!</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user