Commit Graph

149 Commits

Author SHA1 Message Date
tali 00eae82eb3 add LIST command 2024-02-02 17:35:46 -05:00
tali a34651b283 fix send_to_chan: non mebers cant send to moderated channels 2024-02-02 17:10:46 -05:00
tali 81918b9813 bump version 2024-02-02 13:34:51 -05:00
tali 8556fafd3d fixup deploy script 2024-02-02 13:33:47 -05:00
tali 54291669a5 remove no longer relevant TODO comment 2024-02-02 13:24:56 -05:00
tali d407222608 actually obey LOG_LEVEL env instead of always picking TRACE 2024-02-02 13:23:19 -05:00
tali 59b79167a4 create deb package deployment infrastructure 2024-02-02 13:22:58 -05:00
tali 7d8669867c wip deploy 2024-02-02 12:35:23 -05:00
tali 50d27b7cd9 remove redundant setsocketopt 2024-02-02 12:24:11 -05:00
tali cac7a091fe yeet the mutex 2024-02-02 11:50:34 -05:00
tali 59511905c9 slightly modify is_trailing so we don't use String.starts_with 2024-02-02 11:46:58 -05:00
tali 6e4b1af984 remove Set.of_string so we dont use String.fold_left 2024-02-02 11:46:58 -05:00
tali ebdf476a25 relax some dep versions 2024-02-02 11:20:50 -05:00
tali aed3089995 send QUIT to all active connections 2024-02-01 19:04:54 -05:00
tali 04478ffa0e add Wheel.iter for arbitrary order iteration 2024-02-01 19:04:54 -05:00
tali 69f182d0c2 add Dllist.iter_l, reset 2024-02-01 19:04:54 -05:00
tali 10fbd898c1 add KillSignal=SIGTERM to example systemd service 2024-02-01 19:04:54 -05:00
tali e160156b78 quit a little more gracefully when interrupted (SIGINT, SIGTERM) 2024-02-01 18:47:16 -05:00
tali e355bac41c use some sneaky codegen to get the 'version' variable 2024-02-01 14:34:43 -05:00
tali b92d84f843 add metadata to dune-project 2024-02-01 14:24:20 -05:00
tali 3631cd8075 check in example motd 2024-02-01 14:08:40 -05:00
tali 4cbd4421ce improve error messages in main somewhat 2024-02-01 14:08:27 -05:00
tali e2967fabd9 implement sd-notify protocol 2024-02-01 14:08:25 -05:00
tali 6790c22c4a load MOTD from file 2024-02-01 13:32:01 -05:00
tali 4cc0e8a6e1 fix logging issues
- clear dgram buffer before sending to journald
- only change pretty alignment to be bigger
2024-02-01 13:27:19 -05:00
tali 787dbe9d57 make NOTICE capable of sending to multiple targets 2024-01-31 19:04:22 -05:00
tali ee20a5e5d6 add systemd service example 2024-01-31 18:56:44 -05:00
tali 25c28bf797 list dependencies in dune-project, .opam 2024-01-31 18:45:07 -05:00
tali 0470cb85d0 add Connection.mli 2024-01-31 18:43:59 -05:00
tali b113247f48 promote new channel / recycle channel msgs to INFO 2024-01-31 18:43:15 -05:00
tali 704afb4409 detect journald, parse some env options 2024-01-31 18:43:02 -05:00
tali e333bc121b add native journald logging 2024-01-31 18:37:29 -05:00
tali 36d49a2f5d split logging facilities into separate files 2024-01-31 18:14:09 -05:00
tali 3033fc87b2 remove nickname from QUIT message 2024-01-31 17:29:38 -05:00
tali 8acfc89f0d add NOTICE command 2024-01-31 17:28:32 -05:00
tali 41bf46b8dc add cringe USERHOST command 2024-01-31 17:28:06 -05:00
tali 7d204b98b6 add LINKS command 2024-01-31 17:15:15 -05:00
tali a4e98a10ae add LUSERS command 2024-01-31 17:14:32 -05:00
tali 051f1659a3 add TIME command 2024-01-31 17:01:55 -05:00
tali 34bc83e12b record and display topic who + time 2024-01-31 16:54:22 -05:00
tali 6fdd47cd12 use ptime for displaying channel/server creation time 2024-01-31 16:47:42 -05:00
tali 45e9fac30a use ptime library to get rfc3339 timestamps w/ timezone 2024-01-31 16:29:24 -05:00
tali 484941c3ce vendored lwt-dllist, moved data structures to separate library 2024-01-31 16:02:40 -05:00
tali 47185c83e1 remove tryagain, fix USERSDONTMATCH error message 2024-01-31 15:17:01 -05:00
tali 4a249fa941 add INFO, HELP, plus a bunch of invalid "admin only" commands 2024-01-31 15:13:13 -05:00
tali 7534b2c4e7 add ADMIN command 2024-01-31 15:07:53 -05:00
tali b0e1b10868 make pretty logging configurable 2024-01-31 12:40:03 -05:00
tali 0711561c0d refactor ansi colors in pretty logger 2024-01-31 12:28:47 -05:00
tali c3ea3aea6d implement WHOWAS using Cache to store history 2024-01-31 11:55:23 -05:00
tali 41b7fde963 fix handling non-integer arguments to +l 2024-01-31 11:50:17 -05:00