6ae992d586
fix: Channel creation matching bug
...
Bug where the channel creation dialog wouldn't throw an error if you
typed the name of an existing channel that had hyphens, or a channel
with the same name but spaces instead of hyphens. This is because
channelnames are stores with underscores internally, and channelnames
were not sanitized in the `checkChannel()` method on the `Db` class
2025-02-09 23:45:41 -05:00
ee1eac23ab
feat: Sync chat presence with auth data
2025-02-09 23:39:57 -05:00
7e9e1da56e
fix: Force unique usernames
...
Force unique usernames by using the username plugin for BetterAuth
2025-02-09 22:39:40 -05:00
b8a7478fd9
style: Prettier format
2025-02-09 21:33:20 -05:00
3df7c2d179
fix: Set maximum length on usernames
2025-02-09 21:30:02 -05:00
76ebe5f802
fix: Don't verify password length on login
2025-02-09 21:28:49 -05:00
df50462d06
fix: Add redirects based on auth state
2025-02-09 21:26:33 -05:00
68ea056a3b
feat: Show info of currently signed in user
2025-02-09 21:04:52 -05:00
37d13fd42b
feat: Partial user auth
2025-02-09 19:58:50 -05:00
8aa7a977de
fix: Remove leftover $inspect rune
2025-02-09 01:27:29 -05:00
dd22a8d50e
feat: Rotating messages for empty channel
2025-02-08 23:52:30 -05:00
d7eb5acfb4
fix: Add margin to right side of messages (8px)
2025-02-08 22:37:26 -05:00
a73425f094
feat: Implement message limit of 2000 characters
2025-02-08 22:35:19 -05:00
c335aa610c
fix: Minor linting errors
2025-02-07 22:50:28 -05:00
b95fdf09ef
fix: Reset textarea to default size on submit
2025-02-07 22:02:47 -05:00
69a8b23c20
fix: Ensure <pre/> tag uses the default font
2025-02-07 21:45:40 -05:00
98c4f0324a
fix: Preserve message formatting
2025-02-07 21:45:11 -05:00
5288e09b27
feat: Add auto-resize on text input
2025-02-07 18:48:10 -05:00
52bd4e4ce4
style: Organize imports
2025-02-07 18:15:54 -05:00
e2bb1f6347
fix: Decrease main container size by 1px
...
Subtracting an extra pixel, because `bind:clientWidth` dosen't take the
1px `border-r` on the sidebar into account
2025-02-07 17:02:44 -05:00
2b6be9e1ae
fix: Horizontal overflow issue
2025-02-07 16:22:01 -05:00
6602fbdd28
style: Prettier format
2025-02-07 14:28:00 -05:00
c082b97500
fix: Don't disallow numbers in channel titles
2025-02-07 12:57:55 -05:00
e0364bb90b
fix: Convert createchannel action into a named action
2025-02-07 11:49:37 -05:00
b69d2d0fef
fix: Close dialog on successful channel creation
2025-02-07 11:32:09 -05:00
c9a7b77765
fix: Sanitize channel names in CQL queries
2025-02-07 11:20:10 -05:00
e8f634f759
feat: Add functionality to channel creation dialog
2025-02-07 11:13:55 -05:00
5cef539040
feat: Create channel dialog
2025-02-07 09:54:53 -05:00
41a1a64677
fix: Remove $inspect (left over from testing)
2025-02-06 23:57:24 -05:00
b6ec0312d5
fix: Update prodServer.ts to match websocketConfig.ts
2025-02-06 23:54:32 -05:00
0034f594ea
feat: Add Create channel button
...
No button functionality, will add functionality tomorrow
morning/afternoon
2025-02-06 23:48:14 -05:00
63690dcd2a
style: Better organization in /src/lib/
2025-02-06 23:40:51 -05:00
20dd82c79e
fix: Move database init into Db
class
2025-02-06 22:17:00 -05:00
d06af2558c
fix: Messages container not respecting screen size
2025-02-06 17:41:33 -05:00
8820729be4
fix: Avoid CQL Injection in messages
2025-02-06 17:20:22 -05:00
2c523c6940
feat: Create 'Websocket' class for client side websockets
2025-02-06 17:12:16 -05:00
04c13396b6
feat: Support for sending messages in different channels
2025-02-06 16:25:57 -05:00
98e37f03e5
feat: Have sidebar show which channel you're in
...
Now shows which channel the user is currently in (if it exists
and is valid) by making it's icon and name darker in the sidebar
2025-02-06 15:07:58 -05:00
39bb7418c9
feat: Add support for mutiple channels
2025-02-06 13:50:46 -05:00
edfd65335c
fix: TypeError (No Overload matches this call)
2025-02-06 11:40:50 -05:00
9c8d0b6cb0
feat: Colored [ws:kit] kit logging
2025-02-06 11:07:24 -05:00
2600f590d5
fix: Set default channel name to "general"
2025-02-06 10:35:32 -05:00
7a0aa70e0e
fix: Change gray to zinc
2025-02-05 19:18:05 -05:00
0032c6c611
fix: Switch button variant
2025-02-05 19:16:25 -05:00
da933c04d7
feat: Dark/Light mode switcher
2025-02-05 19:07:31 -05:00
422682125c
fix: Add back functionality
2025-02-05 18:50:25 -05:00
ae6bf23e7f
fix: Add {@render children()} in mainLayout
2025-02-05 18:34:55 -05:00
12df35b8db
fix: Replace @ts-expect-error with typecasts
2025-02-05 18:32:27 -05:00
95108ab9eb
fix: Replace the bunch of db functions with a Db class
2025-02-05 18:31:23 -05:00
8d5e00e64a
feat: Working channel enumeration
2025-02-05 18:18:39 -05:00
abecae1fee
build: Install and configure ShadCN
2025-02-05 18:06:49 -05:00
0ae407a443
fix: Start at the bottom of the div by default
2025-01-15 12:18:54 -05:00
12ad2431d8
style: Prettier format
2025-01-13 08:36:41 -05:00
d3b8653c88
pref: Sort messages within Cassandra
2025-01-13 08:29:47 -05:00
4fc96f4d40
fix: Use $lib aliases
2025-01-12 01:01:38 -05:00
ac93c0ca4b
style: Prettier format
2025-01-11 15:10:16 -05:00
016813dd56
fix: Cassandra message sorting issues
2025-01-11 15:08:51 -05:00
6e825fd589
feat: Use identicons for avatars
2025-01-11 14:56:41 -05:00
50e6b2f8f9
style: Change 'Send Message' button to a send icon
2025-01-11 14:02:24 -05:00
20a908e8a2
style: Fix broken grammar
2025-01-11 13:49:10 -05:00
785892e322
style: Prettier format
2025-01-11 13:44:49 -05:00
611982b445
fix: Kill the server on DB connection/keyspace insertion error
2025-01-11 13:37:11 -05:00
c6260f619c
feat: Add error handling to DB interactions
2025-01-11 13:26:29 -05:00
2a5f521bf1
feat: Get previous messages from the DB when reloading
2025-01-09 17:13:22 -05:00
92cf5a8af2
fix: Prevent users from sending blank messages
2025-01-09 12:36:43 -05:00
3dc59bf4f1
fix: UI Rework
2025-01-09 12:31:39 -05:00
81995985e3
fix: Properly assign UUID to users on connect
2025-01-09 10:40:09 -05:00
7849dd0e4a
style: Prettier format
2025-01-09 10:18:43 -05:00
b924590746
feat: Store messages from the master channel in the DB
2025-01-09 10:18:00 -05:00
eaa31ee186
fix: Remove old Drizzle schema
2025-01-08 18:06:14 -05:00
4cb6674562
fix: Prevent server from throwing error on uninitialized database
2025-01-08 18:04:56 -05:00
881ddd1648
feat: Setup Apache Cassandra
2025-01-08 17:44:20 -05:00
3754648362
fix: Remove un-used file
2025-01-07 11:51:43 -05:00
3232c21c69
style: Prettier format
2025-01-06 20:45:33 -05:00
d88f6e2bbf
fix: Page style changes
2025-01-06 20:45:09 -05:00
8ea9b678a4
feat: Create message component
2025-01-06 20:06:57 -05:00
fe14426f85
feat: Add schema for messages
2025-01-05 16:06:57 -05:00
57ab049945
feat: Add message send/recive system
2025-01-04 22:55:09 -05:00
158f9e097d
style: Update .prettierrc
2025-01-04 16:25:58 -05:00
bc1094d70c
fix: Formatting error
2025-01-04 16:23:26 -05:00
794b18bd6d
fix: Make webhooks functional in production mode, remove duplicate functions
2025-01-04 16:20:36 -05:00
5c9fb0f842
fix: Properly type httpServer
2025-01-04 15:58:58 -05:00
571160c635
fix: Change logging
2025-01-04 15:54:51 -05:00
618afe9840
feat: Setup websockets with socket.io
2025-01-04 15:49:52 -05:00
861418db70
feat: Setup Drizzle and create 'users' schema
2025-01-03 22:33:39 -05:00
ac6f247a82
feat: Initial commit
2025-01-03 10:34:11 -05:00