Commit Graph

46 Commits

Author SHA1 Message Date
psychon eeec633e30 Update copyright header for 2008
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@910 726aef4b-f618-498e-8847-2d620e286838
2008-01-07 21:13:07 +00:00
psychon 1360effd31 This covers the code changes for the datadir move (which is now finished)
Based on darix' patch I wrote this. Modperl's changes were not tested since I
didn't find someone who could test it. Well...

Ah and btw it regenerates configure


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@902 726aef4b-f618-498e-8847-2d620e286838
2007-12-12 21:15:44 +00:00
psychon b51302be13 Change the list of to-be-deleted users into a std::map
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@893 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 15:16:21 +00:00
psychon a213258c99 Move code for creating CIRCSocks into a CCron and use DynamicSelectLoop
DynamicSelectLoop checks when the next cron runs and sleeps until then (with an
upper and lower border).
To fix the connecting code it needed to be moved into a cron.



git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@860 726aef4b-f618-498e-8847-2d620e286838
2007-11-03 20:04:24 +00:00
psychon a09a7e79f6 Switch to the copyright headers the GPLv2 wants us to have
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@843 726aef4b-f618-498e-8847-2d620e286838
2007-09-21 18:55:33 +00:00
psychon b772e2664e Merged rev 838,888,890,894,899,900,902-904,926,934,963,984-989 from crox's branch:
- Changes to specfile
- define PATH_MAX and RTLD_LOCAL if not defines
- compile fixes
- SetFileName should not set m_iFD
- check for cygwin and do not use -fPIC
- replaced if ... elif with case in configure.in
- handle 437 reply code
- allow disabled channels
- use strerror() in CIRCSock::SockError()
- added GetUser() to CClient and CIRCSock
- added support for traffic accounting
- added names to timers


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@806 726aef4b-f618-498e-8847-2d620e286838
2007-05-17 19:09:17 +00:00
psychon f601db2cd8 merge with rev 932 psychon branch:
- module call for /me's
- timestamps for playback and query buffer
- WALLOP stuff / fix
- properly join channels _after_ namesx or uhnames were set up
- dont screw up raws on reconnect when you ran /lusers
- change default quit msg and version reply to CZNC::GetTag(false)
- change CZNC::GetTag() to point to sf.net
- kind of an rewrite for partyline, added fixed channels (this doesnt work on irssi,
		did it ever work?)
