]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
10 years agoa4stats: Speed up the DB queries.
Gunnar Beutner [Wed, 26 Feb 2014 18:55:42 +0000 (19:55 +0100)] 
a4stats: Speed up the DB queries.

10 years agoa4stats: Fix compiler warning.
Gunnar Beutner [Wed, 26 Feb 2014 18:45:03 +0000 (19:45 +0100)] 
a4stats: Fix compiler warning.

10 years agoa4stats: Return 'deleted' timestamp for getchannel().
Gunnar Beutner [Wed, 26 Feb 2014 18:44:25 +0000 (19:44 +0100)] 
a4stats: Return 'deleted' timestamp for getchannel().

10 years agoa4stats: Fix a crash in a4stats_update_user_cb.
Gunnar Beutner [Wed, 26 Feb 2014 18:43:59 +0000 (19:43 +0100)] 
a4stats: Fix a crash in a4stats_update_user_cb.

10 years agoa4stats: Add DEFAULT 0 for the channel timestamp.
Gunnar Beutner [Wed, 26 Feb 2014 18:43:45 +0000 (19:43 +0100)] 
a4stats: Add DEFAULT 0 for the channel timestamp.

10 years agoa4stats: Fix incorrect query parameter.
Gunnar Beutner [Wed, 26 Feb 2014 17:29:38 +0000 (18:29 +0100)] 
a4stats: Fix incorrect query parameter.

10 years agoa4stats: Added h0..h23 columns for the channels table.
Gunnar Beutner [Wed, 26 Feb 2014 17:21:00 +0000 (18:21 +0100)] 
a4stats: Added h0..h23 columns for the channels table.

10 years agoa4stats: Keep track of when channels are deleted.
Gunnar Beutner [Tue, 25 Feb 2014 19:15:43 +0000 (20:15 +0100)] 
a4stats: Keep track of when channels are deleted.

10 years agoa4stats: Create another index for the users table.
Gunnar Beutner [Tue, 25 Feb 2014 19:15:25 +0000 (20:15 +0100)] 
a4stats: Create another index for the users table.

10 years agoRename irc matching function and change return type to boolean
Thomas Sader [Sun, 23 Feb 2014 14:52:34 +0000 (15:52 +0100)] 
Rename irc matching function and change return type to boolean

10 years agoExport the mask matching function to lua (to match bans, ignores, etc.).
Thomas Sader [Sun, 23 Feb 2014 14:18:28 +0000 (15:18 +0100)] 
Export the mask matching function to lua (to match bans, ignores, etc.).

10 years agoa4stats: Update API.
Gunnar Beutner [Sun, 23 Feb 2014 14:37:44 +0000 (15:37 +0100)] 
a4stats: Update API.

10 years agolua: Make some of the macros safe for use in single-statement ifs.
Gunnar Beutner [Sat, 22 Feb 2014 21:38:52 +0000 (22:38 +0100)] 
lua: Make some of the macros safe for use in single-statement ifs.

10 years agoUpdate the a4stats API some more.
Gunnar Beutner [Sat, 22 Feb 2014 21:31:06 +0000 (22:31 +0100)] 
Update the a4stats API some more.

10 years agolua: Don't filter events for the onkick/ontopic handlers.
Gunnar Beutner [Sat, 22 Feb 2014 21:09:10 +0000 (22:09 +0100)] 
lua: Don't filter events for the onkick/ontopic handlers.

10 years agoUpdate database schema and add new commands.
Gunnar Beutner [Sat, 22 Feb 2014 14:41:29 +0000 (15:41 +0100)] 
Update database schema and add new commands.

10 years agoa4stats: Initial version.
Gunnar Beutner [Fri, 21 Feb 2014 18:02:21 +0000 (19:02 +0100)] 
a4stats: Initial version.

10 years agodbapi2: Fix result->affected for PostgreSQL.
Gunnar Beutner [Thu, 20 Feb 2014 19:23:12 +0000 (20:23 +0100)] 
dbapi2: Fix result->affected for PostgreSQL.

10 years agolua: Add unload hook.
Gunnar Beutner [Thu, 20 Feb 2014 19:17:45 +0000 (20:17 +0100)] 
lua: Add unload hook.

10 years agodbapi2: Allow prepared arguments (?) to be escaped.
Gunnar Beutner [Wed, 19 Feb 2014 18:27:43 +0000 (19:27 +0100)] 
dbapi2: Allow prepared arguments (?) to be escaped.

