]> PatchyGit - patchyircd.git/log
patchyircd.git
2 years agofix refreshctcp command
Egor [Tue, 23 Jan 2024 05:08:47 +0000 (07:08 +0200)]
fix refreshctcp command

2 years agoadd lua refreshctcp command
Egor [Tue, 23 Jan 2024 05:02:34 +0000 (07:02 +0200)]
add lua refreshctcp command

2 years agoadd lua summon command
Egor [Tue, 23 Jan 2024 04:41:49 +0000 (06:41 +0200)]
add lua summon command

2 years agoadd mask support to the WHO command
Egor [Tue, 23 Jan 2024 04:22:25 +0000 (06:22 +0200)]
add mask support to the WHO command

2 years agoadd ctcp time logging
Egor [Tue, 23 Jan 2024 03:21:16 +0000 (05:21 +0200)]
add ctcp time logging

2 years agomove the password rejection later down the line
Egor [Tue, 23 Jan 2024 02:19:13 +0000 (04:19 +0200)]
move the password rejection later down the line

2 years agoadd ctcp logging
Egor [Tue, 23 Jan 2024 01:59:33 +0000 (03:59 +0200)]
add ctcp logging

2 years agominor adjustments to rpl_localusers/rpl_globalusers
Egor [Tue, 23 Jan 2024 01:19:51 +0000 (03:19 +0200)]
minor adjustments to rpl_localusers/rpl_globalusers

2 years agoupdate client->nuh on chghost
Egor [Fri, 27 Oct 2023 21:27:49 +0000 (00:27 +0300)]
update client->nuh on chghost

2 years agoadd RPL_VISIBLEHOST
Egor [Fri, 27 Oct 2023 21:27:09 +0000 (00:27 +0300)]
add RPL_VISIBLEHOST

2 years agoecho CHGHOST, SETNAME, ACCOUNT
Egor [Fri, 27 Oct 2023 21:19:33 +0000 (00:19 +0300)]
echo CHGHOST, SETNAME, ACCOUNT

2 years agolua: make globals global
Egor [Fri, 27 Oct 2023 21:12:29 +0000 (00:12 +0300)]
lua: make globals global

2 years agoadd chghost, setname, account-notify
Egor [Fri, 27 Oct 2023 20:59:10 +0000 (23:59 +0300)]
add chghost, setname, account-notify

2 years agoadd MONITOR limit
Egor [Fri, 27 Oct 2023 20:19:25 +0000 (23:19 +0300)]
add MONITOR limit

2 years agoadd MONITOR and extended-monitor
Egor [Fri, 27 Oct 2023 20:14:20 +0000 (23:14 +0300)]
add MONITOR and extended-monitor

2 years agoadd WHOX support
Egor [Fri, 27 Oct 2023 16:31:10 +0000 (19:31 +0300)]
add WHOX support

2 years agorpl_whoreply: move bot flag to the end
Egor [Fri, 27 Oct 2023 16:02:56 +0000 (19:02 +0300)]
rpl_whoreply: move bot flag to the end

2 years agoadd lua scripting
Egor [Fri, 27 Oct 2023 15:43:57 +0000 (18:43 +0300)]
add lua scripting

2 years agomark localhost connections as secure
Egor [Wed, 25 Oct 2023 10:28:17 +0000 (13:28 +0300)]
mark localhost connections as secure

3 years agomake USE_MAP_DYNARR configurable
Egor [Mon, 23 Oct 2023 10:08:34 +0000 (13:08 +0300)]
make USE_MAP_DYNARR configurable

3 years agothe great findfirst refactoring
Egor [Mon, 23 Oct 2023 09:58:31 +0000 (12:58 +0300)]
the great findfirst refactoring

not only is the syntax markedly better now, but also it's no longer
nescessary to allocate any memory to do a traversal.

3 years agotrie_findfirst: fix subtle bug with struct reusal
Egor [Sun, 22 Oct 2023 21:36:37 +0000 (00:36 +0300)]
trie_findfirst: fix subtle bug with struct reusal

3 years agotrie_find: underscore the internal fields
Egor [Sun, 22 Oct 2023 21:36:00 +0000 (00:36 +0300)]
trie_find: underscore the internal fields

3 years agotrie: limit key size
Egor [Sun, 22 Oct 2023 21:34:09 +0000 (00:34 +0300)]
trie: limit key size

