diff options
106 files changed, 109 insertions, 65 deletions
@@ -53,7 +53,7 @@ L<FS::Report::Table> - Report data objects L<FS::Report::Table::Monthly> - Report data objects -L<FS::XMLRPC> - Backend XML::RPC server +L<FS::ClientAPI_XMLRPC> - Backend XML::RPC server L<FS::Misc> - Miscellaneous subroutines @@ -304,7 +304,7 @@ L<FS::rate_detail> - Rate plan detail for call billing L<FS::rate_tier> - Rate tiers for call billing -L<FS::rate_tier_details> - Rater tier details for call billing +L<FS::rate_tier_detail> - Rater tier details for call billing L<FS::usage_class> - Usage class class @@ -546,8 +546,6 @@ L<FS::UI::bytecount> - Byte counter user-interface class L<freeside-adduser> - Command line interface to add (freeside) users. -L<freeside-deluser> - Command line interface to delete (freeside) users. - L<freeside-dbdef-create> - Recreate database schema cache L<freeside-setup> - Create new database @@ -564,8 +562,6 @@ L<freeside-daily> - Run daily billing and collection events. L<freeside-monthly> - Run monthly billing and invoice collection events. -L<freeside-expiration-alerter> - Emails notifications of credit card expirations. - =head3 Cron (payment batches) L<freeside-eftca-download> - Download EFT Canada batch results @@ -592,8 +588,6 @@ L<freeside-phonenum_list> - List all phone numbers in the system =head3 Misc. Tools (taking actions) -L<freeside-fetch> - Send a freeside page to a list of employees. - L<freeside-prune-applications> - Removes stray applications of credit, payment to bills, refunds, etc. =head3 Services @@ -624,7 +618,7 @@ L<freeside-prepaidd> - Real-time daemon for prepaid packages L<freeside-queued> - Job queue daemon -L<freeside-selvservice-server> - Self-service server +L<freeside-selfservice-server> - Self-service server L<freeside-selfservice-xmlrpcd> - Self-service XML-RPC server diff --git a/FS/FS/ClientAPI.pm b/FS/FS/ClientAPI.pm index 1fea28c..2a88068 100644 --- a/FS/FS/ClientAPI.pm +++ b/FS/FS/ClientAPI.pm @@ -11,6 +11,16 @@ $me = '[FS::ClientAPI]'; %handler = (); +=head1 NAME + +FS::ClientAPI + +=item load_clientapi_modules + +=cut + +=cut + sub load_clientapi_modules { #find modules @@ -31,6 +41,10 @@ sub load_clientapi_modules { } +=item dispatch [ name ] + +=cut + sub dispatch { my ( $self, $name ) = ( shift, shift ); $name =~ s(/)(::)g; diff --git a/FS/FS/Cron/upload.pm b/FS/FS/Cron/upload.pm index 6a4d153..691170a 100644 --- a/FS/FS/Cron/upload.pm +++ b/FS/FS/Cron/upload.pm @@ -474,7 +474,7 @@ sub spool_upload { Retrieves the config value named CONFIG, parses it as a Text::Template, extracts "to" and "subject" headers, and returns a hash that can be passed -to L<FS::Misc::send_email>. +to L<FS::Misc/send_email>. PARAMS is a hashref to be passed to C<fill_in>. It must contain 'agentnum' to look up the per-agent config. diff --git a/FS/FS/PagedSearch.pm b/FS/FS/PagedSearch.pm index e740965..a1cd068 100644 --- a/FS/FS/PagedSearch.pm +++ b/FS/FS/PagedSearch.pm @@ -31,7 +31,7 @@ while ( my $row = $search->fetch ) { =item psearch ARGUMENTS -A wrapper around L<FS::Record::qsearch>. Accepts all the same arguments +A wrapper around L<FS::Record/qsearch>. Accepts all the same arguments as qsearch, except for the arrayref union query mode, and returns an FS::PagedSearch object to access the rows of the query one at a time. If the query doesn't contain an ORDER BY clause already, it will be ordered diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 657b583..8c4677e 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2195,7 +2195,7 @@ notice name instead of "Invoice", optional =back -Returns an argument list to be passed to L<FS::Misc::send_email>. +Returns an argument list to be passed to L<FS::Misc/send_email>. =cut diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm index 5412868..2580474 100644 --- a/FS/FS/UI/Web.pm +++ b/FS/FS/UI/Web.pm @@ -468,9 +468,9 @@ sub cust_sql_fields { =item join_cust_main [ TABLE[.CUSTNUM] ] [ LOCATION_TABLE[.LOCATIONNUM] ] Returns an SQL join phrase for the FROM clause so that the fields listed -in L<cust_sql_fields> will be available. Currently joins to cust_main +in L</cust_sql_fields> will be available. Currently joins to cust_main itself, as well as cust_location (under the aliases 'bill_location' and -'ship_location') if address fields are needed. L<cust_header()> should have +'ship_location') if address fields are needed. L</cust_header> should have been called already. All of these will be left joins; if you want to exclude rows with no linked diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 84487d2..79a17b3 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -888,7 +888,7 @@ sub owed { Returns the amount to be displayed as the "Balance Due" on this invoice. Amount returned depends on conf flags for invoicing -See L<FS::cust_bill::owed> for the true amount currently owed +See L<FS::cust_bill/owed> for the true amount currently owed =cut @@ -1369,7 +1369,7 @@ sub ftp_invoice { =item spool_invoice [ TEMPLATENAME ] -Spools this invoice data (see L<FS::spool_csv>) +Spools this invoice data (see L<FS::cust_bill/spool_csv>) TEMPLATENAME is unused? @@ -3827,7 +3827,7 @@ The delete method. =head1 SEE ALSO L<FS::Record>, L<FS::cust_main>, L<FS::cust_bill_pay>, L<FS::cust_pay>, -L<FS::cust_bill_pkg>, L<FS::cust_bill_credit>, schema.html from the base +L<FS::cust_bill_pkg>, L<FS::cust_credit>, schema.html from the base documentation. =cut diff --git a/FS/FS/cust_bill_pkg_void.pm b/FS/FS/cust_bill_pkg_void.pm index 2cbfa02..883869b 100644 --- a/FS/FS/cust_bill_pkg_void.pm +++ b/FS/FS/cust_bill_pkg_void.pm @@ -115,7 +115,7 @@ freeform string (deprecated) =item reasonnum -reason for voiding the payment (see L<FS::reson>) +reason for voiding the payment (see L<FS::reason>) =back diff --git a/FS/FS/cust_bill_void.pm b/FS/FS/cust_bill_void.pm index 3d50733..a5beaa0 100644 --- a/FS/FS/cust_bill_void.pm +++ b/FS/FS/cust_bill_void.pm @@ -93,7 +93,7 @@ freeform string (deprecated) =item reasonnum -reason for voiding the payment (see L<FS::reson>) +reason for voiding the payment (see L<FS::reason>) =item void_usernum @@ -291,7 +291,7 @@ sub cust_pkg { Class method which returns an SQL WHERE fragment to search for parameters specified in HASHREF. Accepts the following parameters for -L<FS::cust_bill::search_sql_where>: C<_date>, C<invnum_min>, C<invnum_max>, +L<FS::cust_bill/search_sql_where>: C<_date>, C<invnum_min>, C<invnum_max>, C<agentnum>, C<custnum>, C<cust_classnum>, C<refnum>. Also accepts the following: diff --git a/FS/FS/cust_credit.pm b/FS/FS/cust_credit.pm index 77460e2..1aabc35 100644 --- a/FS/FS/cust_credit.pm +++ b/FS/FS/cust_credit.pm @@ -140,12 +140,12 @@ Ooptions are passed as a list of keys and values. Available options: =item reason_type -L<FS::reason_type|Reason> type for newly-inserted reason +L<FS::reason_type> Reason type for newly-inserted reason =item cust_credit_source_bill_pkg An arrayref of -L<FS::cust_credit_source_bill_pkg|FS::cust_credit_source_bilL_pkg> objects. +L<FS::cust_credit_source_bill_pkg> objects. They will have their crednum set and will be inserted along with this credit. =back diff --git a/FS/FS/cust_credit_bill_pkg.pm b/FS/FS/cust_credit_bill_pkg.pm index 080a83a..b305958 100644 --- a/FS/FS/cust_credit_bill_pkg.pm +++ b/FS/FS/cust_credit_bill_pkg.pm @@ -37,7 +37,7 @@ The following fields are currently supported: =item creditbillpkgnum - primary key -=item creditbillnum - Credit application to the overall invoice (see L<FS::cust_credit::bill>) +=item creditbillnum - Credit application to the overall invoice (see L<FS::cust_credit_bill>) =item billpkgnum - Line item to which credit is applied (see L<FS::cust_bill_pkg>) diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 165b9fc..780147e 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -272,7 +272,7 @@ Enable individual CDR spooling, empty or `Y' =item dundate -A suggestion to events (see L<FS::part_bill_event">) to delay until this unix timestamp +A suggestion to events (see L<FS::part_bill_event>) to delay until this unix timestamp =item squelch_cdr @@ -2408,7 +2408,7 @@ FS::cust_pkg::cancel() methods. =item quiet - can be set true to supress email cancellation notices. -=item reason - can be set to a cancellation reason (see L<FS:reason>), either a +=item reason - can be set to a cancellation reason (see L<FS::reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: typenum - Reason type (see L<FS::reason_type>) @@ -2956,7 +2956,7 @@ UNIX timestamps; see L<perlfunc/"time">). Also see L<Time::Local> and L<Date::Parse> for conversion functions. The empty string can be passed to disable that time constraint completely. -Accepts the same options as L<balance_date_sql>: +Accepts the same options as L</balance_date_sql>: =over 4 diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm index c36b79a..e31a310 100644 --- a/FS/FS/cust_main_Mixin.pm +++ b/FS/FS/cust_main_Mixin.pm @@ -372,7 +372,7 @@ Queue job for status updates. Required. =item search -Hashref of params to the L<search()> method. Required. +Hashref of params to the L<FS::Record/search> method. Required. =item msgnum diff --git a/FS/FS/cust_pay_batch.pm b/FS/FS/cust_pay_batch.pm index 614c117..6e76b34 100644 --- a/FS/FS/cust_pay_batch.pm +++ b/FS/FS/cust_pay_batch.pm @@ -239,7 +239,7 @@ sub expmmyy { =item pay_batch -Returns the payment batch this payment belongs to (L<FS::pay_batch). +Returns the payment batch this payment belongs to (L<FS::pay_batch>). =cut @@ -479,8 +479,8 @@ sub process_unbatch_and_delete { =item unbatch_and_delete May only be called on a record with an empty status and an associated -L<pay_batch> with a status of 'O' (not yet in transit.) Deletes all associated -records from L<cust_bill_pay_batch> and then deletes this record. +L<FS::pay_batch> with a status of 'O' (not yet in transit.) Deletes all associated +records from L<FS::cust_bill_pay_batch> and then deletes this record. If there is an error, returns the error, otherwise returns false. =cut diff --git a/FS/FS/cust_pay_void.pm b/FS/FS/cust_pay_void.pm index 29540d1..ce4e7da 100644 --- a/FS/FS/cust_pay_void.pm +++ b/FS/FS/cust_pay_void.pm @@ -94,7 +94,7 @@ Desired pkgnum when using experimental package balances. =item reason - a freeform string (deprecated) -=item reasonnum - Reason for voiding the payment (see L<FS::reson>) +=item reasonnum - Reason for voiding the payment (see L<FS::reason>) =back diff --git a/FS/FS/cust_payby.pm b/FS/FS/cust_payby.pm index 4e9f04f..410d690 100644 --- a/FS/FS/cust_payby.pm +++ b/FS/FS/cust_payby.pm @@ -668,7 +668,7 @@ sub label { =item realtime_bop -Runs a L<realtime_bop|FS::cust_main::Billing_Realtime::realtime_bop> transaction on this card +Runs a L<FS::cust_main::Billing_Realtime/realtime_bop> transaction on this card =cut @@ -684,7 +684,7 @@ sub realtime_bop { =item tokenize -Runs a L<realtime_tokenize|FS::cust_main::Billing_Realtime::realtime_tokenize> transaction on this card +Runs a L<FS::cust_main::Billing_Realtime/realtime_tokenize> transaction on this card =cut diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 5ea4c40..e581825 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -147,7 +147,7 @@ Billing item definition (see L<FS::part_pkg>) =item locationnum -Optional link to package location (see L<FS::location>) +Optional link to package location (see L<FS::cust_location>) =item order_date @@ -623,7 +623,7 @@ Available options are: =item reason -can be set to a cancellation reason (see L<FS:reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: typenum - Reason type (see L<FS::reason_type>, reason - Text of the new reason. +can be set to a cancellation reason (see L<FS::reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: typenum - Reason type (see L<FS::reason_type>, reason - Text of the new reason. =item reason_otaker @@ -876,7 +876,7 @@ correctly. Note however that this is an immediate cancel and just changes the date. You are PROBABLY looking to expire the account instead of using this. -=item reason - can be set to a cancellation reason (see L<FS:reason>), +=item reason - can be set to a cancellation reason (see L<FS::reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: typenum - Reason type (see L<FS::reason_type>, reason - Text of the new reason. @@ -1528,7 +1528,7 @@ Available options are: =over 4 -=item reason - can be set to a cancellation reason (see L<FS:reason>), +=item reason - can be set to a cancellation reason (see L<FS::reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: - typenum - Reason type (see L<FS::reason_type> @@ -4768,7 +4768,7 @@ Available options are: =item reason -can be set to a cancellation reason (see L<FS:reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: typenum - Reason type (see L<FS::reason_type>, reason - Text of the new reason. +can be set to a cancellation reason (see L<FS::reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: typenum - Reason type (see L<FS::reason_type>, reason - Text of the new reason. =item reason_otaker diff --git a/FS/FS/cust_tax_exempt_pkg.pm b/FS/FS/cust_tax_exempt_pkg.pm index 5057781..68b7724 100644 --- a/FS/FS/cust_tax_exempt_pkg.pm +++ b/FS/FS/cust_tax_exempt_pkg.pm @@ -62,7 +62,7 @@ may be the setup fee, the recurring fee, or the sum of those. (cust_main.tax = 'Y'). =item exempt_cust_taxname - flag indicating that the customer is exempt -from the tax with this name (see L<FS::cust_main_exemption). +from the tax with this name (see L<FS::cust_main_exemption>). =item exempt_setup, exempt_recur: flag indicating that the package's setup or recurring fee is not taxable (part_pkg.setuptax and part_pkg.recurtax). diff --git a/FS/FS/hardware_type.pm b/FS/FS/hardware_type.pm index 615c314..8324d7c 100644 --- a/FS/FS/hardware_type.pm +++ b/FS/FS/hardware_type.pm @@ -25,7 +25,7 @@ FS::hardware_type - Object methods for hardware_type records =head1 DESCRIPTION An FS::hardware_type object represents a device type (a model name or -number) assignable as a hardware service (L<FS::svc_hardware)>). +number) assignable as a hardware service (L<FS::svc_hardware>). FS::hardware_type inherits from FS::Record. The following fields are currently supported: diff --git a/FS/FS/inventory_item.pm b/FS/FS/inventory_item.pm index eef8880..9a58a64 100644 --- a/FS/FS/inventory_item.pm +++ b/FS/FS/inventory_item.pm @@ -153,7 +153,7 @@ maybe batch_import should be a regular method in FS::inventory_class =head1 SEE ALSO -L<inventory_class>, L<cust_svc>, L<FS::Record>, schema.html from the base +L<FS::inventory_class>, L<FS::cust_svc>, L<FS::Record>, schema.html from the base documentation. =cut diff --git a/FS/FS/legacy_cust_bill.pm b/FS/FS/legacy_cust_bill.pm index 6b43c2f..38f9485 100644 --- a/FS/FS/legacy_cust_bill.pm +++ b/FS/FS/legacy_cust_bill.pm @@ -45,7 +45,7 @@ Invoice number or identifier from previous system =item custnum -Customer (see L<FS::cust_main) +Customer (see L<FS::cust_main>) =item _date diff --git a/FS/FS/legacy_cust_history.pm b/FS/FS/legacy_cust_history.pm index 9e14903..e214d72 100644 --- a/FS/FS/legacy_cust_history.pm +++ b/FS/FS/legacy_cust_history.pm @@ -37,7 +37,7 @@ primary key =item custnum -Customer (see L<FS::cust_main) +Customer (see L<FS::cust_main>) =item history_action diff --git a/FS/FS/part_event.pm b/FS/FS/part_event.pm index fb2bc45..adabcf9 100644 --- a/FS/FS/part_event.pm +++ b/FS/FS/part_event.pm @@ -654,7 +654,7 @@ sub _upgrade_data { #class method =head1 SEE ALSO L<FS::part_event_option>, L<FS::part_event_condition>, L<FS::cust_main>, -L<FS::cust_pkg>, L<FS::svc_acct>, L<FS::cust_bill>, L<FS::cust_bill_event>, +L<FS::cust_pkg>, L<FS::svc_acct>, L<FS::cust_bill>, L<FS::cust_event>, L<FS::Record>, schema.html from the base documentation. diff --git a/FS/FS/part_pkg.pm b/FS/FS/part_pkg.pm index 4aa2926..176d97e 100644 --- a/FS/FS/part_pkg.pm +++ b/FS/FS/part_pkg.pm @@ -1886,11 +1886,11 @@ Frequency override (for calc_recur) This option is filled in by the method rather than controlling its operation. It is an arrayref. Applicable discounts will be added to the arrayref, as -L<FS::cust_bill_pkg_discount|FS::cust_bill_pkg_discount records>. +L<FS::cust_bill_pkg_discount> records. =item real_pkgpart -For package add-ons, is the base L<FS::part_pkg|package definition>, otherwise +For package add-ons, is the base L<FS::part_pkg> package definition, otherwise no different than pkgpart. =item precommit_hooks @@ -1914,7 +1914,7 @@ plan option prorate_defer_bill). =back Note: Don't calculate prices when not actually billing the package. For that, -see the L</base_setup|base_setup> and L</base_recur|base_recur> methods. +see the L<FS::cust_pkg/base_setup> and L<FS::cust_pkg/base_recur> methods. =cut diff --git a/FS/FS/part_svc.pm b/FS/FS/part_svc.pm index b82996e..49854f7 100644 --- a/FS/FS/part_svc.pm +++ b/FS/FS/part_svc.pm @@ -57,7 +57,7 @@ FS::Record. The following fields are currently supported: =item svcdb - table used for this service. See L<FS::svc_acct>, L<FS::svc_domain>, and L<FS::svc_forward>, among others. -=item classnum - Optional service class (see L<FS::svc_class>) +=item classnum - Optional service class (see L<FS::part_svc_class>) =item disabled - Disabled flag, empty or `Y' diff --git a/FS/FS/radius_usergroup.pm b/FS/FS/radius_usergroup.pm index 9c78796..cf3cdfa 100644 --- a/FS/FS/radius_usergroup.pm +++ b/FS/FS/radius_usergroup.pm @@ -156,7 +156,7 @@ sub _upgrade_data { #class method =head1 SEE ALSO -L<svc_acct>, L<FS::radius_group>, L<FS::Record>, schema.html from the base documentation. +L<FS::svc_acct>, L<FS::radius_group>, L<FS::Record>, schema.html from the base documentation. =cut diff --git a/FS/FS/sales.pm b/FS/FS/sales.pm index 3140928..c1e075e 100644 --- a/FS/FS/sales.pm +++ b/FS/FS/sales.pm @@ -44,7 +44,7 @@ Name =item agentnum -Agent (see L<FS::agent) +Agent (see L<FS::agent>) =item disabled diff --git a/FS/FS/svc_Parent_Mixin.pm b/FS/FS/svc_Parent_Mixin.pm index 4501baf..a63921f 100644 --- a/FS/FS/svc_Parent_Mixin.pm +++ b/FS/FS/svc_Parent_Mixin.pm @@ -76,7 +76,7 @@ sub children_svc_x { This class provides a check subroutine which takes care of checking the parent_svcnum field. The svc_ class which uses it will call SUPER::check at the end of its own checks, and this class will call NEXT::check to pass -the check "up the chain" (see L<NEXT>). +the check "up the chain" (see L<perlfunc/next>). =cut diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 32190b1..053f1e0 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -2294,7 +2294,7 @@ sub is_rechargable { =item seconds_since TIMESTAMP Returns the number of seconds this account has been online since TIMESTAMP, -according to the session monitor (see L<FS::Session>). +according to the session monitor (see L<FS::session>). TIMESTAMP is specified as a UNIX timestamp; see L<perlfunc/"time">. Also see L<Time::Local> and L<Date::Parse> for conversion functions. diff --git a/FS/FS/type_pkgs.pm b/FS/FS/type_pkgs.pm index d06050e..8cc2345 100644 --- a/FS/FS/type_pkgs.pm +++ b/FS/FS/type_pkgs.pm @@ -102,7 +102,7 @@ Returns the FS::agent_type object associated with this record. =head1 SEE ALSO -L<FS::Record>, L<FS::agent_type>, L<FS::part_pkgs>, schema.html from the base +L<FS::Record>, L<FS::agent_type>, L<FS::part_pkg>, schema.html from the base documentation. =cut diff --git a/FS/bin/freeside-addoutsource b/FS/bin/freeside-addoutsource index 9cb1219..9cb1219 100644..100755 --- a/FS/bin/freeside-addoutsource +++ b/FS/bin/freeside-addoutsource diff --git a/FS/bin/freeside-addoutsourceuser b/FS/bin/freeside-addoutsourceuser index cbe792a..cbe792a 100644..100755 --- a/FS/bin/freeside-addoutsourceuser +++ b/FS/bin/freeside-addoutsourceuser diff --git a/FS/bin/freeside-adduser b/FS/bin/freeside-adduser index 6b4becb..6b4becb 100644..100755 --- a/FS/bin/freeside-adduser +++ b/FS/bin/freeside-adduser diff --git a/FS/bin/freeside-backup b/FS/bin/freeside-backup index 25e74a4..25e74a4 100644..100755 --- a/FS/bin/freeside-backup +++ b/FS/bin/freeside-backup diff --git a/FS/bin/freeside-cdr-freeswitch b/FS/bin/freeside-cdr-freeswitch index 3c18ef2..3c18ef2 100644..100755 --- a/FS/bin/freeside-cdr-freeswitch +++ b/FS/bin/freeside-cdr-freeswitch diff --git a/FS/bin/freeside-cdr-portaone-import b/FS/bin/freeside-cdr-portaone-import index dfd130b..dfd130b 100644..100755 --- a/FS/bin/freeside-cdr-portaone-import +++ b/FS/bin/freeside-cdr-portaone-import diff --git a/FS/bin/freeside-cdrd b/FS/bin/freeside-cdrd index a3c67f9..a3c67f9 100644..100755 --- a/FS/bin/freeside-cdrd +++ b/FS/bin/freeside-cdrd diff --git a/FS/bin/freeside-cdrrated b/FS/bin/freeside-cdrrated index a8fcf51..a8fcf51 100644..100755 --- a/FS/bin/freeside-cdrrated +++ b/FS/bin/freeside-cdrrated diff --git a/FS/bin/freeside-cdrrewrited b/FS/bin/freeside-cdrrewrited index d117f56..d117f56 100644..100755 --- a/FS/bin/freeside-cdrrewrited +++ b/FS/bin/freeside-cdrrewrited diff --git a/FS/bin/freeside-censustract-update b/FS/bin/freeside-censustract-update index f9b6d11..f9b6d11 100644..100755 --- a/FS/bin/freeside-censustract-update +++ b/FS/bin/freeside-censustract-update diff --git a/FS/bin/freeside-check b/FS/bin/freeside-check index fdfc66a..fdfc66a 100644..100755 --- a/FS/bin/freeside-check +++ b/FS/bin/freeside-check diff --git a/FS/bin/freeside-deloutsource b/FS/bin/freeside-deloutsource index afc3a01..afc3a01 100644..100755 --- a/FS/bin/freeside-deloutsource +++ b/FS/bin/freeside-deloutsource diff --git a/FS/bin/freeside-deloutsourceuser b/FS/bin/freeside-deloutsourceuser index dc4ff9c..dc4ff9c 100644..100755 --- a/FS/bin/freeside-deloutsourceuser +++ b/FS/bin/freeside-deloutsourceuser diff --git a/FS/bin/freeside-ipifony-download b/FS/bin/freeside-ipifony-download index 1e77c3a..1e77c3a 100644..100755 --- a/FS/bin/freeside-ipifony-download +++ b/FS/bin/freeside-ipifony-download diff --git a/FS/bin/freeside-paymentech-download b/FS/bin/freeside-paymentech-download index 4d99df2..d300f3e 100755 --- a/FS/bin/freeside-paymentech-download +++ b/FS/bin/freeside-paymentech-download @@ -133,7 +133,7 @@ freeside-paymentech-download - Retrieve payment batch responses from Chase Payme Command line tool to download payment batch responses from the Chase Paymentech gateway. These are XML files packaged in ZIP files. This script downloads them -by SFTP, extracts the contents, and passes them to L<FS::pay_batch::import_result>. +by SFTP, extracts the contents, and passes them to L<FS::pay_batch/import_results>. -v: Be verbose. diff --git a/FS/bin/freeside-paymentech-upload b/FS/bin/freeside-paymentech-upload index 770239d..d6ca0cd 100755 --- a/FS/bin/freeside-paymentech-upload +++ b/FS/bin/freeside-paymentech-upload @@ -126,7 +126,7 @@ freeside-paymentech-upload - Transmit a payment batch to Chase Paymentech via SF Command line tool to upload a payment batch to the Chase Paymentech gateway. The batch will be exported to the Paymentech XML format, packaged in a ZIP -file, and transmitted via SFTP. Use L<paymentech-download> to retrieve the +file, and transmitted via SFTP. Use L<freeside-paymentech-download> to retrieve the response file. -a: Send all open batches, instead of specifying a batchnum. diff --git a/FS/bin/freeside-prepaidd b/FS/bin/freeside-prepaidd index cb83154..cb83154 100644..100755 --- a/FS/bin/freeside-prepaidd +++ b/FS/bin/freeside-prepaidd diff --git a/FS/bin/freeside-queued b/FS/bin/freeside-queued index 36871b2..36871b2 100644..100755 --- a/FS/bin/freeside-queued +++ b/FS/bin/freeside-queued diff --git a/FS/bin/freeside-radgroup b/FS/bin/freeside-radgroup index 3326329..3326329 100644..100755 --- a/FS/bin/freeside-radgroup +++ b/FS/bin/freeside-radgroup diff --git a/FS/bin/freeside-reexport b/FS/bin/freeside-reexport index 6b68917..6b68917 100644..100755 --- a/FS/bin/freeside-reexport +++ b/FS/bin/freeside-reexport diff --git a/FS/bin/freeside-selfservice-server b/FS/bin/freeside-selfservice-server index f008285..4272cae 100644..100755 --- a/FS/bin/freeside-selfservice-server +++ b/FS/bin/freeside-selfservice-server @@ -1,5 +1,11 @@ #!/usr/bin/perl -w +=head1 NAME + +freeside-selfservice-server + +=cut + use strict; use vars qw( $FREESIDE_LOG $FREESIDE_LOCK ); use vars qw( $Debug %kids $kids $max_kids $ssh_pid %old_ssh_pid $keepalives ); diff --git a/FS/bin/freeside-selfservice-xmlrpcd b/FS/bin/freeside-selfservice-xmlrpcd index 7e373a0..7ec72e9 100755 --- a/FS/bin/freeside-selfservice-xmlrpcd +++ b/FS/bin/freeside-selfservice-xmlrpcd @@ -1,5 +1,11 @@ #!/usr/bin/perl +=head1 NAME + +freeside-selfservice-xmlrpcd + +=cut + use FS::Daemon::Preforking qw( freeside_init1 freeside_init2 daemon_run ); use FS::XMLRPC_Lite; #XMLRPC::Lite for XMLRPC::Serializer diff --git a/FS/bin/freeside-setinvoice b/FS/bin/freeside-setinvoice index 708e2fa..708e2fa 100644..100755 --- a/FS/bin/freeside-setinvoice +++ b/FS/bin/freeside-setinvoice diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup index a6908e1..d6e191f 100755 --- a/FS/bin/freeside-setup +++ b/FS/bin/freeside-setup @@ -1,5 +1,11 @@ #!/usr/bin/perl -w +=head1 NAME + +freeside-setup + +=cut + #to delay loading dbdef until we're ready BEGIN { $FS::Schema::setup_hack = 1; } diff --git a/FS/bin/freeside-sqlradius-radacctd b/FS/bin/freeside-sqlradius-radacctd index 7b2d04d..7b2d04d 100644..100755 --- a/FS/bin/freeside-sqlradius-radacctd +++ b/FS/bin/freeside-sqlradius-radacctd diff --git a/FS/bin/freeside-sqlradius-seconds b/FS/bin/freeside-sqlradius-seconds index 9999cbb..9999cbb 100644..100755 --- a/FS/bin/freeside-sqlradius-seconds +++ b/FS/bin/freeside-sqlradius-seconds diff --git a/FS/bin/freeside-tax-district-update b/FS/bin/freeside-tax-district-update index af43130..af43130 100644..100755 --- a/FS/bin/freeside-tax-district-update +++ b/FS/bin/freeside-tax-district-update diff --git a/FS/bin/freeside-tax-location-update b/FS/bin/freeside-tax-location-update index f45e5e1..f45e5e1 100644..100755 --- a/FS/bin/freeside-tax-location-update +++ b/FS/bin/freeside-tax-location-update diff --git a/FS/bin/freeside-torrus-srvderive b/FS/bin/freeside-torrus-srvderive index 5ad23ab..5ad23ab 100644..100755 --- a/FS/bin/freeside-torrus-srvderive +++ b/FS/bin/freeside-torrus-srvderive diff --git a/FS/bin/freeside-xmlrpcd b/FS/bin/freeside-xmlrpcd index e4e0334..b6f15ce 100644..100755 --- a/FS/bin/freeside-xmlrpcd +++ b/FS/bin/freeside-xmlrpcd @@ -1,5 +1,11 @@ #!/usr/bin/perl +=head1 NAME + +freeside-xmlrpcd + +=cut + use FS::Daemon::Preforking qw( freeside_init1 freeside_init2 daemon_run ); use FS::XMLRPC_Lite; #XMLRPC::Lite for XMLRPC::Serializer diff --git a/FS/bin/freeside-yori b/FS/bin/freeside-yori index d113799..d113799 100644..100755 --- a/FS/bin/freeside-yori +++ b/FS/bin/freeside-yori diff --git a/bin/artera.import b/bin/artera.import index 716ddda..716ddda 100644..100755 --- a/bin/artera.import +++ b/bin/artera.import diff --git a/bin/backup-dvd b/bin/backup-dvd index d0314b4..d0314b4 100644..100755 --- a/bin/backup-dvd +++ b/bin/backup-dvd diff --git a/bin/billco-upload b/bin/billco-upload index a5f67cd..a5f67cd 100644..100755 --- a/bin/billco-upload +++ b/bin/billco-upload diff --git a/bin/breakdown-bill-applications b/bin/breakdown-bill-applications index 44c3e36..44c3e36 100644..100755 --- a/bin/breakdown-bill-applications +++ b/bin/breakdown-bill-applications diff --git a/bin/cch.finish_failed b/bin/cch.finish_failed index cb25330..cb25330 100644..100755 --- a/bin/cch.finish_failed +++ b/bin/cch.finish_failed diff --git a/bin/cch.redelete b/bin/cch.redelete index 2cff389..2cff389 100644..100755 --- a/bin/cch.redelete +++ b/bin/cch.redelete diff --git a/bin/cdr-voipswitch.import b/bin/cdr-voipswitch.import index 69d0636..69d0636 100644..100755 --- a/bin/cdr-voipswitch.import +++ b/bin/cdr-voipswitch.import diff --git a/bin/cdr.reimport b/bin/cdr.reimport index 2306038..2306038 100644..100755 --- a/bin/cdr.reimport +++ b/bin/cdr.reimport diff --git a/bin/copy-cust_main_county b/bin/copy-cust_main_county index 1a15e84..1a15e84 100644..100755 --- a/bin/copy-cust_main_county +++ b/bin/copy-cust_main_county diff --git a/bin/create-fetchmailrc b/bin/create-fetchmailrc index 11bde0c..11bde0c 100644..100755 --- a/bin/create-fetchmailrc +++ b/bin/create-fetchmailrc diff --git a/bin/cust_main_special.pm b/bin/cust_main_special.pm index 967b6be..967b6be 100644..100755 --- a/bin/cust_main_special.pm +++ b/bin/cust_main_special.pm diff --git a/bin/drop_slony.slonik b/bin/drop_slony.slonik index 04ffaca..04ffaca 100644..100755 --- a/bin/drop_slony.slonik +++ b/bin/drop_slony.slonik diff --git a/bin/explain-bill-query b/bin/explain-bill-query index e3f6978..e3f6978 100644..100755 --- a/bin/explain-bill-query +++ b/bin/explain-bill-query diff --git a/bin/find-overapplied b/bin/find-overapplied index 7973cef..7973cef 100644..100755 --- a/bin/find-overapplied +++ b/bin/find-overapplied diff --git a/bin/fix-missing-taxes b/bin/fix-missing-taxes index 62684ce..62684ce 100644..100755 --- a/bin/fix-missing-taxes +++ b/bin/fix-missing-taxes diff --git a/bin/follow-tax-rename b/bin/follow-tax-rename index b7536e8..b7536e8 100644..100755 --- a/bin/follow-tax-rename +++ b/bin/follow-tax-rename diff --git a/bin/freeside-backup b/bin/freeside-backup index 25e74a4..25e74a4 100644..100755 --- a/bin/freeside-backup +++ b/bin/freeside-backup diff --git a/bin/freeside-migrate-events b/bin/freeside-migrate-events index 3e8a6b2..3e8a6b2 100644..100755 --- a/bin/freeside-migrate-events +++ b/bin/freeside-migrate-events diff --git a/bin/freeside-mysql.load b/bin/freeside-mysql.load index 02f47da..02f47da 100644..100755 --- a/bin/freeside-mysql.load +++ b/bin/freeside-mysql.load diff --git a/bin/freeside.import b/bin/freeside.import index fdfcc08..fdfcc08 100644..100755 --- a/bin/freeside.import +++ b/bin/freeside.import diff --git a/bin/import-did-inventory b/bin/import-did-inventory index 01fa2e8..01fa2e8 100644..100755 --- a/bin/import-did-inventory +++ b/bin/import-did-inventory diff --git a/bin/merge-referrals b/bin/merge-referrals index e39f053..e39f053 100644..100755 --- a/bin/merge-referrals +++ b/bin/merge-referrals diff --git a/bin/move-datasrc b/bin/move-datasrc index e048cbe..e048cbe 100644..100755 --- a/bin/move-datasrc +++ b/bin/move-datasrc diff --git a/bin/pg-readonly b/bin/pg-readonly index b5cde4d..b5cde4d 100644..100755 --- a/bin/pg-readonly +++ b/bin/pg-readonly diff --git a/bin/populate-areacodes b/bin/populate-areacodes index 7e4c52f..7e4c52f 100644..100755 --- a/bin/populate-areacodes +++ b/bin/populate-areacodes diff --git a/bin/queue-bulk_change b/bin/queue-bulk_change index 4fc22b3..4fc22b3 100644..100755 --- a/bin/queue-bulk_change +++ b/bin/queue-bulk_change diff --git a/bin/rate.delete b/bin/rate.delete index 7b7e4bc..7b7e4bc 100644..100755 --- a/bin/rate.delete +++ b/bin/rate.delete diff --git a/bin/restore-ship_company b/bin/restore-ship_company index cee7009..cee7009 100644..100755 --- a/bin/restore-ship_company +++ b/bin/restore-ship_company diff --git a/bin/rt-setup-support-time b/bin/rt-setup-support-time index 5f1007d..5f1007d 100644..100755 --- a/bin/rt-setup-support-time +++ b/bin/rt-setup-support-time diff --git a/bin/rt-update-links b/bin/rt-update-links index 75d554f..75d554f 100644..100755 --- a/bin/rt-update-links +++ b/bin/rt-update-links diff --git a/bin/sales2agent b/bin/sales2agent index 0be6b43..0be6b43 100644..100755 --- a/bin/sales2agent +++ b/bin/sales2agent diff --git a/bin/sendmail.import b/bin/sendmail.import index ef745fc..ef745fc 100644..100755 --- a/bin/sendmail.import +++ b/bin/sendmail.import diff --git a/bin/sequences.reset b/bin/sequences.reset index 2dc1d3b..2dc1d3b 100644..100755 --- a/bin/sequences.reset +++ b/bin/sequences.reset diff --git a/bin/sqlradius-reexport-group b/bin/sqlradius-reexport-group index 70a517c..70a517c 100644..100755 --- a/bin/sqlradius-reexport-group +++ b/bin/sqlradius-reexport-group diff --git a/bin/sqlradius.import b/bin/sqlradius.import index e75f65b..e75f65b 100644..100755 --- a/bin/sqlradius.import +++ b/bin/sqlradius.import diff --git a/bin/svc.replace b/bin/svc.replace index a9ceada..a9ceada 100644..100755 --- a/bin/svc.replace +++ b/bin/svc.replace diff --git a/bin/svc_acct-recalculate_usage b/bin/svc_acct-recalculate_usage index 1b3955b..1b3955b 100644..100755 --- a/bin/svc_acct-recalculate_usage +++ b/bin/svc_acct-recalculate_usage diff --git a/bin/test_scrub b/bin/test_scrub index 850801f..850801f 100644..100755 --- a/bin/test_scrub +++ b/bin/test_scrub diff --git a/bin/wipe-agent b/bin/wipe-agent index 0e1846a..0e1846a 100644..100755 --- a/bin/wipe-agent +++ b/bin/wipe-agent diff --git a/bin/wipe-customers b/bin/wipe-customers index e65ed61..e65ed61 100644..100755 --- a/bin/wipe-customers +++ b/bin/wipe-customers diff --git a/bin/xmlrpc-customer_package-status.pl b/bin/xmlrpc-customer_package-status.pl index 589c42a..589c42a 100644..100755 --- a/bin/xmlrpc-customer_package-status.pl +++ b/bin/xmlrpc-customer_package-status.pl diff --git a/bin/xmlrpc-customer_packages-list.pl b/bin/xmlrpc-customer_packages-list.pl index 745d30f..745d30f 100644..100755 --- a/bin/xmlrpc-customer_packages-list.pl +++ b/bin/xmlrpc-customer_packages-list.pl diff --git a/fs_selfservice/FS-SelfService/freeside-selfservice-clientd b/fs_selfservice/FS-SelfService/freeside-selfservice-clientd index 0819d9d..a3046cd 100644..100755 --- a/fs_selfservice/FS-SelfService/freeside-selfservice-clientd +++ b/fs_selfservice/FS-SelfService/freeside-selfservice-clientd @@ -1,8 +1,14 @@ #!/usr/bin/perl -w -# -# freeside-selfservice-clientd -# -# This is run REMOTELY over ssh by freeside-selfservice-server + +=head1 NAME + +freeside-selfservice-clientd + +=head1 DESCRIPTION + +This is run REMOTELY over ssh by freeside-selfservice-server + +=cut use strict; use subs qw(spawn logmsg lock_write unlock_write); diff --git a/fs_selfservice/FS-SelfService/freeside-selfservice-soap-server b/fs_selfservice/FS-SelfService/freeside-selfservice-soap-server index 869a8ae..464e7ea 100644 --- a/fs_selfservice/FS-SelfService/freeside-selfservice-soap-server +++ b/fs_selfservice/FS-SelfService/freeside-selfservice-soap-server @@ -1,7 +1,10 @@ #!/usr/bin/perl -w -# -# freeside-selfservice-soap-server -# + +=head1 NAME + +freeside-selfservice-soap-server + +=cut use strict; use Fcntl qw(:flock); diff --git a/fs_selfservice/FS-SelfService/freeside-selfservice-xmlrpc-server b/fs_selfservice/FS-SelfService/freeside-selfservice-xmlrpc-server index bd4f83b..801de56 100644 --- a/fs_selfservice/FS-SelfService/freeside-selfservice-xmlrpc-server +++ b/fs_selfservice/FS-SelfService/freeside-selfservice-xmlrpc-server @@ -1,7 +1,10 @@ #!/usr/bin/perl -w -# -# freeside-selfservice-xmlrpc-server -# + +=head1 NAME + +freeside-selfservice-xmlrpc-server + +=cut use strict; use Fcntl qw(:flock); |