Daniel Oaks
19c2bb69fc
Allow looking up usernames with ident on connection
vor 8 Jahren
Daniel Oaks
1d51bb450a
constants: Make SEM_VER the actual version number conforming to Semantec Versioning, and VER the composed number
vor 8 Jahren
Daniel Oaks
748bc759cb
Cleanups reported by goreportcard
vor 8 Jahren
Daniel Oaks
b820559050
modes: Add TLS umode (+Z)
vor 8 Jahren
Daniel Oaks
41473bb444
Fix PASS handling
vor 8 Jahren
Daniel Oaks
34a099b61a
Fix PING and PONG
vor 8 Jahren
Daniel Oaks
04442ddef1
Stuff is no longer completely broken. Just mostly.
vor 8 Jahren
Daniel Oaks
b8dc10f92d
nickname: Fix
vor 8 Jahren
Daniel Oaks
9e7a590f23
server: Fix
vor 8 Jahren
Daniel Oaks
2a519c8061
use server.name and server.nameString, name for checking and getting nice comparison, nameString for reply outputs
vor 8 Jahren
Daniel Oaks
7fcc6bdbc4
channels: Fix
vor 8 Jahren
Daniel Oaks
08225c201d
continue work reorganising and redoing EVERYTHING
vor 8 Jahren
Daniel Oaks
e83283e7fd
urgh this should not even be commited yet, this will all be squashed out
vor 8 Jahren
Daniel Oaks
2f08401a0f
Attempt to add mostly-correct license info at the top of each file... track this stuff a bit better
vor 8 Jahren
Daniel Oaks
3a9a643d30
server: Let websocket listeners also be TLS
vor 8 Jahren
Daniel Oaks
2fb6acb92a
restructure SSL/TLS a bit, name config items better
vor 8 Jahren
Daniel Oaks
cd7d30a997
Set default channel modes to +nt
vor 8 Jahren
Daniel Oaks
8885f14f19
PROXY: Restrict to specified addresses/hostnames
vor 8 Jahren
Daniel Oaks
fb345a2dd4
user: Don't parse the second and third params anymore
vor 8 Jahren
Daniel Oaks
9acdeedec6
commands: Simplify and unify minimum required number of args handling
vor 8 Jahren
Daniel Oaks
8b79662f1a
modes: use secret instead of private, it's the standard these days. fix secret channel hiding in whois
vor 8 Jahren
Daniel Oaks
0ccabead31
cap: Properly suspend registration for CAP negotiation
vor 8 Jahren
Daniel Oaks
a241ea7dd6
version: Return RPL_ISUPPORT tokens, as standard
vor 8 Jahren
Daniel Oaks
3972fc49ed
privileges: Add founder/admin/halfop (qah), remove owner (O)
channel owner is from 2812 and unused in the real world
vor 8 Jahren
Daniel Oaks
c3288823af
Add native SSL/TLS listener support from @enmand for our new config
vor 8 Jahren
Daniel Oaks
8dc2732137
server: Store MOTD in memory rather than reading it from disk every time. Fixes #3
vor 8 Jahren
Daniel Oaks
56641ff650
isupport: Don't advertise stuff that's still TODO
vor 8 Jahren
Daniel Oaks
78928c0322
isupport: STATUSMSG isn't supported, don't advertise it
vor 8 Jahren
Daniel Oaks
a013205fd1
Support network name
vor 8 Jahren
Daniel Oaks
c88cd328f8
Very initial RPL_ISUPPORT numeric support
vor 8 Jahren
Daniel Oaks
c705bdaac5
irc/server: MOTD does not need to be clipped at 80 chars, has not been standard for a long while now
vor 8 Jahren
Edmund Huber
fce54343ea
touchups to irc/websocket.go per review comments
vor 9 Jahren
Edmund Huber
62302ec92e
fail WebSockets with subprotocols here, because gorilla leaves it up for us to deal with subprotocols
vor 9 Jahren
Niels Freier
6a69a65860
WebSocket layer to be able to connect "web" client
Currently working with a mini irc js implem, the flow:
* PASS
* NICK
* USER
* JOIN
* PRIVMSG
works and the ping/pong timeout keep the communication open.
vor 9 Jahren
Jeremy Latt
6c10add399
improve performance by using less goroutines
- get rid of command channel in Client
- get rid of loginTimer; use other timers instead
- move debugging code to debug.go
vor 10 Jahren
Jeremy Latt
b0bb0faadc
remove unnecessary String()s; rename parse functions
vor 10 Jahren
Jeremy Latt
21a86c3216
fix gcstats debugging command
vor 10 Jahren
Edmund Huber
d5bdc78d55
adding theater-mode, fixes #15
vor 10 Jahren
Jeremy Latt
8c44bb9ff3
ONICK command to allow operators to change users' nicks
vor 10 Jahren
Jeremy Latt
7db4347419
bind to listening sockets before asyncing
vor 10 Jahren
Jeremy Latt
d85e6681d9
move modes code to its own file; fix SQL (un)marshalling
vor 10 Jahren
Jeremy Latt
2006aff9f7
break up types.go
- remove old interfaces, move to relevant files
- remove Phase in favor of a boolean flag
vor 10 Jahren
Jeremy Latt
0126edc7af
move capability handling code to a single file
vor 10 Jahren
Jeremy Latt
e15f47c766
move to channel-based logging
vor 10 Jahren
Jeremy Latt
d1a299792e
don't buffer channels (except signal channel)
vor 10 Jahren
Jeremy Latt
4268c4a936
don't set CapNegotiating for blind CAP REQ
vor 10 Jahren
Jeremy Latt
96a108f8da
mark unicode normalization with type
vor 10 Jahren
Jeremy Latt
81df7b4a5c
comments and improvements for client set
vor 10 Jahren
Jeremy Latt
33df043961
fix CAP messages
vor 10 Jahren
Jeremy Latt
cf76d2bd77
persist and load channel mask lists
vor 10 Jahren