BareRTC/pkg
Noah Petherbridge 52df45b2e9 GORM for the database for Postgres support
* For the Direct Message History database, use gorm.io as ORM so that Postgres
  can be used instead of SQLite for bigger chat room instances.
* In settings.toml: the new DatabaseType field defaults to 'sqlite3' but can be
  set to 'postgres' and use the credentials in the new PostgresDatabase field.
* The DirectMessage table schema is also updated to deprecate the Timestamp int
  field in favor of a proper CreatedAt datetime field. Existing SQLite instances
  will upgrade their table in the background, converting Timestamp to CreatedAt
  and blanking out the legacy Timestamp column.
* Fix some DB queries so when paginating your DMs history username list, sorting
  it by timestamp now works reliably.
* For existing SQLite instances that want to switch to Postgres, use the
  scripts/sqlite2psql.py script to transfer your database over.
2025-07-06 11:56:20 -07:00
..
config GORM for the database for Postgres support 2025-07-06 11:56:20 -07:00
jwt Moderator rule: nodvd (exempt from dark video detector) 2025-01-03 23:15:05 -08:00
log Initial commit 2023-01-10 22:38:48 -08:00
messages Setting to Opt-Out of QR Code Watermark 2025-06-01 11:59:21 -07:00
models GORM for the database for Postgres support 2025-07-06 11:56:20 -07:00
spam Spam Detection for Hyperlinks on DMs 2025-05-02 21:35:48 -07:00
util A bit more logging to debug WebSocket issues 2023-02-08 20:01:06 -08:00
api.go Profile Webhook: Support profile headlines (On PTO) 2025-06-20 14:08:20 -07:00
banned_users.go Spam Detection for Hyperlinks on DMs 2025-05-02 21:35:48 -07:00
commands.go Spam Detection for Hyperlinks on DMs 2025-05-02 21:35:48 -07: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 YouTube link embeds 2023-03-24 22:47:58 -07:00
handlers.go Spam Detection for Hyperlinks on DMs 2025-05-02 21:35:48 -07:00
images.go Photo sharing support 2023-03-21 21:29:24 -07:00
logging.go Fix webcam freezing issues with mutualOpen video connections 2023-11-18 15:38:02 -08:00
markdown.go JWT Token-based Authentication 2023-02-05 17:42:09 -08:00
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
ping.go NPE fix 2025-05-29 16:08:13 -07:00
polling_api.go Amend JWT Endpoint to Update Logged-In User's Settings 2025-05-29 15:27:14 -07:00
server.go GORM for the database for Postgres support 2025-07-06 11:56:20 -07:00
subscriber.go Spam Detection for Hyperlinks on DMs 2025-05-02 21:35:48 -07: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 Amend JWT Endpoint to Update Logged-In User's Settings 2025-05-29 15:27:14 -07:00