Commit Graph

107 Commits

Author SHA1 Message Date
ab05344e8e
fix: Adjust success text formatti 2025-02-15 21:26:46 -05:00
885ff0fcd3
feat: Password update functionality 2025-02-15 21:24:37 -05:00
51d255d15d
feat: Delete account functionality 2025-02-15 21:01:23 -05:00
d77ee01bfe
fix: Move channelDialog into new forms dir 2025-02-15 19:01:47 -05:00
266a329e7e
feat: Setup schemas, componentize forms 2025-02-15 19:01:17 -05:00
3b696209e6
style: Prettier format 2025-02-15 16:45:08 -05:00
79552dd57c
feat: Frontend for Account Manager 2025-02-15 16:44:17 -05:00
09dce72dfc
fix: Typo 2025-02-15 16:38:48 -05:00
644deb31d7
fix: Don't crash on failed DB connection 2025-02-13 10:09:11 -05:00
7cf2c138b6
fix: Adjust classname variables 2025-02-12 18:04:10 -05:00
30ecb8ebd1
style: Missing comment 2025-02-11 18:01:03 -05:00
9b0843405a
build: Prevent DB connection during building 2025-02-11 17:58:27 -05:00
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
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
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
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
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
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