- add the timestamp support to webadmin too
- add ConnectDelay config option to avoid being killed because we connected too fast
- make znc handle usermodes correctly


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@799 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:13:17 +00:00
prozacx 0a62274975 Committing patches from crox/psychon
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@790 726aef4b-f618-498e-8847-2d620e286838
2007-03-12 06:26:54 +00:00
prozacx f8bb245c36 Patched using fix_no_modules_support.patch by psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@768 726aef4b-f618-498e-8847-2d620e286838
2006-09-16 18:26:36 +00:00
prozacx 6dcacaa79e Added contact info
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@752 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 07:39:48 +00:00
imaginos 18f1274913 fixed use of --encrypt-pem
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@730 726aef4b-f618-498e-8847-2d620e286838
2006-05-04 12:02:36 +00:00
prozacx e8d176ea93 Added code to let CUser know it is being deleted, and added error return to AddUser()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@725 726aef4b-f618-498e-8847-2d620e286838
2006-04-29 19:38:56 +00:00
prozacx 31a56a5cbd Added getter for config file name
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@682 726aef4b-f618-498e-8847-2d620e286838
2006-03-12 10:47:57 +00:00
prozacx acb9012540 Pulled in changes for Csocket
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@668 726aef4b-f618-498e-8847-2d620e286838
2006-02-23 05:54:29 +00:00
prozacx 51021e706b No longer need ipv6 for outgoing connections
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@655 726aef4b-f618-498e-8847-2d620e286838
2006-02-13 06:12:38 +00:00
prozacx 9d4be439a6 Pulled in changes for Csocket.. temporarily added old style Listen*() and Connect() functions to CSockManager wrapper class
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@651 726aef4b-f618-498e-8847-2d620e286838
2006-02-13 00:19:22 +00:00
prozacx 0eaf9bdc1e Wrapped TSocketManager into CSockManager
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@650 726aef4b-f618-498e-8847-2d620e286838
2006-02-12 21:00:59 +00:00
prozacx ca8247058f Added ipv6 support and multiple listen ports
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@641 726aef4b-f618-498e-8847-2d620e286838
2006-02-11 10:06:45 +00:00
prozacx 2a32927dc7 Moved static allocator into cpp file
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@606 726aef4b-f618-498e-8847-2d620e286838
2006-02-06 02:03:38 +00:00
prozacx ef9d9b217a Added ListenHost for binding to a specific ip instead of inaddr_any
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@588 726aef4b-f618-498e-8847-2d620e286838
2005-12-27 19:19:05 +00:00
prozacx a490f62dde Renamed CUserSock to CClient
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@581 726aef4b-f618-498e-8847-2d620e286838
2005-10-15 03:55:09 +00:00
prozacx d2e7285070 Added MOTD support
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@571 726aef4b-f618-498e-8847-2d620e286838
2005-10-13 05:31:42 +00:00
prozacx bf1715973b Added prompt for pem file generation
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@557 726aef4b-f618-498e-8847-2d620e286838
2005-10-10 04:33:30 +00:00
prozacx 49677b86de Allocate static CZNC object on the heap
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@543 726aef4b-f618-498e-8847-2d620e286838
2005-10-08 07:04:25 +00:00
prozacx ef1c8de55a Added concept of Admin to users
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@526 726aef4b-f618-498e-8847-2d620e286838
2005-09-24 04:29:11 +00:00
prozacx 1929ce5ba9 Renamed CZNC::New() to CZNC::Get() and return a static reference instead of a pointer
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@504 726aef4b-f618-498e-8847-2d620e286838
2005-09-19 02:19:17 +00:00
prozacx 7cb1d2f958 Added some helper functions
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@455 726aef4b-f618-498e-8847-2d620e286838
2005-08-02 17:44:46 +00:00
prozacx 573c4be436 Added global vhosts and getters/setters for ISpoof*
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@453 726aef4b-f618-498e-8847-2d620e286838
2005-07-19 05:19:48 +00:00
prozacx 1f090c4da2 Added WriteConfig()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@441 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 02:20:44 +00:00
prozacx c315a07d1e Added DeleteUser() FindUser() and a method for deleting users
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@405 726aef4b-f618-498e-8847-2d620e286838
2005-07-04 23:14:43 +00:00
prozacx 150d39e534 Changed locations of some paths
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@383 726aef4b-f618-498e-8847-2d620e286838
2005-06-12 09:04:05 +00:00
prozacx 6dbb196ed7 Changed port from int to ushort
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@376 726aef4b-f618-498e-8847-2d620e286838
2005-06-01 21:01:26 +00:00
imaginos a056702bd4 add getter to underlying user map
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@352 726aef4b-f618-498e-8847-2d620e286838
2005-05-22 20:33:18 +00:00
prozacx 3dde793e62 Added global module functionality
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@348 726aef4b-f618-498e-8847-2d620e286838
2005-05-22 00:47:36 +00:00
prozacx 6f8396b770 Added ISpoofFormat config option for defining the output of the ispoof file
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@328 726aef4b-f618-498e-8847-2d620e286838
2005-05-17 06:14:41 +00:00
prozacx beb5b49b3f Changed all references to std::string over to CString
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@240 726aef4b-f618-498e-8847-2d620e286838
2005-05-05 18:11:04 +00:00
prozacx 0ba6b056ec Get CFile from FileUtils.h now
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@236 726aef4b-f618-498e-8847-2d620e286838
2005-05-02 22:36:50 +00:00
prozacx c2d926630f Added GetTag()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@223 726aef4b-f618-498e-8847-2d620e286838
2005-05-01 20:28:26 +00:00
prozacx 2d359f53d5 Renamed some stuff
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@217 726aef4b-f618-498e-8847-2d620e286838
2005-05-01 02:15:48 +00:00
prozacx 0013ab2c0c Added WriteNewConfig() to make it easier for new installs
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@208 726aef4b-f618-498e-8847-2d620e286838
2005-04-29 08:32:49 +00:00
prozacx f32fb1b3f1 Changed from checking pidfile to locking the config
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@177 726aef4b-f618-498e-8847-2d620e286838
2005-04-24 05:53:07 +00:00
prozacx bf619eda64 Added pid checking
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@174 726aef4b-f618-498e-8847-2d620e286838
2005-04-23 22:57:56 +00:00
prozacx 2f03306340 Added GetPemLocation()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@82 726aef4b-f618-498e-8847-2d620e286838
2005-04-03 07:56:33 +00:00
prozacx 37641e73ca Renamed BinPath to CurPath
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@79 726aef4b-f618-498e-8847-2d620e286838
2005-04-03 07:48:31 +00:00
prozacx 933f1cc616 Added m_sZNCPath and m_sDataPath
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@69 726aef4b-f618-498e-8847-2d620e286838
2005-04-03 05:39:08 +00:00
prozacx 538d3ece4e Initial revision
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2 726aef4b-f618-498e-8847-2d620e286838
2004-08-24 00:08:51 +00:00