10 years agopatrol: Fix a crash in pc_check.
Gunnar Beutner [Tue, 18 Feb 2014 21:08:18 +0000 (22:08 +0100)] 
patrol: Fix a crash in pc_check.

10 years agolua: Implement support for registering lua functions in other modules.
Gunnar Beutner [Tue, 18 Feb 2014 16:54:36 +0000 (17:54 +0100)] 
lua: Implement support for registering lua functions in other modules.

10 years agodbapi2: Keep track of affected rows for UPDATEs.
Gunnar Beutner [Tue, 18 Feb 2014 15:57:13 +0000 (16:57 +0100)] 
dbapi2: Keep track of affected rows for UPDATEs.

10 years agoMake some of the newsearch functions usable with other search types.
Gunnar Beutner [Mon, 17 Feb 2014 23:20:10 +0000 (00:20 +0100)] 
Make some of the newsearch functions usable with other search types.

10 years agoFix indentation.
Gunnar Beutner [Mon, 17 Feb 2014 23:19:51 +0000 (00:19 +0100)] 
Fix indentation.

10 years agonewsearch: Unregister reg_whowassearch.
Gunnar Beutner [Mon, 17 Feb 2014 23:19:36 +0000 (00:19 +0100)] 
newsearch: Unregister reg_whowassearch.

10 years agocontrol: Undo whoisnick change.
Gunnar Beutner [Mon, 17 Feb 2014 20:56:33 +0000 (21:56 +0100)] 
control: Undo whoisnick change.

10 years agoCHANSERV: relay setemail now always return true if email is the same.
Chris Porter [Sun, 16 Feb 2014 20:42:38 +0000 (20:42 +0000)] 
CHANSERV: relay setemail now always return true if email is the same.

--HG--
branch : chanserv-live

10 years agoAdd temporary nickwatches and enforce expiry after 7 days.
Thomas Sader [Sun, 16 Feb 2014 19:58:39 +0000 (20:58 +0100)] 
Add temporary nickwatches and enforce expiry after 7 days.

10 years agoFix a potential invalid memory access in iptobase64.
Thomas Sader [Sun, 16 Feb 2014 13:59:24 +0000 (14:59 +0100)] 
Fix a potential invalid memory access in iptobase64.

10 years agoMake whois functionality usable by other modules.
Gunnar Beutner [Sun, 16 Feb 2014 04:03:37 +0000 (05:03 +0100)] 
Make whois functionality usable by other modules.

10 years agoAdjust trust policy to unthrottle specific clients for iauthd
Thomas Sader [Fri, 14 Feb 2014 14:12:29 +0000 (15:12 +0100)] 
Adjust trust policy to unthrottle specific clients for iauthd

10 years agoIntroduce a last activation property for nickwatches
Thomas Sader [Fri, 14 Feb 2014 14:12:29 +0000 (15:12 +0100)] 
Introduce a last activation property for nickwatches

10 years agochanserv: Revert unintended change to the chanlev command.
Gunnar Beutner [Fri, 14 Feb 2014 05:24:37 +0000 (06:24 +0100)] 
chanserv: Revert unintended change to the chanlev command.

10 years agoCHANSERV: return channel id from relay addchan.
Chris Porter [Fri, 14 Feb 2014 00:01:46 +0000 (00:01 +0000)] 
CHANSERV: return channel id from relay addchan.

--HG--
branch : chanserv-live

10 years agoRename our crc32 and crc32i functions because they conflict with libz.
Gunnar Beutner [Thu, 13 Feb 2014 21:11:46 +0000 (22:11 +0100)] 
Rename our crc32 and crc32i functions because they conflict with libz.

10 years agoImplement libz detection.
Gunnar Beutner [Thu, 13 Feb 2014 21:03:10 +0000 (22:03 +0100)] 
Implement libz detection.

10 years agotrusts_policy: Fix handling socket timeouts and disconnects.
Gunnar Beutner [Thu, 13 Feb 2014 18:39:17 +0000 (19:39 +0100)] 
trusts_policy: Fix handling socket timeouts and disconnects.

10 years agoCHANSERV: add ADDCHAN relay command.
Chris Porter [Wed, 12 Feb 2014 00:35:24 +0000 (00:35 +0000)] 
CHANSERV: add ADDCHAN relay command.

--HG--
branch : chanserv-live

