]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
8 years agoTRUSTS: require sqlite
Chris Porter [Sun, 17 Jan 2016 15:35:01 +0000 (15:35 +0000)] 
TRUSTS: require sqlite

--HG--
branch : chanserv-live

8 years agoCHANSERV: fix 7h cleanup time
Chris Porter [Sun, 17 Jan 2016 15:34:52 +0000 (15:34 +0000)] 
CHANSERV: fix 7h cleanup time

--HG--
branch : chanserv-live

8 years agoCHANSERV: fix batcher rc4 burning in password urls
Chris Porter [Mon, 28 Dec 2015 02:00:16 +0000 (02:00 +0000)] 
CHANSERV: fix batcher rc4 burning in password urls

--HG--
branch : chanserv-live

9 years agoBUILD: improve workspace mechanism
Chris Porter [Mon, 2 Feb 2015 01:02:49 +0000 (01:02 +0000)] 
BUILD: improve workspace mechanism

9 years agoHELPMOD2: don't ignore +h clients
Chris Porter [Mon, 19 Jan 2015 20:49:28 +0000 (20:49 +0000)] 
HELPMOD2: don't ignore +h clients

9 years agoIRC: add ipv6 support for hub connections
Chris Porter [Mon, 22 Dec 2014 17:34:36 +0000 (17:34 +0000)] 
IRC: add ipv6 support for hub connections

9 years agoCHANSERV: authtracker now keeps 240 days history
Chris Porter [Mon, 20 Oct 2014 00:11:40 +0000 (01:11 +0100)] 
CHANSERV: authtracker now keeps 240 days history

--HG--
branch : chanserv-live

9 years agoCHANSERV: remove E type escapes
Chris Porter [Mon, 20 Oct 2014 00:11:21 +0000 (01:11 +0100)] 
CHANSERV: remove E type escapes

--HG--
branch : chanserv-live

9 years agoCHANSERV: better batcher error handling for expired accounts/accounts with no email.
Chris Porter [Sun, 12 Oct 2014 12:20:31 +0000 (13:20 +0100)] 
CHANSERV: better batcher error handling for expired accounts/accounts with no email.

--HG--
branch : chanserv-live

9 years agoCHANSERV: remove accidental sendemail from SETEMAIL command.
Chris Porter [Sun, 12 Oct 2014 12:20:01 +0000 (13:20 +0100)] 
CHANSERV: remove accidental sendemail from SETEMAIL command.

--HG--
branch : chanserv-live

9 years agoMerge chanserv-live into default.
Chris Porter [Sun, 7 Sep 2014 23:44:27 +0000 (00:44 +0100)] 
Merge chanserv-live into default.

9 years agoCHANSERV: add missing error statements.
Chris Porter [Sun, 7 Sep 2014 23:43:08 +0000 (00:43 +0100)] 
CHANSERV: add missing error statements.

--HG--
branch : chanserv-live

9 years agoMerge chanserv-live into default.
Chris Porter [Sun, 7 Sep 2014 23:35:05 +0000 (00:35 +0100)] 
Merge chanserv-live into default.

9 years agoCHANSERV: add missing error statements.
Chris Porter [Sun, 7 Sep 2014 23:33:27 +0000 (00:33 +0100)] 
CHANSERV: add missing error statements.

--HG--
branch : chanserv-live

9 years agoMerge default into chanserv-live.
Chris Porter [Sun, 7 Sep 2014 22:37:39 +0000 (23:37 +0100)] 
Merge default into chanserv-live.

--HG--
branch : chanserv-live

9 years agoCHANSERV: tell user when they can't attempts to auth any more, and drop max attempts...
Chris Porter [Sun, 7 Sep 2014 22:11:02 +0000 (23:11 +0100)] 
CHANSERV: tell user when they can't attempts to auth any more, and drop max attempts from 10 to 5.

--HG--
branch : chanserv-live

9 years agoCHANSERV: block chars < 32 and chars > 127, as users have trouble authing with the...
Chris Porter [Sun, 7 Sep 2014 22:06:22 +0000 (23:06 +0100)] 
CHANSERV: block chars < 32 and chars > 127, as users have trouble authing with the website and IRC.

--HG--
branch : chanserv-live

