Commit Graph

320 Commits

Author SHA1 Message Date
psychon 95fe0f2f9b Add that copyright header to saslauth and add Heiko to AUTHORS
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@911 726aef4b-f618-498e-8847-2d620e286838
2008-01-07 21:15:28 +00:00
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 55a3fa0e05 Remove OnFinishedConfig() module call
No one used it anyway


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@909 726aef4b-f618-498e-8847-2d620e286838
2008-01-03 21:00:25 +00:00
psychon 731969fd83 modules/Makefile: Don't create object files, but directly shared objects
This also simplifies the module flag handling for saslauth and modperl.
(Both don't need a special rule for compilling anymore)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@905 726aef4b-f618-498e-8847-2d620e286838
2007-12-27 08:22:57 +00:00
psychon b490b12058 Fix some gcc 4.3 warnings
These are mostly string casts, handling function's return value and some
weird warning about missing spaces on empty while loops.

These were reported by and fixed with Marcus Rueckert <darix@opensu.se>.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@904 726aef4b-f618-498e-8847-2d620e286838
2007-12-20 18:31:48 +00:00
psychon db9694836e Commit patches from x-x which split up long lines
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@903 726aef4b-f618-498e-8847-2d620e286838
2007-12-19 20:53:03 +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 608fbdbdb0 Move the webadmin skins to /usr/share/znc per default
This patch which handles the build stuff is from
Marcus Rueckert <darix@opensu.se>.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@901 726aef4b-f618-498e-8847-2d620e286838
2007-12-12 21:11:40 +00:00
psychon ba27405483 Make webadmin use the GLOBALMODCONSTRUCTOR macro
Why didn't it do this already anyway?


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@900 726aef4b-f618-498e-8847-2d620e286838
2007-12-12 20:57:47 +00:00
psychon ef02c621a6 Spelling fixage
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@895 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 15:39:27 +00:00
psychon 496e164bef Let autoattach save and reload its settings when it's loaded
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@889 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 09:23:49 +00:00
psychon 89e907efaa Remove $Log$ which was used by CVS
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@887 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 09:20:45 +00:00
psychon 6609143820 Let webadmin use the user's defaults
Now webadmin uses what you have in your <User> section for DefModes,
BufferCount, AutoCycle and KeepBuffer when you create a new user.

Thanks to SilverLeo for noticing and writing this patch.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@886 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 09:19:24 +00:00
psychon 3f27be8bde Add saslauth. This modules has been waiting in crox' branch for like ever
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@880 726aef4b-f618-498e-8847-2d620e286838
2007-11-25 17:35:36 +00:00
psychon 67342d0c29 Add a del command to autoattach
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@878 726aef4b-f618-498e-8847-2d620e286838
2007-11-24 21:24:15 +00:00
psychon b0e84a0605 Awaynick now saves its latest setting and restores it on reload
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@877 726aef4b-f618-498e-8847-2d620e286838
2007-11-17 22:44:34 +00:00
psychon 5412fd1494 Remove some code from crypt which makes no sense
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@876 726aef4b-f618-498e-8847-2d620e286838
2007-11-17 22:43:11 +00:00
psychon d67c5973ad Handle negative / invalid arguments to kickrejoin correctly
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@872 726aef4b-f618-498e-8847-2d620e286838
2007-11-12 21:53:02 +00:00
psychon a60270de81 Remove save command for perform, add and del already save everything
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@868 726aef4b-f618-498e-8847-2d620e286838
2007-11-12 21:26:29 +00:00
psychon 7c09af3dde Add 'list' command to stickychan
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@867 726aef4b-f618-498e-8847-2d620e286838
2007-11-12 21:24:52 +00:00
psychon 1c3105d782 Change MODDIR really into the moddir and add --moddir to znc-config
Now we don't append znc everywhere where MODDIR is used :)

Thanks to CNU for the initial patch (yay, I didn't forget to mention him.
I did with the last commit. The --disable-perl one was spotted by him too)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@862 726aef4b-f618-498e-8847-2d620e286838
2007-11-04 08:25:27 +00:00
psychon 8100ef945c Fix the Makefile for --disable-perl
We still had modperl in FILES and thus tried to compile / install it

To avoid an endless loop I need := instead of = on the assignment with sed.
For consistency I changed all the others too (this should also be faster).



git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@861 726aef4b-f618-498e-8847-2d620e286838
2007-11-03 20:19:19 +00:00
psychon ee350ab744 Change second argument to module in OnLoad() from sErrorMsg to sMessage.
This message is always displayed when the module returns (well, screw webadmin)
and this way a module can notify the user if it loaded but something unexpected
happened.

As you might guess, no one uses this ATM :)

Proposal comes from prozac


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@855 726aef4b-f618-498e-8847-2d620e286838
2007-10-28 17:57:07 +00:00
psychon 87d19870cd Merge sf.net patch 1812367 'Disable auto-rejoin on kick'
This removes the rejoin from core (the channel gets disabled) and adds
a kickrejoin module.

