srvx.git
11 years agoMerge branch 'HostServ' of ssh://git.pk910.de:16110/srvx into HostServ
NurPech [Mon, 7 Jan 2013 20:44:11 +0000 (21:44 +0100)]
Merge branch 'HostServ' of ssh://git.pk910.de:16110/srvx into HostServ

11 years agoadded command oset
NurPech [Mon, 7 Jan 2013 20:42:59 +0000 (21:42 +0100)]
added command oset

see: http://bugtrack.pk910.de/view.php?id=69

11 years agoremove manager entry from slfh's when a user gets added to the tlfh manager list
pk910 [Mon, 7 Jan 2013 20:41:10 +0000 (21:41 +0100)]
remove manager entry from slfh's when a user gets added to the tlfh manager list

11 years agofixed linked list failure (used wrong pointer)
pk910 [Mon, 7 Jan 2013 20:34:01 +0000 (21:34 +0100)]
fixed linked list failure (used wrong pointer)

11 years agosmall fixes to last commit
pk910 [Mon, 7 Jan 2013 20:01:35 +0000 (21:01 +0100)]
small fixes to last commit

11 years agoMerge branch 'HostServ' of ssh://git.pk910.de:16110/srvx into HostServ
pk910 [Mon, 7 Jan 2013 19:54:30 +0000 (20:54 +0100)]
Merge branch 'HostServ' of ssh://git.pk910.de:16110/srvx into HostServ

Conflicts:
src/mod-hostserv.c

11 years agorewrote big parts of the code to prevent big code duplicates
pk910 [Mon, 7 Jan 2013 19:36:13 +0000 (20:36 +0100)]
rewrote big parts of the code to prevent big code duplicates

11 years agobugfixes and some polishing
NurPech [Mon, 7 Jan 2013 19:06:39 +0000 (20:06 +0100)]
bugfixes and some polishing

11 years agoMerge branch 'HostServ' of ssh://git.pk910.de:16110/srvx into HostServ
NurPech [Mon, 7 Jan 2013 18:07:43 +0000 (19:07 +0100)]
Merge branch 'HostServ' of ssh://git.pk910.de:16110/srvx into HostServ

Conflicts:
src/mod-hostserv.c

11 years agodeleted possibility for adding an asterisk as toplevel
NurPech [Mon, 7 Jan 2013 17:49:41 +0000 (18:49 +0100)]
deleted possibility for adding an asterisk as toplevel

11 years agodeleted possibility for adding an asterisk as toplevel
NurPech [Mon, 7 Jan 2013 17:49:41 +0000 (18:49 +0100)]
deleted possibility for adding an asterisk as toplevel

11 years agoadded cmd_renamehost to HostServ module
pk910 [Mon, 7 Jan 2013 12:09:17 +0000 (13:09 +0100)]
added cmd_renamehost to HostServ module

11 years agofixed #0000071 (first assignment always got active on reload)
pk910 [Sun, 6 Jan 2013 23:41:48 +0000 (00:41 +0100)]
fixed #0000071 (first assignment always got active on reload)

11 years agobugfix for double free error when you stop srvx
NurPech [Sat, 5 Jan 2013 02:25:45 +0000 (03:25 +0100)]
bugfix for double free error when you stop srvx

see: http://bugtrack.pk910.de/view.php?id=68

11 years agoupdated helpfile
NurPech [Fri, 4 Jan 2013 21:49:24 +0000 (22:49 +0100)]
updated helpfile

11 years agodeleted obsolete checks
NurPech [Fri, 4 Jan 2013 21:29:05 +0000 (22:29 +0100)]
deleted obsolete checks

11 years agofixed another NULL pointer crash in the same function (see previous commit)
pk910 [Fri, 4 Jan 2013 21:15:15 +0000 (22:15 +0100)]
fixed another NULL pointer crash in the same function (see previous commit)

11 years agofixed NULL pointer crash when returning to default fakehost
pk910 [Fri, 4 Jan 2013 21:11:20 +0000 (22:11 +0100)]
fixed NULL pointer crash when returning to default fakehost