10 years agoCHANSERV: fix bug where usersearch commands reference the wrong authext.
Chris Porter [Sun, 9 Feb 2014 21:25:08 +0000 (21:25 +0000)] 
CHANSERV: fix bug where usersearch commands reference the wrong authext.

--HG--
branch : chanserv-live

10 years agoRemove superfluous checks.
Gunnar Beutner [Sun, 9 Feb 2014 11:02:58 +0000 (12:02 +0100)] 
Remove superfluous checks.

10 years agonterfacer: Fix file descriptor leak.
Gunnar Beutner [Sun, 9 Feb 2014 10:02:52 +0000 (11:02 +0100)] 
nterfacer: Fix file descriptor leak.

10 years agoFix invalid variable reference in printauth().
Gunnar Beutner [Sun, 9 Feb 2014 10:02:30 +0000 (11:02 +0100)] 
Fix invalid variable reference in printauth().

10 years agoirc: Fix uninitialized fields in sockaddr_in.
Gunnar Beutner [Sun, 9 Feb 2014 09:02:51 +0000 (10:02 +0100)] 
irc: Fix uninitialized fields in sockaddr_in.

10 years agoproxyscan: Fix file descriptor leak in createconnectsocket().
Gunnar Beutner [Sun, 9 Feb 2014 08:02:07 +0000 (09:02 +0100)] 
proxyscan: Fix file descriptor leak in createconnectsocket().

10 years agonickrate: Fix file descriptor leak in nr_handlelistensocket().
Gunnar Beutner [Sun, 9 Feb 2014 08:02:55 +0000 (09:02 +0100)] 
nickrate: Fix file descriptor leak in nr_handlelistensocket().

10 years agonickrate: Fix file descriptor leak in nr_openlistensocket().
Gunnar Beutner [Sun, 9 Feb 2014 08:02:53 +0000 (09:02 +0100)] 
nickrate: Fix file descriptor leak in nr_openlistensocket().

10 years agonewsearch: Fix memory leak in registerglobalsearchterm().
Gunnar Beutner [Sun, 9 Feb 2014 08:02:18 +0000 (09:02 +0100)] 
newsearch: Fix memory leak in registerglobalsearchterm().

10 years agoproxyscan: Fix file descriptor leak in loadcachehosts().
Gunnar Beutner [Sun, 9 Feb 2014 08:02:24 +0000 (09:02 +0100)] 
proxyscan: Fix file descriptor leak in loadcachehosts().

10 years agoFix Coverity warnings in nsfree() and nsfreeall().
Gunnar Beutner [Sun, 9 Feb 2014 08:16:16 +0000 (09:16 +0100)] 
Fix Coverity warnings in nsfree() and nsfreeall().

10 years agowhowas: Remove unused #define.
Gunnar Beutner [Sat, 8 Feb 2014 18:10:42 +0000 (19:10 +0100)] 
whowas: Remove unused #define.

10 years agowhowas: Increase the number of records we keep in memory.
Gunnar Beutner [Sat, 8 Feb 2014 18:07:59 +0000 (19:07 +0100)] 
whowas: Increase the number of records we keep in memory.

10 years agonewsearch: Make the age function usable with nicksearch.
Gunnar Beutner [Sat, 8 Feb 2014 18:07:34 +0000 (19:07 +0100)] 
newsearch: Make the age function usable with nicksearch.

10 years agoReplace tabs with spaces.
Gunnar Beutner [Sat, 8 Feb 2014 09:52:53 +0000 (10:52 +0100)] 
Replace tabs with spaces.

10 years agoFix a Coverity warning about dead code.
Gunnar Beutner [Sat, 8 Feb 2014 07:48:43 +0000 (08:48 +0100)] 
Fix a Coverity warning about dead code.

10 years agoFix incorrect sizeof for an snprintf call.
Gunnar Beutner [Sat, 8 Feb 2014 07:47:30 +0000 (08:47 +0100)] 
Fix incorrect sizeof for an snprintf call.

10 years agoFix invalid sizeof for a memset call.
Gunnar Beutner [Sat, 8 Feb 2014 07:46:02 +0000 (08:46 +0100)] 
Fix invalid sizeof for a memset call.

10 years agoMake patrol_isip() use ipmask_parse().
Gunnar Beutner [Sat, 8 Feb 2014 07:44:51 +0000 (08:44 +0100)] 
Make patrol_isip() use ipmask_parse().

