BareRTC/pkg
Noah Petherbridge 89dd40f77f Refactor SQL query for DMs History modal
The ORDER BY timestamp on the DMs Username History endpoint was causing
SQLite to do a full table scan by timestamp instead of indexing on
channel ID. So, instead, we fetch the distinct channel IDs for the
current user and add them to an IN clause on the main query (instead of
a LIKE clause), which causes the index to use the channel_id instead of
timestamp. This may improve CPU performance and speed on this endpoint.
2025-03-17 17:38:37 -07:00
..
config Echo Public Channel Messages 2025-02-17 22:08:25 -08:00
jwt Moderator rule: nodvd (exempt from dark video detector) 2025-01-03 23:15:05 -08:00
log
messages Echo Public Channel Messages 2025-02-17 22:08:25 -08:00
models Refactor SQL query for DMs History modal 2025-03-17 17:38:37 -07:00
util
api.go History Modal + Dark Detector Fixes 2025-02-14 18:12:39 -08:00
banned_users.go Commands: /ban and /op 2023-08-04 20:31:21 -07:00
commands.go Send admin reports on /nsfw command + Fixes 2025-02-17 12:50:06 -08:00
config.go Re-sign JWT tokens for safer server deployments 2023-04-19 19:55:39 -07:00
echo_messages.go Echo: Skip messages sent by blocked usernames 2025-03-09 15:52:34 -07:00
expand_media.go
handlers.go Safety for the operator-only hidden status 2025-03-11 21:31:40 -07:00
images.go
logging.go Fix webcam freezing issues with mutualOpen video connections 2023-11-18 15:38:02 -08:00
markdown.go
message_filters.go Include DM context in reported messages 2024-01-20 15:17:02 -08:00
moderation_rules.go Moderator rule: nodvd (exempt from dark video detector) 2025-01-03 23:15:05 -08:00
pages.go Add webcam troubleshooting tips to the About page 2024-10-17 20:13:08 -07:00
polling_api.go Add DisconnectNow API endpoint 2024-03-15 15:59:42 -07:00
server.go Echo Public Channel Messages 2025-02-17 22:08:25 -08:00
subscriber.go Echo Public Channel Messages 2025-02-17 22:08:25 -08:00
webhook_messages.go Webhooks and Report Users 2023-08-12 21:35:41 -07:00
webhooks.go Send admin reports on /nsfw command + Fixes 2025-02-17 12:50:06 -08:00
websocket.go JWT Token Chat Moderation Rules 2024-09-19 17:29:08 -07:00