opensrf/bjwebb.git
18 years agoosrf_json_gateway is tested and working. removing this older version
erickson [Sat, 25 Feb 2006 03:22:24 +0000 (03:22 +0000)]
osrf_json_gateway is tested and working. removing this older version

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@643 9efc2488-bf62-4759-914b-345cdb29e865

18 years agore-vamped gateway to make it more stable and faster.
erickson [Fri, 24 Feb 2006 23:17:05 +0000 (23:17 +0000)]
re-vamped gateway to make it more stable and faster.
also moved the apachetools stuff into the opensrf tree
since it's all pure opensrf and the gateway made good use of it.

will remove the ils_gateway module shortly

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@642 9efc2488-bf62-4759-914b-345cdb29e865

18 years agofixups, and starting a paged interface
miker [Sun, 19 Feb 2006 01:19:07 +0000 (01:19 +0000)]
fixups, and starting a paged interface

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@641 9efc2488-bf62-4759-914b-345cdb29e865

18 years agotesting cache timeout resets without removing the item in question
erickson [Thu, 16 Feb 2006 01:49:39 +0000 (01:49 +0000)]
testing cache timeout resets without removing the item in question

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@640 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoMoved some log messages from INFO to DEBUG level because of their repetitive volume...
erickson [Mon, 13 Feb 2006 21:42:32 +0000 (21:42 +0000)]
Moved some log messages from INFO to DEBUG level because of their repetitive volume in the logs

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@639 9efc2488-bf62-4759-914b-345cdb29e865

