Skip to content

Commit

Permalink
add changelog file
Browse files Browse the repository at this point in the history
  • Loading branch information
Shay committed May 26, 2021
1 parent d422ed8 commit 5300126
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
1 change: 1 addition & 0 deletions changelog.d/343.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reformatted sydent/ matrix-is-test/ tests/ setup.py using the latest version of black. Contributed by H.Shay.
1 change: 1 addition & 0 deletions changelog.d/344.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Run flake8 linting tests on all files in sydent/ directory.
38 changes: 18 additions & 20 deletions sydent/sydent.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@

from sydent.http.httpcommon import SslComponents
from sydent.http.httpserver import (
ClientApiHttpServer, ReplicationHttpsServer,
InternalApiHttpServer,
ClientApiHttpServer, ReplicationHttpsServer,
InternalApiHttpServer,
)
from sydent.http.httpsclient import ReplicationHttpsClient
from sydent.http.servlets.blindlysignstuffservlet import (
BlindlySignStuffServlet
)
from sydent.http.servlets.pubkeyservlets import (
EphemeralPubkeyIsValidServlet, PubkeyIsValidServlet,
EphemeralPubkeyIsValidServlet, PubkeyIsValidServlet,
)
from sydent.http.servlets.termsservlet import TermsServlet
from sydent.validators.emailvalidator import EmailValidator
Expand Down Expand Up @@ -341,40 +341,38 @@ def __init__(self, cfg, reactor=twisted.internet.reactor,
self.servlets.v1 = V1Servlet(self)
self.servlets.v2 = V2Servlet(self)
self.servlets.emailRequestCode = EmailRequestCodeServlet(self)
self.servlets.emailRequestCodeV2 = EmailRequestCodeServlet(
self, require_auth=True)
self.servlets.emailRequestCodeV2 = EmailRequestCodeServlet(self,
require_auth=True)
self.servlets.emailValidate = EmailValidateCodeServlet(self)
self.servlets.emailValidateV2 = EmailValidateCodeServlet(
self, require_auth=True)
self.servlets.emailValidateV2 = EmailValidateCodeServlet(self,
require_auth=True)
self.servlets.msisdnRequestCode = MsisdnRequestCodeServlet(self)
self.servlets.msisdnRequestCodeV2 = MsisdnRequestCodeServlet(
self, require_auth=True)
self.servlets.msisdnRequestCodeV2 = MsisdnRequestCodeServlet(self,
require_auth=True)
self.servlets.msisdnValidate = MsisdnValidateCodeServlet(self)
self.servlets.msisdnValidateV2 = MsisdnValidateCodeServlet(
self, require_auth=True)
self.servlets.msisdnValidateV2 = MsisdnValidateCodeServlet(self,
require_auth=True)
self.servlets.lookup = LookupServlet(self)
self.servlets.bulk_lookup = BulkLookupServlet(self)
self.servlets.hash_details = HashDetailsServlet(self, lookup_pepper)
self.servlets.lookup_v2 = LookupV2Servlet(self, lookup_pepper)
self.servlets.pubkey_ed25519 = Ed25519Servlet(self)
self.servlets.pubkeyIsValid = PubkeyIsValidServlet(self)
self.servlets.ephemeralPubkeyIsValid = EphemeralPubkeyIsValidServlet(
self)
self.servlets.ephemeralPubkeyIsValid = EphemeralPubkeyIsValidServlet(self)
self.servlets.threepidBind = ThreePidBindServlet(self)
self.servlets.threepidBindV2 = ThreePidBindServlet(self,
require_auth=True)
self.servlets.threepidUnbind = ThreePidUnbindServlet(self)
self.servlets.replicationPush = ReplicationPushServlet(self)
self.servlets.getValidated3pid = GetValidated3pidServlet(self)
self.servlets.getValidated3pidV2 = GetValidated3pidServlet(
self, require_auth=True)
self.servlets.getValidated3pidV2 = GetValidated3pidServlet(self,
require_auth=True)
self.servlets.storeInviteServlet = StoreInviteServlet(self)
self.servlets.storeInviteServletV2 = StoreInviteServlet(
self, require_auth=True)
self.servlets.blindlySignStuffServlet = BlindlySignStuffServlet(
self)
self.servlets.storeInviteServletV2 = StoreInviteServlet(self,
require_auth=True)
self.servlets.blindlySignStuffServlet = BlindlySignStuffServlet(self)
self.servlets.blindlySignStuffServletV2 = BlindlySignStuffServlet(
self, require_auth=True)
self, require_auth=True)
self.servlets.termsServlet = TermsServlet(self)
self.servlets.accountServlet = AccountServlet(self)
self.servlets.registerServlet = RegisterServlet(self)
Expand Down

0 comments on commit 5300126

Please sign in to comment.