11 years agoupdated configuration block comment
pk910 [Fri, 4 Jan 2013 20:20:34 +0000 (21:20 +0100)]
updated configuration block comment

11 years agofixed some compiler warnings and prevent duplicate assignments
pk910 [Fri, 4 Jan 2013 20:11:23 +0000 (21:11 +0100)]
fixed some compiler warnings and prevent duplicate assignments

11 years agoMerge branch 'HostServ' of ssh://git.pk910.de:16110/srvx into HostServ
pk910 [Fri, 4 Jan 2013 20:05:47 +0000 (21:05 +0100)]
Merge branch 'HostServ' of ssh://git.pk910.de:16110/srvx into HostServ

11 years agofixed hostserv codestyle and some (undetected) bugs
pk910 [Fri, 4 Jan 2013 20:05:12 +0000 (21:05 +0100)]
fixed hostserv codestyle and some (undetected) bugs

11 years agodeleted obsolete includes
NurPech [Fri, 4 Jan 2013 18:54:11 +0000 (19:54 +0100)]
deleted obsolete includes

11 years agoupdated Helpfile for module HostServ
NurPech [Wed, 2 Jan 2013 17:37:39 +0000 (18:37 +0100)]
updated Helpfile for module HostServ

renamed command to delete an assignment

11 years agofixed Helpfile
NurPech [Wed, 2 Jan 2013 04:30:45 +0000 (05:30 +0100)]
fixed Helpfile

Updated makefile

11 years agobugfix in function to revoke an assignment.
NurPech [Wed, 2 Jan 2013 04:23:33 +0000 (05:23 +0100)]
bugfix in function to revoke an assignment.

11 years agobugfix for segmentation fault when you would delete a Fakehostgroup with active assig...
NurPech [Wed, 2 Jan 2013 03:37:58 +0000 (04:37 +0100)]
bugfix for segmentation fault when you would delete a Fakehostgroup with active assignemnts

11 years agofixed hs_del_toplevel and assignment removal && codestyle
pk910 [Wed, 2 Jan 2013 03:09:01 +0000 (04:09 +0100)]
fixed hs_del_toplevel and assignment removal && codestyle

11 years agoupdated Copyright informations
NurPech [Tue, 1 Jan 2013 19:37:18 +0000 (20:37 +0100)]
updated Copyright informations

11 years agoNurPech@nextirc.net
NurPech [Tue, 1 Jan 2013 18:28:59 +0000 (19:28 +0100)]
NurPech@nextirc.net

11 years agoadded saxdb_read and saxdb_write functions
pk910 [Tue, 1 Jan 2013 18:19:13 +0000 (19:19 +0100)]
added saxdb_read and saxdb_write functions

11 years agofixed hostserv functions & continued basic functions
NurPech [Tue, 1 Jan 2013 18:12:56 +0000 (19:12 +0100)]
fixed hostserv functions & continued basic functions

11 years agoadded essential HostServ functions
pk910 [Tue, 1 Jan 2013 17:57:01 +0000 (18:57 +0100)]
added essential HostServ functions

11 years agoimplemented set KeepConn time function for later use (relay command)
pk910 [Wed, 26 Dec 2012 07:24:55 +0000 (08:24 +0100)]
implemented set KeepConn time function for later use (relay command)

11 years agofixed git-less compilation
pk910 [Mon, 17 Dec 2012 22:01:38 +0000 (23:01 +0100)]
fixed git-less compilation

11 years agofixed crash caused by 1369871 (NULL pointer)
pk910 [Fri, 2 Nov 2012 15:28:25 +0000 (16:28 +0100)]
fixed crash caused by 1369871 (NULL pointer)
Thank you Pierre Schweitzer for simply pushing NULL into
nickserv_addmask without checking if it can handle it :)