18 years agomodule now dies with a message if bootstrap_client has not been called
erickson [Mon, 13 Feb 2006 15:16:16 +0000 (15:16 +0000)]
module now dies with a message if bootstrap_client has not been called
(instead of printing meaningless error about can't call 'env', etc.)

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@638 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded additional sanity check to index call
erickson [Mon, 13 Feb 2006 15:15:05 +0000 (15:15 +0000)]
added additional sanity check to index call

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@637 9efc2488-bf62-4759-914b-345cdb29e865

18 years agorefactored copy targeter to use new JS copy tester; adjusted object relationships...
miker [Sat, 11 Feb 2006 05:20:31 +0000 (05:20 +0000)]
refactored copy targeter to use new JS copy tester; adjusted object relationships; added ranged tree methods for record and volume

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@636 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded a default freeItem function for freeing list items
erickson [Tue, 31 Jan 2006 21:10:56 +0000 (21:10 +0000)]
added a default freeItem function for freeing list items

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@635 9efc2488-bf62-4759-914b-345cdb29e865

18 years agomoving to UNIVERSAL::require to suck in implementation modules
miker [Mon, 30 Jan 2006 15:49:53 +0000 (15:49 +0000)]
moving to UNIVERSAL::require to suck in implementation modules

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@634 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoAdded additional param to all the osrfLog* calls which mark
erickson [Mon, 30 Jan 2006 04:47:49 +0000 (04:47 +0000)]
Added additional param to all the osrfLog* calls which mark
the file and line number of each log call

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@633 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoleaving parse methods early if proper fields aren't defined (avoid warnings on system...
erickson [Mon, 30 Jan 2006 04:45:50 +0000 (04:45 +0000)]
leaving parse methods early if proper fields aren't defined (avoid warnings on system start)

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@632 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoremoved extraneous warn
erickson [Fri, 27 Jan 2006 23:07:06 +0000 (23:07 +0000)]
removed extraneous warn

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@631 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoturn of signature checking for now
miker [Fri, 27 Jan 2006 22:03:40 +0000 (22:03 +0000)]
turn of signature checking for now

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@630 9efc2488-bf62-4759-914b-345cdb29e865

18 years agosort field and sort order support; signature fix for bill
miker [Fri, 27 Jan 2006 22:01:38 +0000 (22:01 +0000)]
sort field and sort order support; signature fix for bill

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@629 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoChanged log level for "disconnect on timeout" because it happens frequently
erickson [Fri, 27 Jan 2006 19:25:13 +0000 (19:25 +0000)]
Changed log level for "disconnect on timeout" because it happens frequently

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@628 9efc2488-bf62-4759-914b-345cdb29e865

18 years agomore opensearch fixup; bugfix for "no need to re-bootstrap"
miker [Fri, 27 Jan 2006 17:27:01 +0000 (17:27 +0000)]
more opensearch fixup; bugfix for "no need to re-bootstrap"

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@627 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoURL can now contain api_level as a param to set the opensrf api_level for the method
erickson [Tue, 24 Jan 2006 22:29:49 +0000 (22:29 +0000)]
URL can now contain api_level as a param to set the opensrf api_level for the method

added a "echo" URL param which, if present, will ignore all other params and echo the
value of the param to the caller

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@626 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoupdates for the perm editor -- FM dance required
miker [Mon, 23 Jan 2006 23:45:14 +0000 (23:45 +0000)]
updates for the perm editor -- FM dance required

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@625 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoenabled param checking
miker [Sun, 22 Jan 2006 17:53:01 +0000 (17:53 +0000)]
enabled param checking

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@624 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoenabling signature parsing; added "notes" pointer from .atomic versions to the origin...
miker [Sun, 22 Jan 2006 17:16:43 +0000 (17:16 +0000)]
enabling signature parsing; added "notes" pointer from .atomic versions to the original method

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@623 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded (disabled) signature parsing and (disabled) param count, type, and class checking
miker [Thu, 19 Jan 2006 04:54:25 +0000 (04:54 +0000)]
added (disabled) signature parsing and (disabled) param count, type, and class checking

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@622 9efc2488-bf62-4759-914b-345cdb29e865

18 years agoadded lookup_class and lookup_hint methods to support param class instance checking
miker [Thu, 19 Jan 2006 04:53:31 +0000 (04:53 +0000)]
added lookup_class and lookup_hint methods to support param class instance checking

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@621 9efc2488-bf62-4759-914b-345cdb29e865

18 years agosrfsh accepts exit and ExIt
erickson [Wed, 11 Jan 2006 22:13:01 +0000 (22:13 +0000)]
srfsh accepts exit and ExIt

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@620 9efc2488-bf62-4759-914b-345cdb29e865

18 years agomoved some warns that will happen often to info logs
erickson [Thu, 5 Jan 2006 23:39:01 +0000 (23:39 +0000)]
moved some warns that will happen often to info logs

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@619 9efc2488-bf62-4759-914b-345cdb29e865

19 years agomoved timeout to global var; later, refactor to command line or config file option...
miker [Tue, 3 Jan 2006 03:11:10 +0000 (03:11 +0000)]
moved timeout to global var; later, refactor to command line or config file option (this was needed for storage debuging)

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@618 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoremoved some "warns"
erickson [Fri, 16 Dec 2005 23:00:08 +0000 (23:00 +0000)]
removed some "warns"

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@617 9efc2488-bf62-4759-914b-345cdb29e865

19 years agochanged a log line
erickson [Thu, 15 Dec 2005 23:11:55 +0000 (23:11 +0000)]
changed a log line

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@616 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoescaping embedded %'s so syslog won't barf
erickson [Wed, 14 Dec 2005 18:25:23 +0000 (18:25 +0000)]
escaping embedded %'s so syslog won't barf

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@615 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded some NOT_FOUND events for record, copy, and circ (more to come)
erickson [Wed, 14 Dec 2005 15:43:23 +0000 (15:43 +0000)]
added some NOT_FOUND events for record, copy, and circ (more to come)

moved over some of the circ code to using the events and utility
methods defined by apputils

added some utility methods to apputils

now exporting $logger var from the logger code

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@614 9efc2488-bf62-4759-914b-345cdb29e865

19 years agotruncating long log lines that go to syslog, as it kills the perl sprintf for some...
miker [Wed, 14 Dec 2005 06:01:14 +0000 (06:01 +0000)]
truncating long log lines that go to syslog, as it kills the perl sprintf for some reason...

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@613 9efc2488-bf62-4759-914b-345cdb29e865

19 years agogateway now assumes status is OK on a message unless it recieves a message which...
erickson [Tue, 13 Dec 2005 22:20:28 +0000 (22:20 +0000)]
gateway now assumes status is OK on a message unless it recieves a message which proves otherwise

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@612 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoreduce the overhead of JSONification by removing multiple NF?() calls; make Unicode...
miker [Tue, 13 Dec 2005 06:13:45 +0000 (06:13 +0000)]
reduce the overhead of JSONification by removing multiple NF?() calls; make Unicode JSONifcation more robust by using unicode character regexes

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@611 9efc2488-bf62-4759-914b-345cdb29e865

19 years agosrfsh reports to stderr when a config file could not be found
erickson [Mon, 12 Dec 2005 20:36:17 +0000 (20:36 +0000)]
srfsh reports to stderr when a config file could not be found

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@610 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoexplicitly returning STATUS_NOTFOUND when a method is not found
erickson [Fri, 9 Dec 2005 16:46:46 +0000 (16:46 +0000)]
explicitly returning STATUS_NOTFOUND when a method is not found

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@609 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofor some reason, doing "throw $err $err->stringify" was causing a generic method
erickson [Fri, 9 Dec 2005 16:09:27 +0000 (16:09 +0000)]
for some reason, doing "throw $err $err->stringify" was causing a generic method
exception to be thrown.  Fixed by doing "throw $err".  This should allow the
/real/ error to be passed to the client, and not "method not found".

Also cleaned up some other debugging info

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@608 9efc2488-bf62-4759-914b-345cdb29e865

19 years agore-arranged the log code so that VA_LIST_TO_ARGS (which runs vsnprintf)
erickson [Fri, 9 Dec 2005 14:55:43 +0000 (14:55 +0000)]
re-arranged the log code so that VA_LIST_TO_ARGS (which runs vsnprintf)
will only have to be called once per log.  This appears to make vsnprintf
happy with regard to printing embedded %'s
Happily printing the URL's in the gateway now

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@607 9efc2488-bf62-4759-914b-345cdb29e865

19 years agostarted work on xul-based requestor/recipient holds
erickson [Thu, 8 Dec 2005 23:18:00 +0000 (23:18 +0000)]
started work on xul-based requestor/recipient holds
avoided (but not fixed) bug in the gateway modules where you cannot send
escaped URL params to vsnprintf.  This will need to be fixed.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@606 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoChanged some log levels from INFO to DEBUG since they are highly repetitive
erickson [Thu, 8 Dec 2005 15:52:51 +0000 (15:52 +0000)]
Changed some log levels from INFO to DEBUG since they are highly repetitive

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@605 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded a NO_SESSION event for when a login session does not exist
erickson [Wed, 7 Dec 2005 18:32:24 +0000 (18:32 +0000)]
added a NO_SESSION event for when a login session does not exist
Event.pm now takes arbitrary parameters

added a osrfCacheSetExpire method for manually setting the cache expire
time of an object after the object has already been cached

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@604 9efc2488-bf62-4759-914b-345cdb29e865

19 years agosetting the logger app name for debugging
erickson [Wed, 7 Dec 2005 16:27:51 +0000 (16:27 +0000)]
setting the logger app name for debugging

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@603 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoauth code now returns { authtoken : <t> , authtime : <sec> } as the payload
erickson [Wed, 7 Dec 2005 16:26:30 +0000 (16:26 +0000)]
auth code now returns { authtoken : <t> , authtime : <sec> } as the payload
so the OPAC will know what the timeout should be

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@602 9efc2488-bf62-4759-914b-345cdb29e865

19 years agosrfsh now takes login commands like so:
erickson [Wed, 7 Dec 2005 15:24:40 +0000 (15:24 +0000)]
srfsh now takes login commands like so:
login <user> <passwd> [ <type> <orglocation> ]
this allows testing of different login types and org locations

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@601 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded a "restartforce" option to force the code to at least try to restart
erickson [Tue, 6 Dec 2005 23:45:46 +0000 (23:45 +0000)]
added a "restartforce" option to force the code to at least try to restart
this is added since the restart script may get hung up on other code (srfsh)
occupying the jabber port

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@600 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoAdded new C event code for handling the auth login events
erickson [Tue, 6 Dec 2005 21:38:05 +0000 (21:38 +0000)]
Added new C event code for handling the auth login events
(just remembered that i need to read the events file from the settings server)

updated auth to use the new events code

added some events to the constants file

update srfsh to accept the new event

cleaned up some logging in the prefork and socket_bundle code

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@599 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoincorporated ilseents.xml file into opac
erickson [Mon, 5 Dec 2005 19:23:45 +0000 (19:23 +0000)]
incorporated ilseents.xml file into opac
added an event entity to lang.dtd

update auth code to return the auth failed event when necessary
updated srfsh to handle the auth event

added a oils_constants file for listing events the C code will use

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@598 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded content-type back into gateway
erickson [Fri, 2 Dec 2005 18:27:51 +0000 (18:27 +0000)]
added content-type back into gateway
added some apache logging

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@597 9efc2488-bf62-4759-914b-345cdb29e865

19 years agogive reasonably unique default for service name
miker [Thu, 1 Dec 2005 23:09:57 +0000 (23:09 +0000)]
give reasonably unique default for service name

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@596 9efc2488-bf62-4759-914b-345cdb29e865

19 years agocleaning up the pretty printer
miker [Thu, 1 Dec 2005 22:54:42 +0000 (22:54 +0000)]
cleaning up the pretty printer

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@595 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded qw(:level) to CDBI.pm because we were getting empty log levels
erickson [Thu, 1 Dec 2005 21:02:44 +0000 (21:02 +0000)]
added qw(:level) to CDBI.pm because we were getting empty log levels

made log output a little more descriptive (more to do)

setting log service in math bench

slimmed the logging in the gateway

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@594 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoSetting the logging service name to the application we're serving
erickson [Thu, 1 Dec 2005 20:31:19 +0000 (20:31 +0000)]
Setting the logging service name to the application we're serving

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@593 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded some log statements, fixed some typos
erickson [Thu, 1 Dec 2005 18:48:51 +0000 (18:48 +0000)]
added some log statements, fixed some typos

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@592 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofreeing json response object
erickson [Wed, 30 Nov 2005 20:08:55 +0000 (20:08 +0000)]
freeing json response object

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@591 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded variable arg to jsonNewObject for formatted strings
erickson [Wed, 30 Nov 2005 19:48:52 +0000 (19:48 +0000)]
added variable arg to jsonNewObject for formatted strings

moved gateway to new style of output { status :x, debug:y, payload:[z] }

removed rest gateway ifdefs

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@590 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoremoved these since the C code is now using the unified log code in utils/log.*
erickson [Wed, 30 Nov 2005 18:38:16 +0000 (18:38 +0000)]
removed these since the C code is now using the unified log code in utils/log.*

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@589 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoactivity log is now a standalone log target: file or syslog:<facility>
erickson [Wed, 30 Nov 2005 18:34:12 +0000 (18:34 +0000)]
activity log is now a standalone log target: file or syslog:<facility>

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@588 9efc2488-bf62-4759-914b-345cdb29e865

19 years agosetting log file to just "syslog" (instead of "syslog:") uses the default facility
erickson [Wed, 30 Nov 2005 17:11:26 +0000 (17:11 +0000)]
setting log file to just "syslog" (instead of "syslog:") uses the default facility

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@587 9efc2488-bf62-4759-914b-345cdb29e865

19 years agodrastically simplified logger code now supports logging to file and syslog
erickson [Wed, 30 Nov 2005 17:01:19 +0000 (17:01 +0000)]
drastically simplified logger code now supports logging to file and syslog
logger is backward compatible, but future calls need only have the form:
$logger->error($msg);
$logger->warn($msg);
$logger->info($msg);
$logger->debug($msg);
$logger->internal($msg);
$logger->activity($msg);

log message format is not entirely complete yet (haven't added caller info)
syslog and file logging have been tested

added example config options for log file and activity syslog facility

removed convoluted log line from appsession

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@586 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofinal C code logging patchups
erickson [Wed, 30 Nov 2005 15:11:17 +0000 (15:11 +0000)]
final C code logging patchups

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@585 9efc2488-bf62-4759-914b-345cdb29e865

19 years agopatching up some more logging stuff
erickson [Tue, 29 Nov 2005 15:20:27 +0000 (15:20 +0000)]
patching up some more logging stuff

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@584 9efc2488-bf62-4759-914b-345cdb29e865

19 years agomoved C code to a unified logging framework which currently supports syslogging and...
erickson [Tue, 29 Nov 2005 15:01:28 +0000 (15:01 +0000)]
moved C code to a unified logging framework which currently supports syslogging and file logging

added the following to the config framework:
<logfile>syslog</logfile>
<syslog>local3</syslog>  <!-- replace local3 with correct facility -->

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@583 9efc2488-bf62-4759-914b-345cdb29e865

19 years agocleaned up and commented
erickson [Mon, 28 Nov 2005 22:48:29 +0000 (22:48 +0000)]
cleaned up and commented

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@582 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoif client has been bootstrapped and is currently connected, bootstrap_client
erickson [Tue, 22 Nov 2005 19:50:49 +0000 (19:50 +0000)]
if client has been bootstrapped and is currently connected, bootstrap_client
will not re-connect (since all it will do is over-write the exact same connection)

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@581 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoone more log line
erickson [Mon, 21 Nov 2005 13:28:14 +0000 (13:28 +0000)]
one more log line

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@580 9efc2488-bf62-4759-914b-345cdb29e865

19 years agotouchup on the unicode handler
miker [Sat, 19 Nov 2005 04:20:15 +0000 (04:20 +0000)]
touchup on the unicode handler

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@579 9efc2488-bf62-4759-914b-345cdb29e865

19 years agotosimplestring now returns int/double as expected
erickson [Thu, 10 Nov 2005 19:03:17 +0000 (19:03 +0000)]
tosimplestring now returns int/double as expected

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@578 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoarg! cut-n-paste error
miker [Thu, 10 Nov 2005 02:12:12 +0000 (02:12 +0000)]
arg! cut-n-paste error

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@577 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixing unicode escaping in JSON
miker [Wed, 9 Nov 2005 22:15:47 +0000 (22:15 +0000)]
fixing unicode escaping in JSON

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@576 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded pop method to osrf_list
erickson [Wed, 9 Nov 2005 21:47:31 +0000 (21:47 +0000)]
added pop method to osrf_list
makefile builds mod_xmlbuilder code

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@575 9efc2488-bf62-4759-914b-345cdb29e865

19 years agorolling back hostname change because of mysterious performance problem
erickson [Mon, 7 Nov 2005 23:16:22 +0000 (23:16 +0000)]
rolling back hostname change because of mysterious performance problem
needs investigations when time permits..

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@574 9efc2488-bf62-4759-914b-345cdb29e865

19 years agodurrrr.. typo
erickson [Mon, 7 Nov 2005 21:05:37 +0000 (21:05 +0000)]
durrrr.. typo

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@573 9efc2488-bf62-4759-914b-345cdb29e865

19 years agohandling 'hostname' more carefully
erickson [Mon, 7 Nov 2005 21:03:05 +0000 (21:03 +0000)]
handling 'hostname' more carefully

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@572 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoopensrf_core now builds libopensrf.so and opensrf-c
erickson [Mon, 7 Nov 2005 20:35:37 +0000 (20:35 +0000)]
opensrf_core now builds libopensrf.so and opensrf-c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@571 9efc2488-bf62-4759-914b-345cdb29e865

19 years agostripping bad characters
miker [Mon, 7 Nov 2005 17:59:48 +0000 (17:59 +0000)]
stripping bad characters

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@570 9efc2488-bf62-4759-914b-345cdb29e865

19 years agochecking <language> for perl in listener and unix children
erickson [Fri, 4 Nov 2005 23:34:17 +0000 (23:34 +0000)]
checking <language> for perl in listener and unix children

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@569 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed bug where removing a node didn't always register
erickson [Fri, 4 Nov 2005 23:32:53 +0000 (23:32 +0000)]
fixed bug where removing a node didn't always register

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@568 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded "connected" method for stateful sessions
miker [Fri, 4 Nov 2005 21:32:45 +0000 (21:32 +0000)]
added "connected" method for stateful sessions

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@567 9efc2488-bf62-4759-914b-345cdb29e865

19 years agomoved session code to osrfHash and osrfList instead of manual linked lists
erickson [Wed, 2 Nov 2005 22:16:47 +0000 (22:16 +0000)]
moved session code to osrfHash and osrfList instead of manual linked lists
added some logging to the transport group stuff and a disconnect method

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@566 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoexplicitly removing pre-existing connections when two overlap
erickson [Wed, 2 Nov 2005 20:51:49 +0000 (20:51 +0000)]
explicitly removing pre-existing connections when two overlap
fixed typo

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@565 9efc2488-bf62-4759-914b-345cdb29e865

19 years agomove the moved call to the right place...
miker [Wed, 2 Nov 2005 16:46:59 +0000 (16:46 +0000)]
move the moved call to the right place...

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@564 9efc2488-bf62-4759-914b-345cdb29e865

19 years agocleaned up the code some
erickson [Wed, 2 Nov 2005 16:18:14 +0000 (16:18 +0000)]
cleaned up the code some

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@563 9efc2488-bf62-4759-914b-345cdb29e865

19 years agosettings client does not need to bootstrap itself, system will do that
miker [Tue, 1 Nov 2005 23:13:47 +0000 (23:13 +0000)]
settings client does not need to bootstrap itself, system will do that

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@562 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded <language> for docs
erickson [Tue, 1 Nov 2005 22:03:02 +0000 (22:03 +0000)]
added <language> for docs

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@561 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded the <language> block to the opensrf app config so the servers
erickson [Tue, 1 Nov 2005 22:01:21 +0000 (22:01 +0000)]
added the <language> block to the opensrf app config so the servers
will know which apps they need to run

e.g. <language>c</language>, <language>perl</language>

case insensitve

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@560 9efc2488-bf62-4759-914b-345cdb29e865

19 years agologging added by bill
miker [Tue, 1 Nov 2005 21:15:42 +0000 (21:15 +0000)]
logging added by bill

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@559 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadding support for alternate APR header dirs
miker [Tue, 1 Nov 2005 17:57:04 +0000 (17:57 +0000)]
adding support for alternate APR header dirs

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@558 9efc2488-bf62-4759-914b-345cdb29e865

19 years agousing get_timestamp_millis() instead of manual time gathering
erickson [Tue, 25 Oct 2005 14:04:48 +0000 (14:04 +0000)]
using get_timestamp_millis() instead of manual time gathering

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@557 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoforcing user opensrf to start the system
erickson [Mon, 24 Oct 2005 18:19:05 +0000 (18:19 +0000)]
forcing user opensrf to start the system
added -pipe for faster compile
creating pid and sock dirs during install

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@556 9efc2488-bf62-4759-914b-345cdb29e865

19 years agonot allowing the code to be run as root
erickson [Mon, 24 Oct 2005 18:00:25 +0000 (18:00 +0000)]
not allowing the code to be run as root

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@555 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded section in core config for C client bootstrap
erickson [Mon, 24 Oct 2005 17:34:19 +0000 (17:34 +0000)]
added section in core config for C client bootstrap

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@554 9efc2488-bf62-4759-914b-345cdb29e865

19 years agomade the JID functions safer
erickson [Tue, 18 Oct 2005 14:01:42 +0000 (14:01 +0000)]
made the JID functions safer
updated where necessary
made some modifications to the test version of the client redundancy code

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@553 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded newline in debug output
erickson [Thu, 13 Oct 2005 14:48:52 +0000 (14:48 +0000)]
added newline in debug output

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@552 9efc2488-bf62-4759-914b-345cdb29e865

19 years agodisabled chatdbg function cuz it's way too heavy
erickson [Tue, 11 Oct 2005 14:44:46 +0000 (14:44 +0000)]
disabled chatdbg function cuz it's way too heavy

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@551 9efc2488-bf62-4759-914b-345cdb29e865

19 years agosome more sanity checks
erickson [Tue, 11 Oct 2005 14:01:29 +0000 (14:01 +0000)]
some more sanity checks

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@550 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed logic bug in the xpath finder
erickson [Mon, 10 Oct 2005 23:04:39 +0000 (23:04 +0000)]
fixed logic bug in the xpath finder

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@549 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded section for chopchop since it now reads xml config instead of command line
erickson [Mon, 10 Oct 2005 20:25:11 +0000 (20:25 +0000)]
added section for chopchop since it now reads xml config instead of command line

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@548 9efc2488-bf62-4759-914b-345cdb29e865

19 years agovarious tweaks
erickson [Mon, 10 Oct 2005 20:23:41 +0000 (20:23 +0000)]
various tweaks

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@547 9efc2488-bf62-4759-914b-345cdb29e865

19 years agogutted chopchop
erickson [Mon, 10 Oct 2005 20:22:30 +0000 (20:22 +0000)]
gutted chopchop
moved to osrfList and osrfHash for faster lookups
added core server 2 server code

much testing required, more robust error messages required

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@546 9efc2488-bf62-4759-914b-345cdb29e865

19 years agologging returned content at info level
erickson [Wed, 5 Oct 2005 14:12:27 +0000 (14:12 +0000)]
logging returned content at info level

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@545 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoslight C api change, method options are now passed as a single OR'ed group of option...
erickson [Wed, 5 Oct 2005 14:05:12 +0000 (14:05 +0000)]
slight C api change, method options are now passed as a single OR'ed group of option flags
added some info logging to system

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@544 9efc2488-bf62-4759-914b-345cdb29e865