Commit Graph

3424 Commits

Author SHA1 Message Date
Kyle Fuller 1aec51876b Merge pull request #584 from Mkaysi/folks
modules/autoop.cpp & autovoice.cpp: Be more gender neutral.
2014-06-27 16:20:01 +01:00
Mikaela Suomalainen 19ab051c12 Make autoop & autovoice gender neutral. 2014-06-27 08:55:39 +03:00
Alexey Sokolov 1271580567 Merge pull request #560 from ahf/join-channels-on-connect
Start joining channels immediately after connect
2014-06-21 22:56:47 +01:00
Alexander Færøy 2521d64a1c Add PING_TIMEOUT constant to CIRCNetwork 2014-06-18 21:04:20 +02:00
Alexander Færøy 1e9e029227 Start joining channels as soon as we are connected 2014-06-18 21:04:20 +02:00
Alexander Færøy 299f3aa637 Split CUserTimer into CIRCNetworkPingTimer and CIRCNetworkJoinTimer
This patch splits CUserTimer into two other timers:

CIRCNetworkPingTimer: This timer sends PING messages to connected
client's and IRC servers.

CIRCNetworkJoinTimer: This timer enforces the MaxJoin setting by only
allowing a specified amount of channels to join at the same time.

JoinChans() is modified to reset the ping timer once we hit the MaxJoin.
This allows us to call it from any function without breaking the timing
logic.
2014-06-18 21:04:20 +02:00
Alexander Færøy ef1639e7e0 Join channels immediately after spoof if set
This patch makes the client start joining its channels as soon as its
spoof if set, if the user uses JoinAfterCloaked.
2014-06-18 21:04:20 +02:00
Alexey Sokolov 93d2eec4db Update Csocket to ef6bcb9d5c1aecd778c5a57604eabdcb5e1ee06e 2014-06-17 23:22:16 +01:00
Alexey Sokolov 64fb99a469 Merge commit 'refs/pull/568/head' of github.com:znc/znc 2014-06-10 21:58:13 +01:00
Alexey Sokolov 2a656f539d If web requests starts not with URI prefix, redirect to root of the prefix
Before it shown the right result even with wrong path (without prefix),
but it worked only with ZNC directly, not via reverse proxy.