11 years agoUse nickserv_addmask when adding a new mask to an account (on auth/register). This...
Pierre Schweitzer [Thu, 5 Apr 2012 15:34:14 +0000 (17:34 +0200)]
Use nickserv_addmask when adding a new mask to an account (on auth/register). This prevents that the same mask is added twice (in case of numerical IP under certain circumstances)

11 years agofixed double free or corruption in nickserv.c
pk910 [Thu, 28 Jun 2012 06:34:12 +0000 (08:34 +0200)]
fixed double free or corruption in nickserv.c

12 years agofixed bug in advtopic code
pk910 [Sat, 3 Mar 2012 09:04:03 +0000 (10:04 +0100)]
fixed bug in advtopic code

12 years agoMerge branch 'master' of ssh://git.pk910.de:16110/srvx
pk910 [Sat, 3 Mar 2012 08:54:30 +0000 (09:54 +0100)]
Merge branch 'master' of ssh://git.pk910.de:16110/srvx

12 years agotidied up advtopic code
pk910 [Sat, 3 Mar 2012 08:53:35 +0000 (09:53 +0100)]
tidied up advtopic code

12 years agoupdated example config
lukas9950 [Sat, 18 Feb 2012 16:44:28 +0000 (17:44 +0100)]
updated example config

12 years agoadded AdvTopic (advanced topic) with multiple delimiters
pk910 [Tue, 14 Feb 2012 21:15:28 +0000 (22:15 +0100)]
added AdvTopic (advanced topic) with multiple delimiters

12 years agofixed staff_levels to be required for everyone
pk910 [Tue, 14 Feb 2012 21:12:14 +0000 (22:12 +0100)]
fixed staff_levels to be required for everyone

12 years agofixed cmd_oauthlog (set NICKSERV_MIN_PARMS to 2)
pk910 [Sat, 11 Feb 2012 11:24:20 +0000 (12:24 +0100)]
fixed cmd_oauthlog (set NICKSERV_MIN_PARMS to 2)

12 years agoapplied staff_access patch by ThiefMaster
pk910 [Thu, 9 Feb 2012 16:15:38 +0000 (17:15 +0100)]
applied staff_access patch by ThiefMaster

12 years agofixed missing language entries (missing in giveonership-history-patch)
pk910 [Thu, 9 Feb 2012 12:15:43 +0000 (13:15 +0100)]
fixed missing language entries (missing in giveonership-history-patch)

12 years agoapplied giveownership-history patch by ThiefMaster
pk910 [Thu, 9 Feb 2012 12:07:28 +0000 (13:07 +0100)]
applied giveownership-history patch by ThiefMaster
http://sourceforge.net/tracker/?func=detail&aid=1001261&group_id=31654&atid=403003

12 years agoMerge branch 'master' of ssh://git.pk910.de:16110/srvx
pk910 [Tue, 7 Feb 2012 13:20:11 +0000 (14:20 +0100)]
Merge branch 'master' of ssh://git.pk910.de:16110/srvx

12 years agoadded revoke_mode_a setting
pk910 [Tue, 7 Feb 2012 13:19:36 +0000 (14:19 +0100)]
added revoke_mode_a setting

12 years agoMerge remote branch 'upstream/master'
root [Thu, 2 Feb 2012 21:44:45 +0000 (22:44 +0100)]
Merge remote branch 'upstream/master'

Conflicts:
src/proto-p10.c

12 years agohide password in log files in opt_password (oset password)
pk910 [Mon, 30 Jan 2012 23:43:07 +0000 (00:43 +0100)]
hide password in log files in opt_password (oset password)

12 years agofixed crash in nickserv.c
pk910 [Mon, 30 Jan 2012 20:05:32 +0000 (21:05 +0100)]
fixed crash in nickserv.c

12 years agoAdd a login-on-connect module using XQUERY/XRESPONSE. upstream/master
Michael Poole [Fri, 20 Jan 2012 02:29:15 +0000 (21:29 -0500)]
Add a login-on-connect module using XQUERY/XRESPONSE.

