aboutsummaryrefslogtreecommitdiff
path: root/lib/irc.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Display prefixes in member listDrew DeVault2021-05-311-0/+21
| | | | Closes: https://todo.sr.ht/~emersion/gamja/43
* Pretty-print MOTDSimon Ser2021-05-281-0/+2
|
* Fix TypeError in isHighlightSimon Ser2021-05-281-1/+2
| | | | TypeError: msg.prefix is null
* Add /whois commandDrew DeVault2021-05-271-0/+7
| | | | | This also rigs up some helpers in Client for handling the whois response, which I will use for /ban and /quiet and such shortly.
* lib/client: add Client.cmSimon Ser2021-05-271-0/+1
| | | | | This contains the current connection case-mapping, parsed from the CASEMAPPING ISUPPORT token.
* lib/irc: add case-mapping primitivesSimon Ser2021-05-271-1/+164
| | | | | | irc.CaseMapping contains the basic canonicalization functions for the three supported case-mappings. irc.CaseMapMap is a Map-like class that supports case-mapped keys.
* lib/irc: escape/unescape everything in tagsSimon Ser2021-03-091-2/+2
| | | | | | | | Without the greedy flag on the regexp, String.replace will just replace the first match. While at it, also make sure to convert to a string when formatting tag values. This allows tag values to be e.g. numbers.
* lib/irc: accept tags without valueSimon Ser2021-03-091-7/+11
|
* Extract network name from ISUPPORTSimon Ser2021-01-221-2/+2
|
* Add support for RPL_ISUPPORTSimon Ser2021-01-221-0/+19
|
* Ignore RPL_TOPICWHOTIMESimon Ser2020-09-031-0/+1
| | | | | We don't need this piece of information yet, and we don't want to clutter the server buffer with channel messages.
* Better handle registration errorsSimon Ser2020-08-251-1/+9
|
* Parse all CTCP messagesSimon Ser2020-08-131-0/+25
| | | | We display them nicely, however we never reply to them.
* lib/irc: make isHighlight operate on messagesSimon Ser2020-08-131-1/+9
| | | | Makes it easier to re-use elsewhere.
* Handle RPL_NOTOPICSimon Ser2020-08-031-0/+1
|
* Mark FAIL as an errorSimon Ser2020-07-151-0/+2
|
* Implement chathistory supportSimon Ser2020-07-101-0/+12
|
* Remove outdated TODOSimon Ser2020-07-021-1/+0
|
* Print IRC error messages in redSimon Ser2020-06-291-0/+17
|
* Detect highlightsSimon Ser2020-06-291-0/+44
|
* Avoid String.prototype.replaceAllSimon Ser2020-06-281-9/+13
| | | | Not well supported in web browsers, except Firefox.
* Parse RPL_MYINFOSimon Ser2020-06-261-0/+3
|
* Send WHO query when opening nick bufferSimon Ser2020-06-261-0/+2
|
* Add isChannelSimon Ser2020-06-241-0/+2
|
* Remove assets/Simon Ser2020-06-241-0/+187