Commit graph

159 commits

Author SHA1 Message Date
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
29f0601399 Possible Fix for BugID 86 (Topic Crash) 2003-12-08 14:18:32 +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
Fish
a8235a2467 integrate libcurl into build process... no need to start writting the hooks 2003-12-03 15:02:42 +00:00
Mark
02285783de command list system updates 2003-11-21 21:43:00 +00:00
Fish
0f9c4860a7 it helps if we include all the files in the distro 2003-11-21 14:32:14 +00:00
Fish
0c7c557dff remove spam and version from distribution.... but not svn 2003-11-18 11:54:58 +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
6d3d394d31 2.5.8 make install fix 2003-11-17 09:24:46 +00:00
Fish
1fdf13b5e0 install update 2003-11-07 13:25:29 +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
8c27f19a70 remove the rm dl/*.so 2003-10-27 08:13:07 +00:00
Mark
c485815ef8 rm old modules on install 2003-10-14 09:37:22 +00:00
Mark
33b3c5b1e6 updated modules.txt and new module template files 2003-10-08 20:56:50 +00:00
Mark
46c398cf7c Added Config script into distribution 2003-10-06 20:15:58 +00:00
Fish
2b941ac98c import the recent 2.0 changes after we moved to svn repository 2003-09-22 12:52:18 +00:00
fishwaldo
ac142e06c8 2.5.4-Pre2 Fixes 2003-07-17 10:13:51 +00:00
fishwaldo
4f780ff07a first round of documentation updates. 2003-05-28 14:33:19 +00:00
fishwaldo
9be43551d6 updated copywrite notices and a updated makeconf file from M 2003-05-26 09:18:31 +00:00
fishwaldo
35dd2df2e8 Fixed make dist and make install for new files. Added some doco, updated RelNotes. Will test for a few days (and update opsb etc) and release 2003-04-17 15:15:39 +00:00
fishwaldo
fa8ec36422 make depend added, and catch sigINT to flush log files (I always use ctrl-c when debuging damn it) 2003-04-11 10:02:31 +00:00
fishwaldo
2d81992a00 new logging functions... new commandline processing... 1 bugfix! 2003-04-10 09:32:01 +00:00
fishwaldo
cee585d0fb added keeper.c and conf.h, the NeoStats API interface to the keeper database.
Added SetConf and GetConf for modules/core to set/retrive config data.
will add db.c and db.h soon for Database abstraction layers
2003-04-09 14:29:51 +00:00
fishwaldo
ca24bd1ec1 added keeper libary and some config tools for Config API for modules 2003-04-08 13:23:51 +00:00
fishwaldo
e648d4394a minor dist updates 2003-04-03 14:42:59 +00:00
fishwaldo
e7e99ce659 2.5.0RC3 release 2003-02-02 14:02:53 +00:00
fishwaldo
e06b5cb8f9 wups 2003-01-29 11:48:37 +00:00
fishwaldo
337838d405 I'm such a lazy bastard. "make dist" will create a tar file for distribution 2003-01-29 11:36:40 +00:00
fishwaldo
70d6578f11 Ultimate a28 Smode added, but what did I break? 2003-01-06 12:07:27 +00:00
fishwaldo
5ead50bcca smallish fixup with compiling and -Wall 2002-12-14 09:14:21 +00:00
fishwaldo
9710eca048 fix up Makefile for cronchk 2002-10-24 14:35:11 +00:00
shmad
52d6a8d625 Updated Makefile to copy neostats.motd over too 2002-10-20 17:14:00 +00:00
fishwaldo
9abf5cb7c6 NeoIRCd support (But still needs work) 2002-10-13 06:57:43 +00:00
fishwaldo
da0a6058ed *sigh* 2002-09-04 08:42:06 +00:00
fishwaldo
23488a3b9b second phase of adns integration. Added dns callback functions in dns.c 2002-08-20 09:30:37 +00:00
fishwaldo
44933553b4 makefile fixes 2002-07-30 06:14:32 +00:00
fishwaldo
8b350fabf6 adns fixes and updates. *maybe* works. Not tested yet :( 2002-07-30 04:26:28 +00:00
shmad
7492f07d57 now calls neostats.cfg, fixed a problem with neostats not reloading. 2002-07-27 04:38:35 +00:00
fishwaldo
947e01d026 lots of changes. renamed privmsg to prefmsg, notice to chanalert, and created two new functions, privmsg and notice that send privmsg or notices only.
Ported Extauth, statserv, connectserv and spam to new Event API
fixed a few bugs in statserv with channel counts and away problems
2002-07-17 05:25:39 +00:00
fishwaldo
9073cda3ae Beta1 Release Sync's 2002-03-28 16:29:09 +00:00
fishwaldo
e65f61e5bb External Authentication updates 2002-03-18 05:46:15 +00:00
fishwaldo
ba5ef7ad6d Commited Enigma's/Shmads Alpha5b Fixes 2002-03-17 07:00:44 +00:00
fishwaldo
2297a3d7c1 Updates. Version now Alpha5b to reflect changes in build enviroment 2002-03-15 12:38:38 +00:00
fishwaldo
f9f180ca46 AutoConf didn't work to well, moved to a different format 2002-03-15 12:11:58 +00:00
fishwaldo
57f42410c2 Updated Autoconf stuff again 2002-03-12 14:25:11 +00:00
fishwaldo
f4a09ce33d More Autoconf updates 2002-03-12 14:08:00 +00:00
fishwaldo
2a3c163bc2 Added full autoconf/autoheader/automake/libtool support
Now installs into ~/NeoStats
2002-03-12 13:34:21 +00:00
fishwaldo
1a38b27d54 More Channel updates, and made channel modes work 2002-03-08 14:18:08 +00:00
fishwaldo
b3317d49b7 added Channel Support :) 2002-03-08 09:00:31 +00:00