12 years agoSupport ircu's XQUERY and XRESPONSE.
Michael Poole [Fri, 20 Jan 2012 02:29:02 +0000 (21:29 -0500)]
Support ircu's XQUERY and XRESPONSE.

12 years agoFix the modules list for module names ending in c.
Michael Poole [Fri, 20 Jan 2012 02:28:39 +0000 (21:28 -0500)]
Fix the modules list for module names ending in c.

The backslashes in the regular expression \.c\$ were not quoted enough.

12 years agoEnable silent rules for automake (requires automake 1.10 or later).
Michael Poole [Fri, 20 Jan 2012 02:27:56 +0000 (21:27 -0500)]
Enable silent rules for automake (requires automake 1.10 or later).

12 years agoMove m4 support files into m4/ directory.
Michael Poole [Tue, 17 Jan 2012 03:06:49 +0000 (22:06 -0500)]
Move m4 support files into m4/ directory.

automake 1.11 (or something else new in Ubuntu 11.10) complains if
this is not done.

12 years agoadded cmd_oauthlog and fixed cmd_authlog to be user reachable
pk910 [Wed, 11 Jan 2012 14:53:41 +0000 (15:53 +0100)]
added cmd_oauthlog and fixed cmd_authlog to be user reachable

12 years agoupdate LOC hostmask in the authlog when the "real" user connects and show current...
pk910 [Tue, 10 Jan 2012 15:56:54 +0000 (16:56 +0100)]
update LOC hostmask in the authlog when the "real" user connects and show current nick of logged in user in cmd_authlog

12 years agowe can NOT use the numerics used by LOC - great work OGN DEV
pk910 [Tue, 10 Jan 2012 15:49:55 +0000 (16:49 +0100)]
we can NOT use the numerics used by LOC - great work OGN DEV

12 years agoadded authlog
pk910 [Tue, 10 Jan 2012 14:56:05 +0000 (15:56 +0100)]
added authlog

12 years agobuild a better is_valid_email_addr function
pk910 [Sat, 7 Jan 2012 07:14:24 +0000 (08:14 +0100)]
build a better is_valid_email_addr function

12 years agoadded possibility to set custom fields on cmd_search
pk910 [Tue, 3 Jan 2012 20:06:04 +0000 (21:06 +0100)]
added possibility to set custom fields on cmd_search

12 years agochanged set_shows in default config: fixed CtcpUsers, removed not implemented settings
lukas9950 [Tue, 27 Dec 2011 23:29:12 +0000 (00:29 +0100)]
changed set_shows in default config: fixed CtcpUsers, removed not implemented settings

12 years agoMerge branch 'master' of ssh://git.pk910.de:16110/srvx
pk910 [Mon, 26 Dec 2011 14:38:44 +0000 (15:38 +0100)]
Merge branch 'master' of ssh://git.pk910.de:16110/srvx

12 years agohandle kick events even if the target user is a service
pk910 [Mon, 26 Dec 2011 14:38:28 +0000 (15:38 +0100)]
handle kick events even if the target user is a service

12 years agoallow network helpers to see the devnull class of users
lukas9950 [Sun, 25 Dec 2011 22:31:16 +0000 (23:31 +0100)]
allow network helpers to see the devnull class of users

12 years agochanged Watchdog cmd_unregister: added information of unregistrar to part message
lukas9950 [Thu, 15 Dec 2011 19:37:54 +0000 (20:37 +0100)]
changed Watchdog cmd_unregister: added information of unregistrar to part message

12 years agoadded possibility to use register without channel parameter
pk910 [Thu, 15 Dec 2011 17:59:09 +0000 (18:59 +0100)]
added possibility to use register without channel parameter

12 years agoadded channel mode +S (SSLCHAN)
pk910 [Tue, 13 Dec 2011 22:43:40 +0000 (23:43 +0100)]
added channel mode +S (SSLCHAN)

12 years agofixed small memory leak (free old devnull names when setting new ones)
pk910 [Mon, 12 Dec 2011 18:07:54 +0000 (19:07 +0100)]
fixed small memory leak (free old devnull names when setting new ones)