3 years agodocument map traversal funcs
Egor [Sun, 22 Oct 2023 21:18:36 +0000 (00:18 +0300)]
document map traversal funcs

3 years agothe great trie_find renaming
Egor [Sun, 22 Oct 2023 20:52:19 +0000 (23:52 +0300)]
the great trie_find renaming

3 years agosimplify map_dynarr traversal
Egor [Sun, 22 Oct 2023 20:37:00 +0000 (23:37 +0300)]
simplify map_dynarr traversal

i've checked that we indeed do not rely on modification during traversal

3 years agomap: change f->n->value to f->value
Egor [Sun, 22 Oct 2023 20:15:18 +0000 (23:15 +0300)]
map: change f->n->value to f->value

3 years agocombine trie.h and map_dynarr.h into map.h
Egor [Sun, 22 Oct 2023 20:04:17 +0000 (23:04 +0300)]
combine trie.h and map_dynarr.h into map.h

3 years agorename trie_{get,set,unset,free} to map_*
Egor [Sun, 22 Oct 2023 18:11:56 +0000 (21:11 +0300)]
rename trie_{get,set,unset,free} to map_*

3 years agotrie_set: always check the error
Egor [Sun, 22 Oct 2023 18:08:23 +0000 (21:08 +0300)]
trie_set: always check the error

and guarantee that no errors can occur on unset

3 years agoadd alternative map impl, fix some memory leaks
Egor [Sun, 22 Oct 2023 15:46:21 +0000 (18:46 +0300)]
add alternative map impl, fix some memory leaks

3 years agoimprove mod message support
Egor [Sun, 22 Oct 2023 13:43:11 +0000 (16:43 +0300)]
improve mod message support

3 years agonetpoll: small tweak to binary search func
Egor [Sun, 22 Oct 2023 13:03:39 +0000 (16:03 +0300)]
netpoll: small tweak to binary search func

3 years agonetpoll: optimize epoll implementation
Egor [Sat, 21 Oct 2023 17:01:49 +0000 (20:01 +0300)]
netpoll: optimize epoll implementation

3 years agonetpoll: add epoll implementation
Egor [Sat, 21 Oct 2023 16:15:26 +0000 (19:15 +0300)]
netpoll: add epoll implementation

3 years agonetpoll: add poll implementation
Egor [Sat, 21 Oct 2023 15:49:27 +0000 (18:49 +0300)]
netpoll: add poll implementation

3 years agoadd event loop abstraction
Egor [Sat, 21 Oct 2023 15:25:30 +0000 (18:25 +0300)]
add event loop abstraction

3 years agouse SA_RESTART for SIGINT
Egor [Sat, 21 Oct 2023 11:23:56 +0000 (14:23 +0300)]
use SA_RESTART for SIGINT

