Commit graph

85 commits

Author SHA1 Message Date
Mark
4ead736fe4 Backport 3.0 fix for broken pipe loop 2004-06-30 22:35:38 +00:00
Mark
db0e8ef1d0 Backport 3.0 fix for broken pipe loop 2004-06-30 22:34:22 +00:00
Fish
e6c401d2a4 fix recv.log on IRCu related to BugID 160. So Simple! 2004-05-28 09:51:47 +00:00
Mark
e709b0fc0f fix commit that should nto have happened 2004-02-07 23:47:56 +00:00
Mark
6787bc18a2 neostatise IRCu HIDDENHOST to UMODEHIDE 2004-02-07 23:42:56 +00:00
Mark
470bfc7efc more ircd updates 2004-02-04 22:59:41 +00:00
Mark
006b06c88b fix warnings 2004-02-04 18:47:24 +00:00
Mark
07f1a1709e add new file for API exports, port core modules to use neostats.h and tidy up includes 2004-02-02 21:01:33 +00:00
Fish
35e980dfbf Some Valgrind fixes 2004-01-31 06:26:56 +00:00
Fish
31bd053cf7 fix sqlsrv access list 2004-01-30 10:55:48 +00:00
Mark
78f93c201c use quotes not angle brackets for adns include to make sure we use the local one 2004-01-29 22:16:09 +00:00
Fish
2bf7f952d9 update to use ircstrcasecmp, and use a irc match function 2004-01-27 13:32:54 +00:00
Mark
8deea537b4 more ircd changes ... I promise I will stop soon :) 2004-01-26 23:50:52 +00:00
Fish
1aa45a8ec6 updated copyright year 2004-01-14 11:36:37 +00:00
Mark
62963d0025 set me.lastmsg when we are first connected since it can timeout too early 2004-01-12 00:25:37 +00:00
Fish
78f5a8570b sql emulation fixups 2003-12-28 07:23:42 +00:00
Fish
d5ae624f81 Code tidy ups and get rid of compiler warnings 2003-12-16 12:39:54 +00:00
Fish
4d556d1714 The sql code is integrated with the conf file, socket code, and initilization portions so far.
its not yet setup to export any of NeoStats structs, but you can test with this release with the built in tables:
to test:
./configure --enable-sqlsrv
add a line to neostats.cfg:
SQLSRV_AUTH Fish!blah@127.0.0.*
(username Fish, pass blah, host 127.0.0.* (IP only, can use wildcards)
compile and start up NeoStats

Check for any errors about unable to bind to ports etc.... (if you need to run on a diff port, add SQLSRV_PORT <portnum> to the neostats.cfg

now that its running, from php/command line, connect to the BINDTO ip address (if using BINDTO) or 127.0.0.1 port 8888

eg: command line:
psql -U Fish -h localhost -p 8888

it should prompt with a password. 

once connected, you can view available tables with:
"select * from rta_tables;"

some examples are:
"select * from pg_user;" 
"select * from pg_conn;"
"select * from rta_stat;"
"select * from rta_dbg;"
"select * from rta_columns;"

Remember, only very basic SQL is supported
2003-12-11 15:37:05 +00:00
Fish
9944e43c46 this fixes some high CPU issues that I just found on production 2003-12-08 14:58:36 +00:00
Fish
6d66fca7fc ok, curl seems to work now. Sweeeet 2003-12-08 13:09:39 +00:00
Fish
16fa2ad31b curl integration going smoothly so far.... 2003-12-05 15:07:41 +00:00
Fish
ea6e8811fe transfer.c/h file added, and initial work on integrating with socket functions 2003-12-03 15:32:14 +00:00
Mark
1660508c48 remove printfs 2003-11-28 21:11:37 +00:00
Fish
e3aedcf531 some updates to not try to send a message to the server when the sock is disconnected, and logging cleanups 2003-11-21 10:42:50 +00:00
Fish
66d244268d merge /devel and /trunk.... update configure.in. we can start working again on /trunk 2003-11-18 11:51:09 +00:00
Fish
2c403b610f a few memleaks fixed up... a few more to go 2003-11-05 15:00:12 +00:00
Fish
3cff845f8a Merge in the /branches/devel into mainstream in prep for 2.5.8. Mark, we can now continue our extended hacking on the /branches... Please check the /trunk though for merge problems 2003-11-03 13:57:11 +00:00
Fish
f99fbccd41 hrm.. 2003-10-29 13:58:07 +00:00
Fish
2764b90984 hrm, how did it get like that? 2003-10-29 13:32:37 +00:00
Mark
3bbd40230a possible dcc exploit fix 2003-10-25 19:21:47 +00:00
Mark
c95dede44f some tidy ups 2003-10-14 15:29:41 +00:00
Mark
b572d23371 defines for do_exit calls 2003-10-14 12:57:15 +00:00
Mark
10ca77d4d1 some prototype cleanups and redundant declarations removed 2003-10-10 14:40:20 +00:00
Mark
36c190a898 comments added 2003-10-09 18:55:32 +00:00
Mark
430c0c4764 Moved sctime and sftime funcs from sock.c to main.c since they have nothing to do with socket code 2003-10-09 16:27:12 +00:00
Mark
37e6accf1d more typo fixes 2003-10-07 14:26:21 +00:00
Fish
cddb53aabe fixed a few compile warnings. HostServ now supports Undernet Style hidden hosts for registered nicks. moved unload_modules from services.c to dl.c (more logical IMHO) 2003-10-07 12:16:32 +00:00
Mark
8a2aca03ff Help text cleanup, some code cleanups and more on custom log formatting 2003-10-06 16:33:42 +00:00
Fish
4aa6da7413 a bunch of updates from Mark. Thanks :) 2003-09-29 12:46:22 +00:00
Fish
377c16dd18 allow keywords to function on these files 2003-09-22 15:04:15 +00:00
Fish
b66417c0b6 output a meaningfull error message on a write error for debuggin 2003-09-22 14:21:09 +00:00
Fish
eb369f1ff9 remove executable bit form these files 2003-09-22 13:16:24 +00:00
Fish
398afa5749 bring it upto date 2003-09-22 13:13:25 +00:00
fishwaldo
242c059257 marks segvlocation macro suggestion 2003-09-18 12:21:32 +00:00
fishwaldo
43addb5b04 some cleanups 2003-09-17 14:49:55 +00:00
fishwaldo
acbc8d4a3d minor updates and bugfixes 2003-07-30 13:58:22 +00:00
fishwaldo
8b898bdfa4 move socket functions out of individual IRCd files 2003-06-26 05:25:09 +00:00
fishwaldo
4d85ccb8ab marks help file updates, and code formatting 2003-06-13 13:11:50 +00:00
fishwaldo
9be43551d6 updated copywrite notices and a updated makeconf file from M 2003-05-26 09:18:31 +00:00
fishwaldo
da6a83de21 fix up umode problems 2003-05-22 13:51:56 +00:00