Commit Graph

88 Commits

Author SHA1 Message Date
Alexey Sokolov
1665c8640a Fix plurals in some /znc commands (#1354) 2018-03-26 08:47:27 +01:00
Alexey Sokolov
6ca2d5caa0 More translateable strings, #1354 2018-03-25 22:57:05 +01:00
Falk Seidel
d647eaabc0 Welcome to 2018
The same procedure as last year, Miss Sophie?
The same procedure as every year, James.

[skip ci]
2018-01-19 19:38:58 +00:00
Phansa
3189ce7f8a Welcome to 2017
Welcome to 2017

temp

temp2
2017-03-12 20:34:26 -04:00
Alexey Sokolov
6ddede7779 Revert 3382543917 and
00ddcd302f

ListChans for now will behave as before, and ShowChan isn't currently
needed.

See #914
2017-02-24 23:49:18 +00:00
arza
7c53d2106f Hide passwords in listservers output 2016-09-23 18:13:07 +03:00
Alexey Sokolov
cc653efb6b Rename translation methods to be not one letter.
It fixes several warnings, when the name was shadowed by a local "p".
2016-09-12 00:01:45 +01:00
KindOne
3f48d0a01a Remove reference for attaching queries.
This was added in commit 85b84078f8 from pull request 1072.

Pull request 1014 would of made this command possible, but it was never pulled.
2016-08-14 21:12:14 -04:00
Alexey Sokolov
d09a0a0966 Make some strings in core translateable. 2016-01-31 20:09:19 +00:00
Falk Seidel
8f73840e74 Welcome to 2016
🎆  Happy 2016 🎆
2016-01-01 20:11:21 +01:00
Alexey Sokolov
d185d6f22d clang-format: switch tabs to spaces
I like tabs, but I have to admit that spaces make source code more
consistent, because every editor/viewer tends to render tabs differently :(
2015-12-07 00:53:30 +00:00
Alexey Sokolov
3861b6a583 Fix several comments broken by clang-format 2015-12-07 00:53:01 +00:00
Alexey Sokolov
33b0627d75 Add clang-format configuration.
For now, it uses tabs like before, to make the diff easier to read/check.
One of following commits will switch it to spaces.
2015-12-07 00:53:01 +00:00
John Reese
9aff0cd566 See #1147: show new server name when jumping
This updates the connect command in *status to retrieve the next server
object before triggering the jump, thereby allowing it to display the
next server's name rather than a generic message.
2015-10-25 12:41:00 -07:00
Alexey Sokolov
44bbde35ee Revert "Fix #1147: show new server name when jumping" 2015-10-15 08:38:02 +01:00
John Reese
5f79f2d01f Fix #1147: show new server name when jumping
This updates the connect command in *status to retrieve the next server
object before triggering the jump, thereby allowing it to display the
next server's name rather than a generic message.
2015-10-12 16:27:01 -07:00
J-P Nurmi
7f03484899 CClient: add ATTACH command
The main benefit is that (unlike JOIN) ATTACH allows wildcards.
It's also nicely symmetric with DETACH.
2015-09-10 01:12:19 +02:00
J-P Nurmi
832430659f CClient: share the chan detaching code 2015-09-10 01:12:19 +02:00
J-P Nurmi
7916efa997 CClient: share the chan matching code 2015-09-10 01:12:19 +02:00
J-P Nurmi
d19a040f2d Remove flawed Add/Del/List/BindHost(s) (close #983) 2015-08-17 15:35:29 +02:00
J-P Nurmi
4995e7517e Prefer StartsWith(s) over Left(n) == s 2015-08-14 13:51:44 +02:00
J-P Nurmi
d39b20b505 Fix sources to include their respective header 2015-07-14 19:05:23 +02:00
Alexey Sokolov
0b205db494 Merge branch '1.6.x' 2015-04-16 01:24:43 +01:00
Alexey Sokolov
c7b2aea7da Make help non-table more compact. 2015-04-09 21:25:42 +01:00
Alexey Sokolov
926989342c Cleanup CTable after making it not a table earlier 2015-04-09 21:12:21 +01:00
Thomas Kriechbaumer
6fcf4d9ca9 update rehash command description 2015-03-31 14:29:08 +01:00
J-P Nurmi
9814f2a258 Add missing help text for ClearAllBuffers (close #924) 2015-03-12 19:07:00 +01:00
J-P Nurmi
3382543917 Reduce ListChans columns to name & status (#914) 2015-03-06 22:17:01 +01:00
J-P Nurmi
00ddcd302f Add "ShowChan <#chan>" command for showing channel details (#914) 2015-03-06 22:17:00 +01:00
J-P Nurmi
1d09b41540 Last batch of C++11 range-based for loops (#816) 2015-03-01 21:36:28 +01:00
J-P Nurmi
2b0c6e595b Restore CIRCNetwork::ClearQueryBuffer() for convenience
Originally removed when query buffers were introduced in 14a534c.
The ideal name would be plural ClearQueryBuffers() now that there
are multiple query buffers, but use the old name for compatibility
reasons (see https://github.com/kylef/znc-contrib/pull/18).
2015-02-28 20:56:02 +01:00
Alexey Sokolov
2b8e3f997f Merge pull request #883 from jpnurmi/clearallbuffers
Add CLEARALLBUFFERS command (closes #852)
2015-02-26 21:42:55 -08:00
J-P Nurmi
36a03ce29f Fix dead assign/init found by clang static analyzer
Value stored to 'pUser' (during its initialization) is never read
2015-02-26 08:32:49 +01:00
J-P Nurmi
70c0ffb10b Use nullptr (#816)
Changes applied by 'clang-modernize -use-nullptr [...]'
2015-02-25 09:20:20 +01:00
J-P Nurmi
728108913c ClientCommand: C++11 range-based for loops 2015-02-24 09:27:06 +01:00
J-P Nurmi
616690f269 Add CLEARALLBUFFERS command (closes #852) 2015-02-23 22:24:47 +01:00
J-P Nurmi
00b1a7eedf Use CString::StartsWith()
Replace the use of deprecated CString::Equals(str,bool,int) by
CString::StartsWith(str,cs) which is more pleasant to read.
2015-02-18 00:42:25 +01:00
Falk Seidel
2e29d49a53 Welcome to 2015 2014-12-31 11:28:38 +01:00
Alexey Sokolov
2ee19fd415 Make wording of JumpNetwork's help a bit clealer 2014-12-16 21:59:30 +00:00
Alexey Sokolov
4442af724f Validate TLS certificate of IRC server.
Fix #156
2014-11-29 14:25:15 +00:00
J-P Nurmi
f4dc03b125 ListClients: add identifier column 2014-11-12 10:22:34 +01:00
J-P Nurmi
ba1b1da701 Make Detach, EnableChan and DisableChan accept multiple channels
These commands now take a comma/space separated list
2014-10-26 22:18:29 +01:00
J-P Nurmi
6457bd6dc1 Fix #680 - make channels follow user-level settings when appropriate 2014-09-30 00:34:01 +02:00
J-P Nurmi
2901225ff3 Tell user about no help filter matches
It's confusing if misspelled command gives no reply at all.
2014-09-13 22:48:21 +02:00
J-P Nurmi
69e65ea45e Allow wildcards in help command args
Supports the help command for *status, all modules that are using
CModCommand as appropriate, and *controlpanel get/set variables.
2014-09-13 22:46:54 +02:00
Alexey Sokolov
8ec2a0940c Merge pull request #629 from jpnurmi/help
Revise *status and *controlpanel help output
2014-09-07 16:24:49 +01:00
J-P Nurmi
2e42f3103c Fix #624: Can´t rename network via webinterface 2014-09-06 23:15:50 +02:00
J-P Nurmi
aec99ea213 Revise *status help output
Make it possible to output help for given command(s) and align
casing & arguments in general help & command specific usage output.
2014-09-06 21:14:35 +02:00
J-P Nurmi
14a534c953 Full-fledged query buffers
Store query buffers per query the same way it's done for channels.

This allows clients to implement persistent query buffers. Queries
remain open across clients and sessions until a client explicitly
sends a command to clear a (closed) query buffer.

A new config option AutoClearQueryBuffer that default to false
ensures behavioral backwards compatibility, and another config
MaxQueries protects from OOM eg. due to PM attacks.
2014-08-04 10:04:21 +02:00
Thomas Ward
12d81e1d4e Reword ClearBindHost/ClearUserBindHost success msg
The ClearBindHost and ClearUserBindHost success messages do not make a distinction on whether it's a network bind host that's being cleared or whether it's a user bind host that's being cleared.  I think that this should be reworded to make the distinction.
2014-03-26 20:10:15 -04:00