10 years agoFix potential null dereference in glinebufwritelog().
Gunnar Beutner [Sat, 8 Feb 2014 07:37:48 +0000 (08:37 +0100)] 
Fix potential null dereference in glinebufwritelog().

10 years agoRemove assert in wwc_derefchannel().
Gunnar Beutner [Sat, 8 Feb 2014 07:31:36 +0000 (08:31 +0100)] 
Remove assert in wwc_derefchannel().

10 years agoFix incorrect for loop condition in registertgext().
Gunnar Beutner [Sat, 8 Feb 2014 07:29:33 +0000 (08:29 +0100)] 
Fix incorrect for loop condition in registertgext().

10 years agoFree memory leak in ps_nick_parse().
Gunnar Beutner [Sat, 8 Feb 2014 07:25:47 +0000 (08:25 +0100)] 
Free memory leak in ps_nick_parse().

10 years agoFix a memory leak in reportprofiles().
Gunnar Beutner [Sat, 8 Feb 2014 07:24:52 +0000 (08:24 +0100)] 
Fix a memory leak in reportprofiles().

10 years agoFix file handle leak in glstore_loadfile().
Gunnar Beutner [Sat, 8 Feb 2014 07:21:56 +0000 (08:21 +0100)] 
Fix file handle leak in glstore_loadfile().

10 years agoFix Coverity warning in versionscan_changelev().
Gunnar Beutner [Sat, 8 Feb 2014 07:18:24 +0000 (08:18 +0100)] 
Fix Coverity warning in versionscan_changelev().

10 years agoAdd ability to set osvars in configure.ini.local and split -fPIC out.
Chris Porter [Sat, 8 Feb 2014 00:31:56 +0000 (00:31 +0000)] 
Add ability to set osvars in configure.ini.local and split -fPIC out.

--HG--
branch : chanserv-live

10 years agoCHANSERV: disable getpassword and spewpassword.
Chris Porter [Fri, 7 Feb 2014 23:58:01 +0000 (23:58 +0000)] 
CHANSERV: disable getpassword and spewpassword.

--HG--
branch : chanserv-live

10 years agoCHANSERV: try and clean submodules more effectively
Chris Porter [Fri, 7 Feb 2014 23:57:06 +0000 (23:57 +0000)] 
CHANSERV: try and clean submodules more effectively

--HG--
branch : chanserv-live

10 years agoCHANSERV: fix message ordering and add a health warning.
Chris Porter [Fri, 7 Feb 2014 23:56:23 +0000 (23:56 +0000)] 
CHANSERV: fix message ordering and add a health warning.

--HG--
branch : chanserv-live

10 years agoMerge default.
Gunnar Beutner [Fri, 7 Feb 2014 19:07:05 +0000 (20:07 +0100)] 
Merge default.

10 years agoMerge default into chanserv-live.
Chris Porter [Fri, 7 Feb 2014 01:42:59 +0000 (01:42 +0000)] 
Merge default into chanserv-live.

--HG--
branch : chanserv-live

10 years agoMerge chanserv-live into default.
Chris Porter [Fri, 7 Feb 2014 01:42:40 +0000 (01:42 +0000)] 
Merge chanserv-live into default.

10 years agoCHANSERV: add setemail command to relay and allow accounts to be created active.
Chris Porter [Fri, 7 Feb 2014 01:40:45 +0000 (01:40 +0000)] 
CHANSERV: add setemail command to relay and allow accounts to be created active.

--HG--
branch : chanserv-live

10 years agoFix null dereference in the "newnick" function.
Gunnar Beutner [Thu, 6 Feb 2014 19:39:39 +0000 (19:39 +0000)] 
Fix null dereference in the "newnick" function.

10 years agoFix an integer overflow when handling ident checks for IAuth clients.
Gunnar Beutner [Wed, 27 Nov 2013 17:08:34 +0000 (18:08 +0100)] 
Fix an integer overflow when handling ident checks for IAuth clients.

10 years agoAllow nested CIDRs with different masks.
Gunnar Beutner [Wed, 9 Oct 2013 07:55:01 +0000 (09:55 +0200)] 
Allow nested CIDRs with different masks.

10 years agoglines: Check if makegline() returned NULL in glines_cmdglist.
Gunnar Beutner [Tue, 8 Oct 2013 18:46:25 +0000 (20:46 +0200)] 
glines: Check if makegline() returned NULL in glines_cmdglist.

10 years agoFix another incorrect module name in the example config.
Gunnar Beutner [Wed, 25 Sep 2013 19:55:30 +0000 (21:55 +0200)] 
Fix another incorrect module name in the example config.