Now it won't work with ZNC directly too.
2014-06-10 21:55:38 +01:00
Vasily Fomin c927f9d419 Move CSS definition into template file so it can be processed by template engine.
This gives us opportunity to handle URI prefixes.
2014-06-10 22:51:14 +02:00
Vasily Fomin 8dd88374d3 Updated NOTICE file. 2014-06-10 22:34:11 +02:00
Vasily Fomin 5701889531 Changes icon to the [File:External](https://commons.wikimedia.org/wiki/File:External.svg)
NOTICE: icon license is public domain.
2014-06-10 22:14:25 +02:00
Vasily Fomin 0467b69535 Fixes issue #505: Module links in webadmin should use _blank.
Wikipedia "Icon External Link"
(http://commons.wikimedia.org/wiki/File:Icon_External_Link.png)
is being used as an icon for the external link.
2014-06-10 21:30:37 +02:00
Alexey Sokolov a5cd284ad4 Merge pull request #567 from orchid-hybrid/master
autoop: several hostmasks per user
2014-06-08 16:07:29 +01:00
orchid-hybrid b129e209e8 Update autoop.cpp
Fix indentation and key/channels display for users removed by deleting all hostmasks
2014-06-08 10:27:16 -04:00
orchid-hybrid 73f89c79fe Update autoop.cpp
show key and channels when deleting a user by removing all their hostmasks
2014-06-08 10:44:52 +01:00
orchid-hybrid baf14adf0c Update autoop.cpp
Set it so that when you remove all hostmasks of a user, the user is also deleted
2014-06-08 10:18:39 +01:00
orchid-hybrid 9189e4d90c Update autoop.cpp
formatting improvements
2014-06-08 09:58:15 +01:00
orchid-hybrid 20f925de19 Update autoop.cpp
Further improvements to autoop module:

* Tabulate the data vertically with a new column for each hostname
* Rename table column to Hostmasks
* <mask>,[<mask>] inside help for AddHosts
* Help for AddUser updated
2014-06-08 09:38:46 +01:00
orchid-hybrid ba1ff0ec2a Update autoop.cpp
Added support for multiple comma separated hostmasks per user. Added new commands to add and remove hostmasks. Kept the table column names the same so as to not break back-compatability.

I have tested adding and removing several hostmasks for multiple users and checked that it does auto-op them correctly, looks good!
2014-06-08 08:34:17 +01:00
Alexey Sokolov 638b3b58da Merge branch 'master' of github.com:znc/znc 2014-06-01 21:10:40 +01:00
Alexey Sokolov a3f4f1ebd9 Merge commit 'refs/pull/557/head' of github.com:znc/znc 2014-06-01 21:06:25 +01:00
Vasily Fomin 4338ae5cc5 Show empty checkbox if module can be loaded by the topic column.
Fix const correctnes of the CModInfo::SupportsType method.
2014-06-01 21:37:39 +02:00
Alexey Sokolov 4c7a41e1ec Merge pull request #561 from Xe/master
modules/autoreply: Prefer NOTICE over PRIVMSG
2014-06-01 19:22:56 +01:00
Sam Dodrill 9246dc3da4 modules/autoreply: Prefer NOTICE over PRIVMSG
Fixes RFC 1459 compliance and helps prevent bot loops between ZNC and
other chatbots.

Closes issue #556
2014-06-01 10:35:02 -07:00
Vasily Fomin 16b268deef Update pages template so no unnecessary global JS variable is being introduced. 2014-05-30 22:44:26 +02:00
Vasily Fomin 16697d93ce Fixes seg fault with new user page.
Refactor loops and templates so less code is needed.
2014-05-30 00:13:09 +02:00
Alexey Sokolov 66fecf8e97 Merge pull request #559 from ahf/quakenet-join-after-cloaked
Quakenet Join after Cloaked
2014-05-29 22:34:53 +01:00
Alexander Færøy c59e4d1bee Add JoinAfterCloaked setting to q.cpp
This patch adds a new setting to the Q module, JoinAfterCloaked, that
allows the user to specify whether ZNC should postpone joining channels
before the user is cloaked.

Fixes #286
2014-05-29 23:10:38 +02:00
Alexander Færøy db0e0995e2 Add OnJoining module hook.
This patch adds an OnJoining module hook that allows a module to allow
or disallow joining any given channel.
2014-05-29 23:10:30 +02:00
Alexey Sokolov 26af767ea7 Merge pull request #558 from ahf/quakenet-sha256
Use HMAC-SHA-256 instead of HMAC-MD5
2014-05-29 20:40:47 +01:00
Alexander Færøy 2264812a14 Use HMAC-SHA-256 instead of HMAC-MD5 2014-05-29 18:07:01 +02:00
Vasily Fomin 3ad285243d Add "Loaded" flag to the user page. 2014-05-29 17:49:41 +02:00
Vasily Fomin 78f7897dfc Add "Loaded" flag to the network page. 2014-05-29 17:39:48 +02:00
Vasily Fomin 4bdaa3cc22 Add "Loaded" flag to the global settings page. 2014-05-29 17:14:32 +02:00
Thomas Kriechbaumer 5d001cd0e0 added complete changelog in mardown syntax 2014-05-23 17:38:44 +02:00
Alexey Sokolov 4304798a97 Merge pull request #549 from dgw/no-webadmin-arg-autocomplete
Simple solution to #546
2014-05-19 22:44:37 +01:00
Alexey Sokolov 160218ac85 Merge pull request #540 from kobuki/dcc-filename-fix
Receiving DCC transfers fail with certain iroffer daemons
2014-05-19 22:33:55 +01:00
dgw 9aee99608d webadmin: module argument autocomplete="off"
This is a concern for nickserv, and possibly also modules like awaystore.
2014-05-11 16:29:57 -04:00
Alexey Sokolov 3b01efc0fa Add ChangeLog.txt for 1.2 and 1.4
Earlier versions need to be added, and formatting of headers needs to be
changed.

See #545
2014-05-08 21:33:03 +01:00
kobuki 5d13cd9da2 Receiving DCC transfers fail with certain iroffer daemons. The bouncedcc module ignores file name quotes sent by the server (e.g. when the file name contains spaces) and consequently parses the DCC parameters incorrectly.
Fixes #289
2014-05-05 11:48:33 +02:00
Alexey Sokolov 2f0bc0c46c Modpython: fix calling overloaded methods with parameter CString& 2014-05-01 22:20:05 +01:00
Alexey Sokolov aea871e656 Travis: fix showing what is exported from travis_after_all.py 2014-05-01 00:33:50 +01:00
Alexey Sokolov a4996c0e0b Finish fixing travis, no-key-leakage test of previous commit passed. 2014-05-01 00:16:20 +01:00
Alexey Sokolov bfc1fef630 Replace travis keys and don't download travis_after_all.py
Old key got leaked due to
https://developer.github.com/changes/2014-04-25-user-content-security/

This commit tests that the key is not leaked anymore
2014-04-30 23:58:29 +01:00
Alexey Sokolov c89771d561 Improve navigation in webadmin: "Save and continue" 2014-04-26 17:47:58 +01:00
Alexey Sokolov a35385db3a Merge branch 'master' of github.com:znc/znc 2014-04-26 16:45:31 +01:00
Alexey Sokolov 0952ee82e0 Don't set ConnectDelay to zero 2014-04-26 16:45:04 +01:00
Kyle Fuller ed7119b5bc Update to latest version of Csocket
Fixes #536
2014-04-24 19:28:37 +01:00