summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(sessionManager): properly cleanup session with kick() instead of ↵littleblack1112025-05-301-2/+2
| | | | | | directly resetting this ensures all session.reset() be ran from kick()
* perf(session): directly use m_bDeaflittleblack1112025-05-301-14/+13
|
* style: clang-formatgithub-actions[bot]2025-05-271-1/+1
|
* commands: use type safe optional for reasonlittleblack1112025-05-271-16/+18
|
* style: clang-formatgithub-actions[bot]2025-05-271-1/+1
|
* fix: don't accept ascii seq(0x1B)littleblack1112025-05-272-1/+5
| | | | | | this can mess up terminals of others won't really affect the server as we using ftxui and it seems to not affect the output somehow
* fix(1af5ffbfc646ccd116f1131f27bae3843eef406d): typo in comparisonlittleblack1112025-05-271-1/+1
| | | | msg.msg -> msg.username
* session(newMessaeg): specify .sender = thislittleblack1112025-05-271-1/+1
| | | | | fix bug in 4c23d3224d1820e72f072b2e4017c963a5c40fcb where no .sender specified will dupe
* fixup! feat: kick client (#6)littleblack1112025-05-241-0/+3
| | | | added comments and explaination
* style: clang-formatgithub-actions[bot]2025-05-211-2/+2
|
* session(write): write then restore readinglittleblack1112025-05-212-5/+8
|
* internal(session write): reuse the other write function as function overloadlittleblack1112025-05-211-12/+1
|
* fixup! feat: join and leave messagelittleblack1112025-05-211-1/+6
| | | | fix! unstable segfault when user leave without register
* style: clang-formatgithub-actions[bot]2025-05-216-11/+11
|
* feat: non-admin commandslittleblack1112025-05-215-12/+24
|
* command(/list): better formatting with session instance ptrlittleblack1112025-05-211-2/+4
|
* internal: prefer direct pointers instead of (uintptr_t) converted oneslittleblack1112025-05-214-6/+6
|
* feat: join and leave messagelittleblack1112025-05-217-18/+50
| | | | | internal: refactored messaging management, use instnace pointer for verification of session
* style: clang-formatgithub-actions[bot]2025-05-201-3/+3
|
* Revert "internal: use smart pointer for everything, no more naked pointer"littleblack1112025-05-204-31/+32
| | | | | | This reverts commit 72cf95bc9b1eb338457a0815eb1fe4f70b42ebb3. segfault/IOT instruct on client exit...
* internal: use uintptr_t of session instance for identificationlittleblack1112025-05-203-1/+4
|
* perf(session): unecessary init of m_addrLenlittleblack1112025-04-121-2/+1
|
* scroller: fix sticky scrolllittleblack1112025-04-071-1/+1
|
* internal: use smart pointer for everything, no more naked pointerlittleblack1112025-04-074-32/+31
|
* internal(session::writeChat): also be bool, returns write()'s boollittleblack1112025-04-072-4/+5
|
* Revert "ftxui(logComponent): don't use custom patch to have a min_size but ↵littleblack1112025-04-071-3/+0
| | | | | | | offical way instead" This reverts commit 4a9232c9bea11750ff5e9b56a75b410eac2f020d. broke [scroller](https://github.com/ArthurSonzogni/git-tui/blob/master/src/scroller.cpp)
* session: use std::string for m_ip instead of c charlittleblack1112025-04-076-11/+13
|
* style: 2 -> 4 tabwidthlittleblack1112025-04-071-60/+60
|
* ftxui(logComponent): don't use custom patch to have a min_size but offical ↵littleblack1112025-04-071-0/+3
| | | | | | | way instead doesn't seem to work though(see https://github.com/ArthurSonzogni/FTXUI/pull/1028#issuecomment-2776497917)
* style: clang-formatgithub-actions[bot]2025-04-071-2/+4
|
* bump: TODOlittleblack1112025-04-071-11/+0
|
* style: clang-formatgithub-actions[bot]2025-04-074-7/+9
|
* fix: nullptr(SEGEV) during shutdownlittleblack1112025-04-073-8/+25
|
* refactor: loggingslittleblack1112025-04-077-12/+32
|
* fix(session): strerrno thread safetylittleblack1112025-04-071-1/+5
|
* style: clang-formatgithub-actions[bot]2025-04-071-1/+1
|
* style: clang-tidygithub-actions[bot]2025-04-072-11/+11
|
* feat: ftxui (#17)littleblack1112025-04-0713-29/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ready for merge rm sum random ocmments first and https://github.com/ArthurSonzogni/FTXUI/issues/1024 but still, ready for merge since we can't do anything on our end * style: clang-tidy * ci * ci * style: clang-tidy * fix * fix: scroll https://github.com/ArthurSonzogni/git-tui/blob/master/src/scroller.cpp * focus * update todo * style: clang-format * update todo * sticky scroll * update todxo * smol fix need event to update screen. so we just give event when IO updates * style: clang-format --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: deaflittleblack1112025-04-033-7/+33
| | | | necessary for being deaf during registeration
* fix: std::quick_exit don't exist in osxlittleblack1112025-03-231-1/+1
| | | | for some reason that don't work in macos, but _Exit does..
* fixup! feat!: require arg for server portlittleblack1112025-03-221-4/+2
|
* internal: catch exceptions at main()littleblack1112025-03-221-1/+7
|
* server: print -> loglittleblack1112025-03-221-2/+1
|
* server: keepalivelittleblack1112025-03-221-3/+7
| | | | perf: constexpr more
* feat: ability to mute/unmute clients (#12)littleblack1112025-03-224-8/+70
|
* fix(nameExists): kill dead thread/sessionlittleblack1112025-03-221-1/+10
| | | | | fixes a bug where if you quit then rejoin with the same name, it still says name exists
* fix: broken pipe sometimeslittleblack1112025-03-221-1/+1
|
* fix: potential crash for weirdly exited clientslittleblack1112025-03-222-4/+4
| | | | | | | | | fixes #9 FIXME: spamming too much will still give ``` terminate called after throwing an instance of 'std::system_error' what(): Resource deadlock avoided ```
* feat(commands): client execute commands (#8)littleblack1112025-03-229-41/+69
| | | | refactor(session): writeChat, unify written chat internal: removed `CChatManager::broadcastMessage`, just use `g_pSessionManager->broadcastChat(msg)`
* fix(sessionManager,kick): only write message if CSession existlittleblack1112025-03-221-3/+2
|