SA_RESTART specifically doesn't affect polling syscalls (the thing we
want to interrupt), but it prevents stupid things like having to check
for EINTR on recv/send (which we weren't doing anyway)

3 years agohandle write errors and connection closes more gracefully
Egor [Sat, 21 Oct 2023 11:19:02 +0000 (14:19 +0300)]
handle write errors and connection closes more gracefully

3 years agonet_cleanup after closing the listeners
Egor [Sat, 21 Oct 2023 09:11:26 +0000 (12:11 +0300)]
net_cleanup after closing the listeners

3 years agofix crash with NULL peername
Egor [Thu, 19 Oct 2023 14:27:36 +0000 (17:27 +0300)]
fix crash with NULL peername

3 years agokillConnection: never block
Egor [Thu, 19 Oct 2023 13:59:50 +0000 (16:59 +0300)]
killConnection: never block

3 years agomove data files to data directory
Egor [Thu, 19 Oct 2023 13:31:44 +0000 (16:31 +0300)]
move data files to data directory

mv cert.pem chanlog.txt help.txt init.txt key.pem motd.txt \
    newusers.txt ops.txt users.txt data

3 years agoadd motd.txt support
Egor [Thu, 19 Oct 2023 13:10:42 +0000 (16:10 +0300)]
add motd.txt support

3 years agoreadme documentation
Egor [Thu, 19 Oct 2023 12:57:24 +0000 (15:57 +0300)]
readme documentation

3 years agomove sources to src/
Egor [Thu, 19 Oct 2023 11:21:55 +0000 (14:21 +0300)]
move sources to src/

3 years agoMakefile: explicitly name all source files
Egor [Thu, 19 Oct 2023 11:17:06 +0000 (14:17 +0300)]
Makefile: explicitly name all source files

3 years agomove irc_glob to util.c
Egor [Thu, 19 Oct 2023 11:10:20 +0000 (14:10 +0300)]
move irc_glob to util.c

3 years agofix header guards
Egor [Thu, 19 Oct 2023 11:05:38 +0000 (14:05 +0300)]
fix header guards

3 years agomove netsock into root dir
Egor [Thu, 19 Oct 2023 11:04:41 +0000 (14:04 +0300)]
move netsock into root dir

3 years agoremove networking-tests
Egor [Thu, 19 Oct 2023 11:01:37 +0000 (14:01 +0300)]
remove networking-tests

3 years agorewrite netsock
Egor [Thu, 19 Oct 2023 10:56:46 +0000 (13:56 +0300)]
rewrite netsock

3 years agomake irc hostname configurable
Egor [Thu, 19 Oct 2023 09:20:23 +0000 (12:20 +0300)]
make irc hostname configurable

3 years agogive a different hostname for localhost connections
Egor [Thu, 19 Oct 2023 09:15:34 +0000 (12:15 +0300)]
give a different hostname for localhost connections

3 years agouse unsigned for bitfield
Egor [Wed, 18 Oct 2023 20:45:56 +0000 (23:45 +0300)]
use unsigned for bitfield

3 years agoget rid of stdbool.h
Egor [Wed, 18 Oct 2023 20:21:05 +0000 (23:21 +0300)]
get rid of stdbool.h

3 years agoclean up allocClient
Egor [Wed, 18 Oct 2023 20:19:26 +0000 (23:19 +0300)]
clean up allocClient

3 years agouse sigaction to set handler for SIGPIPE
Egor [Wed, 18 Oct 2023 20:08:20 +0000 (23:08 +0300)]
use sigaction to set handler for SIGPIPE

3 years agosendClient: never block
Egor [Wed, 18 Oct 2023 20:00:17 +0000 (23:00 +0300)]
sendClient: never block

3 years agorecvProc: never block
Egor [Wed, 18 Oct 2023 18:55:29 +0000 (21:55 +0300)]
recvProc: never block

3 years agonet: add proper blocking for non-tls
Egor [Wed, 27 Sep 2023 23:04:46 +0000 (02:04 +0300)]
net: add proper blocking for non-tls

3 years agoantispam 2
Egor [Wed, 5 Jul 2023 09:31:50 +0000 (12:31 +0300)]
antispam 2

3 years agoantispam
Egor [Tue, 4 Jul 2023 19:59:23 +0000 (22:59 +0300)]
antispam

3 years agotls: add proper blocking with select/poll
Egor [Fri, 19 May 2023 21:29:05 +0000 (00:29 +0300)]
tls: add proper blocking with select/poll

3 years agoadd NETWORK RPL_ISUPPORT
Egor [Tue, 4 Apr 2023 19:18:33 +0000 (22:18 +0300)]
add NETWORK RPL_ISUPPORT

3 years agomove more stuff to ircfmt
Egor [Mon, 6 Mar 2023 23:27:28 +0000 (01:27 +0200)]
move more stuff to ircfmt

3 years agodon't send error on empty command
Egor [Fri, 3 Mar 2023 17:17:33 +0000 (19:17 +0200)]
don't send error on empty command

3 years agofix warning on windows
Egor [Sat, 18 Feb 2023 14:39:36 +0000 (16:39 +0200)]
fix warning on windows

3 years agoignore SIGPIPE
Egor [Sat, 18 Feb 2023 14:36:54 +0000 (16:36 +0200)]
ignore SIGPIPE

3 years agofix +B in WHOIS
Egor [Fri, 3 Feb 2023 19:53:57 +0000 (21:53 +0200)]
fix +B in WHOIS

3 years agoadd WALLOPS
Egor [Fri, 3 Feb 2023 19:18:52 +0000 (21:18 +0200)]
add WALLOPS

3 years agoadd KICK
Egor [Fri, 3 Feb 2023 19:13:25 +0000 (21:13 +0200)]
add KICK

3 years agoadd KILL
Egor [Fri, 3 Feb 2023 18:53:45 +0000 (20:53 +0200)]
add KILL

3 years agoadd invite-notify cap
Egor [Fri, 3 Feb 2023 18:52:53 +0000 (20:52 +0200)]
add invite-notify cap

3 years agouse UMODE_REGISTERED to check for registration
Egor [Fri, 3 Feb 2023 17:47:58 +0000 (19:47 +0200)]
use UMODE_REGISTERED to check for registration

3 years agoadd bot flag
Egor [Fri, 3 Feb 2023 17:46:31 +0000 (19:46 +0200)]
add bot flag

3 years agoadd away-notify cap
Egor [Fri, 3 Feb 2023 16:57:22 +0000 (18:57 +0200)]
add away-notify cap

also fix away rpl messages

3 years agoadd extended-join cap
Egor [Fri, 3 Feb 2023 16:38:31 +0000 (18:38 +0200)]
add extended-join cap

3 years agoadd multi-prefix cap
Egor [Fri, 3 Feb 2023 16:14:31 +0000 (18:14 +0200)]
add multi-prefix cap

4 years agofix +0
Egor [Fri, 27 May 2022 21:10:07 +0000 (00:10 +0300)]
fix +0

4 years agoadd +0 chanmode for viewing all lists
Egor [Fri, 27 May 2022 20:49:41 +0000 (23:49 +0300)]
add +0 chanmode for viewing all lists

4 years agoadd HELP command
Egor [Fri, 27 May 2022 19:50:14 +0000 (22:50 +0300)]
add HELP command

4 years agofix whois crash on non-tls users
Egor [Fri, 27 May 2022 17:46:09 +0000 (20:46 +0300)]
fix whois crash on non-tls users

4 years agoadd autojoin channels
Egor [Fri, 27 May 2022 17:31:52 +0000 (20:31 +0300)]
add autojoin channels

4 years agouse a linked list for clients
Egor [Fri, 27 May 2022 09:12:09 +0000 (12:12 +0300)]
use a linked list for clients

4 years agodon't use str{,n}{cpy,cat}
Egor [Fri, 27 May 2022 08:51:45 +0000 (11:51 +0300)]
don't use str{,n}{cpy,cat}

4 years agoclose listen sockets on exit
Egor [Thu, 26 May 2022 21:59:27 +0000 (00:59 +0300)]
close listen sockets on exit

4 years agocreate listener struct
Egor [Thu, 26 May 2022 21:54:33 +0000 (00:54 +0300)]
create listener struct

4 years agofix sending NICK message twice
Egor [Thu, 26 May 2022 21:41:14 +0000 (00:41 +0300)]
fix sending NICK message twice

4 years agoadd argument handling
Egor [Thu, 26 May 2022 21:36:34 +0000 (00:36 +0300)]
add argument handling

4 years agouse getaddrinfo for creating sockets
Egor [Thu, 26 May 2022 21:12:33 +0000 (00:12 +0300)]
use getaddrinfo for creating sockets

4 years agosimplify win32 defines
Egor [Tue, 17 May 2022 19:50:55 +0000 (22:50 +0300)]
simplify win32 defines

4 years agoremove serverAddrV4len (was unused)
Egor [Tue, 17 May 2022 18:04:45 +0000 (21:04 +0300)]
remove serverAddrV4len (was unused)

4 years agosupport IPv4/v6 unconditionally
Egor [Tue, 17 May 2022 16:28:16 +0000 (19:28 +0300)]
support IPv4/v6 unconditionally

4 years agouse SOMAXCONN as the backlog
Egor [Tue, 17 May 2022 16:23:38 +0000 (19:23 +0300)]
use SOMAXCONN as the backlog

4 years agoonly do SO_REUSEADDR on unix
Egor [Tue, 17 May 2022 16:13:30 +0000 (19:13 +0300)]
only do SO_REUSEADDR on unix

on windows it acts more like SO_REUSEPORT

4 years agofix RPL_LISTSTART
Egor [Thu, 12 May 2022 18:31:31 +0000 (21:31 +0300)]
fix RPL_LISTSTART

4 years agofix WHOIS crash
Egor [Thu, 12 May 2022 18:13:34 +0000 (21:13 +0300)]
fix WHOIS crash

4 years agoallow listing A-type modes with just the letter
Egor [Thu, 12 May 2022 18:08:37 +0000 (21:08 +0300)]
allow listing A-type modes with just the letter