Commit Graph

42 Commits

Author SHA1 Message Date
Alex D. 008afed09f
WIP: reformat code and remove some stuff that needs to be changed 2020-12-09 01:33:36 +00:00
Alex D. fc99d4e88f
WIP: part 2 2020-12-08 22:20:42 +00:00
Alex D. 0da49cab10
WIP: cleanup code 2020-12-08 02:16:12 +00:00
Alex D. 7329529bca
Fix logging and add few IRCv3 features (WIP) 2020-11-02 22:35:37 +01:00
Alex D. 5bcbfe640b
Add reconnection interval support 2020-10-26 21:41:58 +01:00
Alex D. 6cd15183e8
Tweak cmake commands 2020-10-10 12:23:56 +02:00
Alex D. 7bd0d0ed2b
Add temporary skip of parsing global patterns and add irc timestamp fallback in case if not present 2020-10-08 20:26:44 +02:00
Alex D. bb8276a16f
Fix filter code 2020-10-05 23:17:48 +02:00
Alex D. 774951afaf
Improve filtering and add fallback for private messages 2020-10-05 22:43:07 +02:00
Alex D. 056d633992
Reformat code according to new style and cleanup code for log path assembler 2020-10-04 15:16:15 +02:00
Alex D. 366b9a2060
Fix signal handing and log output 2020-10-02 16:19:35 +02:00
Alex D. 07c83b0c5b
Remove extra clang-format 2020-10-02 14:39:09 +02:00
Alex D. a4d1e501eb
Rewrite a big chunk of the code, split the code into functions and clean it up, fix undefined behaviours and more 2020-10-02 14:38:11 +02:00
Alex D. f0bfff775d
Use system paths for includes 2020-09-15 17:12:43 +02:00
Alex D. 6ff144f881
Use runtime linking and use standard variables 2020-09-15 16:56:22 +02:00
Alex D. 3a9bf01282
Remove extra arg and shorten output 2020-09-15 16:18:44 +02:00
Alex D. c0eca28927
Merge intervals into one and improve ping/reconnect logic 2020-09-15 16:06:27 +02:00
Alex D. 32de8270f4
Update commit and add few state updates 2020-09-03 13:45:31 +02:00
Alex 5c23aa6d58
Add timeouts 2020-08-26 14:17:09 +02:00
Alex a0f249f654
Send IRC pings with random INTs 2020-08-26 09:40:51 +02:00
Alex c72fefc38d
Fix potential segfault case and remove .log from the end of log files 2020-08-26 09:29:11 +02:00
Alex 18df38bb2d
Set connection states everywhere, combine arg string, remove few commands and sleep on every loop iteration 2020-08-23 19:55:53 +02:00
Alex cf8391ed77
Lots of fixes, ughhh 2020-08-22 18:34:15 +02:00
Alex 905afcc485
Report connection errors back to main and add more refined filtering, add more connection states to reflect between connection established and acknowledged by the server 2020-08-20 19:51:43 +02:00
Alex 94a11c328e
Help for the options 2020-08-19 15:01:30 +02:00
Alex cf97130aef
Split forked main loop into another function 2020-08-19 14:44:26 +02:00
Alex 90a7bc1169
Lots of code refactoring 2020-08-17 22:13:17 +02:00
Alex e1fdae99e4
Use FIFO pipes for input 2020-08-05 22:16:38 +02:00
Alex c73dbe983a
Remove start from mkdir_bottomup, use category for directory creation and add (linux specific) path limits, change directory instead of using a root directory for paths, move variables around for better readablity, add file logs back 2020-08-02 21:56:48 +02:00
Alex 77635c120b
Rewrite lots of things, reorganize stuff, add reconnect delays and fix most reconnect hangs or bugs 2020-08-01 19:45:14 +02:00
Alex 70439434b4
Fix a bug where first connection would be used and fix some weird code i wrote, add edge case handling 2020-07-30 23:02:55 +02:00
Alex 60fd437b55
Remove commented code and use a temporary strcpy buffer 2020-07-30 22:17:23 +02:00
Alex 35f5f893ce
Make sure values are nulled out 2020-07-29 22:23:13 +02:00
Alex d0cfc5f718
Fix memory leak and use static allocation 2020-07-29 22:11:05 +02:00
Alex 04c876e339
Add logging levels, fix a few bugs, add connection log path, use flush_buffer everywhere and handle partial flushes correctly, fix a memory leak, ping the server (to test if the connection is alive) 2020-07-29 16:49:59 +02:00
Alex 6e3db7c7f3
Update repo, separate files, add inclusion guards where needed 2020-07-25 14:03:18 +02:00
Alex 1619409b5a
Allow only alphanumerics and . + - _ # & in the pathnames 2020-07-21 22:28:57 +02:00
Alex 20f00eb62c
Refactor code 2020-07-21 22:13:37 +02:00
Alex 68bc175bd5
Add safety features and fix a few potential bugs, add more strict flags 2020-07-21 19:05:40 +02:00
Alex 2c9a714238
Fix special case where append position is not null terminated, causing garbage to be read, add logging to file and directory creation 2020-07-20 19:15:00 +02:00
Alex 4dfbf0d1d4
Some work 2020-07-18 19:37:24 +02:00
Alex dcb642b15e
Initial commit 2020-07-17 15:47:25 +02:00