Thanks to cycomate for the original patch


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@852 726aef4b-f618-498e-8847-2d620e286838
2007-10-24 17:44:12 +00:00
psychon 60a5e97c59 Fix modules/Makefile.in
- Perl module (*.pm) were not installed
- With -j stuff was (tried to) install before create_install_dir was ran


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@850 726aef4b-f618-498e-8847-2d620e286838
2007-10-24 09:24:00 +00:00
psychon 69e076b166 chmod a-x graphiX's templates
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@849 726aef4b-f618-498e-8847-2d620e286838
2007-10-22 22:22:11 +00:00
psychon 5993255ac3 Fix some ICC warnings found by Kuja
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@846 726aef4b-f618-498e-8847-2d620e286838
2007-09-27 21:00:08 +00:00
psychon fa7a588c81 Merge rev 1034 from crox 'fixed parentheses'
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@845 726aef4b-f618-498e-8847-2d620e286838
2007-09-27 20:36:56 +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 03e6d586c3 Remove antiidle module.
Antiidle utilities are bad as they waste bandwidth and might fill logs.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@841 726aef4b-f618-498e-8847-2d620e286838
2007-09-19 15:23:45 +00:00
psychon 303af16e67 Fix make install (modules weren't installed)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@834 726aef4b-f618-498e-8847-2d620e286838
2007-08-26 06:09:19 +00:00
psychon 6169df3f7a Rewrite Makefile.in, remove -s from no-debug
CXXFLAGS and auto-generate .depend if GCC is used.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@829 726aef4b-f618-498e-8847-2d620e286838
2007-08-19 15:27:16 +00:00
psychon 383f435728 Fix nickserv module which was broken by my last commit to it.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@824 726aef4b-f618-498e-8847-2d620e286838
2007-08-08 17:24:44 +00:00
psychon eb850c933d Fix images.
Someone *cough* x-x *cough* didn't add the images as binary files.
Only the .ico files weren't broken. Fix this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@820 726aef4b-f618-498e-8847-2d620e286838
2007-08-07 20:05:57 +00:00
psychon 37d463cd32 partyline: Rewrite the whole fixed channel list when changing it instead of some
CString::Replace() magic.

This was inspired by sf.net bug 1762977 comment 2.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@819 726aef4b-f618-498e-8847-2d620e286838
2007-08-06 09:24:20 +00:00
psychon 014b830796 Fix sf.net bugs 1762981 and 1762977 and commit the patch from a comment in one
of them.

Now partyline doesn't segfault anymore if you remove a user which isn't there.

I think NULL pointers don't like me :/.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@818 726aef4b-f618-498e-8847-2d620e286838
2007-08-06 09:04:40 +00:00
psychon ac805c59a9 Fix warnings from -Woverloaded-virtual.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@816 726aef4b-f618-498e-8847-2d620e286838
2007-07-19 22:28:54 +00:00
psychon 249d95a8aa Fix endless loop where nickserv answered
'Unknown command identify. Use /msg NickServ HELP' for help.

Thanks to SilverLeo for reporting this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@814 726aef4b-f618-498e-8847-2d620e286838
2007-07-17 10:45:19 +00:00
psychon b45fb414cc Add nickserv module from my other branch
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@808 726aef4b-f618-498e-8847-2d620e286838
2007-06-07 19:28:29 +00:00
psychon 3ce22e5d45 small webadmin fixup
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@804 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:48:22 +00:00
psychon a3b405bd07 sync from my branch rev 983 and 993:
- module api change, if module fails to load it can give back an useful error message
- give a message when client doesnt supply a password when connecting
- some minor cleanup


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@803 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:42:00 +00:00
psychon d82eb75d1c merge rev 962;965;972-975:
- increased select timeout to 0.5 secs (this should save CPU time)
- added real-life ISpoof example to the example znc.conf
- make away module ignore message from the user (fixes antiidle together with away)
- show error message when webadmin cant bind to a port (improved later)
- fix /me, it was turned into a CTCP
- remove an extra space


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@802 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:35:17 +00:00
psychon 1fa9187be6 Revs 945-948;952-953:
- add timezone offset if server is in another timezone than the client
- add prependTimestamp
- add version number to configure.in
- write connect delay back into znc.conf


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@801 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:29:39 +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
psychon 6a6ae0ed94 Add antiidle module and buffer WALLOPS in the query buffer
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@798 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 21:47:46 +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 5896ed7909 Relay messages to other clients of the current user
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@784 726aef4b-f618-498e-8847-2d620e286838
2006-11-15 22:24:09 +00:00
prozacx 0c7d2796ba Patched from psycho
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@783 726aef4b-f618-498e-8847-2d620e286838
2006-10-05 20:52:50 +00:00
prozacx 58e261a90d Fixed unicode issue - thanks Kuja
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@780 726aef4b-f618-498e-8847-2d620e286838
2006-09-18 00:30:43 +00:00
prozacx 8207ef1739 Oops, wrong name
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@779 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 23:46:37 +00:00