12 years agoignore Bots on opserv_staff_alert and send alert via PRIVMSG
pk910 [Sat, 26 Nov 2011 23:51:46 +0000 (00:51 +0100)]
ignore Bots on opserv_staff_alert and send alert via PRIVMSG

12 years agodon't use empty new_channel_unauthed_join, new_channel_authed_join or new_channel_mes...
pk910 [Sat, 26 Nov 2011 14:34:20 +0000 (15:34 +0100)]
don't use empty new_channel_unauthed_join, new_channel_authed_join or new_channel_message settings

12 years agoactivated new fakehost protocol
pk910 [Thu, 24 Nov 2011 22:59:11 +0000 (23:59 +0100)]
activated new fakehost protocol

12 years agoMerge remote branch 'upstream/master'
root [Wed, 9 Nov 2011 15:27:40 +0000 (16:27 +0100)]
Merge remote branch 'upstream/master'

Conflicts:
src/chanserv.c

12 years agofixed vote commands
pk910 [Wed, 9 Nov 2011 14:53:53 +0000 (15:53 +0100)]
fixed vote commands

12 years agochanged cmd_version informations
lukas9950 [Wed, 2 Nov 2011 00:27:54 +0000 (01:27 +0100)]
changed cmd_version informations

12 years agoMerge remote branch 'upstream/master'
root [Tue, 1 Nov 2011 21:02:19 +0000 (22:02 +0100)]
Merge remote branch 'upstream/master'

12 years agoFix which userData is checked for deny-nonchannel memo sending.
Michael Poole [Mon, 31 Oct 2011 04:12:34 +0000 (00:12 -0400)]
Fix which userData is checked for deny-nonchannel memo sending.

Fixes SourceForge bug #3308832.

src/mod-memoserv.c (memoserv_can_send): Require the recipient to have
    joined a channel for their membership there to count as common
    with the sender.  (This was the original intent.)

12 years agoDo not show "[#channel (500,)]" in a !myaccess list.
Michael Poole [Mon, 31 Oct 2011 03:58:10 +0000 (23:58 -0400)]
Do not show "[#channel (500,)]" in a !myaccess list.

Fixes SourceForge bug #3072634.

src/chanserv.c (cmd_myaccess): Record where the comma was, and remove
    it if nothing was added after it.

12 years agoAllow !trim (for users) to work for helpers.
Michael Poole [Mon, 31 Oct 2011 03:56:13 +0000 (23:56 -0400)]
Allow !trim (for users) to work for helpers.

Fixes SourceForge bug #3081638.

src/chanserv.c (cmd_trim_users): Use GetChannelUser() to check user
  access, so that overrides work.

12 years agoAvoid adding expire_channels() to the timeq on !expire.
Michael Poole [Sun, 30 Oct 2011 22:22:21 +0000 (18:22 -0400)]
Avoid adding expire_channels() to the timeq on !expire.

Fixes SourceForge bug #3000577.

src/chanserv.c (expire_channels): Only (re-)add this function to timeq
    if the data argument is NULL.
  (cmd_expire): Pass a non-NULL pointer when calling expire_channels().

12 years agoRe-fix compilation of src/modcmd.c.
Michael Poole [Sun, 30 Oct 2011 17:32:11 +0000 (13:32 -0400)]
Re-fix compilation of src/modcmd.c.