9 years agoTRUSTS: use correct socket opt...
Chris Porter [Sun, 13 Jul 2014 19:45:04 +0000 (20:45 +0100)] 
TRUSTS: use correct socket opt...

9 years agoTRUSTS: turn on tcpkeepalive for trust policy sockets.
Chris Porter [Sun, 13 Jul 2014 18:23:04 +0000 (19:23 +0100)] 
TRUSTS: turn on tcpkeepalive for trust policy sockets.

9 years agoMerge.
Chris Porter [Sun, 13 Jul 2014 14:48:09 +0000 (15:48 +0100)] 
Merge.

--HG--
branch : chanserv-live

9 years agoCHANSERV: fix issue where chanserv_relay doesn't wait for db to be loaded before...
Chris Porter [Sun, 13 Jul 2014 14:47:03 +0000 (15:47 +0100)] 
CHANSERV: fix issue where chanserv_relay doesn't wait for db to be loaded before installing control commands.

--HG--
branch : chanserv-live

10 years agoMerge.
Chris Porter [Sun, 6 Jul 2014 00:02:45 +0000 (01:02 +0100)] 
Merge.

10 years agoTRUSTS: NO_RELAY doesn't allow opers -- add trustlistrelay for the relay and switch...
Chris Porter [Sun, 6 Jul 2014 00:01:59 +0000 (01:01 +0100)] 
TRUSTS: NO_RELAY doesn't allow opers -- add trustlistrelay for the relay and switch trustlist back to NO_OPER.

10 years agoMerge.
Chris Porter [Sun, 29 Jun 2014 20:57:45 +0000 (21:57 +0100)] 
Merge.

--HG--
branch : chanserv-live

10 years agoCHANSERV: don't allow non-opers to see last realhosts in AUTHHISTORY / WHOIS
Chris Porter [Sun, 29 Jun 2014 20:32:06 +0000 (21:32 +0100)] 
CHANSERV: don't allow non-opers to see last realhosts in AUTHHISTORY / WHOIS

--HG--
branch : chanserv-live

10 years agolua: maintain consistency - change functions to use numeric instead of nick.
nVIR [Thu, 26 Jun 2014 18:29:50 +0000 (19:29 +0100)] 
lua: maintain consistency - change functions to use numeric instead of nick.

10 years agoFix null pointer dereference in the glines module.
Gunnar Beutner [Thu, 26 Jun 2014 18:59:23 +0000 (20:59 +0200)] 
Fix null pointer dereference in the glines module.

10 years agoMerge default.
Gunnar Beutner [Thu, 26 Jun 2014 17:13:45 +0000 (19:13 +0200)] 
Merge default.

10 years agolua: Export nickmatchban, nickistrusted, nickbanned to the lua module and use the...
nVIR [Thu, 26 Jun 2014 17:09:21 +0000 (18:09 +0100)] 
lua: Export nickmatchban, nickistrusted, nickbanned to the lua module and use the gline module to suggest banmasks.

10 years agoTRUSTS: alter trustlist output to be parseable by scripts.
Chris Porter [Wed, 25 Jun 2014 19:58:28 +0000 (20:58 +0100)] 
TRUSTS: alter trustlist output to be parseable by scripts.

10 years agoTRUSTS: fix silly typos in trustlist output.
Chris Porter [Wed, 25 Jun 2014 19:43:24 +0000 (20:43 +0100)] 
TRUSTS: fix silly typos in trustlist output.

10 years agoTRUSTS: add support for trustlist by Q account, and allow the relay to use it.
Chris Porter [Wed, 25 Jun 2014 19:34:58 +0000 (20:34 +0100)] 
TRUSTS: add support for trustlist by Q account, and allow the relay to use it.

10 years agoMerge.
Gunnar Beutner [Sat, 21 Jun 2014 14:48:49 +0000 (16:48 +0200)] 
Merge.

10 years agoWHOWAS: fix memory leaks and make entries configurable
Chris Porter [Sun, 15 Jun 2014 23:49:09 +0000 (00:49 +0100)] 
WHOWAS: fix memory leaks and make entries configurable

