53 Commits

Author SHA1 Message Date
AtHeartEngineer
ffb2931212 Add SelectRoom.svelte component and update layout for Chat page
- Added SelectRoom.svelte component to allow users to select a room.
- Updated the layout for the Chat page to include the SelectRoom component in the top drawer.
2023-08-23 18:40:58 -04:00
AtHeartEngineer
1ef80bc321 Refactor storage set and update functions, update roomStore and serverStore
- Refactored the set and update functions in `storeFactory.ts` to use more descriptive variable names.
- Updated the `set` function to use the `value` parameter instead of `newValue`.
- Updated the `updateRoomStore` function in `rooms.ts` to directly update the `roomsStore` and `serverStore`.
- Removed unnecessary lines of code from `updateRoomStore` and fixed indentation.
- Added comments to clarify the purpose of the code in `updateRooms` function in `rooms.ts`.
- Added code to limit the number of messages in the message store in `ChatRoom.svelte`.
- Updated the `currentRoomMessages` loop in `Conversation.svelte` to not reverse the order.
- Added a debug statement in `InputPrompt.svelte` to print the message being sent.
2023-08-23 16:59:38 -04:00
AtHeartEngineer
3d93182b13 removed testing route 2023-08-23 15:13:09 -04:00
AtHeartEngineer
490de3ea93 Merge pull request #17 from Discreetly/rate-limiter
Update the server address in `SelectServer.svelte` from `http://discr…
2023-08-23 15:09:39 -04:00
AtHeartEngineer
9e57131315 Update the server address in SelectServer.svelte from http://discreetly.chat/ to https://server.discreetly.chat/.
Update the default server URL in `defaults.ts` to `'https://server.discreetly.chat/'`.

Add a new function `getMessages()` in `server.ts` to retrieve messages from a server.

In `ChatRoom.svelte`, call `getMessages()` to fetch messages from the selected server and update the message store.

In `InputPrompt.svelte`, remove console log statements.

In `BackupIdentity.svelte`, add a cursor style to the QR Code button.

In `DeleteIdentity.svelte`, reset the application configuration after deleting the identity.
2023-08-23 15:09:19 -04:00
AtHeartEngineer
6ee66af3cb Merge pull request #16 from Discreetly/rate-limiter
implement rate limiter properly in svelte
2023-08-23 12:59:58 -04:00
AtHeartEngineer
80f4f1815c implement rate limiter properly in svelte 2023-08-23 12:59:34 -04:00
AtHeartEngineer
bd56a854e1 Merge pull request #15 from Discreetly/store-refactor
Fix prover and Join to other servers
2023-08-22 17:44:58 -04:00
2339d74483 refactor(join) extracted join component with select server component 2023-08-22 17:20:55 -04:00
ef91227f22 fixed prover with correct hashing 2023-08-22 16:44:54 -04:00
AtHeartEngineer
e502350f4f Merge pull request #14 from Discreetly/store-refactor
Major Refactor
2023-08-22 13:53:09 -04:00
e3dfc244a6 fixed prover and epochs 2023-08-22 13:52:37 -04:00
09db35b72e fixes: does identity exist, sidebar room list, some prover fixes 2023-08-21 21:39:57 -04:00
d615c3f983 cleaning up signup process with new refactor; server fetching works now 2023-08-17 17:06:24 -04:00
AtHeartEngineer
04e4f2bb06 continuing refactor 2023-08-17 00:14:25 -04:00
316d6aaf0c refactor fixes and organizing components 2023-08-16 22:15:55 -04:00
97c12f1c33 checkpoint - untested - major refactor to stores 2023-08-15 23:52:14 -04:00
b781cb3b4d major refactor 2023-08-15 20:22:09 -04:00
AtHeartEngineer
da420d9dbb Merge pull request #12 from Discreetly/fix-state-issues
Taking rooms out of the server object in state
2023-08-10 14:00:25 -04:00
Blake Duncan
926f97110e Fixing some loading state 2023-08-10 11:42:51 -04:00
Blake Duncan
b713d71e46 More clean up of rooms state 2023-08-10 10:50:00 -04:00
Blake Duncan
7735f50827 Taking rooms out of the server object in state 2023-08-08 17:00:26 -04:00
AtHeartEngineer
d6736e5012 Merge pull request #11 from Discreetly/join-flow-fixes
Fix some async issues in the Join user flow
2023-08-04 17:10:23 -04:00
Blake Duncan
c494733a2b Fix some async issues in the Join user flow 2023-08-04 16:34:52 -04:00
c31ecd7f51 fixes - this puts the FE in a better state but probably still has issues 2023-08-04 10:39:12 -04:00
f1c05071b9 feat: add matomo 2023-08-01 15:58:51 -04:00
AtHeartEngineer
bd90b2d553 text logo for github 2023-07-31 22:03:36 -04:00
391e266d8e chore refactored "updateServer" 2023-07-31 21:11:45 -04:00
458008b061 Fix bug caused by changing room.id to room.roomId 2023-07-31 18:52:40 -04:00
6a87866ea8 fix ui not rendering chat room properly because of the conflict between room.id and room.roomID for the db 2023-07-27 23:53:41 -04:00
072c05296c chore(roomGroups) removed roomGroups 2023-07-27 17:12:22 -04:00
fb0e780c59 feat(identity backup & restore) via json and qr code 2023-07-27 01:58:24 -04:00
AtHeartEngineer
3e42e88c0a feat: updated RLN Identifier variable for clarity 2023-07-25 23:58:18 -04:00
AtHeartEngineer
f682fcb5de logos, local fonts, cleaned up theme, minor bugs 2023-07-25 00:18:39 -04:00
AtHeartEngineer
c7544d90f3 no more cheating 2023-07-12 00:54:17 -04:00
AtHeartEngineer
cc9d8b6643 repo work 2023-07-12 00:30:39 -04:00
AtHeartEngineer
9835accab0 identity page cleanup 2023-07-12 00:26:06 -04:00
81d7ac77fa disable prompt if can't send 2023-07-11 23:59:07 -04:00
AtHeartEngineer
a189e64259 id management, rate limiting 2023-07-11 23:56:34 -04:00
7fd5c21fd1 claim codes are working 2023-07-11 17:35:52 -04:00
6886059dda added /testing route 2023-07-11 14:47:03 -04:00
AtHeartEngineer
b64965b5e4 ui cleanup 2023-07-11 02:46:46 -04:00
AtHeartEngineer
33109bc247 css/style work and bug fixes 2023-07-11 02:08:52 -04:00
AtHeartEngineer
e820ca09c2 fixing bug with room id 2023-07-10 22:53:40 -04:00
815fa91061 goto bug (like the qbasic days) 2023-07-10 02:29:30 -04:00
cee7255688 UI rewrite using...you wouldn't believe, tailwind 2023-07-10 02:26:06 -04:00
31a50fb951 header/footer cleanup 2023-07-08 23:55:00 -04:00
4743e8a913 add roomid to identitystore 2023-07-08 23:39:02 -04:00
b1ffe5466a major signup progress 2023-07-08 23:29:05 -04:00
7f4f8f9bed cloudflare, maybe this works/?!?!??!?? 2023-07-08 18:39:15 -04:00