Commit Graph

708 Commits

Author SHA1 Message Date
Rory&
1c05e5c97a Centralise ip info logic 2025-12-17 03:28:43 +01:00
Rory&
e5b2f63f82 Remove ugly hack 2025-12-17 02:44:41 +01:00
Rory&
68d3cb70ac Cast ephemeral flag to number because lmao 2025-12-17 02:29:03 +01:00
Rory&
11a3a48731 Rename PRIVATE_ROUTE -> EPHEMERAL, fix typo 2025-12-17 02:21:56 +01:00
Rory&
00c2fec194 Remove device on logout 2025-12-17 01:56:37 +01:00
Rory&
b2fb978855 Fix sessions logout 2025-12-17 01:50:18 +01:00
Rory&
d0cb0543cc Use query for sessions endpoint 2025-12-16 23:14:48 +01:00
Rory&
0e0a205d88 Lower interval for cleaning up sessions 2025-12-16 11:48:19 +01:00
Rory&
d7a950d0e7 Device management 2025-12-16 11:47:20 +01:00
Rory&
e25e0587de Fix bad imports 2025-12-16 08:23:13 +01:00
Rory&
2a383c10a1 Expire old sessions, update last seen on gateway heartbeat 2025-12-16 08:19:56 +01:00
Rory&
938f59c944 Less debug logging, more useful? 2025-12-16 07:47:24 +01:00
Rory&
151f9aaa4f What does this even return 2025-12-16 07:40:37 +01:00
Rory&
03a966bfc4 Session fixes 2025-12-16 07:21:43 +01:00
Rory&
cad820d334 More maybe un-blowing-up 2025-12-16 06:46:51 +01:00
Rory&
7b38f93817 Allow opting out of persisting instance bans on user delete endpoint 2025-12-16 04:59:13 +01:00
Cyber
a583d85d44 Merge branch 'spacebarchat:master' into fix/gh-webhook-events-more 2025-12-15 08:29:43 +01:00
CyberL1
13388870a1 fix: check if event is "opened" or "closed" 2025-12-15 08:28:59 +01:00
Rory&
cb01b869ee fix cors 2025-12-15 02:43:37 +01:00
MathMan05
af00ba05f5 remove test 2025-12-14 23:31:01 +01:00
MathMan05
170e86b9cf fix minor bug breaking bot invites 2025-12-14 23:31:01 +01:00
Rory&
91cf11ac6f Try adjusting CORS rules to make cookies work? 2025-12-13 20:16:42 +01:00
Rory&
6683dbac7b Prevent duplicate instance ban entries 2025-12-13 02:55:25 +01:00
Rory&
91c112c72f Delete user settings protos on account deletion 2025-12-13 02:51:25 +01:00
Rory&
ca06653606 not milliseconds lol 2025-12-13 02:48:50 +01:00
Rory&
5de70ca2c8 Log elapsed time for user delete 2025-12-13 02:44:12 +01:00
Rory&
dae89fd0af Instance ban stuff 2025-12-13 02:01:32 +01:00
Rory&
1573e5a1d9 Instance ban: clean up DMs and guild ownerships, track instance bans 2025-12-12 23:28:20 +01:00
Rory&
bdbf6d06b2 Fix IP tracking for bans 2025-12-12 22:56:02 +01:00
BrajamohanDas-afk
eb94dd4b16 Refactor: Replace getIpAddress with req.ip 2025-12-12 22:46:28 +01:00
Cyber
68c46ca956 Merge branch 'spacebarchat:master' into fix/gh-embeds-new-commits-title-link 2025-12-12 22:21:09 +01:00
CyberL1
bf8add14c1 fix: show compare url on multiple commits 2025-12-12 22:19:10 +01:00
MathMan05
f78f3abe32 fix read del bug 2025-12-12 05:08:32 +01:00
Rory&
de1ebc99a7 Perhaps, dont IP ban moderators 2025-12-07 22:32:37 +01:00
CyberL1
84b4888e9b fix: check if body is not null 2025-12-05 21:52:18 +01:00
CyberL1
16caeea744 fix: include user object in guild_member 2025-12-04 19:32:50 +01:00
Rory&
a149bd06d7 Clean up cloud attachment debug logs 2025-12-04 11:05:40 +01:00
Rory&
13bbf5dbd5 Remove fallback URIs, remove endpointClient, expose admin api 2025-12-04 11:01:18 +01:00
CyberL1
846c201166 fix: show only the first line of commit message 2025-12-03 22:31:10 +01:00
Rory&
9445109bf0 Always use req.ip when calling getIpAddress 2025-12-03 20:06:13 +01:00
Rory&
a5a520be06 wtf is wrong with ipdata 2025-12-03 20:00:26 +01:00
CyberL1
304f00f8ad fix: github webhok username and avatar are now more in-line with discord 2025-12-02 21:19:49 +01:00
Rory&
58b6cabf9c Fix register 2025-12-02 19:45:30 +01:00
Rory&
5075837d55 Support deleting ACKs for type==channel 2025-12-02 18:06:00 +01:00
Rory&
563d3a4e7f Fix schema import 2025-12-02 17:38:44 +01:00
Rory&
79c72396fd Extended IP address scrutiny on register 2025-12-02 17:33:22 +01:00
Rory&
1bd645f429 Enforce bans on invites, enforce quarantine, enforce IP ban 2025-12-02 17:31:07 +01:00
Rory&
8b10d85d29 Use IpDataClient in places 2025-12-02 16:46:08 +01:00
Rory&
02f9f4f7ef Always trim username updates 2025-12-02 16:36:29 +01:00
Rory&
bd93ba0e99 Template billing routes 2025-12-02 16:33:26 +01:00