summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* feat: inputManager and commandHandler (#7)littleblack1112025-03-227-2/+251
| | | | | server now have ability to send chat like any clients. can also run commands(registered in commands.cpp)
* feat(session): getIplittleblack1112025-03-213-3/+8
|
* feat(sessionManager): getSessionslittleblack1112025-03-212-0/+6
|
* clang-formatlittleblack1112025-03-212-4/+4
|
* session(SRecvData): use false as defaultlittleblack1112025-03-212-2/+4
| | | | | so if something was wrong(the function directly returned or smth, it'd be good = false)
* perf: directly kick instead of calling function in the session(killing it's ↵littleblack1112025-03-214-22/+17
| | | | self?)
* Revert "fix: use shared ptr properly"littleblack1112025-03-202-2/+2
| | | | | This reverts commit 5c007b1581e7c36ce81de299e47c0c9ef51e9950. revert until a solution is developed
* feat: kick client (#6)littleblack1112025-03-204-13/+36
|
* fix: use shared ptr properlylittleblack1112025-03-202-2/+2
| | | | FIXME: for some reason dtors arent called even if use_count() is 0...
* chatServer: atexit() -> cleanup()littleblack1112025-03-201-0/+3
|
* newMessage: better formatlittleblack1112025-03-201-1/+1
|
* debug: only run hooks that is for debug purposes in debug buildslittleblack1112025-03-204-7/+35
| | | | log: only log TRACE in debug builds
* cleanup: explicit const and return original instead of dupe for perflittleblack1112025-03-206-6/+6
|
* chatManager.hpp: #pragma oncelittleblack1112025-03-201-0/+2
|