Compare commits

...

2 Commits

Author SHA1 Message Date
Athena Funderburg a571f416df discontinuing discord server 2026-07-09 20:24:50 +00:00
Athena Funderburg db9245c0b2 fix: INS has missing auth checks 2026-06-30 17:20:03 +00:00
6 changed files with 37 additions and 28 deletions
+16 -21
View File
@@ -6,91 +6,86 @@
}, },
{ {
"id": 2, "id": 2,
"image": "banner/discord.gif",
"link": "https://discord.gg/dumJwXTPxX"
},
{
"id": 3,
"image": "banner/amrd24.gif", "image": "banner/amrd24.gif",
"link": "https://amrd24.github.io/ctad.html" "link": "https://amrd24.github.io/ctad.html"
}, },
{ {
"id": 4, "id": 3,
"image": "banner/fortind.gif", "image": "banner/fortind.gif",
"link": "https://www.fort1nd.com" "link": "https://www.fort1nd.com"
}, },
{ {
"id": 5, "id": 4,
"image": "banner/abrefresh.png", "image": "banner/abrefresh.png",
"link": "https://www.teamflashcord.com/projects/ab-refresh" "link": "https://www.teamflashcord.com/projects/ab-refresh"
}, },
{ {
"id": 6, "id": 5,
"image": "banner/cobbclub.png", "image": "banner/cobbclub.png",
"link": "http://cobb.club" "link": "http://cobb.club"
}, },
{ {
"id": 7, "id": 6,
"image": "banner/maymundere.gif", "image": "banner/maymundere.gif",
"link": "https://maymundere.org" "link": "https://maymundere.org"
}, },
{ {
"id": 8, "id": 7,
"image": "banner/macsecret.png", "image": "banner/macsecret.png",
"link": "http://macsecret.com" "link": "http://macsecret.com"
}, },
{ {
"id": 9, "id": 8,
"image": "banner/leefy.png", "image": "banner/leefy.png",
"link": "https://leefymoons-room.net" "link": "https://leefymoons-room.net"
}, },
{ {
"id": 10, "id": 9,
"image": "banner/srcfreak.jpg", "image": "banner/srcfreak.jpg",
"link": "http://srcfreaks.ddns.net" "link": "http://srcfreaks.ddns.net"
}, },
{ {
"id": 11, "id": 10,
"image": "banner/kakworm.gif", "image": "banner/kakworm.gif",
"link": "https://fusionstrike.neocities.org" "link": "https://fusionstrike.neocities.org"
}, },
{ {
"id": 12, "id": 11,
"image": "banner/gdsk.gif", "image": "banner/gdsk.gif",
"link": "https://gdsk.retrosite.org" "link": "https://gdsk.retrosite.org"
}, },
{ {
"id": 13, "id": 12,
"image": "banner/kooper.png", "image": "banner/kooper.png",
"link": "http://kooper.online" "link": "http://kooper.online"
}, },
{ {
"id": 14, "id": 13,
"image": "banner/imsnp.png", "image": "banner/imsnp.png",
"link": "http://kooper.online/blog/pages/imsnp.html" "link": "http://kooper.online/blog/pages/imsnp.html"
}, },
{ {
"id": 15, "id": 14,
"image": "banner/aomeix.jpg", "image": "banner/aomeix.jpg",
"link": "http://aomeix.eu.org" "link": "http://aomeix.eu.org"
}, },
{ {
"id": 16, "id": 15,
"image": "banner/bluebrixhq.gif", "image": "banner/bluebrixhq.gif",
"link": "https://brix.neocities.org" "link": "https://brix.neocities.org"
}, },
{ {
"id": 17, "id": 16,
"image": "banner/thebrothers.png", "image": "banner/thebrothers.png",
"link": "https://the-brothers.neocities.org" "link": "https://the-brothers.neocities.org"
}, },
{ {
"id": 18, "id": 17,
"image": "banner/action97.gif", "image": "banner/action97.gif",
"link": "https://bloxy97.nekoweb.org" "link": "https://bloxy97.nekoweb.org"
}, },
{ {
"id": 19, "id": 18,
"image": "banner/barco.gif", "image": "banner/barco.gif",
"link": "https://barcohot.nekoweb.org" "link": "https://barcohot.nekoweb.org"
} }
-4
View File
@@ -7,10 +7,6 @@
"caption": "Looking for friends/contacts? Check out our new Member Directory!", "caption": "Looking for friends/contacts? Check out our new Member Directory!",
"url": "https://crosstalk.im/directory" "url": "https://crosstalk.im/directory"
}, },
{
"caption": "Did you know we have a Discord server? Join it now!",
"url": "https://discord.gg/dumJwXTPxX"
},
{ {
"caption": "ClassicConnect - A community of retro tech geeks.", "caption": "ClassicConnect - A community of retro tech geeks.",
"url": "http://classicconnect.net" "url": "http://classicconnect.net"
+18
View File
@@ -236,6 +236,11 @@ class INSCtrl:
self.send_numeric(StatusCode.CircleActionSuccessful, ':CIRCLE {}'.format(ts)) self.send_numeric(StatusCode.CircleActionSuccessful, ':CIRCLE {}'.format(ts))
def _m_alert(self, ts: str, type: str, content: str = '', url: str = '', targets: str = 'all', icon: str = '') -> None: def _m_alert(self, ts: str, type: str, content: str = '', url: str = '', targets: str = 'all', icon: str = '') -> None:
if not self.authenticated:
self.send_numeric(Err.NotAuthenticated)
self.close()
return
def _quote_circumcision(s: str) -> str: def _quote_circumcision(s: str) -> str:
if not s or len(s) < 2: if not s or len(s) < 2:
return s return s
@@ -289,6 +294,11 @@ class INSCtrl:
def _m_user(self, ts: str, action: str, uuid: str, field: str = '', *args: str) -> None: def _m_user(self, ts: str, action: str, uuid: str, field: str = '', *args: str) -> None:
if not self.authenticated:
self.send_numeric(Err.NotAuthenticated)
self.close()
return
def _parse_value_for_column(col, value_str): def _parse_value_for_column(col, value_str):
py_type = getattr(col.type, 'python_type', None) py_type = getattr(col.type, 'python_type', None)
if py_type is not None: if py_type is not None:
@@ -658,6 +668,10 @@ class INSCtrl:
def _m_allthesessions(self, ts: str, email_filter: str = '') -> None: def _m_allthesessions(self, ts: str, email_filter: str = '') -> None:
# TODO: make this a payload command # TODO: make this a payload command
if not self.authenticated:
self.send_numeric(Err.NotAuthenticated)
self.close()
return
sessions_info = [] sessions_info = []
for bs in self.backend._sc.iter_sessions(): for bs in self.backend._sc.iter_sessions():
if email_filter and bs.user.email != email_filter: if email_filter and bs.user.email != email_filter:
@@ -667,6 +681,10 @@ class INSCtrl:
self.send_reply('ALLTHESESSIONS', ts, *sessions_info) self.send_reply('ALLTHESESSIONS', ts, *sessions_info)
def _m_session(self, ts: str, sess_id: str, method: str) -> None: def _m_session(self, ts: str, sess_id: str, method: str) -> None:
if not self.authenticated:
self.send_numeric(Err.NotAuthenticated)
self.close()
return
target = None target = None
for bs in self.backend._sc.iter_sessions(): for bs in self.backend._sc.iter_sessions():
if str(id(bs)) == sess_id: if str(id(bs)) == sess_id:
@@ -102,7 +102,7 @@
<Device VID="0x045e" PID="0x0722"/> <Device VID="0x045e" PID="0x0722"/>
<Device VID="0x041e" PID="0x4080"/> <Device VID="0x041e" PID="0x4080"/>
</USBDevices> </USBDevices>
<CirclesWeb General="https://crosstalk.im/circles/$CIRCLECID$/settings/" General-SiteId="73625" Management="https://crosstalk.im/circles/$CIRCLECID$/settings/" Management-SiteId="73625" Membership="https://crosstalk.im/circles/$CIRCLECID$/settings/" Membership-SiteId="73625" Leave="https://crosstalk.im/circles/$CIRCLECID$/settings/" Leave-SiteId="73625" Disc="https://discord.gg/dumJwXTPxX" /> <CirclesWeb General="https://crosstalk.im/circles/$CIRCLECID$/settings/" General-SiteId="73625" Management="https://crosstalk.im/circles/$CIRCLECID$/settings/" Management-SiteId="73625" Membership="https://crosstalk.im/circles/$CIRCLECID$/settings/" Membership-SiteId="73625" Leave="https://crosstalk.im/circles/$CIRCLECID$/settings/" Leave-SiteId="73625" Disc="https://crosstalk.im/" />
<AnonymousIMSettings> <AnonymousIMSettings>
<SettingsPage URL="http://settings.messenger.live.com/applications/WebSettings.aspx" SiteID="76215" /> <SettingsPage URL="http://settings.messenger.live.com/applications/WebSettings.aspx" SiteID="76215" />
</AnonymousIMSettings> </AnonymousIMSettings>
@@ -238,7 +238,7 @@
<VoiceVideo> <VoiceVideo>
<Log PeerLogDisable="1" /> <Log PeerLogDisable="1" />
</VoiceVideo> </VoiceVideo>
<CirclesWeb General="https://crosstalk.im/circles/$CIRCLECID$/settings/" General-SiteId="73625" Management="https://crosstalk.im/circles/$CIRCLECID$/settings/" Management-SiteId="73625" Membership="https://crosstalk.im/circles/$CIRCLECID$/settings/" Membership-SiteId="73625" Leave="https://crosstalk.im/circles/$CIRCLECID$/settings/" Leave-SiteId="73625" Disc="https://discord.gg/dumJwXTPxX" /> <CirclesWeb General="https://crosstalk.im/circles/$CIRCLECID$/settings/" General-SiteId="73625" Management="https://crosstalk.im/circles/$CIRCLECID$/settings/" Management-SiteId="73625" Membership="https://crosstalk.im/circles/$CIRCLECID$/settings/" Membership-SiteId="73625" Leave="https://crosstalk.im/circles/$CIRCLECID$/settings/" Leave-SiteId="73625" Disc="https://crosstalk.im/" />
<AnonymousIMSettings> <AnonymousIMSettings>
<SettingsPage URL="http://settings.messenger.live.com/applications/WebSettings.aspx" SiteID="76215" /> <SettingsPage URL="http://settings.messenger.live.com/applications/WebSettings.aspx" SiteID="76215" />
</AnonymousIMSettings> </AnonymousIMSettings>
+1 -1
View File
@@ -100,7 +100,7 @@
</div> </div>
<div class="content"> <div class="content">
<h3>Welcome! Thank you for using CrossTalk!</h3> <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, check out our <a href="https://discord.gg/dumJwXTPxX">Discord server</a>.</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 community <a href="https://crosstalk.im/community">IRC/Forums</a>.</p>
<p>This page will soon be redesigned. Stay tuned!</p> <p>This page will soon be redesigned. Stay tuned!</p>
</div> </div>
</body> </body>