Commit Graph

203 Commits

Author SHA1 Message Date
66db8babbf
fix: Build stage stalling
Build stage would stall after finishing, this could cause some issue
when containerization is implemented, so I wrote a vite plugin to auto
kill it after it finished bundling.
2025-02-11 14:23:42 -05:00
4149066d74
fix: Allow codeblocks to expand to fit content
Note: Codeblocks can only be come up to 95% width of their container,
after that the `<pre>` will start scrolling.
2025-02-11 12:09:09 -05:00
f1932cf82e
docs: Add workflow badges to README 2025-02-10 16:24:33 -05:00
cd321d14a9
ci: Setup Prettier and ESLint workflows 2025-02-10 16:22:02 -05:00
9fef19dbc3
fix: Remove escapeHTML() function
Removes the `escapeHTML()` function because `markdown-it` has support
for escaping HTML, so everything remains XSS safe
2025-02-10 15:09:53 -05:00
3aa8a9b165
docs: Update TODO.md 2025-02-10 13:32:27 -05:00
de61d32e19
style: Prettier format 2025-02-10 13:30:54 -05:00
e46ea9987a
feat: Codeblock syntax highlighting with HLJS 2025-02-10 13:29:09 -05:00
97e9fd3f2e
feat: Markdown Support 2025-02-10 11:23:04 -05:00
bfddcc1844
fix: Message direction 2025-02-10 10:35:28 -05:00
7ebb152e16
fix: Vertical overflow issue 2025-02-10 09:44:17 -05:00
806a6ac31e
fix: Sending wrong error value to the user 2025-02-10 08:04:47 -05:00
ce6e48db2b
ci: Set {@html ...} XSS Error to Warn 2025-02-10 03:46:26 -05:00
651fae6b53
fix: Merge diverging branches 2025-02-10 03:43:24 -05:00
a65fc60f7a
fix: Render messages with escaped HTML in {@html} tags
Doing this so that I don't have to worry about it when I implement
markdown later, as the escaped string will be passed to the markdown
renderer, so that arbitrary HTML written in the message box will not be
rendered, but HTML from the markdown parser will.
2025-02-10 03:43:05 -05:00
73be22e0df
fix: Invalid redirect code 2025-02-10 03:36:17 -05:00
April Hall
ac7a9bb9cf
docs: Update TODO.md 2025-02-10 00:09:24 -05:00
f1d64d65d9
fix: Type import path 2025-02-10 00:01:57 -05:00
441ae58076
fix: Remove overflow on user block 2025-02-10 00:01:15 -05:00
8147025b99
docs: Elaborate on techstack in README 2025-02-09 23:49:53 -05:00
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
9a28fdcf13
docs: Add SQLite to README.md 2025-02-09 22:52:30 -05:00
3167a2f407
docs: Update TODO.md 2025-02-09 22:51:51 -05:00
461b53564e
fix: Style $message text 2025-02-09 22:46:39 -05:00
318ba431f5
fix: Explicitly define width for login and signup 2025-02-09 22:46:04 -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
360fbc644d
fix: Properly handle signup errors 2025-02-09 21:49:17 -05:00
0de228e357
fix: Properly handle login errors 2025-02-09 21:46:05 -05:00
b8a7478fd9
style: Prettier format 2025-02-09 21:33:20 -05:00
e799c55adb
fix: Hide sidebar on login/signup 2025-02-09 21:33:05 -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
fc4f482529
fix: Store session token in cookies 2025-02-09 20:55:39 -05:00
37d13fd42b
feat: Partial user auth 2025-02-09 19:58:50 -05:00
7f6ed39c84
feat: Add TODO.md 2025-02-09 16:13:31 -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
9095251cb8
feat: Add 'No messages yet!' to empty channels 2025-02-08 23:05:15 -05:00
5e822fcba6
fix: Darken the 'Secondary' color in light mode 2025-02-08 22:44:40 -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
ae6c3fe540
fix: Use form.requestSubmit() instead of clicking a hidden button 2025-02-08 15:33:19 -05:00
c335aa610c
fix: Minor linting errors 2025-02-07 22:50:28 -05:00
303434da22
ci: Ignore ShadCN in ESLint 2025-02-07 22:48:45 -05:00
9b8baefc36
fix: Prevent textarea from being user resizeable 2025-02-07 22:32:34 -05:00
fe8a4f409a
fix: Remove unused actions in +page.server.ts 2025-02-07 22:30:42 -05:00
0322bc3857
fix: Define height to prevent CLS 2025-02-07 22:30:26 -05:00