10 years agoDBAPI2: fix initialisation bug (thanks to anders for crash logs)
Chris Porter [Mon, 23 Sep 2013 23:35:42 +0000 (00:35 +0100)] 
DBAPI2: fix initialisation bug (thanks to anders for crash logs)

10 years agoFix incorrect module name in the example config.
Gunnar Beutner [Mon, 23 Sep 2013 17:10:53 +0000 (19:10 +0200)] 
Fix incorrect module name in the example config.

10 years agoAdd the trusts_master module to the example config.
Gunnar Beutner [Mon, 23 Sep 2013 17:10:08 +0000 (19:10 +0200)] 
Add the trusts_master module to the example config.

10 years agoAdded missing files.
QuakeNet repository importer [Mon, 23 Sep 2013 01:04:57 +0000 (02:04 +0100)] 
Added missing files.

10 years agoCHANSERV: split out achievements and achcmds into private area.
Chris Porter [Mon, 23 Sep 2013 00:55:21 +0000 (01:55 +0100)] 
CHANSERV: split out achievements and achcmds into private area.

10 years agoFew alterations to documentation.
Chris Porter [Sun, 22 Sep 2013 23:28:18 +0000 (00:28 +0100)] 
Few alterations to documentation.

10 years agoMerge.
Chris Porter [Sun, 22 Sep 2013 21:38:57 +0000 (22:38 +0100)] 
Merge.

10 years agoMerge.
Chris Porter [Sun, 22 Sep 2013 21:05:25 +0000 (22:05 +0100)] 
Merge.

10 years agoLUALIB: ontlz now checks that the user is opered.
Chris Porter [Sun, 22 Sep 2013 19:56:06 +0000 (20:56 +0100)] 
LUALIB: ontlz now checks that the user is opered.

10 years agoMerge.
Chris Porter [Sun, 22 Sep 2013 19:36:22 +0000 (20:36 +0100)] 
Merge.

10 years agoMerge.
Chris Porter [Sun, 22 Sep 2013 19:26:58 +0000 (20:26 +0100)] 
Merge.

10 years agoMerge.
Chris Porter [Sun, 22 Sep 2013 19:25:13 +0000 (20:25 +0100)] 
Merge.

10 years agoMerge.
Chris Porter [Sun, 22 Sep 2013 19:22:35 +0000 (20:22 +0100)] 
Merge.

10 years agoFACEPALM: add module from bdl
Chris Porter [Sun, 22 Sep 2013 19:15:22 +0000 (20:15 +0100)] 
FACEPALM: add module from bdl

10 years agoCHANSERV: still using unburnt keystream due to needing website changes
Chris Porter [Sun, 22 Sep 2013 19:13:02 +0000 (20:13 +0100)] 
CHANSERV: still using unburnt keystream due to needing website changes

--HG--
branch : chanserv-live

10 years agowhowas: Another fix for the nick extension.
Gunnar Beutner [Wed, 18 Sep 2013 04:21:50 +0000 (06:21 +0200)] 
whowas: Another fix for the nick extension.

10 years agowhowas: Properly clear nick extension.
Gunnar Beutner [Wed, 18 Sep 2013 04:18:33 +0000 (06:18 +0200)] 
whowas: Properly clear nick extension.

10 years agorequest: Clear nick extension when user is not authed.
Gunnar Beutner [Wed, 18 Sep 2013 04:18:08 +0000 (06:18 +0200)] 
request: Clear nick extension when user is not authed.

10 years agopatrol_commands: Fix crash.
Gunnar Beutner [Wed, 18 Sep 2013 04:17:46 +0000 (06:17 +0200)] 
patrol_commands: Fix crash.

10 years agopatrol: Make clients change nicks less often.
Gunnar Beutner [Sat, 14 Sep 2013 16:28:17 +0000 (18:28 +0200)] 
patrol: Make clients change nicks less often.

10 years agoImplement patroljoin, patrolpart and patrollist commands.
Gunnar Beutner [Sat, 14 Sep 2013 11:54:25 +0000 (13:54 +0200)] 
Implement patroljoin, patrolpart and patrollist commands.

10 years agoTROJANSCAN: make T join less often and part after a longer time
Chris Porter [Sun, 1 Sep 2013 23:46:37 +0000 (00:46 +0100)] 
TROJANSCAN: make T join less often and part after a longer time