10 years agoPATRICIA: add leak detection code to patricia (instead of refcounting always return...
Chris Porter [Sun, 15 Jun 2014 23:48:15 +0000 (00:48 +0100)] 
PATRICIA: add leak detection code to patricia (instead of refcounting always return a copy)

10 years agoMerge.
Chris Porter [Sun, 1 Jun 2014 22:35:34 +0000 (23:35 +0100)] 
Merge.

10 years agoCHANSERV: better (but still not perfect) email regex.
Chris Porter [Sun, 1 Jun 2014 21:39:53 +0000 (22:39 +0100)] 
CHANSERV: better (but still not perfect) email regex.
also drops posix regex for pcre (already a dependency).

--HG--
branch : chanserv-live

10 years agoGLINE: remove debug spam
Chris Porter [Sun, 1 Jun 2014 11:29:43 +0000 (12:29 +0100)] 
GLINE: remove debug spam

--HG--
branch : chanserv-live

10 years agoCrash fix due to NULL channel var
nVIR [Thu, 29 May 2014 13:05:47 +0000 (14:05 +0100)] 
Crash fix due to NULL channel var

10 years agoa4stats: use transactions
Thomas Sader [Sun, 11 May 2014 00:00:10 +0000 (02:00 +0200)] 
a4stats: use transactions

10 years agospeed up unchanged build by a factor of 1000 or so.
Chris Porter [Sun, 4 May 2014 17:40:47 +0000 (18:40 +0100)] 
speed up unchanged build by a factor of 1000 or so.

--HG--
branch : chanserv-live

10 years agoIRC: attempt to handle SIGPIPE without terminating
Chris Porter [Sun, 4 May 2014 17:19:42 +0000 (18:19 +0100)] 
IRC: attempt to handle SIGPIPE without terminating

--HG--
branch : chanserv-live

10 years agoa4stats: Add function to set privacy level from lua for privmsg commands.
Thomas Sader [Fri, 2 May 2014 16:56:21 +0000 (18:56 +0200)] 
a4stats: Add function to set privacy level from lua for privmsg commands.

10 years agoMerge default.
Gunnar Beutner [Sat, 10 May 2014 23:35:45 +0000 (01:35 +0200)] 
Merge default.

10 years agoa4stats: Remove a4stats_fetch_user function.
Gunnar Beutner [Sat, 10 May 2014 23:35:23 +0000 (01:35 +0200)] 
a4stats: Remove a4stats_fetch_user function.

10 years agoa4stats: Fix two cases where the DB result was not cleaned up properly.
Thomas Sader [Thu, 8 May 2014 20:32:48 +0000 (22:32 +0200)] 
a4stats: Fix two cases where the DB result was not cleaned up properly.

10 years agoMerge.
Chris Porter [Sun, 4 May 2014 17:41:04 +0000 (18:41 +0100)] 
Merge.

10 years agoa4stats: Add missing DB result clear calls in cleanup process.
Thomas Sader [Fri, 2 May 2014 15:50:45 +0000 (17:50 +0200)] 
a4stats: Add missing DB result clear calls in cleanup process.

10 years agonterfacer: Fix bounds check.
CuleX [Wed, 30 Apr 2014 17:03:37 +0000 (19:03 +0200)] 
nterfacer: Fix bounds check.

10 years agoa4stats: Change default privacy to '1' (presence required).
Gunnar Beutner [Sat, 26 Apr 2014 12:19:29 +0000 (14:19 +0200)] 
a4stats: Change default privacy to '1' (presence required).

10 years agoCHANSERV: alter default modes for relay addchan.
Chris Porter [Tue, 22 Apr 2014 22:59:59 +0000 (23:59 +0100)] 
CHANSERV: alter default modes for relay addchan.

--HG--
branch : chanserv-live

10 years agoFix the _fini handler for chanfix.
Gunnar Beutner [Sun, 20 Apr 2014 18:13:19 +0000 (20:13 +0200)] 
Fix the _fini handler for chanfix.

10 years agoa4stats: Implement privacy changes.
Gunnar Beutner [Thu, 17 Apr 2014 10:37:22 +0000 (12:37 +0200)] 
a4stats: Implement privacy changes.

10 years agolua/glines: Fix the feedback of lua scripts setting G-lines to show the host or trust...
Thomas Sader [Tue, 15 Apr 2014 16:26:02 +0000 (18:26 +0200)] 
lua/glines: Fix the feedback of lua scripts setting G-lines to show the host or trustgroup affected.

10 years agochannel: Don't trigger the CHANNEL_PART hook for ghost parts after a kick, the user...
Thomas Sader [Tue, 15 Apr 2014 16:11:15 +0000 (18:11 +0200)] 
channel: Don't trigger the CHANNEL_PART hook for ghost parts after a kick, the user is already removed from the channel on kick. Found by Phiil.

10 years agoMerge default.
Gunnar Beutner [Tue, 15 Apr 2014 18:39:26 +0000 (20:39 +0200)] 
Merge default.

10 years agoglines: Fix that the block command ignores -c.
Thomas Sader [Tue, 15 Apr 2014 16:11:04 +0000 (18:11 +0200)] 
glines: Fix that the block command ignores -c.

10 years agoCHANSERV: default flags for relay addchan now +abfjpt.
Chris Porter [Sun, 13 Apr 2014 19:57:00 +0000 (20:57 +0100)] 
CHANSERV: default flags for relay addchan now +abfjpt.

--HG--
branch : chanserv-live

10 years agoMerge chanserv-live into default.
Chris Porter [Sat, 22 Mar 2014 12:26:57 +0000 (12:26 +0000)] 
Merge chanserv-live into default.

10 years agoa4stats: Fix cleanup interval to be one day.
Thomas Sader [Thu, 20 Mar 2014 17:42:46 +0000 (18:42 +0100)] 
a4stats: Fix cleanup interval to be one day.

10 years agoa4stats: Show module name in cleanup notices (+a).
Thomas Sader [Tue, 11 Mar 2014 14:40:54 +0000 (15:40 +0100)] 
a4stats: Show module name in cleanup notices (+a).

10 years agoDelete data for channels that have been disabled for 5 days.
Thomas Sader [Mon, 10 Mar 2014 19:32:32 +0000 (20:32 +0100)] 
Delete data for channels that have been disabled for 5 days.

10 years agoa4stats: Fix getuserrelations query.
Gunnar Beutner [Mon, 10 Mar 2014 05:37:25 +0000 (06:37 +0100)] 
a4stats: Fix getuserrelations query.

10 years agoDeactivate eventless channels after 30 days.
Thomas Sader [Sun, 9 Mar 2014 20:50:48 +0000 (21:50 +0100)] 
Deactivate eventless channels after 30 days.

10 years agoPeriodically clean up old topics and kicks.
Thomas Sader [Sun, 9 Mar 2014 15:03:42 +0000 (16:03 +0100)] 
Periodically clean up old topics and kicks.

10 years agoAdd a new notice flag for automated cleanup notices, and move them there.
Thomas Sader [Sun, 9 Mar 2014 15:03:36 +0000 (16:03 +0100)] 
Add a new notice flag for automated cleanup notices, and move them there.

10 years agoFix a segfault when unloading a4stats_db.
Thomas Sader [Sun, 9 Mar 2014 14:58:25 +0000 (15:58 +0100)] 
Fix a segfault when unloading a4stats_db.

10 years agoa4stats: Clean up some of the queries.
Gunnar Beutner [Sat, 8 Mar 2014 16:05:45 +0000 (17:05 +0100)] 
a4stats: Clean up some of the queries.

10 years agoa4stats: Fix incorrect joins.
Gunnar Beutner [Sat, 8 Mar 2014 15:28:20 +0000 (16:28 +0100)] 
a4stats: Fix incorrect joins.

10 years agolua: Adds a nickpusher.isservice to check whether a user is on a services (+s) server.
Thomas Sader [Thu, 6 Mar 2014 21:15:16 +0000 (22:15 +0100)] 
lua: Adds a nickpusher.isservice to check whether a user is on a services (+s) server.

10 years agoa4stats: Implement social graphs.
Gunnar Beutner [Tue, 4 Mar 2014 21:09:53 +0000 (22:09 +0100)] 
a4stats: Implement social graphs.

10 years agoa4stats: Added DB queries for the search bar.
Gunnar Beutner [Sun, 2 Mar 2014 17:45:41 +0000 (18:45 +0100)] 
a4stats: Added DB queries for the search bar.

10 years agoa4stats: Bugfixes and updated queries for PostgreSQL.
Gunnar Beutner [Sat, 1 Mar 2014 16:29:42 +0000 (17:29 +0100)] 
a4stats: Bugfixes and updated queries for PostgreSQL.

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.