Closed Bug 144037 Opened 24 years ago Closed 20 years ago

/mode and /oper should be recognized by Chatzilla

Categories

(Other Applications Graveyard :: ChatZilla, defect)

defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: gwalla, Assigned: Gijs)

References

Details

(Whiteboard: [cz-patch][cz-0.9.69])

Attachments

(7 obsolete files)

Currently, Chatzilla responds to /mode and /oper commands with "Unknown command ''mode'', just guessing" and "Unknown command ''oper'', just guessing", respectively. Since both MODE and OPER are implemented on most (all?) IRC servers, this oversight seems particularly odd and looks sloppy. MODE is used for almost all basic channel operation, and OPER is used by IRCops to identify themselves. Neither command requires any special processing beyond suppressing the error message.
*** Bug 152954 has been marked as a duplicate of this bug. ***
Implements a chanmode command to change the togglable channel modes
Just wondering, why "chanmode"? Why not just fix "mode"? Besides, the MODE command is used to change user modes as well as channel modes, so "chanmode" is a bit of a misnomer as well as being longer than it should be.
i used /chanmode instead of /mode since it doesn't implement the ircii /mode command and could be confusing to irc users. i implemented functionality which is missing for my day to day work, feel free to run with the code and implement the full /mode command.
*** Bug 180575 has been marked as a duplicate of this bug. ***
In the current version of CZ, using /raw MODE or /MODE doesn't give any errors. As some people in #chatzilla figured it'd be useful to have it use the current channel, nick or user (in a query view) if the user failed to mention any, I wrote this little thing. It'll implement /mode, but it does no syntax checking whatsoever, so anyone using it should know how to use mode themselves. The pro is that this doesn't 'block' any commands that specific server systems might support, while other servers might not. It's a plugin because I'm too much of a newbie too create a patch. I'll try my hand at it when I have more time.
Product: Core → Other Applications
*** Bug 271251 has been marked as a duplicate of this bug. ***
Marking this to block the tracker bug :-). I would try my hand at this, but I really think bug 282680 needs a fix first. I'm not sure if everyone agrees though, so I'd like some opinions before marking this dependant on that bug.
Blocks: 44423
Attached patch Patch for /oper (obsolete) — Splinter Review
Patch to implement /oper. Allows you not to specify the password and enter it in a cen*****sored dialog box instead, for security reasons and whatnot. Patch for /mode coming up as soon as I have more time available, so taking this bug :-).
Assignee: rginda → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #202155 - Flags: review?(samuel)
Attached patch Same idea, better patch. (obsolete) — Splinter Review
Missed a use of the renamed locale strings. Fixed a fromUnicode nit (thanks James!).
Attachment #202155 - Attachment is obsolete: true
Attachment #202160 - Flags: review?(samuel)
Attachment #202155 - Flags: review?(samuel)
Comment on attachment 202160 [details] [diff] [review] Same idea, better patch. If the password dialog is cancelled, then just abort the command, you don't need to give an error message. Also the help message needs some work. What's a "safe alert"? Yes, *I* know from your description, but what about a user?
Attachment #202160 - Flags: review?(samuel) → review-
Attachment #202160 - Attachment is obsolete: true
Attachment #202260 - Flags: review?(samuel)
Attachment #202260 - Flags: review?(samuel) → review+
Whiteboard: cz-patch
Depends on: 282680
Attached patch Patch for /mode (obsolete) — Splinter Review
Patch for /mode. Syntax-checks the mode string, but doesn't really care about anything else you throw at it. It copes with being used from a channel view without adding the channel name.
Attachment #90146 - Attachment is obsolete: true
Attachment #164466 - Attachment is obsolete: true
Attachment #202643 - Flags: review?(silver)
<tH> Hannibal: i just remembered, /mode can also be used with user modes, so it'd probably be best to call the parameter <target> Done.
Attachment #202643 - Attachment is obsolete: true
Attachment #202655 - Flags: review?(samuel)
Attachment #202643 - Flags: review?(silver)
Argh. Obviously the one but last hunk should have contained: +cmd.mode.help = Changes the channel or user mode of <target> using <modestr> and any subsequent <param> if added. When used from a channel view, <target> may be omitted. For a list of modes you may use, see http://irchelp.org. instead of an accidental reuse of <channelname>
Comment on attachment 202655 [details] [diff] [review] [checked in] Patch with a better name for what we're setting a mode on a reminder to whoever checks it in to make that help text change
Attachment #202655 - Flags: review?(samuel) → review+
Comment on attachment 202260 [details] [diff] [review] [checked in] Patch with a better help text and without thrown error messages Do we want to do any more things for /find, or fix the wrap option on toolkit?
Attachment #202260 - Attachment description: Patch with a better help text and without thrown error messages → [checked in] Patch with a better help text and without thrown error messages
Attachment #202260 - Attachment is obsolete: true
Argh, Bugzilla you suck. That was the OTHER attachment.
Comment on attachment 202260 [details] [diff] [review] [checked in] Patch with a better help text and without thrown error messages This has actually been checked in now.
Comment on attachment 202655 [details] [diff] [review] [checked in] Patch with a better name for what we're setting a mode on Is that it for this bug?
Attachment #202655 - Attachment description: Patch with a better name for what we're setting a mode on → [checked in] Patch with a better name for what we're setting a mode on
Attachment #202655 - Attachment is obsolete: true
(In reply to comment #20) > (From update of attachment 202655 [details] [diff] [review] [edit]) > Is that it for this bug? > I think so, resolving :-). I would check whether the checkin coped with the better help text, but seeing as LXR is down at the moment, I'll just trust Silver :-). Oh, fwiw, the dependency on 282680 was somewhat bogus. I thought I'd need the patches there, it turned out I didn't. Sorry!
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
No longer depends on: 282680
Resolution: --- → FIXED
Whiteboard: cz-patch → [cz-patch][cz-0.9.69]
Status: RESOLVED → VERIFIED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: