0ffeb67a3c
User signals now support not selecting any signal (which is the default on start to avoid "insta-reading" messages of the top isgnal)Kyren2232025-02-06 16:56:05 +02:00
242add420d
Implemented network icon notifications for user signals iconKyren2232025-02-06 16:45:59 +02:00
3c05ff0937
Added notifications display in user signalsKyren2232025-02-06 16:33:16 +02:00
f10f8396cc
Added support for editing messages in user signalsKyren2232025-02-05 20:00:29 +02:00
b96118f59b
Removed all instances of setting the user data, this is retrieved once on start, then managed by the client and stored once on client exitKyren2232025-02-05 19:51:00 +02:00
0bf5515629
When a user sends a message "signal" and the receiving user doesn't have the signal already open, it will be added as the first signalKyren2232025-02-05 19:41:34 +02:00
8a8c4e9abc
Refactored all instances of the word "peer" and it's variants to "signal" and it's variants as this is the new terminology for "user signals" which are direct messages between 2 usersKyren2232025-02-05 16:54:09 +02:00
9d1158f03e
Implemented deleting messages in user signalsKyren2232025-02-05 16:45:01 +02:00
f0607f1663
Server now also sends the last_read column to the client so the client so the client can use it to persist notificationsKyren2232025-02-04 19:37:06 +02:00
752403fd52
Implemented notifications rework on the clientKyren2232025-02-04 19:32:04 +02:00
fe520e219c
Server now uses a new context for api requests to make sure they still get completed even if the user disconnects, this is not ideal and should be reworked in the futureKyren2232025-02-04 19:30:30 +02:00
d9ae301818
Reverted back the removal of the logic in get notifications to check if the user has access to the frequency, because it is needed for the is_admin ping type but also to prevent the case where someone was an admin, got demoted and can now monitor when new messages are sent thereKyren2232025-02-04 19:08:22 +02:00
eab8cba4bb
Refactored the way notifications work on the server-side, next commit fixes the client to use this new systemKyren2232025-02-04 18:52:57 +02:00
e3b22023d8
Fixed a bug in viminput where trying to delete in visual mode up to the end of the line and that line is the last line, it wouldn't delete anythingKyren2232025-02-03 19:38:43 +02:00
7d9a1adb1e
Added support for viw/vaw and viW/vaW in viminputKyren2232025-02-03 19:29:16 +02:00
4ad772a1e9
Added v/V in visual/visual line modes to switch between the 2Kyren2232025-02-03 19:01:52 +02:00
cac7be6c22
Fixed a bug where users weren't able to scroll higher if they already got to the top message but then more messages have been addedKyren2232025-02-03 18:13:15 +02:00
ad25655d5f
Fixed first message of a user triggering the "new" line if there were no new messages in the frequency/receiverKyren2232025-02-03 17:38:19 +02:00
c0013eba37
Fixed instances where viminput would still show the terminal backgroundKyren2232025-02-03 17:30:23 +02:00
a6cb16570e
Pings now have a matching backgground if the user is effected by themKyren2232025-02-03 17:14:35 +02:00
e8a7f654d7
Fixed edited messages still showing terminal bgKyren2232025-02-03 17:03:13 +02:00
008d7cd0cd
Added background for chat to avoid relying on terminal backgroundKyren2232025-02-03 16:50:53 +02:00
822347c1aa
Moved client-side calculations of notification to after all the components have updated instead of before so the view will reflect the update in case any of the updates change the notificationsKyren2232025-02-02 19:28:11 +02:00
c77ac77e78
Added support for offline notifications where the server calculates them and sends the info to the client when it connectsKyren2232025-02-02 19:23:50 +02:00
a1c20cbfc5
Corrected separator background to match the background of the section they separateKyren2232025-02-02 18:35:36 +02:00
b3e4eb11be
Fixed rendering issue with pings in frequencylistKyren2232025-02-02 18:30:22 +02:00
69bbde190e
Reworked how frequency notifications workKyren2232025-02-01 17:36:23 +02:00
0659bdaf81
Added a way to display notifications for networksKyren2232025-02-01 16:51:10 +02:00
ac01dff4e7
Started working on notifications for networks (got to carried away with how it looks lol)Kyren2232025-01-30 20:33:02 +02:00
088baa6d3a
Implemented frequency-level notifications and pingsKyren2232025-01-30 19:04:52 +02:00
a0fb12ca9a
Added automatic saving when the client exits (using ctrl+c), will abort and not save if it takes longer than 1 secondKyren2232025-01-30 18:55:29 +02:00
e98132bb4a
Added "new" indicator to show which messages are new when opening a frequency, similar to how discord worksKyren2232025-01-30 16:44:11 +02:00
eac9e1ad09
Pressing enter will now properly update the border of viminputKyren2232025-01-29 16:21:40 +02:00
8c805499ec
Fixed incorrect rendering of peers in the user signals when they are trusted and their public key mismatches and also ellipsis when the username overflows the widthKyren2232025-01-28 19:48:18 +02:00
f3bf8a9c5d
Fixed recently introduced crash due to trying to access network info while in user signalsKyren2232025-01-28 19:37:33 +02:00
2e9e0785c3
Fixed wrapping issues of placeholder in viminput and also re-phrased some thingsKyren2232025-01-28 19:33:51 +02:00
7abb46eb81
Fixed viminput border not updating instantlyKyren2232025-01-28 19:12:19 +02:00
9f6a91900e
Fixed a bug where you could scroll infinitely downKyren2232025-01-28 18:50:20 +02:00
3cb6290617
Fixed a bug where all messages in a group up to the selected message will be selected, instead of just the selected messageKyren2232025-01-28 18:35:00 +02:00
596bbcfe81
Fixed crash where frequency view will be called after changing the network due to out of bounds indexingKyren2232025-01-28 18:28:09 +02:00
b9cef4710b
Simplified ping syntax by changing the prefix from @ping: to just @Kyren2232025-01-28 18:05:43 +02:00
b14299515a
Fixed issues related to ping rendering and added a way to show pings to other users even if the ping doesn't "ping" themKyren2232025-01-28 17:53:14 +02:00
ba48f3470c
Fixed a bug where pressing "b" even when not focused on memberlist would swap memberlist/banlistKyren2232025-01-27 20:25:49 +02:00
cb214d740a
Added pings to messages in frequenciesKyren2232025-01-27 20:10:48 +02:00
b2bd96e46b
Fixed bug where the key was always the receiver ID instead of the other user (which can be either receiver or sender)Kyren2232025-01-26 19:15:54 +02:00
111ea3582c
Fixed a bug where the client wouldn't update the server after removing a user conversationKyren2232025-01-26 19:10:46 +02:00
97a85f94e5
Added the ability to read and send messages between 2 usersKyren2232025-01-26 19:09:02 +02:00
eab0af859c
Fixed a bug where it was possible to add the same user multiple times in the user signalsKyren2232025-01-26 18:50:49 +02:00
a39fa91fe0
Added "i" to copy user ID in user signalsKyren2232025-01-26 18:47:35 +02:00
9bf320340f
Implemented signal chat on the client side along with adding a user id in the user signalsKyren2232025-01-26 18:43:03 +02:00
1d76c3f831
Added adding/removing user signals (direct messages)Kyren2232025-01-26 18:17:50 +02:00
1935052450
Window resize messages now propagate to child views instead of just changing the ui height/width which causes a re-render making the app more responsiveKyren2232025-01-25 19:16:04 +02:00
ab6bfe9186
Fixed a bug where being kicked/banned from a network while being offline will cause a desync and crash the server and show an invalid network on the client sideKyren2232025-01-25 19:09:37 +02:00
d06bbbe2f6
Added banning from chat using "B"Kyren2232025-01-25 18:55:33 +02:00
f3b89094c5
Implemented client-side ban reason view in banlistKyren2232025-01-25 18:54:03 +02:00
5c96cb4e60
Added banlist on the client and fixed some server side issues with banningKyren2232025-01-25 18:26:17 +02:00
acf87efce9
Added the ability to ban client-side from the memberslistKyren2232025-01-25 17:21:04 +02:00
5117d4ddda
Fixed server crash due to accidental printing of a session address that is nilKyren2232025-01-25 17:15:23 +02:00
02e55d769d
Added a list of banned members server-sideKyren2232025-01-25 16:30:50 +02:00
0da7603a41
Getting banned will now also kick the member from the networkKyren2232025-01-25 16:08:48 +02:00
99b394df3c
Renamed network id to network invite codeKyren2232025-01-24 21:36:12 +02:00
6a13388caf
Added help popups when pressing "?" to show keybinds in the clientKyren2232025-01-24 21:33:44 +02:00
8001ade3c2
Formatted and removed unused symbols, should pass CIKyren2232025-01-22 19:28:03 +02:00
aa929cb08f
Fixed ellipsis in memberlist not being styledKyren2232025-01-22 19:24:08 +02:00
8702aaac95
Each section in the client (network/frequency/member/chat) now has a different background color, similar to how discord has itKyren2232025-01-22 19:16:51 +02:00
7e0bb07d61
Now displaying network ID below the network name, and can copy with "i"Kyren2232025-01-22 18:40:50 +02:00
a6ea051460
Added the ability to trust/untrust usersKyren2232025-01-22 17:23:18 +02:00
c2b1df4e65
Added the ability to mute/unmute membersKyren2232025-01-21 18:54:57 +02:00
c02511af29
Added the ability to kick someone by pressing "K" on his message in chatKyren2232025-01-21 18:23:57 +02:00
8f87941f91
Added the ability to promote members to admins and demote admins to membersKyren2232025-01-21 18:17:36 +02:00
7a791d7e94
Admins can no longer ban/mute/kick each other, they can still delete each others messages (to save some time having to query the sender ID to see if he's an admin)Kyren2232025-01-21 17:56:54 +02:00
ad58adeeb2
Fixed a bug where when kicking a member, it'd send a left request to the person who is kicking and not to the person who was kickedKyren2232025-01-21 17:40:19 +02:00
1b3b74464b
Added edited indicator in chat and also the client now also allows to edit only your own messages not othersKyren2232025-01-16 19:59:35 +02:00
15067a81c5
Added client and server side edit message functionalityKyren2232025-01-16 19:11:15 +02:00
9ebd017160
Added visual indicators for chat when the frequency is read-only the viminput is grayed out and the cursor is hidden, when muted (untested) the viminput border is red, and when no access it's grayed and a message showing no perms instead of the "this frequency is empty", along with placeholders for "Send message..." that say that you are muted/don't have permission to write messageKyren2232025-01-16 17:36:06 +02:00
5bc8a1ff7a
Gap lines in chat are now highlighted to better visualize scrollingKyren2232025-01-15 19:30:28 +02:00
adacdcd6f8
Fixed a few issues relating to max heightKyren2232025-01-15 19:04:00 +02:00
565487ccf1
Refactored chat scrolling to be better, still need to fix some thingsKyren2232025-01-15 18:02:00 +02:00
2f1ee548be
viminput can now be exited with ctrl+q in insert modeKyren2232025-01-14 19:14:18 +02:00
58c6a6d38a
Added the ability to delete messages in frequenciesKyren2232025-01-14 19:09:18 +02:00
2e1707c45b
Fixed loading screen not animating after losing connectionKyren2232025-01-14 17:55:19 +02:00
fd43d51d91
Fixed a bug where messages from no-access channels will propagate to online users even if they didn't have accessKyren2232025-01-14 17:51:24 +02:00
142d2d2c56
Client no longer shows popup if it doesn't have sufficient permissions to update a network or frequencyKyren2232025-01-14 17:36:33 +02:00
43bd630ecb
Implemented updating frequency properties both client-side and server-sideKyren2232025-01-14 17:33:15 +02:00