(I'm not sure why it looked like this compiled before.)

src/modcmd.c (check_alias_args): strtoul has an attribute that makes
  gcc warn if its result is not used, so store (but ignore) its result.

12 years agoFix compilation warnings from gcc 4.6.
Michael Poole [Sun, 30 Oct 2011 17:23:12 +0000 (13:23 -0400)]
Fix compilation warnings from gcc 4.6.

src/chanserv.c (zoot_list): Delete this function.
  (cmd_invite): Remove never-read uData variable.
  (ban_read_helper): Remove never-read bData variable.
src/helpfile.c (vsend_message): Remove never-read expand_pos variable.
src/ioset.c (ioset_buffered_read): Remove never-read fdnum variable.
src/log.c (log_entry_search): Remove never-read last variable.
src/mod-helpserv.c (cmd_add_user): Remove never-read new_user variable.
src/modcmd.c (check_alias_args): Remove never-read tmp variable.
src/nickserv.c (cmd_reclaim): Remove never-read hi variable.
src/proto-p10.c (cmd_topic): Remove never-read chan_ts variable.
  (AddLocalUser): Remove never-read timestamp variable.

12 years agoDocument the ChanServ toy commands.
Michael Poole [Sun, 30 Oct 2011 17:19:41 +0000 (13:19 -0400)]
Document the ChanServ toy commands.

src/chanserv.help: Add documentation for !8ball, !d, !huggle, !ping,
  !unf and !wut.

12 years agoFix MIN_ARGC for ChanServ's !8ball and !d commands.
Michael Poole [Sun, 30 Oct 2011 17:19:08 +0000 (13:19 -0400)]
Fix MIN_ARGC for ChanServ's !8ball and !d commands.

src/chanserv.c (init_chanserv): These commands need at least one argument.

12 years agofixed unused variable warning
pk910 [Sun, 16 Oct 2011 00:01:40 +0000 (02:01 +0200)]
fixed unused variable warning

12 years agoallow IRC Ops unregister protected channels (nodelete override)
pk910 [Sat, 15 Oct 2011 23:58:26 +0000 (01:58 +0200)]
allow IRC Ops unregister protected channels (nodelete override)

12 years agoadded cmd_opme command to chanserv (based on new devnull privilege: OpMe)
pk910 [Wed, 12 Oct 2011 19:09:35 +0000 (21:09 +0200)]
added cmd_opme command to chanserv (based on new devnull privilege: OpMe)

12 years agoadded $U $I $H (moved previous $H to $A)
pk910 [Fri, 26 Aug 2011 09:58:14 +0000 (11:58 +0200)]
added $U $I $H (moved previous $H to $A)

12 years agoignore badwords on channels watchdog isn't in
pk910 [Thu, 25 Aug 2011 02:42:13 +0000 (04:42 +0200)]
ignore badwords on channels watchdog isn't in

12 years agofixed srvx language fail (minimum must NOT be greater than the maximum - it must...
pk910 [Tue, 23 Aug 2011 23:54:55 +0000 (01:54 +0200)]
fixed srvx language fail (minimum must NOT be greater than the maximum - it must be lower ;))

12 years agodon't hide protected channels from Network Helpers in cmd_myaccess
pk910 [Tue, 16 Aug 2011 21:14:25 +0000 (23:14 +0200)]
don't hide protected channels from Network Helpers in cmd_myaccess

12 years agochanged TOKEN of FFAKEHOST2 to NFH
pk910 [Sat, 23 Jul 2011 22:37:07 +0000 (00:37 +0200)]
changed TOKEN of FFAKEHOST2 to NFH

12 years agoactivated the new features
pk910 [Sat, 23 Jul 2011 22:29:59 +0000 (00:29 +0200)]
activated the new features

12 years agofixed a (maybe) error in the database write function (mod-watchdog.c)
pk910 [Sat, 23 Jul 2011 06:12:00 +0000 (08:12 +0200)]
fixed a (maybe) error in the database write function (mod-watchdog.c)

12 years agoKICK user only if he's really in the channel!
pk910 [Fri, 22 Jul 2011 01:38:07 +0000 (03:38 +0200)]
KICK user only if he's really in the channel!

12 years agofixed some syntax errors & tidied up code a little bit
pk910 [Fri, 22 Jul 2011 00:47:29 +0000 (02:47 +0200)]
fixed some syntax errors & tidied up code a little bit

12 years agoextended example configuration file for mod-Watchdog
pk910 [Fri, 22 Jul 2011 00:43:19 +0000 (02:43 +0200)]
extended example configuration file for mod-Watchdog