aboutsummaryrefslogtreecommitdiff
path: root/commands.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* commands: drop unvoiceSimon Ser2024-02-151-5/+0
| | | | | We have devoice already, and that's the one defined in popular clients such as WeeChat.
* Migrate to async/awaitSimon Ser2023-04-191-9/+8
|
* commands: fix TypeError in kickbanSimon Ser2022-04-141-15/+17
| | | | The ban variable was undefined.
* commands: add password param to /joindelthas2022-02-021-2/+6
|
* commands: add comment param to /kick usageSimon Ser2022-01-311-1/+1
|
* commands: simplify /who usage stringSimon Ser2022-01-091-1/+1
| | | | As per https://modern.ircdocs.horse/#who-message
* Add away commandRafael Castillo2021-12-131-0/+11
|
* lib/irc: add CapRegistrySimon Ser2021-12-101-1/+2
|
* commands: Add LIST commandCara Salter2021-11-181-0/+8
| | | | Signed-off-by: Cara Salter <cara@devcara.com>
* Get rid of a wild var keywordSimon Ser2021-09-061-1/+1
|
* Add message arg to /querySimon Ser2021-07-211-1/+6
| | | | Closes: https://todo.sr.ht/~emersion/gamja/94
* Add /whowas commandSimon Ser2021-07-031-0/+11
|
* Improve composer form indentationSimon Ser2021-06-221-1/+1
|
* Add /unvoiceSimon Ser2021-06-111-0/+5
|
* Add /quiet and /unquietSimon Ser2021-06-111-0/+21
|
* Mark server buffer as unread after server query commandSimon Ser2021-06-101-1/+16
| | | | | | | When a command will print its reply in the server buffer, mark it as unread to make it more obvious where to look. Closes: https://todo.sr.ht/~emersion/gamja/53
* s/var/let/Simon Ser2021-06-101-40/+40
|
* Fix /me failing in user query buffersSimon Ser2021-06-091-2/+10
| | | | This is a regression.
* Add support for /mode without argumentsSimon Ser2021-06-071-3/+3
|
* Remove App.isChannelSimon Ser2021-06-041-1/+1
| | | | | Replace all remaining usage with Client.isChannel. Client will be able to use the ISUPPORT tokens to check if a name is a channel.
* s/network/server/Simon Ser2021-06-031-1/+1
| | | | Closes: https://todo.sr.ht/~emersion/gamja/46
* Make command descriptions more consistentSimon Ser2021-06-031-9/+9
|
* Add /unbanSimon Ser2021-06-031-12/+14
|
* Add getActiveChannelSimon Ser2021-06-031-48/+30
| | | | Simplifies the command logic
* Make getActiveClient throw an error if disconnectedSimon Ser2021-06-031-1/+1
|
* Add support for /ban without argumentSimon Ser2021-06-031-30/+43
|
* Add /whoSimon Ser2021-05-311-1/+8
|
* Remove unnecessary if in /banSimon Ser2021-05-311-3/+0
| | | | If whois info is unavailable, the promise is rejected.
* Add /lusers commandDrew DeVault2021-05-291-0/+7
|
* Add /invite commandDrew DeVault2021-05-291-0/+17
|
* Add /voice, /devoiceDrew DeVault2021-05-291-26/+27
| | | | | This also generalizes the logic for these commands along with /op and /deop.
* Simplify /query usage stringSimon Ser2021-05-281-1/+1
|
* Add /motdSimon Ser2021-05-281-1/+8
|
* Add /ban, /kickban commandsDrew DeVault2021-05-271-13/+57
|
* Add /whois commandDrew DeVault2021-05-271-0/+11
| | | | | This also rigs up some helpers in Client for handling the whois response, which I will use for /ban and /quiet and such shortly.
* Add /op, /deop commandsDrew DeVault2021-05-271-0/+34
|
* Fix lib/irc.js import path in commands.jsSimon Ser2021-05-271-1/+1
|
* Switch to channel buffer on /joinSimon Ser2021-05-271-1/+1
| | | | Closes: https://todo.sr.ht/~emersion/gamja/37
* /mode: use active buffer if omittedDrew DeVault2021-05-271-0/+8
|
* Add /stats commandDrew DeVault2021-05-271-0/+15
|
* Add /j alias for /joinDrew DeVault2021-05-271-11/+14
|
* Improve command error reportingSimon Ser2021-05-271-1/+1
| | | | state.error is expected to be a String, not an Error.
* Add /quote commandSimon Ser2021-05-271-0/+14
| | | | Closes: https://todo.sr.ht/~emersion/gamja/22
* Implement /kick and KICK handling in buffersDrew DeVault2021-05-271-0/+16
|
* Introduce store helperSimon Ser2021-05-261-3/+0
| | | | | | | | Responsible for serializing/deserializing data to be saved in localStorage. Add a prefix to all localStorage entries to avoid conflicts with other webapps. Stop guarding against localStorage not existing, browsers can just implement a dumb interface to disable it.
* Add support for IRCv3 setnameSimon Ser2021-05-251-0/+12
|
* Add simple /mode commandSimon Ser2021-05-231-0/+7
|
* Add help section for commandsSimon Ser2021-03-081-77/+128
|
* Add help dialog with keybindings referenceSimon Ser2021-03-081-0/+3
|
* Sort commands by nameSimon Ser2021-03-071-42/+42
|